diff --git a/GMW.sln b/GMW.sln new file mode 100644 index 00000000..3c1542b3 --- /dev/null +++ b/GMW.sln @@ -0,0 +1,60 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GMW", "GMW\GMW.csproj", "{F8710519-CA62-4482-9045-02577B939A79}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SteamWare", "..\SteamWare\SteamWare.csproj", "{2872DCFE-8B46-43B2-BAA0-842A816A2DD5}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GMW_data", "GMW_data\GMW_data.csproj", "{47143721-A018-4BDA-B544-EC3E10BC87A2}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + SP_prod|Any CPU = SP_prod|Any CPU + SP_test|Any CPU = SP_test|Any CPU + TK_prod|Any CPU = TK_prod|Any CPU + TK_test|Any CPU = TK_test|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {F8710519-CA62-4482-9045-02577B939A79}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F8710519-CA62-4482-9045-02577B939A79}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F8710519-CA62-4482-9045-02577B939A79}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F8710519-CA62-4482-9045-02577B939A79}.Release|Any CPU.Build.0 = Release|Any CPU + {F8710519-CA62-4482-9045-02577B939A79}.SP_prod|Any CPU.ActiveCfg = SP_prod|Any CPU + {F8710519-CA62-4482-9045-02577B939A79}.SP_prod|Any CPU.Build.0 = SP_prod|Any CPU + {F8710519-CA62-4482-9045-02577B939A79}.SP_test|Any CPU.ActiveCfg = SP_test|Any CPU + {F8710519-CA62-4482-9045-02577B939A79}.SP_test|Any CPU.Build.0 = SP_test|Any CPU + {F8710519-CA62-4482-9045-02577B939A79}.TK_prod|Any CPU.ActiveCfg = TK_prod|Any CPU + {F8710519-CA62-4482-9045-02577B939A79}.TK_prod|Any CPU.Build.0 = TK_prod|Any CPU + {F8710519-CA62-4482-9045-02577B939A79}.TK_test|Any CPU.ActiveCfg = TK_test|Any CPU + {F8710519-CA62-4482-9045-02577B939A79}.TK_test|Any CPU.Build.0 = TK_test|Any CPU + {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.Release|Any CPU.Build.0 = Release|Any CPU + {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.SP_prod|Any CPU.ActiveCfg = SP_prod|Any CPU + {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.SP_prod|Any CPU.Build.0 = SP_prod|Any CPU + {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.SP_test|Any CPU.ActiveCfg = SP_test|Any CPU + {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.SP_test|Any CPU.Build.0 = SP_test|Any CPU + {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.TK_prod|Any CPU.ActiveCfg = TK_prod|Any CPU + {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.TK_prod|Any CPU.Build.0 = TK_prod|Any CPU + {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.TK_test|Any CPU.ActiveCfg = TK_test|Any CPU + {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.TK_test|Any CPU.Build.0 = TK_test|Any CPU + {47143721-A018-4BDA-B544-EC3E10BC87A2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {47143721-A018-4BDA-B544-EC3E10BC87A2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {47143721-A018-4BDA-B544-EC3E10BC87A2}.Release|Any CPU.ActiveCfg = Release|Any CPU + {47143721-A018-4BDA-B544-EC3E10BC87A2}.Release|Any CPU.Build.0 = Release|Any CPU + {47143721-A018-4BDA-B544-EC3E10BC87A2}.SP_prod|Any CPU.ActiveCfg = SP_prod|Any CPU + {47143721-A018-4BDA-B544-EC3E10BC87A2}.SP_prod|Any CPU.Build.0 = SP_prod|Any CPU + {47143721-A018-4BDA-B544-EC3E10BC87A2}.SP_test|Any CPU.ActiveCfg = SP_test|Any CPU + {47143721-A018-4BDA-B544-EC3E10BC87A2}.SP_test|Any CPU.Build.0 = SP_test|Any CPU + {47143721-A018-4BDA-B544-EC3E10BC87A2}.TK_prod|Any CPU.ActiveCfg = TK_prod|Any CPU + {47143721-A018-4BDA-B544-EC3E10BC87A2}.TK_prod|Any CPU.Build.0 = TK_prod|Any CPU + {47143721-A018-4BDA-B544-EC3E10BC87A2}.TK_test|Any CPU.ActiveCfg = TK_test|Any CPU + {47143721-A018-4BDA-B544-EC3E10BC87A2}.TK_test|Any CPU.Build.0 = TK_test|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/GMW/Default.aspx b/GMW/Default.aspx new file mode 100644 index 00000000..605c2337 --- /dev/null +++ b/GMW/Default.aspx @@ -0,0 +1,17 @@ +<%@ Page Language="C#" AutoEventWireup="true" Inherits="Default" Codebehind="Default.aspx.cs" %> + + + + + + SteamWare s.r.l. + + + +
+
+ +
+
+ + diff --git a/GMW/Default.aspx.cs b/GMW/Default.aspx.cs new file mode 100644 index 00000000..4fb48c0b --- /dev/null +++ b/GMW/Default.aspx.cs @@ -0,0 +1,18 @@ +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; + +public partial class Default : System.Web.UI.Page +{ + protected void Page_Load(object sender, EventArgs e) + { + Response.Redirect("./login.aspx"); + } +} diff --git a/GMW/Default.aspx.designer.cs b/GMW/Default.aspx.designer.cs new file mode 100644 index 00000000..b48036df --- /dev/null +++ b/GMW/Default.aspx.designer.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class Default { + + /// + /// form1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; +} diff --git a/GMW/DettaglioBlocco.aspx b/GMW/DettaglioBlocco.aspx new file mode 100644 index 00000000..007e7c11 --- /dev/null +++ b/GMW/DettaglioBlocco.aspx @@ -0,0 +1,6 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/AjaxTitle.master" + AutoEventWireup="true" CodeBehind="DettaglioBlocco.aspx.cs" Inherits="GMW.DettaglioBlocco" %> +<%@ Register src="WebUserControls/mod_dettaglioBlocco.ascx" tagname="mod_dettaglioBlocco" tagprefix="uc1" %> + + + diff --git a/GMW/DettaglioBlocco.aspx.cs b/GMW/DettaglioBlocco.aspx.cs new file mode 100644 index 00000000..606a0699 --- /dev/null +++ b/GMW/DettaglioBlocco.aspx.cs @@ -0,0 +1,18 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace GMW +{ + public partial class DettaglioBlocco : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + + } +} diff --git a/GMW/DettaglioBlocco.aspx.designer.cs b/GMW/DettaglioBlocco.aspx.designer.cs new file mode 100644 index 00000000..fec0378a --- /dev/null +++ b/GMW/DettaglioBlocco.aspx.designer.cs @@ -0,0 +1,25 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW { + + + public partial class DettaglioBlocco { + + /// + /// mod_dettaglioBlocco1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_dettaglioBlocco mod_dettaglioBlocco1; + } +} diff --git a/GMW/ElencoListePrelievo.aspx b/GMW/ElencoListePrelievo.aspx new file mode 100644 index 00000000..287a45cd --- /dev/null +++ b/GMW/ElencoListePrelievo.aspx @@ -0,0 +1,5 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/AjaxSearch.master" AutoEventWireup="true" CodeBehind="ElencoListePrelievo.aspx.cs" Inherits="GMW.ElencoListePrelievo" %> +<%@ Register src="WebUserControls/mod_elencoListePrelievo.ascx" tagname="mod_elencoListePrelievo" tagprefix="uc1" %> + + + diff --git a/GMW/ElencoListePrelievo.aspx.cs b/GMW/ElencoListePrelievo.aspx.cs new file mode 100644 index 00000000..69ad1271 --- /dev/null +++ b/GMW/ElencoListePrelievo.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace GMW +{ + public partial class ElencoListePrelievo : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} diff --git a/GMW/ElencoListePrelievo.aspx.designer.cs b/GMW/ElencoListePrelievo.aspx.designer.cs new file mode 100644 index 00000000..197475c3 --- /dev/null +++ b/GMW/ElencoListePrelievo.aspx.designer.cs @@ -0,0 +1,25 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW { + + + public partial class ElencoListePrelievo { + + /// + /// mod_elencoListePrelievo1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_elencoListePrelievo mod_elencoListePrelievo1; + } +} diff --git a/GMW/GMW.Publish.xml b/GMW/GMW.Publish.xml new file mode 100644 index 00000000..b60489cb --- /dev/null +++ b/GMW/GMW.Publish.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/GMW/GMW.csproj b/GMW/GMW.csproj new file mode 100644 index 00000000..f09162c2 --- /dev/null +++ b/GMW/GMW.csproj @@ -0,0 +1,1292 @@ + + + + bin\ + + + true + pdbonly + AnyCPU + bin\GMW.dll.CodeAnalysisLog.xml + true + GlobalSuppressions.cs + prompt + AllRules.ruleset + ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets + false + ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules + false + true + true + Default Web Site/GMW_test + + + bin\ + + + true + pdbonly + AnyCPU + bin\GMW.dll.CodeAnalysisLog.xml + true + GlobalSuppressions.cs + prompt + AllRules.ruleset + ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets + false + ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules + false + true + true + Default Web Site/GMW + + + bin\ + + + true + pdbonly + AnyCPU + bin\GMW.dll.CodeAnalysisLog.xml + true + GlobalSuppressions.cs + prompt + AllRules.ruleset + ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets + false + ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules + false + false + true + true + Default Web Site/GMW + + + bin\ + + + true + pdbonly + AnyCPU + bin\GMW.dll.CodeAnalysisLog.xml + true + GlobalSuppressions.cs + prompt + AllRules.ruleset + ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets + ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules + true + true + Default Web Site/GMW_test + + + + Debug + AnyCPU + 9.0.30729 + 2.0 + {F8710519-CA62-4482-9045-02577B939A79} + {349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} + Library + Properties + GMW + GMW + + + 3.5 + + + v3.5 + false + + + true + full + false + bin\ + DEBUG;TRACE + prompt + 4 + AllRules.ruleset + false + Default Web Site/GMW + true + + + pdbonly + true + bin\ + + + prompt + 4 + AllRules.ruleset + Default Web Site/GMW + + + + False + ..\packages\AjaxControlToolkit.4.1.60623\lib\35\AjaxControlToolkit.dll + + + + ..\packages\AjaxControlToolkit.4.1.60623\lib\35\SanitizerProviders\SanitizerProviders.dll + + + + 3.5 + + + + 3.5 + + + + + 3.5 + + + 3.5 + + + + + + + + + 3.5 + + + + + Designer + + + + + anagCelle.aspx + ASPXCodeBehind + + + anagCelle.aspx + + + anagMagazzini.aspx + ASPXCodeBehind + + + anagMagazzini.aspx + + + anime.aspx + ASPXCodeBehind + + + anime.aspx + + + animeMult.aspx + ASPXCodeBehind + + + animeMult.aspx + + + chLang.aspx + ASPXCodeBehind + + + chLang.aspx + + + Default.aspx + ASPXCodeBehind + + + Default.aspx + + + DettaglioBlocco.aspx + ASPXCodeBehind + + + DettaglioBlocco.aspx + + + ElencoListePrelievo.aspx + ASPXCodeBehind + + + ElencoListePrelievo.aspx + + + forceUser.aspx + ASPXCodeBehind + + + forceUser.aspx + + + GestDelibere.aspx + ASPXCodeBehind + + + GestDelibere.aspx + + + jumper.aspx + ASPXCodeBehind + + + jumper.aspx + + + LabConsumaUdc.aspx + ASPXCodeBehind + + + LabConsumaUdc.aspx + + + LabStampaUdc.aspx + ASPXCodeBehind + + + LabStampaUdc.aspx + + + login.aspx + ASPXCodeBehind + + + login.aspx + + + MagLogico.aspx + ASPXCodeBehind + + + MagLogico.aspx + + + menu.aspx + ASPXCodeBehind + + + menu.aspx + + + odette.aspx + ASPXCodeBehind + + + odette.aspx + + + + sanpos_associaz_F10_F18.aspx + ASPXCodeBehind + + + sanpos_associaz_F10_F18.aspx + + + sanpos_consumoF10.aspx + ASPXCodeBehind + + + sanpos_consumoF10.aspx + + + sanpos_controlloLiquidi.aspx + ASPXCodeBehind + + + sanpos_controlloLiquidi.aspx + + + sanpos_creazioneF18.aspx + ASPXCodeBehind + + + sanpos_creazioneF18.aspx + + + SearchMag.aspx + ASPXCodeBehind + + + SearchMag.aspx + + + spostaDataMatrix.aspx + ASPXCodeBehind + + + spostaDataMatrix.aspx + + + StatoMag.aspx + ASPXCodeBehind + + + StatoMag.aspx + + + unauthorized.aspx + ASPXCodeBehind + + + unauthorized.aspx + + + vocabolario.aspx + ASPXCodeBehind + + + vocabolario.aspx + + + Ajax.master + ASPXCodeBehind + + + Ajax.master + + + AjaxSearch.master + ASPXCodeBehind + + + AjaxSearch.master + + + AjaxSearchEmpty.master + ASPXCodeBehind + + + AjaxSearchEmpty.master + + + AjaxSimple.master + ASPXCodeBehind + + + AjaxSimple.master + + + AjaxSimpleFull.Master + ASPXCodeBehind + + + AjaxSimpleFull.Master + + + AjaxSimpleUpload.master + ASPXCodeBehind + + + AjaxSimpleUpload.master + + + AjaxTitle.master + ASPXCodeBehind + + + AjaxTitle.master + + + MasterAjax.master + ASPXCodeBehind + + + MasterAjax.master + + + TermPage.Master + ASPXCodeBehind + + + TermPage.Master + + + TermPageAjax.Master + ASPXCodeBehind + + + TermPageAjax.Master + + + mod_anagBlocchi.ascx + ASPXCodeBehind + + + mod_anagBlocchi.ascx + + + mod_anagCelle.ascx + ASPXCodeBehind + + + mod_anagCelle.ascx + + + mod_anagMagazzini.ascx + ASPXCodeBehind + + + mod_anagMagazzini.ascx + + + mod_anime.ascx + ASPXCodeBehind + + + mod_anime.ascx + + + mod_animeMult.ascx + ASPXCodeBehind + + + mod_animeMult.ascx + + + mod_barPlot.ascx + ASPXCodeBehind + + + mod_barPlot.ascx + + + mod_bolle4odette.ascx + ASPXCodeBehind + + + mod_bolle4odette.ascx + + + mod_chLang.ascx + ASPXCodeBehind + + + mod_chLang.ascx + + + mod_confMag.ascx + ASPXCodeBehind + + + mod_confMag.ascx + + + mod_delibera.ascx + ASPXCodeBehind + + + mod_delibera.ascx + + + mod_detailCelle.ascx + ASPXCodeBehind + + + mod_detailCelle.ascx + + + mod_detailImballi.ascx + ASPXCodeBehind + + + mod_detailImballi.ascx + + + mod_detailOperatori.ascx + ASPXCodeBehind + + + mod_detailOperatori.ascx + + + mod_detailParticolari.ascx + ASPXCodeBehind + + + mod_detailParticolari.ascx + + + mod_detailUDC.ascx + ASPXCodeBehind + + + mod_detailUDC.ascx + + + mod_dettaglioBlocco.ascx + ASPXCodeBehind + + + mod_dettaglioBlocco.ascx + + + mod_dettCelleBlocco.ascx + ASPXCodeBehind + + + mod_dettCelleBlocco.ascx + + + mod_elencoListePrelievo.ascx + ASPXCodeBehind + + + mod_elencoListePrelievo.ascx + + + mod_execCelle.ascx + ASPXCodeBehind + + + mod_execCelle.ascx + + + mod_execImballi.ascx + ASPXCodeBehind + + + mod_execImballi.ascx + + + mod_execOperatori.ascx + ASPXCodeBehind + + + mod_execOperatori.ascx + + + mod_execParticolari.ascx + ASPXCodeBehind + + + mod_execParticolari.ascx + + + mod_execUDC.ascx + ASPXCodeBehind + + + mod_execUDC.ascx + + + mod_filtro.ascx + ASPXCodeBehind + + + mod_filtro.ascx + + + mod_labAssStampaUdc.ascx + ASPXCodeBehind + + + mod_labAssStampaUdc.ascx + + + mod_labConsUdc.ascx + ASPXCodeBehind + + + mod_labConsUdc.ascx + + + mod_lemmiVocab.ascx + ASPXCodeBehind + + + mod_lemmiVocab.ascx + + + mod_listParticolari.ascx + ASPXCodeBehind + + + mod_listParticolari.ascx + + + mod_login.ascx + ASPXCodeBehind + + + mod_login.ascx + + + mod_main_help.ascx + ASPXCodeBehind + + + mod_main_help.ascx + + + mod_menuBottom.ascx + ASPXCodeBehind + + + mod_menuBottom.ascx + + + mod_menuBottomFullpage.ascx + ASPXCodeBehind + + + mod_menuBottomFullpage.ascx + + + mod_menuBottomPortable.ascx + ASPXCodeBehind + + + mod_menuBottomPortable.ascx + + + mod_menuSx.ascx + ASPXCodeBehind + + + mod_menuSx.ascx + + + mod_menuTop.ascx + ASPXCodeBehind + + + mod_menuTop.ascx + + + mod_metodiNoSearch.ascx + ASPXCodeBehind + + + mod_metodiNoSearch.ascx + + + mod_nuovaListaPrelievo.ascx + ASPXCodeBehind + + + mod_nuovaListaPrelievo.ascx + + + mod_odette.ascx + ASPXCodeBehind + + + mod_odette.ascx + + + mod_operazioniUdc.ascx + ASPXCodeBehind + + + mod_operazioniUdc.ascx + + + mod_pageTitleAndSearch.ascx + ASPXCodeBehind + + + mod_pageTitleAndSearch.ascx + + + mod_paretoPartByFullSpec.ascx + ASPXCodeBehind + + + mod_paretoPartByFullSpec.ascx + + + mod_paretoUdcBlocco.ascx + ASPXCodeBehind + + + mod_paretoUdcBlocco.ascx + + + mod_periodoAnalisi.ascx + ASPXCodeBehind + + + mod_periodoAnalisi.ascx + + + mod_ricercaGenerica.ascx + ASPXCodeBehind + + + mod_ricercaGenerica.ascx + + + mod_listCelle.ascx + ASPXCodeBehind + + + mod_listCelle.ascx + + + mod_listImballi.ascx + ASPXCodeBehind + + + mod_listImballi.ascx + + + mod_sanpos_associaz_F10_F18.ascx + ASPXCodeBehind + + + mod_sanpos_associaz_F10_F18.ascx + + + mod_sanpos_consumoF10.ascx + ASPXCodeBehind + + + mod_sanpos_consumoF10.ascx + + + mod_sanpos_controlloLiquidi.ascx + ASPXCodeBehind + + + mod_sanpos_controlloLiquidi.ascx + + + mod_sanpos_creazioneF18.ascx + ASPXCodeBehind + + + mod_sanpos_creazioneF18.ascx + + + mod_searchMag.ascx + ASPXCodeBehind + + + mod_searchMag.ascx + + + mod_listOperatori.ascx + ASPXCodeBehind + + + mod_listOperatori.ascx + + + mod_SearchProvCelle.ascx + ASPXCodeBehind + + + mod_SearchProvCelle.ascx + + + Mod_SearchProvImballi.ascx + ASPXCodeBehind + + + Mod_SearchProvImballi.ascx + + + mod_SearchProvOperatori.ascx + ASPXCodeBehind + + + mod_SearchProvOperatori.ascx + + + mod_SearchProvParticolari.ascx + ASPXCodeBehind + + + mod_SearchProvParticolari.ascx + + + mod_SearchProvUDC.ascx + ASPXCodeBehind + + + mod_SearchProvUDC.ascx + + + mod_selettore_ajax.ascx + ASPXCodeBehind + + + mod_selettore_ajax.ascx + + + mod_listUDC.ascx + ASPXCodeBehind + + + mod_listUDC.ascx + + + mod_spostaDataMatrix.ascx + ASPXCodeBehind + + + mod_spostaDataMatrix.ascx + + + mod_statoMag.ascx + ASPXCodeBehind + + + mod_statoMag.ascx + + + mod_statoMagLogico.ascx + ASPXCodeBehind + + + mod_statoMagLogico.ascx + + + mod_tipoCella.ascx + ASPXCodeBehind + + + mod_tipoCella.ascx + + + mod_UdcCella.ascx + ASPXCodeBehind + + + mod_UdcCella.ascx + + + mod_unauthorized.ascx + ASPXCodeBehind + + + mod_unauthorized.ascx + + + mod_viewOdette.ascx + ASPXCodeBehind + + + mod_viewOdette.ascx + + + mod_viewRigheListaPrelievo.ascx + ASPXCodeBehind + + + mod_viewRigheListaPrelievo.ascx + + + mod_vocabolario.ascx + ASPXCodeBehind + + + mod_vocabolario.ascx + + + AutoCompletamento.asmx + Component + + + + + {2872DCFE-8B46-43B2-BAA0-842A816A2DD5} + SteamWare + + + {47143721-A018-4BDA-B544-EC3E10BC87A2} + GMW_data + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Web.config + + + Web.config + + + Web.config + Designer + + + Web.config + + + Web.config + Designer + + + Web.config + Designer + + + + + + + + + + + + + + + + + + + + + + + + + + + + 10.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + + + + + + + + + + + + + + + + + + False + True + 8402 + / + http://localhost/GMW + True + http://localhost/GMW + False + False + + + False + + + + + + "$(ProjectDir)setupTgt.bat" "$(ConfigurationName)" "$(ProjectDir)" + + \ No newline at end of file diff --git a/GMW/GMW.csproj.user b/GMW/GMW.csproj.user new file mode 100644 index 00000000..2f386fba --- /dev/null +++ b/GMW/GMW.csproj.user @@ -0,0 +1,27 @@ + + + + + + + login.aspx + SpecificPage + True + False + False + False + + + + + + + + + False + True + + + + + \ No newline at end of file diff --git a/GMW/GestDelibere.aspx b/GMW/GestDelibere.aspx new file mode 100644 index 00000000..6d2746a9 --- /dev/null +++ b/GMW/GestDelibere.aspx @@ -0,0 +1,5 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/AjaxSearch.master" AutoEventWireup="true" CodeBehind="GestDelibere.aspx.cs" Inherits="GMW.GestDelibere" %> +<%@ Register src="WebUserControls/mod_delibera.ascx" tagname="mod_delibera" tagprefix="uc1" %> + + + diff --git a/GMW/GestDelibere.aspx.cs b/GMW/GestDelibere.aspx.cs new file mode 100644 index 00000000..cb6bb78c --- /dev/null +++ b/GMW/GestDelibere.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace GMW +{ + public partial class GestDelibere : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} diff --git a/GMW/GestDelibere.aspx.designer.cs b/GMW/GestDelibere.aspx.designer.cs new file mode 100644 index 00000000..67bb82ca --- /dev/null +++ b/GMW/GestDelibere.aspx.designer.cs @@ -0,0 +1,25 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW { + + + public partial class GestDelibere { + + /// + /// mod_delibera1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_delibera mod_delibera1; + } +} diff --git a/GMW/LabConsumaUdc.aspx b/GMW/LabConsumaUdc.aspx new file mode 100644 index 00000000..879dfa0c --- /dev/null +++ b/GMW/LabConsumaUdc.aspx @@ -0,0 +1,5 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/AjaxSearch.master" AutoEventWireup="true" CodeBehind="LabConsumaUdc.aspx.cs" Inherits="GMW.LabConsumaUdc" %> +<%@ Register src="WebUserControls/mod_labConsUdc.ascx" tagname="mod_labConsUdc" tagprefix="uc1" %> + + + diff --git a/GMW/LabConsumaUdc.aspx.cs b/GMW/LabConsumaUdc.aspx.cs new file mode 100644 index 00000000..5d974d41 --- /dev/null +++ b/GMW/LabConsumaUdc.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace GMW +{ + public partial class LabConsumaUdc : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} diff --git a/GMW/LabConsumaUdc.aspx.designer.cs b/GMW/LabConsumaUdc.aspx.designer.cs new file mode 100644 index 00000000..f36f2d11 --- /dev/null +++ b/GMW/LabConsumaUdc.aspx.designer.cs @@ -0,0 +1,25 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW { + + + public partial class LabConsumaUdc { + + /// + /// mod_labConsUdc1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_labConsUdc mod_labConsUdc1; + } +} diff --git a/GMW/LabStampaUdc.aspx b/GMW/LabStampaUdc.aspx new file mode 100644 index 00000000..0a6a6e15 --- /dev/null +++ b/GMW/LabStampaUdc.aspx @@ -0,0 +1,5 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/AjaxSearch.master" AutoEventWireup="true" CodeBehind="LabStampaUdc.aspx.cs" Inherits="GMW.LabStampaUdc" %> +<%@ Register src="WebUserControls/mod_labAssStampaUdc.ascx" tagname="mod_labAssStampaUdc" tagprefix="uc1" %> + + + diff --git a/GMW/LabStampaUdc.aspx.cs b/GMW/LabStampaUdc.aspx.cs new file mode 100644 index 00000000..76080fa1 --- /dev/null +++ b/GMW/LabStampaUdc.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace GMW +{ + public partial class LabStampaUdc : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} diff --git a/GMW/LabStampaUdc.aspx.designer.cs b/GMW/LabStampaUdc.aspx.designer.cs new file mode 100644 index 00000000..2a65ff8e --- /dev/null +++ b/GMW/LabStampaUdc.aspx.designer.cs @@ -0,0 +1,25 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW { + + + public partial class LabStampaUdc { + + /// + /// mod_labAssStampaUdc1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_labAssStampaUdc mod_labAssStampaUdc1; + } +} diff --git a/GMW/MagLogico.aspx b/GMW/MagLogico.aspx new file mode 100644 index 00000000..15039b69 --- /dev/null +++ b/GMW/MagLogico.aspx @@ -0,0 +1,5 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/AjaxTitle.master" AutoEventWireup="true" CodeBehind="MagLogico.aspx.cs" Inherits="GMW.MagLogico" %> +<%@ Register src="WebUserControls/mod_statoMagLogico.ascx" tagname="mod_statoMagLogico" tagprefix="uc1" %> + + + diff --git a/GMW/MagLogico.aspx.cs b/GMW/MagLogico.aspx.cs new file mode 100644 index 00000000..09067cae --- /dev/null +++ b/GMW/MagLogico.aspx.cs @@ -0,0 +1,29 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +namespace GMW +{ + public partial class MagLogico : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + mod_statoMagLogico1.eh_selValore += new EventHandler(mod_statoMagLogico1_eh_selValore); + // se non è postback resetto variabili... + if (!Page.IsPostBack) + { + memLayer.ML.emptySessionVal("CodMagLogico_sel"); + } + } + + void mod_statoMagLogico1_eh_selValore(object sender, EventArgs e) + { + // rimbalzo alla nuova pagina... + Response.Redirect("~/DettaglioBlocco.aspx"); + } + } +} diff --git a/GMW/MagLogico.aspx.designer.cs b/GMW/MagLogico.aspx.designer.cs new file mode 100644 index 00000000..2e1dce06 --- /dev/null +++ b/GMW/MagLogico.aspx.designer.cs @@ -0,0 +1,25 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW { + + + public partial class MagLogico { + + /// + /// mod_statoMagLogico1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_statoMagLogico mod_statoMagLogico1; + } +} diff --git a/GMW/Properties/AssemblyInfo.cs b/GMW/Properties/AssemblyInfo.cs new file mode 100644 index 00000000..3a9c52e4 --- /dev/null +++ b/GMW/Properties/AssemblyInfo.cs @@ -0,0 +1,35 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("GMW")] +[assembly: AssemblyDescription("Gestione Magazzino Web")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Steamware")] +[assembly: AssemblyProduct("GMW")] +[assembly: AssemblyCopyright("Copyright © Steamware 2010-2012")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("3d5900ae-111a-45be-96b3-d9e4606ca793")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Revision and Build Numbers +// by using the '*' as shown below: +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/GMW/Reports/CartellinoAnime.rdlc b/GMW/Reports/CartellinoAnime.rdlc new file mode 100644 index 00000000..cd54e64e --- /dev/null +++ b/GMW/Reports/CartellinoAnime.rdlc @@ -0,0 +1,950 @@ + + + + + 37647cab-a462-4a59-ae44-1bb2d82f1cff + GMW_Test + + + 14.8cm + Stampa cartellino di produzione + + + String + + + UTKAN12000009 + + + UDC + + + true + 21cm + 0.25cm + true + 1cm + 1cm + 1cm + 8b67d517-f880-448b-bde4-1949893f9fcc + + + image/jpeg + /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQ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cbXlZVDPBJdvksMk++K/SQKBwKQQoO5P1P+c0Afxy/8Q3f/BbX/ownX/8AwodJ/wDkuv3U/wCDcj9jj9sj4Ff8E3fiJ+wz+3j8EtW8E28+uainh83mo2k5m0zU7QJOsZglkC7JRK/zbeZx15r9SKQop6k9c9aAP41P21f+CC3/AAU3/Yx+JWreDtX/AGWvF/jLQLS9kXSfGXgfQ5tUsNQt9x8ub/Rld4GZOTFKFde+RzW5/wAE2f8AgmN/wXO1D4xWXxF/Yh+CHxL+HOsLHJbN431OKbw7bQ28gHmK890IxNGcDMaCQkgfLX9h3lJknHWl2KP +zzQB/KD+29/wbk/8ABcvU/wBojV/EXiPwJqfxv1XVbW0vdW+Idl4mt3S9uZIUMkOb+eKdvKfMYLIq4jBVVXAFn/gnZ/wQR/4KwfA39vP4OfGP42fsDa6/hLwv8SdG1PxETrmkyCK1hvI3km2fbPnCAbyB124r+rQRqMY7dOaNncsfzoA/K7/g6n/Zs/bt/bP/AGYvh5+zT+xf+z/rfjW3uvF82t+MZdKuraJbVLW3MVrDJ50qZ3vdSOMZ5t6/Cv8A4h0/+C1X/Rgfir/wZ6d/8k1/ZL5YxjJ46e1OwPf86APHP+Cf37Ndv+yB+xH8LP2ZoIEil8HeCLDT9QEeMPeiFWuZP+BTtK/1avY6TYo6UtABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAf/2Q== + + + 21cm + + + + + UDC + System.String + + + CodCS + System.String + + + codcliente + System.String + + + ragsociale + System.String + + + particolare + System.String + + + descparticolare + System.String + + + disegnogrezzo + System.String + + + esponente + System.String + + + codimpianto + System.String + + + descimpianto + System.String + + + codstampo + System.String + + + figura + System.String + + + datafus + System.DateTime + + + turnofus + System.Int32 + + + codimballo + System.String + + + codsoggetto + System.String + + + numcont + System.Int32 + + + tara + System.Double + + + qta + System.Decimal + + + codstato + System.String + + + idxposizione + System.Int32 + + + pesotot + System.Double + + + pesocad + System.Double + + + CreateDate + System.DateTime + + + ModDate + System.DateTime + + + cognome + System.String + + + nome + System.String + + + descstato + System.String + + + descimballo + System.String + + + CodFamiglia + System.String + + + DescFamiglia + System.String + + + Note + System.String + + + NoteTratt + System.String + + + + GMWConnectionString + StoredProcedure + stp_prtCartAnimeByUDC + + + =Parameters!UDC.Value + + + true + + + + 19cm + + 1cm + + + GMWDataSet_stp_prtCartAnimeByUDC + + + + + GMWDataSet_stp_prtCartAnimeByUDC +
+ + + + + + + FitProportional + Embedded + + 25 + tk_logo + + + + + 7 + + + textbox23 + + 24 + CARTELLINO ANIME + + + + + 2 + + + textbox15 + + 23 + =FormatDateTime(Globals!ExecutionTime ) + + + + + 1cm + + +
+ + + 1.80475cm + + + 1.2533cm + + + 2.00528cm + + + 2.30607cm + + + 3.20844cm + + + 1.75462cm + + + 2.25594cm + + + 2cm + + + 1.2cm + + + 1.2cm + + + 11.46cm +
+ + + + + 5 + + + RagSociale + + 1 + ="UDC : " + Fields!UDC.Value + + + + + 5 + + + + =iif(Fields!UDC.Value="","","*" + Fields!UDC.Value + "*") + + + + + 1.3cm + + + + + 10 + + + DescLega + + 2 + + + + + + 0.5cm + + + + + 2 + + + textbox14 + + 4 + Articolo : + + + + + 8 + + + + 3 + =Fields!particolare.Value + + + + + 1.5cm + + + + + 10 + + + + 5 + =First(Fields!descparticolare.Value) + + + + + 0.8cm + + + + + 10 + + + DescLega2 + + 6 + + + + + + 0.71cm + + + + + 2 + + + DescFamiglia + + 12 + Quantità: + + + + + 4 + + + Qta_1 + + 11 + =First(Fields!Qta.Value) + + + + + + + textbox55 + + 10 + + + + + + + + textbox10 + + 9 + + + + + + + + textbox67 + + 8 + + + + + + + + textbox68 + + 7 + + + + + + 1.45cm + + + + + 2 + + + descstato + + 14 + + + + + + 8 + + + + 13 + + + + + + 1.3cm + + + + + 2 + + + + 19 + Imballo : + + + + + 2 + + + codimballo + + 18 + =First(Fields!codimballo.Value) + + + + + 3 + + + textbox7 + + 17 + Creazione UDC: + + + + + 2 + + + textbox5 + + 16 + =Fields!CreateDate.Value + + + + + + + + 15 + + + + + + 0.8cm + + + + + 2 + + + textbox6 + + 21 + Note : + + + + + 8 + + + + 20 + =First(Fields!Note.Value) + + + + + 1.5cm + + + + + 10 + + + textbox1 + + 22 + ="Operatore : " + trim(Fields!cognome.Value) + " " + trim(Fields!nome.Value) + + + + + 0.6cm + + + true +
+
+
+ 0.5cm + + 11.6cm +
+
+ + + + =Fields!UDC.Value + + +
+
+ 12.8cm + + it-IT + 1cm + 14.8cm +
\ No newline at end of file diff --git a/GMW/Reports/CartellinoFinito.rdlc b/GMW/Reports/CartellinoFinito.rdlc new file mode 100644 index 00000000..41819dd6 --- /dev/null +++ b/GMW/Reports/CartellinoFinito.rdlc @@ -0,0 +1,1411 @@ + + + + + 37647cab-a462-4a59-ae44-1bb2d82f1cff + + SQL + Data Source=SRV-DEV01;Initial Catalog=SP_GMW + true + + + + 14.8cm + Stampa cartellino di produzione + true + 21cm + 0.25cm + true + 1cm + 1cm + 1cm + 8b67d517-f880-448b-bde4-1949893f9fcc + + + image/jpeg + /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT/wAARCAB3AJ8DASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNk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UsNQt9x8ub/Rld4GZOTFKFde+RzW5/wAE2f8AgmN/wXO1D4xWXxF/Yh+CHxL+HOsLHJbN431OKbw7bQ28gHmK890IxNGcDMaCQkgfLX9h3lJknHWl2KP +zzQB/KD+29/wbk/8ABcvU/wBojV/EXiPwJqfxv1XVbW0vdW+Idl4mt3S9uZIUMkOb+eKdvKfMYLIq4jBVVXAFn/gnZ/wQR/4KwfA39vP4OfGP42fsDa6/hLwv8SdG1PxETrmkyCK1hvI3km2fbPnCAbyB124r+rQRqMY7dOaNncsfzoA/K7/g6n/Zs/bt/bP/AGYvh5+zT+xf+z/rfjW3uvF82t+MZdKuraJbVLW3MVrDJ50qZ3vdSOMZ5t6/Cv8A4h0/+C1X/Rgfir/wZ6d/8k1/ZL5YxjJ46e1OwPf86APHP+Cf37Ndv+yB+xH8LP2ZoIEil8HeCLDT9QEeMPeiFWuZP+BTtK/1avY6TYo6UtABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAf/2Q== + + + 21cm + + + + + UDC + System.String + + + CodCS + System.String + + + codcliente + System.String + + + ragsociale + System.String + + + particolare + System.String + + + descparticolare + System.String + + + disegnogrezzo + System.String + + + esponente + System.String + + + codimpianto + System.String + + + descimpianto + System.String + + + codstampo + System.String + + + figura + System.String + + + datafus + System.DateTime + + + turnofus + System.Int32 + + + codimballo + System.String + + + codsoggetto + System.String + + + numcont + System.Int32 + + + tara + System.Double + + + qta + System.Decimal + + + codstato + System.String + + + idxposizione + System.Int32 + + + pesotot + System.Double + + + pesocad + System.Double + + + CreateDate + System.DateTime + + + ModDate + System.DateTime + + + cognome + System.String + + + nome + System.String + + + descstato + System.String + + + descimballo + System.String + + + CodFamiglia + System.String + + + DescFamiglia + System.String + + + + GMWConnectionString + StoredProcedure + dbo.stp_prtCartByUDC + true + + + + 19cm + + 1cm + + + GMWDataSet_stp_prtCartByUDC + + + + + GMWDataSet_stp_prtCartByUDC +
+ + + + + + + FitProportional + image/jpeg + Embedded + + 34 + mm_logo + + + + + 7 + + + textbox23 + + 33 + IDENTIFICAZIONE PRODOTTO FINITO + + + + + 2 + + + textbox15 + + 32 + true + =FormatDateTime(Globals!ExecutionTime ) + + + + + 1cm + + +
+ + + 1.80475cm + + + 1.2533cm + + + 2.00528cm + + + 2.30607cm + + + 3.20844cm + + + 1.75462cm + + + 2.25594cm + + + 2cm + + + 1.2cm + + + 1.2cm + + +
+ + + + + 5 + + + RagSociale + true + + 1 + ="UDC : " + Fields!UDC.Value + + + + + 5 + + + textbox9 + + ="*" + Fields!UDC.Value + "*" + + + + + 1.3cm + + + + + 2 + + + textbox16 + + 4 + CLIENTE + + + + + 5 + + + DescParticolare + + 3 + =TRIM(Fields!CodCliente.Value) + " " + LEFT(Fields!RagSociale.Value,50 ) + + + + + 3 + + + textbox20 + + 2 + true + + + + + + 0.5cm + + + + + 2 + + + textbox14 + + 7 + DISEGNO - ESP. + + + + + 5 + + + textbox8 + + 6 + true + =RTrim(Fields!DisegnoGrezzo.Value) + " - " + RTrim(Fields!Esponente.Value) + + + + + 3 + + + textbox1 + + 5 + true + FIGURA + + + + + 0.5cm + + + + + 7 + + + Particolare + + 9 + =Fields!Particolare.Value + + + + + 3 + + + textbox44 + + 8 + =Fields!Figura.Value + + + + + 2.3cm + + + + + 2 + + + textbox4 + + 14 + true + PARTICOLARE + + + + + 5 + + + textbox3 + + 13 + true + =Fields!DescParticolare.Value + + + + + + + textbox40 + + 12 + true + + + + + + + + textbox50 + + 11 + true + + + + + + + + textbox57 + + 10 + true + + + + + + 0.5cm + + + + + 3 + + + textbox11 + + 20 + =Fields!DescImpianto.Value + + + + + + + textbox25 + + 19 + data + + + + + + + textbox32 + + 18 + =Fields!DataFus.Value + + + + + + + textbox63 + + 17 + ="T" + Str(Fields!TurnoFus.Value) + + + + + + + textbox30 + + 16 + operatore + + + + + 3 + + + CodSoggetto + + 15 + =Fields!CodSoggetto.Value + + + + + 0.5cm + + + + + 2 + + + textbox5 + + 25 + Contenitore + + + + + + + NumCont + + 24 + =Fields!NumCont.Value + + + + + 2 + + + CodImballo + + 23 + ="Imballo " + Fields!CodImballo.Value + + + + + 2 + + + CodStato + + 22 + true + =Fields!descstato.Value + + + + + 3 + + + textbox34 + + 21 + n. pezzi + + + + + 0.5cm + + + + + 7 + + + descstato + + 27 + true + + + + + + 3 + + + Qta + + 26 + true + =Fields!Qta.Value + + + + + 2.5cm + + + + + 7 + + + descimballo + + 29 + + + + + + 3 + + + textbox49 + + 28 + Tara + + + + + 0.5cm + + + + + 7 + + + DescFamiglia + + 31 + + + + + + 3 + + + Tara + + 30 + =Fields!Tara.Value + + + + + 2.7cm + + + true +
+
+
+ +
+
+ + + + =Fields!UDC.Value + + +
+
+ 12.8cm + + it-IT + 1cm + 14.8cm +
\ No newline at end of file diff --git a/GMW/Reports/CartellinoFus.rdlc b/GMW/Reports/CartellinoFus.rdlc new file mode 100644 index 00000000..0c0ef960 --- /dev/null +++ b/GMW/Reports/CartellinoFus.rdlc @@ -0,0 +1,1411 @@ + + + + + 37647cab-a462-4a59-ae44-1bb2d82f1cff + + SQL + Data Source=SRV-DEV01;Initial Catalog=SP_GMW + true + + + + 14.8cm + Stampa cartellino di produzione + true + 21cm + 0.25cm + true + 1cm + 1cm + 1cm + 8b67d517-f880-448b-bde4-1949893f9fcc + + + image/jpeg + /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT/wAARCAB3AJ8DASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAA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kuv3U/wCDcj9jj9sj4Ff8E3fiJ+wz+3j8EtW8E28+uainh83mo2k5m0zU7QJOsZglkC7JRK/zbeZx15r9SKQop6k9c9aAP41P21f+CC3/AAU3/Yx+JWreDtX/AGWvF/jLQLS9kXSfGXgfQ5tUsNQt9x8ub/Rld4GZOTFKFde+RzW5/wAE2f8AgmN/wXO1D4xWXxF/Yh+CHxL+HOsLHJbN431OKbw7bQ28gHmK890IxNGcDMaCQkgfLX9h3lJknHWl2KP +zzQB/KD+29/wbk/8ABcvU/wBojV/EXiPwJqfxv1XVbW0vdW+Idl4mt3S9uZIUMkOb+eKdvKfMYLIq4jBVVXAFn/gnZ/wQR/4KwfA39vP4OfGP42fsDa6/hLwv8SdG1PxETrmkyCK1hvI3km2fbPnCAbyB124r+rQRqMY7dOaNncsfzoA/K7/g6n/Zs/bt/bP/AGYvh5+zT+xf+z/rfjW3uvF82t+MZdKuraJbVLW3MVrDJ50qZ3vdSOMZ5t6/Cv8A4h0/+C1X/Rgfir/wZ6d/8k1/ZL5YxjJ46e1OwPf86APHP+Cf37Ndv+yB+xH8LP2ZoIEil8HeCLDT9QEeMPeiFWuZP+BTtK/1avY6TYo6UtABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAf/2Q== + + + 21cm + + + + + UDC + System.String + + + CodCS + System.String + + + codcliente + System.String + + + ragsociale + System.String + + + particolare + System.String + + + descparticolare + System.String + + + disegnogrezzo + System.String + + + esponente + System.String + + + codimpianto + System.String + + + descimpianto + System.String + + + codstampo + System.String + + + figura + System.String + + + datafus + System.DateTime + + + turnofus + System.Int32 + + + codimballo + System.String + + + codsoggetto + System.String + + + numcont + System.Int32 + + + tara + System.Double + + + qta + System.Decimal + + + codstato + System.String + + + idxposizione + System.Int32 + + + pesotot + System.Double + + + pesocad + System.Double + + + CreateDate + System.DateTime + + + ModDate + System.DateTime + + + cognome + System.String + + + nome + System.String + + + descstato + System.String + + + descimballo + System.String + + + CodFamiglia + System.String + + + DescFamiglia + System.String + + + + GMWConnectionString + StoredProcedure + dbo.stp_prtCartByUDC + true + + + + 19cm + + 1cm + + + GMWDataSet_stp_prtCartByUDC + + + + + GMWDataSet_stp_prtCartByUDC +
+ + + + + + + FitProportional + image/jpeg + Embedded + + 34 + mm_logo + + + + + 7 + + + textbox23 + + 33 + IDENTIFICAZIONE PRODOTTO FUSO + + + + + 2 + + + textbox15 + + 32 + true + =FormatDateTime(Globals!ExecutionTime ) + + + + + 1cm + + +
+ + + 1.80475cm + + + 1.2533cm + + + 2.00528cm + + + 2.30607cm + + + 3.20844cm + + + 1.75462cm + + + 2.25594cm + + + 2cm + + + 1.2cm + + + 1.2cm + + +
+ + + + + 5 + + + RagSociale + true + + 1 + ="UDC : " + Fields!UDC.Value + + + + + 5 + + + textbox9 + + ="*" + Fields!UDC.Value + "*" + + + + + 1.3cm + + + + + 2 + + + textbox16 + + 4 + CLIENTE + + + + + 5 + + + DescParticolare + + 3 + =TRIM(Fields!CodCliente.Value) + " " + LEFT(Fields!RagSociale.Value,50 ) + + + + + 3 + + + textbox20 + + 2 + true + + + + + + 0.5cm + + + + + 2 + + + textbox14 + + 7 + DISEGNO - ESP. + + + + + 5 + + + textbox8 + + 6 + true + =RTrim(Fields!DisegnoGrezzo.Value) + " - " + RTrim(Fields!Esponente.Value) + + + + + 3 + + + textbox1 + + 5 + true + FIGURA + + + + + 0.5cm + + + + + 7 + + + Particolare + + 9 + =Fields!Particolare.Value + + + + + 3 + + + textbox44 + + 8 + =Fields!Figura.Value + + + + + 2.3cm + + + + + 2 + + + textbox4 + + 14 + true + PARTICOLARE + + + + + 5 + + + textbox3 + + 13 + true + =Fields!DescParticolare.Value + + + + + + + textbox40 + + 12 + true + + + + + + + + textbox50 + + 11 + true + + + + + + + + textbox57 + + 10 + true + + + + + + 0.5cm + + + + + 3 + + + textbox11 + + 20 + =Fields!DescImpianto.Value + + + + + + + textbox25 + + 19 + data + + + + + + + textbox32 + + 18 + =Fields!DataFus.Value + + + + + + + textbox63 + + 17 + ="T" + Str(Fields!TurnoFus.Value) + + + + + + + textbox30 + + 16 + operatore + + + + + 3 + + + CodSoggetto + + 15 + =Fields!CodSoggetto.Value + + + + + 0.5cm + + + + + 2 + + + textbox5 + + 25 + Contenitore + + + + + + + NumCont + + 24 + =Fields!NumCont.Value + + + + + 2 + + + CodImballo + + 23 + ="Imballo " + Fields!CodImballo.Value + + + + + 2 + + + CodStato + + 22 + true + =Fields!descstato.Value + + + + + 3 + + + textbox34 + + 21 + n. pezzi + + + + + 0.5cm + + + + + 7 + + + descstato + + 27 + true + + + + + + 3 + + + Qta + + 26 + true + =Fields!Qta.Value + + + + + 2.5cm + + + + + 7 + + + descimballo + + 29 + + + + + + 3 + + + textbox49 + + 28 + Tara + + + + + 0.5cm + + + + + 7 + + + DescFamiglia + + 31 + + + + + + 3 + + + Tara + + 30 + =Fields!Tara.Value + + + + + 2.7cm + + + true +
+
+
+ +
+
+ + + + =Fields!UDC.Value + + +
+
+ 12.8cm + + it-IT + 1cm + 14.8cm +
\ No newline at end of file diff --git a/GMW/Reports/CartellinoLiquidiF10.rdlc b/GMW/Reports/CartellinoLiquidiF10.rdlc new file mode 100644 index 00000000..4373ebca --- /dev/null +++ b/GMW/Reports/CartellinoLiquidiF10.rdlc @@ -0,0 +1,1651 @@ + + + + + 37647cab-a462-4a59-ae44-1bb2d82f1cff + GMW_Test + + + 14.8cm + Stampa cartellino di produzione + + + String + + + USPLI20000006 + + + UDC + + + true + 21cm + 0.25cm + true + 1cm + 1cm + 1cm + 8b67d517-f880-448b-bde4-1949893f9fcc + + + image/jpeg + /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFR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kLfsH67HvcLvfxHpAA9z/pfSv30/4K2f8ABJzxP8ZP+CFGj/sKfs8eC01zxf8ADPR/DjeDNMt5YomvLuxEdvcbXlZVDPBJdvksMk++K/SQKBwKQQoO5P1P+c0Afxy/8Q3f/BbX/ownX/8AwodJ/wDkuv3U/wCDcj9jj9sj4Ff8E3fiJ+wz+3j8EtW8E28+uainh83mo2k5m0zU7QJOsZglkC7JRK/zbeZx15r9SKQop6k9c9aAP41P21f+CC3/AAU3/Yx+JWreDtX/AGWvF/jLQLS9kXSfGXgfQ5tUsNQt9x8ub/Rld4GZOTFKFde+RzW5/wAE2f8AgmN/wXO1D4xWXxF/Yh+CHxL+HOsLHJbN431OKbw7bQ28gHmK890IxNGcDMaCQkgfLX9h3lJknHWl2KP +zzQB/KD+29/wbk/8ABcvU/wBojV/EXiPwJqfxv1XVbW0vdW+Idl4mt3S9uZIUMkOb+eKdvKfMYLIq4jBVVXAFn/gnZ/wQR/4KwfA39vP4OfGP42fsDa6/hLwv8SdG1PxETrmkyCK1hvI3km2fbPnCAbyB124r+rQRqMY7dOaNncsfzoA/K7/g6n/Zs/bt/bP/AGYvh5+zT+xf+z/rfjW3uvF82t+MZdKuraJbVLW3MVrDJ50qZ3vdSOMZ5t6/Cv8A4h0/+C1X/Rgfir/wZ6d/8k1/ZL5YxjJ46e1OwPf86APHP+Cf37Ndv+yB+xH8LP2ZoIEil8HeCLDT9QEeMPeiFWuZP+BTtK/1avY6TYo6UtABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAf/2Q== + + + 21cm + + + + + UDC + System.String + + + CodCS + System.String + + + codcliente + System.String + + + ragsociale + System.String + + + particolare + System.String + + + descparticolare + System.String + + + disegnogrezzo + System.String + + + esponente + System.String + + + codimpianto + System.String + + + descimpianto + System.String + + + codstampo + System.String + + + figura + System.String + + + datafus + System.DateTime + + + turnofus + System.Int32 + + + codimballo + System.String + + + codsoggetto + System.String + + + numcont + System.Int32 + + + tara + System.Double + + + qta + System.Decimal + + + codstato + System.String + + + idxposizione + System.Int32 + + + pesotot + System.Double + + + pesocad + System.Double + + + CreateDate + System.DateTime + + + ModDate + System.DateTime + + + cognome + System.String + + + nome + System.String + + + descstato + System.String + + + descimballo + System.String + + + CodFamiglia + System.String + + + DescFamiglia + System.String + + + Note + System.String + + + NoteTratt + System.String + + + + GMWConnectionString + StoredProcedure + stp_prtCartLiquidi_F10ByUDC + + + =Parameters!UDC.Value + + + true + + + + 19cm + + 1cm + + + GMWDataSet_stp_prtCartLiquidi_F10ByUDC + + + + + GMWDataSet_stp_prtCartLiquidi_F10ByUDC +
+ + + + + + + textbox36 + + 48 + + + + + + 7 + + + textbox23 + + 47 + CARTELLINO LIQUIDI + + + + + 2 + + + textbox15 + + 46 + =FormatDateTime(Globals!ExecutionTime ) + + + + + 1cm + + +
+ + + 1.80475cm + + + 1.1533cm + + + 2.10528cm + + + 2.30607cm + + + 3.20844cm + + + 1.75462cm + + + 2.25594cm + + + 2cm + + + 1.2cm + + + 1.2cm + + + 11.4cm +
+ + + + + 2 + + + RagSociale + + 2 + ="UDC : " + + + + + 3 + + + textbox20 + + 1 + =Fields!UDC.Value + + + + + 5 + + + + =iif(Fields!UDC.Value="","","*" + Fields!UDC.Value + "*") + + + + + 1.3cm + + + + + 10 + + + DescLega + + 3 + + + + + + 0.4cm + + + + + 2 + + + textbox14 + + 5 + Articolo : + + + + + 8 + + + + 4 + =First(Fields!descparticolare.Value) + + + + + 1.3cm + + + + + + + + 8 + + + + + + + + textbox5 + + 7 + + + + + + 8 + + + textbox13 + + 6 + =First(Fields!particolare.Value) + + + + + 0.8cm + + + + + 2 + + + DescFamiglia + + 13 + PEZZI : + + + + + 2 + + + Qta_1 + + 12 + =First(Fields!Qta.Value) + + + + + + + textbox9 + + 11 + true + + + + + + 4 + + + textbox1 + + 10 + true + ="DISEGNO : " + First(Fields!disegnogrezzo.Value).ToString + + + + + + + textbox10 + + 9 + true + + + + + + 1.45cm + + + + + 2 + + + disegnogrezzo + + 20 + + + + + + 3 + + + textbox16 + + 19 + + + + + + + + textbox24 + + 18 + true + + + + + + + + textbox37 + + 17 + true + + + + + + + + textbox38 + + 16 + true + + + + + + + + textbox39 + + 15 + true + + + + + + + + textbox40 + + 14 + true + + + + + + 0.2cm + + + + + 2 + + + descstato + + 25 + Imballo : + + + + + 3 + + + + 24 + =First(Fields!codimballo.Value) + + + + + 3 + + + textbox12 + + 23 + DUREZZA + + + + + + + textbox21 + + 22 + x + + + + + + + textbox26 + + 21 + true + + + + + + 1.1cm + + + + + 2 + + + + 32 + Trattamenti : + + + + + + + + 31 + + + + + + + + + 30 + true + + + + + + + + + 29 + true + + + + + + 3 + + + + 28 + MECCANICHE + + + + + + + + 27 + + + + + + + + + 26 + true + + + + + + 1.1cm + + + + + 5 + + + textbox6 + + 36 + =First(Fields!NoteTratt.Value) + + + + + 3 + + + textbox8 + + 35 + LIQUIDI + + + + + + + textbox29 + + 34 + x + + + + + + + textbox30 + + 33 + true + + + + + + 1.1cm + + + + + 2 + + + + 43 + + + + + + 3 + + + + 42 + + + + + + + + + 41 + true + + + + + + + + + 40 + true + + + + + + + + + 39 + true + + + + + + + + + 38 + true + + + + + + + + + 37 + true + + + + + + 0.2cm + + + + + 2 + + + + 45 + Note : + + + + + 8 + + + codimballo + + 44 + =First(Fields!Note.Value) + + + + + 1.45cm + + + true +
+
+
+ 1cm + + 11.5cm +
+
+ + + + =Fields!UDC.Value + + +
+
+ 12.8cm + + it-IT + 1cm + 14.8cm +
\ No newline at end of file diff --git a/GMW/Reports/CartellinoLiquidiF18.rdlc b/GMW/Reports/CartellinoLiquidiF18.rdlc new file mode 100644 index 00000000..69c132ef --- /dev/null +++ b/GMW/Reports/CartellinoLiquidiF18.rdlc @@ -0,0 +1,1056 @@ + + + + + 37647cab-a462-4a59-ae44-1bb2d82f1cff + GMW_Test + + + 14.8cm + Stampa cartellino di produzione + + + String + + + USPLI20000006 + + + UDC + + + true + 21cm + 0.25cm + true + 1cm + 1cm + 1cm + 8b67d517-f880-448b-bde4-1949893f9fcc + + + image/jpeg + /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT/wAARCAB3AJ8DASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD9U6KKKACiivCP2mv20fhp+yvpRbxTqv2zxBLGXtfDunESXs3HBK5xGh/vuQPTJ4oA93rxP41ftm/B34AedD4v8a2MOqRj/kEWBN3eE+hijy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RRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAf/2Q== + + + 21cm + + + + + UDC + System.String + + + CodCS + System.String + + + codcliente + System.String + + + ragsociale + System.String + + + particolare + System.String + + + descparticolare + System.String + + + disegnogrezzo + System.String + + + esponente + System.String + + + codimpianto + System.String + + + descimpianto + System.String + + + codstampo + System.String + + + figura + System.String + + + datafus + System.DateTime + + + turnofus + System.Int32 + + + codimballo + System.String + + + codsoggetto + System.String + + + numcont + System.Int32 + + + tara + System.Double + + + qta + System.Decimal + + + codstato + System.String + + + idxposizione + System.Int32 + + + pesotot + System.Double + + + pesocad + System.Double + + + CreateDate + System.DateTime + + + ModDate + System.DateTime + + + cognome + System.String + + + nome + System.String + + + descstato + System.String + + + descimballo + System.String + + + CodFamiglia + System.String + + + DescFamiglia + System.String + + + Note + System.String + + + NoteTratt + System.String + + + + GMWConnectionString + StoredProcedure + stp_prtCartLiquidi_F18ByUDC + + + =Parameters!UDC.Value + + + true + + + + 19cm + + 1cm + + + GMWDataSet_stp_prtCartLiquidi_F18ByUDC + + + + + GMWDataSet_stp_prtCartLiquidi_F18ByUDC +
+ + + + + + + textbox36 + + 37 + + + + + + 7 + + + textbox23 + + 36 + CARTELLINO LIQUIDI F18 + + + + + 2 + + + textbox15 + + 35 + =FormatDateTime(Globals!ExecutionTime ) + + + + + 1cm + + +
+ + + 1.80475cm + + + 1.2533cm + + + 2.00528cm + + + 2.30607cm + + + 3.20844cm + + + 1.75462cm + + + 2.25594cm + + + 2cm + + + 1.2cm + + + 1.2cm + + + 11.1cm +
+ + + + + 5 + + + RagSociale + + 1 + ="UDC : " + Fields!UDC.Value + + + + + 5 + + + + =iif(Fields!UDC.Value="","","*" + Fields!UDC.Value + "*") + + + + + 1.3cm + + + + + 10 + + + DescLega + + 2 + + + + + + 0.5cm + + + + + 2 + + + textbox14 + + 4 + Articolo : + + + + + 8 + + + + 3 + =Fields!particolare.Value + + + + + 1.5cm + + + + + 10 + + + + 5 + =First(Fields!descparticolare.Value) + + + + + 0.5cm + + + + + 10 + + + DescLega2 + + 6 + + + + + + 1cm + + + + + 2 + + + DescFamiglia + + 12 + Quantità: + + + + + 4 + + + Qta_1 + + 11 + =First(Fields!Qta.Value) + + + + + + + textbox55 + + 10 + + + + + + + + textbox10 + + 9 + + + + + + + + textbox67 + + 8 + + + + + + + + textbox68 + + 7 + + + + + + 1.25cm + + + + + 2 + + + descstato + + 14 + + + + + + 8 + + + + 13 + + + + + + 1.5cm + + + + + 2 + + + textbox6 + + 16 + Note : + + + + + 8 + + + + 15 + =First(Fields!Note.Value) + + + + + 1.5cm + + + + + 2 + + + + 24 + Imballo : + + + + + 2 + + + codimballo + + 23 + =First(Fields!codimballo.Value) + + + + + + + textbox7 + + 22 + true + + + + + + + + textbox8 + + 21 + true + + + + + + + + + 20 + + + + + + + + + 19 + + + + + + + + + 18 + + + + + + + + + 17 + + + + + + 0.8cm + + + + + + + textbox1 + + 34 + + + + + + + + textbox2 + + 33 + + + + + + + + textbox11 + + 32 + + + + + + + + textbox12 + + 31 + + + + + + + + textbox18 + + 30 + + + + + + + + textbox26 + + 29 + + + + + + + + textbox27 + + 28 + + + + + + + + textbox28 + + 27 + + + + + + + + textbox29 + + 26 + + + + + + + + textbox30 + + 25 + + + + + + 0.25cm + + + true +
+
+
+ 1cm + + 11.5cm +
+
+ + + + =Fields!UDC.Value + + +
+
+ 12.8cm + + it-IT + 1cm + 14.8cm +
\ No newline at end of file diff --git a/GMW/Reports/CartellinoMP.rdlc b/GMW/Reports/CartellinoMP.rdlc new file mode 100644 index 00000000..16326a43 --- /dev/null +++ b/GMW/Reports/CartellinoMP.rdlc @@ -0,0 +1,808 @@ + + + + + 37647cab-a462-4a59-ae44-1bb2d82f1cff + + SQL + Data Source=SRV65;Initial Catalog=SP_GMW + true + + + + 14.8cm + Stampa cartellino di produzione + true + 21cm + 0.25cm + true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RRRQAUUUUAFFFFABRRRQAUUUUAf/2Q== + + + 21cm + + + + + nRapQual + System.Decimal + + + DataRapQual + System.Decimal + + + ProgUDC + System.String + + + CodFor + System.String + + + DestTerz + System.String + + + CodLega + System.String + + + DataPrelFus + System.Decimal + + + TurnoPrelFus + System.String + + + Qta + System.Decimal + + + DestLega + System.String + + + LegaScaric + System.String + + + BenesQual + System.String + + + UDC + System.String + + + DescFornitore + System.String + + + DescFornitore2 + System.String + + + CodLega2 + System.String + + + DescLega + System.String + + + DescLega2 + System.String + + + Note + System.String + + + + GMWConnectionString + StoredProcedure + stp_prtCartMatPrimaByUDC + true + + + + 19cm + + 1cm + + + GMWDataSet_stp_prtCartByUDC + + + + + GMWDataSet_stp_prtCartByUDC +
+ + + + + + + textbox36 + + 27 + + + + + + 7 + + + textbox23 + + 26 + CARTELLINO LEGA + + + + + 2 + + + textbox15 + + 25 + =FormatDateTime(Globals!ExecutionTime ) + + + + + 1cm + + +
+ + + 1.80475cm + + + 1.2533cm + + + 2.00528cm + + + 2.30607cm + + + 3.20844cm + + + 1.75462cm + + + 2.25594cm + + + 2cm + + + 1.2cm + + + 1.2cm + + + 11.35cm +
+ + + + + 5 + + + RagSociale + + 1 + ="UDC : " + Fields!UDC.Value + + + + + 5 + + + + =iif(Fields!UDC.Value="","","*" + Fields!UDC.Value + "*") + + + + + 1.3cm + + + + + 3 + + + textbox14 + + 3 + Cod. Articolo: + + + + + 7 + + + + 2 + =Fields!CodLega.Value + + + + + 1.5cm + + + + + 10 + + + DescLega + + 4 + =Fields!DescLega.Value + + + + + 1cm + + + + + 10 + + + DescLega2 + + 5 + =Fields!DescLega2.Value + + + + + 1cm + + + + + 2 + + + textbox6 + + 7 + Fornitore: + + + + + 8 + + + + 6 + =Fields!DescFornitore.Value + + + + + 1.3cm + + + + + 2 + + + descstato + + 9 + Partita: + + + + + 8 + + + + 8 + =Cstr(Fields!nRapQual.Value) + " / " + Cstr(Fields!DataRapQual.Value) + + + + + 1.5cm + + + + + 2 + + + DescFamiglia + + 16 + Quantità: + + + + + 3 + + + Qta + + 15 + =Fields!Qta.Value + + + + + + + textbox54 + + 14 + + + + + + + + textbox55 + + 13 + + + + + + + + textbox10 + + 12 + + + + + + + + textbox67 + + 11 + + + + + + + + textbox68 + + 10 + + + + + + 1.2cm + + + + + 2 + + + + 22 + UDC ACG: + + + + + 4 + + + ProgUDC + + 21 + =Fields!ProgUDC.Value + + + + + + + + 20 + + + + + + + + + 19 + + + + + + + + + 18 + + + + + + + + + 17 + + + + + + 0.8cm + + + + + 2 + + + textbox1 + + 24 + Note: + + + + + 8 + + + Note + + 23 + =Fields!Note.Value + + + + + 0.75cm + + + true +
+
+
+ 1cm + + 11.6cm +
+
+ + + + =Fields!UDC.Value + + +
+
+ 12.8cm + + it-IT + 1cm + 14.8cm +
\ No newline at end of file diff --git a/GMW/Reports/CartellinoMateriaPrima Neutro.rdl b/GMW/Reports/CartellinoMateriaPrima Neutro.rdl new file mode 100644 index 00000000..8cc4f60b --- /dev/null +++ b/GMW/Reports/CartellinoMateriaPrima Neutro.rdl @@ -0,0 +1,1226 @@ + + + + + 37647cab-a462-4a59-ae44-1bb2d82f1cff + + SQL + Data Source=SRV-DEV01;Initial Catalog=GMW + true + + + + 14.8cm + Stampa cartellino di produzione + + + String + + + UB31000000001 + + + UDC + + + true + 21cm + 0.25cm + true + 1cm + 1cm + 1cm + 8b67d517-f880-448b-bde4-1949893f9fcc + + + image/jpeg + /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT/wAARCAB3AJ8DASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8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4Ff8E3fiJ+wz+3j8EtW8E28+uainh83mo2k5m0zU7QJOsZglkC7JRK/zbeZx15r9SKQop6k9c9aAP41P21f+CC3/AAU3/Yx+JWreDtX/AGWvF/jLQLS9kXSfGXgfQ5tUsNQt9x8ub/Rld4GZOTFKFde+RzW5/wAE2f8AgmN/wXO1D4xWXxF/Yh+CHxL+HOsLHJbN431OKbw7bQ28gHmK890IxNGcDMaCQkgfLX9h3lJknHWl2KP +zzQB/KD+29/wbk/8ABcvU/wBojV/EXiPwJqfxv1XVbW0vdW+Idl4mt3S9uZIUMkOb+eKdvKfMYLIq4jBVVXAFn/gnZ/wQR/4KwfA39vP4OfGP42fsDa6/hLwv8SdG1PxETrmkyCK1hvI3km2fbPnCAbyB124r+rQRqMY7dOaNncsfzoA/K7/g6n/Zs/bt/bP/AGYvh5+zT+xf+z/rfjW3uvF82t+MZdKuraJbVLW3MVrDJ50qZ3vdSOMZ5t6/Cv8A4h0/+C1X/Rgfir/wZ6d/8k1/ZL5YxjJ46e1OwPf86APHP+Cf37Ndv+yB+xH8LP2ZoIEil8HeCLDT9QEeMPeiFWuZP+BTtK/1avY6TYo6UtABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAf/2Q== + + + 21cm + + + + + nRapQual + System.Decimal + + + DataRapQual + System.Decimal + + + ProgUDC + System.String + + + CodFor + System.String + + + DestTerz + System.String + + + CodLega + System.String + + + DataPrelFus + System.Decimal + + + TurnoPrelFus + System.String + + + Qta + System.Decimal + + + DestLega + System.String + + + LegaScaric + System.String + + + BenesQual + System.String + + + UDC + System.String + + + DescFornitore + System.String + + + DescFornitore2 + System.String + + + CodLega2 + System.String + + + DescLega + System.String + + + DescLega2 + System.String + + + + GMWConnectionString + StoredProcedure + stp_prtCartMatPrimaByUDC + + + =Parameters!UDC.Value + + + true + + + + 19cm + + 1cm + + + GMWDataSet_stp_prtCartByUDC + + + + + GMWDataSet_stp_prtCartByUDC +
+ + + + + + + textbox36 + + 47 + true + + + + + + 7 + + + textbox23 + + 46 + CARTELLINO LEGA + + + + + 2 + + + textbox15 + + 45 + true + =FormatDateTime(Globals!ExecutionTime ) + + + + + 1cm + + +
+ + + 1.80475cm + + + 1.2533cm + + + 2.00528cm + + + 2.30607cm + + + 3.20844cm + + + 1.75462cm + + + 2.25594cm + + + 2cm + + + 1.2cm + + + 1.2cm + + + 12.20476cm +
+ + + + + 5 + + + RagSociale + true + + 1 + ="UDC : " + Fields!UDC.Value + + + + + 5 + + + + ="*" + Fields!UDC.Value + "*" + + + + + 1.3cm + + + + + 3 + + + textbox14 + + 3 + true + Cod. Articolo + + + + + 7 + + + + 2 + =Fields!CodLega.Value + + + + + 1.5cm + + + + + 10 + + + DescLega + + 4 + =Fields!DescLega.Value + + + + + 1cm + + + + + 10 + + + DescLega2 + + 5 + =Fields!DescLega2.Value + + + + + 1cm + + + + + 2 + + + textbox6 + + 7 + true + Fornitore: + + + + + 8 + + + + 6 + =Fields!DescFornitore.Value + + + + + 1.5cm + + + + + 2 + + + descstato + + 11 + true + Partita: + + + + + 6 + + + + 10 + true + =Cstr(Fields!nRapQual.Value) + " / " + Cstr(Fields!DataRapQual.Value) + + + + + + + textbox16 + + 9 + true + + + + + + + + textbox64 + + 8 + true + + + + + + 1.5cm + + + + + 2 + + + DescFamiglia + + 18 + Quantità: + + + + + 3 + + + Qta + + 17 + true + =Fields!Qta.Value + + + + + + + textbox54 + + 16 + true + + + + + + + + textbox55 + + 15 + true + + + + + + + + textbox10 + + 14 + true + + + + + + + + textbox67 + + 13 + true + + + + + + + + textbox68 + + 12 + true + + + + + + 1.5cm + + + + + + + textbox3 + + 28 + true + + + + + + + + textbox4 + + 27 + true + + + + + + + + textbox5 + + 26 + true + + + + + + + + textbox7 + + 25 + true + + + + + + + + textbox8 + + 24 + true + + + + + + + + textbox9 + + 23 + true + + + + + + + + textbox17 + + 22 + true + + + + + + + + textbox20 + + 21 + true + + + + + + + + textbox21 + + 20 + true + + + + + + + + textbox24 + + 19 + true + + + + + + 0.63492cm + + + + + 2 + + + + 34 + true + UDC ACG + + + + + 4 + + + ProgUDC + + 33 + true + =Fields!ProgUDC.Value + + + + + + + + 32 + true + + + + + + + + + 31 + true + + + + + + + + + 30 + true + + + + + + + + + 29 + true + + + + + + 0.63492cm + + + + + + + textbox1 + + 44 + true + + + + + + + + textbox2 + + 43 + true + + + + + + + + textbox11 + + 42 + true + + + + + + + + textbox12 + + 41 + true + + + + + + + + textbox18 + + 40 + true + + + + + + + + textbox26 + + 39 + true + + + + + + + + textbox27 + + 38 + true + + + + + + + + textbox28 + + 37 + true + + + + + + + + textbox29 + + 36 + true + + + + + + + + textbox30 + + 35 + true + + + + + + 0.63492cm + + + true +
+
+
+ +
+
+ + + + =Fields!UDC.Value + + +
+
+ 12.8cm + + it-IT + 1cm + 14.8cm +
\ No newline at end of file diff --git a/GMW/Reports/CartellinoOdette.rdlc b/GMW/Reports/CartellinoOdette.rdlc new file mode 100644 index 00000000..ccaf391b --- /dev/null +++ b/GMW/Reports/CartellinoOdette.rdlc @@ -0,0 +1,1759 @@ + + + + + 945313fa-66e9-456e-b1dd-514d7a9e9842 + + SQL + Data Source=SRV65;Initial Catalog=SP_GMW + true + + + + 14.8cm + Stampa cartellino di produzione + + + String + + + UMAB210000007 + + + UDC + + + true + 21cm + 0.1cm + true + 1cm + 1cm + 1cm + 8b67d517-f880-448b-bde4-1949893f9fcc + + + image/jpeg + /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT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ksMk++K/SQKBwKQQoO5P1P+c0Afxy/8Q3f/BbX/ownX/8AwodJ/wDkuv3U/wCDcj9jj9sj4Ff8E3fiJ+wz+3j8EtW8E28+uainh83mo2k5m0zU7QJOsZglkC7JRK/zbeZx15r9SKQop6k9c9aAP41P21f+CC3/AAU3/Yx+JWreDtX/AGWvF/jLQLS9kXSfGXgfQ5tUsNQt9x8ub/Rld4GZOTFKFde+RzW5/wAE2f8AgmN/wXO1D4xWXxF/Yh+CHxL+HOsLHJbN431OKbw7bQ28gHmK890IxNGcDMaCQkgfLX9h3lJknHWl2KP +zzQB/KD+29/wbk/8ABcvU/wBojV/EXiPwJqfxv1XVbW0vdW+Idl4mt3S9uZIUMkOb+eKdvKfMYLIq4jBVVXAFn/gnZ/wQR/4KwfA39vP4OfGP42fsDa6/hLwv8SdG1PxETrmkyCK1hvI3km2fbPnCAbyB124r+rQRqMY7dOaNncsfzoA/K7/g6n/Zs/bt/bP/AGYvh5+zT+xf+z/rfjW3uvF82t+MZdKuraJbVLW3MVrDJ50qZ3vdSOMZ5t6/Cv8A4h0/+C1X/Rgfir/wZ6d/8k1/ZL5YxjJ46e1OwPf86APHP+Cf37Ndv+yB+xH8LP2ZoIEil8HeCLDT9QEeMPeiFWuZP+BTtK/1avY6TYo6UtABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAf/2Q== + + + 21cm + + + + + CampoUDC + System.String + + + Campo1_1 + System.String + + + Campo1_2 + System.String + + + Campo1_3 + System.String + + + Campo1_4 + System.String + + + Campo1_5 + System.String + + + Campo2_1 + System.String + + + Campo2_2 + System.String + + + Campo2_3 + System.String + + + Campo2_4 + System.String + + + Campo2_5 + System.String + + + Campo3_1 + System.String + + + Campo3_2 + System.String + + + Campo3_3 + System.String + + + Campo3_4 + System.String + + + Campo3_5 + System.String + + + Campo4_1 + System.String + + + Campo4_2 + System.String + + + Campo4_3 + System.String + + + Campo4_4 + System.String + + + Campo4_5 + System.String + + + Campo5_1 + System.String + + + Campo5_2 + System.String + + + Campo5_3 + System.String + + + Campo5_4 + System.String + + + Campo5_5 + System.String + + + Campo6_1 + System.String + + + Campo6_2 + System.String + + + Campo6_3 + System.String + + + Campo6_4 + System.String + + + Campo6_5 + System.String + + + Campo7_1 + System.String + + + Campo7_2 + System.String + + + Campo7_3 + System.String + + + Campo7_4 + System.String + + + Campo7_5 + System.String + + + Campo8_1 + System.String + + + Campo8_2 + System.String + + + Campo8_3 + System.String + + + Campo8_4 + System.String + + + Campo8_5 + System.String + + + Campo9_1 + System.String + + + Campo9_2 + System.String + + + Campo9_3 + System.String + + + Campo9_4 + System.String + + + Campo9_5 + System.String + + + Campo10_1 + System.String + + + Campo10_2 + System.String + + + Campo10_3 + System.String + + + Campo10_4 + System.String + + + Campo10_5 + System.String + + + Campo11_1_1 + System.String + + + Campo11_1_2 + System.String + + + Campo11_1_3 + System.String + + + Campo11_1_4 + System.String + + + Campo11_1_5 + System.String + + + Campo11_2_1 + System.String + + + Campo11_2_2 + System.String + + + Campo11_2_3 + System.String + + + Campo11_2_4 + System.String + + + Campo11_2_5 + System.String + + + Campo12_1 + System.String + + + Campo12_2 + System.String + + + Campo12_3 + System.String + + + Campo12_4 + System.String + + + Campo12_5 + System.String + + + Campo13_1 + System.String + + + Campo13_2 + System.String + + + Campo13_3 + System.String + + + Campo13_4 + System.String + + + Campo13_5 + System.String + + + Campo14_1 + System.String + + + Campo14_2 + System.String + + + Campo14_3 + System.String + + + Campo14_4 + System.String + + + Campo14_5 + System.String + + + Campo15_1 + System.String + + + Campo15_2 + System.String + + + Campo15_3 + System.String + + + Campo15_4 + System.String + + + Campo15_5 + System.String + + + Campo16_1 + System.String + + + Campo16_2 + System.String + + + Campo16_3 + System.String + + + Campo16_4 + System.String + + + Campo16_5 + System.String + + + + GMWConnectionString + SELECT + 'U000000001' AS CampoUDC + + ,'Receiver' AS Campo1_1 + ,'BAYERISCHE MOTOREN WERKE AG' AS Campo1_2 + ,'Abt. FR-23' AS Campo1_3 + ,'MUENCHEN' AS Campo1_4 + ,'Campo1_5' AS Campo1_5 + + ,'Destination (2L)' AS Campo2_1 + ,'VK-WOERTH Abladestelle 4' AS Campo2_2 + ,'Luitpoldpark' AS Campo2_3 + ,'DE-Niederaichbach' AS Campo2_4 + ,'Campo2_5' AS Campo2_5 + + ,'Document Number (N)' AS Campo3_1 + ,'863' AS Campo3_2 + ,'863' AS Campo3_3 -- Barcode + ,'Campo3_4' AS Campo3_4 + ,'Campo3_5' AS Campo3_5 + + ,'Supplier Adress' AS Campo4_1 + ,'via Don Minzoni,14 I-41039 S.Possidonio MO .' AS Campo4_2 + ,'Campo4_3' AS Campo4_3 + ,'Campo4_4' AS Campo4_4 + ,'Campo4_5' AS Campo4_5 + + ,'Net Weight (Kg)' AS Campo5_1 + ,'351,91' AS Campo5_2 + ,'Campo5_3' AS Campo5_3 + ,'Campo5_4' AS Campo5_4 + ,'Campo5_5' AS Campo5_5 + + ,'Gross Weight ( Kg)' AS Campo6_1 + ,'436,91' AS Campo6_2 + ,'Campo6_3' AS Campo6_3 + ,'Campo6_4' AS Campo6_4 + ,'Campo6_5' AS Campo6_5 + + ,'Boxes (Nr)' AS Campo7_1 + ,'2,3' AS Campo7_2 + ,'Campo7_3' AS Campo7_3 + ,'Campo7_4' AS Campo7_4 + ,'Campo7_5' AS Campo7_5 + + ,'Part Number (P)' AS Campo8_1 + ,'7558090-07' AS Campo8_2 + ,'7558090-07' AS Campo8_3 -- Barcode + ,'Campo8_4' AS Campo8_4 + ,'Campo8_5' AS Campo8_5 + + ,'Quantity (Q)' AS Campo9_1 + ,'1221,9' AS Campo9_2 + ,'1221,9' AS Campo9_3 -- Barcode + ,'Campo9_4' AS Campo9_4 + ,'Campo9_5' AS Campo9_5 + + ,'Description' AS Campo10_1 + ,'GEHAEUSE Pl6 VAG-D 175AL' AS Campo10_2 + ,'Campo10_3' AS Campo10_3 + ,'Campo10_4' AS Campo10_4 + ,'Campo10_5' AS Campo10_5 + + ,'Campo11_1_1' AS Campo11_1_1 + ,'Campo11_1_2' AS Campo11_1_2 + ,'Campo11_1_3' AS Campo11_1_3 + ,'Campo11_1_4' AS Campo11_1_4 + ,'Campo11_1_5' AS Campo11_1_5 + + ,'Logistic Reference (30S)' AS Campo11_2_1 + ,'24961' AS Campo11_2_2 + ,'24961' AS Campo11_2_3 -- Barcode + ,'Campo11_2_4' AS Campo11_2_4 + ,'Campo11_2_5' AS Campo11_2_5 + + ,'Supplier (V)' AS Campo12_1 + ,'56091210' AS Campo12_2 + ,'56091210' AS Campo12_3 -- Barcode + ,'Campo12_4' AS Campo12_4 + ,'Campo12_5' AS Campo12_5 + + ,'Date' AS Campo13_1 + ,'D110408' AS Campo13_2 + ,'Campo13_3' AS Campo13_3 + ,'Campo13_4' AS Campo13_4 + ,'Campo13_5' AS Campo13_5 + + ,'Change Index' AS Campo14_1 + ,'ZI:NA281X k AI:07' AS Campo14_2 + ,'Campo14_3' AS Campo14_3 + ,'Campo14_4' AS Campo14_4 + ,'Campo14_5' AS Campo14_5 + + ,'Serial Number (S)' AS Campo15_1 + ,'218434' AS Campo15_2 + ,'218434' AS Campo15_3 -- barcode + ,'Campo15_4' AS Campo15_4 + ,'Campo15_5' AS Campo15_5 + + ,'Batch Number (H)' AS Campo16_1 + ,'UM000010' AS Campo16_2 + ,'Campo16_3' AS Campo16_3 + ,'Campo16_4' AS Campo16_4 + ,'Campo16_5' AS Campo16_5 + + + +/* +SELECT + 'U000000001' AS CampoUDC + + ,'CAMPO1_1' AS Campo1_1 + ,'CAMPO1_2' AS Campo1_2 + ,'CAMPO1_3' AS Campo1_3 + ,'CAMPO1_4' AS Campo1_4 + ,'CAMPO1_5' AS Campo1_5 + + ,'CAMPO2_1' AS CAMPO2_1 + ,'CAMPO2_2' AS Campo2_2 + ,'CAMPO2_3' AS Campo2_3 + ,'CAMPO2_4' AS Campo2_4 + ,'CAMPO2_5' AS Campo2_5 + + ,'CAMPO3_1' AS Campo3_1 + ,'CAMPO3_2' AS Campo3_2 + ,'CAMPO3-3' AS Campo3_3 -- Barcode + ,'CAMPO3_4' AS Campo3_4 + ,'CAMPO3_5' AS Campo3_5 + + ,'CAMPO4_1' AS Campo4_1 + ,'CAMPO4_2' AS Campo4_2 + ,'CAMPO4_3' AS Campo4_3 + ,'CAMPO4_4' AS Campo4_4 + ,'CAMPO4_5' AS Campo4_5 + + ,'CAMPO5_1' AS Campo5_1 + ,'CAMPO5_2' AS Campo5_2 + ,'CAMPO5_3' AS Campo5_3 + ,'CAMPO5_4' AS Campo5_4 + ,'CAMPO5_5' AS Campo5_5 + + ,'CAMPO6_1' AS Campo6_1 + ,'CAMPO6_2' AS Campo6_2 + ,'CAMPO6_3' AS Campo6_3 + ,'CAMPO6_4' AS Campo6_4 + ,'CAMPO6_5' AS Campo6_5 + + ,'CAMPO7_1' AS Campo7_1 + ,'CAMPO7_2' AS Campo7_2 + ,'CAMPO7_3' AS Campo7_3 + ,'CAMPO7_4' AS Campo7_4 + ,'CAMPO7_5' AS Campo7_5 + + ,'CAMPO8_1' AS Campo8_1 + ,'CAMPO8_2' AS Campo8_2 + ,'CAMPO8-3' AS Campo8_3 -- Barcode + ,'CAMPO8_4' AS Campo8_4 + ,'CAMPO8_5' AS Campo8_5 + + ,'CAMPO9_1' AS Campo9_1 + ,'CAMPO9_2' AS Campo9_2 + ,'CAMPO9-3' AS Campo9_3 -- Barcode + ,'CAMPO9_4' AS Campo9_4 + ,'CAMPO9_5' AS Campo9_5 + + ,'CAMPO10_1' AS Campo10_1 + ,'CAMPO10_2' AS Campo10_2 + ,'CAMPO10_3' AS Campo10_3 + ,'CAMPO10_4' AS Campo10_4 + ,'CAMPO10_5' AS Campo10_5 + + ,'CAMPO11_1_1' AS Campo11_1_1 + ,'CAMPO11_1_2' AS Campo11_1_2 + ,'CAMPO11_1_3' AS Campo11_1_3 + ,'CAMPO11_1_4' AS Campo11_1_4 + ,'CAMPO11_1_5' AS Campo11_1_5 + + ,'CAMPO11_2_1' AS Campo11_2_1 + ,'CAMPO11_2_2' AS Campo11_2_2 + ,'CAMPO11-2-3' AS Campo11_2_3 -- Barcode + ,'CAMPO11_2_4' AS Campo11_2_4 + ,'CAMPO11_2_5' AS Campo11_2_5 + + ,'CAMPO12_1' AS Campo12_1 + ,'CAMPO12_2' AS Campo12_2 + ,'CAMPO12-3' AS Campo12_3 -- Barcode + ,'CAMPO12_4' AS Campo12_4 + ,'CAMPO12_5' AS Campo12_5 + + ,'CAMPO13_1' AS Campo13_1 + ,'CAMPO13_2' AS Campo13_2 + ,'CAMPO13_3' AS Campo13_3 + ,'CAMPO13_4' AS Campo13_4 + ,'CAMPO13_5' AS Campo13_5 + + ,'CAMPO14_1' AS Campo14_1 + ,'CAMPO14_2' AS Campo14_2 + ,'CAMPO14_3' AS Campo14_3 + ,'CAMPO14_4' AS Campo14_4 + ,'CAMPO14_5' AS Campo14_5 + + ,'CAMPO15_1' AS Campo15_1 + ,'CAMPO15_2' AS Campo15_2 + ,'CAMPO15-3' AS Campo15_3 -- Barcode + ,'CAMPO15_4' AS Campo15_4 + ,'CAMPO15_5' AS Campo15_5 + + ,'CAMPO16_1' AS Campo16_1 + ,'CAMPO16_2' AS Campo16_2 + ,'CAMPO16_3' AS Campo16_3 + ,'CAMPO16_4' AS Campo16_4 + ,'CAMPO16_5' AS Campo16_5 +UNION +SELECT + 'U000000002' AS CampoUDC + + ,'CAMPO1_1' AS Campo1_1 + ,'CAMPO1_2' AS Campo1_2 + ,'CAMPO1_3' AS Campo1_3 + ,'CAMPO1_4' AS Campo1_4 + ,'CAMPO1_5' AS Campo1_5 + + ,'CAMPO2_1' AS CAMPO2_1 + ,'CAMPO2_2' AS Campo2_2 + ,'CAMPO2_3' AS Campo2_3 + ,'CAMPO2_4' AS Campo2_4 + ,'CAMPO2_5' AS Campo2_5 + + ,'CAMPO3_1' AS Campo3_1 + ,'CAMPO3_2' AS Campo3_2 + ,'CAMPO3_3' AS Campo3_3 + ,'CAMPO3_4' AS Campo3_4 + ,'CAMPO3_5' AS Campo3_5 + + ,'CAMPO4_1' AS Campo4_1 + ,'CAMPO4_2' AS Campo4_2 + ,'CAMPO4_3' AS Campo4_3 + ,'CAMPO4_4' AS Campo4_4 + ,'CAMPO4_5' AS Campo4_5 + + ,'CAMPO5_1' AS Campo5_1 + ,'CAMPO5_2' AS Campo5_2 + ,'CAMPO5_3' AS Campo5_3 + ,'CAMPO5_4' AS Campo5_4 + ,'CAMPO5_5' AS Campo5_5 + + ,'CAMPO6_1' AS Campo6_1 + ,'CAMPO6_2' AS Campo6_2 + ,'CAMPO6_3' AS Campo6_3 + ,'CAMPO6_4' AS Campo6_4 + ,'CAMPO6_5' AS Campo6_5 + + ,'CAMPO7_1' AS Campo7_1 + ,'CAMPO7_2' AS Campo7_2 + ,'CAMPO7_3' AS Campo7_3 + ,'CAMPO7_4' AS Campo7_4 + ,'CAMPO7_5' AS Campo7_5 + + ,'CAMPO8_1' AS Campo8_1 + ,'CAMPO8_2' AS Campo8_2 + ,'CAMPO8_3' AS Campo8_3 + ,'CAMPO8_4' AS Campo8_4 + ,'CAMPO8_5' AS Campo8_5 + + ,'CAMPO9_1' AS Campo9_1 + ,'CAMPO9_2' AS Campo9_2 + ,'CAMPO9_3' AS Campo9_3 + ,'CAMPO9_4' AS Campo9_4 + ,'CAMPO9_5' AS Campo9_5 + + ,'CAMPO10_1' AS Campo10_1 + ,'CAMPO10_2' AS Campo10_2 + ,'CAMPO10_3' AS Campo10_3 + ,'CAMPO10_4' AS Campo10_4 + ,'CAMPO10_5' AS Campo10_5 + + ,'CAMPO11_1_1' AS Campo11_1_1 + ,'CAMPO11_1_2' AS Campo11_1_2 + ,'CAMPO11_1_3' AS Campo11_1_3 + ,'CAMPO11_1_4' AS Campo11_1_4 + ,'CAMPO11_1_5' AS Campo11_1_5 + + ,'CAMPO11_2_1' AS Campo11_2_1 + ,'CAMPO11_2_2' AS Campo11_2_2 + ,'CAMPO11_2_3' AS Campo11_2_3 + ,'CAMPO11_2_4' AS Campo11_2_4 + ,'CAMPO11_2_5' AS Campo11_2_5 + + ,'CAMPO12_1' AS Campo12_1 + ,'CAMPO12_2' AS Campo12_2 + ,'CAMPO12_3' AS Campo12_3 + ,'CAMPO12_4' AS Campo12_4 + ,'CAMPO12_5' AS Campo12_5 + + ,'CAMPO13_1' AS Campo13_1 + ,'CAMPO13_2' AS Campo13_2 + ,'CAMPO13_3' AS Campo13_3 + ,'CAMPO13_4' AS Campo13_4 + ,'CAMPO13_5' AS Campo13_5 + + ,'CAMPO14_1' AS Campo14_1 + ,'CAMPO14_2' AS Campo14_2 + ,'CAMPO14_3' AS Campo14_3 + ,'CAMPO14_4' AS Campo14_4 + ,'CAMPO14_5' AS Campo14_5 + + ,'CAMPO15_1' AS Campo15_1 + ,'CAMPO15_2' AS Campo15_2 + ,'CAMPO15_3' AS Campo15_3 + ,'CAMPO15_4' AS Campo15_4 + ,'CAMPO15_5' AS Campo15_5 + + ,'CAMPO16_1' AS Campo16_1 + ,'CAMPO16_2' AS Campo16_2 + ,'CAMPO16_3' AS Campo16_3 + ,'CAMPO16_4' AS Campo16_4 + ,'CAMPO16_5' AS Campo16_5 + + + +SELECT + 'U000000001' AS CampoUDC + + ,'Receiver' AS Campo1_1 + ,'BAYERISCHE MOTOREN WERKE AG' AS Campo1_2 + ,'Abt. FR-23' AS Campo1_3 + ,'MUENCHEN' AS Campo1_4 + ,'Campo1_5' AS Campo1_5 + + ,'Destination (2L)' AS CAMPO2_1 + ,'VK-WOERTH Abladestelle 4' AS Campo2_2 + ,'Luitpoldpark' AS Campo2_3 + ,'DE-Niederaichbach' AS Campo2_4 + ,'Campo2_5' AS Campo2_5 + + ,'Document Number (N)' AS Campo3_1 + ,'050001176' AS Campo3_2 + ,'Campo3_3' AS Campo3_3 + ,'Campo3_4' AS Campo3_4 + ,'Campo3_5' AS Campo3_5 + + ,'Supplier Adress' AS Campo4_1 + ,'Via Kennedy, 16 I-24030 Ambivere BG' AS Campo4_2 + ,'Campo4_3' AS Campo4_3 + ,'Campo4_4' AS Campo4_4 + ,'Campo4_5' AS Campo4_5 + + ,'Net Weight (Kg)' AS Campo5_1 + ,'Campo5_2' AS Campo5_2 + ,'Campo5_3' AS Campo5_3 + ,'Campo5_4' AS Campo5_4 + ,'Campo5_5' AS Campo5_5 + + ,'Campo6_1' AS Campo6_1 + ,'Campo6_2' AS Campo6_2 + ,'Campo6_3' AS Campo6_3 + ,'Campo6_4' AS Campo6_4 + ,'Campo6_5' AS Campo6_5 + + ,'Campo7_1' AS Campo7_1 + ,'Campo7_2' AS Campo7_2 + ,'Campo7_3' AS Campo7_3 + ,'Campo7_4' AS Campo7_4 + ,'Campo7_5' AS Campo7_5 + + ,'Part Number (P)' AS Campo8_1 + ,'7558090-07' AS Campo8_2 + ,'Campo8_3' AS Campo8_3 + ,'Campo8_4' AS Campo8_4 + ,'Campo8_5' AS Campo8_5 + + ,'Campo9_1' AS Campo9_1 + ,'Campo9_2' AS Campo9_2 + ,'Campo9_3' AS Campo9_3 + ,'Campo9_4' AS Campo9_4 + ,'Campo9_5' AS Campo9_5 + + ,'Campo10_1' AS Campo10_1 + ,'Campo10_2' AS Campo10_2 + ,'Campo10_3' AS Campo10_3 + ,'Campo10_4' AS Campo10_4 + ,'Campo10_5' AS Campo10_5 + + ,'Campo11_1' AS Campo11_1 + ,'Campo11_2' AS Campo11_2 + ,'Campo11_3' AS Campo11_3 + ,'Campo11_4' AS Campo11_4 + ,'Campo11_5' AS Campo11_5 + + ,'Campo11_1_1' AS Campo11_1_1 + ,'Campo11_1_2' AS Campo11_1_2 + ,'Campo11_1_3' AS Campo11_1_3 + ,'Campo11_1_4' AS Campo11_1_4 + ,'Campo11_1_5' AS Campo11_1_5 + + ,'Campo12_1' AS Campo12_1 + ,'Campo12_2' AS Campo12_2 + ,'Campo12_3' AS Campo12_3 + ,'Campo12_4' AS Campo12_4 + ,'Campo12_5' AS Campo12_5 + + ,'Campo13_1' AS Campo13_1 + ,'Campo13_2' AS Campo13_2 + ,'Campo13_3' AS Campo13_3 + ,'Campo13_4' AS Campo13_4 + ,'Campo13_5' AS Campo13_5 + + ,'Campo14_1' AS Campo14_1 + ,'Campo14_2' AS Campo14_2 + ,'Campo14_3' AS Campo14_3 + ,'Campo14_4' AS Campo14_4 + ,'Campo14_5' AS Campo14_5 + + ,'Campo15_1' AS Campo15_1 + ,'Campo15_2' AS Campo15_2 + ,'Campo15_3' AS Campo15_3 + ,'Campo15_4' AS Campo15_4 + ,'Campo15_5' AS Campo15_5 + + ,'Campo16_1' AS Campo16_1 + ,'Campo16_2' AS Campo16_2 + ,'Campo16_3' AS Campo16_3 + ,'Campo16_4' AS Campo16_4 + ,'Campo16_5' AS Campo16_5 + +-- FROM Test + +*/ + true + + + + + 19cm + + 1cm + + + + + =Fields!CampoUDC.Value + Ascending + + + GMWDataSet_stp_prtOdetteByUDC + + + + + 11.5cm + 5.8cm + + 49 + 0.3cm + 1.2cm + =iif(Fields!Campo15_3.Value="","", "*S" + Fields!Campo15_3.Value + "*") + + + 9.8cm + 8.7cm + + 48 + 0.3cm + 1.2cm + =iif(Fields!Campo12_3.Value="","","*V" + Fields!Campo12_3.Value + "*") + + + 8.4cm + 8.6cm + + 47 + 9.9cm + 1.2cm + =iif(Fields!Campo11_2_3.Value="","","*30S" + Fields!Campo11_2_3.Value + "*") + + + Campo7_2 + 3.2cm + 2.6cm + + 46 + 16.3cm + 0.7cm + =ROUND(CDEC(Fields!Campo7_2.Value),0) + + + Campo6_2 + 3.2cm + 3.4cm + + 45 + 12.7cm + 0.7cm + =ROUND(CDEC(Fields!Campo6_2.Value),0 ) + + + Campo5_2 + 3.2cm + 3cm + + 44 + 9.5cm + 0.7cm + =ROUND(CDEC(Fields!Campo5_2.Value),0) + + + Campo11_2_2 + 7.6cm + 6.2cm + + 43 + 12.7cm + 0.8cm + =Fields!Campo11_2_2.Value + + + Campo14_2 + 10cm + 5.8cm + + 42 + 13.1cm + 0.9cm + =Fields!Campo14_2.Value + + + Campo16_2 + 11.4cm + 9.3cm + + 41 + 9.5cm + 1.2cm + =Fields!Campo16_2.Value + + + Campo15_2 + 11cm + 3.2cm + + 40 + 6.1cm + 0.7cm + =Fields!Campo15_2.Value + + + Campo12_2 + 9cm + 5.9cm + + 39 + 2.8cm + 0.7cm + =Fields!Campo12_2.Value + + + 9cm + 2.6cm + + 38 + 0.1cm + 0.3cm + =Fields!Campo12_1.Value + + + 11cm + 2.6cm + + 37 + 0.1cm + 0.3cm + =Fields!Campo15_1.Value + + + 11cm + 9.4cm + + 36 + 9.5cm + 0.3cm + =Fields!Campo16_1.Value + + + 9.6cm + 5.8cm + + 35 + 13.1cm + 0.3cm + =Fields!Campo14_1.Value + + + 7.6cm + 3.1cm + + 34 + 9.5cm + 0.3cm + =Fields!Campo11_2_1.Value + + + 2.9cm + 2.6cm + + 33 + 16.3cm + 0.3cm + =Fields!Campo7_1.Value + + + 2.9cm + 3.3cm + + 32 + 12.7cm + 0.3cm + =Fields!Campo6_1.Value + + + 3.9cm + 0cm + + 31 + 16.2cm + -1cm + + + 3.9cm + 0cm + + 30 + 12.6cm + -1cm + + + 9.6cm + 0cm + + 29 + 13cm + 1.40212cm + + + 10cm + 3.5cm + + 28 + 9.4cm + 0.9cm + =Fields!Campo13_2.Value + + + 9.6cm + 3.4cm + + 27 + 9.5cm + 0.3cm + =Fields!Campo13_1.Value + + + 6.8cm + 9.4cm + + 26 + 9.5cm + 0.7cm + =Fields!Campo10_2.Value + + + 6.4cm + 9.4cm + + 25 + 9.5cm + 0.3cm + =Fields!Campo10_1.Value + + + 7.8cm + 8.7cm + + 24 + 0.3cm + 1.2cm + =iif(Fields!Campo9_3.Value="","","*Q" + ( REPLACE(ROUND(CDEC(Fields!Campo9_2.Value),0),",",".") ) + "*") + + + 6.5cm + 7.1cm + + 23 + 2cm + 1.2cm + =REPLACE(ROUND(CDEC(Fields!Campo9_2.Value),0),",",".") + + + 6.4cm + 1.7cm + + 22 + 0.1cm + 0.3cm + =Fields!Campo9_1.Value + + + 5.2cm + 10.6cm + + 21 + 0.3cm + 1.2cm + =iif(Fields!Campo8_3.Value="","","*P" + Fields!Campo8_3.Value + "*") + + + 3.9cm + 8.9cm + + 20 + 2.3cm + 1.2cm + =Fields!Campo8_2.Value + + + 3.9cm + 2.1cm + + 19 + 0.1cm + 0.3cm + =Fields!Campo8_1.Value + + + textbox7 + 2.2cm + 9.4cm + + 18 + 9.5cm + 0.5cm + =Fields!Campo4_2.Value + + + 2.7cm + 8.8cm + + 17 + 0.3cm + 1.2cm + =iif(Fields!Campo3_3.Value="","","*N" + Fields!Campo3_3.Value + "*") + + + textbox5 + 2cm + 6.4cm + + 16 + 2.8cm + 0.6cm + =Fields!Campo3_2.Value + + + 2.9cm + 3cm + + 15 + 9.5cm + 0.3cm + =Fields!Campo5_1.Value + + + 1.9cm + 9.3cm + + 14 + 9.5cm + 0.3cm + =Fields!Campo4_1.Value + + + 2.9cm + + 13 + 9.4cm + 0cm + + + 1.9cm + 2.6cm + + 12 + 0.1cm + 0.3cm + =Fields!Campo3_1.Value + + + 9.6cm + + 11 + 9.4cm + 0cm + + + 11cm + + 10 + 9.4cm + 0cm + + + 7.6cm + + 9 + 9.4cm + 0cm + + + 11cm + 9.37989cm + + 8 + 0cm + + + 9cm + 9.37989cm + + 7 + 0cm + + + 12.8cm + 0cm + + 6 + 9.4cm + -6.4cm + + + 3.9cm + 0cm + + 5 + 9.4cm + -3.89577cm + + + 1.9cm + + 4 + 0cm + + + 6.4cm + + 3 + 0cm + + + 3.9cm + + 2 + 0cm + + + 9.4cm + 1 + + + 0.9cm + 9.3cm + + 3 + 0.1cm + 0.5cm + =Fields!Campo2_3.Value + + + Campo2_2 + 0.3cm + 9.3cm + + 2 + 0.1cm + 0.5cm + =Fields!Campo2_2.Value + + + 1.4cm + 9.3cm + + 1 + 0.1cm + =Fields!Campo2_4.Value + + + Campo2_1 + 9.3cm + + 0.1cm + 0.3cm + =Fields!Campo2_1.Value + + + 9.5cm + 1.9cm + + + 0.1cm + + + 1.4cm + 9.1cm + + 3 + =Fields!Campo1_4.Value + + + 0.9cm + 9.1cm + + 2 + 0.5cm + =Fields!Campo1_3.Value + + + CampoA1 + 9cm + + 1 + 0.3cm + =Fields!Campo1_1.Value + + + 0.3cm + 9.1cm + + 0.5cm + =Fields!Campo1_2.Value + + + 9.2cm + 1.9cm + + + + + + + + + =Fields!CampoUDC.Value + + true + + + + 12.8cm + + it-IT + 1cm + 29.7cm + \ No newline at end of file diff --git a/GMW/Reports/CartellinoTara.rdl b/GMW/Reports/CartellinoTara.rdl new file mode 100644 index 00000000..d0ae95f7 --- /dev/null +++ b/GMW/Reports/CartellinoTara.rdl @@ -0,0 +1,258 @@ + + + + + d9194145-aa70-4a36-8b7a-c929936f98f7 + + + + + + + + + 14.8cm + true + 21cm + 0.25cm + true + 0.5cm + 0.5cm + 0.5cm + 3255cde9-74a1-4005-8008-232d8355d769 + 21cm + + + + + CodCompany + System.String + + + ODP + System.String + + + UDC + System.String + + + Tara + System.Double + + + IdxStato + System.Int32 + + + Qta + System.Decimal + + + CodImballo + System.String + + + CreateDate + System.DateTime + + + ModDate + System.DateTime + + + + GMWConnectionString + dbo.stp_getStatoByUdc + true + + + GMWDataSet + stp_getStatoByUdc + + + + + GetData + + + + + 20cm + + 1cm + + + textbox1 + 12.69841cm + + 1 + true + 0.91429cm + CartellinoTara + + + GMWDataSet_stp_getStatoByUdc + 4cm + + + + + =Fields!UDC.Value + + + + + =Fields!UDC.Value + Ascending + + +
+ + + + + 3 + + + UDC + + true + ="*" & Fields!UDC.Value & "*" + + + + + 3.50781cm + + +
+
+
+ 19cm +
+ + + + + + + textbox4 + + true + Tara + + + + + + + Tara + + true + =Fields!Tara.Value & " Kg" + + + + + + + CreateDate + + true + =Fields!CreateDate.Value + + + + + 3.50781cm + + +
+ + + 6.31847cm + + + 6.36305cm + + + 6.31848cm + + + 7.01562cm + 0.5cm +
+
+ 13.5cm + + it-IT + 0.5cm + 14.8cm +
\ No newline at end of file diff --git a/GMW/Reports/CartellinoTara.rdlc b/GMW/Reports/CartellinoTara.rdlc new file mode 100644 index 00000000..0c9dfe0d --- /dev/null +++ b/GMW/Reports/CartellinoTara.rdlc @@ -0,0 +1,2756 @@ + + + + + 945313fa-66e9-456e-b1dd-514d7a9e9842 + + SQL + Data Source=SRV-DEV01;Initial Catalog=SP_GMW + true + + + + 14.8cm + Stampa cartellino di produzione + true + 21cm + 0.25cm + true + 1cm + 1cm + 1cm + 8b67d517-f880-448b-bde4-1949893f9fcc + + + image/jpeg + /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT/wAARCAB3AJ8DASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3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s/bt/bP/AGYvh5+zT+xf+z/rfjW3uvF82t+MZdKuraJbVLW3MVrDJ50qZ3vdSOMZ5t6/Cv8A4h0/+C1X/Rgfir/wZ6d/8k1/ZL5YxjJ46e1OwPf86APHP+Cf37Ndv+yB+xH8LP2ZoIEil8HeCLDT9QEeMPeiFWuZP+BTtK/1avY6TYo6UtABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAf/2Q== + + + 21cm + + + + + UDC + System.String + + + CodCS + System.String + + + codcliente + System.String + + + ragsociale + System.String + + + particolare + System.String + + + descparticolare + System.String + + + disegnogrezzo + System.String + + + esponente + System.String + + + codimpianto + System.String + + + descimpianto + System.String + + + codstampo + System.String + + + figura + System.String + + + datafus + System.DateTime + + + turnofus + System.Int32 + + + codimballo + System.String + + + codsoggetto + System.String + + + numcont + System.Int32 + + + tara + System.Double + + + qta + System.Decimal + + + codstato + System.String + + + idxposizione + System.Int32 + + + pesotot + System.Double + + + pesocad + System.Double + + + CreateDate + System.DateTime + + + ModDate + System.DateTime + + + cognome + System.String + + + nome + System.String + + + descstato + System.String + + + descimballo + System.String + + + + GMWConnectionString + StoredProcedure + dbo.stp_prtCartByUDC + true + + + + + 19cm + + 1cm + + + GMWDataSet_stp_prtCartByUDC + + + + + GMWDataSet_stp_prtCartByUDC +
+ + + + + + + FitProportional + image/jpeg + Embedded + + 100 + mm_logo + + + + + + + textbox23 + + 99 + + + + + + + + textbox8 + + 98 + + + + + + 5 + + + textbox10 + + 97 + CARTELLINO PROVVISORIO + + + + + + + textbox20 + + 96 + + + + + + + + textbox90 + + 95 + + + + + + 1cm + + +
+ + + 1.80475cm + + + 1.2533cm + + + 2.00528cm + + + 2.30607cm + + + 3.20844cm + + + 1.75462cm + + + 2.25594cm + + + 2.00528cm + + + 1.20317cm + + + 1.20315cm + + +
+ + + + + + + textbox14 + + 6 + Cliente + + + + + + + textbox39 + + 5 + + + + + + + + textbox12 + + 4 + + + + + + + + textbox50 + + 3 + + + + + + 2 + + + textbox52 + + 2 + UDC + + + + + 3 + + + textbox53 + + 1 + + + + + + + + textbox91 + + + + + + + 0.4cm + + + + + 4 + + + textbox3 + + 9 + + + + + + 2 + + + textbox56 + + 8 + =Fields!UDC.Value + + + + + 4 + + + + 7 + ="*" + Fields!UDC.Value + "*" + + + + + 1.3cm + + + + + 2 + + + textbox16 + + 15 + Famiglia + + + + + + + textbox19 + + 14 + + + + + + 4 + + + + 13 + Disegno e Esponente + + + + + + + textbox40 + + 12 + Figure + + + + + + + textbox4 + + 11 + + + + + + + + textbox93 + + 10 + + + + + + 0.5cm + + + + + 2 + + + textbox9 + + 20 + + + + + + + + textbox21 + + 19 + + + + + + 4 + + + textbox27 + + 18 + + + + + + + + textbox44 + + 17 + + + + + + 2 + + + textbox58 + + 16 + + + + + + 1.5cm + + + + + + + textbox11 + + 29 + Linea + + + + + + + textbox13 + + 28 + + + + + + + + textbox26 + + 27 + + + + + + + + textbox25 + + 26 + data + + + + + + + textbox32 + + 25 + + + + + + + + textbox63 + + 24 + + + + + + + + textbox30 + + 23 + operatore + + + + + 2 + + + textbox24 + + 22 + + + + + + + + textbox95 + + 21 + + + + + + 0.7cm + + + + + + + textbox5 + + 38 + + + + + + + + textbox17 + + 37 + + + + + + + + textbox28 + + 36 + + + + + + + + textbox43 + + 35 + + + + + + + + textbox45 + + 34 + + + + + + 2 + + + textbox65 + + 33 + + + + + + + + textbox34 + + 32 + + + + + + + + textbox61 + + 31 + + + + + + + + textbox96 + + 30 + + + + + + 0.5cm + + + + + + + textbox69 + + 46 + + + + + + + + textbox7 + + 45 + + + + + + + + textbox29 + + 44 + + + + + + + + textbox51 + + 43 + + + + + + + + textbox38 + + 42 + + + + + + 2 + + + textbox67 + + 41 + T + + + + + 2 + + + textbox18 + + 40 + =Format(Fields!Tara.Value,"n1").ToString + + + + + + + textbox97 + + 39 + Kg + + + + + 2.5cm + + + + + + + textbox41 + + 54 + + + + + + + + textbox6 + + 53 + + + + + + + + textbox33 + + 52 + + + + + + + + textbox1 + + 51 + + + + + + + + textbox15 + + 50 + + + + + + 2 + + + textbox68 + + 49 + + + + + + 2 + + + textbox37 + + 48 + + + + + + + + textbox98 + + 47 + + + + + + 0.5cm + + + + + + + textbox2 + + 64 + + + + + + + + textbox35 + + 63 + + + + + + + + textbox36 + + 62 + + + + + + + + textbox42 + + 61 + + + + + + + + textbox46 + + 60 + + + + + + + + textbox47 + + 59 + + + + + + + + textbox48 + + 58 + + + + + + + + textbox49 + + 57 + + + + + + + + textbox54 + + 56 + + + + + + + + textbox99 + + 55 + + + + + + 0.5cm + + + + + + + textbox55 + + 74 + + + + + + + + textbox57 + + 73 + + + + + + + + textbox59 + + 72 + + + + + + + + textbox60 + + 71 + + + + + + + + textbox62 + + 70 + + + + + + + + textbox64 + + 69 + + + + + + + + textbox66 + + 68 + + + + + + + + textbox70 + + 67 + + + + + + + + textbox71 + + 66 + + + + + + + + textbox100 + + 65 + + + + + + 0.5cm + + + + + + + textbox72 + + 84 + + + + + + + + textbox73 + + 83 + + + + + + + + textbox74 + + 82 + + + + + + + + textbox75 + + 81 + + + + + + + + textbox76 + + 80 + + + + + + + + textbox77 + + 79 + + + + + + + + textbox78 + + 78 + + + + + + + + textbox79 + + 77 + + + + + + + + textbox80 + + 76 + + + + + + + + textbox101 + + 75 + + + + + + 0.5cm + + + + + + + textbox81 + + 94 + + + + + + + + textbox82 + + 93 + + + + + + + + textbox83 + + 92 + + + + + + + + textbox84 + + 91 + + + + + + + + textbox85 + + 90 + + + + + + + + textbox86 + + 89 + + + + + + + + textbox87 + + 88 + + + + + + + + textbox88 + + 87 + + + + + + + + textbox89 + + 86 + + + + + + + + textbox102 + + 85 + + + + + + 2.4cm + + +
+
+
+ +
+
+ + + + =Fields!UDC.Value + + +
+
+ 12.8cm + + it-IT + 1cm + 14.8cm +
\ No newline at end of file diff --git a/GMW/Reports/CartellinoWip.rdlc b/GMW/Reports/CartellinoWip.rdlc new file mode 100644 index 00000000..14d3f199 --- /dev/null +++ b/GMW/Reports/CartellinoWip.rdlc @@ -0,0 +1,1411 @@ + + + + + 37647cab-a462-4a59-ae44-1bb2d82f1cff + + SQL + Data Source=SRV-DEV01;Initial Catalog=SP_GMW + true + + + + 14.8cm + Stampa cartellino di produzione + true + 21cm + 0.25cm + true + 1cm + 1cm + 1cm + 8b67d517-f880-448b-bde4-1949893f9fcc + + + image/jpeg + /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT/wAARCAB3AJ8DASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcb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Z3vdSOMZ5t6/Cv8A4h0/+C1X/Rgfir/wZ6d/8k1/ZL5YxjJ46e1OwPf86APHP+Cf37Ndv+yB+xH8LP2ZoIEil8HeCLDT9QEeMPeiFWuZP+BTtK/1avY6TYo6UtABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAf/2Q== + + + 21cm + + + + + UDC + System.String + + + CodCS + System.String + + + codcliente + System.String + + + ragsociale + System.String + + + particolare + System.String + + + descparticolare + System.String + + + disegnogrezzo + System.String + + + esponente + System.String + + + codimpianto + System.String + + + descimpianto + System.String + + + codstampo + System.String + + + figura + System.String + + + datafus + System.DateTime + + + turnofus + System.Int32 + + + codimballo + System.String + + + codsoggetto + System.String + + + numcont + System.Int32 + + + tara + System.Double + + + qta + System.Decimal + + + codstato + System.String + + + idxposizione + System.Int32 + + + pesotot + System.Double + + + pesocad + System.Double + + + CreateDate + System.DateTime + + + ModDate + System.DateTime + + + cognome + System.String + + + nome + System.String + + + descstato + System.String + + + descimballo + System.String + + + CodFamiglia + System.String + + + DescFamiglia + System.String + + + + GMWConnectionString + StoredProcedure + dbo.stp_prtCartByUDC + true + + + + 19cm + + 1cm + + + GMWDataSet_stp_prtCartByUDC + + + + + GMWDataSet_stp_prtCartByUDC +
+ + + + + + + FitProportional + image/jpeg + Embedded + + 34 + mm_logo + + + + + 7 + + + textbox23 + + 33 + IDENTIFICAZIONE PRODOTTO WIP + + + + + 2 + + + textbox15 + + 32 + true + =FormatDateTime(Globals!ExecutionTime ) + + + + + 1cm + + +
+ + + 1.80475cm + + + 1.2533cm + + + 2.00528cm + + + 2.30607cm + + + 3.20844cm + + + 1.75462cm + + + 2.25594cm + + + 2cm + + + 1.2cm + + + 1.2cm + + +
+ + + + + 5 + + + RagSociale + true + + 1 + ="UDC : " + Fields!UDC.Value + + + + + 5 + + + textbox9 + + ="*" + Fields!UDC.Value + "*" + + + + + 1.3cm + + + + + 2 + + + textbox16 + + 4 + CLIENTE + + + + + 5 + + + DescParticolare + + 3 + =TRIM(Fields!CodCliente.Value) + " " + LEFT(Fields!RagSociale.Value,50 ) + + + + + 3 + + + textbox20 + + 2 + true + + + + + + 0.5cm + + + + + 2 + + + textbox14 + + 7 + DISEGNO - ESP. + + + + + 5 + + + textbox8 + + 6 + true + =RTrim(Fields!DisegnoGrezzo.Value) + " - " + RTrim(Fields!Esponente.Value) + + + + + 3 + + + textbox1 + + 5 + true + FIGURA + + + + + 0.5cm + + + + + 7 + + + Particolare + + 9 + =Fields!Particolare.Value + + + + + 3 + + + textbox44 + + 8 + =Fields!Figura.Value + + + + + 2.3cm + + + + + 2 + + + textbox4 + + 14 + true + PARTICOLARE + + + + + 5 + + + textbox3 + + 13 + true + =Fields!DescParticolare.Value + + + + + + + textbox40 + + 12 + true + + + + + + + + textbox50 + + 11 + true + + + + + + + + textbox57 + + 10 + true + + + + + + 0.5cm + + + + + 3 + + + textbox11 + + 20 + =Fields!DescImpianto.Value + + + + + + + textbox25 + + 19 + data + + + + + + + textbox32 + + 18 + =Fields!DataFus.Value + + + + + + + textbox63 + + 17 + ="T" + Str(Fields!TurnoFus.Value) + + + + + + + textbox30 + + 16 + operatore + + + + + 3 + + + CodSoggetto + + 15 + =Fields!CodSoggetto.Value + + + + + 0.5cm + + + + + 2 + + + textbox5 + + 25 + Contenitore + + + + + + + NumCont + + 24 + =Fields!NumCont.Value + + + + + 2 + + + CodImballo + + 23 + ="Imballo " + Fields!CodImballo.Value + + + + + 2 + + + CodStato + + 22 + true + =Fields!descstato.Value + + + + + 3 + + + textbox34 + + 21 + n. pezzi + + + + + 0.5cm + + + + + 7 + + + descstato + + 27 + true + + + + + + 3 + + + Qta + + 26 + true + =Fields!Qta.Value + + + + + 2.5cm + + + + + 7 + + + descimballo + + 29 + + + + + + 3 + + + textbox49 + + 28 + Tara + + + + + 0.5cm + + + + + 7 + + + DescFamiglia + + 31 + + + + + + 3 + + + Tara + + 30 + =Fields!Tara.Value + + + + + 2.7cm + + + true +
+
+
+ +
+
+ + + + =Fields!UDC.Value + + +
+
+ 12.8cm + + it-IT + 1cm + 14.8cm +
\ No newline at end of file diff --git a/GMW/Reports/SP/CartellinoAnime.rdlc b/GMW/Reports/SP/CartellinoAnime.rdlc new file mode 100644 index 00000000..cd54e64e --- /dev/null +++ b/GMW/Reports/SP/CartellinoAnime.rdlc @@ -0,0 +1,950 @@ + + + + + 37647cab-a462-4a59-ae44-1bb2d82f1cff + GMW_Test + + + 14.8cm + Stampa cartellino di produzione + + + String + + + UTKAN12000009 + + + UDC + + + true + 21cm + 0.25cm + true + 1cm + 1cm + 1cm + 8b67d517-f880-448b-bde4-1949893f9fcc + + + image/jpeg + /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT/wAARCAB3AJ8DASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMi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QR/4KwfA39vP4OfGP42fsDa6/hLwv8SdG1PxETrmkyCK1hvI3km2fbPnCAbyB124r+rQRqMY7dOaNncsfzoA/K7/g6n/Zs/bt/bP/AGYvh5+zT+xf+z/rfjW3uvF82t+MZdKuraJbVLW3MVrDJ50qZ3vdSOMZ5t6/Cv8A4h0/+C1X/Rgfir/wZ6d/8k1/ZL5YxjJ46e1OwPf86APHP+Cf37Ndv+yB+xH8LP2ZoIEil8HeCLDT9QEeMPeiFWuZP+BTtK/1avY6TYo6UtABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAf/2Q== + + + 21cm + + + + + UDC + System.String + + + CodCS + System.String + + + codcliente + System.String + + + ragsociale + System.String + + + particolare + System.String + + + descparticolare + System.String + + + disegnogrezzo + System.String + + + esponente + System.String + + + codimpianto + System.String + + + descimpianto + System.String + + + codstampo + System.String + + + figura + System.String + + + datafus + System.DateTime + + + turnofus + System.Int32 + + + codimballo + System.String + + + codsoggetto + System.String + + + numcont + System.Int32 + + + tara + System.Double + + + qta + System.Decimal + + + codstato + System.String + + + idxposizione + System.Int32 + + + pesotot + System.Double + + + pesocad + System.Double + + + CreateDate + System.DateTime + + + ModDate + System.DateTime + + + cognome + System.String + + + nome + System.String + + + descstato + System.String + + + descimballo + System.String + + + CodFamiglia + System.String + + + DescFamiglia + System.String + + + Note + System.String + + + NoteTratt + System.String + + + + GMWConnectionString + StoredProcedure + stp_prtCartAnimeByUDC + + + =Parameters!UDC.Value + + + true + + + + 19cm + + 1cm + + + GMWDataSet_stp_prtCartAnimeByUDC + + + + + GMWDataSet_stp_prtCartAnimeByUDC +
+ + + + + + + FitProportional + Embedded + + 25 + tk_logo + + + + + 7 + + + textbox23 + + 24 + CARTELLINO ANIME + + + + + 2 + + + textbox15 + + 23 + =FormatDateTime(Globals!ExecutionTime ) + + + + + 1cm + + +
+ + + 1.80475cm + + + 1.2533cm + + + 2.00528cm + + + 2.30607cm + + + 3.20844cm + + + 1.75462cm + + + 2.25594cm + + + 2cm + + + 1.2cm + + + 1.2cm + + + 11.46cm +
+ + + + + 5 + + + RagSociale + + 1 + ="UDC : " + Fields!UDC.Value + + + + + 5 + + + + =iif(Fields!UDC.Value="","","*" + Fields!UDC.Value + "*") + + + + + 1.3cm + + + + + 10 + + + DescLega + + 2 + + + + + + 0.5cm + + + + + 2 + + + textbox14 + + 4 + Articolo : + + + + + 8 + + + + 3 + =Fields!particolare.Value + + + + + 1.5cm + + + + + 10 + + + + 5 + =First(Fields!descparticolare.Value) + + + + + 0.8cm + + + + + 10 + + + DescLega2 + + 6 + + + + + + 0.71cm + + + + + 2 + + + DescFamiglia + + 12 + Quantità: + + + + + 4 + + + Qta_1 + + 11 + =First(Fields!Qta.Value) + + + + + + + textbox55 + + 10 + + + + + + + + textbox10 + + 9 + + + + + + + + textbox67 + + 8 + + + + + + + + textbox68 + + 7 + + + + + + 1.45cm + + + + + 2 + + + descstato + + 14 + + + + + + 8 + + + + 13 + + + + + + 1.3cm + + + + + 2 + + + + 19 + Imballo : + + + + + 2 + + + codimballo + + 18 + =First(Fields!codimballo.Value) + + + + + 3 + + + textbox7 + + 17 + Creazione UDC: + + + + + 2 + + + textbox5 + + 16 + =Fields!CreateDate.Value + + + + + + + + 15 + + + + + + 0.8cm + + + + + 2 + + + textbox6 + + 21 + Note : + + + + + 8 + + + + 20 + =First(Fields!Note.Value) + + + + + 1.5cm + + + + + 10 + + + textbox1 + + 22 + ="Operatore : " + trim(Fields!cognome.Value) + " " + trim(Fields!nome.Value) + + + + + 0.6cm + + + true +
+
+
+ 0.5cm + + 11.6cm +
+
+ + + + =Fields!UDC.Value + + +
+
+ 12.8cm + + it-IT + 1cm + 14.8cm +
\ No newline at end of file diff --git a/GMW/Reports/SP/CartellinoFinito.rdlc b/GMW/Reports/SP/CartellinoFinito.rdlc new file mode 100644 index 00000000..dd65dd91 --- /dev/null +++ b/GMW/Reports/SP/CartellinoFinito.rdlc @@ -0,0 +1,1411 @@ + + + + + 37647cab-a462-4a59-ae44-1bb2d82f1cff + + SQL + Data Source=SRV-DEV01;Initial Catalog=SP_GMW + true + + + + 14.8cm + Stampa cartellino di produzione + true + 21cm + 0.25cm + true + 1cm + 1cm + 1cm + 8b67d517-f880-448b-bde4-1949893f9fcc + + + image/jpeg + /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT/wAARCAB3AJ8DASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAA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jJ46e1OwPf86APHP+Cf37Ndv+yB+xH8LP2ZoIEil8HeCLDT9QEeMPeiFWuZP+BTtK/1avY6TYo6UtABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAf/2Q== + + + 21cm + + + + + UDC + System.String + + + CodCS + System.String + + + codcliente + System.String + + + ragsociale + System.String + + + particolare + System.String + + + descparticolare + System.String + + + disegnogrezzo + System.String + + + esponente + System.String + + + codimpianto + System.String + + + descimpianto + System.String + + + codstampo + System.String + + + figura + System.String + + + datafus + System.DateTime + + + turnofus + System.Int32 + + + codimballo + System.String + + + codsoggetto + System.String + + + numcont + System.Int32 + + + tara + System.Double + + + qta + System.Decimal + + + codstato + System.String + + + idxposizione + System.Int32 + + + pesotot + System.Double + + + pesocad + System.Double + + + CreateDate + System.DateTime + + + ModDate + System.DateTime + + + cognome + System.String + + + nome + System.String + + + descstato + System.String + + + descimballo + System.String + + + CodFamiglia + System.String + + + DescFamiglia + System.String + + + + GMWConnectionString + StoredProcedure + dbo.stp_prtCartByUDC + true + + + + 19cm + + 1cm + + + GMWDataSet_stp_prtCartByUDC + + + + + GMWDataSet_stp_prtCartByUDC +
+ + + + + + + FitProportional + image/jpeg + Embedded + + 34 + mm_logo + + + + + 7 + + + textbox23 + + 33 + IDENTIFICAZIONE PRODOTTO + + + + + 2 + + + textbox15 + + 32 + true + =FormatDateTime(Globals!ExecutionTime ) + + + + + 1cm + + +
+ + + 1.80475cm + + + 1.2533cm + + + 2.00528cm + + + 2.30607cm + + + 3.20844cm + + + 1.75462cm + + + 2.25594cm + + + 2cm + + + 1.2cm + + + 1.2cm + + +
+ + + + + 5 + + + RagSociale + true + + 1 + ="UDC : " + Fields!UDC.Value + + + + + 5 + + + textbox9 + + ="*" + Fields!UDC.Value + "*" + + + + + 1.3cm + + + + + 2 + + + textbox16 + + 4 + CLIENTE + + + + + 5 + + + DescParticolare + + 3 + =TRIM(Fields!CodCliente.Value) + " " + LEFT(Fields!RagSociale.Value,50 ) + + + + + 3 + + + textbox20 + + 2 + true + + + + + + 0.5cm + + + + + 2 + + + textbox14 + + 7 + DISEGNO - ESP. + + + + + 5 + + + textbox8 + + 6 + true + =RTrim(Fields!DisegnoGrezzo.Value) + " - " + RTrim(Fields!Esponente.Value) + + + + + 3 + + + textbox1 + + 5 + true + FIGURA + + + + + 0.5cm + + + + + 7 + + + Particolare + + 9 + =Fields!Particolare.Value + + + + + 3 + + + textbox44 + + 8 + =Fields!Figura.Value + + + + + 2.3cm + + + + + 2 + + + textbox4 + + 14 + true + PARTICOLARE + + + + + 5 + + + textbox3 + + 13 + true + =Fields!DescParticolare.Value + + + + + + + textbox40 + + 12 + true + + + + + + + + textbox50 + + 11 + true + + + + + + + + textbox57 + + 10 + true + + + + + + 0.5cm + + + + + 3 + + + textbox11 + + 20 + =Fields!DescImpianto.Value + + + + + + + textbox25 + + 19 + data + + + + + + + textbox32 + + 18 + =Fields!DataFus.Value + + + + + + + textbox63 + + 17 + ="T" + Str(Fields!TurnoFus.Value) + + + + + + + textbox30 + + 16 + operatore + + + + + 3 + + + CodSoggetto + + 15 + =Fields!CodSoggetto.Value + + + + + 0.5cm + + + + + 2 + + + textbox5 + + 25 + Contenitore + + + + + + + NumCont + + 24 + =Fields!NumCont.Value + + + + + 2 + + + CodImballo + + 23 + ="Imballo " + Fields!CodImballo.Value + + + + + 2 + + + CodStato + + 22 + true + =Fields!descstato.Value + + + + + 3 + + + textbox34 + + 21 + n. pezzi + + + + + 0.5cm + + + + + 7 + + + descstato + + 27 + true + + + + + + 3 + + + Qta + + 26 + true + =Fields!Qta.Value + + + + + 2.5cm + + + + + 7 + + + descimballo + + 29 + + + + + + 3 + + + textbox49 + + 28 + Tara + + + + + 0.5cm + + + + + 7 + + + DescFamiglia + + 31 + + + + + + 3 + + + Tara + + 30 + =Fields!Tara.Value + + + + + 2.7cm + + + true +
+
+
+ +
+
+ + + + =Fields!UDC.Value + + +
+
+ 12.8cm + + it-IT + 1cm + 14.8cm +
\ No newline at end of file diff --git a/GMW/Reports/SP/CartellinoFus.rdlc b/GMW/Reports/SP/CartellinoFus.rdlc new file mode 100644 index 00000000..dd65dd91 --- /dev/null +++ b/GMW/Reports/SP/CartellinoFus.rdlc @@ -0,0 +1,1411 @@ + + + + + 37647cab-a462-4a59-ae44-1bb2d82f1cff + + SQL + Data Source=SRV-DEV01;Initial Catalog=SP_GMW + true + + + + 14.8cm + Stampa cartellino di produzione + true + 21cm + 0.25cm + true + 1cm + 1cm + 1cm + 8b67d517-f880-448b-bde4-1949893f9fcc + + + image/jpeg + /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT/wAARCAB3AJ8DASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg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fbPnCAbyB124r+rQRqMY7dOaNncsfzoA/K7/g6n/Zs/bt/bP/AGYvh5+zT+xf+z/rfjW3uvF82t+MZdKuraJbVLW3MVrDJ50qZ3vdSOMZ5t6/Cv8A4h0/+C1X/Rgfir/wZ6d/8k1/ZL5YxjJ46e1OwPf86APHP+Cf37Ndv+yB+xH8LP2ZoIEil8HeCLDT9QEeMPeiFWuZP+BTtK/1avY6TYo6UtABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAf/2Q== + + + 21cm + + + + + UDC + System.String + + + CodCS + System.String + + + codcliente + System.String + + + ragsociale + System.String + + + particolare + System.String + + + descparticolare + System.String + + + disegnogrezzo + System.String + + + esponente + System.String + + + codimpianto + System.String + + + descimpianto + System.String + + + codstampo + System.String + + + figura + System.String + + + datafus + System.DateTime + + + turnofus + System.Int32 + + + codimballo + System.String + + + codsoggetto + System.String + + + numcont + System.Int32 + + + tara + System.Double + + + qta + System.Decimal + + + codstato + System.String + + + idxposizione + System.Int32 + + + pesotot + System.Double + + + pesocad + System.Double + + + CreateDate + System.DateTime + + + ModDate + System.DateTime + + + cognome + System.String + + + nome + System.String + + + descstato + System.String + + + descimballo + System.String + + + CodFamiglia + System.String + + + DescFamiglia + System.String + + + + GMWConnectionString + StoredProcedure + dbo.stp_prtCartByUDC + true + + + + 19cm + + 1cm + + + GMWDataSet_stp_prtCartByUDC + + + + + GMWDataSet_stp_prtCartByUDC +
+ + + + + + + FitProportional + image/jpeg + Embedded + + 34 + mm_logo + + + + + 7 + + + textbox23 + + 33 + IDENTIFICAZIONE PRODOTTO + + + + + 2 + + + textbox15 + + 32 + true + =FormatDateTime(Globals!ExecutionTime ) + + + + + 1cm + + +
+ + + 1.80475cm + + + 1.2533cm + + + 2.00528cm + + + 2.30607cm + + + 3.20844cm + + + 1.75462cm + + + 2.25594cm + + + 2cm + + + 1.2cm + + + 1.2cm + + +
+ + + + + 5 + + + RagSociale + true + + 1 + ="UDC : " + Fields!UDC.Value + + + + + 5 + + + textbox9 + + ="*" + Fields!UDC.Value + "*" + + + + + 1.3cm + + + + + 2 + + + textbox16 + + 4 + CLIENTE + + + + + 5 + + + DescParticolare + + 3 + =TRIM(Fields!CodCliente.Value) + " " + LEFT(Fields!RagSociale.Value,50 ) + + + + + 3 + + + textbox20 + + 2 + true + + + + + + 0.5cm + + + + + 2 + + + textbox14 + + 7 + DISEGNO - ESP. + + + + + 5 + + + textbox8 + + 6 + true + =RTrim(Fields!DisegnoGrezzo.Value) + " - " + RTrim(Fields!Esponente.Value) + + + + + 3 + + + textbox1 + + 5 + true + FIGURA + + + + + 0.5cm + + + + + 7 + + + Particolare + + 9 + =Fields!Particolare.Value + + + + + 3 + + + textbox44 + + 8 + =Fields!Figura.Value + + + + + 2.3cm + + + + + 2 + + + textbox4 + + 14 + true + PARTICOLARE + + + + + 5 + + + textbox3 + + 13 + true + =Fields!DescParticolare.Value + + + + + + + textbox40 + + 12 + true + + + + + + + + textbox50 + + 11 + true + + + + + + + + textbox57 + + 10 + true + + + + + + 0.5cm + + + + + 3 + + + textbox11 + + 20 + =Fields!DescImpianto.Value + + + + + + + textbox25 + + 19 + data + + + + + + + textbox32 + + 18 + =Fields!DataFus.Value + + + + + + + textbox63 + + 17 + ="T" + Str(Fields!TurnoFus.Value) + + + + + + + textbox30 + + 16 + operatore + + + + + 3 + + + CodSoggetto + + 15 + =Fields!CodSoggetto.Value + + + + + 0.5cm + + + + + 2 + + + textbox5 + + 25 + Contenitore + + + + + + + NumCont + + 24 + =Fields!NumCont.Value + + + + + 2 + + + CodImballo + + 23 + ="Imballo " + Fields!CodImballo.Value + + + + + 2 + + + CodStato + + 22 + true + =Fields!descstato.Value + + + + + 3 + + + textbox34 + + 21 + n. pezzi + + + + + 0.5cm + + + + + 7 + + + descstato + + 27 + true + + + + + + 3 + + + Qta + + 26 + true + =Fields!Qta.Value + + + + + 2.5cm + + + + + 7 + + + descimballo + + 29 + + + + + + 3 + + + textbox49 + + 28 + Tara + + + + + 0.5cm + + + + + 7 + + + DescFamiglia + + 31 + + + + + + 3 + + + Tara + + 30 + =Fields!Tara.Value + + + + + 2.7cm + + + true +
+
+
+ +
+
+ + + + =Fields!UDC.Value + + +
+
+ 12.8cm + + it-IT + 1cm + 14.8cm +
\ No newline at end of file diff --git a/GMW/Reports/SP/CartellinoLiquidiF10.rdlc b/GMW/Reports/SP/CartellinoLiquidiF10.rdlc new file mode 100644 index 00000000..725e4d59 --- /dev/null +++ b/GMW/Reports/SP/CartellinoLiquidiF10.rdlc @@ -0,0 +1,1665 @@ + + + + + 37647cab-a462-4a59-ae44-1bb2d82f1cff + GMW + + + 14.8cm + Stampa cartellino di produzione + + + String + + + USPLI12000006 + + + UDC + + + true + 21cm + 0.25cm + true + 1cm + 1cm + 1cm + 8b67d517-f880-448b-bde4-1949893f9fcc + + + image/jpeg + /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT/wAARCAB3AJ8DASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09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knHWl2KP +zzQB/KD+29/wbk/8ABcvU/wBojV/EXiPwJqfxv1XVbW0vdW+Idl4mt3S9uZIUMkOb+eKdvKfMYLIq4jBVVXAFn/gnZ/wQR/4KwfA39vP4OfGP42fsDa6/hLwv8SdG1PxETrmkyCK1hvI3km2fbPnCAbyB124r+rQRqMY7dOaNncsfzoA/K7/g6n/Zs/bt/bP/AGYvh5+zT+xf+z/rfjW3uvF82t+MZdKuraJbVLW3MVrDJ50qZ3vdSOMZ5t6/Cv8A4h0/+C1X/Rgfir/wZ6d/8k1/ZL5YxjJ46e1OwPf86APHP+Cf37Ndv+yB+xH8LP2ZoIEil8HeCLDT9QEeMPeiFWuZP+BTtK/1avY6TYo6UtABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAf/2Q== + + + 21cm + + + + + UDC + System.String + + + CodCS + System.String + + + codcliente + System.String + + + ragsociale + System.String + + + particolare + System.String + + + descparticolare + System.String + + + disegnogrezzo + System.String + + + esponente + System.String + + + codimpianto + System.String + + + descimpianto + System.String + + + codstampo + System.String + + + figura + System.String + + + datafus + System.DateTime + + + turnofus + System.Int32 + + + codimballo + System.String + + + codsoggetto + System.String + + + numcont + System.Int32 + + + tara + System.Double + + + qta + System.Decimal + + + codstato + System.String + + + idxposizione + System.Int32 + + + pesotot + System.Double + + + pesocad + System.Double + + + CreateDate + System.DateTime + + + ModDate + System.DateTime + + + cognome + System.String + + + nome + System.String + + + descstato + System.String + + + descimballo + System.String + + + CodFamiglia + System.String + + + DescFamiglia + System.String + + + Note + System.String + + + NoteTratt + System.String + + + + GMWConnectionString + StoredProcedure + stp_prtCartLiquidi_F10ByUDC + + + =Parameters!UDC.Value + + + true + + + + 19cm + + 1cm + + + GMWDataSet_stp_prtCartLiquidi_F10ByUDC + + + + + GMWDataSet_stp_prtCartLiquidi_F10ByUDC +
+ + + + + + + textbox36 + + 49 + + + + + + 7 + + + textbox23 + + 48 + CARTELLINO LIQUIDI + + + + + 2 + + + textbox15 + + 47 + =FormatDateTime(Globals!ExecutionTime ) + + + + + 1cm + + +
+ + + 1.80475cm + + + 1.1533cm + + + 2.10528cm + + + 2.30607cm + + + 3.20844cm + + + 1.75462cm + + + 2.25594cm + + + 2cm + + + 1.2cm + + + 1.2cm + + + 11.9cm +
+ + + + + 2 + + + RagSociale + + 2 + ="UDC : " + + + + + 3 + + + textbox20 + + 1 + =Fields!UDC.Value + + + + + 5 + + + + =iif(Fields!UDC.Value="","","*" + Fields!UDC.Value + "*") + + + + + 1.3cm + + + + + 10 + + + DescLega + + 3 + + + + + + 0.4cm + + + + + 2 + + + textbox14 + + 5 + Articolo : + + + + + 8 + + + + 4 + =First(Fields!descparticolare.Value) + + + + + 1.3cm + + + + + + + + 8 + + + + + + + + textbox5 + + 7 + + + + + + 8 + + + textbox13 + + 6 + =First(Fields!particolare.Value) + + + + + 0.8cm + + + + + 2 + + + DescFamiglia + + 13 + PEZZI : + + + + + 2 + + + Qta_1 + + 12 + =First(Fields!Qta.Value) + + + + + + + textbox9 + + 11 + + + + + + 4 + + + textbox1 + + 10 + ="DISEGNO : " + First(Fields!disegnogrezzo.Value).ToString + + + + + + + textbox10 + + 9 + + + + + + 1.45cm + + + + + 2 + + + disegnogrezzo + + 20 + + + + + + 3 + + + textbox16 + + 19 + + + + + + + + textbox24 + + 18 + + + + + + + + textbox37 + + 17 + + + + + + + + textbox38 + + 16 + + + + + + + + textbox39 + + 15 + + + + + + + + textbox40 + + 14 + + + + + + 0.2cm + + + + + 2 + + + descstato + + 25 + Imballo : + + + + + 3 + + + + 24 + =First(Fields!codimballo.Value) + + + + + 3 + + + textbox12 + + 23 + DUREZZA + + + + + + + textbox21 + + 22 + x + + + + + + + textbox26 + + 21 + + + + + + 1.1cm + + + + + 2 + + + + 32 + Trattamenti : + + + + + + + + 31 + + + + + + + + + 30 + + + + + + + + + 29 + + + + + + 3 + + + + 28 + MECCANICHE + + + + + + + + 27 + + + + + + + + + 26 + + + + + + 1.1cm + + + + + 5 + + + textbox6 + + 36 + =First(Fields!NoteTratt.Value) + + + + + 3 + + + textbox8 + + 35 + LIQUIDI + + + + + + + textbox29 + + 34 + x + + + + + + + textbox30 + + 33 + + + + + + 1.1cm + + + + + 2 + + + + 43 + + + + + + 3 + + + + 42 + + + + + + + + + 41 + + + + + + + + + 40 + + + + + + + + + 39 + + + + + + + + + 38 + + + + + + + + + 37 + + + + + + 0.2cm + + + + + 2 + + + + 45 + Note : + + + + + 8 + + + codimballo + + 44 + =First(Fields!Note.Value) + + + + + 1.45cm + + + + + 10 + + + textbox28 + + 46 + true + ="Operatore : " + trim(Fields!cognome.Value) + " " + trim(Fields!nome.Value) + + + + + 0.5cm + + + true +
+
+
+ 0.5cm + + 12.03492cm +
+
+ + + + =Fields!UDC.Value + + +
+
+ 12.8cm + + it-IT + 1cm + 14.8cm +
\ No newline at end of file diff --git a/GMW/Reports/SP/CartellinoLiquidiF18.rdlc b/GMW/Reports/SP/CartellinoLiquidiF18.rdlc new file mode 100644 index 00000000..b8dbab4a --- /dev/null +++ b/GMW/Reports/SP/CartellinoLiquidiF18.rdlc @@ -0,0 +1,1504 @@ + + + + + 37647cab-a462-4a59-ae44-1bb2d82f1cff + GMW_Test + + + 14.8cm + Stampa cartellino di produzione + + + String + + + USPLI12000006 + + + UDC + + + true + 21cm + 0.25cm + true + 1cm + 1cm + 1cm + 8b67d517-f880-448b-bde4-1949893f9fcc + + + image/jpeg + /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB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vksMk++K/SQKBwKQQoO5P1P+c0Afxy/8Q3f/BbX/ownX/8AwodJ/wDkuv3U/wCDcj9jj9sj4Ff8E3fiJ+wz+3j8EtW8E28+uainh83mo2k5m0zU7QJOsZglkC7JRK/zbeZx15r9SKQop6k9c9aAP41P21f+CC3/AAU3/Yx+JWreDtX/AGWvF/jLQLS9kXSfGXgfQ5tUsNQt9x8ub/Rld4GZOTFKFde+RzW5/wAE2f8AgmN/wXO1D4xWXxF/Yh+CHxL+HOsLHJbN431OKbw7bQ28gHmK890IxNGcDMaCQkgfLX9h3lJknHWl2KP +zzQB/KD+29/wbk/8ABcvU/wBojV/EXiPwJqfxv1XVbW0vdW+Idl4mt3S9uZIUMkOb+eKdvKfMYLIq4jBVVXAFn/gnZ/wQR/4KwfA39vP4OfGP42fsDa6/hLwv8SdG1PxETrmkyCK1hvI3km2fbPnCAbyB124r+rQRqMY7dOaNncsfzoA/K7/g6n/Zs/bt/bP/AGYvh5+zT+xf+z/rfjW3uvF82t+MZdKuraJbVLW3MVrDJ50qZ3vdSOMZ5t6/Cv8A4h0/+C1X/Rgfir/wZ6d/8k1/ZL5YxjJ46e1OwPf86APHP+Cf37Ndv+yB+xH8LP2ZoIEil8HeCLDT9QEeMPeiFWuZP+BTtK/1avY6TYo6UtABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAf/2Q== + + + 21cm + + + + + UDC + System.String + + + CodCS + System.String + + + codcliente + System.String + + + ragsociale + System.String + + + particolare + System.String + + + descparticolare + System.String + + + disegnogrezzo + System.String + + + esponente + System.String + + + codimpianto + System.String + + + descimpianto + System.String + + + codstampo + System.String + + + figura + System.String + + + datafus + System.DateTime + + + turnofus + System.Int32 + + + codimballo + System.String + + + codsoggetto + System.String + + + numcont + System.Int32 + + + tara + System.Double + + + qta + System.Decimal + + + codstato + System.String + + + idxposizione + System.Int32 + + + pesotot + System.Double + + + pesocad + System.Double + + + CreateDate + System.DateTime + + + ModDate + System.DateTime + + + cognome + System.String + + + nome + System.String + + + descstato + System.String + + + descimballo + System.String + + + CodFamiglia + System.String + + + DescFamiglia + System.String + + + Note + System.String + + + NoteTratt + System.String + + + + GMWConnectionString + StoredProcedure + stp_prtCartLiquidi_F18ByUDC + + + =Parameters!UDC.Value + + + true + + + + 19cm + + 1cm + + + GMWDataSet_stp_prtCartLiquidi_F18ByUDC + + + + + GMWDataSet_stp_prtCartLiquidi_F18ByUDC +
+ + + + + + + textbox36 + + 44 + + + + + + 7 + + + textbox23 + + 43 + CARTELLINO LIQUIDI F18 + + + + + 2 + + + textbox15 + + 42 + =FormatDateTime(Globals!ExecutionTime ) + + + + + 1cm + + +
+ + + 1.80475cm + + + 1.1533cm + + + 2.10528cm + + + 2.30607cm + + + 3.20844cm + + + 1.75462cm + + + 2.25594cm + + + 2cm + + + 1.2cm + + + 1.2cm + + + 11.9cm +
+ + + + + 2 + + + RagSociale + + 2 + ="UDC : " + + + + + 3 + + + textbox10 + + 1 + =Fields!UDC.Value + + + + + 5 + + + + =iif(Fields!UDC.Value="","","*" + Fields!UDC.Value + "*") + + + + + 1.3cm + + + + + 10 + + + DescLega + + 3 + + + + + + 0.4cm + + + + + 2 + + + textbox14 + + 5 + Articolo : + + + + + 8 + + + + 4 + =First(Fields!descparticolare.Value) + + + + + 1.3cm + + + + + + + + 8 + + + + + + + + textbox7 + + 7 + + + + + + 8 + + + textbox9 + + 6 + =First(Fields!particolare.Value) + + + + + 0.8cm + + + + + 2 + + + DescLega2 + + 12 + PEZZI : + + + + + 2 + + + textbox13 + + 11 + =First(Fields!Qta.Value) + + + + + + + textbox16 + + 10 + + + + + + 5 + + + textbox17 + + 9 + ="DISEGNO : " + First(Fields!disegnogrezzo.Value).ToString + + + + + 1.45cm + + + + + + + textbox5 + + 22 + + + + + + + + textbox20 + + 21 + + + + + + + + textbox21 + + 20 + + + + + + + + textbox24 + + 19 + + + + + + + + textbox37 + + 18 + + + + + + + + textbox38 + + 17 + + + + + + + + textbox39 + + 16 + + + + + + + + textbox40 + + 15 + + + + + + + + textbox41 + + 14 + + + + + + + + textbox42 + + 13 + + + + + + 0.2cm + + + + + 2 + + + DescFamiglia + + 25 + Imballo : + + + + + 3 + + + Qta_1 + + 24 + =First(Fields!codimballo.Value) + + + + + 5 + + + textbox45 + + 23 + + + + + + 1.1cm + + + + + 2 + + + descstato + + 27 + + + + + + 8 + + + + 26 + + + + + + 1.1cm + + + + + 10 + + + textbox6 + + 28 + ="UDC Associati : " + First(Fields!NoteTratt.Value).ToString + + + + + 1.1cm + + + + + + + textbox1 + + 38 + + + + + + + + textbox2 + + 37 + + + + + + + + textbox11 + + 36 + + + + + + + + textbox12 + + 35 + + + + + + + + textbox18 + + 34 + + + + + + + + textbox26 + + 33 + + + + + + + + textbox27 + + 32 + + + + + + + + textbox28 + + 31 + + + + + + + + textbox29 + + 30 + + + + + + + + textbox30 + + 29 + + + + + + 0.2cm + + + + + 2 + + + + 40 + Note : + + + + + 8 + + + codimballo + + 39 + =First(Fields!Note.Value) + + + + + 1.45cm + + + + + 10 + + + textbox8 + + 41 + true + ="Operatore : " + trim(Fields!cognome.Value) + " " + trim(Fields!nome.Value) + + + + + 0.5cm + + + true +
+
+
+ 0.5cm + + 12.03492cm +
+
+ + + + =Fields!UDC.Value + + +
+
+ 12.8cm + + it-IT + 1cm + 14.8cm +
\ No newline at end of file diff --git a/GMW/Reports/SP/CartellinoMP.rdlc b/GMW/Reports/SP/CartellinoMP.rdlc new file mode 100644 index 00000000..16326a43 --- /dev/null +++ b/GMW/Reports/SP/CartellinoMP.rdlc @@ -0,0 +1,808 @@ + + + + + 37647cab-a462-4a59-ae44-1bb2d82f1cff + + SQL + Data Source=SRV65;Initial Catalog=SP_GMW + true + + + + 14.8cm + Stampa cartellino di produzione + true + 21cm + 0.25cm + true + 1cm + 1cm + 1cm + 8b67d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UUUAf/2Q== + + + 21cm + + + + + nRapQual + System.Decimal + + + DataRapQual + System.Decimal + + + ProgUDC + System.String + + + CodFor + System.String + + + DestTerz + System.String + + + CodLega + System.String + + + DataPrelFus + System.Decimal + + + TurnoPrelFus + System.String + + + Qta + System.Decimal + + + DestLega + System.String + + + LegaScaric + System.String + + + BenesQual + System.String + + + UDC + System.String + + + DescFornitore + System.String + + + DescFornitore2 + System.String + + + CodLega2 + System.String + + + DescLega + System.String + + + DescLega2 + System.String + + + Note + System.String + + + + GMWConnectionString + StoredProcedure + stp_prtCartMatPrimaByUDC + true + + + + 19cm + + 1cm + + + GMWDataSet_stp_prtCartByUDC + + + + + GMWDataSet_stp_prtCartByUDC +
+ + + + + + + textbox36 + + 27 + + + + + + 7 + + + textbox23 + + 26 + CARTELLINO LEGA + + + + + 2 + + + textbox15 + + 25 + =FormatDateTime(Globals!ExecutionTime ) + + + + + 1cm + + +
+ + + 1.80475cm + + + 1.2533cm + + + 2.00528cm + + + 2.30607cm + + + 3.20844cm + + + 1.75462cm + + + 2.25594cm + + + 2cm + + + 1.2cm + + + 1.2cm + + + 11.35cm +
+ + + + + 5 + + + RagSociale + + 1 + ="UDC : " + Fields!UDC.Value + + + + + 5 + + + + =iif(Fields!UDC.Value="","","*" + Fields!UDC.Value + "*") + + + + + 1.3cm + + + + + 3 + + + textbox14 + + 3 + Cod. Articolo: + + + + + 7 + + + + 2 + =Fields!CodLega.Value + + + + + 1.5cm + + + + + 10 + + + DescLega + + 4 + =Fields!DescLega.Value + + + + + 1cm + + + + + 10 + + + DescLega2 + + 5 + =Fields!DescLega2.Value + + + + + 1cm + + + + + 2 + + + textbox6 + + 7 + Fornitore: + + + + + 8 + + + + 6 + =Fields!DescFornitore.Value + + + + + 1.3cm + + + + + 2 + + + descstato + + 9 + Partita: + + + + + 8 + + + + 8 + =Cstr(Fields!nRapQual.Value) + " / " + Cstr(Fields!DataRapQual.Value) + + + + + 1.5cm + + + + + 2 + + + DescFamiglia + + 16 + Quantità: + + + + + 3 + + + Qta + + 15 + =Fields!Qta.Value + + + + + + + textbox54 + + 14 + + + + + + + + textbox55 + + 13 + + + + + + + + textbox10 + + 12 + + + + + + + + textbox67 + + 11 + + + + + + + + textbox68 + + 10 + + + + + + 1.2cm + + + + + 2 + + + + 22 + UDC ACG: + + + + + 4 + + + ProgUDC + + 21 + =Fields!ProgUDC.Value + + + + + + + + 20 + + + + + + + + + 19 + + + + + + + + + 18 + + + + + + + + + 17 + + + + + + 0.8cm + + + + + 2 + + + textbox1 + + 24 + Note: + + + + + 8 + + + Note + + 23 + =Fields!Note.Value + + + + + 0.75cm + + + true +
+
+
+ 1cm + + 11.6cm +
+
+ + + + =Fields!UDC.Value + + +
+
+ 12.8cm + + it-IT + 1cm + 14.8cm +
\ No newline at end of file diff --git a/GMW/Reports/SP/CartellinoOdette.rdlc b/GMW/Reports/SP/CartellinoOdette.rdlc new file mode 100644 index 00000000..ccaf391b --- /dev/null +++ b/GMW/Reports/SP/CartellinoOdette.rdlc @@ -0,0 +1,1759 @@ + + + + + 945313fa-66e9-456e-b1dd-514d7a9e9842 + + SQL + Data Source=SRV65;Initial Catalog=SP_GMW + true + + + + 14.8cm + Stampa cartellino di produzione + + + String + + + UMAB210000007 + + + UDC + + + true + 21cm + 0.1cm + true + 1cm + 1cm + 1cm + 8b67d517-f880-448b-bde4-1949893f9fcc + + + image/jpeg + /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT/wAARCAB3AJ8DASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQR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m0zU7QJOsZglkC7JRK/zbeZx15r9SKQop6k9c9aAP41P21f+CC3/AAU3/Yx+JWreDtX/AGWvF/jLQLS9kXSfGXgfQ5tUsNQt9x8ub/Rld4GZOTFKFde+RzW5/wAE2f8AgmN/wXO1D4xWXxF/Yh+CHxL+HOsLHJbN431OKbw7bQ28gHmK890IxNGcDMaCQkgfLX9h3lJknHWl2KP +zzQB/KD+29/wbk/8ABcvU/wBojV/EXiPwJqfxv1XVbW0vdW+Idl4mt3S9uZIUMkOb+eKdvKfMYLIq4jBVVXAFn/gnZ/wQR/4KwfA39vP4OfGP42fsDa6/hLwv8SdG1PxETrmkyCK1hvI3km2fbPnCAbyB124r+rQRqMY7dOaNncsfzoA/K7/g6n/Zs/bt/bP/AGYvh5+zT+xf+z/rfjW3uvF82t+MZdKuraJbVLW3MVrDJ50qZ3vdSOMZ5t6/Cv8A4h0/+C1X/Rgfir/wZ6d/8k1/ZL5YxjJ46e1OwPf86APHP+Cf37Ndv+yB+xH8LP2ZoIEil8HeCLDT9QEeMPeiFWuZP+BTtK/1avY6TYo6UtABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAf/2Q== + + + 21cm + + + + + CampoUDC + System.String + + + Campo1_1 + System.String + + + Campo1_2 + System.String + + + Campo1_3 + System.String + + + Campo1_4 + System.String + + + Campo1_5 + System.String + + + Campo2_1 + System.String + + + Campo2_2 + System.String + + + Campo2_3 + System.String + + + Campo2_4 + System.String + + + Campo2_5 + System.String + + + Campo3_1 + System.String + + + Campo3_2 + System.String + + + Campo3_3 + System.String + + + Campo3_4 + System.String + + + Campo3_5 + System.String + + + Campo4_1 + System.String + + + Campo4_2 + System.String + + + Campo4_3 + System.String + + + Campo4_4 + System.String + + + Campo4_5 + System.String + + + Campo5_1 + System.String + + + Campo5_2 + System.String + + + Campo5_3 + System.String + + + Campo5_4 + System.String + + + Campo5_5 + System.String + + + Campo6_1 + System.String + + + Campo6_2 + System.String + + + Campo6_3 + System.String + + + Campo6_4 + System.String + + + Campo6_5 + System.String + + + Campo7_1 + System.String + + + Campo7_2 + System.String + + + Campo7_3 + System.String + + + Campo7_4 + System.String + + + Campo7_5 + System.String + + + Campo8_1 + System.String + + + Campo8_2 + System.String + + + Campo8_3 + System.String + + + Campo8_4 + System.String + + + Campo8_5 + System.String + + + Campo9_1 + System.String + + + Campo9_2 + System.String + + + Campo9_3 + System.String + + + Campo9_4 + System.String + + + Campo9_5 + System.String + + + Campo10_1 + System.String + + + Campo10_2 + System.String + + + Campo10_3 + System.String + + + Campo10_4 + System.String + + + Campo10_5 + System.String + + + Campo11_1_1 + System.String + + + Campo11_1_2 + System.String + + + Campo11_1_3 + System.String + + + Campo11_1_4 + System.String + + + Campo11_1_5 + System.String + + + Campo11_2_1 + System.String + + + Campo11_2_2 + System.String + + + Campo11_2_3 + System.String + + + Campo11_2_4 + System.String + + + Campo11_2_5 + System.String + + + Campo12_1 + System.String + + + Campo12_2 + System.String + + + Campo12_3 + System.String + + + Campo12_4 + System.String + + + Campo12_5 + System.String + + + Campo13_1 + System.String + + + Campo13_2 + System.String + + + Campo13_3 + System.String + + + Campo13_4 + System.String + + + Campo13_5 + System.String + + + Campo14_1 + System.String + + + Campo14_2 + System.String + + + Campo14_3 + System.String + + + Campo14_4 + System.String + + + Campo14_5 + System.String + + + Campo15_1 + System.String + + + Campo15_2 + System.String + + + Campo15_3 + System.String + + + Campo15_4 + System.String + + + Campo15_5 + System.String + + + Campo16_1 + System.String + + + Campo16_2 + System.String + + + Campo16_3 + System.String + + + Campo16_4 + System.String + + + Campo16_5 + System.String + + + + GMWConnectionString + SELECT + 'U000000001' AS CampoUDC + + ,'Receiver' AS Campo1_1 + ,'BAYERISCHE MOTOREN WERKE AG' AS Campo1_2 + ,'Abt. FR-23' AS Campo1_3 + ,'MUENCHEN' AS Campo1_4 + ,'Campo1_5' AS Campo1_5 + + ,'Destination (2L)' AS Campo2_1 + ,'VK-WOERTH Abladestelle 4' AS Campo2_2 + ,'Luitpoldpark' AS Campo2_3 + ,'DE-Niederaichbach' AS Campo2_4 + ,'Campo2_5' AS Campo2_5 + + ,'Document Number (N)' AS Campo3_1 + ,'863' AS Campo3_2 + ,'863' AS Campo3_3 -- Barcode + ,'Campo3_4' AS Campo3_4 + ,'Campo3_5' AS Campo3_5 + + ,'Supplier Adress' AS Campo4_1 + ,'via Don Minzoni,14 I-41039 S.Possidonio MO .' AS Campo4_2 + ,'Campo4_3' AS Campo4_3 + ,'Campo4_4' AS Campo4_4 + ,'Campo4_5' AS Campo4_5 + + ,'Net Weight (Kg)' AS Campo5_1 + ,'351,91' AS Campo5_2 + ,'Campo5_3' AS Campo5_3 + ,'Campo5_4' AS Campo5_4 + ,'Campo5_5' AS Campo5_5 + + ,'Gross Weight ( Kg)' AS Campo6_1 + ,'436,91' AS Campo6_2 + ,'Campo6_3' AS Campo6_3 + ,'Campo6_4' AS Campo6_4 + ,'Campo6_5' AS Campo6_5 + + ,'Boxes (Nr)' AS Campo7_1 + ,'2,3' AS Campo7_2 + ,'Campo7_3' AS Campo7_3 + ,'Campo7_4' AS Campo7_4 + ,'Campo7_5' AS Campo7_5 + + ,'Part Number (P)' AS Campo8_1 + ,'7558090-07' AS Campo8_2 + ,'7558090-07' AS Campo8_3 -- Barcode + ,'Campo8_4' AS Campo8_4 + ,'Campo8_5' AS Campo8_5 + + ,'Quantity (Q)' AS Campo9_1 + ,'1221,9' AS Campo9_2 + ,'1221,9' AS Campo9_3 -- Barcode + ,'Campo9_4' AS Campo9_4 + ,'Campo9_5' AS Campo9_5 + + ,'Description' AS Campo10_1 + ,'GEHAEUSE Pl6 VAG-D 175AL' AS Campo10_2 + ,'Campo10_3' AS Campo10_3 + ,'Campo10_4' AS Campo10_4 + ,'Campo10_5' AS Campo10_5 + + ,'Campo11_1_1' AS Campo11_1_1 + ,'Campo11_1_2' AS Campo11_1_2 + ,'Campo11_1_3' AS Campo11_1_3 + ,'Campo11_1_4' AS Campo11_1_4 + ,'Campo11_1_5' AS Campo11_1_5 + + ,'Logistic Reference (30S)' AS Campo11_2_1 + ,'24961' AS Campo11_2_2 + ,'24961' AS Campo11_2_3 -- Barcode + ,'Campo11_2_4' AS Campo11_2_4 + ,'Campo11_2_5' AS Campo11_2_5 + + ,'Supplier (V)' AS Campo12_1 + ,'56091210' AS Campo12_2 + ,'56091210' AS Campo12_3 -- Barcode + ,'Campo12_4' AS Campo12_4 + ,'Campo12_5' AS Campo12_5 + + ,'Date' AS Campo13_1 + ,'D110408' AS Campo13_2 + ,'Campo13_3' AS Campo13_3 + ,'Campo13_4' AS Campo13_4 + ,'Campo13_5' AS Campo13_5 + + ,'Change Index' AS Campo14_1 + ,'ZI:NA281X k AI:07' AS Campo14_2 + ,'Campo14_3' AS Campo14_3 + ,'Campo14_4' AS Campo14_4 + ,'Campo14_5' AS Campo14_5 + + ,'Serial Number (S)' AS Campo15_1 + ,'218434' AS Campo15_2 + ,'218434' AS Campo15_3 -- barcode + ,'Campo15_4' AS Campo15_4 + ,'Campo15_5' AS Campo15_5 + + ,'Batch Number (H)' AS Campo16_1 + ,'UM000010' AS Campo16_2 + ,'Campo16_3' AS Campo16_3 + ,'Campo16_4' AS Campo16_4 + ,'Campo16_5' AS Campo16_5 + + + +/* +SELECT + 'U000000001' AS CampoUDC + + ,'CAMPO1_1' AS Campo1_1 + ,'CAMPO1_2' AS Campo1_2 + ,'CAMPO1_3' AS Campo1_3 + ,'CAMPO1_4' AS Campo1_4 + ,'CAMPO1_5' AS Campo1_5 + + ,'CAMPO2_1' AS CAMPO2_1 + ,'CAMPO2_2' AS Campo2_2 + ,'CAMPO2_3' AS Campo2_3 + ,'CAMPO2_4' AS Campo2_4 + ,'CAMPO2_5' AS Campo2_5 + + ,'CAMPO3_1' AS Campo3_1 + ,'CAMPO3_2' AS Campo3_2 + ,'CAMPO3-3' AS Campo3_3 -- Barcode + ,'CAMPO3_4' AS Campo3_4 + ,'CAMPO3_5' AS Campo3_5 + + ,'CAMPO4_1' AS Campo4_1 + ,'CAMPO4_2' AS Campo4_2 + ,'CAMPO4_3' AS Campo4_3 + ,'CAMPO4_4' AS Campo4_4 + ,'CAMPO4_5' AS Campo4_5 + + ,'CAMPO5_1' AS Campo5_1 + ,'CAMPO5_2' AS Campo5_2 + ,'CAMPO5_3' AS Campo5_3 + ,'CAMPO5_4' AS Campo5_4 + ,'CAMPO5_5' AS Campo5_5 + + ,'CAMPO6_1' AS Campo6_1 + ,'CAMPO6_2' AS Campo6_2 + ,'CAMPO6_3' AS Campo6_3 + ,'CAMPO6_4' AS Campo6_4 + ,'CAMPO6_5' AS Campo6_5 + + ,'CAMPO7_1' AS Campo7_1 + ,'CAMPO7_2' AS Campo7_2 + ,'CAMPO7_3' AS Campo7_3 + ,'CAMPO7_4' AS Campo7_4 + ,'CAMPO7_5' AS Campo7_5 + + ,'CAMPO8_1' AS Campo8_1 + ,'CAMPO8_2' AS Campo8_2 + ,'CAMPO8-3' AS Campo8_3 -- Barcode + ,'CAMPO8_4' AS Campo8_4 + ,'CAMPO8_5' AS Campo8_5 + + ,'CAMPO9_1' AS Campo9_1 + ,'CAMPO9_2' AS Campo9_2 + ,'CAMPO9-3' AS Campo9_3 -- Barcode + ,'CAMPO9_4' AS Campo9_4 + ,'CAMPO9_5' AS Campo9_5 + + ,'CAMPO10_1' AS Campo10_1 + ,'CAMPO10_2' AS Campo10_2 + ,'CAMPO10_3' AS Campo10_3 + ,'CAMPO10_4' AS Campo10_4 + ,'CAMPO10_5' AS Campo10_5 + + ,'CAMPO11_1_1' AS Campo11_1_1 + ,'CAMPO11_1_2' AS Campo11_1_2 + ,'CAMPO11_1_3' AS Campo11_1_3 + ,'CAMPO11_1_4' AS Campo11_1_4 + ,'CAMPO11_1_5' AS Campo11_1_5 + + ,'CAMPO11_2_1' AS Campo11_2_1 + ,'CAMPO11_2_2' AS Campo11_2_2 + ,'CAMPO11-2-3' AS Campo11_2_3 -- Barcode + ,'CAMPO11_2_4' AS Campo11_2_4 + ,'CAMPO11_2_5' AS Campo11_2_5 + + ,'CAMPO12_1' AS Campo12_1 + ,'CAMPO12_2' AS Campo12_2 + ,'CAMPO12-3' AS Campo12_3 -- Barcode + ,'CAMPO12_4' AS Campo12_4 + ,'CAMPO12_5' AS Campo12_5 + + ,'CAMPO13_1' AS Campo13_1 + ,'CAMPO13_2' AS Campo13_2 + ,'CAMPO13_3' AS Campo13_3 + ,'CAMPO13_4' AS Campo13_4 + ,'CAMPO13_5' AS Campo13_5 + + ,'CAMPO14_1' AS Campo14_1 + ,'CAMPO14_2' AS Campo14_2 + ,'CAMPO14_3' AS Campo14_3 + ,'CAMPO14_4' AS Campo14_4 + ,'CAMPO14_5' AS Campo14_5 + + ,'CAMPO15_1' AS Campo15_1 + ,'CAMPO15_2' AS Campo15_2 + ,'CAMPO15-3' AS Campo15_3 -- Barcode + ,'CAMPO15_4' AS Campo15_4 + ,'CAMPO15_5' AS Campo15_5 + + ,'CAMPO16_1' AS Campo16_1 + ,'CAMPO16_2' AS Campo16_2 + ,'CAMPO16_3' AS Campo16_3 + ,'CAMPO16_4' AS Campo16_4 + ,'CAMPO16_5' AS Campo16_5 +UNION +SELECT + 'U000000002' AS CampoUDC + + ,'CAMPO1_1' AS Campo1_1 + ,'CAMPO1_2' AS Campo1_2 + ,'CAMPO1_3' AS Campo1_3 + ,'CAMPO1_4' AS Campo1_4 + ,'CAMPO1_5' AS Campo1_5 + + ,'CAMPO2_1' AS CAMPO2_1 + ,'CAMPO2_2' AS Campo2_2 + ,'CAMPO2_3' AS Campo2_3 + ,'CAMPO2_4' AS Campo2_4 + ,'CAMPO2_5' AS Campo2_5 + + ,'CAMPO3_1' AS Campo3_1 + ,'CAMPO3_2' AS Campo3_2 + ,'CAMPO3_3' AS Campo3_3 + ,'CAMPO3_4' AS Campo3_4 + ,'CAMPO3_5' AS Campo3_5 + + ,'CAMPO4_1' AS Campo4_1 + ,'CAMPO4_2' AS Campo4_2 + ,'CAMPO4_3' AS Campo4_3 + ,'CAMPO4_4' AS Campo4_4 + ,'CAMPO4_5' AS Campo4_5 + + ,'CAMPO5_1' AS Campo5_1 + ,'CAMPO5_2' AS Campo5_2 + ,'CAMPO5_3' AS Campo5_3 + ,'CAMPO5_4' AS Campo5_4 + ,'CAMPO5_5' AS Campo5_5 + + ,'CAMPO6_1' AS Campo6_1 + ,'CAMPO6_2' AS Campo6_2 + ,'CAMPO6_3' AS Campo6_3 + ,'CAMPO6_4' AS Campo6_4 + ,'CAMPO6_5' AS Campo6_5 + + ,'CAMPO7_1' AS Campo7_1 + ,'CAMPO7_2' AS Campo7_2 + ,'CAMPO7_3' AS Campo7_3 + ,'CAMPO7_4' AS Campo7_4 + ,'CAMPO7_5' AS Campo7_5 + + ,'CAMPO8_1' AS Campo8_1 + ,'CAMPO8_2' AS Campo8_2 + ,'CAMPO8_3' AS Campo8_3 + ,'CAMPO8_4' AS Campo8_4 + ,'CAMPO8_5' AS Campo8_5 + + ,'CAMPO9_1' AS Campo9_1 + ,'CAMPO9_2' AS Campo9_2 + ,'CAMPO9_3' AS Campo9_3 + ,'CAMPO9_4' AS Campo9_4 + ,'CAMPO9_5' AS Campo9_5 + + ,'CAMPO10_1' AS Campo10_1 + ,'CAMPO10_2' AS Campo10_2 + ,'CAMPO10_3' AS Campo10_3 + ,'CAMPO10_4' AS Campo10_4 + ,'CAMPO10_5' AS Campo10_5 + + ,'CAMPO11_1_1' AS Campo11_1_1 + ,'CAMPO11_1_2' AS Campo11_1_2 + ,'CAMPO11_1_3' AS Campo11_1_3 + ,'CAMPO11_1_4' AS Campo11_1_4 + ,'CAMPO11_1_5' AS Campo11_1_5 + + ,'CAMPO11_2_1' AS Campo11_2_1 + ,'CAMPO11_2_2' AS Campo11_2_2 + ,'CAMPO11_2_3' AS Campo11_2_3 + ,'CAMPO11_2_4' AS Campo11_2_4 + ,'CAMPO11_2_5' AS Campo11_2_5 + + ,'CAMPO12_1' AS Campo12_1 + ,'CAMPO12_2' AS Campo12_2 + ,'CAMPO12_3' AS Campo12_3 + ,'CAMPO12_4' AS Campo12_4 + ,'CAMPO12_5' AS Campo12_5 + + ,'CAMPO13_1' AS Campo13_1 + ,'CAMPO13_2' AS Campo13_2 + ,'CAMPO13_3' AS Campo13_3 + ,'CAMPO13_4' AS Campo13_4 + ,'CAMPO13_5' AS Campo13_5 + + ,'CAMPO14_1' AS Campo14_1 + ,'CAMPO14_2' AS Campo14_2 + ,'CAMPO14_3' AS Campo14_3 + ,'CAMPO14_4' AS Campo14_4 + ,'CAMPO14_5' AS Campo14_5 + + ,'CAMPO15_1' AS Campo15_1 + ,'CAMPO15_2' AS Campo15_2 + ,'CAMPO15_3' AS Campo15_3 + ,'CAMPO15_4' AS Campo15_4 + ,'CAMPO15_5' AS Campo15_5 + + ,'CAMPO16_1' AS Campo16_1 + ,'CAMPO16_2' AS Campo16_2 + ,'CAMPO16_3' AS Campo16_3 + ,'CAMPO16_4' AS Campo16_4 + ,'CAMPO16_5' AS Campo16_5 + + + +SELECT + 'U000000001' AS CampoUDC + + ,'Receiver' AS Campo1_1 + ,'BAYERISCHE MOTOREN WERKE AG' AS Campo1_2 + ,'Abt. FR-23' AS Campo1_3 + ,'MUENCHEN' AS Campo1_4 + ,'Campo1_5' AS Campo1_5 + + ,'Destination (2L)' AS CAMPO2_1 + ,'VK-WOERTH Abladestelle 4' AS Campo2_2 + ,'Luitpoldpark' AS Campo2_3 + ,'DE-Niederaichbach' AS Campo2_4 + ,'Campo2_5' AS Campo2_5 + + ,'Document Number (N)' AS Campo3_1 + ,'050001176' AS Campo3_2 + ,'Campo3_3' AS Campo3_3 + ,'Campo3_4' AS Campo3_4 + ,'Campo3_5' AS Campo3_5 + + ,'Supplier Adress' AS Campo4_1 + ,'Via Kennedy, 16 I-24030 Ambivere BG' AS Campo4_2 + ,'Campo4_3' AS Campo4_3 + ,'Campo4_4' AS Campo4_4 + ,'Campo4_5' AS Campo4_5 + + ,'Net Weight (Kg)' AS Campo5_1 + ,'Campo5_2' AS Campo5_2 + ,'Campo5_3' AS Campo5_3 + ,'Campo5_4' AS Campo5_4 + ,'Campo5_5' AS Campo5_5 + + ,'Campo6_1' AS Campo6_1 + ,'Campo6_2' AS Campo6_2 + ,'Campo6_3' AS Campo6_3 + ,'Campo6_4' AS Campo6_4 + ,'Campo6_5' AS Campo6_5 + + ,'Campo7_1' AS Campo7_1 + ,'Campo7_2' AS Campo7_2 + ,'Campo7_3' AS Campo7_3 + ,'Campo7_4' AS Campo7_4 + ,'Campo7_5' AS Campo7_5 + + ,'Part Number (P)' AS Campo8_1 + ,'7558090-07' AS Campo8_2 + ,'Campo8_3' AS Campo8_3 + ,'Campo8_4' AS Campo8_4 + ,'Campo8_5' AS Campo8_5 + + ,'Campo9_1' AS Campo9_1 + ,'Campo9_2' AS Campo9_2 + ,'Campo9_3' AS Campo9_3 + ,'Campo9_4' AS Campo9_4 + ,'Campo9_5' AS Campo9_5 + + ,'Campo10_1' AS Campo10_1 + ,'Campo10_2' AS Campo10_2 + ,'Campo10_3' AS Campo10_3 + ,'Campo10_4' AS Campo10_4 + ,'Campo10_5' AS Campo10_5 + + ,'Campo11_1' AS Campo11_1 + ,'Campo11_2' AS Campo11_2 + ,'Campo11_3' AS Campo11_3 + ,'Campo11_4' AS Campo11_4 + ,'Campo11_5' AS Campo11_5 + + ,'Campo11_1_1' AS Campo11_1_1 + ,'Campo11_1_2' AS Campo11_1_2 + ,'Campo11_1_3' AS Campo11_1_3 + ,'Campo11_1_4' AS Campo11_1_4 + ,'Campo11_1_5' AS Campo11_1_5 + + ,'Campo12_1' AS Campo12_1 + ,'Campo12_2' AS Campo12_2 + ,'Campo12_3' AS Campo12_3 + ,'Campo12_4' AS Campo12_4 + ,'Campo12_5' AS Campo12_5 + + ,'Campo13_1' AS Campo13_1 + ,'Campo13_2' AS Campo13_2 + ,'Campo13_3' AS Campo13_3 + ,'Campo13_4' AS Campo13_4 + ,'Campo13_5' AS Campo13_5 + + ,'Campo14_1' AS Campo14_1 + ,'Campo14_2' AS Campo14_2 + ,'Campo14_3' AS Campo14_3 + ,'Campo14_4' AS Campo14_4 + ,'Campo14_5' AS Campo14_5 + + ,'Campo15_1' AS Campo15_1 + ,'Campo15_2' AS Campo15_2 + ,'Campo15_3' AS Campo15_3 + ,'Campo15_4' AS Campo15_4 + ,'Campo15_5' AS Campo15_5 + + ,'Campo16_1' AS Campo16_1 + ,'Campo16_2' AS Campo16_2 + ,'Campo16_3' AS Campo16_3 + ,'Campo16_4' AS Campo16_4 + ,'Campo16_5' AS Campo16_5 + +-- FROM Test + +*/ + true + + + + + 19cm + + 1cm + + + + + =Fields!CampoUDC.Value + Ascending + + + GMWDataSet_stp_prtOdetteByUDC + + + + + 11.5cm + 5.8cm + + 49 + 0.3cm + 1.2cm + =iif(Fields!Campo15_3.Value="","", "*S" + Fields!Campo15_3.Value + "*") + + + 9.8cm + 8.7cm + + 48 + 0.3cm + 1.2cm + =iif(Fields!Campo12_3.Value="","","*V" + Fields!Campo12_3.Value + "*") + + + 8.4cm + 8.6cm + + 47 + 9.9cm + 1.2cm + =iif(Fields!Campo11_2_3.Value="","","*30S" + Fields!Campo11_2_3.Value + "*") + + + Campo7_2 + 3.2cm + 2.6cm + + 46 + 16.3cm + 0.7cm + =ROUND(CDEC(Fields!Campo7_2.Value),0) + + + Campo6_2 + 3.2cm + 3.4cm + + 45 + 12.7cm + 0.7cm + =ROUND(CDEC(Fields!Campo6_2.Value),0 ) + + + Campo5_2 + 3.2cm + 3cm + + 44 + 9.5cm + 0.7cm + =ROUND(CDEC(Fields!Campo5_2.Value),0) + + + Campo11_2_2 + 7.6cm + 6.2cm + + 43 + 12.7cm + 0.8cm + =Fields!Campo11_2_2.Value + + + Campo14_2 + 10cm + 5.8cm + + 42 + 13.1cm + 0.9cm + =Fields!Campo14_2.Value + + + Campo16_2 + 11.4cm + 9.3cm + + 41 + 9.5cm + 1.2cm + =Fields!Campo16_2.Value + + + Campo15_2 + 11cm + 3.2cm + + 40 + 6.1cm + 0.7cm + =Fields!Campo15_2.Value + + + Campo12_2 + 9cm + 5.9cm + + 39 + 2.8cm + 0.7cm + =Fields!Campo12_2.Value + + + 9cm + 2.6cm + + 38 + 0.1cm + 0.3cm + =Fields!Campo12_1.Value + + + 11cm + 2.6cm + + 37 + 0.1cm + 0.3cm + =Fields!Campo15_1.Value + + + 11cm + 9.4cm + + 36 + 9.5cm + 0.3cm + =Fields!Campo16_1.Value + + + 9.6cm + 5.8cm + + 35 + 13.1cm + 0.3cm + =Fields!Campo14_1.Value + + + 7.6cm + 3.1cm + + 34 + 9.5cm + 0.3cm + =Fields!Campo11_2_1.Value + + + 2.9cm + 2.6cm + + 33 + 16.3cm + 0.3cm + =Fields!Campo7_1.Value + + + 2.9cm + 3.3cm + + 32 + 12.7cm + 0.3cm + =Fields!Campo6_1.Value + + + 3.9cm + 0cm + + 31 + 16.2cm + -1cm + + + 3.9cm + 0cm + + 30 + 12.6cm + -1cm + + + 9.6cm + 0cm + + 29 + 13cm + 1.40212cm + + + 10cm + 3.5cm + + 28 + 9.4cm + 0.9cm + =Fields!Campo13_2.Value + + + 9.6cm + 3.4cm + + 27 + 9.5cm + 0.3cm + =Fields!Campo13_1.Value + + + 6.8cm + 9.4cm + + 26 + 9.5cm + 0.7cm + =Fields!Campo10_2.Value + + + 6.4cm + 9.4cm + + 25 + 9.5cm + 0.3cm + =Fields!Campo10_1.Value + + + 7.8cm + 8.7cm + + 24 + 0.3cm + 1.2cm + =iif(Fields!Campo9_3.Value="","","*Q" + ( REPLACE(ROUND(CDEC(Fields!Campo9_2.Value),0),",",".") ) + "*") + + + 6.5cm + 7.1cm + + 23 + 2cm + 1.2cm + =REPLACE(ROUND(CDEC(Fields!Campo9_2.Value),0),",",".") + + + 6.4cm + 1.7cm + + 22 + 0.1cm + 0.3cm + =Fields!Campo9_1.Value + + + 5.2cm + 10.6cm + + 21 + 0.3cm + 1.2cm + =iif(Fields!Campo8_3.Value="","","*P" + Fields!Campo8_3.Value + "*") + + + 3.9cm + 8.9cm + + 20 + 2.3cm + 1.2cm + =Fields!Campo8_2.Value + + + 3.9cm + 2.1cm + + 19 + 0.1cm + 0.3cm + =Fields!Campo8_1.Value + + + textbox7 + 2.2cm + 9.4cm + + 18 + 9.5cm + 0.5cm + =Fields!Campo4_2.Value + + + 2.7cm + 8.8cm + + 17 + 0.3cm + 1.2cm + =iif(Fields!Campo3_3.Value="","","*N" + Fields!Campo3_3.Value + "*") + + + textbox5 + 2cm + 6.4cm + + 16 + 2.8cm + 0.6cm + =Fields!Campo3_2.Value + + + 2.9cm + 3cm + + 15 + 9.5cm + 0.3cm + =Fields!Campo5_1.Value + + + 1.9cm + 9.3cm + + 14 + 9.5cm + 0.3cm + =Fields!Campo4_1.Value + + + 2.9cm + + 13 + 9.4cm + 0cm + + + 1.9cm + 2.6cm + + 12 + 0.1cm + 0.3cm + =Fields!Campo3_1.Value + + + 9.6cm + + 11 + 9.4cm + 0cm + + + 11cm + + 10 + 9.4cm + 0cm + + + 7.6cm + + 9 + 9.4cm + 0cm + + + 11cm + 9.37989cm + + 8 + 0cm + + + 9cm + 9.37989cm + + 7 + 0cm + + + 12.8cm + 0cm + + 6 + 9.4cm + -6.4cm + + + 3.9cm + 0cm + + 5 + 9.4cm + -3.89577cm + + + 1.9cm + + 4 + 0cm + + + 6.4cm + + 3 + 0cm + + + 3.9cm + + 2 + 0cm + + + 9.4cm + 1 + + + 0.9cm + 9.3cm + + 3 + 0.1cm + 0.5cm + =Fields!Campo2_3.Value + + + Campo2_2 + 0.3cm + 9.3cm + + 2 + 0.1cm + 0.5cm + =Fields!Campo2_2.Value + + + 1.4cm + 9.3cm + + 1 + 0.1cm + =Fields!Campo2_4.Value + + + Campo2_1 + 9.3cm + + 0.1cm + 0.3cm + =Fields!Campo2_1.Value + + + 9.5cm + 1.9cm + + + 0.1cm + + + 1.4cm + 9.1cm + + 3 + =Fields!Campo1_4.Value + + + 0.9cm + 9.1cm + + 2 + 0.5cm + =Fields!Campo1_3.Value + + + CampoA1 + 9cm + + 1 + 0.3cm + =Fields!Campo1_1.Value + + + 0.3cm + 9.1cm + + 0.5cm + =Fields!Campo1_2.Value + + + 9.2cm + 1.9cm + + + + + + + + + =Fields!CampoUDC.Value + + true + + + + 12.8cm + + it-IT + 1cm + 29.7cm + \ No newline at end of file diff --git a/GMW/Reports/SP/CartellinoTara.rdlc b/GMW/Reports/SP/CartellinoTara.rdlc new file mode 100644 index 00000000..0c9dfe0d --- /dev/null +++ b/GMW/Reports/SP/CartellinoTara.rdlc @@ -0,0 +1,2756 @@ + + + + + 945313fa-66e9-456e-b1dd-514d7a9e9842 + + SQL + Data Source=SRV-DEV01;Initial Catalog=SP_GMW + true + + + + 14.8cm + Stampa cartellino di produzione + true + 21cm + 0.25cm + true + 1cm + 1cm + 1cm + 8b67d517-f880-448b-bde4-1949893f9fcc + + + image/jpeg + /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT/wAARCAB3AJ8DASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAA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V/EXiPwJqfxv1XVbW0vdW+Idl4mt3S9uZIUMkOb+eKdvKfMYLIq4jBVVXAFn/gnZ/wQR/4KwfA39vP4OfGP42fsDa6/hLwv8SdG1PxETrmkyCK1hvI3km2fbPnCAbyB124r+rQRqMY7dOaNncsfzoA/K7/g6n/Zs/bt/bP/AGYvh5+zT+xf+z/rfjW3uvF82t+MZdKuraJbVLW3MVrDJ50qZ3vdSOMZ5t6/Cv8A4h0/+C1X/Rgfir/wZ6d/8k1/ZL5YxjJ46e1OwPf86APHP+Cf37Ndv+yB+xH8LP2ZoIEil8HeCLDT9QEeMPeiFWuZP+BTtK/1avY6TYo6UtABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAf/2Q== + + + 21cm + + + + + UDC + System.String + + + CodCS + System.String + + + codcliente + System.String + + + ragsociale + System.String + + + particolare + System.String + + + descparticolare + System.String + + + disegnogrezzo + System.String + + + esponente + System.String + + + codimpianto + System.String + + + descimpianto + System.String + + + codstampo + System.String + + + figura + System.String + + + datafus + System.DateTime + + + turnofus + System.Int32 + + + codimballo + System.String + + + codsoggetto + System.String + + + numcont + System.Int32 + + + tara + System.Double + + + qta + System.Decimal + + + codstato + System.String + + + idxposizione + System.Int32 + + + pesotot + System.Double + + + pesocad + System.Double + + + CreateDate + System.DateTime + + + ModDate + System.DateTime + + + cognome + System.String + + + nome + System.String + + + descstato + System.String + + + descimballo + System.String + + + + GMWConnectionString + StoredProcedure + dbo.stp_prtCartByUDC + true + + + + + 19cm + + 1cm + + + GMWDataSet_stp_prtCartByUDC + + + + + GMWDataSet_stp_prtCartByUDC +
+ + + + + + + FitProportional + image/jpeg + Embedded + + 100 + mm_logo + + + + + + + textbox23 + + 99 + + + + + + + + textbox8 + + 98 + + + + + + 5 + + + textbox10 + + 97 + CARTELLINO PROVVISORIO + + + + + + + textbox20 + + 96 + + + + + + + + textbox90 + + 95 + + + + + + 1cm + + +
+ + + 1.80475cm + + + 1.2533cm + + + 2.00528cm + + + 2.30607cm + + + 3.20844cm + + + 1.75462cm + + + 2.25594cm + + + 2.00528cm + + + 1.20317cm + + + 1.20315cm + + +
+ + + + + + + textbox14 + + 6 + Cliente + + + + + + + textbox39 + + 5 + + + + + + + + textbox12 + + 4 + + + + + + + + textbox50 + + 3 + + + + + + 2 + + + textbox52 + + 2 + UDC + + + + + 3 + + + textbox53 + + 1 + + + + + + + + textbox91 + + + + + + + 0.4cm + + + + + 4 + + + textbox3 + + 9 + + + + + + 2 + + + textbox56 + + 8 + =Fields!UDC.Value + + + + + 4 + + + + 7 + ="*" + Fields!UDC.Value + "*" + + + + + 1.3cm + + + + + 2 + + + textbox16 + + 15 + Famiglia + + + + + + + textbox19 + + 14 + + + + + + 4 + + + + 13 + Disegno e Esponente + + + + + + + textbox40 + + 12 + Figure + + + + + + + textbox4 + + 11 + + + + + + + + textbox93 + + 10 + + + + + + 0.5cm + + + + + 2 + + + textbox9 + + 20 + + + + + + + + textbox21 + + 19 + + + + + + 4 + + + textbox27 + + 18 + + + + + + + + textbox44 + + 17 + + + + + + 2 + + + textbox58 + + 16 + + + + + + 1.5cm + + + + + + + textbox11 + + 29 + Linea + + + + + + + textbox13 + + 28 + + + + + + + + textbox26 + + 27 + + + + + + + + textbox25 + + 26 + data + + + + + + + textbox32 + + 25 + + + + + + + + textbox63 + + 24 + + + + + + + + textbox30 + + 23 + operatore + + + + + 2 + + + textbox24 + + 22 + + + + + + + + textbox95 + + 21 + + + + + + 0.7cm + + + + + + + textbox5 + + 38 + + + + + + + + textbox17 + + 37 + + + + + + + + textbox28 + + 36 + + + + + + + + textbox43 + + 35 + + + + + + + + textbox45 + + 34 + + + + + + 2 + + + textbox65 + + 33 + + + + + + + + textbox34 + + 32 + + + + + + + + textbox61 + + 31 + + + + + + + + textbox96 + + 30 + + + + + + 0.5cm + + + + + + + textbox69 + + 46 + + + + + + + + textbox7 + + 45 + + + + + + + + textbox29 + + 44 + + + + + + + + textbox51 + + 43 + + + + + + + + textbox38 + + 42 + + + + + + 2 + + + textbox67 + + 41 + T + + + + + 2 + + + textbox18 + + 40 + =Format(Fields!Tara.Value,"n1").ToString + + + + + + + textbox97 + + 39 + Kg + + + + + 2.5cm + + + + + + + textbox41 + + 54 + + + + + + + + textbox6 + + 53 + + + + + + + + textbox33 + + 52 + + + + + + + + textbox1 + + 51 + + + + + + + + textbox15 + + 50 + + + + + + 2 + + + textbox68 + + 49 + + + + + + 2 + + + textbox37 + + 48 + + + + + + + + textbox98 + + 47 + + + + + + 0.5cm + + + + + + + textbox2 + + 64 + + + + + + + + textbox35 + + 63 + + + + + + + + textbox36 + + 62 + + + + + + + + textbox42 + + 61 + + + + + + + + textbox46 + + 60 + + + + + + + + textbox47 + + 59 + + + + + + + + textbox48 + + 58 + + + + + + + + textbox49 + + 57 + + + + + + + + textbox54 + + 56 + + + + + + + + textbox99 + + 55 + + + + + + 0.5cm + + + + + + + textbox55 + + 74 + + + + + + + + textbox57 + + 73 + + + + + + + + textbox59 + + 72 + + + + + + + + textbox60 + + 71 + + + + + + + + textbox62 + + 70 + + + + + + + + textbox64 + + 69 + + + + + + + + textbox66 + + 68 + + + + + + + + textbox70 + + 67 + + + + + + + + textbox71 + + 66 + + + + + + + + textbox100 + + 65 + + + + + + 0.5cm + + + + + + + textbox72 + + 84 + + + + + + + + textbox73 + + 83 + + + + + + + + textbox74 + + 82 + + + + + + + + textbox75 + + 81 + + + + + + + + textbox76 + + 80 + + + + + + + + textbox77 + + 79 + + + + + + + + textbox78 + + 78 + + + + + + + + textbox79 + + 77 + + + + + + + + textbox80 + + 76 + + + + + + + + textbox101 + + 75 + + + + + + 0.5cm + + + + + + + textbox81 + + 94 + + + + + + + + textbox82 + + 93 + + + + + + + + textbox83 + + 92 + + + + + + + + textbox84 + + 91 + + + + + + + + textbox85 + + 90 + + + + + + + + textbox86 + + 89 + + + + + + + + textbox87 + + 88 + + + + + + + + textbox88 + + 87 + + + + + + + + textbox89 + + 86 + + + + + + + + textbox102 + + 85 + + + + + + 2.4cm + + +
+
+
+ +
+
+ + + + =Fields!UDC.Value + + +
+
+ 12.8cm + + it-IT + 1cm + 14.8cm +
\ No newline at end of file diff --git a/GMW/Reports/SP/CartellinoWip.rdlc b/GMW/Reports/SP/CartellinoWip.rdlc new file mode 100644 index 00000000..dd65dd91 --- /dev/null +++ b/GMW/Reports/SP/CartellinoWip.rdlc @@ -0,0 +1,1411 @@ + + + + + 37647cab-a462-4a59-ae44-1bb2d82f1cff + + SQL + Data Source=SRV-DEV01;Initial Catalog=SP_GMW + true + + + + 14.8cm + Stampa cartellino di produzione + true + 21cm + 0.25cm + true + 1cm + 1cm + 1cm + 8b67d517-f880-448b-bde4-1949893f9fcc + + + image/jpeg + /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT/wAARCAB3AJ8DASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ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KfMYLIq4jBVVXAFn/gnZ/wQR/4KwfA39vP4OfGP42fsDa6/hLwv8SdG1PxETrmkyCK1hvI3km2fbPnCAbyB124r+rQRqMY7dOaNncsfzoA/K7/g6n/Zs/bt/bP/AGYvh5+zT+xf+z/rfjW3uvF82t+MZdKuraJbVLW3MVrDJ50qZ3vdSOMZ5t6/Cv8A4h0/+C1X/Rgfir/wZ6d/8k1/ZL5YxjJ46e1OwPf86APHP+Cf37Ndv+yB+xH8LP2ZoIEil8HeCLDT9QEeMPeiFWuZP+BTtK/1avY6TYo6UtABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAf/2Q== + + + 21cm + + + + + UDC + System.String + + + CodCS + System.String + + + codcliente + System.String + + + ragsociale + System.String + + + particolare + System.String + + + descparticolare + System.String + + + disegnogrezzo + System.String + + + esponente + System.String + + + codimpianto + System.String + + + descimpianto + System.String + + + codstampo + System.String + + + figura + System.String + + + datafus + System.DateTime + + + turnofus + System.Int32 + + + codimballo + System.String + + + codsoggetto + System.String + + + numcont + System.Int32 + + + tara + System.Double + + + qta + System.Decimal + + + codstato + System.String + + + idxposizione + System.Int32 + + + pesotot + System.Double + + + pesocad + System.Double + + + CreateDate + System.DateTime + + + ModDate + System.DateTime + + + cognome + System.String + + + nome + System.String + + + descstato + System.String + + + descimballo + System.String + + + CodFamiglia + System.String + + + DescFamiglia + System.String + + + + GMWConnectionString + StoredProcedure + dbo.stp_prtCartByUDC + true + + + + 19cm + + 1cm + + + GMWDataSet_stp_prtCartByUDC + + + + + GMWDataSet_stp_prtCartByUDC +
+ + + + + + + FitProportional + image/jpeg + Embedded + + 34 + mm_logo + + + + + 7 + + + textbox23 + + 33 + IDENTIFICAZIONE PRODOTTO + + + + + 2 + + + textbox15 + + 32 + true + =FormatDateTime(Globals!ExecutionTime ) + + + + + 1cm + + +
+ + + 1.80475cm + + + 1.2533cm + + + 2.00528cm + + + 2.30607cm + + + 3.20844cm + + + 1.75462cm + + + 2.25594cm + + + 2cm + + + 1.2cm + + + 1.2cm + + +
+ + + + + 5 + + + RagSociale + true + + 1 + ="UDC : " + Fields!UDC.Value + + + + + 5 + + + textbox9 + + ="*" + Fields!UDC.Value + "*" + + + + + 1.3cm + + + + + 2 + + + textbox16 + + 4 + CLIENTE + + + + + 5 + + + DescParticolare + + 3 + =TRIM(Fields!CodCliente.Value) + " " + LEFT(Fields!RagSociale.Value,50 ) + + + + + 3 + + + textbox20 + + 2 + true + + + + + + 0.5cm + + + + + 2 + + + textbox14 + + 7 + DISEGNO - ESP. + + + + + 5 + + + textbox8 + + 6 + true + =RTrim(Fields!DisegnoGrezzo.Value) + " - " + RTrim(Fields!Esponente.Value) + + + + + 3 + + + textbox1 + + 5 + true + FIGURA + + + + + 0.5cm + + + + + 7 + + + Particolare + + 9 + =Fields!Particolare.Value + + + + + 3 + + + textbox44 + + 8 + =Fields!Figura.Value + + + + + 2.3cm + + + + + 2 + + + textbox4 + + 14 + true + PARTICOLARE + + + + + 5 + + + textbox3 + + 13 + true + =Fields!DescParticolare.Value + + + + + + + textbox40 + + 12 + true + + + + + + + + textbox50 + + 11 + true + + + + + + + + textbox57 + + 10 + true + + + + + + 0.5cm + + + + + 3 + + + textbox11 + + 20 + =Fields!DescImpianto.Value + + + + + + + textbox25 + + 19 + data + + + + + + + textbox32 + + 18 + =Fields!DataFus.Value + + + + + + + textbox63 + + 17 + ="T" + Str(Fields!TurnoFus.Value) + + + + + + + textbox30 + + 16 + operatore + + + + + 3 + + + CodSoggetto + + 15 + =Fields!CodSoggetto.Value + + + + + 0.5cm + + + + + 2 + + + textbox5 + + 25 + Contenitore + + + + + + + NumCont + + 24 + =Fields!NumCont.Value + + + + + 2 + + + CodImballo + + 23 + ="Imballo " + Fields!CodImballo.Value + + + + + 2 + + + CodStato + + 22 + true + =Fields!descstato.Value + + + + + 3 + + + textbox34 + + 21 + n. pezzi + + + + + 0.5cm + + + + + 7 + + + descstato + + 27 + true + + + + + + 3 + + + Qta + + 26 + true + =Fields!Qta.Value + + + + + 2.5cm + + + + + 7 + + + descimballo + + 29 + + + + + + 3 + + + textbox49 + + 28 + Tara + + + + + 0.5cm + + + + + 7 + + + DescFamiglia + + 31 + + + + + + 3 + + + Tara + + 30 + =Fields!Tara.Value + + + + + 2.7cm + + + true +
+
+
+ +
+
+ + + + =Fields!UDC.Value + + +
+
+ 12.8cm + + it-IT + 1cm + 14.8cm +
\ No newline at end of file diff --git a/GMW/Reports/TK/CartellinoAnime.rdlc b/GMW/Reports/TK/CartellinoAnime.rdlc new file mode 100644 index 00000000..cd54e64e --- /dev/null +++ b/GMW/Reports/TK/CartellinoAnime.rdlc @@ -0,0 +1,950 @@ + + + + + 37647cab-a462-4a59-ae44-1bb2d82f1cff + GMW_Test + + + 14.8cm + Stampa cartellino di produzione + + + String + + + UTKAN12000009 + + + UDC + + + true + 21cm + 0.25cm + true + 1cm + 1cm + 1cm + 8b67d517-f880-448b-bde4-1949893f9fcc + + + image/jpeg + /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT/wAARCAB3AJ8DASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqK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O1D4xWXxF/Yh+CHxL+HOsLHJbN431OKbw7bQ28gHmK890IxNGcDMaCQkgfLX9h3lJknHWl2KP +zzQB/KD+29/wbk/8ABcvU/wBojV/EXiPwJqfxv1XVbW0vdW+Idl4mt3S9uZIUMkOb+eKdvKfMYLIq4jBVVXAFn/gnZ/wQR/4KwfA39vP4OfGP42fsDa6/hLwv8SdG1PxETrmkyCK1hvI3km2fbPnCAbyB124r+rQRqMY7dOaNncsfzoA/K7/g6n/Zs/bt/bP/AGYvh5+zT+xf+z/rfjW3uvF82t+MZdKuraJbVLW3MVrDJ50qZ3vdSOMZ5t6/Cv8A4h0/+C1X/Rgfir/wZ6d/8k1/ZL5YxjJ46e1OwPf86APHP+Cf37Ndv+yB+xH8LP2ZoIEil8HeCLDT9QEeMPeiFWuZP+BTtK/1avY6TYo6UtABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAf/2Q== + + + 21cm + + + + + UDC + System.String + + + CodCS + System.String + + + codcliente + System.String + + + ragsociale + System.String + + + particolare + System.String + + + descparticolare + System.String + + + disegnogrezzo + System.String + + + esponente + System.String + + + codimpianto + System.String + + + descimpianto + System.String + + + codstampo + System.String + + + figura + System.String + + + datafus + System.DateTime + + + turnofus + System.Int32 + + + codimballo + System.String + + + codsoggetto + System.String + + + numcont + System.Int32 + + + tara + System.Double + + + qta + System.Decimal + + + codstato + System.String + + + idxposizione + System.Int32 + + + pesotot + System.Double + + + pesocad + System.Double + + + CreateDate + System.DateTime + + + ModDate + System.DateTime + + + cognome + System.String + + + nome + System.String + + + descstato + System.String + + + descimballo + System.String + + + CodFamiglia + System.String + + + DescFamiglia + System.String + + + Note + System.String + + + NoteTratt + System.String + + + + GMWConnectionString + StoredProcedure + stp_prtCartAnimeByUDC + + + =Parameters!UDC.Value + + + true + + + + 19cm + + 1cm + + + GMWDataSet_stp_prtCartAnimeByUDC + + + + + GMWDataSet_stp_prtCartAnimeByUDC +
+ + + + + + + FitProportional + Embedded + + 25 + tk_logo + + + + + 7 + + + textbox23 + + 24 + CARTELLINO ANIME + + + + + 2 + + + textbox15 + + 23 + =FormatDateTime(Globals!ExecutionTime ) + + + + + 1cm + + +
+ + + 1.80475cm + + + 1.2533cm + + + 2.00528cm + + + 2.30607cm + + + 3.20844cm + + + 1.75462cm + + + 2.25594cm + + + 2cm + + + 1.2cm + + + 1.2cm + + + 11.46cm +
+ + + + + 5 + + + RagSociale + + 1 + ="UDC : " + Fields!UDC.Value + + + + + 5 + + + + =iif(Fields!UDC.Value="","","*" + Fields!UDC.Value + "*") + + + + + 1.3cm + + + + + 10 + + + DescLega + + 2 + + + + + + 0.5cm + + + + + 2 + + + textbox14 + + 4 + Articolo : + + + + + 8 + + + + 3 + =Fields!particolare.Value + + + + + 1.5cm + + + + + 10 + + + + 5 + =First(Fields!descparticolare.Value) + + + + + 0.8cm + + + + + 10 + + + DescLega2 + + 6 + + + + + + 0.71cm + + + + + 2 + + + DescFamiglia + + 12 + Quantità: + + + + + 4 + + + Qta_1 + + 11 + =First(Fields!Qta.Value) + + + + + + + textbox55 + + 10 + + + + + + + + textbox10 + + 9 + + + + + + + + textbox67 + + 8 + + + + + + + + textbox68 + + 7 + + + + + + 1.45cm + + + + + 2 + + + descstato + + 14 + + + + + + 8 + + + + 13 + + + + + + 1.3cm + + + + + 2 + + + + 19 + Imballo : + + + + + 2 + + + codimballo + + 18 + =First(Fields!codimballo.Value) + + + + + 3 + + + textbox7 + + 17 + Creazione UDC: + + + + + 2 + + + textbox5 + + 16 + =Fields!CreateDate.Value + + + + + + + + 15 + + + + + + 0.8cm + + + + + 2 + + + textbox6 + + 21 + Note : + + + + + 8 + + + + 20 + =First(Fields!Note.Value) + + + + + 1.5cm + + + + + 10 + + + textbox1 + + 22 + ="Operatore : " + trim(Fields!cognome.Value) + " " + trim(Fields!nome.Value) + + + + + 0.6cm + + + true +
+
+
+ 0.5cm + + 11.6cm +
+
+ + + + =Fields!UDC.Value + + +
+
+ 12.8cm + + it-IT + 1cm + 14.8cm +
\ No newline at end of file diff --git a/GMW/Reports/TK/CartellinoFinito.rdlc b/GMW/Reports/TK/CartellinoFinito.rdlc new file mode 100644 index 00000000..41819dd6 --- /dev/null +++ b/GMW/Reports/TK/CartellinoFinito.rdlc @@ -0,0 +1,1411 @@ + + + + + 37647cab-a462-4a59-ae44-1bb2d82f1cff + + SQL + Data Source=SRV-DEV01;Initial Catalog=SP_GMW + true + + + + 14.8cm + Stampa cartellino di produzione + true + 21cm + 0.25cm + true + 1cm + 1cm + 1cm + 8b67d517-f880-448b-bde4-1949893f9fcc + + + image/jpeg + /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT/wAARCAB3AJ8DASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8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1PxETrmkyCK1hvI3km2fbPnCAbyB124r+rQRqMY7dOaNncsfzoA/K7/g6n/Zs/bt/bP/AGYvh5+zT+xf+z/rfjW3uvF82t+MZdKuraJbVLW3MVrDJ50qZ3vdSOMZ5t6/Cv8A4h0/+C1X/Rgfir/wZ6d/8k1/ZL5YxjJ46e1OwPf86APHP+Cf37Ndv+yB+xH8LP2ZoIEil8HeCLDT9QEeMPeiFWuZP+BTtK/1avY6TYo6UtABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAf/2Q== + + + 21cm + + + + + UDC + System.String + + + CodCS + System.String + + + codcliente + System.String + + + ragsociale + System.String + + + particolare + System.String + + + descparticolare + System.String + + + disegnogrezzo + System.String + + + esponente + System.String + + + codimpianto + System.String + + + descimpianto + System.String + + + codstampo + System.String + + + figura + System.String + + + datafus + System.DateTime + + + turnofus + System.Int32 + + + codimballo + System.String + + + codsoggetto + System.String + + + numcont + System.Int32 + + + tara + System.Double + + + qta + System.Decimal + + + codstato + System.String + + + idxposizione + System.Int32 + + + pesotot + System.Double + + + pesocad + System.Double + + + CreateDate + System.DateTime + + + ModDate + System.DateTime + + + cognome + System.String + + + nome + System.String + + + descstato + System.String + + + descimballo + System.String + + + CodFamiglia + System.String + + + DescFamiglia + System.String + + + + GMWConnectionString + StoredProcedure + dbo.stp_prtCartByUDC + true + + + + 19cm + + 1cm + + + GMWDataSet_stp_prtCartByUDC + + + + + GMWDataSet_stp_prtCartByUDC +
+ + + + + + + FitProportional + image/jpeg + Embedded + + 34 + mm_logo + + + + + 7 + + + textbox23 + + 33 + IDENTIFICAZIONE PRODOTTO FINITO + + + + + 2 + + + textbox15 + + 32 + true + =FormatDateTime(Globals!ExecutionTime ) + + + + + 1cm + + +
+ + + 1.80475cm + + + 1.2533cm + + + 2.00528cm + + + 2.30607cm + + + 3.20844cm + + + 1.75462cm + + + 2.25594cm + + + 2cm + + + 1.2cm + + + 1.2cm + + +
+ + + + + 5 + + + RagSociale + true + + 1 + ="UDC : " + Fields!UDC.Value + + + + + 5 + + + textbox9 + + ="*" + Fields!UDC.Value + "*" + + + + + 1.3cm + + + + + 2 + + + textbox16 + + 4 + CLIENTE + + + + + 5 + + + DescParticolare + + 3 + =TRIM(Fields!CodCliente.Value) + " " + LEFT(Fields!RagSociale.Value,50 ) + + + + + 3 + + + textbox20 + + 2 + true + + + + + + 0.5cm + + + + + 2 + + + textbox14 + + 7 + DISEGNO - ESP. + + + + + 5 + + + textbox8 + + 6 + true + =RTrim(Fields!DisegnoGrezzo.Value) + " - " + RTrim(Fields!Esponente.Value) + + + + + 3 + + + textbox1 + + 5 + true + FIGURA + + + + + 0.5cm + + + + + 7 + + + Particolare + + 9 + =Fields!Particolare.Value + + + + + 3 + + + textbox44 + + 8 + =Fields!Figura.Value + + + + + 2.3cm + + + + + 2 + + + textbox4 + + 14 + true + PARTICOLARE + + + + + 5 + + + textbox3 + + 13 + true + =Fields!DescParticolare.Value + + + + + + + textbox40 + + 12 + true + + + + + + + + textbox50 + + 11 + true + + + + + + + + textbox57 + + 10 + true + + + + + + 0.5cm + + + + + 3 + + + textbox11 + + 20 + =Fields!DescImpianto.Value + + + + + + + textbox25 + + 19 + data + + + + + + + textbox32 + + 18 + =Fields!DataFus.Value + + + + + + + textbox63 + + 17 + ="T" + Str(Fields!TurnoFus.Value) + + + + + + + textbox30 + + 16 + operatore + + + + + 3 + + + CodSoggetto + + 15 + =Fields!CodSoggetto.Value + + + + + 0.5cm + + + + + 2 + + + textbox5 + + 25 + Contenitore + + + + + + + NumCont + + 24 + =Fields!NumCont.Value + + + + + 2 + + + CodImballo + + 23 + ="Imballo " + Fields!CodImballo.Value + + + + + 2 + + + CodStato + + 22 + true + =Fields!descstato.Value + + + + + 3 + + + textbox34 + + 21 + n. pezzi + + + + + 0.5cm + + + + + 7 + + + descstato + + 27 + true + + + + + + 3 + + + Qta + + 26 + true + =Fields!Qta.Value + + + + + 2.5cm + + + + + 7 + + + descimballo + + 29 + + + + + + 3 + + + textbox49 + + 28 + Tara + + + + + 0.5cm + + + + + 7 + + + DescFamiglia + + 31 + + + + + + 3 + + + Tara + + 30 + =Fields!Tara.Value + + + + + 2.7cm + + + true +
+
+
+ +
+
+ + + + =Fields!UDC.Value + + +
+
+ 12.8cm + + it-IT + 1cm + 14.8cm +
\ No newline at end of file diff --git a/GMW/Reports/TK/CartellinoFus.rdlc b/GMW/Reports/TK/CartellinoFus.rdlc new file mode 100644 index 00000000..0c0ef960 --- /dev/null +++ b/GMW/Reports/TK/CartellinoFus.rdlc @@ -0,0 +1,1411 @@ + + + + + 37647cab-a462-4a59-ae44-1bb2d82f1cff + + SQL + Data Source=SRV-DEV01;Initial Catalog=SP_GMW + true + + + + 14.8cm + Stampa cartellino di produzione + true + 21cm + 0.25cm + true + 1cm + 1cm + 1cm + 8b67d517-f880-448b-bde4-1949893f9fcc + + + image/jpeg + /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT/wAARCAB3AJ8DASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uH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GcDMaCQkgfLX9h3lJknHWl2KP +zzQB/KD+29/wbk/8ABcvU/wBojV/EXiPwJqfxv1XVbW0vdW+Idl4mt3S9uZIUMkOb+eKdvKfMYLIq4jBVVXAFn/gnZ/wQR/4KwfA39vP4OfGP42fsDa6/hLwv8SdG1PxETrmkyCK1hvI3km2fbPnCAbyB124r+rQRqMY7dOaNncsfzoA/K7/g6n/Zs/bt/bP/AGYvh5+zT+xf+z/rfjW3uvF82t+MZdKuraJbVLW3MVrDJ50qZ3vdSOMZ5t6/Cv8A4h0/+C1X/Rgfir/wZ6d/8k1/ZL5YxjJ46e1OwPf86APHP+Cf37Ndv+yB+xH8LP2ZoIEil8HeCLDT9QEeMPeiFWuZP+BTtK/1avY6TYo6UtABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAf/2Q== + + + 21cm + + + + + UDC + System.String + + + CodCS + System.String + + + codcliente + System.String + + + ragsociale + System.String + + + particolare + System.String + + + descparticolare + System.String + + + disegnogrezzo + System.String + + + esponente + System.String + + + codimpianto + System.String + + + descimpianto + System.String + + + codstampo + System.String + + + figura + System.String + + + datafus + System.DateTime + + + turnofus + System.Int32 + + + codimballo + System.String + + + codsoggetto + System.String + + + numcont + System.Int32 + + + tara + System.Double + + + qta + System.Decimal + + + codstato + System.String + + + idxposizione + System.Int32 + + + pesotot + System.Double + + + pesocad + System.Double + + + CreateDate + System.DateTime + + + ModDate + System.DateTime + + + cognome + System.String + + + nome + System.String + + + descstato + System.String + + + descimballo + System.String + + + CodFamiglia + System.String + + + DescFamiglia + System.String + + + + GMWConnectionString + StoredProcedure + dbo.stp_prtCartByUDC + true + + + + 19cm + + 1cm + + + GMWDataSet_stp_prtCartByUDC + + + + + GMWDataSet_stp_prtCartByUDC +
+ + + + + + + FitProportional + image/jpeg + Embedded + + 34 + mm_logo + + + + + 7 + + + textbox23 + + 33 + IDENTIFICAZIONE PRODOTTO FUSO + + + + + 2 + + + textbox15 + + 32 + true + =FormatDateTime(Globals!ExecutionTime ) + + + + + 1cm + + +
+ + + 1.80475cm + + + 1.2533cm + + + 2.00528cm + + + 2.30607cm + + + 3.20844cm + + + 1.75462cm + + + 2.25594cm + + + 2cm + + + 1.2cm + + + 1.2cm + + +
+ + + + + 5 + + + RagSociale + true + + 1 + ="UDC : " + Fields!UDC.Value + + + + + 5 + + + textbox9 + + ="*" + Fields!UDC.Value + "*" + + + + + 1.3cm + + + + + 2 + + + textbox16 + + 4 + CLIENTE + + + + + 5 + + + DescParticolare + + 3 + =TRIM(Fields!CodCliente.Value) + " " + LEFT(Fields!RagSociale.Value,50 ) + + + + + 3 + + + textbox20 + + 2 + true + + + + + + 0.5cm + + + + + 2 + + + textbox14 + + 7 + DISEGNO - ESP. + + + + + 5 + + + textbox8 + + 6 + true + =RTrim(Fields!DisegnoGrezzo.Value) + " - " + RTrim(Fields!Esponente.Value) + + + + + 3 + + + textbox1 + + 5 + true + FIGURA + + + + + 0.5cm + + + + + 7 + + + Particolare + + 9 + =Fields!Particolare.Value + + + + + 3 + + + textbox44 + + 8 + =Fields!Figura.Value + + + + + 2.3cm + + + + + 2 + + + textbox4 + + 14 + true + PARTICOLARE + + + + + 5 + + + textbox3 + + 13 + true + =Fields!DescParticolare.Value + + + + + + + textbox40 + + 12 + true + + + + + + + + textbox50 + + 11 + true + + + + + + + + textbox57 + + 10 + true + + + + + + 0.5cm + + + + + 3 + + + textbox11 + + 20 + =Fields!DescImpianto.Value + + + + + + + textbox25 + + 19 + data + + + + + + + textbox32 + + 18 + =Fields!DataFus.Value + + + + + + + textbox63 + + 17 + ="T" + Str(Fields!TurnoFus.Value) + + + + + + + textbox30 + + 16 + operatore + + + + + 3 + + + CodSoggetto + + 15 + =Fields!CodSoggetto.Value + + + + + 0.5cm + + + + + 2 + + + textbox5 + + 25 + Contenitore + + + + + + + NumCont + + 24 + =Fields!NumCont.Value + + + + + 2 + + + CodImballo + + 23 + ="Imballo " + Fields!CodImballo.Value + + + + + 2 + + + CodStato + + 22 + true + =Fields!descstato.Value + + + + + 3 + + + textbox34 + + 21 + n. pezzi + + + + + 0.5cm + + + + + 7 + + + descstato + + 27 + true + + + + + + 3 + + + Qta + + 26 + true + =Fields!Qta.Value + + + + + 2.5cm + + + + + 7 + + + descimballo + + 29 + + + + + + 3 + + + textbox49 + + 28 + Tara + + + + + 0.5cm + + + + + 7 + + + DescFamiglia + + 31 + + + + + + 3 + + + Tara + + 30 + =Fields!Tara.Value + + + + + 2.7cm + + + true +
+
+
+ +
+
+ + + + =Fields!UDC.Value + + +
+
+ 12.8cm + + it-IT + 1cm + 14.8cm +
\ No newline at end of file diff --git a/GMW/Reports/TK/CartellinoLiquidiF10.rdlc b/GMW/Reports/TK/CartellinoLiquidiF10.rdlc new file mode 100644 index 00000000..4373ebca --- /dev/null +++ b/GMW/Reports/TK/CartellinoLiquidiF10.rdlc @@ -0,0 +1,1651 @@ + + + + + 37647cab-a462-4a59-ae44-1bb2d82f1cff + GMW_Test + + + 14.8cm + Stampa cartellino di produzione + + + String + + + USPLI20000006 + + + UDC + + + true + 21cm + 0.25cm + true + 1cm + 1cm + 1cm + 8b67d517-f880-448b-bde4-1949893f9fcc + + + image/jpeg + /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT/wAARCAB3AJ8DASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBka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Zx15r9SKQop6k9c9aAP41P21f+CC3/AAU3/Yx+JWreDtX/AGWvF/jLQLS9kXSfGXgfQ5tUsNQt9x8ub/Rld4GZOTFKFde+RzW5/wAE2f8AgmN/wXO1D4xWXxF/Yh+CHxL+HOsLHJbN431OKbw7bQ28gHmK890IxNGcDMaCQkgfLX9h3lJknHWl2KP +zzQB/KD+29/wbk/8ABcvU/wBojV/EXiPwJqfxv1XVbW0vdW+Idl4mt3S9uZIUMkOb+eKdvKfMYLIq4jBVVXAFn/gnZ/wQR/4KwfA39vP4OfGP42fsDa6/hLwv8SdG1PxETrmkyCK1hvI3km2fbPnCAbyB124r+rQRqMY7dOaNncsfzoA/K7/g6n/Zs/bt/bP/AGYvh5+zT+xf+z/rfjW3uvF82t+MZdKuraJbVLW3MVrDJ50qZ3vdSOMZ5t6/Cv8A4h0/+C1X/Rgfir/wZ6d/8k1/ZL5YxjJ46e1OwPf86APHP+Cf37Ndv+yB+xH8LP2ZoIEil8HeCLDT9QEeMPeiFWuZP+BTtK/1avY6TYo6UtABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAf/2Q== + + + 21cm + + + + + UDC + System.String + + + CodCS + System.String + + + codcliente + System.String + + + ragsociale + System.String + + + particolare + System.String + + + descparticolare + System.String + + + disegnogrezzo + System.String + + + esponente + System.String + + + codimpianto + System.String + + + descimpianto + System.String + + + codstampo + System.String + + + figura + System.String + + + datafus + System.DateTime + + + turnofus + System.Int32 + + + codimballo + System.String + + + codsoggetto + System.String + + + numcont + System.Int32 + + + tara + System.Double + + + qta + System.Decimal + + + codstato + System.String + + + idxposizione + System.Int32 + + + pesotot + System.Double + + + pesocad + System.Double + + + CreateDate + System.DateTime + + + ModDate + System.DateTime + + + cognome + System.String + + + nome + System.String + + + descstato + System.String + + + descimballo + System.String + + + CodFamiglia + System.String + + + DescFamiglia + System.String + + + Note + System.String + + + NoteTratt + System.String + + + + GMWConnectionString + StoredProcedure + stp_prtCartLiquidi_F10ByUDC + + + =Parameters!UDC.Value + + + true + + + + 19cm + + 1cm + + + GMWDataSet_stp_prtCartLiquidi_F10ByUDC + + + + + GMWDataSet_stp_prtCartLiquidi_F10ByUDC +
+ + + + + + + textbox36 + + 48 + + + + + + 7 + + + textbox23 + + 47 + CARTELLINO LIQUIDI + + + + + 2 + + + textbox15 + + 46 + =FormatDateTime(Globals!ExecutionTime ) + + + + + 1cm + + +
+ + + 1.80475cm + + + 1.1533cm + + + 2.10528cm + + + 2.30607cm + + + 3.20844cm + + + 1.75462cm + + + 2.25594cm + + + 2cm + + + 1.2cm + + + 1.2cm + + + 11.4cm +
+ + + + + 2 + + + RagSociale + + 2 + ="UDC : " + + + + + 3 + + + textbox20 + + 1 + =Fields!UDC.Value + + + + + 5 + + + + =iif(Fields!UDC.Value="","","*" + Fields!UDC.Value + "*") + + + + + 1.3cm + + + + + 10 + + + DescLega + + 3 + + + + + + 0.4cm + + + + + 2 + + + textbox14 + + 5 + Articolo : + + + + + 8 + + + + 4 + =First(Fields!descparticolare.Value) + + + + + 1.3cm + + + + + + + + 8 + + + + + + + + textbox5 + + 7 + + + + + + 8 + + + textbox13 + + 6 + =First(Fields!particolare.Value) + + + + + 0.8cm + + + + + 2 + + + DescFamiglia + + 13 + PEZZI : + + + + + 2 + + + Qta_1 + + 12 + =First(Fields!Qta.Value) + + + + + + + textbox9 + + 11 + true + + + + + + 4 + + + textbox1 + + 10 + true + ="DISEGNO : " + First(Fields!disegnogrezzo.Value).ToString + + + + + + + textbox10 + + 9 + true + + + + + + 1.45cm + + + + + 2 + + + disegnogrezzo + + 20 + + + + + + 3 + + + textbox16 + + 19 + + + + + + + + textbox24 + + 18 + true + + + + + + + + textbox37 + + 17 + true + + + + + + + + textbox38 + + 16 + true + + + + + + + + textbox39 + + 15 + true + + + + + + + + textbox40 + + 14 + true + + + + + + 0.2cm + + + + + 2 + + + descstato + + 25 + Imballo : + + + + + 3 + + + + 24 + =First(Fields!codimballo.Value) + + + + + 3 + + + textbox12 + + 23 + DUREZZA + + + + + + + textbox21 + + 22 + x + + + + + + + textbox26 + + 21 + true + + + + + + 1.1cm + + + + + 2 + + + + 32 + Trattamenti : + + + + + + + + 31 + + + + + + + + + 30 + true + + + + + + + + + 29 + true + + + + + + 3 + + + + 28 + MECCANICHE + + + + + + + + 27 + + + + + + + + + 26 + true + + + + + + 1.1cm + + + + + 5 + + + textbox6 + + 36 + =First(Fields!NoteTratt.Value) + + + + + 3 + + + textbox8 + + 35 + LIQUIDI + + + + + + + textbox29 + + 34 + x + + + + + + + textbox30 + + 33 + true + + + + + + 1.1cm + + + + + 2 + + + + 43 + + + + + + 3 + + + + 42 + + + + + + + + + 41 + true + + + + + + + + + 40 + true + + + + + + + + + 39 + true + + + + + + + + + 38 + true + + + + + + + + + 37 + true + + + + + + 0.2cm + + + + + 2 + + + + 45 + Note : + + + + + 8 + + + codimballo + + 44 + =First(Fields!Note.Value) + + + + + 1.45cm + + + true +
+
+
+ 1cm + + 11.5cm +
+
+ + + + =Fields!UDC.Value + + +
+
+ 12.8cm + + it-IT + 1cm + 14.8cm +
\ No newline at end of file diff --git a/GMW/Reports/TK/CartellinoLiquidiF18.rdlc b/GMW/Reports/TK/CartellinoLiquidiF18.rdlc new file mode 100644 index 00000000..69c132ef --- /dev/null +++ b/GMW/Reports/TK/CartellinoLiquidiF18.rdlc @@ -0,0 +1,1056 @@ + + + + + 37647cab-a462-4a59-ae44-1bb2d82f1cff + GMW_Test + + + 14.8cm + Stampa cartellino di produzione + + + String + + + USPLI20000006 + + + UDC + + + true + 21cm + 0.25cm + true + 1cm + 1cm + 1cm + 8b67d517-f880-448b-bde4-1949893f9fcc + + + image/jpeg + /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQ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jwFIyB0B5xSiFAc+g49qAP46If+Dbb/gtjLMkLfsH67HvcLvfxHpAA9z/pfSv30/4K2f8ABJzxP8ZP+CFGj/sKfs8eC01zxf8ADPR/DjeDNMt5YomvLuxEdvcbXlZVDPBJdvksMk++K/SQKBwKQQoO5P1P+c0Afxy/8Q3f/BbX/ownX/8AwodJ/wDkuv3U/wCDcj9jj9sj4Ff8E3fiJ+wz+3j8EtW8E28+uainh83mo2k5m0zU7QJOsZglkC7JRK/zbeZx15r9SKQop6k9c9aAP41P21f+CC3/AAU3/Yx+JWreDtX/AGWvF/jLQLS9kXSfGXgfQ5tUsNQt9x8ub/Rld4GZOTFKFde+RzW5/wAE2f8AgmN/wXO1D4xWXxF/Yh+CHxL+HOsLHJbN431OKbw7bQ28gHmK890IxNGcDMaCQkgfLX9h3lJknHWl2KP +zzQB/KD+29/wbk/8ABcvU/wBojV/EXiPwJqfxv1XVbW0vdW+Idl4mt3S9uZIUMkOb+eKdvKfMYLIq4jBVVXAFn/gnZ/wQR/4KwfA39vP4OfGP42fsDa6/hLwv8SdG1PxETrmkyCK1hvI3km2fbPnCAbyB124r+rQRqMY7dOaNncsfzoA/K7/g6n/Zs/bt/bP/AGYvh5+zT+xf+z/rfjW3uvF82t+MZdKuraJbVLW3MVrDJ50qZ3vdSOMZ5t6/Cv8A4h0/+C1X/Rgfir/wZ6d/8k1/ZL5YxjJ46e1OwPf86APHP+Cf37Ndv+yB+xH8LP2ZoIEil8HeCLDT9QEeMPeiFWuZP+BTtK/1avY6TYo6UtABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAf/2Q== + + + 21cm + + + + + UDC + System.String + + + CodCS + System.String + + + codcliente + System.String + + + ragsociale + System.String + + + particolare + System.String + + + descparticolare + System.String + + + disegnogrezzo + System.String + + + esponente + System.String + + + codimpianto + System.String + + + descimpianto + System.String + + + codstampo + System.String + + + figura + System.String + + + datafus + System.DateTime + + + turnofus + System.Int32 + + + codimballo + System.String + + + codsoggetto + System.String + + + numcont + System.Int32 + + + tara + System.Double + + + qta + System.Decimal + + + codstato + System.String + + + idxposizione + System.Int32 + + + pesotot + System.Double + + + pesocad + System.Double + + + CreateDate + System.DateTime + + + ModDate + System.DateTime + + + cognome + System.String + + + nome + System.String + + + descstato + System.String + + + descimballo + System.String + + + CodFamiglia + System.String + + + DescFamiglia + System.String + + + Note + System.String + + + NoteTratt + System.String + + + + GMWConnectionString + StoredProcedure + stp_prtCartLiquidi_F18ByUDC + + + =Parameters!UDC.Value + + + true + + + + 19cm + + 1cm + + + GMWDataSet_stp_prtCartLiquidi_F18ByUDC + + + + + GMWDataSet_stp_prtCartLiquidi_F18ByUDC +
+ + + + + + + textbox36 + + 37 + + + + + + 7 + + + textbox23 + + 36 + CARTELLINO LIQUIDI F18 + + + + + 2 + + + textbox15 + + 35 + =FormatDateTime(Globals!ExecutionTime ) + + + + + 1cm + + +
+ + + 1.80475cm + + + 1.2533cm + + + 2.00528cm + + + 2.30607cm + + + 3.20844cm + + + 1.75462cm + + + 2.25594cm + + + 2cm + + + 1.2cm + + + 1.2cm + + + 11.1cm +
+ + + + + 5 + + + RagSociale + + 1 + ="UDC : " + Fields!UDC.Value + + + + + 5 + + + + =iif(Fields!UDC.Value="","","*" + Fields!UDC.Value + "*") + + + + + 1.3cm + + + + + 10 + + + DescLega + + 2 + + + + + + 0.5cm + + + + + 2 + + + textbox14 + + 4 + Articolo : + + + + + 8 + + + + 3 + =Fields!particolare.Value + + + + + 1.5cm + + + + + 10 + + + + 5 + =First(Fields!descparticolare.Value) + + + + + 0.5cm + + + + + 10 + + + DescLega2 + + 6 + + + + + + 1cm + + + + + 2 + + + DescFamiglia + + 12 + Quantità: + + + + + 4 + + + Qta_1 + + 11 + =First(Fields!Qta.Value) + + + + + + + textbox55 + + 10 + + + + + + + + textbox10 + + 9 + + + + + + + + textbox67 + + 8 + + + + + + + + textbox68 + + 7 + + + + + + 1.25cm + + + + + 2 + + + descstato + + 14 + + + + + + 8 + + + + 13 + + + + + + 1.5cm + + + + + 2 + + + textbox6 + + 16 + Note : + + + + + 8 + + + + 15 + =First(Fields!Note.Value) + + + + + 1.5cm + + + + + 2 + + + + 24 + Imballo : + + + + + 2 + + + codimballo + + 23 + =First(Fields!codimballo.Value) + + + + + + + textbox7 + + 22 + true + + + + + + + + textbox8 + + 21 + true + + + + + + + + + 20 + + + + + + + + + 19 + + + + + + + + + 18 + + + + + + + + + 17 + + + + + + 0.8cm + + + + + + + textbox1 + + 34 + + + + + + + + textbox2 + + 33 + + + + + + + + textbox11 + + 32 + + + + + + + + textbox12 + + 31 + + + + + + + + textbox18 + + 30 + + + + + + + + textbox26 + + 29 + + + + + + + + textbox27 + + 28 + + + + + + + + textbox28 + + 27 + + + + + + + + textbox29 + + 26 + + + + + + + + textbox30 + + 25 + + + + + + 0.25cm + + + true +
+
+
+ 1cm + + 11.5cm +
+
+ + + + =Fields!UDC.Value + + +
+
+ 12.8cm + + it-IT + 1cm + 14.8cm +
\ No newline at end of file diff --git a/GMW/Reports/TK/CartellinoMP.rdlc b/GMW/Reports/TK/CartellinoMP.rdlc new file mode 100644 index 00000000..16326a43 --- /dev/null +++ b/GMW/Reports/TK/CartellinoMP.rdlc @@ -0,0 +1,808 @@ + + + + + 37647cab-a462-4a59-ae44-1bb2d82f1cff + + SQL + Data Source=SRV65;Initial Catalog=SP_GMW + true + + + + 14.8cm + Stampa cartellino di produzione + true + 21cm + 0.25cm + true + 1cm + 1cm + 1cm + 8b67d517-f880-448b-bde4-1949893f9fcc + + + image/jpeg + /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUF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ABJzxP8ZP+CFGj/sKfs8eC01zxf8ADPR/DjeDNMt5YomvLuxEdvcbXlZVDPBJdvksMk++K/SQKBwKQQoO5P1P+c0Afxy/8Q3f/BbX/ownX/8AwodJ/wDkuv3U/wCDcj9jj9sj4Ff8E3fiJ+wz+3j8EtW8E28+uainh83mo2k5m0zU7QJOsZglkC7JRK/zbeZx15r9SKQop6k9c9aAP41P21f+CC3/AAU3/Yx+JWreDtX/AGWvF/jLQLS9kXSfGXgfQ5tUsNQt9x8ub/Rld4GZOTFKFde+RzW5/wAE2f8AgmN/wXO1D4xWXxF/Yh+CHxL+HOsLHJbN431OKbw7bQ28gHmK890IxNGcDMaCQkgfLX9h3lJknHWl2KP +zzQB/KD+29/wbk/8ABcvU/wBojV/EXiPwJqfxv1XVbW0vdW+Idl4mt3S9uZIUMkOb+eKdvKfMYLIq4jBVVXAFn/gnZ/wQR/4KwfA39vP4OfGP42fsDa6/hLwv8SdG1PxETrmkyCK1hvI3km2fbPnCAbyB124r+rQRqMY7dOaNncsfzoA/K7/g6n/Zs/bt/bP/AGYvh5+zT+xf+z/rfjW3uvF82t+MZdKuraJbVLW3MVrDJ50qZ3vdSOMZ5t6/Cv8A4h0/+C1X/Rgfir/wZ6d/8k1/ZL5YxjJ46e1OwPf86APHP+Cf37Ndv+yB+xH8LP2ZoIEil8HeCLDT9QEeMPeiFWuZP+BTtK/1avY6TYo6UtABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAf/2Q== + + + 21cm + + + + + nRapQual + System.Decimal + + + DataRapQual + System.Decimal + + + ProgUDC + System.String + + + CodFor + System.String + + + DestTerz + System.String + + + CodLega + System.String + + + DataPrelFus + System.Decimal + + + TurnoPrelFus + System.String + + + Qta + System.Decimal + + + DestLega + System.String + + + LegaScaric + System.String + + + BenesQual + System.String + + + UDC + System.String + + + DescFornitore + System.String + + + DescFornitore2 + System.String + + + CodLega2 + System.String + + + DescLega + System.String + + + DescLega2 + System.String + + + Note + System.String + + + + GMWConnectionString + StoredProcedure + stp_prtCartMatPrimaByUDC + true + + + + 19cm + + 1cm + + + GMWDataSet_stp_prtCartByUDC + + + + + GMWDataSet_stp_prtCartByUDC +
+ + + + + + + textbox36 + + 27 + + + + + + 7 + + + textbox23 + + 26 + CARTELLINO LEGA + + + + + 2 + + + textbox15 + + 25 + =FormatDateTime(Globals!ExecutionTime ) + + + + + 1cm + + +
+ + + 1.80475cm + + + 1.2533cm + + + 2.00528cm + + + 2.30607cm + + + 3.20844cm + + + 1.75462cm + + + 2.25594cm + + + 2cm + + + 1.2cm + + + 1.2cm + + + 11.35cm +
+ + + + + 5 + + + RagSociale + + 1 + ="UDC : " + Fields!UDC.Value + + + + + 5 + + + + =iif(Fields!UDC.Value="","","*" + Fields!UDC.Value + "*") + + + + + 1.3cm + + + + + 3 + + + textbox14 + + 3 + Cod. Articolo: + + + + + 7 + + + + 2 + =Fields!CodLega.Value + + + + + 1.5cm + + + + + 10 + + + DescLega + + 4 + =Fields!DescLega.Value + + + + + 1cm + + + + + 10 + + + DescLega2 + + 5 + =Fields!DescLega2.Value + + + + + 1cm + + + + + 2 + + + textbox6 + + 7 + Fornitore: + + + + + 8 + + + + 6 + =Fields!DescFornitore.Value + + + + + 1.3cm + + + + + 2 + + + descstato + + 9 + Partita: + + + + + 8 + + + + 8 + =Cstr(Fields!nRapQual.Value) + " / " + Cstr(Fields!DataRapQual.Value) + + + + + 1.5cm + + + + + 2 + + + DescFamiglia + + 16 + Quantità: + + + + + 3 + + + Qta + + 15 + =Fields!Qta.Value + + + + + + + textbox54 + + 14 + + + + + + + + textbox55 + + 13 + + + + + + + + textbox10 + + 12 + + + + + + + + textbox67 + + 11 + + + + + + + + textbox68 + + 10 + + + + + + 1.2cm + + + + + 2 + + + + 22 + UDC ACG: + + + + + 4 + + + ProgUDC + + 21 + =Fields!ProgUDC.Value + + + + + + + + 20 + + + + + + + + + 19 + + + + + + + + + 18 + + + + + + + + + 17 + + + + + + 0.8cm + + + + + 2 + + + textbox1 + + 24 + Note: + + + + + 8 + + + Note + + 23 + =Fields!Note.Value + + + + + 0.75cm + + + true +
+
+
+ 1cm + + 11.6cm +
+
+ + + + =Fields!UDC.Value + + +
+
+ 12.8cm + + it-IT + 1cm + 14.8cm +
\ No newline at end of file diff --git a/GMW/Reports/TK/CartellinoOdette.rdlc b/GMW/Reports/TK/CartellinoOdette.rdlc new file mode 100644 index 00000000..ccaf391b --- /dev/null +++ b/GMW/Reports/TK/CartellinoOdette.rdlc @@ -0,0 +1,1759 @@ + + + + + 945313fa-66e9-456e-b1dd-514d7a9e9842 + + SQL + Data Source=SRV65;Initial Catalog=SP_GMW + true + + + + 14.8cm + Stampa cartellino di produzione + + + String + + + UMAB210000007 + + + UDC + + + true + 21cm + 0.1cm + true + 1cm + 1cm + 1cm + 8b67d517-f880-448b-bde4-1949893f9fcc + + + image/jpeg + /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT/wAARCAB3AJ8DASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+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MaCQkgfLX9h3lJknHWl2KP +zzQB/KD+29/wbk/8ABcvU/wBojV/EXiPwJqfxv1XVbW0vdW+Idl4mt3S9uZIUMkOb+eKdvKfMYLIq4jBVVXAFn/gnZ/wQR/4KwfA39vP4OfGP42fsDa6/hLwv8SdG1PxETrmkyCK1hvI3km2fbPnCAbyB124r+rQRqMY7dOaNncsfzoA/K7/g6n/Zs/bt/bP/AGYvh5+zT+xf+z/rfjW3uvF82t+MZdKuraJbVLW3MVrDJ50qZ3vdSOMZ5t6/Cv8A4h0/+C1X/Rgfir/wZ6d/8k1/ZL5YxjJ46e1OwPf86APHP+Cf37Ndv+yB+xH8LP2ZoIEil8HeCLDT9QEeMPeiFWuZP+BTtK/1avY6TYo6UtABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAf/2Q== + + + 21cm + + + + + CampoUDC + System.String + + + Campo1_1 + System.String + + + Campo1_2 + System.String + + + Campo1_3 + System.String + + + Campo1_4 + System.String + + + Campo1_5 + System.String + + + Campo2_1 + System.String + + + Campo2_2 + System.String + + + Campo2_3 + System.String + + + Campo2_4 + System.String + + + Campo2_5 + System.String + + + Campo3_1 + System.String + + + Campo3_2 + System.String + + + Campo3_3 + System.String + + + Campo3_4 + System.String + + + Campo3_5 + System.String + + + Campo4_1 + System.String + + + Campo4_2 + System.String + + + Campo4_3 + System.String + + + Campo4_4 + System.String + + + Campo4_5 + System.String + + + Campo5_1 + System.String + + + Campo5_2 + System.String + + + Campo5_3 + System.String + + + Campo5_4 + System.String + + + Campo5_5 + System.String + + + Campo6_1 + System.String + + + Campo6_2 + System.String + + + Campo6_3 + System.String + + + Campo6_4 + System.String + + + Campo6_5 + System.String + + + Campo7_1 + System.String + + + Campo7_2 + System.String + + + Campo7_3 + System.String + + + Campo7_4 + System.String + + + Campo7_5 + System.String + + + Campo8_1 + System.String + + + Campo8_2 + System.String + + + Campo8_3 + System.String + + + Campo8_4 + System.String + + + Campo8_5 + System.String + + + Campo9_1 + System.String + + + Campo9_2 + System.String + + + Campo9_3 + System.String + + + Campo9_4 + System.String + + + Campo9_5 + System.String + + + Campo10_1 + System.String + + + Campo10_2 + System.String + + + Campo10_3 + System.String + + + Campo10_4 + System.String + + + Campo10_5 + System.String + + + Campo11_1_1 + System.String + + + Campo11_1_2 + System.String + + + Campo11_1_3 + System.String + + + Campo11_1_4 + System.String + + + Campo11_1_5 + System.String + + + Campo11_2_1 + System.String + + + Campo11_2_2 + System.String + + + Campo11_2_3 + System.String + + + Campo11_2_4 + System.String + + + Campo11_2_5 + System.String + + + Campo12_1 + System.String + + + Campo12_2 + System.String + + + Campo12_3 + System.String + + + Campo12_4 + System.String + + + Campo12_5 + System.String + + + Campo13_1 + System.String + + + Campo13_2 + System.String + + + Campo13_3 + System.String + + + Campo13_4 + System.String + + + Campo13_5 + System.String + + + Campo14_1 + System.String + + + Campo14_2 + System.String + + + Campo14_3 + System.String + + + Campo14_4 + System.String + + + Campo14_5 + System.String + + + Campo15_1 + System.String + + + Campo15_2 + System.String + + + Campo15_3 + System.String + + + Campo15_4 + System.String + + + Campo15_5 + System.String + + + Campo16_1 + System.String + + + Campo16_2 + System.String + + + Campo16_3 + System.String + + + Campo16_4 + System.String + + + Campo16_5 + System.String + + + + GMWConnectionString + SELECT + 'U000000001' AS CampoUDC + + ,'Receiver' AS Campo1_1 + ,'BAYERISCHE MOTOREN WERKE AG' AS Campo1_2 + ,'Abt. FR-23' AS Campo1_3 + ,'MUENCHEN' AS Campo1_4 + ,'Campo1_5' AS Campo1_5 + + ,'Destination (2L)' AS Campo2_1 + ,'VK-WOERTH Abladestelle 4' AS Campo2_2 + ,'Luitpoldpark' AS Campo2_3 + ,'DE-Niederaichbach' AS Campo2_4 + ,'Campo2_5' AS Campo2_5 + + ,'Document Number (N)' AS Campo3_1 + ,'863' AS Campo3_2 + ,'863' AS Campo3_3 -- Barcode + ,'Campo3_4' AS Campo3_4 + ,'Campo3_5' AS Campo3_5 + + ,'Supplier Adress' AS Campo4_1 + ,'via Don Minzoni,14 I-41039 S.Possidonio MO .' AS Campo4_2 + ,'Campo4_3' AS Campo4_3 + ,'Campo4_4' AS Campo4_4 + ,'Campo4_5' AS Campo4_5 + + ,'Net Weight (Kg)' AS Campo5_1 + ,'351,91' AS Campo5_2 + ,'Campo5_3' AS Campo5_3 + ,'Campo5_4' AS Campo5_4 + ,'Campo5_5' AS Campo5_5 + + ,'Gross Weight ( Kg)' AS Campo6_1 + ,'436,91' AS Campo6_2 + ,'Campo6_3' AS Campo6_3 + ,'Campo6_4' AS Campo6_4 + ,'Campo6_5' AS Campo6_5 + + ,'Boxes (Nr)' AS Campo7_1 + ,'2,3' AS Campo7_2 + ,'Campo7_3' AS Campo7_3 + ,'Campo7_4' AS Campo7_4 + ,'Campo7_5' AS Campo7_5 + + ,'Part Number (P)' AS Campo8_1 + ,'7558090-07' AS Campo8_2 + ,'7558090-07' AS Campo8_3 -- Barcode + ,'Campo8_4' AS Campo8_4 + ,'Campo8_5' AS Campo8_5 + + ,'Quantity (Q)' AS Campo9_1 + ,'1221,9' AS Campo9_2 + ,'1221,9' AS Campo9_3 -- Barcode + ,'Campo9_4' AS Campo9_4 + ,'Campo9_5' AS Campo9_5 + + ,'Description' AS Campo10_1 + ,'GEHAEUSE Pl6 VAG-D 175AL' AS Campo10_2 + ,'Campo10_3' AS Campo10_3 + ,'Campo10_4' AS Campo10_4 + ,'Campo10_5' AS Campo10_5 + + ,'Campo11_1_1' AS Campo11_1_1 + ,'Campo11_1_2' AS Campo11_1_2 + ,'Campo11_1_3' AS Campo11_1_3 + ,'Campo11_1_4' AS Campo11_1_4 + ,'Campo11_1_5' AS Campo11_1_5 + + ,'Logistic Reference (30S)' AS Campo11_2_1 + ,'24961' AS Campo11_2_2 + ,'24961' AS Campo11_2_3 -- Barcode + ,'Campo11_2_4' AS Campo11_2_4 + ,'Campo11_2_5' AS Campo11_2_5 + + ,'Supplier (V)' AS Campo12_1 + ,'56091210' AS Campo12_2 + ,'56091210' AS Campo12_3 -- Barcode + ,'Campo12_4' AS Campo12_4 + ,'Campo12_5' AS Campo12_5 + + ,'Date' AS Campo13_1 + ,'D110408' AS Campo13_2 + ,'Campo13_3' AS Campo13_3 + ,'Campo13_4' AS Campo13_4 + ,'Campo13_5' AS Campo13_5 + + ,'Change Index' AS Campo14_1 + ,'ZI:NA281X k AI:07' AS Campo14_2 + ,'Campo14_3' AS Campo14_3 + ,'Campo14_4' AS Campo14_4 + ,'Campo14_5' AS Campo14_5 + + ,'Serial Number (S)' AS Campo15_1 + ,'218434' AS Campo15_2 + ,'218434' AS Campo15_3 -- barcode + ,'Campo15_4' AS Campo15_4 + ,'Campo15_5' AS Campo15_5 + + ,'Batch Number (H)' AS Campo16_1 + ,'UM000010' AS Campo16_2 + ,'Campo16_3' AS Campo16_3 + ,'Campo16_4' AS Campo16_4 + ,'Campo16_5' AS Campo16_5 + + + +/* +SELECT + 'U000000001' AS CampoUDC + + ,'CAMPO1_1' AS Campo1_1 + ,'CAMPO1_2' AS Campo1_2 + ,'CAMPO1_3' AS Campo1_3 + ,'CAMPO1_4' AS Campo1_4 + ,'CAMPO1_5' AS Campo1_5 + + ,'CAMPO2_1' AS CAMPO2_1 + ,'CAMPO2_2' AS Campo2_2 + ,'CAMPO2_3' AS Campo2_3 + ,'CAMPO2_4' AS Campo2_4 + ,'CAMPO2_5' AS Campo2_5 + + ,'CAMPO3_1' AS Campo3_1 + ,'CAMPO3_2' AS Campo3_2 + ,'CAMPO3-3' AS Campo3_3 -- Barcode + ,'CAMPO3_4' AS Campo3_4 + ,'CAMPO3_5' AS Campo3_5 + + ,'CAMPO4_1' AS Campo4_1 + ,'CAMPO4_2' AS Campo4_2 + ,'CAMPO4_3' AS Campo4_3 + ,'CAMPO4_4' AS Campo4_4 + ,'CAMPO4_5' AS Campo4_5 + + ,'CAMPO5_1' AS Campo5_1 + ,'CAMPO5_2' AS Campo5_2 + ,'CAMPO5_3' AS Campo5_3 + ,'CAMPO5_4' AS Campo5_4 + ,'CAMPO5_5' AS Campo5_5 + + ,'CAMPO6_1' AS Campo6_1 + ,'CAMPO6_2' AS Campo6_2 + ,'CAMPO6_3' AS Campo6_3 + ,'CAMPO6_4' AS Campo6_4 + ,'CAMPO6_5' AS Campo6_5 + + ,'CAMPO7_1' AS Campo7_1 + ,'CAMPO7_2' AS Campo7_2 + ,'CAMPO7_3' AS Campo7_3 + ,'CAMPO7_4' AS Campo7_4 + ,'CAMPO7_5' AS Campo7_5 + + ,'CAMPO8_1' AS Campo8_1 + ,'CAMPO8_2' AS Campo8_2 + ,'CAMPO8-3' AS Campo8_3 -- Barcode + ,'CAMPO8_4' AS Campo8_4 + ,'CAMPO8_5' AS Campo8_5 + + ,'CAMPO9_1' AS Campo9_1 + ,'CAMPO9_2' AS Campo9_2 + ,'CAMPO9-3' AS Campo9_3 -- Barcode + ,'CAMPO9_4' AS Campo9_4 + ,'CAMPO9_5' AS Campo9_5 + + ,'CAMPO10_1' AS Campo10_1 + ,'CAMPO10_2' AS Campo10_2 + ,'CAMPO10_3' AS Campo10_3 + ,'CAMPO10_4' AS Campo10_4 + ,'CAMPO10_5' AS Campo10_5 + + ,'CAMPO11_1_1' AS Campo11_1_1 + ,'CAMPO11_1_2' AS Campo11_1_2 + ,'CAMPO11_1_3' AS Campo11_1_3 + ,'CAMPO11_1_4' AS Campo11_1_4 + ,'CAMPO11_1_5' AS Campo11_1_5 + + ,'CAMPO11_2_1' AS Campo11_2_1 + ,'CAMPO11_2_2' AS Campo11_2_2 + ,'CAMPO11-2-3' AS Campo11_2_3 -- Barcode + ,'CAMPO11_2_4' AS Campo11_2_4 + ,'CAMPO11_2_5' AS Campo11_2_5 + + ,'CAMPO12_1' AS Campo12_1 + ,'CAMPO12_2' AS Campo12_2 + ,'CAMPO12-3' AS Campo12_3 -- Barcode + ,'CAMPO12_4' AS Campo12_4 + ,'CAMPO12_5' AS Campo12_5 + + ,'CAMPO13_1' AS Campo13_1 + ,'CAMPO13_2' AS Campo13_2 + ,'CAMPO13_3' AS Campo13_3 + ,'CAMPO13_4' AS Campo13_4 + ,'CAMPO13_5' AS Campo13_5 + + ,'CAMPO14_1' AS Campo14_1 + ,'CAMPO14_2' AS Campo14_2 + ,'CAMPO14_3' AS Campo14_3 + ,'CAMPO14_4' AS Campo14_4 + ,'CAMPO14_5' AS Campo14_5 + + ,'CAMPO15_1' AS Campo15_1 + ,'CAMPO15_2' AS Campo15_2 + ,'CAMPO15-3' AS Campo15_3 -- Barcode + ,'CAMPO15_4' AS Campo15_4 + ,'CAMPO15_5' AS Campo15_5 + + ,'CAMPO16_1' AS Campo16_1 + ,'CAMPO16_2' AS Campo16_2 + ,'CAMPO16_3' AS Campo16_3 + ,'CAMPO16_4' AS Campo16_4 + ,'CAMPO16_5' AS Campo16_5 +UNION +SELECT + 'U000000002' AS CampoUDC + + ,'CAMPO1_1' AS Campo1_1 + ,'CAMPO1_2' AS Campo1_2 + ,'CAMPO1_3' AS Campo1_3 + ,'CAMPO1_4' AS Campo1_4 + ,'CAMPO1_5' AS Campo1_5 + + ,'CAMPO2_1' AS CAMPO2_1 + ,'CAMPO2_2' AS Campo2_2 + ,'CAMPO2_3' AS Campo2_3 + ,'CAMPO2_4' AS Campo2_4 + ,'CAMPO2_5' AS Campo2_5 + + ,'CAMPO3_1' AS Campo3_1 + ,'CAMPO3_2' AS Campo3_2 + ,'CAMPO3_3' AS Campo3_3 + ,'CAMPO3_4' AS Campo3_4 + ,'CAMPO3_5' AS Campo3_5 + + ,'CAMPO4_1' AS Campo4_1 + ,'CAMPO4_2' AS Campo4_2 + ,'CAMPO4_3' AS Campo4_3 + ,'CAMPO4_4' AS Campo4_4 + ,'CAMPO4_5' AS Campo4_5 + + ,'CAMPO5_1' AS Campo5_1 + ,'CAMPO5_2' AS Campo5_2 + ,'CAMPO5_3' AS Campo5_3 + ,'CAMPO5_4' AS Campo5_4 + ,'CAMPO5_5' AS Campo5_5 + + ,'CAMPO6_1' AS Campo6_1 + ,'CAMPO6_2' AS Campo6_2 + ,'CAMPO6_3' AS Campo6_3 + ,'CAMPO6_4' AS Campo6_4 + ,'CAMPO6_5' AS Campo6_5 + + ,'CAMPO7_1' AS Campo7_1 + ,'CAMPO7_2' AS Campo7_2 + ,'CAMPO7_3' AS Campo7_3 + ,'CAMPO7_4' AS Campo7_4 + ,'CAMPO7_5' AS Campo7_5 + + ,'CAMPO8_1' AS Campo8_1 + ,'CAMPO8_2' AS Campo8_2 + ,'CAMPO8_3' AS Campo8_3 + ,'CAMPO8_4' AS Campo8_4 + ,'CAMPO8_5' AS Campo8_5 + + ,'CAMPO9_1' AS Campo9_1 + ,'CAMPO9_2' AS Campo9_2 + ,'CAMPO9_3' AS Campo9_3 + ,'CAMPO9_4' AS Campo9_4 + ,'CAMPO9_5' AS Campo9_5 + + ,'CAMPO10_1' AS Campo10_1 + ,'CAMPO10_2' AS Campo10_2 + ,'CAMPO10_3' AS Campo10_3 + ,'CAMPO10_4' AS Campo10_4 + ,'CAMPO10_5' AS Campo10_5 + + ,'CAMPO11_1_1' AS Campo11_1_1 + ,'CAMPO11_1_2' AS Campo11_1_2 + ,'CAMPO11_1_3' AS Campo11_1_3 + ,'CAMPO11_1_4' AS Campo11_1_4 + ,'CAMPO11_1_5' AS Campo11_1_5 + + ,'CAMPO11_2_1' AS Campo11_2_1 + ,'CAMPO11_2_2' AS Campo11_2_2 + ,'CAMPO11_2_3' AS Campo11_2_3 + ,'CAMPO11_2_4' AS Campo11_2_4 + ,'CAMPO11_2_5' AS Campo11_2_5 + + ,'CAMPO12_1' AS Campo12_1 + ,'CAMPO12_2' AS Campo12_2 + ,'CAMPO12_3' AS Campo12_3 + ,'CAMPO12_4' AS Campo12_4 + ,'CAMPO12_5' AS Campo12_5 + + ,'CAMPO13_1' AS Campo13_1 + ,'CAMPO13_2' AS Campo13_2 + ,'CAMPO13_3' AS Campo13_3 + ,'CAMPO13_4' AS Campo13_4 + ,'CAMPO13_5' AS Campo13_5 + + ,'CAMPO14_1' AS Campo14_1 + ,'CAMPO14_2' AS Campo14_2 + ,'CAMPO14_3' AS Campo14_3 + ,'CAMPO14_4' AS Campo14_4 + ,'CAMPO14_5' AS Campo14_5 + + ,'CAMPO15_1' AS Campo15_1 + ,'CAMPO15_2' AS Campo15_2 + ,'CAMPO15_3' AS Campo15_3 + ,'CAMPO15_4' AS Campo15_4 + ,'CAMPO15_5' AS Campo15_5 + + ,'CAMPO16_1' AS Campo16_1 + ,'CAMPO16_2' AS Campo16_2 + ,'CAMPO16_3' AS Campo16_3 + ,'CAMPO16_4' AS Campo16_4 + ,'CAMPO16_5' AS Campo16_5 + + + +SELECT + 'U000000001' AS CampoUDC + + ,'Receiver' AS Campo1_1 + ,'BAYERISCHE MOTOREN WERKE AG' AS Campo1_2 + ,'Abt. FR-23' AS Campo1_3 + ,'MUENCHEN' AS Campo1_4 + ,'Campo1_5' AS Campo1_5 + + ,'Destination (2L)' AS CAMPO2_1 + ,'VK-WOERTH Abladestelle 4' AS Campo2_2 + ,'Luitpoldpark' AS Campo2_3 + ,'DE-Niederaichbach' AS Campo2_4 + ,'Campo2_5' AS Campo2_5 + + ,'Document Number (N)' AS Campo3_1 + ,'050001176' AS Campo3_2 + ,'Campo3_3' AS Campo3_3 + ,'Campo3_4' AS Campo3_4 + ,'Campo3_5' AS Campo3_5 + + ,'Supplier Adress' AS Campo4_1 + ,'Via Kennedy, 16 I-24030 Ambivere BG' AS Campo4_2 + ,'Campo4_3' AS Campo4_3 + ,'Campo4_4' AS Campo4_4 + ,'Campo4_5' AS Campo4_5 + + ,'Net Weight (Kg)' AS Campo5_1 + ,'Campo5_2' AS Campo5_2 + ,'Campo5_3' AS Campo5_3 + ,'Campo5_4' AS Campo5_4 + ,'Campo5_5' AS Campo5_5 + + ,'Campo6_1' AS Campo6_1 + ,'Campo6_2' AS Campo6_2 + ,'Campo6_3' AS Campo6_3 + ,'Campo6_4' AS Campo6_4 + ,'Campo6_5' AS Campo6_5 + + ,'Campo7_1' AS Campo7_1 + ,'Campo7_2' AS Campo7_2 + ,'Campo7_3' AS Campo7_3 + ,'Campo7_4' AS Campo7_4 + ,'Campo7_5' AS Campo7_5 + + ,'Part Number (P)' AS Campo8_1 + ,'7558090-07' AS Campo8_2 + ,'Campo8_3' AS Campo8_3 + ,'Campo8_4' AS Campo8_4 + ,'Campo8_5' AS Campo8_5 + + ,'Campo9_1' AS Campo9_1 + ,'Campo9_2' AS Campo9_2 + ,'Campo9_3' AS Campo9_3 + ,'Campo9_4' AS Campo9_4 + ,'Campo9_5' AS Campo9_5 + + ,'Campo10_1' AS Campo10_1 + ,'Campo10_2' AS Campo10_2 + ,'Campo10_3' AS Campo10_3 + ,'Campo10_4' AS Campo10_4 + ,'Campo10_5' AS Campo10_5 + + ,'Campo11_1' AS Campo11_1 + ,'Campo11_2' AS Campo11_2 + ,'Campo11_3' AS Campo11_3 + ,'Campo11_4' AS Campo11_4 + ,'Campo11_5' AS Campo11_5 + + ,'Campo11_1_1' AS Campo11_1_1 + ,'Campo11_1_2' AS Campo11_1_2 + ,'Campo11_1_3' AS Campo11_1_3 + ,'Campo11_1_4' AS Campo11_1_4 + ,'Campo11_1_5' AS Campo11_1_5 + + ,'Campo12_1' AS Campo12_1 + ,'Campo12_2' AS Campo12_2 + ,'Campo12_3' AS Campo12_3 + ,'Campo12_4' AS Campo12_4 + ,'Campo12_5' AS Campo12_5 + + ,'Campo13_1' AS Campo13_1 + ,'Campo13_2' AS Campo13_2 + ,'Campo13_3' AS Campo13_3 + ,'Campo13_4' AS Campo13_4 + ,'Campo13_5' AS Campo13_5 + + ,'Campo14_1' AS Campo14_1 + ,'Campo14_2' AS Campo14_2 + ,'Campo14_3' AS Campo14_3 + ,'Campo14_4' AS Campo14_4 + ,'Campo14_5' AS Campo14_5 + + ,'Campo15_1' AS Campo15_1 + ,'Campo15_2' AS Campo15_2 + ,'Campo15_3' AS Campo15_3 + ,'Campo15_4' AS Campo15_4 + ,'Campo15_5' AS Campo15_5 + + ,'Campo16_1' AS Campo16_1 + ,'Campo16_2' AS Campo16_2 + ,'Campo16_3' AS Campo16_3 + ,'Campo16_4' AS Campo16_4 + ,'Campo16_5' AS Campo16_5 + +-- FROM Test + +*/ + true + + + + + 19cm + + 1cm + + + + + =Fields!CampoUDC.Value + Ascending + + + GMWDataSet_stp_prtOdetteByUDC + + + + + 11.5cm + 5.8cm + + 49 + 0.3cm + 1.2cm + =iif(Fields!Campo15_3.Value="","", "*S" + Fields!Campo15_3.Value + "*") + + + 9.8cm + 8.7cm + + 48 + 0.3cm + 1.2cm + =iif(Fields!Campo12_3.Value="","","*V" + Fields!Campo12_3.Value + "*") + + + 8.4cm + 8.6cm + + 47 + 9.9cm + 1.2cm + =iif(Fields!Campo11_2_3.Value="","","*30S" + Fields!Campo11_2_3.Value + "*") + + + Campo7_2 + 3.2cm + 2.6cm + + 46 + 16.3cm + 0.7cm + =ROUND(CDEC(Fields!Campo7_2.Value),0) + + + Campo6_2 + 3.2cm + 3.4cm + + 45 + 12.7cm + 0.7cm + =ROUND(CDEC(Fields!Campo6_2.Value),0 ) + + + Campo5_2 + 3.2cm + 3cm + + 44 + 9.5cm + 0.7cm + =ROUND(CDEC(Fields!Campo5_2.Value),0) + + + Campo11_2_2 + 7.6cm + 6.2cm + + 43 + 12.7cm + 0.8cm + =Fields!Campo11_2_2.Value + + + Campo14_2 + 10cm + 5.8cm + + 42 + 13.1cm + 0.9cm + =Fields!Campo14_2.Value + + + Campo16_2 + 11.4cm + 9.3cm + + 41 + 9.5cm + 1.2cm + =Fields!Campo16_2.Value + + + Campo15_2 + 11cm + 3.2cm + + 40 + 6.1cm + 0.7cm + =Fields!Campo15_2.Value + + + Campo12_2 + 9cm + 5.9cm + + 39 + 2.8cm + 0.7cm + =Fields!Campo12_2.Value + + + 9cm + 2.6cm + + 38 + 0.1cm + 0.3cm + =Fields!Campo12_1.Value + + + 11cm + 2.6cm + + 37 + 0.1cm + 0.3cm + =Fields!Campo15_1.Value + + + 11cm + 9.4cm + + 36 + 9.5cm + 0.3cm + =Fields!Campo16_1.Value + + + 9.6cm + 5.8cm + + 35 + 13.1cm + 0.3cm + =Fields!Campo14_1.Value + + + 7.6cm + 3.1cm + + 34 + 9.5cm + 0.3cm + =Fields!Campo11_2_1.Value + + + 2.9cm + 2.6cm + + 33 + 16.3cm + 0.3cm + =Fields!Campo7_1.Value + + + 2.9cm + 3.3cm + + 32 + 12.7cm + 0.3cm + =Fields!Campo6_1.Value + + + 3.9cm + 0cm + + 31 + 16.2cm + -1cm + + + 3.9cm + 0cm + + 30 + 12.6cm + -1cm + + + 9.6cm + 0cm + + 29 + 13cm + 1.40212cm + + + 10cm + 3.5cm + + 28 + 9.4cm + 0.9cm + =Fields!Campo13_2.Value + + + 9.6cm + 3.4cm + + 27 + 9.5cm + 0.3cm + =Fields!Campo13_1.Value + + + 6.8cm + 9.4cm + + 26 + 9.5cm + 0.7cm + =Fields!Campo10_2.Value + + + 6.4cm + 9.4cm + + 25 + 9.5cm + 0.3cm + =Fields!Campo10_1.Value + + + 7.8cm + 8.7cm + + 24 + 0.3cm + 1.2cm + =iif(Fields!Campo9_3.Value="","","*Q" + ( REPLACE(ROUND(CDEC(Fields!Campo9_2.Value),0),",",".") ) + "*") + + + 6.5cm + 7.1cm + + 23 + 2cm + 1.2cm + =REPLACE(ROUND(CDEC(Fields!Campo9_2.Value),0),",",".") + + + 6.4cm + 1.7cm + + 22 + 0.1cm + 0.3cm + =Fields!Campo9_1.Value + + + 5.2cm + 10.6cm + + 21 + 0.3cm + 1.2cm + =iif(Fields!Campo8_3.Value="","","*P" + Fields!Campo8_3.Value + "*") + + + 3.9cm + 8.9cm + + 20 + 2.3cm + 1.2cm + =Fields!Campo8_2.Value + + + 3.9cm + 2.1cm + + 19 + 0.1cm + 0.3cm + =Fields!Campo8_1.Value + + + textbox7 + 2.2cm + 9.4cm + + 18 + 9.5cm + 0.5cm + =Fields!Campo4_2.Value + + + 2.7cm + 8.8cm + + 17 + 0.3cm + 1.2cm + =iif(Fields!Campo3_3.Value="","","*N" + Fields!Campo3_3.Value + "*") + + + textbox5 + 2cm + 6.4cm + + 16 + 2.8cm + 0.6cm + =Fields!Campo3_2.Value + + + 2.9cm + 3cm + + 15 + 9.5cm + 0.3cm + =Fields!Campo5_1.Value + + + 1.9cm + 9.3cm + + 14 + 9.5cm + 0.3cm + =Fields!Campo4_1.Value + + + 2.9cm + + 13 + 9.4cm + 0cm + + + 1.9cm + 2.6cm + + 12 + 0.1cm + 0.3cm + =Fields!Campo3_1.Value + + + 9.6cm + + 11 + 9.4cm + 0cm + + + 11cm + + 10 + 9.4cm + 0cm + + + 7.6cm + + 9 + 9.4cm + 0cm + + + 11cm + 9.37989cm + + 8 + 0cm + + + 9cm + 9.37989cm + + 7 + 0cm + + + 12.8cm + 0cm + + 6 + 9.4cm + -6.4cm + + + 3.9cm + 0cm + + 5 + 9.4cm + -3.89577cm + + + 1.9cm + + 4 + 0cm + + + 6.4cm + + 3 + 0cm + + + 3.9cm + + 2 + 0cm + + + 9.4cm + 1 + + + 0.9cm + 9.3cm + + 3 + 0.1cm + 0.5cm + =Fields!Campo2_3.Value + + + Campo2_2 + 0.3cm + 9.3cm + + 2 + 0.1cm + 0.5cm + =Fields!Campo2_2.Value + + + 1.4cm + 9.3cm + + 1 + 0.1cm + =Fields!Campo2_4.Value + + + Campo2_1 + 9.3cm + + 0.1cm + 0.3cm + =Fields!Campo2_1.Value + + + 9.5cm + 1.9cm + + + 0.1cm + + + 1.4cm + 9.1cm + + 3 + =Fields!Campo1_4.Value + + + 0.9cm + 9.1cm + + 2 + 0.5cm + =Fields!Campo1_3.Value + + + CampoA1 + 9cm + + 1 + 0.3cm + =Fields!Campo1_1.Value + + + 0.3cm + 9.1cm + + 0.5cm + =Fields!Campo1_2.Value + + + 9.2cm + 1.9cm + + + + + + + + + =Fields!CampoUDC.Value + + true + + + + 12.8cm + + it-IT + 1cm + 29.7cm + \ No newline at end of file diff --git a/GMW/Reports/TK/CartellinoTara.rdlc b/GMW/Reports/TK/CartellinoTara.rdlc new file mode 100644 index 00000000..0c9dfe0d --- /dev/null +++ b/GMW/Reports/TK/CartellinoTara.rdlc @@ -0,0 +1,2756 @@ + + + + + 945313fa-66e9-456e-b1dd-514d7a9e9842 + + SQL + Data Source=SRV-DEV01;Initial Catalog=SP_GMW + true + + + + 14.8cm + Stampa cartellino di produzione + true + 21cm + 0.25cm + true + 1cm + 1cm + 1cm + 8b67d517-f880-448b-bde4-1949893f9fcc + + + image/jpeg + /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT/wAARCAB3AJ8DASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXm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rfjW3uvF82t+MZdKuraJbVLW3MVrDJ50qZ3vdSOMZ5t6/Cv8A4h0/+C1X/Rgfir/wZ6d/8k1/ZL5YxjJ46e1OwPf86APHP+Cf37Ndv+yB+xH8LP2ZoIEil8HeCLDT9QEeMPeiFWuZP+BTtK/1avY6TYo6UtABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAf/2Q== + + + 21cm + + + + + UDC + System.String + + + CodCS + System.String + + + codcliente + System.String + + + ragsociale + System.String + + + particolare + System.String + + + descparticolare + System.String + + + disegnogrezzo + System.String + + + esponente + System.String + + + codimpianto + System.String + + + descimpianto + System.String + + + codstampo + System.String + + + figura + System.String + + + datafus + System.DateTime + + + turnofus + System.Int32 + + + codimballo + System.String + + + codsoggetto + System.String + + + numcont + System.Int32 + + + tara + System.Double + + + qta + System.Decimal + + + codstato + System.String + + + idxposizione + System.Int32 + + + pesotot + System.Double + + + pesocad + System.Double + + + CreateDate + System.DateTime + + + ModDate + System.DateTime + + + cognome + System.String + + + nome + System.String + + + descstato + System.String + + + descimballo + System.String + + + + GMWConnectionString + StoredProcedure + dbo.stp_prtCartByUDC + true + + + + + 19cm + + 1cm + + + GMWDataSet_stp_prtCartByUDC + + + + + GMWDataSet_stp_prtCartByUDC +
+ + + + + + + FitProportional + image/jpeg + Embedded + + 100 + mm_logo + + + + + + + textbox23 + + 99 + + + + + + + + textbox8 + + 98 + + + + + + 5 + + + textbox10 + + 97 + CARTELLINO PROVVISORIO + + + + + + + textbox20 + + 96 + + + + + + + + textbox90 + + 95 + + + + + + 1cm + + +
+ + + 1.80475cm + + + 1.2533cm + + + 2.00528cm + + + 2.30607cm + + + 3.20844cm + + + 1.75462cm + + + 2.25594cm + + + 2.00528cm + + + 1.20317cm + + + 1.20315cm + + +
+ + + + + + + textbox14 + + 6 + Cliente + + + + + + + textbox39 + + 5 + + + + + + + + textbox12 + + 4 + + + + + + + + textbox50 + + 3 + + + + + + 2 + + + textbox52 + + 2 + UDC + + + + + 3 + + + textbox53 + + 1 + + + + + + + + textbox91 + + + + + + + 0.4cm + + + + + 4 + + + textbox3 + + 9 + + + + + + 2 + + + textbox56 + + 8 + =Fields!UDC.Value + + + + + 4 + + + + 7 + ="*" + Fields!UDC.Value + "*" + + + + + 1.3cm + + + + + 2 + + + textbox16 + + 15 + Famiglia + + + + + + + textbox19 + + 14 + + + + + + 4 + + + + 13 + Disegno e Esponente + + + + + + + textbox40 + + 12 + Figure + + + + + + + textbox4 + + 11 + + + + + + + + textbox93 + + 10 + + + + + + 0.5cm + + + + + 2 + + + textbox9 + + 20 + + + + + + + + textbox21 + + 19 + + + + + + 4 + + + textbox27 + + 18 + + + + + + + + textbox44 + + 17 + + + + + + 2 + + + textbox58 + + 16 + + + + + + 1.5cm + + + + + + + textbox11 + + 29 + Linea + + + + + + + textbox13 + + 28 + + + + + + + + textbox26 + + 27 + + + + + + + + textbox25 + + 26 + data + + + + + + + textbox32 + + 25 + + + + + + + + textbox63 + + 24 + + + + + + + + textbox30 + + 23 + operatore + + + + + 2 + + + textbox24 + + 22 + + + + + + + + textbox95 + + 21 + + + + + + 0.7cm + + + + + + + textbox5 + + 38 + + + + + + + + textbox17 + + 37 + + + + + + + + textbox28 + + 36 + + + + + + + + textbox43 + + 35 + + + + + + + + textbox45 + + 34 + + + + + + 2 + + + textbox65 + + 33 + + + + + + + + textbox34 + + 32 + + + + + + + + textbox61 + + 31 + + + + + + + + textbox96 + + 30 + + + + + + 0.5cm + + + + + + + textbox69 + + 46 + + + + + + + + textbox7 + + 45 + + + + + + + + textbox29 + + 44 + + + + + + + + textbox51 + + 43 + + + + + + + + textbox38 + + 42 + + + + + + 2 + + + textbox67 + + 41 + T + + + + + 2 + + + textbox18 + + 40 + =Format(Fields!Tara.Value,"n1").ToString + + + + + + + textbox97 + + 39 + Kg + + + + + 2.5cm + + + + + + + textbox41 + + 54 + + + + + + + + textbox6 + + 53 + + + + + + + + textbox33 + + 52 + + + + + + + + textbox1 + + 51 + + + + + + + + textbox15 + + 50 + + + + + + 2 + + + textbox68 + + 49 + + + + + + 2 + + + textbox37 + + 48 + + + + + + + + textbox98 + + 47 + + + + + + 0.5cm + + + + + + + textbox2 + + 64 + + + + + + + + textbox35 + + 63 + + + + + + + + textbox36 + + 62 + + + + + + + + textbox42 + + 61 + + + + + + + + textbox46 + + 60 + + + + + + + + textbox47 + + 59 + + + + + + + + textbox48 + + 58 + + + + + + + + textbox49 + + 57 + + + + + + + + textbox54 + + 56 + + + + + + + + textbox99 + + 55 + + + + + + 0.5cm + + + + + + + textbox55 + + 74 + + + + + + + + textbox57 + + 73 + + + + + + + + textbox59 + + 72 + + + + + + + + textbox60 + + 71 + + + + + + + + textbox62 + + 70 + + + + + + + + textbox64 + + 69 + + + + + + + + textbox66 + + 68 + + + + + + + + textbox70 + + 67 + + + + + + + + textbox71 + + 66 + + + + + + + + textbox100 + + 65 + + + + + + 0.5cm + + + + + + + textbox72 + + 84 + + + + + + + + textbox73 + + 83 + + + + + + + + textbox74 + + 82 + + + + + + + + textbox75 + + 81 + + + + + + + + textbox76 + + 80 + + + + + + + + textbox77 + + 79 + + + + + + + + textbox78 + + 78 + + + + + + + + textbox79 + + 77 + + + + + + + + textbox80 + + 76 + + + + + + + + textbox101 + + 75 + + + + + + 0.5cm + + + + + + + textbox81 + + 94 + + + + + + + + textbox82 + + 93 + + + + + + + + textbox83 + + 92 + + + + + + + + textbox84 + + 91 + + + + + + + + textbox85 + + 90 + + + + + + + + textbox86 + + 89 + + + + + + + + textbox87 + + 88 + + + + + + + + textbox88 + + 87 + + + + + + + + textbox89 + + 86 + + + + + + + + textbox102 + + 85 + + + + + + 2.4cm + + +
+
+
+ +
+
+ + + + =Fields!UDC.Value + + +
+
+ 12.8cm + + it-IT + 1cm + 14.8cm +
\ No newline at end of file diff --git a/GMW/Reports/TK/CartellinoWip.rdlc b/GMW/Reports/TK/CartellinoWip.rdlc new file mode 100644 index 00000000..14d3f199 --- /dev/null +++ b/GMW/Reports/TK/CartellinoWip.rdlc @@ -0,0 +1,1411 @@ + + + + + 37647cab-a462-4a59-ae44-1bb2d82f1cff + + SQL + Data Source=SRV-DEV01;Initial Catalog=SP_GMW + true + + + + 14.8cm + Stampa cartellino di produzione + true + 21cm + 0.25cm + true + 1cm + 1cm + 1cm + 8b67d517-f880-448b-bde4-1949893f9fcc + + + image/jpeg + /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT/wAARCAB3AJ8DASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2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Cv8A4h0/+C1X/Rgfir/wZ6d/8k1/ZL5YxjJ46e1OwPf86APHP+Cf37Ndv+yB+xH8LP2ZoIEil8HeCLDT9QEeMPeiFWuZP+BTtK/1avY6TYo6UtABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAf/2Q== + + + 21cm + + + + + UDC + System.String + + + CodCS + System.String + + + codcliente + System.String + + + ragsociale + System.String + + + particolare + System.String + + + descparticolare + System.String + + + disegnogrezzo + System.String + + + esponente + System.String + + + codimpianto + System.String + + + descimpianto + System.String + + + codstampo + System.String + + + figura + System.String + + + datafus + System.DateTime + + + turnofus + System.Int32 + + + codimballo + System.String + + + codsoggetto + System.String + + + numcont + System.Int32 + + + tara + System.Double + + + qta + System.Decimal + + + codstato + System.String + + + idxposizione + System.Int32 + + + pesotot + System.Double + + + pesocad + System.Double + + + CreateDate + System.DateTime + + + ModDate + System.DateTime + + + cognome + System.String + + + nome + System.String + + + descstato + System.String + + + descimballo + System.String + + + CodFamiglia + System.String + + + DescFamiglia + System.String + + + + GMWConnectionString + StoredProcedure + dbo.stp_prtCartByUDC + true + + + + 19cm + + 1cm + + + GMWDataSet_stp_prtCartByUDC + + + + + GMWDataSet_stp_prtCartByUDC +
+ + + + + + + FitProportional + image/jpeg + Embedded + + 34 + mm_logo + + + + + 7 + + + textbox23 + + 33 + IDENTIFICAZIONE PRODOTTO WIP + + + + + 2 + + + textbox15 + + 32 + true + =FormatDateTime(Globals!ExecutionTime ) + + + + + 1cm + + +
+ + + 1.80475cm + + + 1.2533cm + + + 2.00528cm + + + 2.30607cm + + + 3.20844cm + + + 1.75462cm + + + 2.25594cm + + + 2cm + + + 1.2cm + + + 1.2cm + + +
+ + + + + 5 + + + RagSociale + true + + 1 + ="UDC : " + Fields!UDC.Value + + + + + 5 + + + textbox9 + + ="*" + Fields!UDC.Value + "*" + + + + + 1.3cm + + + + + 2 + + + textbox16 + + 4 + CLIENTE + + + + + 5 + + + DescParticolare + + 3 + =TRIM(Fields!CodCliente.Value) + " " + LEFT(Fields!RagSociale.Value,50 ) + + + + + 3 + + + textbox20 + + 2 + true + + + + + + 0.5cm + + + + + 2 + + + textbox14 + + 7 + DISEGNO - ESP. + + + + + 5 + + + textbox8 + + 6 + true + =RTrim(Fields!DisegnoGrezzo.Value) + " - " + RTrim(Fields!Esponente.Value) + + + + + 3 + + + textbox1 + + 5 + true + FIGURA + + + + + 0.5cm + + + + + 7 + + + Particolare + + 9 + =Fields!Particolare.Value + + + + + 3 + + + textbox44 + + 8 + =Fields!Figura.Value + + + + + 2.3cm + + + + + 2 + + + textbox4 + + 14 + true + PARTICOLARE + + + + + 5 + + + textbox3 + + 13 + true + =Fields!DescParticolare.Value + + + + + + + textbox40 + + 12 + true + + + + + + + + textbox50 + + 11 + true + + + + + + + + textbox57 + + 10 + true + + + + + + 0.5cm + + + + + 3 + + + textbox11 + + 20 + =Fields!DescImpianto.Value + + + + + + + textbox25 + + 19 + data + + + + + + + textbox32 + + 18 + =Fields!DataFus.Value + + + + + + + textbox63 + + 17 + ="T" + Str(Fields!TurnoFus.Value) + + + + + + + textbox30 + + 16 + operatore + + + + + 3 + + + CodSoggetto + + 15 + =Fields!CodSoggetto.Value + + + + + 0.5cm + + + + + 2 + + + textbox5 + + 25 + Contenitore + + + + + + + NumCont + + 24 + =Fields!NumCont.Value + + + + + 2 + + + CodImballo + + 23 + ="Imballo " + Fields!CodImballo.Value + + + + + 2 + + + CodStato + + 22 + true + =Fields!descstato.Value + + + + + 3 + + + textbox34 + + 21 + n. pezzi + + + + + 0.5cm + + + + + 7 + + + descstato + + 27 + true + + + + + + 3 + + + Qta + + 26 + true + =Fields!Qta.Value + + + + + 2.5cm + + + + + 7 + + + descimballo + + 29 + + + + + + 3 + + + textbox49 + + 28 + Tara + + + + + 0.5cm + + + + + 7 + + + DescFamiglia + + 31 + + + + + + 3 + + + Tara + + 30 + =Fields!Tara.Value + + + + + 2.7cm + + + true +
+
+
+ +
+
+ + + + =Fields!UDC.Value + + +
+
+ 12.8cm + + it-IT + 1cm + 14.8cm +
\ No newline at end of file diff --git a/GMW/SearchMag.aspx b/GMW/SearchMag.aspx new file mode 100644 index 00000000..d6208ac9 --- /dev/null +++ b/GMW/SearchMag.aspx @@ -0,0 +1,5 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/Ajax.master" AutoEventWireup="true" CodeBehind="SearchMag.aspx.cs" Inherits="GMW.SearchMag" %> +<%@ Register src="WebUserControls/mod_searchMag.ascx" tagname="mod_searchMag" tagprefix="uc1" %> + + + diff --git a/GMW/SearchMag.aspx.cs b/GMW/SearchMag.aspx.cs new file mode 100644 index 00000000..017dc55b --- /dev/null +++ b/GMW/SearchMag.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace GMW +{ + public partial class SearchMag : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} diff --git a/GMW/SearchMag.aspx.designer.cs b/GMW/SearchMag.aspx.designer.cs new file mode 100644 index 00000000..5164c229 --- /dev/null +++ b/GMW/SearchMag.aspx.designer.cs @@ -0,0 +1,25 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW { + + + public partial class SearchMag { + + /// + /// mod_searchMag1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_searchMag mod_searchMag1; + } +} diff --git a/GMW/StatoMag.aspx b/GMW/StatoMag.aspx new file mode 100644 index 00000000..5569ab5a --- /dev/null +++ b/GMW/StatoMag.aspx @@ -0,0 +1,5 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/AjaxTitle.master" AutoEventWireup="true" CodeBehind="StatoMag.aspx.cs" Inherits="GMW.StatoMag" %> +<%@ Register src="WebUserControls/mod_statoMag.ascx" tagname="mod_statoMag" tagprefix="uc1" %> + + + diff --git a/GMW/StatoMag.aspx.cs b/GMW/StatoMag.aspx.cs new file mode 100644 index 00000000..6d40b466 --- /dev/null +++ b/GMW/StatoMag.aspx.cs @@ -0,0 +1,29 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +namespace GMW +{ + public partial class StatoMag : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + mod_statoMag1.eh_selValore += new EventHandler(mod_statoMag1_eh_selValore); + // se non è postback resetto variabili... + if (!Page.IsPostBack) + { + memLayer.ML.emptySessionVal("CodMag_sel"); + } + } + + void mod_statoMag1_eh_selValore(object sender, EventArgs e) + { + // rimbalzo alla nuova pagina... + Response.Redirect("~/DettaglioBlocco.aspx"); + } + } +} diff --git a/GMW/StatoMag.aspx.designer.cs b/GMW/StatoMag.aspx.designer.cs new file mode 100644 index 00000000..935fa1dd --- /dev/null +++ b/GMW/StatoMag.aspx.designer.cs @@ -0,0 +1,25 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW { + + + public partial class StatoMag { + + /// + /// mod_statoMag1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_statoMag mod_statoMag1; + } +} diff --git a/GMW/Style.css b/GMW/Style.css new file mode 100644 index 00000000..c023b3d6 --- /dev/null +++ b/GMW/Style.css @@ -0,0 +1,3302 @@ +/* @group Generale */ +.fixedVal +{ + background-color: #cdcdcd; + text-align: center; + color: Black; +} + +.fixedValLeft +{ + background-color: #cdcdcd; + text-align: left; + color: Black; +} + +.textEv_1 +{ + background-color: #cdffcd; + text-align: center; + color: Black; + font-size: 8pt; +} + +.textEv_1Left +{ + background-color: #cdffcd; + text-align: left; + color: Black; + font-size: 8pt; +} + +.textEv_2 +{ + background-color: #cdffcd; + text-align: center; + color: Black; + font-size: 8pt; +} + +.textEv_2Left +{ + background-color: #cdffcd; + text-align: left; + color: Black; + font-size: 8pt; +} + +.textEv_Read +{ + background-color: #deeff7; + text-align: center; + color: Black; + font-size: 8pt; +} + +.textEv_ReadLeft +{ + background-color: #deeff7; + text-align: left; + color: Black; + font-size: 8pt; +} + +.bloccoDiv +{ + border-bottom: solid 1px green; + padding-bottom: 1px; + margin-bottom: 5px; +} + +.semaforoVerde +{ + color: Green; +} +.semaforoGiallo +{ + color: Orange; + font-weight: bold; +} +.semaforoRosso +{ + color: Red; + font-weight: bold; +} + +/* group barPlot a colori*/ +.sv +{ + text-align: center; + font-size: 7pt; + height: 20px; + background-image: url(images/verde_20.png); +} +.sg +{ + text-align: center; + font-size: 7pt; + height: 20px; + background-image: url(images/giallo_20.png); +} +.sr +{ + text-align: center; + font-size: 7pt; + height: 20px; + background-image: url(images/rosso_20.png); + color: White; +} +.ss +{ + text-align: center; + font-size: 7pt; + height: 20px; + background-image: url(images/grigio_20.png); + color: White; +} +/* group colori rappresentazione magazzino X Y */ +.cellaLibera +{ + text-align: center; + font-size: 8pt; + height: 40px; + background-image: url(images/grigioChiaro_80.png); + border: solid 1px #777777; +} +.cellaSelezDett +{ + text-align: center; + font-size: 8pt; + height: 40px; + background-image: url(images/giallo_80.png); + border: solid 1px #777777; +} +.cellaOccupata +{ + text-align: center; + font-size: 8pt; + height: 40px; + background-image: url(images/arancio_80.png); + color: White; + border: solid 1px #777777; +} +.cellaPiena +{ + text-align: center; + font-size: 8pt; + height: 40px; + background-image: url(images/verde_80.png); + color: White; + border: solid 1px #777777; +} +.cellaInattiva +{ + text-align: center; + font-size: 8pt; + height: 40px; + background-image: url(images/grigio_80.png); + color: White; + border: solid 1px #777777; +} +.cellaInattiva a +{ + color: White; +} +.cellaSelezAll +{ + text-align: center; + font-size: 8pt; + height: 40px; + background-image: url(images/blu_80.png); + border: solid 1px #777777; +} +.cellaBianca +{ + text-align: center; + font-size: 8pt; + font-weight: bold; +} +.selectedCell +{ + border: dashed 2px black; /*font-weight: bold;*/ + text-align: center; +} +/*group search provider*/ +.SearchProviderTitle_1 +{ + font-size: 16pt; + font-weight: bold; + text-align: left; + color: #006600; +} +.PnlSearchProvider_1 +{ + background: #EFFFEF; + border: solid 2px #005500; + padding: 2px 2px 2px 2px; +} +.SearchProviderTitle_2 +{ + font-size: 16pt; + font-weight: bold; + text-align: left; + color: #660000; +} +.PnlSearchProvider_2 +{ + background: #FFEFEF; + border: solid 2px #550000; + padding: 2px 2px 2px 2px; +} +.SearchProviderTitle_3 +{ + font-size: 16pt; + font-weight: bold; + text-align: left; + color: #000066; +} +.PnlSearchProvider_3 +{ + background: #EFEFFF; + border: solid 2px #000055; + padding: 2px 2px 2px 2px; +} +.SearchProviderTitle_4 +{ + font-size: 16pt; + font-weight: bold; + text-align: left; + color: #006666; +} +.PnlSearchProvider_4 +{ + background: #EFFFFF; + border: solid 2px #005555; + padding: 2px 2px 2px 2px; +} + +/* @group Calendario */ + +.calSel +{ + background-color: red; + font-weight: bold; + color: White; +} +.calNextPrev +{ + font-weight: bold; + color: Black; +} +.calDayHead +{ + font-weight: bold; + color: white; + background-color: #6969df; + font-size: 9pt; +} +.calTitle +{ + font-weight: bold; + color: Black; + background-color: #BEBEBE; +} +.calOtherMonthDay +{ + background: #CBDCCB; +} +.calWeekEnd +{ + background: #cbcbcb; + font-weight: bold; +} +.clsBody +{ + border-right: #C6D7DA thin solid; + border-top: #C6D7DA thin solid; + border-left: #C6D7DA thin solid; + border-bottom: #C6D7DA thin solid; +} + +.clsCurrentWeek +{ + color: #ffffff; + font-size: 12px; + text-decoration: none; + font-family: Tahoma, Arial, Helvetica, sans-serif; + white-space: nowrap; + border-top: #C6D7DA thin solid; + border-bottom: #C6D7DA thin solid; + background-color: #8CC6FF; + font-weight: bolder; + font-weight: bold; +} + +.clsCurrentWeek2 +{ + color: #000000; + font-size: 12px; + text-decoration: none; + font-family: Tahoma, Arial, Helvetica, sans-serif; + white-space: nowrap; + border-top: #C6D7DA thin solid; + border-bottom: #C6D7DA thin solid; + font-weight: bolder; + font-weight: bold; +} +.clsDayName +{ + color: #0C0B5F; + background-color: #bbbaf5; + font-size: 12px; + text-decoration: none; + font-family: Tahoma, Arial, Helvetica, sans-serif; + white-space: nowrap; +} +.clsCurrentDay +{ + color: #ffffff; + background-color: #398CE7; + font-size: 12px; + text-decoration: none; + font-family: Tahoma, Arial, Helvetica, sans-serif; + white-space: nowrap; + font-weight: bolder; + font-weight: bold; +} +.clsWorkDay +{ + color: #000000; + background-color: #dbeaf5; + font-size: 12px; + text-decoration: none; + font-family: Tahoma, Arial, Helvetica, sans-serif; + white-space: nowrap; +} +.clsWorkDay:hover +{ + color: #009400; + background-color: #dbeaf5; + font-size: 12px; + text-decoration: underline; + font-family: Tahoma, Arial, Helvetica, sans-serif; + white-space: nowrap; +} +.clsWorkDayOtherMonth +{ + color: #000000; + font-size: 12px; + text-decoration: none; + font-family: Tahoma, Arial, Helvetica, sans-serif; + white-space: nowrap; +} +.clsWeekEnd +{ + color: #FF0000; + background-color: #dbeaf5; + font-size: 12px; + text-decoration: none; + font-family: Tahoma, Arial, Helvetica, sans-serif; + white-space: nowrap; +} +.clsWeekEnd:hover +{ + color: #009400; + background-color: #dbeaf5; + font-size: 12px; + text-decoration: underline; + font-family: Tahoma, Arial, Helvetica, sans-serif; + white-space: nowrap; +} +.clsWeekEndOtherMonth +{ + color: #FF0000; + font-size: 12px; + text-decoration: none; + font-family: Tahoma, Arial, Helvetica, sans-serif; + white-space: nowrap; +} + +.Calend +{ + padding: 4; + background: White; + color: Black; + font-size: 8pt; + font-family: Verdana; + border-color: #999999; + height: 180px; + width: 200px; +} +. .Calend.TodayDay +{ + background: #cccccc; + color: Black; +} +. .Calend.Selector +{ + background: #cccccc; +} +. .Calend.NextPrev +{ + vertical-align: bottom; +} +. .Calend.DayHeader +{ + font-size: 7pt; + font-weight: bold; + background: #cccccc; +} +. .Calend.SelectedDay +{ + background: #666666; + font-weight: bold; + color: White; +} +. .Calend.Title +{ + font-weight: bold; + background: #999999; + border-color: Black; +} +. .Calend.WeekEndDay +{ + background: #FFFFCC; + color: Black; +} +. .Calend.OtherMonthDay +{ + color: Gray; +} + + + +/* @end */ + +.body +{ + margin: 0px; + padding: 0px; + font-family: Verdana, Arial; + font-size: small; + height: 100%; +} +.didascalia +{ + color: #696969; + font-size: 7pt; +} + +/* Mod selettore ajax */ +.txtLink +{ + font-size: smaller; + text-decoration: underline; + color: blue; +} +.txtValue +{ + font-size: smaller; + text-decoration: none; + color: #696969; +} +.notaMargine +{ + font-size: smaller; + background-color: #DEE8F5; + margin-top: 10px; + padding: 1px 1px 2px 1px; + text-align: right; + vertical-align: bottom; +} +.nota +{ + width: 70%; + font-size: smaller; + background-color: white; + margin-top: 10px; + padding: 2px 2px 4px 2px; + text-align: center; + vertical-align: bottom; + border: solid 1px red; +} + + +/*Popup Control*/ +.popupControl +{ + background-color: White; + position: absolute; + visibility: hidden; + border: solid 1px #363636; +} +.popupHover +{ + background-image: url(images/header-opened.png); + background-repeat: repeat-x; + background-position: left top; + background-color: #F5F7F8; +} +.evidenzia +{ + border: solid 1px blue; +} +/* area note logging */ +.logCont +{ + font-size: 8pt; + width: 100%; + text-align: center; + border: solid 1px silver; + background-color: #DFF1F1; +} +.logButton +{ + text-align: center; + padding: 10px; +} +/* selettore ajax*/ +.selezioneValRed +{ + text-decoration: underline; + color: Blue; +} +/*Modal Popup*/ +.modalBackground +{ + background-color: Gray; + filter: alpha(opacity=70); + opacity: 0.7; +} +.hiddenTxt +{ + /*color:White;*/ + background-color: White; + width: 5px; +} + +.modalPopup +{ + background-color: #ffffdd; + border-width: 1px; + border-style: solid; + border-color: Gray; + padding: 3px; +} + +.topTitle +{ + color: White; + font-family: Verdana; + font-size: 26px; + font-weight: bold; + text-align: center; + background-repeat: repeat-x; + background-position: 0% 0%; + background-attachment: scroll; + background-image: url(images/orangeGrad32.png); +} +.ShadowText +{ + text-shadow: 2px 2px 2px rgba(0,0,0,.4); +} +.boxShadowLight +{ + -webkit-box-shadow: 3px 3px 6px rgba(0,0,0,.1); + -moz-box-shadow: 3px 3px 6px rgba(0,0,0,.1); + box-shadow: 3px 3px 6px rgba(0,0,0,.1); +} +.boxShadowDark +{ + -webkit-box-shadow: 3px 3px 6px rgba(0,0,0,.3); + -moz-box-shadow: 3px 3px 6px rgba(0,0,0,.3); + box-shadow: 3px 3px 6px rgba(0,0,0,.3); +} +.menuSx +{ + font-size: 8pt; + width: 180px; + vertical-align: top; /*height: 530px;*/ /*height: 530px;*/ + min-height: 530px; /*border-top: #0D0083 1px solid;*/ /*background-repeat: repeat-y; background-position: 0% 0%; background-attachment: scroll; background-image: url(images/menuSx5.png);*/ /*background: #DEE8F5;*/ + background: #DEE8F5; + -webkit-box-shadow: 3px 3px 6px rgba(0,0,0,.3); + -moz-box-shadow: 3px 3px 6px rgba(0,0,0,.3); + box-shadow: 3px 3px 6px rgba(0,0,0,.3); +} +.ov_header +{ + background-color: Blue; +} +.ov_footer +{ + background-color: Blue; +} +.ov_item +{ + background-color: gray; +} +.ov_itemAlt +{ + background-color: white; +} + +.navBar +{ + font-size: 9pt; /*background-color: #DEE8F5;*/ + background-color: #FFFFFF; /*border-right: #9999ff 1px solid; border-top: #9999ff 1px solid; border-left: #9999ff 1px solid; border-bottom: #9999ff 1px solid;*/ + padding: 3px 3px 3px 3px; + margin: 3px 3px 3px 0px; /*background-color:#DEE8F5; font-family: Verdana Arial; font-size: 13px; font-weight: normal; background-repeat: repeat-x; background-position: 0% 0%; background-attachment: scroll; background-image: url(images/bluGrad32.png);*/ +} +.hlBounce +{ + font-weight: bold; + font-size: 10pt; +} +.alertAjax +{ + color: #ea101e; + font-size: small; + font-weight: bold; +} +.smallTimeClock +{ + padding-right: 4px; + padding-left: 4px; + font-weight: bold; + font-size: 7pt; + padding-bottom: 2px; + vertical-align: middle; + color: Yellow; + padding-top: 2px; + font-family: verdana, arial; + text-align: justify; +} +.dxButtonClass +{ + padding-right: 8px; + padding-left: 8px; + font-weight: bold; + font-size: 9pt; + padding-bottom: 2px; + vertical-align: middle; + color: Yellow; + padding-top: 2px; + font-family: verdana, arial; + text-align: justify; +} +.barraTitolo +{ + background-color: #FF904C; + vertical-align: middle; + height: 20pt; + text-align: center; +} +INPUT +{ + font-size: 8pt; +} +.selezioneVal +{ + border-right: yellow 1px solid; + border-top: yellow 1px solid; + border-left: yellow 1px solid; + border-bottom: yellow 1px solid; +} + +.selezioneValWhite +{ + border-right: white 1px solid; + border-top: white 1px solid; + border-left: white 1px solid; + border-bottom: white 1px solid; +} +.tableContenuto +{ + padding: 0px; + margin: 2px; /* con questo Table va a full screen */ + width: 99%; +} +.topContrDx +{ + text-align: center; + background-color: white; + text-align: left; + font-size: 9pt; +} +.topContrSx +{ + padding: 6px 3px 6px 3px; + text-align: center; + background-color: #DEE8F5; + border-top: solid 2px silver; + border-left: solid 2px silver; + border-right: solid 2px silver; + font-weight: bold; + font-size: 8pt; +} +.contrRiq +{ + border-left: solid 2px silver; + background-color: white; + border-top: solid 2px silver; + border-left: solid 2px silver; + border-right: solid 2px silver; + border-bottom: solid 1px silver; +} +.topSubMenuChk +{ + padding: 1px 6px 1px 6px; + text-align: center; + background-color: #DEE8F5; + border-top: solid 1px silver; + border-left: solid 2px silver; + border-right: solid 1px silver; + border-bottom: solid 1px silver; + font-weight: bold; + font-size: 8pt; +} +.controllo +{ + vertical-align: top; + width: 100%; + background-color: Transparent; + font-size: 8pt; + border-width: thin; + border-top-style: solid; + border-top-color: White; + border-left-style: solid; + border-left-color: White; + border-right-style: solid; + border-right-color: White; +} +.contrDx +{ + vertical-align: top; + width: 100%; + background-color: White; + font-size: 8pt; + border-width: thin; + border-style: solid; + border-color: silver; +} +.bodyMainCenter +{ + background-image: url(images/logo_sw.png); + vertical-align: middle; + border-left: #0D0083 1px solid; /*border-top: #0D0083 1px solid;*/ + text-align: center; + height: 100%; + width: 100%; + background-position: center; + background-attachment: scroll; + background-repeat: no-repeat; +} +.bottomWrite +{ + vertical-align: bottom; + border-top: #0D0083 1px solid; + margin-top: 2px; + padding-top: 2px; + font-size: 7pt; + height: 1%; + text-align: right; +} +.bodyCenter +{ + vertical-align: middle; + text-align: center; + height: 100%; + width: 100%; +} +.centerMenu +{ + background-color: White; + text-align: center; + border-width: thin; + border-style: groove; + border-color: Blue; +} +.pnlMenuSx +{ + padding-right: 5px; + height: 530px; +} +A:hover +{ + color: red; +} + +.clonaUserPerm +{ + color: #ffff66; + background-color: #ea101e; +} +.boxRicerca +{ + padding: 4px; +} + +.oneHalf +{ + width: 50%; +} +.oneQuart +{ + width: 25%; +} + +.cal +{ + font-size: 10pt; +} +.treeHead +{ + width: 100%; + text-align: center; + background-color: #D1DDF1; + border-right: solid 2px silver; + border-top: solid 2px silver; +} +.treeViewPnl +{ + background-color: white; + border-right: solid 2px silver; + border-bottom: solid 2px silver; +} +.statoHidden +{ + text-align: center; + width: 100%; + font-size: 9pt; + font-weight: bold; + height: 24px; + color: #696969; + background-image: url(images/bg_bright.jpg); +} +.statoCurrent +{ + text-align: center; + width: 100%; + font-size: 9pt; + font-weight: bold; + height: 24px; + color: White; + background-image: url(images/bg_dark.jpg); +} +.statoDone +{ + text-align: center; + width: 100%; + font-size: 9pt; + font-weight: bold; + height: 24px; + color: #696969; + background-image: url(images/bg_bright.jpg); +} +.imgDisabled a +{ + color: #ACACAC; + text-decoration: none; +} +.imgDisabled +{ + text-decoration: none; + padding: 2px 5px 2px 5px; + text-align: center; + font-size: 9pt; + height: 24px; + color: #ACACAC; + background-image: url(images/bg_dark_38.png); +} +.imgSelected a +{ + color: White; + text-decoration: none; +} +.imgSelected +{ + text-decoration: none; + padding: 2px 5px 2px 5px; + text-align: center; + font-size: 9pt; + font-weight: bold; + height: 24px; + color: White; + background-image: url(images/bg_dark_38.png); +} +.imgStandard a:hover +{ + color: White; +} +.imgStandard a +{ + color: #363636; + text-decoration: none; +} +.imgStandard +{ + text-decoration: none; + padding: 2px 5px 2px 5px; + text-align: center; + font-size: 9pt; + height: 24px; + color: #363636; + background-image: url(images/bg_bright_38.png); +} +.imgStandard:hover +{ + color: white; + text-decoration: none; + padding: 2px 5px 2px 5px; + text-align: center; + font-size: 9pt; + height: 24px; /*color: #363636; */ + background-image: url(images/bg_hover_38.png); +} +.imgStandard:hover a +{ + color: white; +} + +.imgStandardNoHover +{ + text-decoration: none; + padding: 2px 5px 2px 5px; + text-align: center; + font-size: 9pt; + height: 24px; + color: #363636; + background-image: url(images/bg_bright_38.png); +} + + +.imgStandardNoHover:hover +{ + text-decoration: none; + padding: 2px 5px 2px 5px; + text-align: center; + font-size: 9pt; + height: 24px; + color: #363636; + background-image: url(images/bg_bright_38.png); +} + + + +.eta2 +{ + width: 33%; + text-align: center; + background-color: #ffcccc; + font-size: 10pt; + font-weight: bold; +} +.termAnt +{ + width: 33%; + text-align: center; + background-color: #ccffcc; + font-size: 10pt; + font-weight: bold; +} +.termPost +{ + width: 33%; + text-align: center; + background-color: #ccccff; + font-size: 10pt; + font-weight: bold; +} +.watermarked +{ + color: #696969; + background-color: #EFEFFF; +} + + + + + + + + + + + +.divSx +{ + float: left; + padding: 0; + margin: 0; +} +.divDx +{ + float: right; + padding: 0; + margin: 0; +} +.clearDiv +{ + clear: both; +} +.formatTableGeneral +{ + height: 100%; + width: 100%; + border-bottom-width: 0px; +} +.dgCenter +{ + text-align: center; +} +.menuSxTree +{ + color: #D9101E; + font-size: 9pt; + text-align: left; + font-weight: bold; + margin-left: 0px; + margin-right: 0px; + margin-top: 0px; +} +.menuSxTreeOver +{ + color: White; + font-size: 10pt; + text-align: left; + font-weight: bold; + margin-left: 0px; + margin-right: 0px; + margin-top: 0px; +} +.menuSxElem +{ + color: #00008B; + font-size: 7pt; + text-align: left; + font-weight: bold; + margin-left: 0px; + margin-right: 0px; + margin-top: 0px; +} +.menuSxElemOver +{ + color: black; + font-size: 7pt; + text-align: left; + font-weight: bold; + margin-left: 0px; + margin-right: 0px; + margin-top: 0px; +} +.menuSxElemSmall +{ + font-size: 7pt; + text-align: left; + margin-left: 0px; + margin-right: 0px; + font-weight: normal; + color: #555555; + margin-top: 0px; +} +.menuSxElemSmallOver +{ + color: #555555; + font-size: 9pt; + text-align: left; + margin-left: 0px; + margin-right: 0px; + font-weight: normal; + margin-top: 0px; +} +.userClass +{ + padding-right: 8px; + padding-left: 8px; + font-weight: bold; + font-size: 9pt; + padding-bottom: 2px; + vertical-align: bottom; + color: white; + padding-top: 2px; + font-family: verdana, arial; + text-align: justify; +} +.topMenuMess +{ + font-size: 9pt; + text-align: left; + margin-left: 0px; + margin-right: 0px; + font-weight: bold; + color: white; + margin-top: 0px; +} +.topMenuMessEn +{ + font-size: 9pt; + text-align: left; + margin-left: 0px; + margin-right: 0px; + font-weight: bold; + color: black; + margin-top: 0px; +} +.bodyMain +{ + background-image: url(images/logo_sw.png); + vertical-align: top; + border-left: #0D0083 1px solid; /*border-top: #0D0083 1px solid;*/ + height: 100%; + width: 100%; + background-position: center; /*was topleft*/ + background-attachment: scroll; + background-repeat: no-repeat; +} +.fullscreen +{ + display: block; /*set the div in the top-left corner of the screen*/ + position: absolute; + top: 0; + left: 0; /*set the width and height to 100% of the screen*/ + width: 100%; + height: 100%; +} +.bodyMainEmpty +{ + vertical-align: top; + border-left: maroon 1px solid; + height: 100%; + width: 100%; +} + +.bodyMainWhite +{ + vertical-align: top; + border-left: maroon 1px solid; + height: 100%; + width: 100%; + background-position: center; + background-attachment: scroll; + background-repeat: no-repeat; +} + +.bodyMainWhite a:hover +{ + color: white; +} + +.bodyMainNoLogo +{ + vertical-align: top; + border-left: maroon 1px solid; + height: 100%; + width: 100%; +} + +.bodyMainLogoPiccolo +{ + background-image: url(images/sfondoMedio.png); + background-position: 97% 210px; + vertical-align: top; + border-left: maroon 1px solid; + height: 100%; + width: 100%; + background-attachment: scroll; + background-repeat: no-repeat; +} +.logoUpSx +{ + width: 200; + text-align: left; +} +.topMenu +{ + width: 100%; + text-align: left; + vertical-align: bottom; +} +.tabModPrinc +{ + background-color: White; +} +.sxTabPrinc +{ + font-size: 10pt; + font-style: italic; + color: Blue; + font-weight: bold; + width: 90%; + background-color: Transparent; +} +.dxTabPrinc +{ + background-color: #cbcbFF; + text-align: right; +} +.tab_1 +{ + vertical-align: top; +} +.sxTab_1 +{ + background-color: #C8D0D4; + text-align: left; +} +.sxTab_1_new +{ + background-color: #9999cc; + text-align: left; +} +.dxTab_1 +{ + width: 70%; + background-color: #C8D0D4; +} +.sxTab_2 +{ + background-color: #11AA66; + text-align: left; +} +.dxTab_2 +{ + width: 70%; + background-color: Transparent; +} +.tab_2Body +{ + vertical-align: middle; + border: solid thin #11AA66; +} +.chPwdTitle +{ + padding: 2px; + font-weight: bold; + font-size: 24pt; + color: red; + text-align: center; +} +.chPwdTxt +{ + padding: 2px; + font-weight: bold; + font-size: 10pt; + color: red; + text-align: center; +} +.chPwdMess +{ + padding: 2px; + font-weight: bold; + font-style: italic; + font-size: 9pt; + color: yellow; + text-align: center; +} +.loginTitle +{ + font-weight: bold; + font-size: 30pt; + color: Red; +} +.loginTxt +{ + padding: 2px; + font-weight: bold; + font-size: 10pt; + color: red; + text-align: center; +} +.loginMess +{ + padding: 2px; + font-weight: bold; + font-style: italic; + font-size: 9pt; + color: yellow; + text-align: center; +} +.reportLabel +{ + font-size: 16pt; +} +.reportValue +{ + font-size: 16pt; + font-weight: bold; +} +.reportExplLang +{ + font-size: 10pt; +} +.reportExplEn +{ + font-size: 7pt; + font-style: italic; +} +.reportElencoZap +{ + font-size: 9pt; +} +.UnauthAppTitle +{ + font-weight: bold; + font-size: 30pt; + margin-left: 10pt; +} +.UnauthTitle +{ + font-size: 20pt; + color: Red; + margin-left: 30pt; +} +.UnauthMess +{ + font-size: 12pt; + font-style: normal; + margin-left: 30pt; +} +.tableHead +{ + white-space: nowrap; + height: auto; + vertical-align: top; + line-height: 18px; + width: 100%; + height: 100%; +} +.tableHead2 +{ + white-space: nowrap; + height: auto; + vertical-align: top; + line-height: 18px; + color: #ffffcc; + background-color: #999977; + width: 100%; + height: 100%; +} +.cmbFiltrText +{ + font-size: 9pt; +} +.currencyFormat +{ + white-space: nowrap; + text-align: right; + vertical-align: baseline; +} +.UserLabel +{ + background-color: #ff9900; + text-align: center; + margin: 6 6 6 6; +} + +.UserLabel .principale +{ + font-size: large; + font-weight: bold; +} +. .UserLabel.secondario +{ + font-size: medium; +} +.cmbMini +{ + font-size: 8pt; +} +.txtMini +{ + font-size: 7pt; +} +.suggerimento +{ + font-size: 8pt; + font-weight: bold; + color: Red; +} +.lblBudget +{ + font-size: 8pt; + text-align: left; + font-weight: bold; +} +.errore +{ + font-weight: normal; + font-size: 8pt; + color: Red; +} +.erroreMid +{ + font-weight: normal; + font-size: 10pt; + color: Red; +} +.erroreMidYellow +{ + font-weight: normal; + font-size: 10pt; + color: Yellow; +} +.erroreBig +{ + font-weight: normal; + font-size: 12pt; + color: Red; +} +.valUpd +{ + font-style: italic; +} +.cmbMini +{ + font-size: 8pt; +} +.txtMini +{ + font-size: 8pt; +} +.txtMiniLeft +{ + font-size: 8pt; + text-align: left; +} +.valOk +{ + color: Green; +} +.valKo +{ + color: Red; + font-weight: bold; +} +.suggerimento +{ + font-size: 8pt; + font-weight: bold; + color: Red; +} +.searchHead +{ + background-color: #bbaabb; +} +.textHead +{ + background-color: #9966ff; +} +.linkAnnulla +{ + background-color: #ee9999; + color: Black; + font-weight: bold; + font-size: 14pt; +} +.linkSalva +{ + background-color: #99ee99; + color: Black; + font-weight: bold; + font-size: 14pt; +} + +.tableDett1 +{ + background: #98ff98; +} +.valDett1 +{ + font-size: 8pt; + color: Black; + font-weight: normal; +} +.tab_2lbl +{ + vertical-align: baseline; + border-collapse: collapse; + border-width: thin; + border-style: none; + font-size: 7pt; +} +.dettSel +{ + border-right: green 1px solid; + padding-right: 8px; + border-top: green 1px solid; + padding-left: 8px; + font-weight: bold; + font-size: 9pt; + background: #33ee44; + padding-bottom: 2px; + vertical-align: bottom; + border-left: green 1px solid; + color: white; + padding-top: 2px; + border-bottom: green 1px solid; + font-family: verdana, arial; + text-align: justify; +} +.dettDesel +{ + border-right: green 1px solid; + padding-right: 8px; + border-top: green 1px solid; + padding-left: 8px; + font-weight: bold; + font-size: 9pt; + background: white; + padding-bottom: 2px; + vertical-align: bottom; + border-left: green 1px solid; + color: Black; + padding-top: 2px; + border-bottom: green 1px solid; + font-family: verdana, arial; + text-align: justify; +} +.dettHide +{ + border-right: orange 1px solid; + padding-right: 8px; + border-top: orange 1px solid; + padding-left: 8px; + font-weight: bold; + font-size: 9pt; + background: #ff3344; + padding-bottom: 2px; + vertical-align: bottom; + border-left: orange 1px solid; + color: white; + padding-top: 2px; + border-bottom: orange 1px solid; + font-family: verdana, arial; + text-align: justify; +} +.tableDett3 +{ + background: #98ff98; + font-size: 9pt; +} +.dett3Head +{ + background: blue; + color: Yellow; + font-weight: bold; + font-size: 9pt; +} +.dett3Col1 +{ + color: Black; + font-weight: bold; + font-size: 9pt; +} + +.linkHead +{ + color: White; +} +.titoloMed +{ + color: Red; + font-size: 18pt; + font-weight: bold; +} +.testoMed +{ + font-size: 12pt; + font-weight: bold; +} + +.txtTab +{ + font-size: 8pt; + font-family: verdana, arial; + text-align: justify; +} + +.tblGray +{ + border-color: #777777; +} +.txtMiniTabella +{ + text-align: right; + font-weight: normal; + padding-left: 2pt; + font-size: 8pt; + padding-bottom: 2pt; + padding-top: 2pt; +} +.txtMiniTabellaLeft +{ + text-align: left; + font-weight: normal; + padding-left: 2pt; + font-size: 8pt; + padding-bottom: 2pt; + padding-top: 2pt; +} +.txtMiniTabellaDato +{ + text-align: left; + font-weight: bold; + padding-left: 2pt; + font-size: 8pt; + padding-bottom: 2pt; + padding-top: 2pt; +} +.relazione +{ + margin-top: 1px; + padding-top: 1px; + font-weight: normal; + font-size: 11pt; + text-align: justify; +} +.smallTable +{ + width: 300px; +} +.centerAll +{ + vertical-align: middle; + text-align: center; +} +.centerAllOther +{ + margin: 0 auto; +} +.selLinguaTxt +{ + padding: 2px; + font-weight: bold; + font-size: 12pt; + color: Yellow; + text-align: center; +} +.navBar +{ + font-size: 9pt; + background-color: #ededff; + border-right: #9999ff 1px solid; + border-top: #9999ff 1px solid; + border-left: #9999ff 1px solid; + border-bottom: #9999ff 1px solid; +} + +.panelPaddingTitle +{ + padding-top: 5px; + padding-left: 10px; + text-align: center; + vertical-align: middle; /* qui aggiunta */ + margin-right: 80px; +} + +.panelPadding +{ + padding-top: 5px; + padding-left: 5px; + padding-bottom: 5px; /* qui aggiunta */ + margin-right: 80px; +} + +.panelPaddingTitleDiv +{ + padding-top: 5px; + padding-left: 10px; + text-align: center; + vertical-align: middle; + margin-right: 80px; +} + +.panelPaddingDiv +{ + padding-top: 5px; + padding-left: 10px; + padding-bottom: 5px; + margin-right: 80px; +} + + +/* sostituiti tutti i #5555bb del bordino tabellaalta e contornoriq con silver */ + +.wrap +{ + overflow: auto; + white-space: normal; +} + +.dropdownList +{ + font-weight: normal; + font-size: 7pt; + background: #ea101e; + color: white; + font-family: verdana, arial; + text-align: justify; +} +.boxText +{ + font-size: 8pt; + font-weight: normal; + width: 100%; +} +.saveClose +{ + width: 100%; + text-align: center; + background-color: #ea101e; + padding: 2pt; +} + +/* @end */ + +/* @group Brembo Specific */ + +.idxContratto +{ + text-align: center; + font-size: 10pt; + font-weight: bold; +} +.idxStatoContratto +{ + text-align: right; + font-size: 10pt; + font-weight: bold; + font-style: italic; + color: Blue; +} + +/* fasi uomo / macchina*/ +.stileFaseMacchina +{ + color: #ea101e; +} +.stileFaseExt +{ + color: Black; +} +.stileFaseUomo +{ + color: #1e10ea; +} + +.treeCdC +{ + width: 250px; + text-align: right; + font-size: 8pt; + width: 180px; + vertical-align: top; + height: 100%; + background: white; +} + +.RDA +{ + font-size: 7pt; +} +.Ord +{ + font-size: 7pt; + background: #d0ffe3; +} +.Fatt +{ + font-size: 7pt; +} + +.job2do +{ + width: 50%; + font-weight: normal; + border-bottom-style: solid; + border-bottom-width: thin; + font-size: 8pt; + color: blue; + font-family: verdana, arial; + text-align: left; +} +.jobDone +{ + width: 50%; + font-weight: normal; + border-bottom-style: solid; + border-bottom-width: thin; + font-size: 8pt; + color: green; + font-family: verdana, arial; + text-align: right; +} + +.bodyAvanzamento +{ + font-family: Verdana, Arial; + background-image: url(images/gradiente.png); +} + +.paramIn +{ + font-family: Verdana; + margin-top: 1px; + padding-top: 1px; + font-weight: normal; + font-size: 7pt; + text-align: justify; + padding: 2px 2px p2x 2px; + border-right: red 2px solid; + border-top: red 2px solid; + border-left: red 2px solid; + border-bottom: red 2px solid; + margin: 1px; + background-color: #ffcccc; +} +.allegatiOut +{ + font-family: Verdana; + border-top: maroon 1px solid; + margin-top: 1px; + padding-top: 1px; + font-weight: normal; + font-size: 8pt; + text-align: justify; +} +.testoAllegatoIN +{ + font-family: Verdana; + padding: 5px 5px p5x 5px; + border-right: green 2px solid; + border-top: green 2px solid; + border-left: green 2px solid; + border-bottom: green 2px solid; + margin: 1px; + background-color: #ccffdd; + font-weight: normal; + font-size: 7pt; + text-align: left; +} +.testoAllegatoOUT +{ + font-family: Verdana; + padding: 5px 5px p5x 5px; + border-right: blue 2px solid; + border-top: blue 2px solid; + border-left: blue 2px solid; + border-bottom: blue 2px solid; + margin: 1px; + background-color: #ccddff; + font-weight: normal; + font-size: 7pt; + text-align: left; +} + +/* zona colorazione filtri */ +.filtro_1 +{ + background-color: #ababab; +} +.filtro_2 +{ + background-color: #bcbcbc; +} +.filtro_3 +{ + background-color: #cdcdcd; +} +.filtro_4 +{ + background-color: #dedeed; +} +.filtro_5 +{ + background-color: #efefef; +} + + +.intestJob +{ + padding: 5px 5px 5px 5px; +} +/* zona DIV con ID */ +#prenotazionehead +{ + text-align: center; +} + + +#prenotazione +{ + padding-left: 3px; + vertical-align: top; +} + + + +/* @end */ + +/* @group Stili Asp */ + +.lblText +{ + font-size: 8pt; +} + +.lblValore +{ + font-size: 8pt; + color: Black; + background-color: Transparent; + border-style: none; +} +.lblValoreBold +{ + font-size: 8pt; + color: Black; + font-weight: bold; + background-color: Transparent; + border-style: none; +} + + +.lblColorGray +{ + padding-left: 2pt; + text-align: left; + background-color: #777777; + font-size: 10pt; + font-weight: bold; + color: White; +} + +.lblWhite +{ + width: 70%; + background-color: white; +} + +.grView +{ + color: #333333; + font-size: 8pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; + padding-bottom: 1px; +} +.ctrHeaderPager +{ + background-color: #b8b8b8; + font-weight: bold; + color: White; +} +.ctrHeaderPagerRight +{ + background-color: #b8b8b8; + font-weight: bold; + color: White; + text-align: right; +} +.ctrHeaderPagerBlue +{ + background-color: #507CD1; + height: 1px; +} +.ctrHeaderPagerBlueRight +{ + background-color: #507CD1; + height: 1px; + text-align: right; +} +.ctrFooter +{ + background-color: #507CD1; + font-weight: bold; + color: White; +} +.ctrRowStyle +{ + vertical-align: top; + background-color: #EFF3FB; +} +.ctrAltRowStyle +{ + vertical-align: top; + background-color: White; +} +.ctrRowStyleRight +{ + background-color: #EFF3FB; + text-align: right; +} +.ctrAltRowStyleRight +{ + background-color: White; + text-align: right; +} +.ctrInsRowStyle +{ + background-color: #b8b8b8; +} +.ctrEditRowStyle +{ + background-color: #D1DDF1; +} +.ctrSelRowStyle +{ + font-weight: bold; + color: #333333; + background-color: #D1DDF1; +} +.ctrSelRowStyleYellow +{ + font-weight: bold; + color: #333333; + background-color: Yellow; +} +.ctrCommRow +{ + font-weight: bold; + background-color: #D1DDF1; +} +.ctrFiledHead +{ + background-color: #DEE8F5; + font-weight: bold; + width: 25%; +} +.ctrLabelStrong +{ + font-weight: bold; +} +.ctrFieldEdit +{ + font-size: 8pt; +} + +/* Controlli Alternativi */ + +.ctrHeaderPagerDet +{ + background-color: #507CD1; + font-weight: bold; + color: White; +} + +.ctrFooterDet +{ + background-color: #507CD1; + font-weight: bold; + color: White; +} +.ctrRowStyleDet +{ + vertical-align: top; + background-color: #EFF3FB; +} +.ctrAltRowStyleDet +{ + vertical-align: top; + background-color: White; + border-bottom-width: 1px; + border-color: Silver; +} +.ctrInsRowStyleDet +{ + background-color: #b8b8b8; +} +.ctrEditRowStyleDet +{ + background-color: #D1DDF1; +} +.ctrSelRowStyleDet +{ + font-weight: bold; + color: #333333; + background-color: #D1DDF1; +} +.ctrCommRowDet +{ + font-weight: bold; + background-color: #D1DDF1; +} +.ctrFiledHeadDet +{ + background-color: #DEE8F5; + font-weight: bold; + width: 25%; +} +.ctrLabelStrongDet +{ + font-weight: bold; +} +.ctrFieldEditDet +{ + font-size: 8pt; +} + +/* END */ + +/* Controlli alternativi per cloning Rossi */ + +.ctrHeaderPagerRed +{ + background-color: #D15B5B; + font-weight: bold; + color: White; +} + +.ctrFooterRed +{ + background-color: #D15B5B; + font-weight: bold; + color: White; +} + +.ctrRowStyleRed +{ + vertical-align: top; + background-color: #FFE1E7; +} + +.ctrAltRowStyleRed +{ + vertical-align: top; + background-color: White; + border-bottom-width: 1px; + border-color: Silver; +} + +.ctrInsRowStyleRed +{ + background-color: #b8b8b8; +} + +.ctrEditRowStyleRed +{ + background-color: #FFC4C5; +} + +.ctrSelRowStyleRed +{ + font-weight: bold; + color: #333333; + background-color: #FFC4C5; +} + +.ctrCommRowRed +{ + font-weight: bold; + background-color: #FFC4C5; +} + +.ctrFiledHeadRed +{ + background-color: #FFC4C5; + font-weight: bold; + width: 25%; +} + +.ctrLabelStrongRed +{ + font-weight: bold; +} + +.ctrFieldEditRed +{ + font-size: 8pt; +} + +/* Controlli alternativi per cloning Verdi */ + +.ctrHeaderPagerGreen +{ + background-color: #5BD15B; + font-weight: bold; + color: White; +} + +.ctrFooterGreen +{ + background-color: #5BD15B; + font-weight: bold; + color: White; +} + +.ctrRowStyleGreen +{ + vertical-align: top; + background-color: #E1FFE7; +} + +.ctrAltRowStyleGreen +{ + vertical-align: top; + background-color: White; + border-bottom-width: 1px; + border-color: Silver; +} + +.ctrInsRowStyleGreen +{ + background-color: #b8b8b8; +} + +.ctGreenitRowStyleGreen +{ + background-color: #C4FFC5; +} + +.ctrSelRowStyleGreen +{ + font-weight: bold; + color: #333333; + background-color: #C4FFC5; +} + +.ctrCommRowGreen +{ + font-weight: bold; + background-color: #C4FFC5; +} + +.ctrFiledHeadGreen +{ + background-color: #C4FFC5; + font-weight: bold; + width: 25%; +} + +.ctrLabelStrongGreen +{ + font-weight: bold; +} + +.ctrFieldEditGreen +{ + font-size: 8pt; +} + +/* END */ + + + + +.repHead +{ + background-color: #507CD1; + color: White; + font-size: 10pt; + font-weight: bold; +} +.repFrame +{ + border: solid /* 2px */ #507CD1; +} +.repFooter +{ + font-size: 8pt; + background-color: #507CD1; + color: White; +} +.repFooterRight +{ + font-size: 8pt; + background-color: #507CD1; + color: White; + text-align: right; +} + +/*CollapsiblePanel*/ +.collapsePanel +{ + background-color: white; + overflow: hidden; +} +.collapsePanelHeader +{ + width: 100%; + height: 30px; + background-image: url(images/bg-menu-main.png); + background-repeat: repeat-x; + color: #FFF; + font-weight: bold; +} +.collapsePanelHead +{ + padding: 5px; + cursor: pointer; + vertical-align: middle; +} +.collapsePanelImg +{ + float: right; + vertical-align: middle; +} +.collapsePanelText +{ + float: left; + vertical-align: middle; + font-size: 9pt; +} +.collapsePanelTextDetails +{ + float: left; + margin-left: 20px; + vertical-align: middle; + font-size: 7pt; +} + +.ctrSelRow2DetailStyle +{ + font-weight: bold; + color: #333333; + background-color: #D1DDF1; +} + +.pnlDettaglio +{ + margin: 4px 4px 4px 4px; +} + +.dettaglioRiga +{ + vertical-align: top; +} +.pnlMaster +{ + height: 300px; +} +.pnlDetail +{ + border-left: solid 4px #D1DDF1; + border-top: solid 4px #D1DDF1; + border-bottom: solid 4px #D1DDF1; + border-right: solid 4px #D1DDF1; + background-color: #F3FFF3; + vertical-align: top; +} +.pnlDrillDown +{ + border-left: solid 8px #D1DDF1; + border-top: solid 8px #D1DDF1; + border-bottom: solid 8px #D1DDF1; + border-right: solid 8px #D1DDF1; + vertical-align: top; + height: 290px; +} + +.pnlDrillDownAlt +{ + border-right: solid 5px #D1DDF1; +} + +.pnlDrillDownAltAll +{ + border-right: solid 5px #D1DDF1; + border-left: solid 5px #D1DDF1; + border-top: solid 5px #D1DDF1; + border-bottom: solid 5px #D1DDF1; +} + + +.lblSearchLang +{ + font-weight: bold; + font-size: 11pt; + color: #00008B; + margin-left: 8px; + margin-right: 4px; +} +.tblDett +{ + vertical-align: top; + background-color: white; + text-align: left; +} +. .tblDett.titolo +{ + font-size: 13pt; + font-weight: bold; + color: blue; +} +. .tblDett.sceltaGen +{ + background-color: #8899ee; +} +.pnlPar_1 +{ + background-color: #ea101e; +} +.pnlPar_1_En +{ + font-size: 7pt; + font-weight: normal; + color: Silver; +} +.pnlPar_1_Lang +{ + font-size: 8pt; + font-weight: bold; + color: Silver; +} +.pnlPar_1_Error +{ + font-size: 7pt; + font-weight: bold; + color: #aadd00; +} +.pnlPar_1_Descr +{ + background-color: #ea101e; + font-size: 9pt; + font-weight: normal; + color: Yellow; +} +.pnlPar_2 +{ + background-color: #dcdcdc; +} +.pnlPar_2_En +{ + font-size: 7pt; + font-weight: normal; + color: black; +} +.pnlPar_2_Lang +{ + font-size: 8pt; + font-weight: bold; + color: black; +} +.pnlPar_2_Error +{ + font-size: 7pt; + font-weight: bold; + color: red; +} +.pnlPar_2_Descr +{ + font-size: 9pt; + font-weight: normal; +} +.pnlPar_3 +{ + background-color: #4444cc; +} +.pnlPar_3_En +{ + font-size: 8pt; + font-weight: bold; + color: yellow; +} +.pnlPar_3_Lang +{ + font-size: 8pt; + font-weight: bold; + color: Silver; +} +.pnlPar_3_Error +{ + font-size: 7pt; + font-weight: bold; + color: Yellow; +} +.pnlPar_3_Descr +{ + background-color: #4444cc; + font-size: 9pt; + font-weight: normal; + color: Yellow; +} +.pnlPar_3_warn +{ + background-color: #4444cc; + font-size: 8pt; + font-weight: normal; + font-style: italic; + color: Yellow; +} +.dlTestata +{ + background-color: White; + border-width: 0px; + border-style: solid; + border-color: #000099; +} +.dlTestataSel +{ + font-size: 8pt; + color: #339966; + background-color: #111111; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dlTestataItem +{ + text-align: right; + font-size: 7pt; + color: #330099; + background-color: Transparent; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dlTestataItemObblig +{ + text-align: right; + font-size: 7pt; + color: Black; + background-color: #b3ccff; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dlTestataAltItem +{ + text-align: right; + font-size: 7pt; + color: #330099; + background-color: #f5f5f5; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dlTestataEdit +{ + font-size: 8pt; + color: #339966; + background-color: #66FFCC; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; + vertical-align: text-top; +} +.dlTestataHead +{ + color: #CCFFFF; + background: #000099; + font-weight: bold; + font-size: 8pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dlTestataHead2 +{ + color: #CCFFFF; + background: #997799; + font-weight: bold; + font-size: 8pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dlTestataFoot +{ + text-align: right; + color: #3333dd; + background: #D4C8D0; + font-size: 8pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dlTestata_Lang +{ + font-size: 7pt; + font-weight: bold; + color: #3366bb; +} +.dlTestata_En +{ + font-size: 7pt; + font-weight: normal; + color: #339933; +} + +.lblTabPrincLang +{ + font-weight: bold; + font-size: 13pt; + color: #00008B; + margin-left: 8px; + margin-right: 4px; +} +.lblTabPrincEn +{ + font-weight: normal; + font-size: 7pt; + color: #00008B; + margin-left: 4px; + margin-right: 8px; +} +.lblTabPrincLang2 +{ + font-weight: bold; + font-size: 10pt; + color: White; + margin-left: 8px; + margin-right: 4px; +} +.lblTabPrincEn2 +{ + font-weight: normal; + font-size: 7pt; + color: White; + margin-left: 4px; + margin-right: 8px; +} +.lblTab_1Lang +{ + font-size: 10pt; + font-weight: bold; + color: #00008B; + margin-left: 8px; + margin-right: 4px; +} +.lblTab_1En +{ + font-size: 7pt; + font-weight: normal; + color: #00008B; + margin-left: 4px; + margin-right: 8px; +} +.tab_1Body +{ + vertical-align: middle; + border: solid thin #ff9900; +} +.lblLang +{ + font-size: 10pt; + font-weight: bold; + color: Black; +} +.lblEn +{ + font-size: 7pt; + color: Black; +} + +.dgSx +{ + background-color: White; + border-width: 0px; + border-style: solid; + border-color: #990000; +} +.dgSxSel +{ + text-align: right; + font-size: 8pt; + font-weight: bold; + color: #663399; + background-color: #FFCC66; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgSxItem +{ + text-align: right; + font-size: 7pt; + color: #330099; + background-color: Transparent; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgSxAltItem +{ + text-align: right; + font-size: 7pt; + color: #330099; + background-color: #f5f5f5; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgSxEdit +{ + font-size: 8pt; + color: #663399; + background-color: #FFCC66; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; + vertical-align: text-top; +} +.dgSxHead +{ + color: #FFFFCC; + background: #990000; + font-weight: bold; + font-size: 8pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgSxHead2 +{ + color: #FFFFCC; + background: #999977; + font-weight: bold; + font-size: 8pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgSxFoot +{ + text-align: right; + color: Black; + background: #bbccbb; + font-size: 8pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; + font-weight: bold; + border-bottom-style: solid; + border-color: Black; +} +.dgSxPaging +{ + text-align: left; + color: Black; + background: white; + font-size: 8pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.lblTab_2Lang +{ + font-size: 10pt; + font-weight: bold; + color: White; + margin-left: 8px; + margin-right: 4px; +} +.lblTab_2En +{ + font-size: 7pt; + font-weight: normal; + color: White; + margin-left: 4px; + margin-right: 8px; +} +.dgDx +{ + background-color: White; + border-width: 1px; + border-style: solid; + border-color: #003399; +} +.dgDxSel +{ + font-size: 8pt; + font-weight: bold; + color: #CCFF99; + background-color: #009999; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgDxItem +{ + font-size: 7pt; + color: #003399; + background-color: Transparent; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgDxAltItem +{ + font-size: 7pt; + color: #330099; + background-color: #f5f5f5; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgDxEdit +{ + font-size: 8pt; + font-weight: bold; + color: #CCFF99; + background-color: #009999; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgDxHead +{ + color: #CCCCFF; + background: #003399; + font-weight: bold; + font-size: 8pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgDxFoot +{ + color: #003399; + background-color: #99CCCC; + font-size: 10pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.lblMess +{ + color: Red; + font-size: 12pt; + font-style: italic; + font-weight: bold; +} + +.dlTextbox +{ + font-size: 8pt; +} +.dlLabel +{ + font-size: 8pt; + color: Black; + background-color: Transparent; + border-style: none; +} +.pnl_bozza +{ + background: #dcdcdc; +} +.pnl_inApprov +{ + background: #cbcbcb; +} +.pnl_freezed +{ + background: #bababa; +} +.lblValSel +{ + font-size: 8pt; + color: Black; + background-color: Transparent; + border-style: none; +} +.lblDett1 +{ + text-align: left; + font-weight: bold; + font-size: 7pt; + color: black; +} + +.dgAllegati +{ + background-color: White; + border-width: 0px; + border-style: solid; + border-color: #009900; +} +.dgAllegatiSel +{ + text-align: right; + font-size: 8pt; + font-weight: bold; + color: #669933; + background-color: #CCFF66; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgAllegatiItem +{ + text-align: right; + font-size: 7pt; + color: #339900; + background-color: Transparent; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgAllegatiAltItem +{ + text-align: right; + font-size: 7pt; + color: #339900; + background-color: #f5f5f5; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgAllegatiEdit +{ + font-size: 8pt; + color: #669933; + background-color: #cCFF66; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; + vertical-align: text-top; +} +.dgAllegatiHead +{ + color: #FFFFCC; + background: #009900; + font-weight: bold; + font-size: 8pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgAllegatiFoot +{ + text-align: right; + color: Black; + background: #ccbbbb; + font-size: 8pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; + font-weight: bold; + border-bottom-style: solid; + border-color: Black; +} +.dgAllegatiPaging +{ + text-align: left; + color: Black; + background: white; + font-size: 8pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.btnTab +{ + border-right: #ea101e 1px solid; + padding-right: 8px; + border-top: #ea101e 1px solid; + padding-left: 8px; + font-weight: bold; + font-size: 9pt; + background: #ea101e; + padding-bottom: 2px; + vertical-align: top; + border-left: #ea101e 1px solid; + color: white; + padding-top: 0px; + border-bottom: #ea101e 1px solid; + font-family: verdana, arial; + text-align: justify; +} + +.dgFiles +{ + background-color: White; + border-width: 0px; + border-style: solid; + border-color: #009900; +} +.dgFilesSel +{ + text-align: right; + font-size: 9pt; + font-weight: bold; + color: #669933; + background-color: #CCFF66; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgFilesItem +{ + text-align: right; + font-size: 8pt; + color: #339900; + background-color: Transparent; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgFilesAltItem +{ + text-align: right; + font-size: 8pt; + color: #339900; + background-color: #f5f5f5; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgFilesEdit +{ + font-size: 9pt; + color: #669933; + background-color: #cCFF66; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; + vertical-align: text-top; +} +.dgFilesHead +{ + color: #CCFFFF; + background: #990000; + font-weight: bold; + font-size: 9pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgFilesFoot +{ + text-align: right; + color: Black; + background: #ccbbbb; + font-size: 9pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; + font-weight: bold; + border-bottom-style: solid; + border-color: Black; +} +.dgFilesPaging +{ + text-align: left; + color: Black; + background: white; + font-size: 9pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} + +.lblFiltrLang +{ + font-size: 10pt; + font-weight: bold; + color: Black; + margin-left: 2px; + margin-right: 2px; +} +.lblFiltrEn +{ + font-size: 7pt; + font-weight: normal; + color: Black; + margin-left: 2px; + margin-right: 2px; +} + +grViewBorder +{ + border-left-width: 2px; + border-top-width: 2px; + border-bottom-width: 2px; + border-right-width: 0px; +} +/* @end */ + +/* @group Portable */ + +.bodyPortable +{ + /*background-color: #FFFFFF; */ + margin-top: 0px; + margin-left: 0px; + margin-bottom: 0px; + margin-right: 0px; + font: menu; + font-size: small; /* aggiunte per WES*/ + width: 100%; + vertical-align: middle; + background-color: Black; + color: White; +} + +.btnEnabled +{ + color: White; + font-family: Verdana; + font-variant: small-caps; + font-size: medium; + text-decoration: none; +} +.btnCurrent +{ + color: Black; + font-family: Verdana; + font-variant: small-caps; + font-size: medium; /*border-color: #6969ff;*/ + border-color: #7A90AB; + padding: 1px 1px 1px 1px; + border-width: 2px; + border-style: solid; + background-color: #AAB8C9; /*background: #DEDEFF;*/ + text-decoration: none; +} +.btnDisabled +{ + color: #444444; + font-family: Verdana; + font-variant: small-caps; + font-size: medium; + text-decoration: none; +} + +.iphone +{ + width: 100%; +} + + + +.txtFooter +{ + font-size: small; + font-style: italic; +} + +.txtCopyright +{ + font-size: small; +} + +/* @end */ + +.watermark +{ + color: Gray; + font-style: italic; +} +.autocomplete +{ + color: Gray; + font-size: smaller; +} +.autocompleteHiglight +{ + color: Black; + font-size: smaller; +} +/* ComboBox styles */ + +#master_content .ajax__combobox_itemlist +{ + margin: 0px; +} + +.AjaxToolkitStyle .ajax__combobox_inputcontainer .ajax__combobox_textboxcontainer input +{ + background-image: url(images/toolkit-bg.gif); + background-position: top left; + border: 0px none; + color: #FFFFFF; + padding: 4px 0px 3px 5px; + font-size: 13px; + height: 16px; + width: 240px; +} +.AjaxToolkitStyle .ajax__combobox_inputcontainer .ajax__combobox_buttoncontainer button +{ + background-image: url(images/toolkit-arrow.gif); + background-position: top left; + border: 0px none; + height: 23px; + width: 23px; +} +.AjaxToolkitStyle .ajax__combobox_itemlist +{ + border-color: #0F2543; + background-color: #EFEFEF; +} + +.AquaStyle .ajax__combobox_inputcontainer .ajax__combobox_textboxcontainer input +{ + margin: 0; + background-image: url(images/aqua-bg.gif); + background-position: top left; + border: 0px none; + padding: 2px 0px 0px 8px; + font-size: 11px; + height: 17px; + width: 150px; +} +.AquaStyle .ajax__combobox_inputcontainer .ajax__combobox_buttoncontainer button +{ + background-image: url(images/aqua-arrow.gif); + background-position: top left; + border: 0px none; + height: 19px; + width: 19px; +} +.AquaStyle .ajax__combobox_itemlist +{ + border-color: #000000; + background-color: #FFFFFF; +} +.WindowsStyle .ajax__combobox_inputcontainer .ajax__combobox_textboxcontainer input +{ + margin: 0; + border: solid 1px #7F9DB9; + border-right: 0px none; + padding: 1px 0px 0px 5px; + font-size: 13px; + height: 18px; +} +.WindowsStyle .ajax__combobox_inputcontainer .ajax__combobox_buttoncontainer button +{ + margin: 0; + padding: 0; + background-image: url(images/windows-arrow.gif); + background-position: top left; + border: 0px none; + height: 21px; + width: 21px; +} +.WindowsStyle .ajax__combobox_itemlist +{ + border-color: #7F9DB9; +} +/* tabella edit dettagli (es: tipoObj) */ +.tblEditDetail +{ + border: 1px solid #ACACAC; +} + +.bg_plus +{ + background-color: silver; +} +.BarcodeInput +{ + text-align: center; + font-size: 16pt; + height: 24px; + widows: 200px; +} + +/* area conf x gestione pagine full con barcode (es: spostamenti gitterbox, postazioni...) */ +.stileAttesa +{ + background: #AAAAAA; + text-align: center; +} +.stileComandoOk +{ + background: #AAFFAA; + text-align: center; +} +.stileComandoKo +{ + background: #FFAAAA; + text-align: center; +} +.stileComandoAdd +{ + background: #AAAAFF; + text-align: center; +} +.stileComandoND +{ + background: #FFFFAA; + text-align: center; +} +.fullPageHeader +{ + border-bottom: solid 2px Black; + background-color: #6C90FF; + font-weight: bold; +} +.msgBoxBarcode +{ + border-top: solid 2px Black; + border-bottom: solid 2px Black; + background-color: #E5E5E5; +} +.stileErr01 +{ + background: #FF6633; + text-align: center; +} +.stileErr02 +{ + background: #FFAA77; + text-align: center; +} +.stileErr03 +{ + background: #FF3300; + text-align: center; +} \ No newline at end of file diff --git a/GMW/Style.min.css b/GMW/Style.min.css new file mode 100644 index 00000000..e6b0dd01 --- /dev/null +++ b/GMW/Style.min.css @@ -0,0 +1 @@ +.fixedVal{background-color:#cdcdcd;text-align:center;color:#000}.fixedValLeft{background-color:#cdcdcd;text-align:left;color:#000}.textEv_1{background-color:#cdffcd;text-align:center;color:#000;font-size:8pt}.textEv_1Left{background-color:#cdffcd;text-align:left;color:#000;font-size:8pt}.textEv_2{background-color:#cdffcd;text-align:center;color:#000;font-size:8pt}.textEv_2Left{background-color:#cdffcd;text-align:left;color:#000;font-size:8pt}.textEv_Read{background-color:#deeff7;text-align:center;color:#000;font-size:8pt}.textEv_ReadLeft{background-color:#deeff7;text-align:left;color:#000;font-size:8pt}.bloccoDiv{border-bottom:solid 1px green;padding-bottom:1px;margin-bottom:5px}.semaforoVerde{color:green}.semaforoGiallo{color:orange;font-weight:bold}.semaforoRosso{color:red;font-weight:bold}.sv{text-align:center;font-size:7pt;height:20px;background-image:url(images/verde_20.png)}.sg{text-align:center;font-size:7pt;height:20px;background-image:url(images/giallo_20.png)}.sr{text-align:center;font-size:7pt;height:20px;background-image:url(images/rosso_20.png);color:#fff}.ss{text-align:center;font-size:7pt;height:20px;background-image:url(images/grigio_20.png);color:#fff}.cellaLibera{text-align:center;font-size:8pt;height:40px;background-image:url(images/grigioChiaro_80.png);border:solid 1px #777}.cellaSelezDett{text-align:center;font-size:8pt;height:40px;background-image:url(images/giallo_80.png);border:solid 1px #777}.cellaOccupata{text-align:center;font-size:8pt;height:40px;background-image:url(images/arancio_80.png);color:#fff;border:solid 1px #777}.cellaPiena{text-align:center;font-size:8pt;height:40px;background-image:url(images/verde_80.png);color:#fff;border:solid 1px #777}.cellaInattiva{text-align:center;font-size:8pt;height:40px;background-image:url(images/grigio_80.png);color:#fff;border:solid 1px #777}.cellaInattiva a{color:#fff}.cellaSelezAll{text-align:center;font-size:8pt;height:40px;background-image:url(images/blu_80.png);border:solid 1px #777}.cellaBianca{text-align:center;font-size:8pt;font-weight:bold}.selectedCell{border:dashed 2px #000;text-align:center}.SearchProviderTitle_1{font-size:16pt;font-weight:bold;text-align:left;color:#060}.PnlSearchProvider_1{background:#efffef;border:solid 2px #050;padding:2px 2px 2px 2px}.SearchProviderTitle_2{font-size:16pt;font-weight:bold;text-align:left;color:#600}.PnlSearchProvider_2{background:#ffefef;border:solid 2px #500;padding:2px 2px 2px 2px}.SearchProviderTitle_3{font-size:16pt;font-weight:bold;text-align:left;color:#006}.PnlSearchProvider_3{background:#efefff;border:solid 2px #005;padding:2px 2px 2px 2px}.SearchProviderTitle_4{font-size:16pt;font-weight:bold;text-align:left;color:#066}.PnlSearchProvider_4{background:#efffff;border:solid 2px #055;padding:2px 2px 2px 2px}.calSel{background-color:red;font-weight:bold;color:#fff}.calNextPrev{font-weight:bold;color:#000}.calDayHead{font-weight:bold;color:#fff;background-color:#6969df;font-size:9pt}.calTitle{font-weight:bold;color:#000;background-color:#bebebe}.calOtherMonthDay{background:#cbdccb}.calWeekEnd{background:#cbcbcb;font-weight:bold}.clsBody{border-right:#c6d7da thin solid;border-top:#c6d7da thin solid;border-left:#c6d7da thin solid;border-bottom:#c6d7da thin solid}.clsCurrentWeek{color:#fff;font-size:12px;text-decoration:none;font-family:Tahoma,Arial,Helvetica,sans-serif;white-space:nowrap;border-top:#c6d7da thin solid;border-bottom:#c6d7da thin solid;background-color:#8cc6ff;font-weight:bolder;font-weight:bold}.clsCurrentWeek2{color:#000;font-size:12px;text-decoration:none;font-family:Tahoma,Arial,Helvetica,sans-serif;white-space:nowrap;border-top:#c6d7da thin solid;border-bottom:#c6d7da thin solid;font-weight:bolder;font-weight:bold}.clsDayName{color:#0c0b5f;background-color:#bbbaf5;font-size:12px;text-decoration:none;font-family:Tahoma,Arial,Helvetica,sans-serif;white-space:nowrap}.clsCurrentDay{color:#fff;background-color:#398ce7;font-size:12px;text-decoration:none;font-family:Tahoma,Arial,Helvetica,sans-serif;white-space:nowrap;font-weight:bolder;font-weight:bold}.clsWorkDay{color:#000;background-color:#dbeaf5;font-size:12px;text-decoration:none;font-family:Tahoma,Arial,Helvetica,sans-serif;white-space:nowrap}.clsWorkDay:hover{color:#009400;background-color:#dbeaf5;font-size:12px;text-decoration:underline;font-family:Tahoma,Arial,Helvetica,sans-serif;white-space:nowrap}.clsWorkDayOtherMonth{color:#000;font-size:12px;text-decoration:none;font-family:Tahoma,Arial,Helvetica,sans-serif;white-space:nowrap}.clsWeekEnd{color:red;background-color:#dbeaf5;font-size:12px;text-decoration:none;font-family:Tahoma,Arial,Helvetica,sans-serif;white-space:nowrap}.clsWeekEnd:hover{color:#009400;background-color:#dbeaf5;font-size:12px;text-decoration:underline;font-family:Tahoma,Arial,Helvetica,sans-serif;white-space:nowrap}.clsWeekEndOtherMonth{color:red;font-size:12px;text-decoration:none;font-family:Tahoma,Arial,Helvetica,sans-serif;white-space:nowrap}.Calend{padding:4;background:#fff;color:#000;font-size:8pt;font-family:Verdana;border-color:#999;height:180px;width:200px}. \ No newline at end of file diff --git a/GMW/Style_prod.css b/GMW/Style_prod.css new file mode 100644 index 00000000..4b3993d6 --- /dev/null +++ b/GMW/Style_prod.css @@ -0,0 +1,3302 @@ +/* @group Generale */ +.fixedVal +{ + background-color: #cdcdcd; + text-align: center; + color: Black; +} + +.fixedValLeft +{ + background-color: #cdcdcd; + text-align: left; + color: Black; +} + +.textEv_1 +{ + background-color: #cdffcd; + text-align: center; + color: Black; + font-size: 8pt; +} + +.textEv_1Left +{ + background-color: #cdffcd; + text-align: left; + color: Black; + font-size: 8pt; +} + +.textEv_2 +{ + background-color: #cdffcd; + text-align: center; + color: Black; + font-size: 8pt; +} + +.textEv_2Left +{ + background-color: #cdffcd; + text-align: left; + color: Black; + font-size: 8pt; +} + +.textEv_Read +{ + background-color: #deeff7; + text-align: center; + color: Black; + font-size: 8pt; +} + +.textEv_ReadLeft +{ + background-color: #deeff7; + text-align: left; + color: Black; + font-size: 8pt; +} + +.bloccoDiv +{ + border-bottom: solid 1px green; + padding-bottom: 1px; + margin-bottom: 5px; +} + +.semaforoVerde +{ + color: Green; +} +.semaforoGiallo +{ + color: Orange; + font-weight: bold; +} +.semaforoRosso +{ + color: Red; + font-weight: bold; +} + +/* group barPlot a colori*/ +.sv +{ + text-align: center; + font-size: 7pt; + height: 20px; + background-image: url(images/verde_20.png); +} +.sg +{ + text-align: center; + font-size: 7pt; + height: 20px; + background-image: url(images/giallo_20.png); +} +.sr +{ + text-align: center; + font-size: 7pt; + height: 20px; + background-image: url(images/rosso_20.png); + color: White; +} +.ss +{ + text-align: center; + font-size: 7pt; + height: 20px; + background-image: url(images/grigio_20.png); + color: White; +} +/* group colori rappresentazione magazzino X Y */ +.cellaLibera +{ + text-align: center; + font-size: 8pt; + height: 40px; + background-image: url(images/grigioChiaro_80.png); + border: solid 1px #777777; +} +.cellaSelezDett +{ + text-align: center; + font-size: 8pt; + height: 40px; + background-image: url(images/giallo_80.png); + border: solid 1px #777777; +} +.cellaOccupata +{ + text-align: center; + font-size: 8pt; + height: 40px; + background-image: url(images/arancio_80.png); + color: White; + border: solid 1px #777777; +} +.cellaPiena +{ + text-align: center; + font-size: 8pt; + height: 40px; + background-image: url(images/verde_80.png); + color: White; + border: solid 1px #777777; +} +.cellaInattiva +{ + text-align: center; + font-size: 8pt; + height: 40px; + background-image: url(images/grigio_80.png); + color: White; + border: solid 1px #777777; +} +.cellaInattiva a +{ + color: White; +} +.cellaSelezAll +{ + text-align: center; + font-size: 8pt; + height: 40px; + background-image: url(images/blu_80.png); + border: solid 1px #777777; +} +.cellaBianca +{ + text-align: center; + font-size: 8pt; + font-weight: bold; +} +.selectedCell +{ + border: dashed 2px black; /*font-weight: bold;*/ + text-align: center; +} +/*group search provider*/ +.SearchProviderTitle_1 +{ + font-size: 16pt; + font-weight: bold; + text-align: left; + color: #006600; +} +.PnlSearchProvider_1 +{ + background: #EFFFEF; + border: solid 2px #005500; + padding: 2px 2px 2px 2px; +} +.SearchProviderTitle_2 +{ + font-size: 16pt; + font-weight: bold; + text-align: left; + color: #660000; +} +.PnlSearchProvider_2 +{ + background: #FFEFEF; + border: solid 2px #550000; + padding: 2px 2px 2px 2px; +} +.SearchProviderTitle_3 +{ + font-size: 16pt; + font-weight: bold; + text-align: left; + color: #000066; +} +.PnlSearchProvider_3 +{ + background: #EFEFFF; + border: solid 2px #000055; + padding: 2px 2px 2px 2px; +} +.SearchProviderTitle_4 +{ + font-size: 16pt; + font-weight: bold; + text-align: left; + color: #006666; +} +.PnlSearchProvider_4 +{ + background: #EFFFFF; + border: solid 2px #005555; + padding: 2px 2px 2px 2px; +} + +/* @group Calendario */ + +.calSel +{ + background-color: red; + font-weight: bold; + color: White; +} +.calNextPrev +{ + font-weight: bold; + color: Black; +} +.calDayHead +{ + font-weight: bold; + color: white; + background-color: #6969df; + font-size: 9pt; +} +.calTitle +{ + font-weight: bold; + color: Black; + background-color: #BEBEBE; +} +.calOtherMonthDay +{ + background: #CBDCCB; +} +.calWeekEnd +{ + background: #cbcbcb; + font-weight: bold; +} +.clsBody +{ + border-right: #C6D7DA thin solid; + border-top: #C6D7DA thin solid; + border-left: #C6D7DA thin solid; + border-bottom: #C6D7DA thin solid; +} + +.clsCurrentWeek +{ + color: #ffffff; + font-size: 12px; + text-decoration: none; + font-family: Tahoma, Arial, Helvetica, sans-serif; + white-space: nowrap; + border-top: #C6D7DA thin solid; + border-bottom: #C6D7DA thin solid; + background-color: #8CC6FF; + font-weight: bolder; + font-weight: bold; +} + +.clsCurrentWeek2 +{ + color: #000000; + font-size: 12px; + text-decoration: none; + font-family: Tahoma, Arial, Helvetica, sans-serif; + white-space: nowrap; + border-top: #C6D7DA thin solid; + border-bottom: #C6D7DA thin solid; + font-weight: bolder; + font-weight: bold; +} +.clsDayName +{ + color: #0C0B5F; + background-color: #bbbaf5; + font-size: 12px; + text-decoration: none; + font-family: Tahoma, Arial, Helvetica, sans-serif; + white-space: nowrap; +} +.clsCurrentDay +{ + color: #ffffff; + background-color: #398CE7; + font-size: 12px; + text-decoration: none; + font-family: Tahoma, Arial, Helvetica, sans-serif; + white-space: nowrap; + font-weight: bolder; + font-weight: bold; +} +.clsWorkDay +{ + color: #000000; + background-color: #dbeaf5; + font-size: 12px; + text-decoration: none; + font-family: Tahoma, Arial, Helvetica, sans-serif; + white-space: nowrap; +} +.clsWorkDay:hover +{ + color: #009400; + background-color: #dbeaf5; + font-size: 12px; + text-decoration: underline; + font-family: Tahoma, Arial, Helvetica, sans-serif; + white-space: nowrap; +} +.clsWorkDayOtherMonth +{ + color: #000000; + font-size: 12px; + text-decoration: none; + font-family: Tahoma, Arial, Helvetica, sans-serif; + white-space: nowrap; +} +.clsWeekEnd +{ + color: #FF0000; + background-color: #dbeaf5; + font-size: 12px; + text-decoration: none; + font-family: Tahoma, Arial, Helvetica, sans-serif; + white-space: nowrap; +} +.clsWeekEnd:hover +{ + color: #009400; + background-color: #dbeaf5; + font-size: 12px; + text-decoration: underline; + font-family: Tahoma, Arial, Helvetica, sans-serif; + white-space: nowrap; +} +.clsWeekEndOtherMonth +{ + color: #FF0000; + font-size: 12px; + text-decoration: none; + font-family: Tahoma, Arial, Helvetica, sans-serif; + white-space: nowrap; +} + +.Calend +{ + padding: 4; + background: White; + color: Black; + font-size: 8pt; + font-family: Verdana; + border-color: #999999; + height: 180px; + width: 200px; +} +. .Calend.TodayDay +{ + background: #cccccc; + color: Black; +} +. .Calend.Selector +{ + background: #cccccc; +} +. .Calend.NextPrev +{ + vertical-align: bottom; +} +. .Calend.DayHeader +{ + font-size: 7pt; + font-weight: bold; + background: #cccccc; +} +. .Calend.SelectedDay +{ + background: #666666; + font-weight: bold; + color: White; +} +. .Calend.Title +{ + font-weight: bold; + background: #999999; + border-color: Black; +} +. .Calend.WeekEndDay +{ + background: #FFFFCC; + color: Black; +} +. .Calend.OtherMonthDay +{ + color: Gray; +} + + + +/* @end */ + +.body +{ + margin: 0px; + padding: 0px; + font-family: Verdana, Arial; + font-size: small; + height: 100%; +} +.didascalia +{ + color: #696969; + font-size: 7pt; +} + +/* Mod selettore ajax */ +.txtLink +{ + font-size: smaller; + text-decoration: underline; + color: blue; +} +.txtValue +{ + font-size: smaller; + text-decoration: none; + color: #696969; +} +.notaMargine +{ + font-size: smaller; + background-color: #DEE8F5; + margin-top: 10px; + padding: 1px 1px 2px 1px; + text-align: right; + vertical-align: bottom; +} +.nota +{ + width: 70%; + font-size: smaller; + background-color: white; + margin-top: 10px; + padding: 2px 2px 4px 2px; + text-align: center; + vertical-align: bottom; + border: solid 1px red; +} + + +/*Popup Control*/ +.popupControl +{ + background-color: White; + position: absolute; + visibility: hidden; + border: solid 1px #363636; +} +.popupHover +{ + background-image: url(images/header-opened.png); + background-repeat: repeat-x; + background-position: left top; + background-color: #F5F7F8; +} +.evidenzia +{ + border: solid 1px blue; +} +/* area note logging */ +.logCont +{ + font-size: 8pt; + width: 100%; + text-align: center; + border: solid 1px silver; + background-color: #DFF1F1; +} +.logButton +{ + text-align: center; + padding: 10px; +} +/* selettore ajax*/ +.selezioneValRed +{ + text-decoration: underline; + color: Blue; +} +/*Modal Popup*/ +.modalBackground +{ + background-color: Gray; + filter: alpha(opacity=70); + opacity: 0.7; +} +.hiddenTxt +{ + /*color:White;*/ + background-color: White; + width: 5px; +} + +.modalPopup +{ + background-color: #ffffdd; + border-width: 1px; + border-style: solid; + border-color: Gray; + padding: 3px; +} + +.topTitle +{ + color: White; + font-family: Verdana; + font-size: 26px; + font-weight: bold; + text-align: center; + background-repeat: repeat-x; + background-position: 0% 0%; + background-attachment: scroll; + background-image: url(images/bluGrad32.png); +} +.ShadowText +{ + text-shadow: 2px 2px 2px rgba(0,0,0,.4); +} +.boxShadowLight +{ + -webkit-box-shadow: 3px 3px 6px rgba(0,0,0,.1); + -moz-box-shadow: 3px 3px 6px rgba(0,0,0,.1); + box-shadow: 3px 3px 6px rgba(0,0,0,.1); +} +.boxShadowDark +{ + -webkit-box-shadow: 3px 3px 6px rgba(0,0,0,.3); + -moz-box-shadow: 3px 3px 6px rgba(0,0,0,.3); + box-shadow: 3px 3px 6px rgba(0,0,0,.3); +} +.menuSx +{ + font-size: 8pt; + width: 180px; + vertical-align: top; /*height: 530px;*/ /*height: 530px;*/ + min-height: 530px; /*border-top: #0D0083 1px solid;*/ /*background-repeat: repeat-y; background-position: 0% 0%; background-attachment: scroll; background-image: url(images/menuSx5.png);*/ /*background: #DEE8F5;*/ + background: #DEE8F5; + -webkit-box-shadow: 3px 3px 6px rgba(0,0,0,.3); + -moz-box-shadow: 3px 3px 6px rgba(0,0,0,.3); + box-shadow: 3px 3px 6px rgba(0,0,0,.3); +} +.ov_header +{ + background-color: Blue; +} +.ov_footer +{ + background-color: Blue; +} +.ov_item +{ + background-color: gray; +} +.ov_itemAlt +{ + background-color: white; +} + +.navBar +{ + font-size: 9pt; /*background-color: #DEE8F5;*/ + background-color: #FFFFFF; /*border-right: #9999ff 1px solid; border-top: #9999ff 1px solid; border-left: #9999ff 1px solid; border-bottom: #9999ff 1px solid;*/ + padding: 3px 3px 3px 3px; + margin: 3px 3px 3px 0px; /*background-color:#DEE8F5; font-family: Verdana Arial; font-size: 13px; font-weight: normal; background-repeat: repeat-x; background-position: 0% 0%; background-attachment: scroll; background-image: url(images/bluGrad32.png);*/ +} +.hlBounce +{ + font-weight: bold; + font-size: 10pt; +} +.alertAjax +{ + color: #ea101e; + font-size: small; + font-weight: bold; +} +.smallTimeClock +{ + padding-right: 4px; + padding-left: 4px; + font-weight: bold; + font-size: 7pt; + padding-bottom: 2px; + vertical-align: middle; + color: Yellow; + padding-top: 2px; + font-family: verdana, arial; + text-align: justify; +} +.dxButtonClass +{ + padding-right: 8px; + padding-left: 8px; + font-weight: bold; + font-size: 9pt; + padding-bottom: 2px; + vertical-align: middle; + color: Yellow; + padding-top: 2px; + font-family: verdana, arial; + text-align: justify; +} +.barraTitolo +{ + background-color: #4C90FF; + vertical-align: middle; + height: 20pt; + text-align: center; +} +INPUT +{ + font-size: 8pt; +} +.selezioneVal +{ + border-right: yellow 1px solid; + border-top: yellow 1px solid; + border-left: yellow 1px solid; + border-bottom: yellow 1px solid; +} + +.selezioneValWhite +{ + border-right: white 1px solid; + border-top: white 1px solid; + border-left: white 1px solid; + border-bottom: white 1px solid; +} +.tableContenuto +{ + padding: 0px; + margin: 2px; /* con questo Table va a full screen */ + width: 99%; +} +.topContrDx +{ + text-align: center; + background-color: white; + text-align: left; + font-size: 9pt; +} +.topContrSx +{ + padding: 6px 3px 6px 3px; + text-align: center; + background-color: #DEE8F5; + border-top: solid 2px silver; + border-left: solid 2px silver; + border-right: solid 2px silver; + font-weight: bold; + font-size: 8pt; +} +.contrRiq +{ + border-left: solid 2px silver; + background-color: white; + border-top: solid 2px silver; + border-left: solid 2px silver; + border-right: solid 2px silver; + border-bottom: solid 1px silver; +} +.topSubMenuChk +{ + padding: 1px 6px 1px 6px; + text-align: center; + background-color: #DEE8F5; + border-top: solid 1px silver; + border-left: solid 2px silver; + border-right: solid 1px silver; + border-bottom: solid 1px silver; + font-weight: bold; + font-size: 8pt; +} +.controllo +{ + vertical-align: top; + width: 100%; + background-color: Transparent; + font-size: 8pt; + border-width: thin; + border-top-style: solid; + border-top-color: White; + border-left-style: solid; + border-left-color: White; + border-right-style: solid; + border-right-color: White; +} +.contrDx +{ + vertical-align: top; + width: 100%; + background-color: White; + font-size: 8pt; + border-width: thin; + border-style: solid; + border-color: silver; +} +.bodyMainCenter +{ + background-image: url(images/logo_sw.png); + vertical-align: middle; + border-left: #0D0083 1px solid; /*border-top: #0D0083 1px solid;*/ + text-align: center; + height: 100%; + width: 100%; + background-position: center; + background-attachment: scroll; + background-repeat: no-repeat; +} +.bottomWrite +{ + vertical-align: bottom; + border-top: #0D0083 1px solid; + margin-top: 2px; + padding-top: 2px; + font-size: 7pt; + height: 1%; + text-align: right; +} +.bodyCenter +{ + vertical-align: middle; + text-align: center; + height: 100%; + width: 100%; +} +.centerMenu +{ + background-color: White; + text-align: center; + border-width: thin; + border-style: groove; + border-color: Blue; +} +.pnlMenuSx +{ + padding-right: 5px; + height: 530px; +} +A:hover +{ + color: red; +} + +.clonaUserPerm +{ + color: #ffff66; + background-color: #ea101e; +} +.boxRicerca +{ + padding: 4px; +} + +.oneHalf +{ + width: 50%; +} +.oneQuart +{ + width: 25%; +} + +.cal +{ + font-size: 10pt; +} +.treeHead +{ + width: 100%; + text-align: center; + background-color: #D1DDF1; + border-right: solid 2px silver; + border-top: solid 2px silver; +} +.treeViewPnl +{ + background-color: white; + border-right: solid 2px silver; + border-bottom: solid 2px silver; +} +.statoHidden +{ + text-align: center; + width: 100%; + font-size: 9pt; + font-weight: bold; + height: 24px; + color: #696969; + background-image: url(images/bg_bright.jpg); +} +.statoCurrent +{ + text-align: center; + width: 100%; + font-size: 9pt; + font-weight: bold; + height: 24px; + color: White; + background-image: url(images/bg_dark.jpg); +} +.statoDone +{ + text-align: center; + width: 100%; + font-size: 9pt; + font-weight: bold; + height: 24px; + color: #696969; + background-image: url(images/bg_bright.jpg); +} +.imgDisabled a +{ + color: #ACACAC; + text-decoration: none; +} +.imgDisabled +{ + text-decoration: none; + padding: 2px 5px 2px 5px; + text-align: center; + font-size: 9pt; + height: 24px; + color: #ACACAC; + background-image: url(images/bg_dark_38.png); +} +.imgSelected a +{ + color: White; + text-decoration: none; +} +.imgSelected +{ + text-decoration: none; + padding: 2px 5px 2px 5px; + text-align: center; + font-size: 9pt; + font-weight: bold; + height: 24px; + color: White; + background-image: url(images/bg_dark_38.png); +} +.imgStandard a:hover +{ + color: White; +} +.imgStandard a +{ + color: #363636; + text-decoration: none; +} +.imgStandard +{ + text-decoration: none; + padding: 2px 5px 2px 5px; + text-align: center; + font-size: 9pt; + height: 24px; + color: #363636; + background-image: url(images/bg_bright_38.png); +} +.imgStandard:hover +{ + color: white; + text-decoration: none; + padding: 2px 5px 2px 5px; + text-align: center; + font-size: 9pt; + height: 24px; /*color: #363636; */ + background-image: url(images/bg_hover_38.png); +} +.imgStandard:hover a +{ + color: white; +} + +.imgStandardNoHover +{ + text-decoration: none; + padding: 2px 5px 2px 5px; + text-align: center; + font-size: 9pt; + height: 24px; + color: #363636; + background-image: url(images/bg_bright_38.png); +} + + +.imgStandardNoHover:hover +{ + text-decoration: none; + padding: 2px 5px 2px 5px; + text-align: center; + font-size: 9pt; + height: 24px; + color: #363636; + background-image: url(images/bg_bright_38.png); +} + + + +.eta2 +{ + width: 33%; + text-align: center; + background-color: #ffcccc; + font-size: 10pt; + font-weight: bold; +} +.termAnt +{ + width: 33%; + text-align: center; + background-color: #ccffcc; + font-size: 10pt; + font-weight: bold; +} +.termPost +{ + width: 33%; + text-align: center; + background-color: #ccccff; + font-size: 10pt; + font-weight: bold; +} +.watermarked +{ + color: #696969; + background-color: #EFEFFF; +} + + + + + + + + + + + +.divSx +{ + float: left; + padding: 0; + margin: 0; +} +.divDx +{ + float: right; + padding: 0; + margin: 0; +} +.clearDiv +{ + clear: both; +} +.formatTableGeneral +{ + height: 100%; + width: 100%; + border-bottom-width: 0px; +} +.dgCenter +{ + text-align: center; +} +.menuSxTree +{ + color: #D9101E; + font-size: 9pt; + text-align: left; + font-weight: bold; + margin-left: 0px; + margin-right: 0px; + margin-top: 0px; +} +.menuSxTreeOver +{ + color: White; + font-size: 10pt; + text-align: left; + font-weight: bold; + margin-left: 0px; + margin-right: 0px; + margin-top: 0px; +} +.menuSxElem +{ + color: #00008B; + font-size: 7pt; + text-align: left; + font-weight: bold; + margin-left: 0px; + margin-right: 0px; + margin-top: 0px; +} +.menuSxElemOver +{ + color: black; + font-size: 7pt; + text-align: left; + font-weight: bold; + margin-left: 0px; + margin-right: 0px; + margin-top: 0px; +} +.menuSxElemSmall +{ + font-size: 7pt; + text-align: left; + margin-left: 0px; + margin-right: 0px; + font-weight: normal; + color: #555555; + margin-top: 0px; +} +.menuSxElemSmallOver +{ + color: #555555; + font-size: 9pt; + text-align: left; + margin-left: 0px; + margin-right: 0px; + font-weight: normal; + margin-top: 0px; +} +.userClass +{ + padding-right: 8px; + padding-left: 8px; + font-weight: bold; + font-size: 9pt; + padding-bottom: 2px; + vertical-align: bottom; + color: white; + padding-top: 2px; + font-family: verdana, arial; + text-align: justify; +} +.topMenuMess +{ + font-size: 9pt; + text-align: left; + margin-left: 0px; + margin-right: 0px; + font-weight: bold; + color: white; + margin-top: 0px; +} +.topMenuMessEn +{ + font-size: 9pt; + text-align: left; + margin-left: 0px; + margin-right: 0px; + font-weight: bold; + color: black; + margin-top: 0px; +} +.bodyMain +{ + background-image: url(images/logo_sw.png); + vertical-align: top; + border-left: #0D0083 1px solid; /*border-top: #0D0083 1px solid;*/ + height: 100%; + width: 100%; + background-position: center; /*was topleft*/ + background-attachment: scroll; + background-repeat: no-repeat; +} +.fullscreen +{ + display: block; /*set the div in the top-left corner of the screen*/ + position: absolute; + top: 0; + left: 0; /*set the width and height to 100% of the screen*/ + width: 100%; + height: 100%; +} +.bodyMainEmpty +{ + vertical-align: top; + border-left: maroon 1px solid; + height: 100%; + width: 100%; +} + +.bodyMainWhite +{ + vertical-align: top; + border-left: maroon 1px solid; + height: 100%; + width: 100%; + background-position: center; + background-attachment: scroll; + background-repeat: no-repeat; +} + +.bodyMainWhite a:hover +{ + color: white; +} + +.bodyMainNoLogo +{ + vertical-align: top; + border-left: maroon 1px solid; + height: 100%; + width: 100%; +} + +.bodyMainLogoPiccolo +{ + background-image: url(images/sfondoMedio.png); + background-position: 97% 210px; + vertical-align: top; + border-left: maroon 1px solid; + height: 100%; + width: 100%; + background-attachment: scroll; + background-repeat: no-repeat; +} +.logoUpSx +{ + width: 200; + text-align: left; +} +.topMenu +{ + width: 100%; + text-align: left; + vertical-align: bottom; +} +.tabModPrinc +{ + background-color: White; +} +.sxTabPrinc +{ + font-size: 10pt; + font-style: italic; + color: Blue; + font-weight: bold; + width: 90%; + background-color: Transparent; +} +.dxTabPrinc +{ + background-color: #cbcbFF; + text-align: right; +} +.tab_1 +{ + vertical-align: top; +} +.sxTab_1 +{ + background-color: #C8D0D4; + text-align: left; +} +.sxTab_1_new +{ + background-color: #9999cc; + text-align: left; +} +.dxTab_1 +{ + width: 70%; + background-color: #C8D0D4; +} +.sxTab_2 +{ + background-color: #11AA66; + text-align: left; +} +.dxTab_2 +{ + width: 70%; + background-color: Transparent; +} +.tab_2Body +{ + vertical-align: middle; + border: solid thin #11AA66; +} +.chPwdTitle +{ + padding: 2px; + font-weight: bold; + font-size: 24pt; + color: red; + text-align: center; +} +.chPwdTxt +{ + padding: 2px; + font-weight: bold; + font-size: 10pt; + color: red; + text-align: center; +} +.chPwdMess +{ + padding: 2px; + font-weight: bold; + font-style: italic; + font-size: 9pt; + color: yellow; + text-align: center; +} +.loginTitle +{ + font-weight: bold; + font-size: 30pt; + color: Red; +} +.loginTxt +{ + padding: 2px; + font-weight: bold; + font-size: 10pt; + color: red; + text-align: center; +} +.loginMess +{ + padding: 2px; + font-weight: bold; + font-style: italic; + font-size: 9pt; + color: yellow; + text-align: center; +} +.reportLabel +{ + font-size: 16pt; +} +.reportValue +{ + font-size: 16pt; + font-weight: bold; +} +.reportExplLang +{ + font-size: 10pt; +} +.reportExplEn +{ + font-size: 7pt; + font-style: italic; +} +.reportElencoZap +{ + font-size: 9pt; +} +.UnauthAppTitle +{ + font-weight: bold; + font-size: 30pt; + margin-left: 10pt; +} +.UnauthTitle +{ + font-size: 20pt; + color: Red; + margin-left: 30pt; +} +.UnauthMess +{ + font-size: 12pt; + font-style: normal; + margin-left: 30pt; +} +.tableHead +{ + white-space: nowrap; + height: auto; + vertical-align: top; + line-height: 18px; + width: 100%; + height: 100%; +} +.tableHead2 +{ + white-space: nowrap; + height: auto; + vertical-align: top; + line-height: 18px; + color: #ffffcc; + background-color: #999977; + width: 100%; + height: 100%; +} +.cmbFiltrText +{ + font-size: 9pt; +} +.currencyFormat +{ + white-space: nowrap; + text-align: right; + vertical-align: baseline; +} +.UserLabel +{ + background-color: #ff9900; + text-align: center; + margin: 6 6 6 6; +} + +.UserLabel .principale +{ + font-size: large; + font-weight: bold; +} +. .UserLabel.secondario +{ + font-size: medium; +} +.cmbMini +{ + font-size: 8pt; +} +.txtMini +{ + font-size: 7pt; +} +.suggerimento +{ + font-size: 8pt; + font-weight: bold; + color: Red; +} +.lblBudget +{ + font-size: 8pt; + text-align: left; + font-weight: bold; +} +.errore +{ + font-weight: normal; + font-size: 8pt; + color: Red; +} +.erroreMid +{ + font-weight: normal; + font-size: 10pt; + color: Red; +} +.erroreMidYellow +{ + font-weight: normal; + font-size: 10pt; + color: Yellow; +} +.erroreBig +{ + font-weight: normal; + font-size: 12pt; + color: Red; +} +.valUpd +{ + font-style: italic; +} +.cmbMini +{ + font-size: 8pt; +} +.txtMini +{ + font-size: 8pt; +} +.txtMiniLeft +{ + font-size: 8pt; + text-align: left; +} +.valOk +{ + color: Green; +} +.valKo +{ + color: Red; + font-weight: bold; +} +.suggerimento +{ + font-size: 8pt; + font-weight: bold; + color: Red; +} +.searchHead +{ + background-color: #bbaabb; +} +.textHead +{ + background-color: #9966ff; +} +.linkAnnulla +{ + background-color: #ee9999; + color: Black; + font-weight: bold; + font-size: 14pt; +} +.linkSalva +{ + background-color: #99ee99; + color: Black; + font-weight: bold; + font-size: 14pt; +} + +.tableDett1 +{ + background: #98ff98; +} +.valDett1 +{ + font-size: 8pt; + color: Black; + font-weight: normal; +} +.tab_2lbl +{ + vertical-align: baseline; + border-collapse: collapse; + border-width: thin; + border-style: none; + font-size: 7pt; +} +.dettSel +{ + border-right: green 1px solid; + padding-right: 8px; + border-top: green 1px solid; + padding-left: 8px; + font-weight: bold; + font-size: 9pt; + background: #33ee44; + padding-bottom: 2px; + vertical-align: bottom; + border-left: green 1px solid; + color: white; + padding-top: 2px; + border-bottom: green 1px solid; + font-family: verdana, arial; + text-align: justify; +} +.dettDesel +{ + border-right: green 1px solid; + padding-right: 8px; + border-top: green 1px solid; + padding-left: 8px; + font-weight: bold; + font-size: 9pt; + background: white; + padding-bottom: 2px; + vertical-align: bottom; + border-left: green 1px solid; + color: Black; + padding-top: 2px; + border-bottom: green 1px solid; + font-family: verdana, arial; + text-align: justify; +} +.dettHide +{ + border-right: orange 1px solid; + padding-right: 8px; + border-top: orange 1px solid; + padding-left: 8px; + font-weight: bold; + font-size: 9pt; + background: #ff3344; + padding-bottom: 2px; + vertical-align: bottom; + border-left: orange 1px solid; + color: white; + padding-top: 2px; + border-bottom: orange 1px solid; + font-family: verdana, arial; + text-align: justify; +} +.tableDett3 +{ + background: #98ff98; + font-size: 9pt; +} +.dett3Head +{ + background: blue; + color: Yellow; + font-weight: bold; + font-size: 9pt; +} +.dett3Col1 +{ + color: Black; + font-weight: bold; + font-size: 9pt; +} + +.linkHead +{ + color: White; +} +.titoloMed +{ + color: Red; + font-size: 18pt; + font-weight: bold; +} +.testoMed +{ + font-size: 12pt; + font-weight: bold; +} + +.txtTab +{ + font-size: 8pt; + font-family: verdana, arial; + text-align: justify; +} + +.tblGray +{ + border-color: #777777; +} +.txtMiniTabella +{ + text-align: right; + font-weight: normal; + padding-left: 2pt; + font-size: 8pt; + padding-bottom: 2pt; + padding-top: 2pt; +} +.txtMiniTabellaLeft +{ + text-align: left; + font-weight: normal; + padding-left: 2pt; + font-size: 8pt; + padding-bottom: 2pt; + padding-top: 2pt; +} +.txtMiniTabellaDato +{ + text-align: left; + font-weight: bold; + padding-left: 2pt; + font-size: 8pt; + padding-bottom: 2pt; + padding-top: 2pt; +} +.relazione +{ + margin-top: 1px; + padding-top: 1px; + font-weight: normal; + font-size: 11pt; + text-align: justify; +} +.smallTable +{ + width: 300px; +} +.centerAll +{ + vertical-align: middle; + text-align: center; +} +.centerAllOther +{ + margin: 0 auto; +} +.selLinguaTxt +{ + padding: 2px; + font-weight: bold; + font-size: 12pt; + color: Yellow; + text-align: center; +} +.navBar +{ + font-size: 9pt; + background-color: #ededff; + border-right: #9999ff 1px solid; + border-top: #9999ff 1px solid; + border-left: #9999ff 1px solid; + border-bottom: #9999ff 1px solid; +} + +.panelPaddingTitle +{ + padding-top: 5px; + padding-left: 10px; + text-align: center; + vertical-align: middle; /* qui aggiunta */ + margin-right: 80px; +} + +.panelPadding +{ + padding-top: 5px; + padding-left: 5px; + padding-bottom: 5px; /* qui aggiunta */ + margin-right: 80px; +} + +.panelPaddingTitleDiv +{ + padding-top: 5px; + padding-left: 10px; + text-align: center; + vertical-align: middle; + margin-right: 80px; +} + +.panelPaddingDiv +{ + padding-top: 5px; + padding-left: 10px; + padding-bottom: 5px; + margin-right: 80px; +} + + +/* sostituiti tutti i #5555bb del bordino tabellaalta e contornoriq con silver */ + +.wrap +{ + overflow: auto; + white-space: normal; +} + +.dropdownList +{ + font-weight: normal; + font-size: 7pt; + background: #ea101e; + color: white; + font-family: verdana, arial; + text-align: justify; +} +.boxText +{ + font-size: 8pt; + font-weight: normal; + width: 100%; +} +.saveClose +{ + width: 100%; + text-align: center; + background-color: #ea101e; + padding: 2pt; +} + +/* @end */ + +/* @group Brembo Specific */ + +.idxContratto +{ + text-align: center; + font-size: 10pt; + font-weight: bold; +} +.idxStatoContratto +{ + text-align: right; + font-size: 10pt; + font-weight: bold; + font-style: italic; + color: Blue; +} + +/* fasi uomo / macchina*/ +.stileFaseMacchina +{ + color: #ea101e; +} +.stileFaseExt +{ + color: Black; +} +.stileFaseUomo +{ + color: #1e10ea; +} + +.treeCdC +{ + width: 250px; + text-align: right; + font-size: 8pt; + width: 180px; + vertical-align: top; + height: 100%; + background: white; +} + +.RDA +{ + font-size: 7pt; +} +.Ord +{ + font-size: 7pt; + background: #d0ffe3; +} +.Fatt +{ + font-size: 7pt; +} + +.job2do +{ + width: 50%; + font-weight: normal; + border-bottom-style: solid; + border-bottom-width: thin; + font-size: 8pt; + color: blue; + font-family: verdana, arial; + text-align: left; +} +.jobDone +{ + width: 50%; + font-weight: normal; + border-bottom-style: solid; + border-bottom-width: thin; + font-size: 8pt; + color: green; + font-family: verdana, arial; + text-align: right; +} + +.bodyAvanzamento +{ + font-family: Verdana, Arial; + background-image: url(images/gradiente.png); +} + +.paramIn +{ + font-family: Verdana; + margin-top: 1px; + padding-top: 1px; + font-weight: normal; + font-size: 7pt; + text-align: justify; + padding: 2px 2px p2x 2px; + border-right: red 2px solid; + border-top: red 2px solid; + border-left: red 2px solid; + border-bottom: red 2px solid; + margin: 1px; + background-color: #ffcccc; +} +.allegatiOut +{ + font-family: Verdana; + border-top: maroon 1px solid; + margin-top: 1px; + padding-top: 1px; + font-weight: normal; + font-size: 8pt; + text-align: justify; +} +.testoAllegatoIN +{ + font-family: Verdana; + padding: 5px 5px p5x 5px; + border-right: green 2px solid; + border-top: green 2px solid; + border-left: green 2px solid; + border-bottom: green 2px solid; + margin: 1px; + background-color: #ccffdd; + font-weight: normal; + font-size: 7pt; + text-align: left; +} +.testoAllegatoOUT +{ + font-family: Verdana; + padding: 5px 5px p5x 5px; + border-right: blue 2px solid; + border-top: blue 2px solid; + border-left: blue 2px solid; + border-bottom: blue 2px solid; + margin: 1px; + background-color: #ccddff; + font-weight: normal; + font-size: 7pt; + text-align: left; +} + +/* zona colorazione filtri */ +.filtro_1 +{ + background-color: #ababab; +} +.filtro_2 +{ + background-color: #bcbcbc; +} +.filtro_3 +{ + background-color: #cdcdcd; +} +.filtro_4 +{ + background-color: #dedeed; +} +.filtro_5 +{ + background-color: #efefef; +} + + +.intestJob +{ + padding: 5px 5px 5px 5px; +} +/* zona DIV con ID */ +#prenotazionehead +{ + text-align: center; +} + + +#prenotazione +{ + padding-left: 3px; + vertical-align: top; +} + + + +/* @end */ + +/* @group Stili Asp */ + +.lblText +{ + font-size: 8pt; +} + +.lblValore +{ + font-size: 8pt; + color: Black; + background-color: Transparent; + border-style: none; +} +.lblValoreBold +{ + font-size: 8pt; + color: Black; + font-weight: bold; + background-color: Transparent; + border-style: none; +} + + +.lblColorGray +{ + padding-left: 2pt; + text-align: left; + background-color: #777777; + font-size: 10pt; + font-weight: bold; + color: White; +} + +.lblWhite +{ + width: 70%; + background-color: white; +} + +.grView +{ + color: #333333; + font-size: 8pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; + padding-bottom: 1px; +} +.ctrHeaderPager +{ + background-color: #b8b8b8; + font-weight: bold; + color: White; +} +.ctrHeaderPagerRight +{ + background-color: #b8b8b8; + font-weight: bold; + color: White; + text-align: right; +} +.ctrHeaderPagerBlue +{ + background-color: #507CD1; + height: 1px; +} +.ctrHeaderPagerBlueRight +{ + background-color: #507CD1; + height: 1px; + text-align: right; +} +.ctrFooter +{ + background-color: #507CD1; + font-weight: bold; + color: White; +} +.ctrRowStyle +{ + vertical-align: top; + background-color: #EFF3FB; +} +.ctrAltRowStyle +{ + vertical-align: top; + background-color: White; +} +.ctrRowStyleRight +{ + background-color: #EFF3FB; + text-align: right; +} +.ctrAltRowStyleRight +{ + background-color: White; + text-align: right; +} +.ctrInsRowStyle +{ + background-color: #b8b8b8; +} +.ctrEditRowStyle +{ + background-color: #D1DDF1; +} +.ctrSelRowStyle +{ + font-weight: bold; + color: #333333; + background-color: #D1DDF1; +} +.ctrSelRowStyleYellow +{ + font-weight: bold; + color: #333333; + background-color: Yellow; +} +.ctrCommRow +{ + font-weight: bold; + background-color: #D1DDF1; +} +.ctrFiledHead +{ + background-color: #DEE8F5; + font-weight: bold; + width: 25%; +} +.ctrLabelStrong +{ + font-weight: bold; +} +.ctrFieldEdit +{ + font-size: 8pt; +} + +/* Controlli Alternativi */ + +.ctrHeaderPagerDet +{ + background-color: #507CD1; + font-weight: bold; + color: White; +} + +.ctrFooterDet +{ + background-color: #507CD1; + font-weight: bold; + color: White; +} +.ctrRowStyleDet +{ + vertical-align: top; + background-color: #EFF3FB; +} +.ctrAltRowStyleDet +{ + vertical-align: top; + background-color: White; + border-bottom-width: 1px; + border-color: Silver; +} +.ctrInsRowStyleDet +{ + background-color: #b8b8b8; +} +.ctrEditRowStyleDet +{ + background-color: #D1DDF1; +} +.ctrSelRowStyleDet +{ + font-weight: bold; + color: #333333; + background-color: #D1DDF1; +} +.ctrCommRowDet +{ + font-weight: bold; + background-color: #D1DDF1; +} +.ctrFiledHeadDet +{ + background-color: #DEE8F5; + font-weight: bold; + width: 25%; +} +.ctrLabelStrongDet +{ + font-weight: bold; +} +.ctrFieldEditDet +{ + font-size: 8pt; +} + +/* END */ + +/* Controlli alternativi per cloning Rossi */ + +.ctrHeaderPagerRed +{ + background-color: #D15B5B; + font-weight: bold; + color: White; +} + +.ctrFooterRed +{ + background-color: #D15B5B; + font-weight: bold; + color: White; +} + +.ctrRowStyleRed +{ + vertical-align: top; + background-color: #FFE1E7; +} + +.ctrAltRowStyleRed +{ + vertical-align: top; + background-color: White; + border-bottom-width: 1px; + border-color: Silver; +} + +.ctrInsRowStyleRed +{ + background-color: #b8b8b8; +} + +.ctrEditRowStyleRed +{ + background-color: #FFC4C5; +} + +.ctrSelRowStyleRed +{ + font-weight: bold; + color: #333333; + background-color: #FFC4C5; +} + +.ctrCommRowRed +{ + font-weight: bold; + background-color: #FFC4C5; +} + +.ctrFiledHeadRed +{ + background-color: #FFC4C5; + font-weight: bold; + width: 25%; +} + +.ctrLabelStrongRed +{ + font-weight: bold; +} + +.ctrFieldEditRed +{ + font-size: 8pt; +} + +/* Controlli alternativi per cloning Verdi */ + +.ctrHeaderPagerGreen +{ + background-color: #5BD15B; + font-weight: bold; + color: White; +} + +.ctrFooterGreen +{ + background-color: #5BD15B; + font-weight: bold; + color: White; +} + +.ctrRowStyleGreen +{ + vertical-align: top; + background-color: #E1FFE7; +} + +.ctrAltRowStyleGreen +{ + vertical-align: top; + background-color: White; + border-bottom-width: 1px; + border-color: Silver; +} + +.ctrInsRowStyleGreen +{ + background-color: #b8b8b8; +} + +.ctGreenitRowStyleGreen +{ + background-color: #C4FFC5; +} + +.ctrSelRowStyleGreen +{ + font-weight: bold; + color: #333333; + background-color: #C4FFC5; +} + +.ctrCommRowGreen +{ + font-weight: bold; + background-color: #C4FFC5; +} + +.ctrFiledHeadGreen +{ + background-color: #C4FFC5; + font-weight: bold; + width: 25%; +} + +.ctrLabelStrongGreen +{ + font-weight: bold; +} + +.ctrFieldEditGreen +{ + font-size: 8pt; +} + +/* END */ + + + + +.repHead +{ + background-color: #507CD1; + color: White; + font-size: 10pt; + font-weight: bold; +} +.repFrame +{ + border: solid /* 2px */ #507CD1; +} +.repFooter +{ + font-size: 8pt; + background-color: #507CD1; + color: White; +} +.repFooterRight +{ + font-size: 8pt; + background-color: #507CD1; + color: White; + text-align: right; +} + +/*CollapsiblePanel*/ +.collapsePanel +{ + background-color: white; + overflow: hidden; +} +.collapsePanelHeader +{ + width: 100%; + height: 30px; + background-image: url(images/bg-menu-main.png); + background-repeat: repeat-x; + color: #FFF; + font-weight: bold; +} +.collapsePanelHead +{ + padding: 5px; + cursor: pointer; + vertical-align: middle; +} +.collapsePanelImg +{ + float: right; + vertical-align: middle; +} +.collapsePanelText +{ + float: left; + vertical-align: middle; + font-size: 9pt; +} +.collapsePanelTextDetails +{ + float: left; + margin-left: 20px; + vertical-align: middle; + font-size: 7pt; +} + +.ctrSelRow2DetailStyle +{ + font-weight: bold; + color: #333333; + background-color: #D1DDF1; +} + +.pnlDettaglio +{ + margin: 4px 4px 4px 4px; +} + +.dettaglioRiga +{ + vertical-align: top; +} +.pnlMaster +{ + height: 300px; +} +.pnlDetail +{ + border-left: solid 4px #D1DDF1; + border-top: solid 4px #D1DDF1; + border-bottom: solid 4px #D1DDF1; + border-right: solid 4px #D1DDF1; + background-color: #F3FFF3; + vertical-align: top; +} +.pnlDrillDown +{ + border-left: solid 8px #D1DDF1; + border-top: solid 8px #D1DDF1; + border-bottom: solid 8px #D1DDF1; + border-right: solid 8px #D1DDF1; + vertical-align: top; + height: 290px; +} + +.pnlDrillDownAlt +{ + border-right: solid 5px #D1DDF1; +} + +.pnlDrillDownAltAll +{ + border-right: solid 5px #D1DDF1; + border-left: solid 5px #D1DDF1; + border-top: solid 5px #D1DDF1; + border-bottom: solid 5px #D1DDF1; +} + + +.lblSearchLang +{ + font-weight: bold; + font-size: 11pt; + color: #00008B; + margin-left: 8px; + margin-right: 4px; +} +.tblDett +{ + vertical-align: top; + background-color: white; + text-align: left; +} +. .tblDett.titolo +{ + font-size: 13pt; + font-weight: bold; + color: blue; +} +. .tblDett.sceltaGen +{ + background-color: #8899ee; +} +.pnlPar_1 +{ + background-color: #ea101e; +} +.pnlPar_1_En +{ + font-size: 7pt; + font-weight: normal; + color: Silver; +} +.pnlPar_1_Lang +{ + font-size: 8pt; + font-weight: bold; + color: Silver; +} +.pnlPar_1_Error +{ + font-size: 7pt; + font-weight: bold; + color: #aadd00; +} +.pnlPar_1_Descr +{ + background-color: #ea101e; + font-size: 9pt; + font-weight: normal; + color: Yellow; +} +.pnlPar_2 +{ + background-color: #dcdcdc; +} +.pnlPar_2_En +{ + font-size: 7pt; + font-weight: normal; + color: black; +} +.pnlPar_2_Lang +{ + font-size: 8pt; + font-weight: bold; + color: black; +} +.pnlPar_2_Error +{ + font-size: 7pt; + font-weight: bold; + color: red; +} +.pnlPar_2_Descr +{ + font-size: 9pt; + font-weight: normal; +} +.pnlPar_3 +{ + background-color: #4444cc; +} +.pnlPar_3_En +{ + font-size: 8pt; + font-weight: bold; + color: yellow; +} +.pnlPar_3_Lang +{ + font-size: 8pt; + font-weight: bold; + color: Silver; +} +.pnlPar_3_Error +{ + font-size: 7pt; + font-weight: bold; + color: Yellow; +} +.pnlPar_3_Descr +{ + background-color: #4444cc; + font-size: 9pt; + font-weight: normal; + color: Yellow; +} +.pnlPar_3_warn +{ + background-color: #4444cc; + font-size: 8pt; + font-weight: normal; + font-style: italic; + color: Yellow; +} +.dlTestata +{ + background-color: White; + border-width: 0px; + border-style: solid; + border-color: #000099; +} +.dlTestataSel +{ + font-size: 8pt; + color: #339966; + background-color: #111111; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dlTestataItem +{ + text-align: right; + font-size: 7pt; + color: #330099; + background-color: Transparent; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dlTestataItemObblig +{ + text-align: right; + font-size: 7pt; + color: Black; + background-color: #b3ccff; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dlTestataAltItem +{ + text-align: right; + font-size: 7pt; + color: #330099; + background-color: #f5f5f5; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dlTestataEdit +{ + font-size: 8pt; + color: #339966; + background-color: #66FFCC; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; + vertical-align: text-top; +} +.dlTestataHead +{ + color: #CCFFFF; + background: #000099; + font-weight: bold; + font-size: 8pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dlTestataHead2 +{ + color: #CCFFFF; + background: #997799; + font-weight: bold; + font-size: 8pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dlTestataFoot +{ + text-align: right; + color: #3333dd; + background: #D4C8D0; + font-size: 8pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dlTestata_Lang +{ + font-size: 7pt; + font-weight: bold; + color: #3366bb; +} +.dlTestata_En +{ + font-size: 7pt; + font-weight: normal; + color: #339933; +} + +.lblTabPrincLang +{ + font-weight: bold; + font-size: 13pt; + color: #00008B; + margin-left: 8px; + margin-right: 4px; +} +.lblTabPrincEn +{ + font-weight: normal; + font-size: 7pt; + color: #00008B; + margin-left: 4px; + margin-right: 8px; +} +.lblTabPrincLang2 +{ + font-weight: bold; + font-size: 10pt; + color: White; + margin-left: 8px; + margin-right: 4px; +} +.lblTabPrincEn2 +{ + font-weight: normal; + font-size: 7pt; + color: White; + margin-left: 4px; + margin-right: 8px; +} +.lblTab_1Lang +{ + font-size: 10pt; + font-weight: bold; + color: #00008B; + margin-left: 8px; + margin-right: 4px; +} +.lblTab_1En +{ + font-size: 7pt; + font-weight: normal; + color: #00008B; + margin-left: 4px; + margin-right: 8px; +} +.tab_1Body +{ + vertical-align: middle; + border: solid thin #ff9900; +} +.lblLang +{ + font-size: 10pt; + font-weight: bold; + color: Black; +} +.lblEn +{ + font-size: 7pt; + color: Black; +} + +.dgSx +{ + background-color: White; + border-width: 0px; + border-style: solid; + border-color: #990000; +} +.dgSxSel +{ + text-align: right; + font-size: 8pt; + font-weight: bold; + color: #663399; + background-color: #FFCC66; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgSxItem +{ + text-align: right; + font-size: 7pt; + color: #330099; + background-color: Transparent; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgSxAltItem +{ + text-align: right; + font-size: 7pt; + color: #330099; + background-color: #f5f5f5; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgSxEdit +{ + font-size: 8pt; + color: #663399; + background-color: #FFCC66; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; + vertical-align: text-top; +} +.dgSxHead +{ + color: #FFFFCC; + background: #990000; + font-weight: bold; + font-size: 8pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgSxHead2 +{ + color: #FFFFCC; + background: #999977; + font-weight: bold; + font-size: 8pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgSxFoot +{ + text-align: right; + color: Black; + background: #bbccbb; + font-size: 8pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; + font-weight: bold; + border-bottom-style: solid; + border-color: Black; +} +.dgSxPaging +{ + text-align: left; + color: Black; + background: white; + font-size: 8pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.lblTab_2Lang +{ + font-size: 10pt; + font-weight: bold; + color: White; + margin-left: 8px; + margin-right: 4px; +} +.lblTab_2En +{ + font-size: 7pt; + font-weight: normal; + color: White; + margin-left: 4px; + margin-right: 8px; +} +.dgDx +{ + background-color: White; + border-width: 1px; + border-style: solid; + border-color: #003399; +} +.dgDxSel +{ + font-size: 8pt; + font-weight: bold; + color: #CCFF99; + background-color: #009999; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgDxItem +{ + font-size: 7pt; + color: #003399; + background-color: Transparent; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgDxAltItem +{ + font-size: 7pt; + color: #330099; + background-color: #f5f5f5; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgDxEdit +{ + font-size: 8pt; + font-weight: bold; + color: #CCFF99; + background-color: #009999; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgDxHead +{ + color: #CCCCFF; + background: #003399; + font-weight: bold; + font-size: 8pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgDxFoot +{ + color: #003399; + background-color: #99CCCC; + font-size: 10pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.lblMess +{ + color: Red; + font-size: 12pt; + font-style: italic; + font-weight: bold; +} + +.dlTextbox +{ + font-size: 8pt; +} +.dlLabel +{ + font-size: 8pt; + color: Black; + background-color: Transparent; + border-style: none; +} +.pnl_bozza +{ + background: #dcdcdc; +} +.pnl_inApprov +{ + background: #cbcbcb; +} +.pnl_freezed +{ + background: #bababa; +} +.lblValSel +{ + font-size: 8pt; + color: Black; + background-color: Transparent; + border-style: none; +} +.lblDett1 +{ + text-align: left; + font-weight: bold; + font-size: 7pt; + color: black; +} + +.dgAllegati +{ + background-color: White; + border-width: 0px; + border-style: solid; + border-color: #009900; +} +.dgAllegatiSel +{ + text-align: right; + font-size: 8pt; + font-weight: bold; + color: #669933; + background-color: #CCFF66; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgAllegatiItem +{ + text-align: right; + font-size: 7pt; + color: #339900; + background-color: Transparent; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgAllegatiAltItem +{ + text-align: right; + font-size: 7pt; + color: #339900; + background-color: #f5f5f5; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgAllegatiEdit +{ + font-size: 8pt; + color: #669933; + background-color: #cCFF66; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; + vertical-align: text-top; +} +.dgAllegatiHead +{ + color: #FFFFCC; + background: #009900; + font-weight: bold; + font-size: 8pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgAllegatiFoot +{ + text-align: right; + color: Black; + background: #ccbbbb; + font-size: 8pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; + font-weight: bold; + border-bottom-style: solid; + border-color: Black; +} +.dgAllegatiPaging +{ + text-align: left; + color: Black; + background: white; + font-size: 8pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.btnTab +{ + border-right: #ea101e 1px solid; + padding-right: 8px; + border-top: #ea101e 1px solid; + padding-left: 8px; + font-weight: bold; + font-size: 9pt; + background: #ea101e; + padding-bottom: 2px; + vertical-align: top; + border-left: #ea101e 1px solid; + color: white; + padding-top: 0px; + border-bottom: #ea101e 1px solid; + font-family: verdana, arial; + text-align: justify; +} + +.dgFiles +{ + background-color: White; + border-width: 0px; + border-style: solid; + border-color: #009900; +} +.dgFilesSel +{ + text-align: right; + font-size: 9pt; + font-weight: bold; + color: #669933; + background-color: #CCFF66; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgFilesItem +{ + text-align: right; + font-size: 8pt; + color: #339900; + background-color: Transparent; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgFilesAltItem +{ + text-align: right; + font-size: 8pt; + color: #339900; + background-color: #f5f5f5; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgFilesEdit +{ + font-size: 9pt; + color: #669933; + background-color: #cCFF66; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; + vertical-align: text-top; +} +.dgFilesHead +{ + color: #CCFFFF; + background: #990000; + font-weight: bold; + font-size: 9pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgFilesFoot +{ + text-align: right; + color: Black; + background: #ccbbbb; + font-size: 9pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; + font-weight: bold; + border-bottom-style: solid; + border-color: Black; +} +.dgFilesPaging +{ + text-align: left; + color: Black; + background: white; + font-size: 9pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} + +.lblFiltrLang +{ + font-size: 10pt; + font-weight: bold; + color: Black; + margin-left: 2px; + margin-right: 2px; +} +.lblFiltrEn +{ + font-size: 7pt; + font-weight: normal; + color: Black; + margin-left: 2px; + margin-right: 2px; +} + +grViewBorder +{ + border-left-width: 2px; + border-top-width: 2px; + border-bottom-width: 2px; + border-right-width: 0px; +} +/* @end */ + +/* @group Portable */ + +.bodyPortable +{ + /*background-color: #FFFFFF; */ + margin-top: 0px; + margin-left: 0px; + margin-bottom: 0px; + margin-right: 0px; + font: menu; + font-size: small; /* aggiunte per WES*/ + width: 100%; + vertical-align: middle; + background-color: Black; + color: White; +} + +.btnEnabled +{ + color: White; + font-family: Verdana; + font-variant: small-caps; + font-size: medium; + text-decoration: none; +} +.btnCurrent +{ + color: Black; + font-family: Verdana; + font-variant: small-caps; + font-size: medium; /*border-color: #6969ff;*/ + border-color: #7A90AB; + padding: 1px 1px 1px 1px; + border-width: 2px; + border-style: solid; + background-color: #AAB8C9; /*background: #DEDEFF;*/ + text-decoration: none; +} +.btnDisabled +{ + color: #444444; + font-family: Verdana; + font-variant: small-caps; + font-size: medium; + text-decoration: none; +} + +.iphone +{ + width: 100%; +} + + + +.txtFooter +{ + font-size: small; + font-style: italic; +} + +.txtCopyright +{ + font-size: small; +} + +/* @end */ + +.watermark +{ + color: Gray; + font-style: italic; +} +.autocomplete +{ + color: Gray; + font-size: smaller; +} +.autocompleteHiglight +{ + color: Black; + font-size: smaller; +} +/* ComboBox styles */ + +#master_content .ajax__combobox_itemlist +{ + margin: 0px; +} + +.AjaxToolkitStyle .ajax__combobox_inputcontainer .ajax__combobox_textboxcontainer input +{ + background-image: url(images/toolkit-bg.gif); + background-position: top left; + border: 0px none; + color: #FFFFFF; + padding: 4px 0px 3px 5px; + font-size: 13px; + height: 16px; + width: 240px; +} +.AjaxToolkitStyle .ajax__combobox_inputcontainer .ajax__combobox_buttoncontainer button +{ + background-image: url(images/toolkit-arrow.gif); + background-position: top left; + border: 0px none; + height: 23px; + width: 23px; +} +.AjaxToolkitStyle .ajax__combobox_itemlist +{ + border-color: #0F2543; + background-color: #EFEFEF; +} + +.AquaStyle .ajax__combobox_inputcontainer .ajax__combobox_textboxcontainer input +{ + margin: 0; + background-image: url(images/aqua-bg.gif); + background-position: top left; + border: 0px none; + padding: 2px 0px 0px 8px; + font-size: 11px; + height: 17px; + width: 150px; +} +.AquaStyle .ajax__combobox_inputcontainer .ajax__combobox_buttoncontainer button +{ + background-image: url(images/aqua-arrow.gif); + background-position: top left; + border: 0px none; + height: 19px; + width: 19px; +} +.AquaStyle .ajax__combobox_itemlist +{ + border-color: #000000; + background-color: #FFFFFF; +} +.WindowsStyle .ajax__combobox_inputcontainer .ajax__combobox_textboxcontainer input +{ + margin: 0; + border: solid 1px #7F9DB9; + border-right: 0px none; + padding: 1px 0px 0px 5px; + font-size: 13px; + height: 18px; +} +.WindowsStyle .ajax__combobox_inputcontainer .ajax__combobox_buttoncontainer button +{ + margin: 0; + padding: 0; + background-image: url(images/windows-arrow.gif); + background-position: top left; + border: 0px none; + height: 21px; + width: 21px; +} +.WindowsStyle .ajax__combobox_itemlist +{ + border-color: #7F9DB9; +} +/* tabella edit dettagli (es: tipoObj) */ +.tblEditDetail +{ + border: 1px solid #ACACAC; +} + +.bg_plus +{ + background-color: silver; +} +.BarcodeInput +{ + text-align: center; + font-size: 16pt; + height: 24px; + widows: 200px; +} + +/* area conf x gestione pagine full con barcode (es: spostamenti gitterbox, postazioni...) */ +.stileAttesa +{ + background: #AAAAAA; + text-align: center; +} +.stileComandoOk +{ + background: #AAFFAA; + text-align: center; +} +.stileComandoKo +{ + background: #FFAAAA; + text-align: center; +} +.stileComandoAdd +{ + background: #AAAAFF; + text-align: center; +} +.stileComandoND +{ + background: #FFFFAA; + text-align: center; +} +.fullPageHeader +{ + border-bottom: solid 2px Black; + background-color: #6C90FF; + font-weight: bold; +} +.msgBoxBarcode +{ + border-top: solid 2px Black; + border-bottom: solid 2px Black; + background-color: #E5E5E5; +} +.stileErr01 +{ + background: #FF6633; + text-align: center; +} +.stileErr02 +{ + background: #FFAA77; + text-align: center; +} +.stileErr03 +{ + background: #FF3300; + text-align: center; +} \ No newline at end of file diff --git a/GMW/Style_prod.min.css b/GMW/Style_prod.min.css new file mode 100644 index 00000000..e6b0dd01 --- /dev/null +++ b/GMW/Style_prod.min.css @@ -0,0 +1 @@ +.fixedVal{background-color:#cdcdcd;text-align:center;color:#000}.fixedValLeft{background-color:#cdcdcd;text-align:left;color:#000}.textEv_1{background-color:#cdffcd;text-align:center;color:#000;font-size:8pt}.textEv_1Left{background-color:#cdffcd;text-align:left;color:#000;font-size:8pt}.textEv_2{background-color:#cdffcd;text-align:center;color:#000;font-size:8pt}.textEv_2Left{background-color:#cdffcd;text-align:left;color:#000;font-size:8pt}.textEv_Read{background-color:#deeff7;text-align:center;color:#000;font-size:8pt}.textEv_ReadLeft{background-color:#deeff7;text-align:left;color:#000;font-size:8pt}.bloccoDiv{border-bottom:solid 1px green;padding-bottom:1px;margin-bottom:5px}.semaforoVerde{color:green}.semaforoGiallo{color:orange;font-weight:bold}.semaforoRosso{color:red;font-weight:bold}.sv{text-align:center;font-size:7pt;height:20px;background-image:url(images/verde_20.png)}.sg{text-align:center;font-size:7pt;height:20px;background-image:url(images/giallo_20.png)}.sr{text-align:center;font-size:7pt;height:20px;background-image:url(images/rosso_20.png);color:#fff}.ss{text-align:center;font-size:7pt;height:20px;background-image:url(images/grigio_20.png);color:#fff}.cellaLibera{text-align:center;font-size:8pt;height:40px;background-image:url(images/grigioChiaro_80.png);border:solid 1px #777}.cellaSelezDett{text-align:center;font-size:8pt;height:40px;background-image:url(images/giallo_80.png);border:solid 1px #777}.cellaOccupata{text-align:center;font-size:8pt;height:40px;background-image:url(images/arancio_80.png);color:#fff;border:solid 1px #777}.cellaPiena{text-align:center;font-size:8pt;height:40px;background-image:url(images/verde_80.png);color:#fff;border:solid 1px #777}.cellaInattiva{text-align:center;font-size:8pt;height:40px;background-image:url(images/grigio_80.png);color:#fff;border:solid 1px #777}.cellaInattiva a{color:#fff}.cellaSelezAll{text-align:center;font-size:8pt;height:40px;background-image:url(images/blu_80.png);border:solid 1px #777}.cellaBianca{text-align:center;font-size:8pt;font-weight:bold}.selectedCell{border:dashed 2px #000;text-align:center}.SearchProviderTitle_1{font-size:16pt;font-weight:bold;text-align:left;color:#060}.PnlSearchProvider_1{background:#efffef;border:solid 2px #050;padding:2px 2px 2px 2px}.SearchProviderTitle_2{font-size:16pt;font-weight:bold;text-align:left;color:#600}.PnlSearchProvider_2{background:#ffefef;border:solid 2px #500;padding:2px 2px 2px 2px}.SearchProviderTitle_3{font-size:16pt;font-weight:bold;text-align:left;color:#006}.PnlSearchProvider_3{background:#efefff;border:solid 2px #005;padding:2px 2px 2px 2px}.SearchProviderTitle_4{font-size:16pt;font-weight:bold;text-align:left;color:#066}.PnlSearchProvider_4{background:#efffff;border:solid 2px #055;padding:2px 2px 2px 2px}.calSel{background-color:red;font-weight:bold;color:#fff}.calNextPrev{font-weight:bold;color:#000}.calDayHead{font-weight:bold;color:#fff;background-color:#6969df;font-size:9pt}.calTitle{font-weight:bold;color:#000;background-color:#bebebe}.calOtherMonthDay{background:#cbdccb}.calWeekEnd{background:#cbcbcb;font-weight:bold}.clsBody{border-right:#c6d7da thin solid;border-top:#c6d7da thin solid;border-left:#c6d7da thin solid;border-bottom:#c6d7da thin solid}.clsCurrentWeek{color:#fff;font-size:12px;text-decoration:none;font-family:Tahoma,Arial,Helvetica,sans-serif;white-space:nowrap;border-top:#c6d7da thin solid;border-bottom:#c6d7da thin solid;background-color:#8cc6ff;font-weight:bolder;font-weight:bold}.clsCurrentWeek2{color:#000;font-size:12px;text-decoration:none;font-family:Tahoma,Arial,Helvetica,sans-serif;white-space:nowrap;border-top:#c6d7da thin solid;border-bottom:#c6d7da thin solid;font-weight:bolder;font-weight:bold}.clsDayName{color:#0c0b5f;background-color:#bbbaf5;font-size:12px;text-decoration:none;font-family:Tahoma,Arial,Helvetica,sans-serif;white-space:nowrap}.clsCurrentDay{color:#fff;background-color:#398ce7;font-size:12px;text-decoration:none;font-family:Tahoma,Arial,Helvetica,sans-serif;white-space:nowrap;font-weight:bolder;font-weight:bold}.clsWorkDay{color:#000;background-color:#dbeaf5;font-size:12px;text-decoration:none;font-family:Tahoma,Arial,Helvetica,sans-serif;white-space:nowrap}.clsWorkDay:hover{color:#009400;background-color:#dbeaf5;font-size:12px;text-decoration:underline;font-family:Tahoma,Arial,Helvetica,sans-serif;white-space:nowrap}.clsWorkDayOtherMonth{color:#000;font-size:12px;text-decoration:none;font-family:Tahoma,Arial,Helvetica,sans-serif;white-space:nowrap}.clsWeekEnd{color:red;background-color:#dbeaf5;font-size:12px;text-decoration:none;font-family:Tahoma,Arial,Helvetica,sans-serif;white-space:nowrap}.clsWeekEnd:hover{color:#009400;background-color:#dbeaf5;font-size:12px;text-decoration:underline;font-family:Tahoma,Arial,Helvetica,sans-serif;white-space:nowrap}.clsWeekEndOtherMonth{color:red;font-size:12px;text-decoration:none;font-family:Tahoma,Arial,Helvetica,sans-serif;white-space:nowrap}.Calend{padding:4;background:#fff;color:#000;font-size:8pt;font-family:Verdana;border-color:#999;height:180px;width:200px}. \ No newline at end of file diff --git a/GMW/Style_test.css b/GMW/Style_test.css new file mode 100644 index 00000000..c023b3d6 --- /dev/null +++ b/GMW/Style_test.css @@ -0,0 +1,3302 @@ +/* @group Generale */ +.fixedVal +{ + background-color: #cdcdcd; + text-align: center; + color: Black; +} + +.fixedValLeft +{ + background-color: #cdcdcd; + text-align: left; + color: Black; +} + +.textEv_1 +{ + background-color: #cdffcd; + text-align: center; + color: Black; + font-size: 8pt; +} + +.textEv_1Left +{ + background-color: #cdffcd; + text-align: left; + color: Black; + font-size: 8pt; +} + +.textEv_2 +{ + background-color: #cdffcd; + text-align: center; + color: Black; + font-size: 8pt; +} + +.textEv_2Left +{ + background-color: #cdffcd; + text-align: left; + color: Black; + font-size: 8pt; +} + +.textEv_Read +{ + background-color: #deeff7; + text-align: center; + color: Black; + font-size: 8pt; +} + +.textEv_ReadLeft +{ + background-color: #deeff7; + text-align: left; + color: Black; + font-size: 8pt; +} + +.bloccoDiv +{ + border-bottom: solid 1px green; + padding-bottom: 1px; + margin-bottom: 5px; +} + +.semaforoVerde +{ + color: Green; +} +.semaforoGiallo +{ + color: Orange; + font-weight: bold; +} +.semaforoRosso +{ + color: Red; + font-weight: bold; +} + +/* group barPlot a colori*/ +.sv +{ + text-align: center; + font-size: 7pt; + height: 20px; + background-image: url(images/verde_20.png); +} +.sg +{ + text-align: center; + font-size: 7pt; + height: 20px; + background-image: url(images/giallo_20.png); +} +.sr +{ + text-align: center; + font-size: 7pt; + height: 20px; + background-image: url(images/rosso_20.png); + color: White; +} +.ss +{ + text-align: center; + font-size: 7pt; + height: 20px; + background-image: url(images/grigio_20.png); + color: White; +} +/* group colori rappresentazione magazzino X Y */ +.cellaLibera +{ + text-align: center; + font-size: 8pt; + height: 40px; + background-image: url(images/grigioChiaro_80.png); + border: solid 1px #777777; +} +.cellaSelezDett +{ + text-align: center; + font-size: 8pt; + height: 40px; + background-image: url(images/giallo_80.png); + border: solid 1px #777777; +} +.cellaOccupata +{ + text-align: center; + font-size: 8pt; + height: 40px; + background-image: url(images/arancio_80.png); + color: White; + border: solid 1px #777777; +} +.cellaPiena +{ + text-align: center; + font-size: 8pt; + height: 40px; + background-image: url(images/verde_80.png); + color: White; + border: solid 1px #777777; +} +.cellaInattiva +{ + text-align: center; + font-size: 8pt; + height: 40px; + background-image: url(images/grigio_80.png); + color: White; + border: solid 1px #777777; +} +.cellaInattiva a +{ + color: White; +} +.cellaSelezAll +{ + text-align: center; + font-size: 8pt; + height: 40px; + background-image: url(images/blu_80.png); + border: solid 1px #777777; +} +.cellaBianca +{ + text-align: center; + font-size: 8pt; + font-weight: bold; +} +.selectedCell +{ + border: dashed 2px black; /*font-weight: bold;*/ + text-align: center; +} +/*group search provider*/ +.SearchProviderTitle_1 +{ + font-size: 16pt; + font-weight: bold; + text-align: left; + color: #006600; +} +.PnlSearchProvider_1 +{ + background: #EFFFEF; + border: solid 2px #005500; + padding: 2px 2px 2px 2px; +} +.SearchProviderTitle_2 +{ + font-size: 16pt; + font-weight: bold; + text-align: left; + color: #660000; +} +.PnlSearchProvider_2 +{ + background: #FFEFEF; + border: solid 2px #550000; + padding: 2px 2px 2px 2px; +} +.SearchProviderTitle_3 +{ + font-size: 16pt; + font-weight: bold; + text-align: left; + color: #000066; +} +.PnlSearchProvider_3 +{ + background: #EFEFFF; + border: solid 2px #000055; + padding: 2px 2px 2px 2px; +} +.SearchProviderTitle_4 +{ + font-size: 16pt; + font-weight: bold; + text-align: left; + color: #006666; +} +.PnlSearchProvider_4 +{ + background: #EFFFFF; + border: solid 2px #005555; + padding: 2px 2px 2px 2px; +} + +/* @group Calendario */ + +.calSel +{ + background-color: red; + font-weight: bold; + color: White; +} +.calNextPrev +{ + font-weight: bold; + color: Black; +} +.calDayHead +{ + font-weight: bold; + color: white; + background-color: #6969df; + font-size: 9pt; +} +.calTitle +{ + font-weight: bold; + color: Black; + background-color: #BEBEBE; +} +.calOtherMonthDay +{ + background: #CBDCCB; +} +.calWeekEnd +{ + background: #cbcbcb; + font-weight: bold; +} +.clsBody +{ + border-right: #C6D7DA thin solid; + border-top: #C6D7DA thin solid; + border-left: #C6D7DA thin solid; + border-bottom: #C6D7DA thin solid; +} + +.clsCurrentWeek +{ + color: #ffffff; + font-size: 12px; + text-decoration: none; + font-family: Tahoma, Arial, Helvetica, sans-serif; + white-space: nowrap; + border-top: #C6D7DA thin solid; + border-bottom: #C6D7DA thin solid; + background-color: #8CC6FF; + font-weight: bolder; + font-weight: bold; +} + +.clsCurrentWeek2 +{ + color: #000000; + font-size: 12px; + text-decoration: none; + font-family: Tahoma, Arial, Helvetica, sans-serif; + white-space: nowrap; + border-top: #C6D7DA thin solid; + border-bottom: #C6D7DA thin solid; + font-weight: bolder; + font-weight: bold; +} +.clsDayName +{ + color: #0C0B5F; + background-color: #bbbaf5; + font-size: 12px; + text-decoration: none; + font-family: Tahoma, Arial, Helvetica, sans-serif; + white-space: nowrap; +} +.clsCurrentDay +{ + color: #ffffff; + background-color: #398CE7; + font-size: 12px; + text-decoration: none; + font-family: Tahoma, Arial, Helvetica, sans-serif; + white-space: nowrap; + font-weight: bolder; + font-weight: bold; +} +.clsWorkDay +{ + color: #000000; + background-color: #dbeaf5; + font-size: 12px; + text-decoration: none; + font-family: Tahoma, Arial, Helvetica, sans-serif; + white-space: nowrap; +} +.clsWorkDay:hover +{ + color: #009400; + background-color: #dbeaf5; + font-size: 12px; + text-decoration: underline; + font-family: Tahoma, Arial, Helvetica, sans-serif; + white-space: nowrap; +} +.clsWorkDayOtherMonth +{ + color: #000000; + font-size: 12px; + text-decoration: none; + font-family: Tahoma, Arial, Helvetica, sans-serif; + white-space: nowrap; +} +.clsWeekEnd +{ + color: #FF0000; + background-color: #dbeaf5; + font-size: 12px; + text-decoration: none; + font-family: Tahoma, Arial, Helvetica, sans-serif; + white-space: nowrap; +} +.clsWeekEnd:hover +{ + color: #009400; + background-color: #dbeaf5; + font-size: 12px; + text-decoration: underline; + font-family: Tahoma, Arial, Helvetica, sans-serif; + white-space: nowrap; +} +.clsWeekEndOtherMonth +{ + color: #FF0000; + font-size: 12px; + text-decoration: none; + font-family: Tahoma, Arial, Helvetica, sans-serif; + white-space: nowrap; +} + +.Calend +{ + padding: 4; + background: White; + color: Black; + font-size: 8pt; + font-family: Verdana; + border-color: #999999; + height: 180px; + width: 200px; +} +. .Calend.TodayDay +{ + background: #cccccc; + color: Black; +} +. .Calend.Selector +{ + background: #cccccc; +} +. .Calend.NextPrev +{ + vertical-align: bottom; +} +. .Calend.DayHeader +{ + font-size: 7pt; + font-weight: bold; + background: #cccccc; +} +. .Calend.SelectedDay +{ + background: #666666; + font-weight: bold; + color: White; +} +. .Calend.Title +{ + font-weight: bold; + background: #999999; + border-color: Black; +} +. .Calend.WeekEndDay +{ + background: #FFFFCC; + color: Black; +} +. .Calend.OtherMonthDay +{ + color: Gray; +} + + + +/* @end */ + +.body +{ + margin: 0px; + padding: 0px; + font-family: Verdana, Arial; + font-size: small; + height: 100%; +} +.didascalia +{ + color: #696969; + font-size: 7pt; +} + +/* Mod selettore ajax */ +.txtLink +{ + font-size: smaller; + text-decoration: underline; + color: blue; +} +.txtValue +{ + font-size: smaller; + text-decoration: none; + color: #696969; +} +.notaMargine +{ + font-size: smaller; + background-color: #DEE8F5; + margin-top: 10px; + padding: 1px 1px 2px 1px; + text-align: right; + vertical-align: bottom; +} +.nota +{ + width: 70%; + font-size: smaller; + background-color: white; + margin-top: 10px; + padding: 2px 2px 4px 2px; + text-align: center; + vertical-align: bottom; + border: solid 1px red; +} + + +/*Popup Control*/ +.popupControl +{ + background-color: White; + position: absolute; + visibility: hidden; + border: solid 1px #363636; +} +.popupHover +{ + background-image: url(images/header-opened.png); + background-repeat: repeat-x; + background-position: left top; + background-color: #F5F7F8; +} +.evidenzia +{ + border: solid 1px blue; +} +/* area note logging */ +.logCont +{ + font-size: 8pt; + width: 100%; + text-align: center; + border: solid 1px silver; + background-color: #DFF1F1; +} +.logButton +{ + text-align: center; + padding: 10px; +} +/* selettore ajax*/ +.selezioneValRed +{ + text-decoration: underline; + color: Blue; +} +/*Modal Popup*/ +.modalBackground +{ + background-color: Gray; + filter: alpha(opacity=70); + opacity: 0.7; +} +.hiddenTxt +{ + /*color:White;*/ + background-color: White; + width: 5px; +} + +.modalPopup +{ + background-color: #ffffdd; + border-width: 1px; + border-style: solid; + border-color: Gray; + padding: 3px; +} + +.topTitle +{ + color: White; + font-family: Verdana; + font-size: 26px; + font-weight: bold; + text-align: center; + background-repeat: repeat-x; + background-position: 0% 0%; + background-attachment: scroll; + background-image: url(images/orangeGrad32.png); +} +.ShadowText +{ + text-shadow: 2px 2px 2px rgba(0,0,0,.4); +} +.boxShadowLight +{ + -webkit-box-shadow: 3px 3px 6px rgba(0,0,0,.1); + -moz-box-shadow: 3px 3px 6px rgba(0,0,0,.1); + box-shadow: 3px 3px 6px rgba(0,0,0,.1); +} +.boxShadowDark +{ + -webkit-box-shadow: 3px 3px 6px rgba(0,0,0,.3); + -moz-box-shadow: 3px 3px 6px rgba(0,0,0,.3); + box-shadow: 3px 3px 6px rgba(0,0,0,.3); +} +.menuSx +{ + font-size: 8pt; + width: 180px; + vertical-align: top; /*height: 530px;*/ /*height: 530px;*/ + min-height: 530px; /*border-top: #0D0083 1px solid;*/ /*background-repeat: repeat-y; background-position: 0% 0%; background-attachment: scroll; background-image: url(images/menuSx5.png);*/ /*background: #DEE8F5;*/ + background: #DEE8F5; + -webkit-box-shadow: 3px 3px 6px rgba(0,0,0,.3); + -moz-box-shadow: 3px 3px 6px rgba(0,0,0,.3); + box-shadow: 3px 3px 6px rgba(0,0,0,.3); +} +.ov_header +{ + background-color: Blue; +} +.ov_footer +{ + background-color: Blue; +} +.ov_item +{ + background-color: gray; +} +.ov_itemAlt +{ + background-color: white; +} + +.navBar +{ + font-size: 9pt; /*background-color: #DEE8F5;*/ + background-color: #FFFFFF; /*border-right: #9999ff 1px solid; border-top: #9999ff 1px solid; border-left: #9999ff 1px solid; border-bottom: #9999ff 1px solid;*/ + padding: 3px 3px 3px 3px; + margin: 3px 3px 3px 0px; /*background-color:#DEE8F5; font-family: Verdana Arial; font-size: 13px; font-weight: normal; background-repeat: repeat-x; background-position: 0% 0%; background-attachment: scroll; background-image: url(images/bluGrad32.png);*/ +} +.hlBounce +{ + font-weight: bold; + font-size: 10pt; +} +.alertAjax +{ + color: #ea101e; + font-size: small; + font-weight: bold; +} +.smallTimeClock +{ + padding-right: 4px; + padding-left: 4px; + font-weight: bold; + font-size: 7pt; + padding-bottom: 2px; + vertical-align: middle; + color: Yellow; + padding-top: 2px; + font-family: verdana, arial; + text-align: justify; +} +.dxButtonClass +{ + padding-right: 8px; + padding-left: 8px; + font-weight: bold; + font-size: 9pt; + padding-bottom: 2px; + vertical-align: middle; + color: Yellow; + padding-top: 2px; + font-family: verdana, arial; + text-align: justify; +} +.barraTitolo +{ + background-color: #FF904C; + vertical-align: middle; + height: 20pt; + text-align: center; +} +INPUT +{ + font-size: 8pt; +} +.selezioneVal +{ + border-right: yellow 1px solid; + border-top: yellow 1px solid; + border-left: yellow 1px solid; + border-bottom: yellow 1px solid; +} + +.selezioneValWhite +{ + border-right: white 1px solid; + border-top: white 1px solid; + border-left: white 1px solid; + border-bottom: white 1px solid; +} +.tableContenuto +{ + padding: 0px; + margin: 2px; /* con questo Table va a full screen */ + width: 99%; +} +.topContrDx +{ + text-align: center; + background-color: white; + text-align: left; + font-size: 9pt; +} +.topContrSx +{ + padding: 6px 3px 6px 3px; + text-align: center; + background-color: #DEE8F5; + border-top: solid 2px silver; + border-left: solid 2px silver; + border-right: solid 2px silver; + font-weight: bold; + font-size: 8pt; +} +.contrRiq +{ + border-left: solid 2px silver; + background-color: white; + border-top: solid 2px silver; + border-left: solid 2px silver; + border-right: solid 2px silver; + border-bottom: solid 1px silver; +} +.topSubMenuChk +{ + padding: 1px 6px 1px 6px; + text-align: center; + background-color: #DEE8F5; + border-top: solid 1px silver; + border-left: solid 2px silver; + border-right: solid 1px silver; + border-bottom: solid 1px silver; + font-weight: bold; + font-size: 8pt; +} +.controllo +{ + vertical-align: top; + width: 100%; + background-color: Transparent; + font-size: 8pt; + border-width: thin; + border-top-style: solid; + border-top-color: White; + border-left-style: solid; + border-left-color: White; + border-right-style: solid; + border-right-color: White; +} +.contrDx +{ + vertical-align: top; + width: 100%; + background-color: White; + font-size: 8pt; + border-width: thin; + border-style: solid; + border-color: silver; +} +.bodyMainCenter +{ + background-image: url(images/logo_sw.png); + vertical-align: middle; + border-left: #0D0083 1px solid; /*border-top: #0D0083 1px solid;*/ + text-align: center; + height: 100%; + width: 100%; + background-position: center; + background-attachment: scroll; + background-repeat: no-repeat; +} +.bottomWrite +{ + vertical-align: bottom; + border-top: #0D0083 1px solid; + margin-top: 2px; + padding-top: 2px; + font-size: 7pt; + height: 1%; + text-align: right; +} +.bodyCenter +{ + vertical-align: middle; + text-align: center; + height: 100%; + width: 100%; +} +.centerMenu +{ + background-color: White; + text-align: center; + border-width: thin; + border-style: groove; + border-color: Blue; +} +.pnlMenuSx +{ + padding-right: 5px; + height: 530px; +} +A:hover +{ + color: red; +} + +.clonaUserPerm +{ + color: #ffff66; + background-color: #ea101e; +} +.boxRicerca +{ + padding: 4px; +} + +.oneHalf +{ + width: 50%; +} +.oneQuart +{ + width: 25%; +} + +.cal +{ + font-size: 10pt; +} +.treeHead +{ + width: 100%; + text-align: center; + background-color: #D1DDF1; + border-right: solid 2px silver; + border-top: solid 2px silver; +} +.treeViewPnl +{ + background-color: white; + border-right: solid 2px silver; + border-bottom: solid 2px silver; +} +.statoHidden +{ + text-align: center; + width: 100%; + font-size: 9pt; + font-weight: bold; + height: 24px; + color: #696969; + background-image: url(images/bg_bright.jpg); +} +.statoCurrent +{ + text-align: center; + width: 100%; + font-size: 9pt; + font-weight: bold; + height: 24px; + color: White; + background-image: url(images/bg_dark.jpg); +} +.statoDone +{ + text-align: center; + width: 100%; + font-size: 9pt; + font-weight: bold; + height: 24px; + color: #696969; + background-image: url(images/bg_bright.jpg); +} +.imgDisabled a +{ + color: #ACACAC; + text-decoration: none; +} +.imgDisabled +{ + text-decoration: none; + padding: 2px 5px 2px 5px; + text-align: center; + font-size: 9pt; + height: 24px; + color: #ACACAC; + background-image: url(images/bg_dark_38.png); +} +.imgSelected a +{ + color: White; + text-decoration: none; +} +.imgSelected +{ + text-decoration: none; + padding: 2px 5px 2px 5px; + text-align: center; + font-size: 9pt; + font-weight: bold; + height: 24px; + color: White; + background-image: url(images/bg_dark_38.png); +} +.imgStandard a:hover +{ + color: White; +} +.imgStandard a +{ + color: #363636; + text-decoration: none; +} +.imgStandard +{ + text-decoration: none; + padding: 2px 5px 2px 5px; + text-align: center; + font-size: 9pt; + height: 24px; + color: #363636; + background-image: url(images/bg_bright_38.png); +} +.imgStandard:hover +{ + color: white; + text-decoration: none; + padding: 2px 5px 2px 5px; + text-align: center; + font-size: 9pt; + height: 24px; /*color: #363636; */ + background-image: url(images/bg_hover_38.png); +} +.imgStandard:hover a +{ + color: white; +} + +.imgStandardNoHover +{ + text-decoration: none; + padding: 2px 5px 2px 5px; + text-align: center; + font-size: 9pt; + height: 24px; + color: #363636; + background-image: url(images/bg_bright_38.png); +} + + +.imgStandardNoHover:hover +{ + text-decoration: none; + padding: 2px 5px 2px 5px; + text-align: center; + font-size: 9pt; + height: 24px; + color: #363636; + background-image: url(images/bg_bright_38.png); +} + + + +.eta2 +{ + width: 33%; + text-align: center; + background-color: #ffcccc; + font-size: 10pt; + font-weight: bold; +} +.termAnt +{ + width: 33%; + text-align: center; + background-color: #ccffcc; + font-size: 10pt; + font-weight: bold; +} +.termPost +{ + width: 33%; + text-align: center; + background-color: #ccccff; + font-size: 10pt; + font-weight: bold; +} +.watermarked +{ + color: #696969; + background-color: #EFEFFF; +} + + + + + + + + + + + +.divSx +{ + float: left; + padding: 0; + margin: 0; +} +.divDx +{ + float: right; + padding: 0; + margin: 0; +} +.clearDiv +{ + clear: both; +} +.formatTableGeneral +{ + height: 100%; + width: 100%; + border-bottom-width: 0px; +} +.dgCenter +{ + text-align: center; +} +.menuSxTree +{ + color: #D9101E; + font-size: 9pt; + text-align: left; + font-weight: bold; + margin-left: 0px; + margin-right: 0px; + margin-top: 0px; +} +.menuSxTreeOver +{ + color: White; + font-size: 10pt; + text-align: left; + font-weight: bold; + margin-left: 0px; + margin-right: 0px; + margin-top: 0px; +} +.menuSxElem +{ + color: #00008B; + font-size: 7pt; + text-align: left; + font-weight: bold; + margin-left: 0px; + margin-right: 0px; + margin-top: 0px; +} +.menuSxElemOver +{ + color: black; + font-size: 7pt; + text-align: left; + font-weight: bold; + margin-left: 0px; + margin-right: 0px; + margin-top: 0px; +} +.menuSxElemSmall +{ + font-size: 7pt; + text-align: left; + margin-left: 0px; + margin-right: 0px; + font-weight: normal; + color: #555555; + margin-top: 0px; +} +.menuSxElemSmallOver +{ + color: #555555; + font-size: 9pt; + text-align: left; + margin-left: 0px; + margin-right: 0px; + font-weight: normal; + margin-top: 0px; +} +.userClass +{ + padding-right: 8px; + padding-left: 8px; + font-weight: bold; + font-size: 9pt; + padding-bottom: 2px; + vertical-align: bottom; + color: white; + padding-top: 2px; + font-family: verdana, arial; + text-align: justify; +} +.topMenuMess +{ + font-size: 9pt; + text-align: left; + margin-left: 0px; + margin-right: 0px; + font-weight: bold; + color: white; + margin-top: 0px; +} +.topMenuMessEn +{ + font-size: 9pt; + text-align: left; + margin-left: 0px; + margin-right: 0px; + font-weight: bold; + color: black; + margin-top: 0px; +} +.bodyMain +{ + background-image: url(images/logo_sw.png); + vertical-align: top; + border-left: #0D0083 1px solid; /*border-top: #0D0083 1px solid;*/ + height: 100%; + width: 100%; + background-position: center; /*was topleft*/ + background-attachment: scroll; + background-repeat: no-repeat; +} +.fullscreen +{ + display: block; /*set the div in the top-left corner of the screen*/ + position: absolute; + top: 0; + left: 0; /*set the width and height to 100% of the screen*/ + width: 100%; + height: 100%; +} +.bodyMainEmpty +{ + vertical-align: top; + border-left: maroon 1px solid; + height: 100%; + width: 100%; +} + +.bodyMainWhite +{ + vertical-align: top; + border-left: maroon 1px solid; + height: 100%; + width: 100%; + background-position: center; + background-attachment: scroll; + background-repeat: no-repeat; +} + +.bodyMainWhite a:hover +{ + color: white; +} + +.bodyMainNoLogo +{ + vertical-align: top; + border-left: maroon 1px solid; + height: 100%; + width: 100%; +} + +.bodyMainLogoPiccolo +{ + background-image: url(images/sfondoMedio.png); + background-position: 97% 210px; + vertical-align: top; + border-left: maroon 1px solid; + height: 100%; + width: 100%; + background-attachment: scroll; + background-repeat: no-repeat; +} +.logoUpSx +{ + width: 200; + text-align: left; +} +.topMenu +{ + width: 100%; + text-align: left; + vertical-align: bottom; +} +.tabModPrinc +{ + background-color: White; +} +.sxTabPrinc +{ + font-size: 10pt; + font-style: italic; + color: Blue; + font-weight: bold; + width: 90%; + background-color: Transparent; +} +.dxTabPrinc +{ + background-color: #cbcbFF; + text-align: right; +} +.tab_1 +{ + vertical-align: top; +} +.sxTab_1 +{ + background-color: #C8D0D4; + text-align: left; +} +.sxTab_1_new +{ + background-color: #9999cc; + text-align: left; +} +.dxTab_1 +{ + width: 70%; + background-color: #C8D0D4; +} +.sxTab_2 +{ + background-color: #11AA66; + text-align: left; +} +.dxTab_2 +{ + width: 70%; + background-color: Transparent; +} +.tab_2Body +{ + vertical-align: middle; + border: solid thin #11AA66; +} +.chPwdTitle +{ + padding: 2px; + font-weight: bold; + font-size: 24pt; + color: red; + text-align: center; +} +.chPwdTxt +{ + padding: 2px; + font-weight: bold; + font-size: 10pt; + color: red; + text-align: center; +} +.chPwdMess +{ + padding: 2px; + font-weight: bold; + font-style: italic; + font-size: 9pt; + color: yellow; + text-align: center; +} +.loginTitle +{ + font-weight: bold; + font-size: 30pt; + color: Red; +} +.loginTxt +{ + padding: 2px; + font-weight: bold; + font-size: 10pt; + color: red; + text-align: center; +} +.loginMess +{ + padding: 2px; + font-weight: bold; + font-style: italic; + font-size: 9pt; + color: yellow; + text-align: center; +} +.reportLabel +{ + font-size: 16pt; +} +.reportValue +{ + font-size: 16pt; + font-weight: bold; +} +.reportExplLang +{ + font-size: 10pt; +} +.reportExplEn +{ + font-size: 7pt; + font-style: italic; +} +.reportElencoZap +{ + font-size: 9pt; +} +.UnauthAppTitle +{ + font-weight: bold; + font-size: 30pt; + margin-left: 10pt; +} +.UnauthTitle +{ + font-size: 20pt; + color: Red; + margin-left: 30pt; +} +.UnauthMess +{ + font-size: 12pt; + font-style: normal; + margin-left: 30pt; +} +.tableHead +{ + white-space: nowrap; + height: auto; + vertical-align: top; + line-height: 18px; + width: 100%; + height: 100%; +} +.tableHead2 +{ + white-space: nowrap; + height: auto; + vertical-align: top; + line-height: 18px; + color: #ffffcc; + background-color: #999977; + width: 100%; + height: 100%; +} +.cmbFiltrText +{ + font-size: 9pt; +} +.currencyFormat +{ + white-space: nowrap; + text-align: right; + vertical-align: baseline; +} +.UserLabel +{ + background-color: #ff9900; + text-align: center; + margin: 6 6 6 6; +} + +.UserLabel .principale +{ + font-size: large; + font-weight: bold; +} +. .UserLabel.secondario +{ + font-size: medium; +} +.cmbMini +{ + font-size: 8pt; +} +.txtMini +{ + font-size: 7pt; +} +.suggerimento +{ + font-size: 8pt; + font-weight: bold; + color: Red; +} +.lblBudget +{ + font-size: 8pt; + text-align: left; + font-weight: bold; +} +.errore +{ + font-weight: normal; + font-size: 8pt; + color: Red; +} +.erroreMid +{ + font-weight: normal; + font-size: 10pt; + color: Red; +} +.erroreMidYellow +{ + font-weight: normal; + font-size: 10pt; + color: Yellow; +} +.erroreBig +{ + font-weight: normal; + font-size: 12pt; + color: Red; +} +.valUpd +{ + font-style: italic; +} +.cmbMini +{ + font-size: 8pt; +} +.txtMini +{ + font-size: 8pt; +} +.txtMiniLeft +{ + font-size: 8pt; + text-align: left; +} +.valOk +{ + color: Green; +} +.valKo +{ + color: Red; + font-weight: bold; +} +.suggerimento +{ + font-size: 8pt; + font-weight: bold; + color: Red; +} +.searchHead +{ + background-color: #bbaabb; +} +.textHead +{ + background-color: #9966ff; +} +.linkAnnulla +{ + background-color: #ee9999; + color: Black; + font-weight: bold; + font-size: 14pt; +} +.linkSalva +{ + background-color: #99ee99; + color: Black; + font-weight: bold; + font-size: 14pt; +} + +.tableDett1 +{ + background: #98ff98; +} +.valDett1 +{ + font-size: 8pt; + color: Black; + font-weight: normal; +} +.tab_2lbl +{ + vertical-align: baseline; + border-collapse: collapse; + border-width: thin; + border-style: none; + font-size: 7pt; +} +.dettSel +{ + border-right: green 1px solid; + padding-right: 8px; + border-top: green 1px solid; + padding-left: 8px; + font-weight: bold; + font-size: 9pt; + background: #33ee44; + padding-bottom: 2px; + vertical-align: bottom; + border-left: green 1px solid; + color: white; + padding-top: 2px; + border-bottom: green 1px solid; + font-family: verdana, arial; + text-align: justify; +} +.dettDesel +{ + border-right: green 1px solid; + padding-right: 8px; + border-top: green 1px solid; + padding-left: 8px; + font-weight: bold; + font-size: 9pt; + background: white; + padding-bottom: 2px; + vertical-align: bottom; + border-left: green 1px solid; + color: Black; + padding-top: 2px; + border-bottom: green 1px solid; + font-family: verdana, arial; + text-align: justify; +} +.dettHide +{ + border-right: orange 1px solid; + padding-right: 8px; + border-top: orange 1px solid; + padding-left: 8px; + font-weight: bold; + font-size: 9pt; + background: #ff3344; + padding-bottom: 2px; + vertical-align: bottom; + border-left: orange 1px solid; + color: white; + padding-top: 2px; + border-bottom: orange 1px solid; + font-family: verdana, arial; + text-align: justify; +} +.tableDett3 +{ + background: #98ff98; + font-size: 9pt; +} +.dett3Head +{ + background: blue; + color: Yellow; + font-weight: bold; + font-size: 9pt; +} +.dett3Col1 +{ + color: Black; + font-weight: bold; + font-size: 9pt; +} + +.linkHead +{ + color: White; +} +.titoloMed +{ + color: Red; + font-size: 18pt; + font-weight: bold; +} +.testoMed +{ + font-size: 12pt; + font-weight: bold; +} + +.txtTab +{ + font-size: 8pt; + font-family: verdana, arial; + text-align: justify; +} + +.tblGray +{ + border-color: #777777; +} +.txtMiniTabella +{ + text-align: right; + font-weight: normal; + padding-left: 2pt; + font-size: 8pt; + padding-bottom: 2pt; + padding-top: 2pt; +} +.txtMiniTabellaLeft +{ + text-align: left; + font-weight: normal; + padding-left: 2pt; + font-size: 8pt; + padding-bottom: 2pt; + padding-top: 2pt; +} +.txtMiniTabellaDato +{ + text-align: left; + font-weight: bold; + padding-left: 2pt; + font-size: 8pt; + padding-bottom: 2pt; + padding-top: 2pt; +} +.relazione +{ + margin-top: 1px; + padding-top: 1px; + font-weight: normal; + font-size: 11pt; + text-align: justify; +} +.smallTable +{ + width: 300px; +} +.centerAll +{ + vertical-align: middle; + text-align: center; +} +.centerAllOther +{ + margin: 0 auto; +} +.selLinguaTxt +{ + padding: 2px; + font-weight: bold; + font-size: 12pt; + color: Yellow; + text-align: center; +} +.navBar +{ + font-size: 9pt; + background-color: #ededff; + border-right: #9999ff 1px solid; + border-top: #9999ff 1px solid; + border-left: #9999ff 1px solid; + border-bottom: #9999ff 1px solid; +} + +.panelPaddingTitle +{ + padding-top: 5px; + padding-left: 10px; + text-align: center; + vertical-align: middle; /* qui aggiunta */ + margin-right: 80px; +} + +.panelPadding +{ + padding-top: 5px; + padding-left: 5px; + padding-bottom: 5px; /* qui aggiunta */ + margin-right: 80px; +} + +.panelPaddingTitleDiv +{ + padding-top: 5px; + padding-left: 10px; + text-align: center; + vertical-align: middle; + margin-right: 80px; +} + +.panelPaddingDiv +{ + padding-top: 5px; + padding-left: 10px; + padding-bottom: 5px; + margin-right: 80px; +} + + +/* sostituiti tutti i #5555bb del bordino tabellaalta e contornoriq con silver */ + +.wrap +{ + overflow: auto; + white-space: normal; +} + +.dropdownList +{ + font-weight: normal; + font-size: 7pt; + background: #ea101e; + color: white; + font-family: verdana, arial; + text-align: justify; +} +.boxText +{ + font-size: 8pt; + font-weight: normal; + width: 100%; +} +.saveClose +{ + width: 100%; + text-align: center; + background-color: #ea101e; + padding: 2pt; +} + +/* @end */ + +/* @group Brembo Specific */ + +.idxContratto +{ + text-align: center; + font-size: 10pt; + font-weight: bold; +} +.idxStatoContratto +{ + text-align: right; + font-size: 10pt; + font-weight: bold; + font-style: italic; + color: Blue; +} + +/* fasi uomo / macchina*/ +.stileFaseMacchina +{ + color: #ea101e; +} +.stileFaseExt +{ + color: Black; +} +.stileFaseUomo +{ + color: #1e10ea; +} + +.treeCdC +{ + width: 250px; + text-align: right; + font-size: 8pt; + width: 180px; + vertical-align: top; + height: 100%; + background: white; +} + +.RDA +{ + font-size: 7pt; +} +.Ord +{ + font-size: 7pt; + background: #d0ffe3; +} +.Fatt +{ + font-size: 7pt; +} + +.job2do +{ + width: 50%; + font-weight: normal; + border-bottom-style: solid; + border-bottom-width: thin; + font-size: 8pt; + color: blue; + font-family: verdana, arial; + text-align: left; +} +.jobDone +{ + width: 50%; + font-weight: normal; + border-bottom-style: solid; + border-bottom-width: thin; + font-size: 8pt; + color: green; + font-family: verdana, arial; + text-align: right; +} + +.bodyAvanzamento +{ + font-family: Verdana, Arial; + background-image: url(images/gradiente.png); +} + +.paramIn +{ + font-family: Verdana; + margin-top: 1px; + padding-top: 1px; + font-weight: normal; + font-size: 7pt; + text-align: justify; + padding: 2px 2px p2x 2px; + border-right: red 2px solid; + border-top: red 2px solid; + border-left: red 2px solid; + border-bottom: red 2px solid; + margin: 1px; + background-color: #ffcccc; +} +.allegatiOut +{ + font-family: Verdana; + border-top: maroon 1px solid; + margin-top: 1px; + padding-top: 1px; + font-weight: normal; + font-size: 8pt; + text-align: justify; +} +.testoAllegatoIN +{ + font-family: Verdana; + padding: 5px 5px p5x 5px; + border-right: green 2px solid; + border-top: green 2px solid; + border-left: green 2px solid; + border-bottom: green 2px solid; + margin: 1px; + background-color: #ccffdd; + font-weight: normal; + font-size: 7pt; + text-align: left; +} +.testoAllegatoOUT +{ + font-family: Verdana; + padding: 5px 5px p5x 5px; + border-right: blue 2px solid; + border-top: blue 2px solid; + border-left: blue 2px solid; + border-bottom: blue 2px solid; + margin: 1px; + background-color: #ccddff; + font-weight: normal; + font-size: 7pt; + text-align: left; +} + +/* zona colorazione filtri */ +.filtro_1 +{ + background-color: #ababab; +} +.filtro_2 +{ + background-color: #bcbcbc; +} +.filtro_3 +{ + background-color: #cdcdcd; +} +.filtro_4 +{ + background-color: #dedeed; +} +.filtro_5 +{ + background-color: #efefef; +} + + +.intestJob +{ + padding: 5px 5px 5px 5px; +} +/* zona DIV con ID */ +#prenotazionehead +{ + text-align: center; +} + + +#prenotazione +{ + padding-left: 3px; + vertical-align: top; +} + + + +/* @end */ + +/* @group Stili Asp */ + +.lblText +{ + font-size: 8pt; +} + +.lblValore +{ + font-size: 8pt; + color: Black; + background-color: Transparent; + border-style: none; +} +.lblValoreBold +{ + font-size: 8pt; + color: Black; + font-weight: bold; + background-color: Transparent; + border-style: none; +} + + +.lblColorGray +{ + padding-left: 2pt; + text-align: left; + background-color: #777777; + font-size: 10pt; + font-weight: bold; + color: White; +} + +.lblWhite +{ + width: 70%; + background-color: white; +} + +.grView +{ + color: #333333; + font-size: 8pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; + padding-bottom: 1px; +} +.ctrHeaderPager +{ + background-color: #b8b8b8; + font-weight: bold; + color: White; +} +.ctrHeaderPagerRight +{ + background-color: #b8b8b8; + font-weight: bold; + color: White; + text-align: right; +} +.ctrHeaderPagerBlue +{ + background-color: #507CD1; + height: 1px; +} +.ctrHeaderPagerBlueRight +{ + background-color: #507CD1; + height: 1px; + text-align: right; +} +.ctrFooter +{ + background-color: #507CD1; + font-weight: bold; + color: White; +} +.ctrRowStyle +{ + vertical-align: top; + background-color: #EFF3FB; +} +.ctrAltRowStyle +{ + vertical-align: top; + background-color: White; +} +.ctrRowStyleRight +{ + background-color: #EFF3FB; + text-align: right; +} +.ctrAltRowStyleRight +{ + background-color: White; + text-align: right; +} +.ctrInsRowStyle +{ + background-color: #b8b8b8; +} +.ctrEditRowStyle +{ + background-color: #D1DDF1; +} +.ctrSelRowStyle +{ + font-weight: bold; + color: #333333; + background-color: #D1DDF1; +} +.ctrSelRowStyleYellow +{ + font-weight: bold; + color: #333333; + background-color: Yellow; +} +.ctrCommRow +{ + font-weight: bold; + background-color: #D1DDF1; +} +.ctrFiledHead +{ + background-color: #DEE8F5; + font-weight: bold; + width: 25%; +} +.ctrLabelStrong +{ + font-weight: bold; +} +.ctrFieldEdit +{ + font-size: 8pt; +} + +/* Controlli Alternativi */ + +.ctrHeaderPagerDet +{ + background-color: #507CD1; + font-weight: bold; + color: White; +} + +.ctrFooterDet +{ + background-color: #507CD1; + font-weight: bold; + color: White; +} +.ctrRowStyleDet +{ + vertical-align: top; + background-color: #EFF3FB; +} +.ctrAltRowStyleDet +{ + vertical-align: top; + background-color: White; + border-bottom-width: 1px; + border-color: Silver; +} +.ctrInsRowStyleDet +{ + background-color: #b8b8b8; +} +.ctrEditRowStyleDet +{ + background-color: #D1DDF1; +} +.ctrSelRowStyleDet +{ + font-weight: bold; + color: #333333; + background-color: #D1DDF1; +} +.ctrCommRowDet +{ + font-weight: bold; + background-color: #D1DDF1; +} +.ctrFiledHeadDet +{ + background-color: #DEE8F5; + font-weight: bold; + width: 25%; +} +.ctrLabelStrongDet +{ + font-weight: bold; +} +.ctrFieldEditDet +{ + font-size: 8pt; +} + +/* END */ + +/* Controlli alternativi per cloning Rossi */ + +.ctrHeaderPagerRed +{ + background-color: #D15B5B; + font-weight: bold; + color: White; +} + +.ctrFooterRed +{ + background-color: #D15B5B; + font-weight: bold; + color: White; +} + +.ctrRowStyleRed +{ + vertical-align: top; + background-color: #FFE1E7; +} + +.ctrAltRowStyleRed +{ + vertical-align: top; + background-color: White; + border-bottom-width: 1px; + border-color: Silver; +} + +.ctrInsRowStyleRed +{ + background-color: #b8b8b8; +} + +.ctrEditRowStyleRed +{ + background-color: #FFC4C5; +} + +.ctrSelRowStyleRed +{ + font-weight: bold; + color: #333333; + background-color: #FFC4C5; +} + +.ctrCommRowRed +{ + font-weight: bold; + background-color: #FFC4C5; +} + +.ctrFiledHeadRed +{ + background-color: #FFC4C5; + font-weight: bold; + width: 25%; +} + +.ctrLabelStrongRed +{ + font-weight: bold; +} + +.ctrFieldEditRed +{ + font-size: 8pt; +} + +/* Controlli alternativi per cloning Verdi */ + +.ctrHeaderPagerGreen +{ + background-color: #5BD15B; + font-weight: bold; + color: White; +} + +.ctrFooterGreen +{ + background-color: #5BD15B; + font-weight: bold; + color: White; +} + +.ctrRowStyleGreen +{ + vertical-align: top; + background-color: #E1FFE7; +} + +.ctrAltRowStyleGreen +{ + vertical-align: top; + background-color: White; + border-bottom-width: 1px; + border-color: Silver; +} + +.ctrInsRowStyleGreen +{ + background-color: #b8b8b8; +} + +.ctGreenitRowStyleGreen +{ + background-color: #C4FFC5; +} + +.ctrSelRowStyleGreen +{ + font-weight: bold; + color: #333333; + background-color: #C4FFC5; +} + +.ctrCommRowGreen +{ + font-weight: bold; + background-color: #C4FFC5; +} + +.ctrFiledHeadGreen +{ + background-color: #C4FFC5; + font-weight: bold; + width: 25%; +} + +.ctrLabelStrongGreen +{ + font-weight: bold; +} + +.ctrFieldEditGreen +{ + font-size: 8pt; +} + +/* END */ + + + + +.repHead +{ + background-color: #507CD1; + color: White; + font-size: 10pt; + font-weight: bold; +} +.repFrame +{ + border: solid /* 2px */ #507CD1; +} +.repFooter +{ + font-size: 8pt; + background-color: #507CD1; + color: White; +} +.repFooterRight +{ + font-size: 8pt; + background-color: #507CD1; + color: White; + text-align: right; +} + +/*CollapsiblePanel*/ +.collapsePanel +{ + background-color: white; + overflow: hidden; +} +.collapsePanelHeader +{ + width: 100%; + height: 30px; + background-image: url(images/bg-menu-main.png); + background-repeat: repeat-x; + color: #FFF; + font-weight: bold; +} +.collapsePanelHead +{ + padding: 5px; + cursor: pointer; + vertical-align: middle; +} +.collapsePanelImg +{ + float: right; + vertical-align: middle; +} +.collapsePanelText +{ + float: left; + vertical-align: middle; + font-size: 9pt; +} +.collapsePanelTextDetails +{ + float: left; + margin-left: 20px; + vertical-align: middle; + font-size: 7pt; +} + +.ctrSelRow2DetailStyle +{ + font-weight: bold; + color: #333333; + background-color: #D1DDF1; +} + +.pnlDettaglio +{ + margin: 4px 4px 4px 4px; +} + +.dettaglioRiga +{ + vertical-align: top; +} +.pnlMaster +{ + height: 300px; +} +.pnlDetail +{ + border-left: solid 4px #D1DDF1; + border-top: solid 4px #D1DDF1; + border-bottom: solid 4px #D1DDF1; + border-right: solid 4px #D1DDF1; + background-color: #F3FFF3; + vertical-align: top; +} +.pnlDrillDown +{ + border-left: solid 8px #D1DDF1; + border-top: solid 8px #D1DDF1; + border-bottom: solid 8px #D1DDF1; + border-right: solid 8px #D1DDF1; + vertical-align: top; + height: 290px; +} + +.pnlDrillDownAlt +{ + border-right: solid 5px #D1DDF1; +} + +.pnlDrillDownAltAll +{ + border-right: solid 5px #D1DDF1; + border-left: solid 5px #D1DDF1; + border-top: solid 5px #D1DDF1; + border-bottom: solid 5px #D1DDF1; +} + + +.lblSearchLang +{ + font-weight: bold; + font-size: 11pt; + color: #00008B; + margin-left: 8px; + margin-right: 4px; +} +.tblDett +{ + vertical-align: top; + background-color: white; + text-align: left; +} +. .tblDett.titolo +{ + font-size: 13pt; + font-weight: bold; + color: blue; +} +. .tblDett.sceltaGen +{ + background-color: #8899ee; +} +.pnlPar_1 +{ + background-color: #ea101e; +} +.pnlPar_1_En +{ + font-size: 7pt; + font-weight: normal; + color: Silver; +} +.pnlPar_1_Lang +{ + font-size: 8pt; + font-weight: bold; + color: Silver; +} +.pnlPar_1_Error +{ + font-size: 7pt; + font-weight: bold; + color: #aadd00; +} +.pnlPar_1_Descr +{ + background-color: #ea101e; + font-size: 9pt; + font-weight: normal; + color: Yellow; +} +.pnlPar_2 +{ + background-color: #dcdcdc; +} +.pnlPar_2_En +{ + font-size: 7pt; + font-weight: normal; + color: black; +} +.pnlPar_2_Lang +{ + font-size: 8pt; + font-weight: bold; + color: black; +} +.pnlPar_2_Error +{ + font-size: 7pt; + font-weight: bold; + color: red; +} +.pnlPar_2_Descr +{ + font-size: 9pt; + font-weight: normal; +} +.pnlPar_3 +{ + background-color: #4444cc; +} +.pnlPar_3_En +{ + font-size: 8pt; + font-weight: bold; + color: yellow; +} +.pnlPar_3_Lang +{ + font-size: 8pt; + font-weight: bold; + color: Silver; +} +.pnlPar_3_Error +{ + font-size: 7pt; + font-weight: bold; + color: Yellow; +} +.pnlPar_3_Descr +{ + background-color: #4444cc; + font-size: 9pt; + font-weight: normal; + color: Yellow; +} +.pnlPar_3_warn +{ + background-color: #4444cc; + font-size: 8pt; + font-weight: normal; + font-style: italic; + color: Yellow; +} +.dlTestata +{ + background-color: White; + border-width: 0px; + border-style: solid; + border-color: #000099; +} +.dlTestataSel +{ + font-size: 8pt; + color: #339966; + background-color: #111111; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dlTestataItem +{ + text-align: right; + font-size: 7pt; + color: #330099; + background-color: Transparent; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dlTestataItemObblig +{ + text-align: right; + font-size: 7pt; + color: Black; + background-color: #b3ccff; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dlTestataAltItem +{ + text-align: right; + font-size: 7pt; + color: #330099; + background-color: #f5f5f5; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dlTestataEdit +{ + font-size: 8pt; + color: #339966; + background-color: #66FFCC; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; + vertical-align: text-top; +} +.dlTestataHead +{ + color: #CCFFFF; + background: #000099; + font-weight: bold; + font-size: 8pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dlTestataHead2 +{ + color: #CCFFFF; + background: #997799; + font-weight: bold; + font-size: 8pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dlTestataFoot +{ + text-align: right; + color: #3333dd; + background: #D4C8D0; + font-size: 8pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dlTestata_Lang +{ + font-size: 7pt; + font-weight: bold; + color: #3366bb; +} +.dlTestata_En +{ + font-size: 7pt; + font-weight: normal; + color: #339933; +} + +.lblTabPrincLang +{ + font-weight: bold; + font-size: 13pt; + color: #00008B; + margin-left: 8px; + margin-right: 4px; +} +.lblTabPrincEn +{ + font-weight: normal; + font-size: 7pt; + color: #00008B; + margin-left: 4px; + margin-right: 8px; +} +.lblTabPrincLang2 +{ + font-weight: bold; + font-size: 10pt; + color: White; + margin-left: 8px; + margin-right: 4px; +} +.lblTabPrincEn2 +{ + font-weight: normal; + font-size: 7pt; + color: White; + margin-left: 4px; + margin-right: 8px; +} +.lblTab_1Lang +{ + font-size: 10pt; + font-weight: bold; + color: #00008B; + margin-left: 8px; + margin-right: 4px; +} +.lblTab_1En +{ + font-size: 7pt; + font-weight: normal; + color: #00008B; + margin-left: 4px; + margin-right: 8px; +} +.tab_1Body +{ + vertical-align: middle; + border: solid thin #ff9900; +} +.lblLang +{ + font-size: 10pt; + font-weight: bold; + color: Black; +} +.lblEn +{ + font-size: 7pt; + color: Black; +} + +.dgSx +{ + background-color: White; + border-width: 0px; + border-style: solid; + border-color: #990000; +} +.dgSxSel +{ + text-align: right; + font-size: 8pt; + font-weight: bold; + color: #663399; + background-color: #FFCC66; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgSxItem +{ + text-align: right; + font-size: 7pt; + color: #330099; + background-color: Transparent; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgSxAltItem +{ + text-align: right; + font-size: 7pt; + color: #330099; + background-color: #f5f5f5; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgSxEdit +{ + font-size: 8pt; + color: #663399; + background-color: #FFCC66; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; + vertical-align: text-top; +} +.dgSxHead +{ + color: #FFFFCC; + background: #990000; + font-weight: bold; + font-size: 8pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgSxHead2 +{ + color: #FFFFCC; + background: #999977; + font-weight: bold; + font-size: 8pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgSxFoot +{ + text-align: right; + color: Black; + background: #bbccbb; + font-size: 8pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; + font-weight: bold; + border-bottom-style: solid; + border-color: Black; +} +.dgSxPaging +{ + text-align: left; + color: Black; + background: white; + font-size: 8pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.lblTab_2Lang +{ + font-size: 10pt; + font-weight: bold; + color: White; + margin-left: 8px; + margin-right: 4px; +} +.lblTab_2En +{ + font-size: 7pt; + font-weight: normal; + color: White; + margin-left: 4px; + margin-right: 8px; +} +.dgDx +{ + background-color: White; + border-width: 1px; + border-style: solid; + border-color: #003399; +} +.dgDxSel +{ + font-size: 8pt; + font-weight: bold; + color: #CCFF99; + background-color: #009999; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgDxItem +{ + font-size: 7pt; + color: #003399; + background-color: Transparent; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgDxAltItem +{ + font-size: 7pt; + color: #330099; + background-color: #f5f5f5; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgDxEdit +{ + font-size: 8pt; + font-weight: bold; + color: #CCFF99; + background-color: #009999; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgDxHead +{ + color: #CCCCFF; + background: #003399; + font-weight: bold; + font-size: 8pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgDxFoot +{ + color: #003399; + background-color: #99CCCC; + font-size: 10pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.lblMess +{ + color: Red; + font-size: 12pt; + font-style: italic; + font-weight: bold; +} + +.dlTextbox +{ + font-size: 8pt; +} +.dlLabel +{ + font-size: 8pt; + color: Black; + background-color: Transparent; + border-style: none; +} +.pnl_bozza +{ + background: #dcdcdc; +} +.pnl_inApprov +{ + background: #cbcbcb; +} +.pnl_freezed +{ + background: #bababa; +} +.lblValSel +{ + font-size: 8pt; + color: Black; + background-color: Transparent; + border-style: none; +} +.lblDett1 +{ + text-align: left; + font-weight: bold; + font-size: 7pt; + color: black; +} + +.dgAllegati +{ + background-color: White; + border-width: 0px; + border-style: solid; + border-color: #009900; +} +.dgAllegatiSel +{ + text-align: right; + font-size: 8pt; + font-weight: bold; + color: #669933; + background-color: #CCFF66; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgAllegatiItem +{ + text-align: right; + font-size: 7pt; + color: #339900; + background-color: Transparent; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgAllegatiAltItem +{ + text-align: right; + font-size: 7pt; + color: #339900; + background-color: #f5f5f5; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgAllegatiEdit +{ + font-size: 8pt; + color: #669933; + background-color: #cCFF66; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; + vertical-align: text-top; +} +.dgAllegatiHead +{ + color: #FFFFCC; + background: #009900; + font-weight: bold; + font-size: 8pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgAllegatiFoot +{ + text-align: right; + color: Black; + background: #ccbbbb; + font-size: 8pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; + font-weight: bold; + border-bottom-style: solid; + border-color: Black; +} +.dgAllegatiPaging +{ + text-align: left; + color: Black; + background: white; + font-size: 8pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.btnTab +{ + border-right: #ea101e 1px solid; + padding-right: 8px; + border-top: #ea101e 1px solid; + padding-left: 8px; + font-weight: bold; + font-size: 9pt; + background: #ea101e; + padding-bottom: 2px; + vertical-align: top; + border-left: #ea101e 1px solid; + color: white; + padding-top: 0px; + border-bottom: #ea101e 1px solid; + font-family: verdana, arial; + text-align: justify; +} + +.dgFiles +{ + background-color: White; + border-width: 0px; + border-style: solid; + border-color: #009900; +} +.dgFilesSel +{ + text-align: right; + font-size: 9pt; + font-weight: bold; + color: #669933; + background-color: #CCFF66; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgFilesItem +{ + text-align: right; + font-size: 8pt; + color: #339900; + background-color: Transparent; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgFilesAltItem +{ + text-align: right; + font-size: 8pt; + color: #339900; + background-color: #f5f5f5; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgFilesEdit +{ + font-size: 9pt; + color: #669933; + background-color: #cCFF66; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; + vertical-align: text-top; +} +.dgFilesHead +{ + color: #CCFFFF; + background: #990000; + font-weight: bold; + font-size: 9pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} +.dgFilesFoot +{ + text-align: right; + color: Black; + background: #ccbbbb; + font-size: 9pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; + font-weight: bold; + border-bottom-style: solid; + border-color: Black; +} +.dgFilesPaging +{ + text-align: left; + color: Black; + background: white; + font-size: 9pt; + padding-left: 1px; + padding-right: 1px; + padding-top: 1px; +} + +.lblFiltrLang +{ + font-size: 10pt; + font-weight: bold; + color: Black; + margin-left: 2px; + margin-right: 2px; +} +.lblFiltrEn +{ + font-size: 7pt; + font-weight: normal; + color: Black; + margin-left: 2px; + margin-right: 2px; +} + +grViewBorder +{ + border-left-width: 2px; + border-top-width: 2px; + border-bottom-width: 2px; + border-right-width: 0px; +} +/* @end */ + +/* @group Portable */ + +.bodyPortable +{ + /*background-color: #FFFFFF; */ + margin-top: 0px; + margin-left: 0px; + margin-bottom: 0px; + margin-right: 0px; + font: menu; + font-size: small; /* aggiunte per WES*/ + width: 100%; + vertical-align: middle; + background-color: Black; + color: White; +} + +.btnEnabled +{ + color: White; + font-family: Verdana; + font-variant: small-caps; + font-size: medium; + text-decoration: none; +} +.btnCurrent +{ + color: Black; + font-family: Verdana; + font-variant: small-caps; + font-size: medium; /*border-color: #6969ff;*/ + border-color: #7A90AB; + padding: 1px 1px 1px 1px; + border-width: 2px; + border-style: solid; + background-color: #AAB8C9; /*background: #DEDEFF;*/ + text-decoration: none; +} +.btnDisabled +{ + color: #444444; + font-family: Verdana; + font-variant: small-caps; + font-size: medium; + text-decoration: none; +} + +.iphone +{ + width: 100%; +} + + + +.txtFooter +{ + font-size: small; + font-style: italic; +} + +.txtCopyright +{ + font-size: small; +} + +/* @end */ + +.watermark +{ + color: Gray; + font-style: italic; +} +.autocomplete +{ + color: Gray; + font-size: smaller; +} +.autocompleteHiglight +{ + color: Black; + font-size: smaller; +} +/* ComboBox styles */ + +#master_content .ajax__combobox_itemlist +{ + margin: 0px; +} + +.AjaxToolkitStyle .ajax__combobox_inputcontainer .ajax__combobox_textboxcontainer input +{ + background-image: url(images/toolkit-bg.gif); + background-position: top left; + border: 0px none; + color: #FFFFFF; + padding: 4px 0px 3px 5px; + font-size: 13px; + height: 16px; + width: 240px; +} +.AjaxToolkitStyle .ajax__combobox_inputcontainer .ajax__combobox_buttoncontainer button +{ + background-image: url(images/toolkit-arrow.gif); + background-position: top left; + border: 0px none; + height: 23px; + width: 23px; +} +.AjaxToolkitStyle .ajax__combobox_itemlist +{ + border-color: #0F2543; + background-color: #EFEFEF; +} + +.AquaStyle .ajax__combobox_inputcontainer .ajax__combobox_textboxcontainer input +{ + margin: 0; + background-image: url(images/aqua-bg.gif); + background-position: top left; + border: 0px none; + padding: 2px 0px 0px 8px; + font-size: 11px; + height: 17px; + width: 150px; +} +.AquaStyle .ajax__combobox_inputcontainer .ajax__combobox_buttoncontainer button +{ + background-image: url(images/aqua-arrow.gif); + background-position: top left; + border: 0px none; + height: 19px; + width: 19px; +} +.AquaStyle .ajax__combobox_itemlist +{ + border-color: #000000; + background-color: #FFFFFF; +} +.WindowsStyle .ajax__combobox_inputcontainer .ajax__combobox_textboxcontainer input +{ + margin: 0; + border: solid 1px #7F9DB9; + border-right: 0px none; + padding: 1px 0px 0px 5px; + font-size: 13px; + height: 18px; +} +.WindowsStyle .ajax__combobox_inputcontainer .ajax__combobox_buttoncontainer button +{ + margin: 0; + padding: 0; + background-image: url(images/windows-arrow.gif); + background-position: top left; + border: 0px none; + height: 21px; + width: 21px; +} +.WindowsStyle .ajax__combobox_itemlist +{ + border-color: #7F9DB9; +} +/* tabella edit dettagli (es: tipoObj) */ +.tblEditDetail +{ + border: 1px solid #ACACAC; +} + +.bg_plus +{ + background-color: silver; +} +.BarcodeInput +{ + text-align: center; + font-size: 16pt; + height: 24px; + widows: 200px; +} + +/* area conf x gestione pagine full con barcode (es: spostamenti gitterbox, postazioni...) */ +.stileAttesa +{ + background: #AAAAAA; + text-align: center; +} +.stileComandoOk +{ + background: #AAFFAA; + text-align: center; +} +.stileComandoKo +{ + background: #FFAAAA; + text-align: center; +} +.stileComandoAdd +{ + background: #AAAAFF; + text-align: center; +} +.stileComandoND +{ + background: #FFFFAA; + text-align: center; +} +.fullPageHeader +{ + border-bottom: solid 2px Black; + background-color: #6C90FF; + font-weight: bold; +} +.msgBoxBarcode +{ + border-top: solid 2px Black; + border-bottom: solid 2px Black; + background-color: #E5E5E5; +} +.stileErr01 +{ + background: #FF6633; + text-align: center; +} +.stileErr02 +{ + background: #FFAA77; + text-align: center; +} +.stileErr03 +{ + background: #FF3300; + text-align: center; +} \ No newline at end of file diff --git a/GMW/Style_test.min.css b/GMW/Style_test.min.css new file mode 100644 index 00000000..e6b0dd01 --- /dev/null +++ b/GMW/Style_test.min.css @@ -0,0 +1 @@ +.fixedVal{background-color:#cdcdcd;text-align:center;color:#000}.fixedValLeft{background-color:#cdcdcd;text-align:left;color:#000}.textEv_1{background-color:#cdffcd;text-align:center;color:#000;font-size:8pt}.textEv_1Left{background-color:#cdffcd;text-align:left;color:#000;font-size:8pt}.textEv_2{background-color:#cdffcd;text-align:center;color:#000;font-size:8pt}.textEv_2Left{background-color:#cdffcd;text-align:left;color:#000;font-size:8pt}.textEv_Read{background-color:#deeff7;text-align:center;color:#000;font-size:8pt}.textEv_ReadLeft{background-color:#deeff7;text-align:left;color:#000;font-size:8pt}.bloccoDiv{border-bottom:solid 1px green;padding-bottom:1px;margin-bottom:5px}.semaforoVerde{color:green}.semaforoGiallo{color:orange;font-weight:bold}.semaforoRosso{color:red;font-weight:bold}.sv{text-align:center;font-size:7pt;height:20px;background-image:url(images/verde_20.png)}.sg{text-align:center;font-size:7pt;height:20px;background-image:url(images/giallo_20.png)}.sr{text-align:center;font-size:7pt;height:20px;background-image:url(images/rosso_20.png);color:#fff}.ss{text-align:center;font-size:7pt;height:20px;background-image:url(images/grigio_20.png);color:#fff}.cellaLibera{text-align:center;font-size:8pt;height:40px;background-image:url(images/grigioChiaro_80.png);border:solid 1px #777}.cellaSelezDett{text-align:center;font-size:8pt;height:40px;background-image:url(images/giallo_80.png);border:solid 1px #777}.cellaOccupata{text-align:center;font-size:8pt;height:40px;background-image:url(images/arancio_80.png);color:#fff;border:solid 1px #777}.cellaPiena{text-align:center;font-size:8pt;height:40px;background-image:url(images/verde_80.png);color:#fff;border:solid 1px #777}.cellaInattiva{text-align:center;font-size:8pt;height:40px;background-image:url(images/grigio_80.png);color:#fff;border:solid 1px #777}.cellaInattiva a{color:#fff}.cellaSelezAll{text-align:center;font-size:8pt;height:40px;background-image:url(images/blu_80.png);border:solid 1px #777}.cellaBianca{text-align:center;font-size:8pt;font-weight:bold}.selectedCell{border:dashed 2px #000;text-align:center}.SearchProviderTitle_1{font-size:16pt;font-weight:bold;text-align:left;color:#060}.PnlSearchProvider_1{background:#efffef;border:solid 2px #050;padding:2px 2px 2px 2px}.SearchProviderTitle_2{font-size:16pt;font-weight:bold;text-align:left;color:#600}.PnlSearchProvider_2{background:#ffefef;border:solid 2px #500;padding:2px 2px 2px 2px}.SearchProviderTitle_3{font-size:16pt;font-weight:bold;text-align:left;color:#006}.PnlSearchProvider_3{background:#efefff;border:solid 2px #005;padding:2px 2px 2px 2px}.SearchProviderTitle_4{font-size:16pt;font-weight:bold;text-align:left;color:#066}.PnlSearchProvider_4{background:#efffff;border:solid 2px #055;padding:2px 2px 2px 2px}.calSel{background-color:red;font-weight:bold;color:#fff}.calNextPrev{font-weight:bold;color:#000}.calDayHead{font-weight:bold;color:#fff;background-color:#6969df;font-size:9pt}.calTitle{font-weight:bold;color:#000;background-color:#bebebe}.calOtherMonthDay{background:#cbdccb}.calWeekEnd{background:#cbcbcb;font-weight:bold}.clsBody{border-right:#c6d7da thin solid;border-top:#c6d7da thin solid;border-left:#c6d7da thin solid;border-bottom:#c6d7da thin solid}.clsCurrentWeek{color:#fff;font-size:12px;text-decoration:none;font-family:Tahoma,Arial,Helvetica,sans-serif;white-space:nowrap;border-top:#c6d7da thin solid;border-bottom:#c6d7da thin solid;background-color:#8cc6ff;font-weight:bolder;font-weight:bold}.clsCurrentWeek2{color:#000;font-size:12px;text-decoration:none;font-family:Tahoma,Arial,Helvetica,sans-serif;white-space:nowrap;border-top:#c6d7da thin solid;border-bottom:#c6d7da thin solid;font-weight:bolder;font-weight:bold}.clsDayName{color:#0c0b5f;background-color:#bbbaf5;font-size:12px;text-decoration:none;font-family:Tahoma,Arial,Helvetica,sans-serif;white-space:nowrap}.clsCurrentDay{color:#fff;background-color:#398ce7;font-size:12px;text-decoration:none;font-family:Tahoma,Arial,Helvetica,sans-serif;white-space:nowrap;font-weight:bolder;font-weight:bold}.clsWorkDay{color:#000;background-color:#dbeaf5;font-size:12px;text-decoration:none;font-family:Tahoma,Arial,Helvetica,sans-serif;white-space:nowrap}.clsWorkDay:hover{color:#009400;background-color:#dbeaf5;font-size:12px;text-decoration:underline;font-family:Tahoma,Arial,Helvetica,sans-serif;white-space:nowrap}.clsWorkDayOtherMonth{color:#000;font-size:12px;text-decoration:none;font-family:Tahoma,Arial,Helvetica,sans-serif;white-space:nowrap}.clsWeekEnd{color:red;background-color:#dbeaf5;font-size:12px;text-decoration:none;font-family:Tahoma,Arial,Helvetica,sans-serif;white-space:nowrap}.clsWeekEnd:hover{color:#009400;background-color:#dbeaf5;font-size:12px;text-decoration:underline;font-family:Tahoma,Arial,Helvetica,sans-serif;white-space:nowrap}.clsWeekEndOtherMonth{color:red;font-size:12px;text-decoration:none;font-family:Tahoma,Arial,Helvetica,sans-serif;white-space:nowrap}.Calend{padding:4;background:#fff;color:#000;font-size:8pt;font-family:Verdana;border-color:#999;height:180px;width:200px}. \ No newline at end of file diff --git a/GMW/WS/AutoCompletamento.asmx b/GMW/WS/AutoCompletamento.asmx new file mode 100644 index 00000000..b054258a --- /dev/null +++ b/GMW/WS/AutoCompletamento.asmx @@ -0,0 +1 @@ +<%@ WebService Language="C#" CodeBehind="AutoCompletamento.asmx.cs" Class="GMW.WS.AutoCompletamento" %> diff --git a/GMW/WS/AutoCompletamento.asmx.cs b/GMW/WS/AutoCompletamento.asmx.cs new file mode 100644 index 00000000..f3c82eb1 --- /dev/null +++ b/GMW/WS/AutoCompletamento.asmx.cs @@ -0,0 +1,97 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.Services; +using SteamWare; +using GMW_data; + +namespace GMW.WS +{ + /// + /// servizi per AutoCompletamento oggetti + /// + [WebService(Namespace = "http://www.steamware.net/")] + [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] + [System.ComponentModel.ToolboxItem(false)] + // To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line. + [System.Web.Script.Services.ScriptService] + public class AutoCompletamento : System.Web.Services.WebService + { + + [System.Web.Services.WebMethod] + public string[] elencoAnime(string prefixText, int count) + { + // inizializzo risposta + List suggerimenti = new List(); + // proseguo SOLO SE min "MinCharAutocomplete" char... + if (count >= memLayer.ML.confReadInt("MinCharAutocomplete")) + { + // elenco candidati + DS_Utility.v_selParticolariDataTable tabParticolari = utils.obj.taSelPart.getByConditioPref("A", prefixText); + // aggiungo ogni riga... + foreach (DS_Utility.v_selParticolariRow riga in tabParticolari) + { + suggerimenti.Add(riga.value); + } + } + return suggerimenti.ToArray(); + } + [System.Web.Services.WebMethod] + public string[] elencoParticolari(string prefixText, int count) + { + // inizializzo risposta + List suggerimenti = new List(); + // proseguo SOLO SE min "MinCharAutocomplete" char... + if (count >= memLayer.ML.confReadInt("MinCharAutocomplete")) + { + // elenco candidati + DS_Utility.v_selParticolariDataTable tabParticolari = utils.obj.taSelPart.getByConditioPref("P", prefixText); + // aggiungo ogni riga... + foreach (DS_Utility.v_selParticolariRow riga in tabParticolari) + { + suggerimenti.Add(riga.value); + } + } + return suggerimenti.ToArray(); + } + + [System.Web.Services.WebMethod] + public string[] elencoParticolariAnime(string prefixText, int count) + { + // inizializzo risposta + List suggerimenti = new List(); + // proseguo SOLO SE min "MinCharAutocomplete" char... + if (count >= memLayer.ML.confReadInt("MinCharAutocomplete")) + { + // elenco candidati + DS_Utility.v_selParticolariDataTable tabParticolari = utils.obj.taSelPart.getByConditioPref("", prefixText); + // aggiungo ogni riga... + foreach (DS_Utility.v_selParticolariRow riga in tabParticolari) + { + suggerimenti.Add(riga.value); + } + } + return suggerimenti.ToArray(); + } + [System.Web.Services.WebMethod] + public string[] elencoCelle(string prefixText, int count) + { + // inizializzo risposta + List suggerimenti = new List(); + // proseguo SOLO SE min "MinCharAutocomplete" char... + if (count >= memLayer.ML.confReadInt("MinCharAutocomplete")) + { + // elenco candidati + DS_magazzino.CelleDataTable tabCelle = MagClass.magazzino.taCelle.getByCodCellaLike(prefixText, memLayer.ML.confReadString("CodCS")); + // aggiungo ogni riga... + foreach (DS_magazzino.CelleRow riga in tabCelle) + { + suggerimenti.Add(riga.CodCella); + } + } + return suggerimenti.ToArray(); + } + + } +} diff --git a/GMW/WS_proxy.asmx b/GMW/WS_proxy.asmx new file mode 100644 index 00000000..d2c7bd2b --- /dev/null +++ b/GMW/WS_proxy.asmx @@ -0,0 +1 @@ +<%@ WebService Language="C#" CodeBehind="WS_proxy.asmx.cs" Class="GMW.WS_proxy" %> diff --git a/GMW/WS_proxy.asmx.cs b/GMW/WS_proxy.asmx.cs new file mode 100644 index 00000000..733db958 --- /dev/null +++ b/GMW/WS_proxy.asmx.cs @@ -0,0 +1,23 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.Services; + +namespace GMW +{ + /// + /// Summary description for WS_proxy + /// + [WebService(Namespace = "http://tempuri.org/")] + [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] + [System.ComponentModel.ToolboxItem(false)] + public class WS_proxy : System.Web.Services.WebService + { + + [WebMethod] + public string HelloWorld() + { + return "Hello World"; + } + } +} diff --git a/GMW/Web.Debug.config b/GMW/Web.Debug.config new file mode 100644 index 00000000..962e6b73 --- /dev/null +++ b/GMW/Web.Debug.config @@ -0,0 +1,30 @@ + + + + + + + + + + \ No newline at end of file diff --git a/GMW/Web.Release.config b/GMW/Web.Release.config new file mode 100644 index 00000000..141832ba --- /dev/null +++ b/GMW/Web.Release.config @@ -0,0 +1,31 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/GMW/Web.SP_prod.config b/GMW/Web.SP_prod.config new file mode 100644 index 00000000..bcbda6e5 --- /dev/null +++ b/GMW/Web.SP_prod.config @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/GMW/Web.SP_test.config b/GMW/Web.SP_test.config new file mode 100644 index 00000000..b77b3c12 --- /dev/null +++ b/GMW/Web.SP_test.config @@ -0,0 +1,82 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/GMW/Web.TK_prod.config b/GMW/Web.TK_prod.config new file mode 100644 index 00000000..2dcd40b6 --- /dev/null +++ b/GMW/Web.TK_prod.config @@ -0,0 +1,82 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/GMW/Web.TK_test.config b/GMW/Web.TK_test.config new file mode 100644 index 00000000..186279ce --- /dev/null +++ b/GMW/Web.TK_test.config @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/GMW/Web.config b/GMW/Web.config new file mode 100644 index 00000000..9d6e2e49 --- /dev/null +++ b/GMW/Web.config @@ -0,0 +1,257 @@ + + + + + +
+ +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/GMW/Web.config.GMW b/GMW/Web.config.GMW new file mode 100644 index 00000000..9f9779d2 --- /dev/null +++ b/GMW/Web.config.GMW @@ -0,0 +1,277 @@ + + + + + +
+ +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/GMW/Web.config.SP_test b/GMW/Web.config.SP_test new file mode 100644 index 00000000..a0479700 --- /dev/null +++ b/GMW/Web.config.SP_test @@ -0,0 +1,278 @@ + + + + + +
+ +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/GMW/Web.config.TK_test b/GMW/Web.config.TK_test new file mode 100644 index 00000000..bc5a446f --- /dev/null +++ b/GMW/Web.config.TK_test @@ -0,0 +1,277 @@ + + + + + +
+ +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/GMW/WebMasterPages/Ajax.master b/GMW/WebMasterPages/Ajax.master new file mode 100644 index 00000000..f501d262 --- /dev/null +++ b/GMW/WebMasterPages/Ajax.master @@ -0,0 +1,70 @@ +<%@ Master Language="C#" AutoEventWireup="True" Inherits="Ajax" CodeBehind="Ajax.master.cs" %> + +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %> +<%@ Register Src="~/WebUserControls/mod_menuTop.ascx" TagName="mod_menuTop" TagPrefix="uc1" %> +<%@ Register Src="~/WebUserControls/mod_menuSx.ascx" TagName="mod_menuSx" TagPrefix="uc2" %> +<%@ Register Src="~/WebUserControls/mod_menuBottom.ascx" TagName="mod_menuBottom" + TagPrefix="uc5" %> + + + + + + + + + +
+ + +
+ + + + + + + + + + + +
+
+ + + + + +
+
+
+ + +
+ + + + +
+ + +
+
+
+
+
+
+ +
+
+
+ + diff --git a/GMW/WebMasterPages/Ajax.master.cs b/GMW/WebMasterPages/Ajax.master.cs new file mode 100644 index 00000000..ff0d2480 --- /dev/null +++ b/GMW/WebMasterPages/Ajax.master.cs @@ -0,0 +1,55 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +public partial class Ajax : System.Web.UI.MasterPage +{ + protected override void OnLoad(EventArgs e) + { + base.OnLoad(e); + Page.Title = SteamWare.memLayer.ML.confReadString("_titoloPagina"); + } + + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + Mod_menuTop1.eh_toggleMenuSx += new EventHandler(Mod_menuTop1_eh_toggleMenuSx); + Mod_menuTop1.eh_reqUpdateMenu += new EventHandler(Mod_menuTop1_eh_reqUpdateMenu); + } + + void Mod_menuTop1_eh_reqUpdateMenu(object sender, EventArgs e) + { + // chiamo update del menu sx... + Mod_menuSx1.forzaUpdateMenu(); + } + + void Mod_menuTop1_eh_toggleMenuSx(object sender, EventArgs e) + { + // cambio stato visualizzaizone menù laterale... + Mod_menuSx1.Visible = !Mod_menuSx1.Visible; + } + + protected override void OnUnload(EventArgs e) + { + base.OnUnload(e); + // svuoto tutti gli event handler inseriti... + Mod_menuTop1.eh_toggleMenuSx -= new EventHandler(Mod_menuTop1_eh_toggleMenuSx); + Mod_menuTop1.eh_reqUpdateMenu -= new EventHandler(Mod_menuTop1_eh_reqUpdateMenu); + } + /// + /// determina visibilità menù sx... + /// + public bool sxMenuVisible + { + get + { + return Mod_menuSx1.Visible; + } + set + { + Mod_menuSx1.Visible = value; + } + } +} diff --git a/GMW/WebMasterPages/Ajax.master.designer.cs b/GMW/WebMasterPages/Ajax.master.designer.cs new file mode 100644 index 00000000..93f012bd --- /dev/null +++ b/GMW/WebMasterPages/Ajax.master.designer.cs @@ -0,0 +1,104 @@ +//------------------------------------------------------------------------------ +// +// 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. +// +//------------------------------------------------------------------------------ + + + +public partial class Ajax { + + /// + /// Head1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlHead Head1; + + /// + /// form1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// sm control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.ToolkitScriptManager sm; + + /// + /// UpdatePanel1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.UpdatePanel UpdatePanel1; + + /// + /// Mod_menuTop1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_menuTop Mod_menuTop1; + + /// + /// UpdatePanel2 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.UpdatePanel UpdatePanel2; + + /// + /// Mod_menuSx1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_menuSx Mod_menuSx1; + + /// + /// updPanelPagina control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.UpdatePanel updPanelPagina; + + /// + /// ContentPlaceHolder1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ContentPlaceHolder ContentPlaceHolder1; + + /// + /// Mod_menuBottom1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_menuBottom Mod_menuBottom1; +} diff --git a/GMW/WebMasterPages/AjaxSearch.master b/GMW/WebMasterPages/AjaxSearch.master new file mode 100644 index 00000000..6b2dd405 --- /dev/null +++ b/GMW/WebMasterPages/AjaxSearch.master @@ -0,0 +1,82 @@ +<%@ Master Language="C#" AutoEventWireup="True" Inherits="AjaxSearch" CodeBehind="AjaxSearch.master.cs" %> + +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %> +<%@ Register Src="~/WebUserControls/mod_menuTop.ascx" TagName="mod_menuTop" TagPrefix="uc1" %> +<%@ Register Src="~/WebUserControls/mod_menuSx.ascx" TagName="mod_menuSx" TagPrefix="uc2" %> +<%@ Register Src="~/WebUserControls/mod_pageTitleAndSearch.ascx" TagName="mod_pageTitleAndSearch" + TagPrefix="uc3" %> +<%@ Register Src="~/WebUserControls/mod_ricercaGenerica.ascx" TagName="mod_ricercaGenerica" + TagPrefix="uc4" %> +<%@ Register Src="~/WebUserControls/mod_menuBottom.ascx" TagName="mod_menuBottom" + TagPrefix="uc5" %> + + + + GMW + + + + + +
+ + +
+ + + + + + + + + + + +
+
+ + + + + +
+
+
+ + +
+ + + + + + + + +
+ + + +
+ + +
+
+
+
+
+
+ +
+
+
+ + diff --git a/GMW/WebMasterPages/AjaxSearch.master.cs b/GMW/WebMasterPages/AjaxSearch.master.cs new file mode 100644 index 00000000..4c3de9bf --- /dev/null +++ b/GMW/WebMasterPages/AjaxSearch.master.cs @@ -0,0 +1,48 @@ +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; + +public partial class AjaxSearch : System.Web.UI.MasterPage +{ + + protected override void OnLoad(EventArgs e) + { + base.OnLoad(e); + Page.Title = SteamWare.memLayer.ML.confReadString("_titoloPagina"); + } + + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + Mod_menuTop1.eh_toggleMenuSx += new EventHandler(Mod_menuTop1_eh_toggleMenuSx); + Mod_menuTop1.eh_reqUpdateMenu += new EventHandler(Mod_menuTop1_eh_reqUpdateMenu); + } + + void Mod_menuTop1_eh_reqUpdateMenu(object sender, EventArgs e) + { + // chiamo update del menu sx... + Mod_menuSx1.forzaUpdateMenu(); + } + + void Mod_menuTop1_eh_toggleMenuSx(object sender, EventArgs e) + { + // cambio stato visualizzaizone menù laterale... + Mod_menuSx1.Visible = !Mod_menuSx1.Visible; + } + + protected override void OnUnload(EventArgs e) + { + base.OnUnload(e); + // svuoto tutti gli event handler inseriti... + Mod_menuTop1.eh_toggleMenuSx -= new EventHandler(Mod_menuTop1_eh_toggleMenuSx); + Mod_menuTop1.eh_reqUpdateMenu -= new EventHandler(Mod_menuTop1_eh_reqUpdateMenu); + + } +} diff --git a/GMW/WebMasterPages/AjaxSearch.master.designer.cs b/GMW/WebMasterPages/AjaxSearch.master.designer.cs new file mode 100644 index 00000000..d42c30cf --- /dev/null +++ b/GMW/WebMasterPages/AjaxSearch.master.designer.cs @@ -0,0 +1,122 @@ +//------------------------------------------------------------------------------ +// +// 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. +// +//------------------------------------------------------------------------------ + + + +public partial class AjaxSearch { + + /// + /// Head1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlHead Head1; + + /// + /// form1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// sm control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.ToolkitScriptManager sm; + + /// + /// UpdatePanel1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.UpdatePanel UpdatePanel1; + + /// + /// Mod_menuTop1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_menuTop Mod_menuTop1; + + /// + /// UpdatePanel2 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.UpdatePanel UpdatePanel2; + + /// + /// Mod_menuSx1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_menuSx Mod_menuSx1; + + /// + /// updPanelPagina control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.UpdatePanel updPanelPagina; + + /// + /// Mod_pageTitleAndSearch1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_pageTitleAndSearch Mod_pageTitleAndSearch1; + + /// + /// Mod_ricercaGenerica1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_ricercaGenerica Mod_ricercaGenerica1; + + /// + /// ContentPlaceHolder1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ContentPlaceHolder ContentPlaceHolder1; + + /// + /// Mod_menuBottom1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_menuBottom Mod_menuBottom1; +} diff --git a/GMW/WebMasterPages/AjaxSearchEmpty.master b/GMW/WebMasterPages/AjaxSearchEmpty.master new file mode 100644 index 00000000..41c5f7c4 --- /dev/null +++ b/GMW/WebMasterPages/AjaxSearchEmpty.master @@ -0,0 +1,82 @@ +<%@ Master Language="C#" AutoEventWireup="True" Inherits="AjaxSearchEmpty" CodeBehind="AjaxSearchEmpty.master.cs" %> + +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %> +<%@ Register Src="~/WebUserControls/mod_menuTop.ascx" TagName="mod_menuTop" TagPrefix="uc1" %> +<%@ Register Src="~/WebUserControls/mod_menuSx.ascx" TagName="mod_menuSx" TagPrefix="uc2" %> +<%@ Register Src="~/WebUserControls/mod_pageTitleAndSearch.ascx" TagName="mod_pageTitleAndSearch" + TagPrefix="uc3" %> +<%@ Register Src="~/WebUserControls/mod_ricercaGenerica.ascx" TagName="mod_ricercaGenerica" + TagPrefix="uc4" %> +<%@ Register Src="~/WebUserControls/mod_menuBottom.ascx" TagName="mod_menuBottom" + TagPrefix="uc5" %> + + + + + + + + + +
+ + +
+ + + + + + + + + + + +
+
+ + + + + +
+
+
+ + +
+ + + + + + + + +
+ + + +
+ + +
+
+
+
+
+
+ +
+
+
+ + diff --git a/GMW/WebMasterPages/AjaxSearchEmpty.master.cs b/GMW/WebMasterPages/AjaxSearchEmpty.master.cs new file mode 100644 index 00000000..d805c957 --- /dev/null +++ b/GMW/WebMasterPages/AjaxSearchEmpty.master.cs @@ -0,0 +1,48 @@ +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; + +public partial class AjaxSearchEmpty : System.Web.UI.MasterPage +{ + + protected override void OnLoad(EventArgs e) + { + base.OnLoad(e); + Page.Title = SteamWare.memLayer.ML.confReadString("_titoloPagina"); + } + + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + Mod_menuTop1.eh_toggleMenuSx += new EventHandler(Mod_menuTop1_eh_toggleMenuSx); + Mod_menuTop1.eh_reqUpdateMenu += new EventHandler(Mod_menuTop1_eh_reqUpdateMenu); + } + + void Mod_menuTop1_eh_reqUpdateMenu(object sender, EventArgs e) + { + // chiamo update del menu sx... + Mod_menuSx1.forzaUpdateMenu(); + } + + void Mod_menuTop1_eh_toggleMenuSx(object sender, EventArgs e) + { + // cambio stato visualizzaizone menù laterale... + Mod_menuSx1.Visible = !Mod_menuSx1.Visible; + } + + protected override void OnUnload(EventArgs e) + { + base.OnUnload(e); + // svuoto tutti gli event handler inseriti... + Mod_menuTop1.eh_toggleMenuSx -= new EventHandler(Mod_menuTop1_eh_toggleMenuSx); + Mod_menuTop1.eh_reqUpdateMenu -= new EventHandler(Mod_menuTop1_eh_reqUpdateMenu); + + } +} diff --git a/GMW/WebMasterPages/AjaxSearchEmpty.master.designer.cs b/GMW/WebMasterPages/AjaxSearchEmpty.master.designer.cs new file mode 100644 index 00000000..765f1723 --- /dev/null +++ b/GMW/WebMasterPages/AjaxSearchEmpty.master.designer.cs @@ -0,0 +1,122 @@ +//------------------------------------------------------------------------------ +// +// 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. +// +//------------------------------------------------------------------------------ + + + +public partial class AjaxSearchEmpty { + + /// + /// Head1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlHead Head1; + + /// + /// form1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// sm control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.ToolkitScriptManager sm; + + /// + /// UpdatePanel1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.UpdatePanel UpdatePanel1; + + /// + /// Mod_menuTop1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_menuTop Mod_menuTop1; + + /// + /// UpdatePanel2 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.UpdatePanel UpdatePanel2; + + /// + /// Mod_menuSx1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_menuSx Mod_menuSx1; + + /// + /// updPanelPagina control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.UpdatePanel updPanelPagina; + + /// + /// Mod_pageTitleAndSearch1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_pageTitleAndSearch Mod_pageTitleAndSearch1; + + /// + /// Mod_ricercaGenerica1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_ricercaGenerica Mod_ricercaGenerica1; + + /// + /// ContentPlaceHolder1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ContentPlaceHolder ContentPlaceHolder1; + + /// + /// Mod_menuBottom1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_menuBottom Mod_menuBottom1; +} diff --git a/GMW/WebMasterPages/AjaxSimple.master b/GMW/WebMasterPages/AjaxSimple.master new file mode 100644 index 00000000..4db78e2d --- /dev/null +++ b/GMW/WebMasterPages/AjaxSimple.master @@ -0,0 +1,38 @@ +<%@ Master Language="C#" AutoEventWireup="True" Inherits="AjaxSimple" CodeBehind="AjaxSimple.master.cs" %> + +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %> +<%@ Register Src="~/WebUserControls/mod_menuBottom.ascx" TagName="mod_menuBottom" + TagPrefix="uc1" %> + + + + Simplepage + + + + + +
+ + +
+ + + + + + + +
+
+ + +
+
+ +
+
+
+ + diff --git a/GMW/WebMasterPages/AjaxSimple.master.cs b/GMW/WebMasterPages/AjaxSimple.master.cs new file mode 100644 index 00000000..adf692f8 --- /dev/null +++ b/GMW/WebMasterPages/AjaxSimple.master.cs @@ -0,0 +1,20 @@ +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; +using SteamWare; + +public partial class AjaxSimple : System.Web.UI.MasterPage +{ + protected override void OnLoad(EventArgs e) + { + base.OnLoad(e); + Page.Title = SteamWare.memLayer.ML.confReadString("_titoloPagina"); + } +} diff --git a/GMW/WebMasterPages/AjaxSimple.master.designer.cs b/GMW/WebMasterPages/AjaxSimple.master.designer.cs new file mode 100644 index 00000000..7a171da4 --- /dev/null +++ b/GMW/WebMasterPages/AjaxSimple.master.designer.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// +// 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. +// +//------------------------------------------------------------------------------ + + + +public partial class AjaxSimple { + + /// + /// form1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// ToolkitScriptManager1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.ToolkitScriptManager ToolkitScriptManager1; + + /// + /// ContentPlaceHolder1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ContentPlaceHolder ContentPlaceHolder1; + + /// + /// Mod_menuBottom1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_menuBottom Mod_menuBottom1; +} diff --git a/GMW/WebMasterPages/AjaxSimpleFull.Master b/GMW/WebMasterPages/AjaxSimpleFull.Master new file mode 100644 index 00000000..b0d48339 --- /dev/null +++ b/GMW/WebMasterPages/AjaxSimpleFull.Master @@ -0,0 +1,35 @@ +<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="AjaxSimpleFull.master.cs" + Inherits="GMW.WebMasterPages.AjaxSimpleFull" %> + +<%@ 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" %> + + + + GMW + + + + + +
+ + +
+ + +
+ + + + + +
+
+
+ + diff --git a/GMW/WebMasterPages/AjaxSimpleFull.Master.cs b/GMW/WebMasterPages/AjaxSimpleFull.Master.cs new file mode 100644 index 00000000..4e406bf7 --- /dev/null +++ b/GMW/WebMasterPages/AjaxSimpleFull.Master.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace GMW.WebMasterPages +{ + public partial class AjaxSimpleFull : System.Web.UI.MasterPage + { + protected void Page_Load(object sender, EventArgs e) + { + Page.Title = SteamWare.memLayer.ML.confReadString("_titoloPagina"); + } + } +} diff --git a/GMW/WebMasterPages/AjaxSimpleFull.Master.designer.cs b/GMW/WebMasterPages/AjaxSimpleFull.Master.designer.cs new file mode 100644 index 00000000..1e2d5446 --- /dev/null +++ b/GMW/WebMasterPages/AjaxSimpleFull.Master.designer.cs @@ -0,0 +1,70 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4971 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW.WebMasterPages { + + + public partial class AjaxSimpleFull { + + /// + /// Head1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlHead Head1; + + /// + /// form1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// ToolkitScriptManager1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.ToolkitScriptManager ToolkitScriptManager1; + + /// + /// ContentPlaceHolder1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ContentPlaceHolder ContentPlaceHolder1; + + /// + /// upLineClock control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.UpdatePanel upLineClock; + + /// + /// 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/WebMasterPages/AjaxSimpleUpload.master b/GMW/WebMasterPages/AjaxSimpleUpload.master new file mode 100644 index 00000000..9552a206 --- /dev/null +++ b/GMW/WebMasterPages/AjaxSimpleUpload.master @@ -0,0 +1,38 @@ +<%@ Master Language="C#" AutoEventWireup="True" + Inherits="AjaxSimpleUpload" Codebehind="AjaxSimpleUpload.master.cs" %> + +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %> +<%@ Register Src="~/WebUserControls/mod_menuBottom.ascx" TagName="mod_menuBottom" TagPrefix="uc1" %> + + + + SimplePage + + + + + +
+ + +
+ + + + + + + +
+
+ + +
+
+ +
+
+
+ + diff --git a/GMW/WebMasterPages/AjaxSimpleUpload.master.cs b/GMW/WebMasterPages/AjaxSimpleUpload.master.cs new file mode 100644 index 00000000..38e09825 --- /dev/null +++ b/GMW/WebMasterPages/AjaxSimpleUpload.master.cs @@ -0,0 +1,20 @@ +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; +using SteamWare; + +public partial class AjaxSimpleUpload : System.Web.UI.MasterPage +{ + protected override void OnLoad(EventArgs e) + { + base.OnLoad(e); + Page.Title = SteamWare.memLayer.ML.confReadString("_titoloPagina"); + } +} diff --git a/GMW/WebMasterPages/AjaxSimpleUpload.master.designer.cs b/GMW/WebMasterPages/AjaxSimpleUpload.master.designer.cs new file mode 100644 index 00000000..3d0b19a4 --- /dev/null +++ b/GMW/WebMasterPages/AjaxSimpleUpload.master.designer.cs @@ -0,0 +1,59 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class AjaxSimpleUpload { + + /// + /// Head1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlHead Head1; + + /// + /// form1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// ToolkitScriptManager1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.ToolkitScriptManager ToolkitScriptManager1; + + /// + /// ContentPlaceHolder1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ContentPlaceHolder ContentPlaceHolder1; + + /// + /// Mod_menuBottom1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_menuBottom Mod_menuBottom1; +} diff --git a/GMW/WebMasterPages/AjaxTitle.master b/GMW/WebMasterPages/AjaxTitle.master new file mode 100644 index 00000000..3546725a --- /dev/null +++ b/GMW/WebMasterPages/AjaxTitle.master @@ -0,0 +1,80 @@ +<%@ Master Language="C#" AutoEventWireup="True" Inherits="AjaxTitle" CodeBehind="AjaxTitle.master.cs" %> + +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %> +<%@ Register Src="~/WebUserControls/mod_menuTop.ascx" TagName="mod_menuTop" TagPrefix="uc1" %> +<%@ Register Src="~/WebUserControls/mod_menuSx.ascx" TagName="mod_menuSx" TagPrefix="uc2" %> +<%@ Register Src="~/WebUserControls/mod_pageTitleAndSearch.ascx" TagName="mod_pageTitleAndSearch" + TagPrefix="uc3" %> +<%@ Register Src="~/WebUserControls/mod_menuBottom.ascx" TagName="mod_menuBottom" + TagPrefix="uc5" %> + + + + + + + + + +
+ + +
+ + + + + + + + + + + +
+
+ + + + + +
+
+
+ + +
+ + + + + + + + +
+ + +   +
+ + +
+
+
+
+
+
+ +
+
+
+ + diff --git a/GMW/WebMasterPages/AjaxTitle.master.cs b/GMW/WebMasterPages/AjaxTitle.master.cs new file mode 100644 index 00000000..011838ce --- /dev/null +++ b/GMW/WebMasterPages/AjaxTitle.master.cs @@ -0,0 +1,49 @@ +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; +using SteamWare; + +public partial class AjaxTitle : System.Web.UI.MasterPage +{ + + protected override void OnLoad(EventArgs e) + { + base.OnLoad(e); + Page.Title = SteamWare.memLayer.ML.confReadString("_titoloPagina"); + } + + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + Mod_menuTop1.eh_toggleMenuSx += new EventHandler(Mod_menuTop1_eh_toggleMenuSx); + Mod_menuTop1.eh_reqUpdateMenu += new EventHandler(Mod_menuTop1_eh_reqUpdateMenu); + } + + void Mod_menuTop1_eh_reqUpdateMenu(object sender, EventArgs e) + { + // chiamo update del menu sx... + Mod_menuSx1.forzaUpdateMenu(); + } + + void Mod_menuTop1_eh_toggleMenuSx(object sender, EventArgs e) + { + // cambio stato visualizzaizone menù laterale... + Mod_menuSx1.Visible = !Mod_menuSx1.Visible; + } + + protected override void OnUnload(EventArgs e) + { + base.OnUnload(e); + // svuoto tutti gli event handler inseriti... + Mod_menuTop1.eh_toggleMenuSx -= new EventHandler(Mod_menuTop1_eh_toggleMenuSx); + Mod_menuTop1.eh_reqUpdateMenu -= new EventHandler(Mod_menuTop1_eh_reqUpdateMenu); + + } +} diff --git a/GMW/WebMasterPages/AjaxTitle.master.designer.cs b/GMW/WebMasterPages/AjaxTitle.master.designer.cs new file mode 100644 index 00000000..ef648659 --- /dev/null +++ b/GMW/WebMasterPages/AjaxTitle.master.designer.cs @@ -0,0 +1,104 @@ +//------------------------------------------------------------------------------ +// +// 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. +// +//------------------------------------------------------------------------------ + + + +public partial class AjaxTitle { + + /// + /// form1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// sm control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.ToolkitScriptManager sm; + + /// + /// UpdatePanel1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.UpdatePanel UpdatePanel1; + + /// + /// Mod_menuTop1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_menuTop Mod_menuTop1; + + /// + /// UpdatePanel2 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.UpdatePanel UpdatePanel2; + + /// + /// Mod_menuSx1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_menuSx Mod_menuSx1; + + /// + /// updPanelPagina control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.UpdatePanel updPanelPagina; + + /// + /// Mod_pageTitleAndSearch1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_pageTitleAndSearch Mod_pageTitleAndSearch1; + + /// + /// ContentPlaceHolder1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ContentPlaceHolder ContentPlaceHolder1; + + /// + /// Mod_menuBottom1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_menuBottom Mod_menuBottom1; +} diff --git a/GMW/WebMasterPages/MasterAjax.master b/GMW/WebMasterPages/MasterAjax.master new file mode 100644 index 00000000..e29ccb4b --- /dev/null +++ b/GMW/WebMasterPages/MasterAjax.master @@ -0,0 +1,60 @@ +<%@ Master Language="C#" AutoEventWireup="True" Inherits="MasterAjax" CodeBehind="MasterAjax.master.cs" %> + +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %> +<%@ Register Src="~/WebUserControls/mod_menuTop.ascx" TagName="mod_menuTop" TagPrefix="uc1" %> +<%@ Register Src="~/WebUserControls/mod_menuSx.ascx" TagName="mod_menuSx" TagPrefix="uc2" %> +<%@ Register Src="~/WebUserControls/mod_menuBottom.ascx" TagName="mod_menuBottom" + TagPrefix="uc5" %> + + + + + + + +
+ + +
+ + + + + + + + + + + +
+
+ + + + + +
+
+
+ + + + + + +
+
+ +
+
+
+ + diff --git a/GMW/WebMasterPages/MasterAjax.master.cs b/GMW/WebMasterPages/MasterAjax.master.cs new file mode 100644 index 00000000..5a34c140 --- /dev/null +++ b/GMW/WebMasterPages/MasterAjax.master.cs @@ -0,0 +1,49 @@ +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; +using SteamWare; + +public partial class MasterAjax : System.Web.UI.MasterPage +{ + + protected override void OnLoad(EventArgs e) + { + base.OnLoad(e); + Page.Title = SteamWare.memLayer.ML.confReadString("_titoloPagina"); + } + + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + Mod_menuTop1.eh_toggleMenuSx += new EventHandler(Mod_menuTop1_eh_toggleMenuSx); + Mod_menuTop1.eh_reqUpdateMenu += new EventHandler(Mod_menuTop1_eh_reqUpdateMenu); + } + + void Mod_menuTop1_eh_reqUpdateMenu(object sender, EventArgs e) + { + // chiamo update del menu sx... + Mod_menuSx1.forzaUpdateMenu(); + } + + void Mod_menuTop1_eh_toggleMenuSx(object sender, EventArgs e) + { + // cambio stato visualizzaizone menù laterale... + Mod_menuSx1.Visible = !Mod_menuSx1.Visible; + } + + protected override void OnUnload(EventArgs e) + { + base.OnUnload(e); + // svuoto tutti gli event handler inseriti... + Mod_menuTop1.eh_toggleMenuSx -= new EventHandler(Mod_menuTop1_eh_toggleMenuSx); + Mod_menuTop1.eh_reqUpdateMenu -= new EventHandler(Mod_menuTop1_eh_reqUpdateMenu); + + } +} diff --git a/GMW/WebMasterPages/MasterAjax.master.designer.cs b/GMW/WebMasterPages/MasterAjax.master.designer.cs new file mode 100644 index 00000000..9bb8e445 --- /dev/null +++ b/GMW/WebMasterPages/MasterAjax.master.designer.cs @@ -0,0 +1,104 @@ +//------------------------------------------------------------------------------ +// +// 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. +// +//------------------------------------------------------------------------------ + + + +public partial class MasterAjax { + + /// + /// Head1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlHead Head1; + + /// + /// form1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// sm control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.ToolkitScriptManager sm; + + /// + /// UpdatePanel1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.UpdatePanel UpdatePanel1; + + /// + /// Mod_menuTop1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_menuTop Mod_menuTop1; + + /// + /// UpdatePanel2 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.UpdatePanel UpdatePanel2; + + /// + /// Mod_menuSx1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_menuSx Mod_menuSx1; + + /// + /// updPanelPagina control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.UpdatePanel updPanelPagina; + + /// + /// ContentPlaceHolder1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ContentPlaceHolder ContentPlaceHolder1; + + /// + /// Mod_menuBottom1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_menuBottom Mod_menuBottom1; +} diff --git a/GMW/WebMasterPages/TermPage.Master b/GMW/WebMasterPages/TermPage.Master new file mode 100644 index 00000000..de3859ea --- /dev/null +++ b/GMW/WebMasterPages/TermPage.Master @@ -0,0 +1,18 @@ +<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="TermPage.master.cs" Inherits="GMW.WebMasterPages.TermPage" %> + + + + + + + + + +
+
+ + +
+
+ + diff --git a/GMW/WebMasterPages/TermPage.Master.cs b/GMW/WebMasterPages/TermPage.Master.cs new file mode 100644 index 00000000..86ec5cbd --- /dev/null +++ b/GMW/WebMasterPages/TermPage.Master.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace GMW.WebMasterPages +{ + public partial class TermPage : System.Web.UI.MasterPage + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} diff --git a/GMW/WebMasterPages/TermPage.Master.designer.cs b/GMW/WebMasterPages/TermPage.Master.designer.cs new file mode 100644 index 00000000..bd459048 --- /dev/null +++ b/GMW/WebMasterPages/TermPage.Master.designer.cs @@ -0,0 +1,43 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW.WebMasterPages { + + + public partial class TermPage { + + /// + /// head control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ContentPlaceHolder head; + + /// + /// form1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// ContentPlaceHolder1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ContentPlaceHolder ContentPlaceHolder1; + } +} diff --git a/GMW/WebMasterPages/TermPageAjax.Master b/GMW/WebMasterPages/TermPageAjax.Master new file mode 100644 index 00000000..5bc57bdc --- /dev/null +++ b/GMW/WebMasterPages/TermPageAjax.Master @@ -0,0 +1,24 @@ +<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="TermPageAjax.master.cs" + Inherits="GMW.WebMasterPages.TermPageAjax" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %> + + + + + + + + + +
+ + + +
+ + +
+
+ + diff --git a/GMW/WebMasterPages/TermPageAjax.Master.cs b/GMW/WebMasterPages/TermPageAjax.Master.cs new file mode 100644 index 00000000..5b7eeadc --- /dev/null +++ b/GMW/WebMasterPages/TermPageAjax.Master.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace GMW.WebMasterPages +{ + public partial class TermPageAjax : System.Web.UI.MasterPage + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} diff --git a/GMW/WebMasterPages/TermPageAjax.Master.designer.cs b/GMW/WebMasterPages/TermPageAjax.Master.designer.cs new file mode 100644 index 00000000..4236ce73 --- /dev/null +++ b/GMW/WebMasterPages/TermPageAjax.Master.designer.cs @@ -0,0 +1,52 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW.WebMasterPages { + + + public partial class TermPageAjax { + + /// + /// head control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ContentPlaceHolder head; + + /// + /// form1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// sm control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.ToolkitScriptManager sm; + + /// + /// ContentPlaceHolder1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ContentPlaceHolder ContentPlaceHolder1; + } +} diff --git a/GMW/WebUserControls/Mod_SearchProvImballi.ascx b/GMW/WebUserControls/Mod_SearchProvImballi.ascx new file mode 100644 index 00000000..42553580 --- /dev/null +++ b/GMW/WebUserControls/Mod_SearchProvImballi.ascx @@ -0,0 +1,20 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Mod_SearchProvImballi.ascx.cs" Inherits="GMW.WebUserControls.Mod_SearchProvImballi" %> +<%@ Register Src="mod_listImballi.ascx" TagName="mod_listImballi" TagPrefix="uc1" %> +<%@ Register Src="mod_execImballi.ascx" TagName="mod_execImballi" TagPrefix="uc2" %> +<%@ Register Src="mod_detailImballi.ascx" TagName="mod_detailImballi" TagPrefix="uc3" %> + +
+ +
+ + + + + +
+ + + + +
+
diff --git a/GMW/WebUserControls/Mod_SearchProvImballi.ascx.cs b/GMW/WebUserControls/Mod_SearchProvImballi.ascx.cs new file mode 100644 index 00000000..8bb085ac --- /dev/null +++ b/GMW/WebUserControls/Mod_SearchProvImballi.ascx.cs @@ -0,0 +1,63 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +namespace GMW.WebUserControls +{ + public partial class Mod_SearchProvImballi : System.Web.UI.UserControl + { + protected void Page_Load(object sender, EventArgs e) + { + if (!Page.IsPostBack) + { + doTraduci(); + mod_detailImballi1.Visible = false; + mod_execImballi1.Visible = false; + } + mod_listImballi1.eh_selValore += new EventHandler(mod_listImballi1_eh_selValore); + mod_listImballi1.eh_resetSelezione += new EventHandler(mod_listImballi1_eh_resetSelezione); + } + + void mod_listImballi1_eh_resetSelezione(object sender, EventArgs e) + { + mod_detailImballi1.Visible = false; + mod_execImballi1.Visible = false; + } + + void mod_listImballi1_eh_selValore(object sender, EventArgs e) + { + //mod_detailImballi1.Visible = true; + ////mod_detailImballi1.doUpdate(); + //mod_execImballi1.Visible = true; + } + + + private void doTraduci() + { + lblSearchProvider.Text = traduci("Imballi"); + } + + /// + /// Effettua la ricerca indicata + /// + public void doSearch() + { + mod_listImballi1.doUpdate(); + mod_detailImballi1.Visible = false; + mod_execImballi1.Visible = false; + } + /// + /// wrapper metodo traduzione + /// + /// + /// + public string traduci(string lemma) + { + return user_std.UtSn.Traduci(lemma); + } + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/Mod_SearchProvImballi.ascx.designer.cs b/GMW/WebUserControls/Mod_SearchProvImballi.ascx.designer.cs new file mode 100644 index 00000000..dcd282e6 --- /dev/null +++ b/GMW/WebUserControls/Mod_SearchProvImballi.ascx.designer.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW.WebUserControls { + + + public partial class Mod_SearchProvImballi { + + /// + /// pnlSearchProvider control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlSearchProvider; + + /// + /// lblSearchProvider control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblSearchProvider; + + /// + /// mod_listImballi1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_listImballi mod_listImballi1; + + /// + /// mod_execImballi1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_execImballi mod_execImballi1; + + /// + /// mod_detailImballi1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_detailImballi mod_detailImballi1; + } +} diff --git a/GMW/WebUserControls/mod_SearchProvCelle.ascx b/GMW/WebUserControls/mod_SearchProvCelle.ascx new file mode 100644 index 00000000..5e09324c --- /dev/null +++ b/GMW/WebUserControls/mod_SearchProvCelle.ascx @@ -0,0 +1,20 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_SearchProvCelle.ascx.cs" Inherits="GMW.WebUserControls.mod_SearchProvCelle" %> +<%@ Register Src="mod_listCelle.ascx" TagName="mod_listCelle" TagPrefix="uc1" %> +<%@ Register Src="mod_execCelle.ascx" TagName="mod_execCelle" TagPrefix="uc2" %> +<%@ Register Src="mod_detailCelle.ascx" TagName="mod_detailCelle" TagPrefix="uc3" %> + +
+ +
+ + + + + +
+ + + + +
+
diff --git a/GMW/WebUserControls/mod_SearchProvCelle.ascx.cs b/GMW/WebUserControls/mod_SearchProvCelle.ascx.cs new file mode 100644 index 00000000..c49bcc30 --- /dev/null +++ b/GMW/WebUserControls/mod_SearchProvCelle.ascx.cs @@ -0,0 +1,63 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +namespace GMW.WebUserControls +{ + public partial class mod_SearchProvCelle : System.Web.UI.UserControl + { + protected void Page_Load(object sender, EventArgs e) + { + if (!Page.IsPostBack) + { + doTraduci(); + //mod_detailCelle1.Visible = false; + mod_execCelle1.Visible = false; + } + //mod_listCelle1.eh_selValore += new EventHandler(mod_listCelle1_eh_selValore); + //mod_listCelle1.eh_resetSelezione += new EventHandler(mod_listCelle1_eh_resetSelezione); + } + + void mod_listCelle1_eh_resetSelezione(object sender, EventArgs e) + { + //mod_detailCelle1.Visible = false; + mod_execCelle1.Visible = false; + } + + void mod_listCelle1_eh_selValore(object sender, EventArgs e) + { + //mod_detailCelle1.Visible = true; + //mod_detailCelle1.doUpdate(); + mod_execCelle1.Visible = true; + } + + + private void doTraduci() + { + lblSearchProvider.Text = traduci("CelleMag"); + } + + /// + /// Effettua la ricerca indicata + /// + public void doSearch() + { + //mod_listCelle1.doUpdate(); + //mod_detailCelle1.Visible = false; + mod_execCelle1.Visible = false; + } + /// + /// wrapper metodo traduzione + /// + /// + /// + public string traduci(string lemma) + { + return user_std.UtSn.Traduci(lemma); + } + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_SearchProvCelle.ascx.designer.cs b/GMW/WebUserControls/mod_SearchProvCelle.ascx.designer.cs new file mode 100644 index 00000000..2dbaf6f7 --- /dev/null +++ b/GMW/WebUserControls/mod_SearchProvCelle.ascx.designer.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW.WebUserControls { + + + public partial class mod_SearchProvCelle { + + /// + /// pnlSearchProvider control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlSearchProvider; + + /// + /// lblSearchProvider control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblSearchProvider; + + /// + /// mod_listCelle1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_listCelle mod_listCelle1; + + /// + /// mod_execCelle1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_execCelle mod_execCelle1; + + /// + /// mod_detailCelle1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_detailCelle mod_detailCelle1; + } +} diff --git a/GMW/WebUserControls/mod_SearchProvOperatori.ascx b/GMW/WebUserControls/mod_SearchProvOperatori.ascx new file mode 100644 index 00000000..c66046b4 --- /dev/null +++ b/GMW/WebUserControls/mod_SearchProvOperatori.ascx @@ -0,0 +1,20 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_SearchProvOperatori.ascx.cs" Inherits="GMW.WebUserControls.mod_SearchProvOperatori" %> +<%@ Register Src="mod_listOperatori.ascx" TagName="mod_listOperatori" TagPrefix="uc1" %> +<%@ Register Src="mod_execOperatori.ascx" TagName="mod_execOperatori" TagPrefix="uc2" %> +<%@ Register Src="mod_detailOperatori.ascx" TagName="mod_detailOperatori" TagPrefix="uc3" %> + +
+ +
+ + + + + +
+ + + + +
+
diff --git a/GMW/WebUserControls/mod_SearchProvOperatori.ascx.cs b/GMW/WebUserControls/mod_SearchProvOperatori.ascx.cs new file mode 100644 index 00000000..3555140a --- /dev/null +++ b/GMW/WebUserControls/mod_SearchProvOperatori.ascx.cs @@ -0,0 +1,63 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +namespace GMW.WebUserControls +{ + public partial class mod_SearchProvOperatori : System.Web.UI.UserControl + { + protected void Page_Load(object sender, EventArgs e) + { + if (!Page.IsPostBack) + { + doTraduci(); + //mod_detailOperatori1.Visible = false; + mod_execOperatori1.Visible = false; + } + //mod_listOperatori1.eh_selValore += new EventHandler(mod_listOperatori1_eh_selValore); + //mod_listOperatori1.eh_resetSelezione += new EventHandler(mod_listOperatori1_eh_resetSelezione); + } + + void mod_listOperatori1_eh_resetSelezione(object sender, EventArgs e) + { + //mod_detailOperatori1.Visible = false; + mod_execOperatori1.Visible = false; + } + + void mod_listOperatori1_eh_selValore(object sender, EventArgs e) + { + //mod_detailOperatori1.Visible = true; + //mod_detailOperatori1.doUpdate(); + mod_execOperatori1.Visible = true; + } + + + private void doTraduci() + { + lblSearchProvider.Text = traduci("Operatori"); + } + + /// + /// Effettua la ricerca indicata + /// + public void doSearch() + { + //mod_listOperatori1.doUpdate(); + //mod_detailOperatori1.Visible = false; + mod_execOperatori1.Visible = false; + } + /// + /// wrapper metodo traduzione + /// + /// + /// + public string traduci(string lemma) + { + return user_std.UtSn.Traduci(lemma); + } + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_SearchProvOperatori.ascx.designer.cs b/GMW/WebUserControls/mod_SearchProvOperatori.ascx.designer.cs new file mode 100644 index 00000000..85778633 --- /dev/null +++ b/GMW/WebUserControls/mod_SearchProvOperatori.ascx.designer.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW.WebUserControls { + + + public partial class mod_SearchProvOperatori { + + /// + /// pnlSearchProvider control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlSearchProvider; + + /// + /// lblSearchProvider control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblSearchProvider; + + /// + /// mod_listOperatori1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_listOperatori mod_listOperatori1; + + /// + /// mod_execOperatori1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_execOperatori mod_execOperatori1; + + /// + /// mod_detailOperatori1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_detailOperatori mod_detailOperatori1; + } +} diff --git a/GMW/WebUserControls/mod_SearchProvParticolari.ascx b/GMW/WebUserControls/mod_SearchProvParticolari.ascx new file mode 100644 index 00000000..9fe5902c --- /dev/null +++ b/GMW/WebUserControls/mod_SearchProvParticolari.ascx @@ -0,0 +1,21 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_SearchProvParticolari.ascx.cs" + Inherits="GMW.WebUserControls.mod_SearchProvParticolari" %> +<%@ Register Src="mod_listParticolari.ascx" TagName="mod_listParticolari" TagPrefix="uc1" %> +<%@ Register Src="mod_execParticolari.ascx" TagName="mod_execParticolari" TagPrefix="uc2" %> +<%@ Register Src="mod_detailParticolari.ascx" TagName="mod_detailParticolari" TagPrefix="uc3" %> + +
+ +
+ + + + + +
+ + + + +
+
diff --git a/GMW/WebUserControls/mod_SearchProvParticolari.ascx.cs b/GMW/WebUserControls/mod_SearchProvParticolari.ascx.cs new file mode 100644 index 00000000..93366bf6 --- /dev/null +++ b/GMW/WebUserControls/mod_SearchProvParticolari.ascx.cs @@ -0,0 +1,148 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +namespace GMW.WebUserControls +{ + public partial class mod_SearchProvParticolari : System.Web.UI.UserControl + { + + /// + /// evento selezione valore + /// + public event EventHandler eh_selValore; + /// + /// evento generale di reset + /// + public event EventHandler eh_reset; + + + protected void Page_Load(object sender, EventArgs e) + { + if (!Page.IsPostBack) + { + doTraduci(); + mod_execParticolari1.Visible = false; + memLayer.ML.setSessionVal("RicercaParticolariAttiva", false, false); + } + mod_detailParticolari1.eh_selValore += new EventHandler(mod_detailParticolari1_eh_selValore); + mod_detailParticolari1.eh_resetSelezione += new EventHandler(mod_detailParticolari1_eh_resetSelezione); + mod_listParticolari1.eh_selValore += new EventHandler(mod_listParticolari1_eh_selValore); + mod_listParticolari1.eh_resetSelezione += new EventHandler(mod_listParticolari1_eh_resetSelezione); + mod_execParticolari1.eh_btnGoToMagPressed += new EventHandler(mod_execParticolari1_eh_btnGoToMagPressed); + mod_execParticolari1.eh_btnListaPrelievoPressed += new EventHandler(mod_execParticolari1_eh_btnListaPrelievoPressed); + if (memLayer.ML.BoolSessionObj("RicercaParticolariAttiva")) + { + mod_execParticolari1.Visible = true; + mod_detailParticolari1.Visible = true; + } + else + { + mod_execParticolari1.Visible = false; + mod_detailParticolari1.Visible = false; + } + } + + void mod_detailParticolari1_eh_resetSelezione(object sender, EventArgs e) + { + mod_execParticolari1.Visible = false; + } + + void mod_detailParticolari1_eh_selValore(object sender, EventArgs e) + { + mod_execParticolari1.Visible = true; + } + /// + /// evento crea lista di prelievo chiamato + /// + /// + /// + void mod_execParticolari1_eh_btnListaPrelievoPressed(object sender, EventArgs e) + { + memLayer.ML.setSessionVal("PrecompilaListaPrelievo", true, false); + Response.Redirect("~/ElencoListePrelievo.aspx"); + } + /// + /// evento vai a magazzino chiamato + /// + /// + /// + void mod_execParticolari1_eh_btnGoToMagPressed(object sender, EventArgs e) + { + Response.Redirect("~/DettaglioBlocco.aspx"); + } + + void mod_listParticolari1_eh_resetSelezione(object sender, EventArgs e) + { + memLayer.ML.setSessionVal("RicercaParticolariAttiva", false, false); + mod_detailParticolari1.resetSelezione(); + mod_execParticolari1.Visible = false; + // sollevo evento nuovo valore... + if (eh_reset != null) + { + eh_reset(this, new EventArgs()); + } + } + + void mod_listParticolari1_eh_selValore(object sender, EventArgs e) + { + memLayer.ML.setSessionVal("RicercaParticolariAttiva", true,false); + mod_detailParticolari1.Visible = true; + mod_detailParticolari1.resetSelezione(); + mod_execParticolari1.Visible = false; + // sollevo evento nuovo valore... + if (eh_selValore != null) + { + eh_selValore(this, new EventArgs()); + } + } + + + private void doTraduci() + { + lblSearchProvider.Text = traduci("Particolari"); + } + + /// + /// Effettua la ricerca indicata + /// + public void doSearch() + { + mod_listParticolari1.doUpdate(); + //mod_detailParticolari1.Visible = false; + mod_execParticolari1.Visible = false; + } + /// + /// wrapper metodo traduzione + /// + /// + /// + public string traduci(string lemma) + { + return user_std.UtSn.Traduci(lemma); + } + /// + /// effettua update della visualizzazione + /// + public void doRefresh() + { + mod_execParticolari1.Visible = false; + mod_listParticolari1.doRefresh(); + } + /// + /// effettua reset del controllo + /// + public void doReset() + { + memLayer.ML.setSessionVal("RicercaParticolariAttiva", false, false); + mod_listParticolari1.doRefresh(); + mod_detailParticolari1.Visible = false; + mod_execParticolari1.Visible = false; + } + + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_SearchProvParticolari.ascx.designer.cs b/GMW/WebUserControls/mod_SearchProvParticolari.ascx.designer.cs new file mode 100644 index 00000000..eff428d4 --- /dev/null +++ b/GMW/WebUserControls/mod_SearchProvParticolari.ascx.designer.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW.WebUserControls { + + + public partial class mod_SearchProvParticolari { + + /// + /// pnlSearchProvider control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlSearchProvider; + + /// + /// lblSearchProvider control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblSearchProvider; + + /// + /// mod_listParticolari1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_listParticolari mod_listParticolari1; + + /// + /// mod_detailParticolari1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_detailParticolari mod_detailParticolari1; + + /// + /// mod_execParticolari1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_execParticolari mod_execParticolari1; + } +} diff --git a/GMW/WebUserControls/mod_SearchProvUDC.ascx b/GMW/WebUserControls/mod_SearchProvUDC.ascx new file mode 100644 index 00000000..1af6aad2 --- /dev/null +++ b/GMW/WebUserControls/mod_SearchProvUDC.ascx @@ -0,0 +1,21 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_SearchProvUDC.ascx.cs" + Inherits="GMW.WebUserControls.mod_SearchProvUDC" %> +<%@ Register Src="mod_listUDC.ascx" TagName="mod_listUDC" TagPrefix="uc1" %> +<%@ Register Src="mod_execUDC.ascx" TagName="mod_execUDC" TagPrefix="uc2" %> +<%@ Register Src="mod_detailUDC.ascx" TagName="mod_detailUDC" TagPrefix="uc3" %> + +
+ +
+ + + + + +
+ + + + +
+
diff --git a/GMW/WebUserControls/mod_SearchProvUDC.ascx.cs b/GMW/WebUserControls/mod_SearchProvUDC.ascx.cs new file mode 100644 index 00000000..100bab87 --- /dev/null +++ b/GMW/WebUserControls/mod_SearchProvUDC.ascx.cs @@ -0,0 +1,241 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +namespace GMW.WebUserControls +{ + public partial class mod_SearchProvUDC : System.Web.UI.UserControl + { + + /// + /// evento selezione valore + /// + public event EventHandler eh_selValore; + /// + /// evento generale di reset + /// + public event EventHandler eh_reset; + /// + /// gestisce controllo se l'UDC sia già consumato + /// + public bool udcConsumato + { + get + { + return memLayer.ML.BoolSessionObj("UdcConsumato"); + } + set + { + memLayer.ML.setSessionVal("UdcConsumato", value, false); + } + } + + + protected void Page_Load(object sender, EventArgs e) + { + if (!Page.IsPostBack) + { + doTraduci(); + mod_detailUDC1.Visible = false; + mod_execUDC1.Visible = false; + memLayer.ML.setSessionVal("RicercaUdcAttiva", false, false); + } + mod_listUDC1.eh_selValore += new EventHandler(mod_listUDC1_eh_selValore); + mod_listUDC1.eh_resetSelezione += new EventHandler(mod_listUDC1_eh_resetSelezione); + mod_execUDC1.eh_btnGoToMagPressed += new EventHandler(mod_execUDC1_eh_btnGoToMagPressed); + mod_execUDC1.eh_btnListaPrelievoPressed += new EventHandler(mod_execUDC1_eh_btnListaPrelievoPressed); + mod_execUDC1.eh_nuovoValore += new EventHandler(mod_execUDC1_eh_nuovoValore); + if (memLayer.ML.BoolSessionObj("RicercaUdcAttiva")) + { + mod_execUDC1.Visible = !udcConsumato; + mod_detailUDC1.Visible = true; + } + else + { + mod_execUDC1.Visible = false; + mod_detailUDC1.Visible = false; + } + } + + void mod_execUDC1_eh_nuovoValore(object sender, EventArgs e) + { + aggiornaDettaglio(); + } + /// + /// evento crea lista di prelievo chiamato + /// + /// + /// + void mod_execUDC1_eh_btnListaPrelievoPressed(object sender, EventArgs e) + { + memLayer.ML.setSessionVal("PrecompilaListaPrelievo", true, false); + Response.Redirect("~/ElencoListePrelievo.aspx"); + } + /// + /// evento vai a magazzino chiamato + /// + /// + /// + void mod_execUDC1_eh_btnGoToMagPressed(object sender, EventArgs e) + { + Response.Redirect("~/DettaglioBlocco.aspx"); + } + + void mod_listUDC1_eh_resetSelezione(object sender, EventArgs e) + { + memLayer.ML.setSessionVal("RicercaUdcAttiva", false, false); + mod_detailUDC1.Visible = false; + mod_execUDC1.Visible = false; + if (eh_reset != null) + { + eh_reset(this, new EventArgs()); + } + } + + void mod_listUDC1_eh_selValore(object sender, EventArgs e) + { + // controllo se l'UDC sia o meno già consumato... + string UDC = memLayer.ML.StringSessionObj("UDC_sel"); + GMW_data.DS_magazzino.v_UdcDetailRow rigaUdc = (GMW_data.DS_magazzino.v_UdcDetailRow)GMW_data.MagClass.magazzino.taDettUDC.getByFullUdc(UDC, memLayer.ML.confReadString("CodCS"))[0]; + if (rigaUdc.IdxPosizione < 0) + { + udcConsumato = true; + } + else + { + udcConsumato = false; + } + memLayer.ML.setSessionVal("RicercaUdcAttiva", true, false); + aggiornaDettaglio(); + } + + private void aggiornaDettaglio() + { + if (memLayer.ML.BoolSessionObj("RicercaUdcAttiva")) + { + mod_detailUDC1.Visible = true; + mod_detailUDC1.doUpdate(); + mod_execUDC1.Visible = !udcConsumato; + // salvo dati UDC selezionato... UDC_sel c'è già... + string UDC = memLayer.ML.StringSessionObj("UDC_sel"); + GMW_data.DS_magazzino.v_UdcDetailRow rigaUdc = (GMW_data.DS_magazzino.v_UdcDetailRow)GMW_data.MagClass.magazzino.taDettUDC.getByFullUdc(UDC, memLayer.ML.confReadString("CodCS"))[0]; + // inizializzo a vuoti + string particolare = ""; + string esponente = ""; + string codMag = ""; + string codBlocco = ""; + string codCellaMag = ""; + int idxCellaMag = 0; + int idxBlocco = 0; + // provoa caricare sennò segno errore.. + try + { + particolare = rigaUdc.Particolare; + esponente = rigaUdc.Esponente; + codMag = rigaUdc.CodMag; + codBlocco = rigaUdc.CodBlocco; + codCellaMag = rigaUdc.CodCella; + idxCellaMag = rigaUdc.IdxCella; + idxBlocco = GMW_data.MagClass.magazzino.taBlocchi.getByCodBlocco(codBlocco)[0].IdxBlocco; + } + catch (Exception exc) + { + httpLog(string.Format("Eccezione: {0}", exc), tipoLog.EXCEPTION); + } + // salvo in session + memLayer.ML.setSessionVal("Particolare_sel", particolare, false); + memLayer.ML.setSessionVal("Esponente_sel", esponente, false); + memLayer.ML.setSessionVal("CodMag_sel", codMag, false); + memLayer.ML.setSessionVal("CodCellaMag", codCellaMag, false); + memLayer.ML.setSessionVal("IdxCellaMag", idxCellaMag, false); + memLayer.ML.setSessionVal("IdxBlocco_sel", idxBlocco, false); + // sollevo evento nuovo valore... + if (eh_selValore != null) + { + eh_selValore(this, new EventArgs()); + } + } + } + /// + /// wrapper per log con salvataggio dell'IP del chiamante + /// + /// + /// + public bool httpLog(string _testoPre) + { + bool answ = false; + string postazione_IP = ""; + try + { + postazione_IP = string.Format(" | {0} | ", Request.UserHostName); + } + catch + { } + logger.lg.scriviLog(postazione_IP + _testoPre); + return answ; + } + /// + /// wrapper per log con salvataggio dell'IP del chiamante + /// + /// + /// + public bool httpLog(string testoLog, tipoLog tipo) + { + bool answ = false; + string postazione_IP = ""; + try + { + postazione_IP = string.Format(" | {0} | ", Request.UserHostName); + } + catch + { } + logger.lg.scriviLog(postazione_IP + testoLog, tipo); + return answ; + } + + private void doTraduci() + { + lblSearchProvider.Text = traduci("UDC"); + } + + /// + /// Effettua la ricerca indicata + /// + public void doSearch() + { + mod_listUDC1.doUpdate(); + mod_detailUDC1.Visible = false; + mod_execUDC1.Visible = false; + } + /// + /// wrapper metodo traduzione + /// + /// + /// + public string traduci(string lemma) + { + return user_std.UtSn.Traduci(lemma); + } + /// + /// effettua refresh della visualizzazione + /// + public void doRefresh() + { + mod_listUDC1.doRefresh(); + } + /// + /// effettua reset del controllo + /// + public void doReset() + { + memLayer.ML.setSessionVal("RicercaUdcAttiva", false, false); + mod_listUDC1.doRefresh(); + mod_detailUDC1.Visible = false; + mod_execUDC1.Visible = false; + } + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_SearchProvUDC.ascx.designer.cs b/GMW/WebUserControls/mod_SearchProvUDC.ascx.designer.cs new file mode 100644 index 00000000..ed5e3b03 --- /dev/null +++ b/GMW/WebUserControls/mod_SearchProvUDC.ascx.designer.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW.WebUserControls { + + + public partial class mod_SearchProvUDC { + + /// + /// pnlSearchProvider control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlSearchProvider; + + /// + /// lblSearchProvider control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblSearchProvider; + + /// + /// mod_listUDC1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_listUDC mod_listUDC1; + + /// + /// mod_detailUDC1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_detailUDC mod_detailUDC1; + + /// + /// mod_execUDC1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_execUDC mod_execUDC1; + } +} diff --git a/GMW/WebUserControls/mod_UdcCella.ascx b/GMW/WebUserControls/mod_UdcCella.ascx new file mode 100644 index 00000000..870f5ac4 --- /dev/null +++ b/GMW/WebUserControls/mod_UdcCella.ascx @@ -0,0 +1,127 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_UdcCella.ascx.cs" + Inherits="GMW.WebUserControls.mod_UdcCella" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %> + + + + + + + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +    + +
+ + + + + + + + + + + +
+ +
+ +
+ [ALT-U]
+ + +
+
+
+ + + + + + + + + + + +
+ +
+ + +
+ [ALT-W]
+ + + +
+
+
+ +
diff --git a/GMW/WebUserControls/mod_UdcCella.ascx.cs b/GMW/WebUserControls/mod_UdcCella.ascx.cs new file mode 100644 index 00000000..3e8fea6e --- /dev/null +++ b/GMW/WebUserControls/mod_UdcCella.ascx.cs @@ -0,0 +1,366 @@ +using System; +using System.Data; +using System.Web.UI.WebControls; +using SteamWare; +using GMW_data; + + +namespace GMW.WebUserControls +{ + public partial class mod_UdcCella : SteamWare.ApplicationUserControl + { + #region area da NON modificare + + #region area protected + + protected string _idxGridView; + protected string _idxGridViewExt; + protected string _tabCache; + protected bool _showNewBtn = false; + + + /// + /// traduce gli header delle colonne + /// + /// + /// + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); + lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); + } + else + { + lblNumRec.Text = ""; + } + } + + + /// + /// collega i controlli + /// + protected override void bindControlli() + { + base.bindControlli(); + caricaTabelle(); + } + + #endregion + + #region gestione eventi + + public event EventHandler eh_resetSelezione; + public event EventHandler eh_nuovoValore; + public event EventHandler eh_selValore; + + #endregion + + #region public + + /// + /// effettua update del modulo + /// + public void doUpdate() + { + resetSelezione(); + checkFixOds(); + grView.DataBind(); + } + /// + /// resetta la selezione dei valori in caso di modifiche su altri controlli + /// + public void resetSelezione() + { + SteamWare.memLayer.ML.emptySessionVal(string.Format("{0}_sel", _idxGridView)); + grView.SelectedIndex = -1; + lblWarning.Visible = false; + if (eh_resetSelezione != null) + { + eh_resetSelezione(this, new EventArgs()); + } + } + + #endregion + + #endregion + + #region area codice variabile + + public event EventHandler eh_nuovaRicerca; + + /// + /// aggiorna controlli datagrid e numero righe in pagina + /// + protected override void aggiornaControlliDataGL() + { + base.aggiornaControlliDataGL(); + grView.PageSize = _righeDataGridShort; + } + /// + /// carico le tabelle + /// + private void caricaTabelle() + { + } + /// + /// elenco colonne del datagrid + /// + /// + protected DataColumnCollection colonneObj() + { + DS_magazzino.v_UdcDetailDataTable tabella = new DS_magazzino.v_UdcDetailDataTable(); + DataColumnCollection colonne = tabella.Columns; + return colonne; + } + /// + /// inizializzazione valori di default + /// + /// + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + if (!Page.IsPostBack) + { + traduzione(); + azzeraPostUpdate(); + updateText(); + } + _idxGridView = "UDC2edit"; + } + /// + /// traduzioni + /// + protected void traduzione() + { + // sistemo labels e buttons + lblQta.Text = traduci("lblQta"); + lblNewPos.Text = traduci("lblNewPos"); + lblErrore.Text = traduci("ErroreCellaDestOccupata"); + btnQta.Text = traduci("btnQta"); + btnSposta.Text = traduci("btnSposta"); + cbeQta.ConfirmText = traduci("confermaRettificaQta"); + cbeSposta.ConfirmText = traduci("confermaSpostamentoUDC"); + btnCerca.Text = traduci("btnSearch"); + } + /// + /// verifica se attivo filtro company e imposta ods di conseguenza... + /// + private void checkFixOds() + { + } + /// + /// aggiorno ods al binding.. + /// + /// + /// + protected void ods_DataBinding(object sender, EventArgs e) + { + // fix dell'ODS + checkFixOds(); + } + + protected void grView_PageIndexChanged(object sender, EventArgs e) + { + // fix dell'ODS + checkFixOds(); + } + protected void grView_Sorted(object sender, EventArgs e) + { + // fix dell'ODS + checkFixOds(); + } + + protected void grView_RowUpdated(object sender, GridViewUpdatedEventArgs e) + { + // fix dell'ODS + checkFixOds(); + } + + /// + /// chiama procedura x spostamento tra celle di un UDC + /// + /// + /// + protected void btnSposta_Click1(object sender, EventArgs e) + { + // ricavo il valore dell'UDC cliccato... + string UDC = memLayer.ML.StringSessionObj(string.Format("{0}_sel", _idxGridView)); + int IdxCellaTo = 0; + bool cellaToOk = false; + try + { + DS_magazzino.CelleRow rowCella = MagClass.magazzino.taCelle.getByCodCella(txtNewCella.Text)[0]; + IdxCellaTo = rowCella.IdxCella; + // controllo che la cella di destinazione NON sia bloccata + cellaToOk = rowCella.Attiva; + } + catch + { } + if (cellaToOk) + { + // controllo che sia valido x fare l'operazione + if (IdxCellaTo > 0) + { + MagClass.magazzino.spostaUDC(memLayer.ML.StringSessionObj("CodCS"), UDC, IdxCellaTo, memLayer.ML.confReadBool("spostaUdcResettaLdp"), Request.UserHostName); + } + azzeraPostUpdate(); + if (eh_nuovoValore != null) + { + eh_nuovoValore(this, new EventArgs()); + } + } + else + { + // la cella è bloccata, nn devo permettere spostamento + lblErrore.Visible = true; + } + } + /// + /// aggiorna la qta pezzi dell'UDC indicato + /// + /// + /// + protected void btnQta_Click(object sender, EventArgs e) + { + string UDC = memLayer.ML.StringSessionObj(string.Format("{0}_sel", _idxGridView)); + decimal qta = -1; + try + { + qta = Convert.ToDecimal(txtQta.Text); + } + catch + { } + if (qta >= 0) + { + MagClass.magazzino.rettificaQtaUDC(UDC, qta, Request.UserHostName); + } + azzeraPostUpdate(); + } + + /// + /// reset della selezione + /// + /// + /// + protected void btnReset_Click(object sender, EventArgs e) + { + azzeraPostUpdate(); + } + /// + /// reset controlli post aggiornamento + /// + private void azzeraPostUpdate() + { + lblErrore.Visible = false; + grView.DataBind(); + resetSelezione(); + txtNewCella.Text = ""; + txtQta.Text = ""; + doShowPanels(false); + } + /// + /// gestione cambio selezione valore + /// + /// + /// + protected void grView_SelectedIndexChanged(object sender, EventArgs e) + { + // salvo in session il valore selezionato... + memLayer.ML.setSessionVal(string.Format("{0}_sel", _idxGridView), grView.SelectedValue, true); + // fix panels + doShowPanels(true); + // sollevo evento nuovo valore... + if (eh_selValore != null) + { + eh_selValore(this, new EventArgs()); + } + } + /// + /// determina visibilità panels correzione valori + /// + /// + private void doShowPanels(bool p) + { + pnlQta.Visible = p; + pnlSposta.Visible = p; + } + + + /// + /// cambiato valore in ricerca + /// + /// + /// + protected void txtCerca_TextChanged(object sender, EventArgs e) + { + salvaCerca(); + } + /// + /// pressione del button di ricerca + /// + /// + /// + protected void btnCerca_Click(object sender, EventArgs e) + { + salvaCerca(); + } + + /// + /// testo ricerca trimmato da spazi + /// + protected string testoRicerca + { + get + { + return txtCerca.Text.Trim(); + } + set + { + txtCerca.Text = value; + } + } + protected void salvaCerca() + { + if (testoRicerca == "") + { + SteamWare.memLayer.ML.emptySessionVal("valoreCercatoCella"); + } + else + { + SteamWare.memLayer.ML.setSessionVal("valoreCercatoCella", testoRicerca); + } + // raise dell'evento + if (eh_nuovaRicerca != null) + { + eh_nuovaRicerca(this, new EventArgs()); + } + } + /// + /// aggiorna il testo cercato + /// + public void updateText() + { + if (SteamWare.memLayer.ML.StringSessionObj("valoreCercatoCella") != "" && !Page.IsPostBack) + { + testoRicerca = SteamWare.memLayer.ML.StringSessionObj("valoreCercatoCella"); + } + } + + #endregion + + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_UdcCella.ascx.designer.cs b/GMW/WebUserControls/mod_UdcCella.ascx.designer.cs new file mode 100644 index 00000000..374ffdb3 --- /dev/null +++ b/GMW/WebUserControls/mod_UdcCella.ascx.designer.cs @@ -0,0 +1,178 @@ +//------------------------------------------------------------------------------ +// +// 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_UdcCella { + + /// + /// txtCerca control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtCerca; + + /// + /// btnCerca control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnCerca; + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; + + /// + /// lblNumRec control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumRec; + + /// + /// lblWarning control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblWarning; + + /// + /// pnlQta control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlQta; + + /// + /// lblQta control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblQta; + + /// + /// txtQta control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtQta; + + /// + /// btnQta control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnQta; + + /// + /// cbeQta control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.ConfirmButtonExtender cbeQta; + + /// + /// pnlSposta control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlSposta; + + /// + /// lblNewPos control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNewPos; + + /// + /// txtNewCella control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtNewCella; + + /// + /// aceParticolare control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.AutoCompleteExtender aceParticolare; + + /// + /// btnSposta control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnSposta; + + /// + /// cbeSposta control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.ConfirmButtonExtender cbeSposta; + + /// + /// lblErrore control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblErrore; + } +} diff --git a/GMW/WebUserControls/mod_anagBlocchi.ascx b/GMW/WebUserControls/mod_anagBlocchi.ascx new file mode 100644 index 00000000..40eb3497 --- /dev/null +++ b/GMW/WebUserControls/mod_anagBlocchi.ascx @@ -0,0 +1,170 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_anagBlocchi.ascx.cs" + Inherits="GMW.WebUserControls.mod_anagBlocchi" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +   + \ No newline at end of file diff --git a/GMW/WebUserControls/mod_anagBlocchi.ascx.cs b/GMW/WebUserControls/mod_anagBlocchi.ascx.cs new file mode 100644 index 00000000..ffc3b638 --- /dev/null +++ b/GMW/WebUserControls/mod_anagBlocchi.ascx.cs @@ -0,0 +1,447 @@ +using System; +using System.Data; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; +using GMW_data; + +namespace GMW.WebUserControls +{ + public partial class mod_anagBlocchi : SteamWare.ApplicationUserControl + { + #region area da NON modificare + + #region area protected + + protected string _idxGridView; + protected string _idxGridViewExt; + protected string _tabCache; + protected bool _showNewBtn = false; + + /// + /// imposta errore non cancellabilità per record correlati + /// + protected void setNoDeletableErrorMessage() + { + // mostro avviso di non cancellabilità... + lblWarning.Text = traduci("notDeletable_hasChild"); + lblWarning.Visible = true; + grView.DataBind(); + } + /// + /// esegue cancellazioen record + /// + protected void doDelete() + { + // posso cancellare... + lblWarning.Visible = false; + ods.Delete(); + } + /// + /// Valida la cancellazione per i dati mostrati dal gridView + /// richiede sia preventivamentedichiarato _idxGridView + /// + /// + /// + protected virtual void validaDelete(object sender, ObjectDataSourceMethodEventArgs e) + { + int idx = Convert.ToInt32(e.InputParameters[string.Format("Original_{0}", _idxGridView)]); + if (objIsNotRelated(idx)) + { + // annullo cancellazione... + e.Cancel = true; + // seleziono record... metto in session valore idx e poi ridisegno... + SteamWare.memLayer.ML.setSessionVal(_idxGridView, idx); + setNoDeletableErrorMessage(); + } + else + { + doDelete(); + } + } + + /// + /// recupera i dati di un nuovo record contenuti nel footer di un gridView; + /// questi devono esses opportunamente nominati (es: txt{0}, dl{0}, ...) + /// + /// + /// + protected void recuperaFooter(object sender, ObjectDataSourceMethodEventArgs e) + { + //recupero la riga footer... + DataColumnCollection colonne = colonneObj(); + string nomeCol; + string tipoColonna = ""; + foreach (DataColumn colonna in colonne) + { + nomeCol = colonna.ColumnName; + // cerco un textbox o quello che sia... + if (grView.FooterRow.FindControl(string.Format("txt{0}", nomeCol)) != null) + { + tipoColonna = "textBox"; + } + else if (grView.FooterRow.FindControl(string.Format("dl{0}", nomeCol)) != null) + { + tipoColonna = "dropDownList"; + } + else if (grView.FooterRow.FindControl(string.Format("chk{0}", nomeCol)) != null) + { + tipoColonna = "checkBox"; + } + else if (grView.FooterRow.FindControl(string.Format("selAjax_{0}", nomeCol)) != null) + { + tipoColonna = "selAjax"; + } + // in base al tipo salvo negli inputparameters dell'ODS + switch (tipoColonna) + { + case "textBox": + e.InputParameters[nomeCol] = ((TextBox)grView.FooterRow.FindControl(string.Format("txt{0}", nomeCol))).Text; + break; + case "dropDownList": + e.InputParameters[nomeCol] = ((DropDownList)grView.FooterRow.FindControl(string.Format("dl{0}", nomeCol))).SelectedValue; + break; + case "checkBox": + e.InputParameters[nomeCol] = ((CheckBox)grView.FooterRow.FindControl(string.Format("chk{0}", nomeCol))).Checked; + break; + case "selAjax": + e.InputParameters[nomeCol] = ((mod_selettore_ajax)grView.FooterRow.FindControl(string.Format("selAjax_{0}", nomeCol))).valore; + break; + default: + break; + } + tipoColonna = ""; + } + } + /// + /// inserisce nuovo valore da footer + /// + /// + /// + protected void lblIns_click(object sender, EventArgs e) + { + // click su inserimento, chiamo il metodo insert dell'ObjectDataSource + ods.Insert(); + SteamWare.memLayer.ML.emptyCacheVal(_tabCache); + } + /// + /// annulla inserimento nuovo valore da footer + /// + /// + /// + protected void lblCanc_click(object sender, EventArgs e) + { + // annullo inserimento: nascondo footer, bind controlli... + grView.FooterRow.Visible = false; + } + + /// + /// aggiorna controlli datagrid e numero righe in pagina + /// + protected override void aggiornaControlliDataGL() + { + base.aggiornaControlliDataGL(); + grView.PageSize = _righeDataGridMed; + } + /// + /// traduce gli header delle colonne + /// + /// + /// + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); + lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); + } + else + { + lblNumRec.Text = ""; + } + } + /// + /// gestione evento richeista nuovo valore (mostra footer, ...) + /// + /// + /// + protected void btnNew_Click(object sender, EventArgs e) + { + // reset selezione... + resetSelezione(); + // mostro il footer oppure la riga dei dettagli x nuovo... + if (grView.FooterRow != null) + { + grView.FooterRow.Visible = true; + } + // sollevo evento nuovo valore... + if (eh_nuovoValore != null) + { + eh_nuovoValore(this, new EventArgs()); + } + } + /// + /// reset della selezione + /// + /// + /// + protected void btnReset_Click(object sender, EventArgs e) + { + resetSelezione(); + } + /// + /// gestione cambio selezione valore + /// + /// + /// + protected void grView_SelectedIndexChanged(object sender, EventArgs e) + { + // salvo in session il valore selezionato... + SteamWare.memLayer.ML.setSessionVal(string.Format("{0}_sel", _idxGridView), grView.SelectedValue, false); + // sollevo evento nuovo valore... + if (eh_selValore != null) + { + eh_selValore(this, new EventArgs()); + } + } + /// + /// resetta la selezione dei valori in caso di modifiche su altri controlli + /// + public void resetSelezione() + { + SteamWare.memLayer.ML.emptySessionVal(string.Format("{0}_sel", _idxGridView)); + grView.SelectedIndex = -1; + grView.DataBind(); + lblWarning.Visible = false; + if (eh_resetSelezione != null) + { + eh_resetSelezione(this, new EventArgs()); + } + } + + /// + /// collega i controlli + /// + protected override void bindControlli() + { + base.bindControlli(); + caricaTabelle(); + } + + #endregion + + #region gestione eventi + + public event EventHandler eh_resetSelezione; + public event EventHandler eh_nuovoValore; + public event EventHandler eh_selValore; + + #endregion + + #region public + + /// + /// definisce visibilità btnNew + /// + public bool showNewBtn + { + get + { + return _showNewBtn; + } + set + { + _showNewBtn = value; + } + } + /// + /// effettua update del modulo + /// + public void doUpdate() + { + resetSelezione(); + } + + + #endregion + + #endregion + + #region area codice variabile + + + /// + /// carico le tabelle + /// + private void caricaTabelle() + { + } + /// + /// verifica complessiva non esistenza record child + /// + /// + /// + protected bool objIsNotRelated(object idxObj) + { + return MagClass.magazzino.taCelle.getByIdxBlocco(Convert.ToInt32(idxObj)).Rows.Count == 0; + } + /// + /// elenco colonne del datagrid + /// + /// + protected DataColumnCollection colonneObj() + { + DS_magazzino.BlocchiDataTable tabella = new DS_magazzino.BlocchiDataTable(); + DataColumnCollection colonne = tabella.Columns; + return colonne; + } + /// + /// inizializzazione valori di default + /// + /// + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + _idxGridView = "IdxBlocco"; + lblTitolo.Text = traduci("ElencoBlocchi"); + } + /// + /// svuoto da cache post update + /// + /// + /// + protected void ods_Updated(object sender, ObjectDataSourceStatusEventArgs e) + { + // evento come nuovo... + if (eh_nuovoValore != null) + { + eh_nuovoValore(this, new EventArgs()); + } + } + /// + /// determina se sia eliminabile il record (=non usato) + /// + /// + /// + public bool delEnabled(object idxObj) + { + bool answ = isWritable(); + // solo se ha diritti scrittura controllo + if (answ) + { + int trovati = 0; + // controllo se ci siano celle associate + trovati = MagClass.magazzino.taCelle.getByIdxBlocco(Convert.ToInt32(idxObj)).Rows.Count; + // controllo se ci sono record correlati... + if (trovati > 0) + { + answ = false; + } + } + return answ; + } + /// + /// gestione evento inserimento nuovo record standard (se ZERO presenti) + /// + /// + /// + protected void btnNewFromEmpty_Click(object sender, EventArgs e) + { + // reset selezione... + resetSelezione(); + // i primi valori ("0") di default sono "ND"... li inserisco come standard... + MagClass.magazzino.taBlocchi.insertQuery(memLayer.ML.StringSessionObj("CodMag_sel"), memLayer.ML.confReadString("CodCS"), "ND", "Descrizione n.d.", memLayer.ML.confReadInt("NumX"), memLayer.ML.confReadInt("NumY"), memLayer.ML.confReadInt("NumZ")); + // sollevo evento nuovo valore... + if (eh_nuovoValore != null) + { + eh_nuovoValore(this, new EventArgs()); + } + updateOdsDaFiltro(); + } + /// + /// aggiorno visualizzazione + /// + private void updateOdsDaFiltro() + { + grView.DataBind(); + } + + /// + /// salvo in session che il prox comando è creare oggetti child... + /// + /// + /// + protected void imgCreaChild_Click(object sender, ImageClickEventArgs e) + { + SteamWare.memLayer.ML.setSessionVal("nextObjCommand", "creaChildObj"); + } + /// + /// in caso di aggiornamento verifico se sia salvato un comando clona... + /// + /// + /// + protected void grView_RowUpdating(object sender, GridViewUpdateEventArgs e) + { + // carico l'idx dell'oggetto + int _idxBlocco = Convert.ToInt32(e.Keys["IdxBlocco"]); + // quale comando? + string _comando = ""; + if (SteamWare.memLayer.ML.isInSessionObject("nextObjCommand")) + { + _comando = SteamWare.memLayer.ML.StringSessionObj("nextObjCommand"); + SteamWare.memLayer.ML.emptySessionVal("nextObjCommand"); + } + // verifico il tipo di richiesta (up/down level, clona o update normale + switch (_comando) + { + case "creaChildObj": + utils.obj.taSTP.stp_celleCreaMancantiBlocco(memLayer.ML.confReadString("CodCS"), memLayer.ML.StringSessionObj("CodMag_sel"), _idxBlocco, memLayer.ML.IntSessionObj("IdxTipoCella_sel")); + updateOdsDaFiltro(); + grView.EditIndex = -1; + grView.DataBind(); + // sollevo evento nuovo valore... + if (eh_nuovoValore != null) + { + eh_nuovoValore(this, new EventArgs()); + } + // blocco update! + e.Cancel = true; + break; + default: + // faccio update! + break; + } + + } + /// + /// verifica se sia necessario creare obj child + /// + /// + /// + public bool childObjNeeded(object idx) + { + bool answ = false; + int idxBlocco = Convert.ToInt32(idx); + // conto disavanzo... + int? delta = 0; + utils.obj.taSTP.stp_ContaDeltaCelleBlocco(idxBlocco, ref delta); + if (!delta.HasValue) delta = 0; + if (delta > 0) answ = true; + return answ; + } + + #endregion + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_anagBlocchi.ascx.designer.cs b/GMW/WebUserControls/mod_anagBlocchi.ascx.designer.cs new file mode 100644 index 00000000..61de8f28 --- /dev/null +++ b/GMW/WebUserControls/mod_anagBlocchi.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_anagBlocchi { + + /// + /// lblTitolo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblTitolo; + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; + + /// + /// lblNumRec control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumRec; + + /// + /// lblWarning control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblWarning; + } +} diff --git a/GMW/WebUserControls/mod_anagCelle.ascx b/GMW/WebUserControls/mod_anagCelle.ascx new file mode 100644 index 00000000..7e422d08 --- /dev/null +++ b/GMW/WebUserControls/mod_anagCelle.ascx @@ -0,0 +1,259 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_anagCelle.ascx.cs" + Inherits="GMW.WebUserControls.mod_anagCelle" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> +<%@ Register Src="mod_filtro.ascx" TagName="mod_filtro" TagPrefix="uc1" %> +
+ + + + + + +
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + +   + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +   + + + + + + + + + + + + + diff --git a/GMW/WebUserControls/mod_anagCelle.ascx.cs b/GMW/WebUserControls/mod_anagCelle.ascx.cs new file mode 100644 index 00000000..e914c908 --- /dev/null +++ b/GMW/WebUserControls/mod_anagCelle.ascx.cs @@ -0,0 +1,558 @@ +using System; +using System.Data; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; +using GMW_data; + +namespace GMW.WebUserControls +{ + public partial class mod_anagCelle : SteamWare.ApplicationUserControl + { + #region area da NON modificare + + #region area protected + + protected string _idxGridView; + protected string _idxGridViewExt; + protected string _tabCache; + protected bool _showNewBtn = false; + + /// + /// imposta errore non cancellabilità per record correlati + /// + protected void setNoDeletableErrorMessage() + { + // mostro avviso di non cancellabilità... + lblWarning.Text = traduci("notDeletable_hasChild"); + lblWarning.Visible = true; + grView.DataBind(); + } + /// + /// esegue cancellazioen record + /// + protected void doDelete() + { + // posso cancellare... + lblWarning.Visible = false; + ods.Delete(); + } + /// + /// Valida la cancellazione per i dati mostrati dal gridView + /// richiede sia preventivamentedichiarato _idxGridView + /// + /// + /// + protected virtual void validaDelete(object sender, ObjectDataSourceMethodEventArgs e) + { + int idx = Convert.ToInt32(e.InputParameters[string.Format("Original_{0}", _idxGridView)]); + if (objIsNotRelated(idx)) + { + // annullo cancellazione... + e.Cancel = true; + // seleziono record... metto in session valore idx e poi ridisegno... + SteamWare.memLayer.ML.setSessionVal(_idxGridView, idx); + setNoDeletableErrorMessage(); + } + else + { + doDelete(); + } + } + + /// + /// recupera i dati di un nuovo record contenuti nel footer di un gridView; + /// questi devono esses opportunamente nominati (es: txt{0}, dl{0}, ...) + /// + /// + /// + protected void recuperaFooter(object sender, ObjectDataSourceMethodEventArgs e) + { + //recupero la riga footer... + DataColumnCollection colonne = colonneObj(); + string nomeCol; + string tipoColonna = ""; + foreach (DataColumn colonna in colonne) + { + nomeCol = colonna.ColumnName; + // cerco un textbox o quello che sia... + if (grView.FooterRow.FindControl(string.Format("txt{0}", nomeCol)) != null) + { + tipoColonna = "textBox"; + } + else if (grView.FooterRow.FindControl(string.Format("dl{0}", nomeCol)) != null) + { + tipoColonna = "dropDownList"; + } + else if (grView.FooterRow.FindControl(string.Format("chk{0}", nomeCol)) != null) + { + tipoColonna = "checkBox"; + } + else if (grView.FooterRow.FindControl(string.Format("selAjax_{0}", nomeCol)) != null) + { + tipoColonna = "selAjax"; + } + // in base al tipo salvo negli inputparameters dell'ODS + switch (tipoColonna) + { + case "textBox": + e.InputParameters[nomeCol] = ((TextBox)grView.FooterRow.FindControl(string.Format("txt{0}", nomeCol))).Text; + break; + case "dropDownList": + e.InputParameters[nomeCol] = ((DropDownList)grView.FooterRow.FindControl(string.Format("dl{0}", nomeCol))).SelectedValue; + break; + case "checkBox": + e.InputParameters[nomeCol] = ((CheckBox)grView.FooterRow.FindControl(string.Format("chk{0}", nomeCol))).Checked; + break; + case "selAjax": + e.InputParameters[nomeCol] = ((mod_selettore_ajax)grView.FooterRow.FindControl(string.Format("selAjax_{0}", nomeCol))).valore; + break; + default: + break; + } + tipoColonna = ""; + } + } + /// + /// inserisce nuovo valore da footer + /// + /// + /// + protected void lblIns_click(object sender, EventArgs e) + { + // click su inserimento, chiamo il metodo insert dell'ObjectDataSource + ods.Insert(); + SteamWare.memLayer.ML.emptyCacheVal(_tabCache); + } + /// + /// annulla inserimento nuovo valore da footer + /// + /// + /// + protected void lblCanc_click(object sender, EventArgs e) + { + // annullo inserimento: nascondo footer, bind controlli... + grView.FooterRow.Visible = false; + } + + /// + /// aggiorna controlli datagrid e numero righe in pagina + /// + protected override void aggiornaControlliDataGL() + { + base.aggiornaControlliDataGL(); + grView.PageSize = _righeDataGridMed; + } + /// + /// traduce gli header delle colonne + /// + /// + /// + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); + lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); + } + else + { + lblNumRec.Text = ""; + } + } + /// + /// gestione evento richeista nuovo valore (mostra footer, ...) + /// + /// + /// + protected void btnNew_Click(object sender, EventArgs e) + { + // reset selezione... + resetSelezione(); + // mostro il footer oppure la riga dei dettagli x nuovo... + if (grView.FooterRow != null) + { + grView.FooterRow.Visible = true; + } + // sollevo evento nuovo valore... + if (eh_nuovoValore != null) + { + eh_nuovoValore(this, new EventArgs()); + } + } + /// + /// reset della selezione + /// + /// + /// + protected void btnReset_Click(object sender, EventArgs e) + { + resetSelezione(); + } + /// + /// gestione cambio selezione valore + /// + /// + /// + protected void grView_SelectedIndexChanged(object sender, EventArgs e) + { + // salvo in session il valore selezionato... + SteamWare.memLayer.ML.setSessionVal(string.Format("{0}_sel", _idxGridView), grView.SelectedValue, true); + // sollevo evento nuovo valore... + if (eh_selValore != null) + { + eh_selValore(this, new EventArgs()); + } + } + /// + /// resetta la selezione dei valori in caso di modifiche su altri controlli + /// + public void resetSelezione() + { + SteamWare.memLayer.ML.emptySessionVal(string.Format("{0}_sel", _idxGridView)); + grView.SelectedIndex = -1; + grView.DataBind(); + lblWarning.Visible = false; + if (eh_resetSelezione != null) + { + eh_resetSelezione(this, new EventArgs()); + } + } + + /// + /// collega i controlli + /// + protected override void bindControlli() + { + base.bindControlli(); + caricaTabelle(); + } + + #endregion + + #region gestione eventi + + public event EventHandler eh_resetSelezione; + public event EventHandler eh_nuovoValore; + public event EventHandler eh_selValore; + + #endregion + + #region public + + /// + /// definisce visibilità btnNew + /// + public bool showNewBtn + { + get + { + return _showNewBtn; + } + set + { + _showNewBtn = value; + } + } + /// + /// effettua update del modulo + /// + public void doUpdate() + { + resetSelezione(); + } + + + #endregion + + #endregion + + #region area codice variabile + + /// + /// carico le tabelle + /// + private void caricaTabelle() + { + } + /// + /// verifica complessiva non esistenza record child + /// + /// + /// + protected bool objIsNotRelated(object idxObj) + { + int trovate = MagClass.magazzino.taPosUdcCorr.getByIdxCella(Convert.ToInt32(idxObj)).Rows.Count; + return trovate == 0; + } + /// + /// elenco colonne del datagrid + /// + /// + protected DataColumnCollection colonneObj() + { + DS_magazzino.CelleDataTable tabella = new DS_magazzino.CelleDataTable(); + DataColumnCollection colonne = tabella.Columns; + return colonne; + } + /// + /// inizializzazione valori di default + /// + /// + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + _idxGridView = "IdxCella"; + mod_filtroMag.eh_selValore += new EventHandler(mod_filtroMag_eh_selValore); + mod_filtroBlock.eh_selValore += new EventHandler(mod_filtroBlock_eh_selValore); + if (!Page.IsPostBack) + { + mod_filtroMag.ods = odsFiltroMag; + mod_filtroBlock.ods = odsFiltroBlock; + // imposto corretto valore x filtro Mag + if (memLayer.ML.isInSessionObject("CodMag_sel")) + { + mod_filtroMag.valore = memLayer.ML.StringSessionObj("CodMag_sel"); + } + else + { + memLayer.ML.setSessionVal("CodMag_sel", mod_filtroMag.valore, false); + } + if (memLayer.ML.isInSessionObject("IdxBlocco_sel")) + { + mod_filtroBlock.valore = memLayer.ML.StringSessionObj("IdxBlocco_sel"); + } + checkFixOds(); + } + } + + void mod_filtroBlock_eh_selValore(object sender, EventArgs e) + { + // salvo in sessione il valore selezionato... + if (mod_filtroBlock.valoreInt != -1) + { + memLayer.ML.setSessionVal("IdxBlocco_sel", mod_filtroBlock.valoreInt, false); + } + else + { + memLayer.ML.emptySessionVal("IdxBlocco_sel"); + } + // chiamo procedura che aggiorna ods principale + checkFixOds(); + } + + void mod_filtroMag_eh_selValore(object sender, EventArgs e) + { + // salvo in sessione il valore selezionato... + if (mod_filtroMag.valore != "") + { + memLayer.ML.setSessionVal("CodMag_sel", mod_filtroMag.valore, false); + } + else + { + memLayer.ML.emptySessionVal("CodMag_sel"); + } + // chiamo procedura che aggiorna ods principale + checkFixOds(); + } + + /// + /// chiamato post modifica valore check/selezione nel selettore filtro impianto + /// + /// + /// + public void eh_selectedMagazzino(object sender, EventArgs e) + { + if (mod_filtroMag.valore != "") + { + if (!mod_filtroBlock.Visible) + { + mod_filtroBlock.Visible = true; + } + else + { + mod_filtroBlock.reset(); + memLayer.ML.emptySessionVal("IdxBlocco_sel"); + } + mod_filtroBlock.ods = odsFiltroBlock; + } + else + { + mod_filtroBlock.reset(); + mod_filtroBlock.Visible = false; + memLayer.ML.emptySessionVal("IdxBlocco_sel"); + } + // chiamo procedura che aggiorna ods principale + checkFixOds(); + } + /// + /// segnalo nuovo valore filtro attivo... + /// + private void checkFixOds() + { + // determino cosa filtrare nella filter expression... + if (mod_filtroBlock.Visible && memLayer.ML.isInSessionObject("IdxBlocco_sel")) + { + ods.FilterExpression = " (CodCella LIKE '%{0}%' OR Descrizione LIKE '%{0}%') AND IdxBlocco = {1} "; + } + else + { + ods.FilterExpression = " CodCella LIKE '%{0}%' OR Descrizione LIKE '%{0}%' "; + } + grView.DataBind(); + } + + + /// + /// svuoto da cache post update + /// + /// + /// + protected void ods_Updated(object sender, ObjectDataSourceStatusEventArgs e) + { + // evento come nuovo... + if (eh_nuovoValore != null) + { + eh_nuovoValore(this, new EventArgs()); + } + } + /// + /// determina se sia eliminabile il record (=non usato) + /// + /// + /// + public bool delEnabled(object idxObj) + { + bool answ = isWritable(); + // solo se ha diritti scrittura controllo + if (answ) + { + int trovati = 0; + // controllo se ci siano celle associate + trovati = MagClass.magazzino.taPosUdcCorr.getByIdxCella(Convert.ToInt32(idxObj)).Rows.Count; + // controllo se ci sono record correlati... + if (trovati > 0) + { + answ = false; + } + } + return answ; + } + /// + /// gestione evento inserimento nuovo record standard (se ZERO presenti) + /// + /// + /// + protected void btnNewFromEmpty_Click(object sender, EventArgs e) + { + // reset selezione... + resetSelezione(); + //// i primi valori ("0") di default sono "ND"... li inserisco come standard... + //MagClass.magazzino.taBlocchi.Insert(memLayer.ML.StringSessionObj("CodMag_sel"), memLayer.ML.confReadString("CodCS"), "ND", "Descrizione n.d.", memLayer.ML.confReadInt("NumX"), memLayer.ML.confReadInt("NumY"), memLayer.ML.confReadInt("NumZ")); + // sollevo evento nuovo valore... + if (eh_nuovoValore != null) + { + eh_nuovoValore(this, new EventArgs()); + } + updateOdsDaFiltro(); + } + /// + /// aggiorno visualizzazione + /// + private void updateOdsDaFiltro() + { + grView.DataBind(); + } + /// + /// restituisce il codice blocco dato il suo idx + /// + /// + /// + public string CodBloccoDaIdx(object idx) + { + string answ = "nd"; + int _idxBlocco = Convert.ToInt32(idx); + try + { + answ = MagClass.magazzino.taBlocchi.getByIdx(_idxBlocco)[0].CodBlocco; + } + catch + { } + return answ; + } + /// + /// restituisce il codice tipoCella dato il suo idx + /// + /// + /// + public string TipoCellaDaIdx(object idx) + { + string answ = "nd"; + int _idxTipoCella = Convert.ToInt32(idx); + try + { + DS_Utility.v_selTipoCellaRow riga = utils.obj.taSelTipoCella.getByValue(_idxTipoCella)[0]; + answ = riga.label; + } + catch + { } + return answ; + } + /// + /// chiamata post page change gridview + /// + /// + /// + protected void grView_PageIndexChanged(object sender, EventArgs e) + { + // sistemazione dell'ods post evento cambio pagina + checkFixOds(); + } + /// + /// chiamata post sort gridview + /// + /// + /// + protected void grView_Sorted(object sender, EventArgs e) + { + // sistemazione dell'ods + checkFixOds(); + } + /// + /// entrando in editing fix ods + /// + /// + /// + protected void grView_RowEditing(object sender, GridViewEditEventArgs e) + { + // sistemazione dell'ods post evento sort + checkFixOds(); + } + /// + /// post edit fix ods + /// + /// + /// + protected void grView_RowUpdated(object sender, GridViewUpdatedEventArgs e) + { + // sistemazione dell'ods + checkFixOds(); + } + + #endregion + + + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_anagCelle.ascx.designer.cs b/GMW/WebUserControls/mod_anagCelle.ascx.designer.cs new file mode 100644 index 00000000..02a4a48d --- /dev/null +++ b/GMW/WebUserControls/mod_anagCelle.ascx.designer.cs @@ -0,0 +1,106 @@ +//------------------------------------------------------------------------------ +// +// 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_anagCelle { + + /// + /// mod_filtroMag control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_filtro mod_filtroMag; + + /// + /// odsFiltroMag control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsFiltroMag; + + /// + /// mod_filtroBlock control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_filtro mod_filtroBlock; + + /// + /// odsFiltroBlock control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsFiltroBlock; + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; + + /// + /// lblNumRec control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumRec; + + /// + /// lblWarning control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblWarning; + + /// + /// odsBlocco control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsBlocco; + + /// + /// odsTipoCella control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsTipoCella; + } +} diff --git a/GMW/WebUserControls/mod_anagMagazzini.ascx b/GMW/WebUserControls/mod_anagMagazzini.ascx new file mode 100644 index 00000000..e0c53e9f --- /dev/null +++ b/GMW/WebUserControls/mod_anagMagazzini.ascx @@ -0,0 +1,136 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_anagMagazzini.ascx.cs" + Inherits="GMW.WebUserControls.mod_anagMagazzini" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +   + \ No newline at end of file diff --git a/GMW/WebUserControls/mod_anagMagazzini.ascx.cs b/GMW/WebUserControls/mod_anagMagazzini.ascx.cs new file mode 100644 index 00000000..7a62d994 --- /dev/null +++ b/GMW/WebUserControls/mod_anagMagazzini.ascx.cs @@ -0,0 +1,368 @@ +using System; +using System.Data; +using System.Web.UI.WebControls; +using SteamWare; +using GMW_data; + +namespace GMW.WebUserControls +{ + public partial class mod_anagMagazzini : SteamWare.ApplicationUserControl + { + #region area da NON modificare + + #region area protected + + protected string _idxGridView; + protected string _idxGridViewExt; + protected string _tabCache; + protected bool _showNewBtn = false; + + /// + /// imposta errore non cancellabilità per record correlati + /// + protected void setNoDeletableErrorMessage() + { + // mostro avviso di non cancellabilità... + lblWarning.Text = traduci("notDeletable_hasChild"); + lblWarning.Visible = true; + grView.DataBind(); + } + /// + /// esegue cancellazioen record + /// + protected void doDelete() + { + // posso cancellare... + lblWarning.Visible = false; + ods.Delete(); + } + /// + /// Valida la cancellazione per i dati mostrati dal gridView + /// richiede sia preventivamentedichiarato _idxGridView + /// + /// + /// + protected virtual void validaDelete(object sender, ObjectDataSourceMethodEventArgs e) + { + int idx = Convert.ToInt32(e.InputParameters[string.Format("Original_{0}", _idxGridView)]); + if (objIsNotRelated(idx)) + { + // annullo cancellazione... + e.Cancel = true; + // seleziono record... metto in session valore idx e poi ridisegno... + SteamWare.memLayer.ML.setSessionVal(_idxGridView, idx); + setNoDeletableErrorMessage(); + } + else + { + doDelete(); + } + } + + /// + /// recupera i dati di un nuovo record contenuti nel footer di un gridView; + /// questi devono esses opportunamente nominati (es: txt{0}, dl{0}, ...) + /// + /// + /// + protected void recuperaFooter(object sender, ObjectDataSourceMethodEventArgs e) + { + //recupero la riga footer... + DataColumnCollection colonne = colonneObj(); + string nomeCol; + string tipoColonna = ""; + foreach (DataColumn colonna in colonne) + { + nomeCol = colonna.ColumnName; + // cerco un textbox o quello che sia... + if (grView.FooterRow.FindControl(string.Format("txt{0}", nomeCol)) != null) + { + tipoColonna = "textBox"; + } + else if (grView.FooterRow.FindControl(string.Format("dl{0}", nomeCol)) != null) + { + tipoColonna = "dropDownList"; + } + else if (grView.FooterRow.FindControl(string.Format("chk{0}", nomeCol)) != null) + { + tipoColonna = "checkBox"; + } + else if (grView.FooterRow.FindControl(string.Format("selAjax_{0}", nomeCol)) != null) + { + tipoColonna = "selAjax"; + } + // in base al tipo salvo negli inputparameters dell'ODS + switch (tipoColonna) + { + case "textBox": + e.InputParameters[nomeCol] = ((TextBox)grView.FooterRow.FindControl(string.Format("txt{0}", nomeCol))).Text; + break; + case "dropDownList": + e.InputParameters[nomeCol] = ((DropDownList)grView.FooterRow.FindControl(string.Format("dl{0}", nomeCol))).SelectedValue; + break; + case "checkBox": + e.InputParameters[nomeCol] = ((CheckBox)grView.FooterRow.FindControl(string.Format("chk{0}", nomeCol))).Checked; + break; + case "selAjax": + e.InputParameters[nomeCol] = ((mod_selettore_ajax)grView.FooterRow.FindControl(string.Format("selAjax_{0}", nomeCol))).valore; + break; + default: + break; + } + tipoColonna = ""; + } + } + /// + /// inserisce nuovo valore da footer + /// + /// + /// + protected void lblIns_click(object sender, EventArgs e) + { + // click su inserimento, chiamo il metodo insert dell'ObjectDataSource + ods.Insert(); + SteamWare.memLayer.ML.emptyCacheVal(_tabCache); + } + /// + /// annulla inserimento nuovo valore da footer + /// + /// + /// + protected void lblCanc_click(object sender, EventArgs e) + { + // annullo inserimento: nascondo footer, bind controlli... + grView.FooterRow.Visible = false; + } + + /// + /// aggiorna controlli datagrid e numero righe in pagina + /// + protected override void aggiornaControlliDataGL() + { + base.aggiornaControlliDataGL(); + grView.PageSize = _righeDataGridMed; + } + /// + /// traduce gli header delle colonne + /// + /// + /// + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); + lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); + } + else + { + lblNumRec.Text = ""; + } + } + /// + /// gestione evento richeista nuovo valore (mostra footer, ...) + /// + /// + /// + protected void btnNew_Click(object sender, EventArgs e) + { + // reset selezione... + resetSelezione(); + // mostro il footer oppure la riga dei dettagli x nuovo... + if (grView.FooterRow != null) + { + grView.FooterRow.Visible = true; + } + // sollevo evento nuovo valore... + if (eh_nuovoValore != null) + { + eh_nuovoValore(this, new EventArgs()); + } + } + /// + /// reset della selezione + /// + /// + /// + protected void btnReset_Click(object sender, EventArgs e) + { + resetSelezione(); + } + /// + /// gestione cambio selezione valore + /// + /// + /// + protected void grView_SelectedIndexChanged(object sender, EventArgs e) + { + // salvo in session il valore selezionato... + SteamWare.memLayer.ML.setSessionVal(string.Format("{0}_sel", _idxGridView), grView.SelectedValue, true); + // sollevo evento nuovo valore... + if (eh_selValore != null) + { + eh_selValore(this, new EventArgs()); + } + } + /// + /// resetta la selezione dei valori in caso di modifiche su altri controlli + /// + public void resetSelezione() + { + SteamWare.memLayer.ML.emptySessionVal(string.Format("{0}_sel", _idxGridView)); + grView.SelectedIndex = -1; + grView.DataBind(); + lblWarning.Visible = false; + if (eh_resetSelezione != null) + { + eh_resetSelezione(this, new EventArgs()); + } + } + + /// + /// collega i controlli + /// + protected override void bindControlli() + { + base.bindControlli(); + caricaTabelle(); + } + + #endregion + + #region gestione eventi + + public event EventHandler eh_resetSelezione; + public event EventHandler eh_nuovoValore; + public event EventHandler eh_selValore; + + #endregion + + #region public + + /// + /// definisce visibilità btnNew + /// + public bool showNewBtn + { + get + { + return _showNewBtn; + } + set + { + _showNewBtn = value; + } + } + /// + /// effettua update del modulo + /// + public void doUpdate() + { + resetSelezione(); + } + + + #endregion + + #endregion + + #region area codice variabile + + + /// + /// carico le tabelle + /// + private void caricaTabelle() + { + } + /// + /// verifica complessiva non esistenza record child + /// + /// + /// + protected bool objIsNotRelated(object idxObj) + { + bool answ = true; + int trovati = 0; + // controllo se ci siano tipo celle associate + trovati = MagClass.magazzino.taTipoCella.getByCodMag(memLayer.ML.StringSessionObj("CodCS"), idxObj.ToString()).Rows.Count; + // controllo se ci siano blocchi associati + trovati = trovati + MagClass.magazzino.taBlocchi.getByCodMag(memLayer.ML.StringSessionObj("CodCS"), idxObj.ToString()).Rows.Count; + // controllo se ci sono record correlati... + if (trovati > 0) + { + answ = false; + } + return answ; + } + /// + /// elenco colonne del datagrid + /// + /// + protected DataColumnCollection colonneObj() + { + DS_magazzino.AnagMagDataTable tabella = new DS_magazzino.AnagMagDataTable(); + DataColumnCollection colonne = tabella.Columns; + return colonne; + } + /// + /// inizializzazione valori di default + /// + /// + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + _idxGridView = "CodMag"; + //_tabCache = "tabMaker"; + } + /// + /// svuoto da cache post update + /// + /// + /// + protected void ods_Updated(object sender, ObjectDataSourceStatusEventArgs e) + { + //// svuoto da cache... + //SteamWare.memLayer.ML.emptyCacheVal("_tabAnagMaker"); + //SteamWare.memLayer.ML.emptyCacheVal("_tabSelMakers"); + } + /// + /// determina se sia eliminabile il record (=non usato) + /// + /// + /// + public bool delEnabled(object idxObj) + { + bool answ = isWritable(); + // solo se ha diritti scrittura controllo + if (answ) + { + int trovati = 0; + // controllo se ci siano tipo celle associate + trovati = MagClass.magazzino.taTipoCella.getByCodMag(memLayer.ML.StringSessionObj("CodCS"), idxObj.ToString()).Rows.Count; + // controllo se ci siano blocchi associati + trovati = trovati + MagClass.magazzino.taBlocchi.getByCodMag(memLayer.ML.StringSessionObj("CodCS"), idxObj.ToString()).Rows.Count; + // controllo se ci sono record correlati... + if (trovati > 0) + { + answ = false; + } + } + return answ; + } + + #endregion + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_anagMagazzini.ascx.designer.cs b/GMW/WebUserControls/mod_anagMagazzini.ascx.designer.cs new file mode 100644 index 00000000..bbaafc50 --- /dev/null +++ b/GMW/WebUserControls/mod_anagMagazzini.ascx.designer.cs @@ -0,0 +1,52 @@ +//------------------------------------------------------------------------------ +// +// 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_anagMagazzini { + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; + + /// + /// lblNumRec control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumRec; + + /// + /// lblWarning control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblWarning; + } +} diff --git a/GMW/WebUserControls/mod_anime.ascx b/GMW/WebUserControls/mod_anime.ascx new file mode 100644 index 00000000..2b02a037 --- /dev/null +++ b/GMW/WebUserControls/mod_anime.ascx @@ -0,0 +1,74 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_anime.ascx.cs" Inherits="GMW.WebUserControls.mod_anime" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %> + +
+
+
+
+ +
+
+ +
+
+ +
+ +
+
+
+ +
+
+ +   + +
+
+ +
+
+
+
+   +
+
+
+ +
+ +
+
+
+
+ +
+
+
+ +
+ + +
+
+ +
+ +
+
+ +
+
+
+
+
diff --git a/GMW/WebUserControls/mod_anime.ascx.cs b/GMW/WebUserControls/mod_anime.ascx.cs new file mode 100644 index 00000000..7cd21055 --- /dev/null +++ b/GMW/WebUserControls/mod_anime.ascx.cs @@ -0,0 +1,481 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Net; +using SteamWare; +using GMW_data; + +namespace GMW.WebUserControls +{ + public partial class mod_anime : System.Web.UI.UserControl + { + /// + /// caricamento pagina + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!Page.IsPostBack) + { + calcolaPostazione(); + traduciObj(); + } + doChecks(); + if (currParticolare != "") + { + lblParticolareAttivo.Text = string.Format("Particolare selezionato {0}", currParticolare); + // aggiungo descrizione del particolare + string descr = ""; + string disegno = ""; + try + { + DS_magazzino.AnagParticolariRow riga = MagClass.magazzino.taAnagPart.likeSearch(currParticolare, memLayer.ML.StringSessionObj("CodCS"))[0]; + descr = riga.DescParticolare; + disegno = string.Format("( {0} )", riga.DisegnoGrezzo); + } + catch + { } + lblDescrAttivo.Text = descr; + lblDisegno.Text = disegno; + } + else + { + lblParticolareAttivo.Text = "..."; + lblDescrAttivo.Text = ""; + lblDisegno.Text = ""; + } + } + /// + /// effettua controlli visibilità + /// + private void doChecks() + { + checkBarcode(); + checkStampa(); + } + /// + /// sistemo labels oggetti + /// + private void traduciObj() + { + // labels + lblPostazione.Text = string.Format("{2}: {0} ({1})", postazione_name, postazione_IP, traduci("postazione")); + lblPrinter.Text = string.Format("{1}: {0}", postazione_printer, traduci("stampante")); + lblQta.Text = traduci("lblQuantita"); + lblNote.Text = traduci("lblNote"); + lblCurrentPage.Text = traduci(PagCorrente); + //txtBox + txtQta.Text = memLayer.ML.confReadString("QtaImballoAnime"); + // buttons + btnStampa.Text = traduci("btnStampa"); + btnEmptyNote.Text = traduci("btnEmptyNote"); + } + /// + /// restituisce il nome della pagina corrente + /// + protected string PagCorrente + { + get + { + string answ = ""; + Uri MyUrl = Request.Url; + string delimStr = "/"; + char[] delimiter = delimStr.ToCharArray(); + string[] finalUrl = MyUrl.LocalPath.ToString().Split(delimiter); + int n = finalUrl.Length; + answ = finalUrl[n - 1].ToString(); + DataLayer_AnagGen.PermessiRow riga = (DataLayer_AnagGen.PermessiRow)user_std.UtSn.permessi.Select(string.Format("URL = '{0}'", answ))[0]; + answ = riga.NOME; + return answ; + } + } + /// + /// wrapper traduzione + /// + /// + /// + public string traduci(object lemma) + { + return user_std.UtSn.Traduci(lemma.ToString()); + } + /// + /// 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); + } + } + /// + /// indica il codice articolo correntemente selezionato + /// + protected string currParticolare + { + get + { + return memLayer.ML.StringSessionObj("currParticolare"); + } + set + { + memLayer.ML.setSessionVal("currParticolare", value, memLayer.ML.confReadBool("keepParticolareSel")); + } + } + /// + /// indica se i caratteri vadano forzati a maiuscoli + /// + public bool forceUppercase + { + get + { + return memLayer.ML.confReadBool("forceUppercase"); + } + } + /// + /// num pezzi dell'ultimo UDC del particolare generato + /// + public int pezziUdc + { + get + { + int answ = 0; + try + { + answ = (int)MagClass.magazzino.taCartellini.getLastByParticolare(memLayer.ML.StringSessionObj("CodCS"), currParticolare)[0].Qta; + } + catch + { } + return answ; + } + } + /// + /// decodifica il tipo barcode acquisito + /// + public tipoCodiceBarcode tipoBCode + { + get + { + tipoCodiceBarcode answ = tipoCodiceBarcode.ND; + int trovati = 0; + // controllo non si tratti di un comando... + string preCmd = memLayer.ML.confReadString("prefComandi"); + if (barcodeIn.StartsWith(preCmd)) + { + answ = tipoCodiceBarcode.Comando; + } + // controllo se sia un anima "A" + else if (barcodeIn.StartsWith("A")) // !!! CONTROLLARE!!! + { + answ = tipoCodiceBarcode.Particolare; + } + else + { + try + { + // cerco tra gitterbox (UDC)... + trovati = MagClass.magazzino.taCartellini.getByUdc(barcodeIn).Rows.Count; + if (trovati > 0) + { + answ = tipoCodiceBarcode.UDC; + } + } + catch + { + } + } + return answ; + } + } + /// + /// valore barcode + /// + public string barcodeIn + { + get + { + return txtBarcode.Text.Trim(); + } + set + { + txtBarcode.Text = value; + } + } + /// + /// qta pezzi x UDC + /// + public int qta + { + get + { + int qta = 0; + try + { + qta = Convert.ToInt32(txtQta.Text.Trim()); + } + catch + { } + return qta; + } + set + { + txtQta.Text = value.ToString(); + } + } + /// + /// controlla se ci sia un barcode + /// + private void checkBarcode() + { + if (barcodeIn != "") + { + lblMessaggi.Text = string.Format("Barcode digitato: {0}", barcodeIn); + switch (tipoBCode) + { + case tipoCodiceBarcode.Particolare: + // imposto il particolare corrente + currParticolare = barcodeIn; + // controllo esista il particolare scansionato + if (DataProxy.obj.taAnagParticolari.getByParticolare(currParticolare).Rows.Count == 0) + { + currParticolare = ""; + lblMessaggi.Text += " - codice particolare non valido / non trovato in RILPRO."; + pnlAll.CssClass = "stileComandoKo"; + } + else + { + lblMessaggi.Text += " - impostato particolare!"; + pnlAll.CssClass = "stileComandoOk"; + } + // default: qta a zero + decimal qtaPart = 0; + // leggo la qta dell'ultimo UDC del particolare, SE C'E', e la imposto... + try + { + qtaPart = MagClass.magazzino.taCartellini.getLastByParticolare(memLayer.ML.StringSessionObj("CodCS"), currParticolare)[0].Qta; + } + catch + { } + if (qtaPart > 0) + { + txtQta.Text = Convert.ToInt32(qtaPart).ToString(); + } + else // rimette default + { + txtQta.Text = memLayer.ML.confReadString("QtaImballoAnime"); + } + break; + case tipoCodiceBarcode.UDC: + // procedo solo se UDC esistente + if (MagClass.magazzino.checkUDC(barcodeIn)) + { + // recupero il particolare dai dati del cartellino preesistente + currParticolare = DataProxy.obj.taCartellini.stp_getByUdc(barcodeIn)[0].Particolare; + // controllo esista il particolare + if (DataProxy.obj.taAnagParticolari.getByParticolare(currParticolare).Rows.Count == 0) + { + currParticolare = ""; + lblMessaggi.Text += " - codice particolare da UDC non valido / non trovato in RILPRO."; + pnlAll.CssClass = "stileComandoKo"; + } + else + { + lblMessaggi.Text += " - impostato particolare!"; + pnlAll.CssClass = "stileComandoOk"; + } + } + + break; + default: + lblMessaggi.Text += " - codice non riconosciuto!"; + pnlAll.CssClass = "stileComandoND"; + break; + } + barcodeIn = ""; + } + else + { + lblMessaggi.Text = "...attesa barcode..."; + } + //grView.DataBind(); + txtBarcode.Focus(); + } + /// + /// controllo l'abilitazioen alla stampa UDC: + /// - particolare ok + /// - qta > 0 + /// - almeno 1 trattamento + /// altrimenti disabilito btn stampa + /// + private void checkStampa() + { + bool stampaOk = false; + if (currParticolare != "" && qta > 0) + { + stampaOk = true; + } + btnStampa.Enabled = stampaOk; + } + /// + /// genera i barcode di + /// - trattamenti + /// - nuovo x pezzi liquidi + /// e lancia la relativa stampa + /// + /// + /// + protected void btnStampa_Click(object sender, EventArgs e) + { + string newUdcChild = ""; + int qta = memLayer.ML.confReadInt("QtaImballoAnime"); + string noteTrim = txtNote.Text.Trim(); + try + { + qta = Convert.ToInt32(txtQta.Text); + } + catch + { } + // effettuo controlli che cod_soggetto e cod particolare siano disponibili... + string codSogg = ""; + string particolare = ""; + try + { + codSogg = MagClass.magazzino.CodSoggCurrUser; + particolare = currParticolare; + } + catch + { + } + if (codSogg != "" && particolare != "") + { + // genero cartellino liquidi + try + { + // creo nuovo UDC del trattamento liquidi + newUdcChild = MagClass.magazzino.creaUdc("AN", "", particolare, "", "", "", "", "", 0, memLayer.ML.confReadString("CodImballoAnime"), "U", codSogg, qta, 0, 0, DateTime.Now, 0, "Anim", memLayer.ML.confReadInt("IdxPosizioneAnime"), "IdxPosizioneAnime", "UDC_ANIMA", noteTrim, "", DateTime.Now.Year, Request.UserHostName); // !!! "AN" e "Anim" HARD CODED x indicare flusso ANIME + } + catch (Exception exc) + { + httpLog(string.Format("Errore creazione UDC: {0}", exc), tipoLog.EXCEPTION); + } + // se ho cart liquidi genero (se non ci sono) cart trattamenti + if (newUdcChild != "") + { + // ora stampo il nuovo cartellino!!! + MagClass.magazzino.stampaUdc(newUdcChild, postazione_printer, tipoCartellino.cartAnime, Request.UserHostName); + } + } + else + { + httpLog(string.Format("Errore persi utente/particolare, ricarico!"), tipoLog.ERROR); + Response.Redirect("~/login.aspx"); + } + } + /// + /// wrapper per log con salvataggio dell'IP del chiamante + /// + /// + /// + public bool httpLog(string _testoPre) + { + bool answ = false; + string postazione_IP = ""; + try + { + postazione_IP = string.Format(" | {0} | ", Request.UserHostName); + } + catch + { } + logger.lg.scriviLog(postazione_IP + _testoPre); + return answ; + } + /// + /// wrapper per log con salvataggio dell'IP del chiamante + /// + /// + /// + public bool httpLog(string testoLog, tipoLog tipo) + { + bool answ = false; + string postazione_IP = ""; + try + { + postazione_IP = string.Format(" | {0} | ", Request.UserHostName); + } + catch + { } + logger.lg.scriviLog(postazione_IP + testoLog, tipo); + return answ; + } + /// + /// svuoto le note + /// + /// + /// + protected void btnEmptyNote_Click(object sender, EventArgs e) + { + txtNote.Text = ""; + } + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_anime.ascx.designer.cs b/GMW/WebUserControls/mod_anime.ascx.designer.cs new file mode 100644 index 00000000..a96a5c11 --- /dev/null +++ b/GMW/WebUserControls/mod_anime.ascx.designer.cs @@ -0,0 +1,178 @@ +//------------------------------------------------------------------------------ +// +// 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_anime { + + /// + /// pnlAll control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlAll; + + /// + /// lblPostazione control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblPostazione; + + /// + /// lblPrinter control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblPrinter; + + /// + /// lblCurrentPage control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblCurrentPage; + + /// + /// hlMenu control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.HyperLink hlMenu; + + /// + /// lblParticolareAttivo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblParticolareAttivo; + + /// + /// lblDescrAttivo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblDescrAttivo; + + /// + /// lblDisegno control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblDisegno; + + /// + /// lblMessaggi control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblMessaggi; + + /// + /// lblQta control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblQta; + + /// + /// txtQta control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtQta; + + /// + /// btnStampa control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnStampa; + + /// + /// lblBarcode control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblBarcode; + + /// + /// txtBarcode control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtBarcode; + + /// + /// aceParticolare control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.AutoCompleteExtender aceParticolare; + + /// + /// lblNote control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNote; + + /// + /// txtNote control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtNote; + + /// + /// btnEmptyNote control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnEmptyNote; + } +} diff --git a/GMW/WebUserControls/mod_animeMult.ascx b/GMW/WebUserControls/mod_animeMult.ascx new file mode 100644 index 00000000..2dbee205 --- /dev/null +++ b/GMW/WebUserControls/mod_animeMult.ascx @@ -0,0 +1,85 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_animeMult.ascx.cs" + Inherits="GMW.WebUserControls.mod_animeMult" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %> + +
+
+
+
+ +
+
+ +
+
+ +
+ +
+
+
+ +
+
+ +   + +
+
+ +
+
+
+
+
+ +
+ +
+ +
+ +
+
+
+
+ +
+ +
+
+
+
+ +
+
+
+ +
+ + +
+
+ +
+ +
+
+ +
+
+
+
+
diff --git a/GMW/WebUserControls/mod_animeMult.ascx.cs b/GMW/WebUserControls/mod_animeMult.ascx.cs new file mode 100644 index 00000000..8e4bc49f --- /dev/null +++ b/GMW/WebUserControls/mod_animeMult.ascx.cs @@ -0,0 +1,553 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Net; +using SteamWare; +using GMW_data; + +namespace GMW.WebUserControls +{ + public partial class mod_animeMult : System.Web.UI.UserControl + { + /// + /// caricamento pagina + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!Page.IsPostBack) + { + calcolaPostazione(); + traduciObj(); + } + doChecks(); + } + /// + /// controlla particolare selezionato + /// + private void checkParticolare() + { + if (currParticolare != "") + { + lblParticolareAttivo.Text = string.Format("Particolare selezionato {0}", currParticolare); + // aggiungo descrizione del particolare + string descr = ""; + string disegno = ""; + try + { + DS_magazzino.AnagParticolariRow riga = MagClass.magazzino.taAnagPart.likeSearch(currParticolare, memLayer.ML.StringSessionObj("CodCS"))[0]; + descr = riga.DescParticolare; + disegno = string.Format("( {0} )", riga.DisegnoGrezzo); + } + catch + { } + lblDescrAttivo.Text = descr; + lblDisegno.Text = disegno; + } + else + { + lblParticolareAttivo.Text = "..."; + lblDescrAttivo.Text = ""; + lblDisegno.Text = ""; + } + } + /// + /// effettua controlli visibilità + /// + private void doChecks() + { + checkBarcode(); + checkStampa(); + checkParticolare(); + } + /// + /// sistemo labels oggetti + /// + private void traduciObj() + { + // labels + lblPostazione.Text = string.Format("{2}: {0} ({1})", postazione_name, postazione_IP, traduci("postazione")); + lblPrinter.Text = string.Format("{1}: {0}", postazione_printer, traduci("stampante")); + lblQtaUDC.Text = traduci("lblQtaUDC"); + lblNumUDC.Text = traduci("lblNumUDC"); + lblQta.Text = traduci("lblQuantitaTotale"); + lblNote.Text = traduci("lblNote"); + lblCurrentPage.Text = traduci(PagCorrente); + //txtBox + txtQta.Text = memLayer.ML.confReadString("QtaImballoAnime"); + // buttons + btnStampa.Text = traduci("btnStampa"); + btnEmptyNote.Text = traduci("btnEmptyNote"); + } + /// + /// restituisce il nome della pagina corrente + /// + protected string PagCorrente + { + get + { + string answ = ""; + Uri MyUrl = Request.Url; + string delimStr = "/"; + char[] delimiter = delimStr.ToCharArray(); + string[] finalUrl = MyUrl.LocalPath.ToString().Split(delimiter); + int n = finalUrl.Length; + answ = finalUrl[n - 1].ToString(); + DataLayer_AnagGen.PermessiRow riga = (DataLayer_AnagGen.PermessiRow)user_std.UtSn.permessi.Select(string.Format("URL = '{0}'", answ))[0]; + answ = riga.NOME; + return answ; + } + } + /// + /// wrapper traduzione + /// + /// + /// + public string traduci(object lemma) + { + return user_std.UtSn.Traduci(lemma.ToString()); + } + /// + /// 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); + } + } + /// + /// indica il codice articolo correntemente selezionato + /// + protected string currParticolare + { + get + { + return memLayer.ML.StringSessionObj("currParticolare"); + } + set + { + memLayer.ML.setSessionVal("currParticolare", value, memLayer.ML.confReadBool("keepParticolareSel")); + } + } + /// + /// indica se i caratteri vadano forzati a maiuscoli + /// + public bool forceUppercase + { + get + { + return memLayer.ML.confReadBool("forceUppercase"); + } + } + /// + /// num pezzi dell'ultimo UDC del particolare generato + /// + public int pezziUdc + { + get + { + int answ = 0; + try + { + answ = (int)MagClass.magazzino.taCartellini.getLastByParticolare(memLayer.ML.StringSessionObj("CodCS"), currParticolare)[0].Qta; + } + catch + { } + return answ; + } + } + /// + /// decodifica il tipo barcode acquisito + /// + public tipoCodiceBarcode tipoBCode + { + get + { + tipoCodiceBarcode answ = tipoCodiceBarcode.ND; + int trovati = 0; + // controllo non si tratti di un comando... + string preCmd = memLayer.ML.confReadString("prefComandi"); + if (barcodeIn.StartsWith(preCmd)) + { + answ = tipoCodiceBarcode.Comando; + } + // controllo se sia un anima "A" + else if (barcodeIn.StartsWith("A")) // !!! CONTROLLARE!!! + { + answ = tipoCodiceBarcode.Particolare; + } + else + { + try + { + // cerco tra gitterbox (UDC)... + trovati = MagClass.magazzino.taCartellini.getByUdc(barcodeIn).Rows.Count; + if (trovati > 0) + { + answ = tipoCodiceBarcode.UDC; + } + } + catch + { + } + } + return answ; + } + } + /// + /// valore barcode + /// + public string barcodeIn + { + get + { + return txtBarcode.Text.Trim(); + } + set + { + txtBarcode.Text = value; + } + } + /// + /// qta pezzi TOTALE + /// + public int qta + { + get + { + int qta = 0; + try + { + qta = Convert.ToInt32(txtQta.Text.Trim()); + } + catch + { } + return qta; + } + set + { + txtQta.Text = value.ToString(); + } + } + /// + /// qta pezzi x UDC + /// + public int qtaUDC + { + get + { + int qtaUDC = 0; + try + { + qtaUDC = Convert.ToInt32(txtQtaUDC.Text.Trim()); + } + catch + { } + return qtaUDC; + } + set + { + txtQtaUDC.Text = value.ToString(); + } + } + /// + /// num UDC + /// + public int numUDC + { + get + { + int numUDC = 0; + try + { + numUDC = Convert.ToInt32(txtNumUDC.Text.Trim()); + } + catch + { } + return numUDC; + } + set + { + txtNumUDC.Text = value.ToString(); + } + } + /// + /// controlla se ci sia un barcode + /// + private void checkBarcode() + { + if (barcodeIn != "") + { + lblMessaggi.Text = string.Format("Barcode digitato: {0}", barcodeIn); + switch (tipoBCode) + { + case tipoCodiceBarcode.Particolare: + // imposto il particolare corrente + currParticolare = barcodeIn; + // controllo esista il particolare scansionato + if (DataProxy.obj.taAnagParticolari.getByParticolare(currParticolare).Rows.Count == 0) + { + currParticolare = ""; + lblMessaggi.Text += " - codice particolare non valido / non trovato in RILPRO."; + pnlAll.CssClass = "stileComandoKo"; + } + else + { + lblMessaggi.Text += " - impostato particolare!"; + pnlAll.CssClass = "stileComandoOk"; + } + break; + case tipoCodiceBarcode.UDC: + // procedo solo se UDC esistente + if (MagClass.magazzino.checkUDC(barcodeIn)) + { + // recupero il particolare dai dati del cartellino preesistente + currParticolare = DataProxy.obj.taCartellini.stp_getByUdc(barcodeIn)[0].Particolare; + // controllo esista il particolare + if (DataProxy.obj.taAnagParticolari.getByParticolare(currParticolare).Rows.Count == 0) + { + currParticolare = ""; + lblMessaggi.Text += " - codice particolare da UDC non valido / non trovato in RILPRO."; + pnlAll.CssClass = "stileComandoKo"; + } + else + { + lblMessaggi.Text += " - impostato particolare!"; + pnlAll.CssClass = "stileComandoOk"; + } + } + + break; + default: + lblMessaggi.Text += " - codice non riconosciuto!"; + pnlAll.CssClass = "stileComandoND"; + break; + } + barcodeIn = ""; + } + else + { + lblMessaggi.Text = "...attesa barcode..."; + } + //grView.DataBind(); + txtBarcode.Focus(); + } + /// + /// controllo l'abilitazioen alla stampa UDC: + /// - particolare ok + /// - qta > 0 + /// - almeno 1 trattamento + /// altrimenti disabilito btn stampa + /// + private void checkStampa() + { + bool stampaOk = false; + //controllo siano inseriti valori qta + if (qta > 0 && qtaUDC > 0 && numUDC > 0) + { + // controllo ci siano particolare e qta tornino (numUdc x qtaUdc = qtaTOT) + if (currParticolare != "" && ((numUDC * qtaUDC) == qta)) + { + stampaOk = true; + } + } + btnStampa.Enabled = stampaOk; + } + /// + /// genera i barcode di + /// - trattamenti + /// - nuovo x pezzi liquidi + /// e lancia la relativa stampa + /// + /// + /// + protected void btnStampa_Click(object sender, EventArgs e) + { + string newUdcChild = ""; + int qta = memLayer.ML.confReadInt("QtaImballoAnime"); + string noteTrim = txtNote.Text.Trim(); + try + { + qta = Convert.ToInt32(txtQtaUDC.Text); + } + catch + { } + // effettuo controlli che cod_soggetto e cod particolare siano disponibili... + string codSogg = ""; + string particolare = ""; + try + { + codSogg = MagClass.magazzino.CodSoggCurrUser; + particolare = currParticolare; + } + catch + { + } + if (codSogg != "" && particolare != "") + { + for (int i = 0; i < numUDC; i++) + { + // genero cartellino liquidi + try + { + // creo nuovo UDC del trattamento liquidi + newUdcChild = MagClass.magazzino.creaUdc("AN", "", currParticolare, "", "", "", "", "", 0, memLayer.ML.confReadString("CodImballoAnime"), "U", MagClass.magazzino.CodSoggCurrUser, qta, 0, 0, DateTime.Now, 0, "AnimExt", memLayer.ML.confReadInt("IdxPosizioneAnimeExt"), "IdxPosizioneAnimeExt", "UDC_ANIMA", noteTrim, "", DateTime.Now.Year, Request.UserHostName); // !!! "AN" e "AnimExt" HARD CODED x indicare flusso ANIME + } + catch (Exception exc) + { + httpLog(string.Format("Errore creazione UDC: {0}", exc), tipoLog.EXCEPTION); + } + // se ho cart liquidi genero (se non ci sono) cart trattamenti + if (newUdcChild != "") + { + /*************************************************************************************** + * dopo che l'ho creato lo sposto da post anime ext a post anime int (NO UPDATE AS400...) + * IdxPosizioneAnimeExt --> IdxPosizioneAnime + * !!! DEVO CALCOLARE LA CELLA !!! parto dal blocco calcolato da tab transizioni + ***************************************************************************************/ + int idxBloccoTo = StateMachine.SM.getIdxBloccoTo("UDC_ANIMA", memLayer.ML.confReadInt("IdxPosizioneAnimeExt")); + int idxCellaTo = 0; + try + { + idxCellaTo = MagClass.magazzino.taCelle.getByIdxBlocco(idxBloccoTo)[0].IdxCella; + } + catch + { } + if (idxCellaTo != 0) + { + MagClass.magazzino.spostaUDC(memLayer.ML.StringSessionObj("CodCS"), newUdcChild, idxCellaTo, memLayer.ML.confReadBool("spostaUdcResettaLdp"), Request.UserHostName); + } + // ora stampo il nuovo cartellino!!! + MagClass.magazzino.stampaUdc(newUdcChild, postazione_printer, tipoCartellino.cartAnime, Request.UserHostName); + } + } + // resetto + doResetData(); + } + else + { + httpLog(string.Format("ANIME MULTIPLE, Errore persi utente/particolare, ricarico!"), tipoLog.ERROR); + Response.Redirect("~/login.aspx"); + } + } + /// + /// wrapper per log con salvataggio dell'IP del chiamante + /// + /// + /// + public bool httpLog(string _testoPre) + { + bool answ = false; + string postazione_IP = ""; + try + { + postazione_IP = string.Format(" | {0} | ", Request.UserHostName); + } + catch + { } + logger.lg.scriviLog(postazione_IP + _testoPre); + return answ; + } + /// + /// wrapper per log con salvataggio dell'IP del chiamante + /// + /// + /// + public bool httpLog(string testoLog, tipoLog tipo) + { + bool answ = false; + string postazione_IP = ""; + try + { + postazione_IP = string.Format(" | {0} | ", Request.UserHostName); + } + catch + { } + logger.lg.scriviLog(postazione_IP + testoLog, tipo); + return answ; + } + /// + /// effettua reset dati + /// + private void doResetData() + { + // resetto i dati QtaTot e particolare... + qta = 0; + currParticolare = ""; + txtQta.Text = ""; + doChecks(); + } + /// + /// svuoto le note + /// + /// + /// + protected void btnEmptyNote_Click(object sender, EventArgs e) + { + txtNote.Text = ""; + } + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_animeMult.ascx.designer.cs b/GMW/WebUserControls/mod_animeMult.ascx.designer.cs new file mode 100644 index 00000000..f533266f --- /dev/null +++ b/GMW/WebUserControls/mod_animeMult.ascx.designer.cs @@ -0,0 +1,214 @@ +//------------------------------------------------------------------------------ +// +// 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_animeMult { + + /// + /// pnlAll control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlAll; + + /// + /// lblPostazione control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblPostazione; + + /// + /// lblPrinter control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblPrinter; + + /// + /// lblCurrentPage control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblCurrentPage; + + /// + /// hlMenu control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.HyperLink hlMenu; + + /// + /// lblParticolareAttivo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblParticolareAttivo; + + /// + /// lblDescrAttivo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblDescrAttivo; + + /// + /// lblDisegno control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblDisegno; + + /// + /// lblMessaggi control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblMessaggi; + + /// + /// lblQtaUDC control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblQtaUDC; + + /// + /// txtQtaUDC control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtQtaUDC; + + /// + /// lblNumUDC control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumUDC; + + /// + /// txtNumUDC control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtNumUDC; + + /// + /// lblQta control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblQta; + + /// + /// txtQta control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtQta; + + /// + /// btnStampa control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnStampa; + + /// + /// lblBarcode control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblBarcode; + + /// + /// txtBarcode control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtBarcode; + + /// + /// aceParticolare control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.AutoCompleteExtender aceParticolare; + + /// + /// lblNote control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNote; + + /// + /// txtNote control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtNote; + + /// + /// btnEmptyNote control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnEmptyNote; + } +} diff --git a/GMW/WebUserControls/mod_barPlot.ascx b/GMW/WebUserControls/mod_barPlot.ascx new file mode 100644 index 00000000..f93de4d4 --- /dev/null +++ b/GMW/WebUserControls/mod_barPlot.ascx @@ -0,0 +1,3 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_barPlot.ascx.cs" Inherits="GMW.WebUserControls.mod_barPlot" %> + + \ No newline at end of file diff --git a/GMW/WebUserControls/mod_barPlot.ascx.cs b/GMW/WebUserControls/mod_barPlot.ascx.cs new file mode 100644 index 00000000..93d61ecc --- /dev/null +++ b/GMW/WebUserControls/mod_barPlot.ascx.cs @@ -0,0 +1,64 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace GMW.WebUserControls +{ + public partial class mod_barPlot : System.Web.UI.UserControl + { + protected GMW_data.Type.DatoBarPlot[] _elencoValori; + public int resolution { get; set; } + + protected void Page_Load(object sender, EventArgs e) + { + //doPlot(); + } + + public GMW_data.Type.DatoBarPlot[] elencoValori + { + get + { + return _elencoValori; + } + set + { + _elencoValori = value; + doPlot(); + } + } + /// + /// esegue plotting, creando tante celle quanti i valori dell'array passato + /// + private void doPlot() + { + try + { + TableRow riga = new TableRow(); + TableCell cell; + for (int i = 0; i < _elencoValori.Length; i++) + { + // solo se >0 aggiungo cella... + if (_elencoValori[i].valore > 0) + { + cell = new TableCell(); + cell.CssClass = _elencoValori[i].css; + // se il valore è sotto 10px NON metto il testo... + if ((_elencoValori[i].valore / resolution) > 20) + { + cell.Text = _elencoValori[i].label; + } + cell.Width = Convert.ToInt32(Math.Ceiling((double)_elencoValori[i].valore / resolution)); + cell.ToolTip = _elencoValori[i].tooltip; + riga.Cells.Add(cell); + } + } + tblData.Rows.Add(riga); + } + catch + { } + } + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_barPlot.ascx.designer.cs b/GMW/WebUserControls/mod_barPlot.ascx.designer.cs new file mode 100644 index 00000000..c2c7c2b8 --- /dev/null +++ b/GMW/WebUserControls/mod_barPlot.ascx.designer.cs @@ -0,0 +1,25 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW.WebUserControls { + + + public partial class mod_barPlot { + + /// + /// tblData control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Table tblData; + } +} diff --git a/GMW/WebUserControls/mod_bolle4odette.ascx b/GMW/WebUserControls/mod_bolle4odette.ascx new file mode 100644 index 00000000..551edc99 --- /dev/null +++ b/GMW/WebUserControls/mod_bolle4odette.ascx @@ -0,0 +1,45 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_bolle4odette.ascx.cs" + Inherits="GMW.WebUserControls.mod_bolle4odette" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %> +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + + + +
+
+ + + + + +
+
+ +
+
+ +
+
diff --git a/GMW/WebUserControls/mod_bolle4odette.ascx.cs b/GMW/WebUserControls/mod_bolle4odette.ascx.cs new file mode 100644 index 00000000..42179110 --- /dev/null +++ b/GMW/WebUserControls/mod_bolle4odette.ascx.cs @@ -0,0 +1,135 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; +using GMW_data; + +namespace GMW.WebUserControls +{ + public partial class mod_bolle4odette : System.Web.UI.UserControl + { + protected void Page_Load(object sender, EventArgs e) + { + btnDoCreate.Text = "Associa bolla - etichette"; + lblDataBolla.Text = "Data Bolla"; + lblNumBolla.Text = "Num Bolla"; + lblWarning.Text = ""; + txtRaggMag.Text = memLayer.ML.StringSessionObj("CodCS"); + } + + /// + /// evento nuovo valore + /// + public event EventHandler eh_nuovoValore; + /// + /// crea le etichette odette controllando dati bolla ed associando parametri a UDC + /// + /// + /// + protected void btnDoCreate_Click(object sender, EventArgs e) + { + // cerco bolla sennò mostro errore... + string CodLista = memLayer.ML.StringSessionObj("CodListaOd_sel"); + decimal NumBolla = Convert.ToDecimal(txtNumBolla.Text.Trim()); + decimal DatBolla = Convert.ToDecimal(txtDataBolla.Text.Trim()); + string RaggMag = txtRaggMag.Text.Trim(); + string GrpBolla = txtGrBolle.Text.Trim(); + string particolare = ""; + bool tuttoOk = false; + try + { + particolare = MagClass.magazzino.taElencoListePrelievo.getByCodLista(CodLista)[0].Particolare; + } + catch + { + httpLog(string.Format("Particolare non trovato per codLista {0}", CodLista), tipoLog.ERROR); + } + if (Odette.mgr.checkCodBolla(RaggMag, GrpBolla, NumBolla, DatBolla, particolare)) + { + // chiamo creazione etichette! + tuttoOk = Odette.mgr.creaOdetteByBollaPackList(CodLista, RaggMag, GrpBolla, NumBolla, DatBolla, particolare, ddlLingua.SelectedValue); + if (!tuttoOk) + { + lblWarning.Visible = true; + lblWarning.Text = memLayer.ML.StringSessionObj("errCreazOdette"); + } + else + { + lblWarning.Visible = false; + lblWarning.Text = ""; + // sollevo evento new! + if (eh_nuovoValore != null) + { + eh_nuovoValore(this, new EventArgs()); + } + } + } + else + { + lblWarning.Visible = true; + if (Odette.mgr.taOdette.getByBolla(RaggMag, GrpBolla, NumBolla, DatBolla, particolare).Rows.Count > 0) + { + lblWarning.Text = traduci("BollaGiaAssociata"); + } + else if (Odette.mgr.taBORI.getByKeyPart(RaggMag, GrpBolla, NumBolla, DatBolla).Rows.Count > 0) + { + lblWarning.Text = traduci("MismatchParticolare"); + } + else + { + lblWarning.Text = traduci("BollaNonTrovata"); + } + } + } + /// + /// wrapper per log con salvataggio dell'IP del chiamante + /// + /// + /// + public bool httpLog(string _testoPre) + { + bool answ = false; + string postazione_IP = ""; + try + { + postazione_IP = string.Format(" | {0} | ", Request.UserHostName); + } + catch + { } + logger.lg.scriviLog(postazione_IP + _testoPre); + return answ; + } + /// + /// wrapper per log con salvataggio dell'IP del chiamante + /// + /// + /// + public bool httpLog(string testoLog, tipoLog tipo) + { + bool answ = false; + string postazione_IP = ""; + try + { + postazione_IP = string.Format(" | {0} | ", Request.UserHostName); + } + catch + { } + logger.lg.scriviLog(postazione_IP + testoLog, tipo); + return answ; + } + /// + /// wrapper traduzione + /// + /// + /// + public string traduci(object lemma) + { + return user_std.UtSn.Traduci(lemma.ToString()); + } + + + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_bolle4odette.ascx.designer.cs b/GMW/WebUserControls/mod_bolle4odette.ascx.designer.cs new file mode 100644 index 00000000..945f67b2 --- /dev/null +++ b/GMW/WebUserControls/mod_bolle4odette.ascx.designer.cs @@ -0,0 +1,169 @@ +//------------------------------------------------------------------------------ +// +// 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_bolle4odette { + + /// + /// lblRaggMag control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblRaggMag; + + /// + /// txtRaggMag control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtRaggMag; + + /// + /// RequiredFieldValidator2 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.RequiredFieldValidator RequiredFieldValidator2; + + /// + /// lblGrBolle control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblGrBolle; + + /// + /// txtGrBolle control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtGrBolle; + + /// + /// RequiredFieldValidator3 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.RequiredFieldValidator RequiredFieldValidator3; + + /// + /// lblNumBolla control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumBolla; + + /// + /// txtNumBolla control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtNumBolla; + + /// + /// rfvNumBolla control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.RequiredFieldValidator rfvNumBolla; + + /// + /// lblDataBolla control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblDataBolla; + + /// + /// txtDataBolla control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtDataBolla; + + /// + /// CalendarExtender2 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.CalendarExtender CalendarExtender2; + + /// + /// RequiredFieldValidator1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.RequiredFieldValidator RequiredFieldValidator1; + + /// + /// lblLingua control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblLingua; + + /// + /// ddlLingua control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.DropDownList ddlLingua; + + /// + /// btnDoCreate control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnDoCreate; + + /// + /// lblWarning control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblWarning; + } +} diff --git a/GMW/WebUserControls/mod_chLang.ascx b/GMW/WebUserControls/mod_chLang.ascx new file mode 100644 index 00000000..b659973c --- /dev/null +++ b/GMW/WebUserControls/mod_chLang.ascx @@ -0,0 +1,28 @@ +<%@ Control Language="C#" AutoEventWireup="true" Inherits="mod_chLang" Codebehind="mod_chLang.ascx.cs" %> + + + + + + + + +
+ +
+ + + + + + <%# DataBinder.Eval(Container, "DataItem.Lingua") %> + + + <%# DataBinder.Eval(Container, "DataItem.Lingua") %> + + + + + +
diff --git a/GMW/WebUserControls/mod_chLang.ascx.cs b/GMW/WebUserControls/mod_chLang.ascx.cs new file mode 100644 index 00000000..2ac1f49c --- /dev/null +++ b/GMW/WebUserControls/mod_chLang.ascx.cs @@ -0,0 +1,34 @@ +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; +using SteamWare; + +public partial class mod_chLang : ApplicationUserControl +{ + protected void dataListLingue_SelectedIndexChanged(object sender, EventArgs e) + { + // impongo ad oggetto user la lingua selezionata... + user_std.UtSn.lingua = dataListLingue.SelectedValue.ToString(); + // salvo richiesta udpate in sessione... + SteamWare.memLayer.ML.setSessionVal("doUpdateNow","true"); + user_std.UtSn.ricaricaMappaSito(); + Response.Redirect(_paginaCorrente); + } + + protected override void traduciObj() + { + lblScegli.Text = traduci("scegliLingua"); + } + + public string formattaLingua(object breve, object lungo) + { + return string.Format("{0} - {1}", breve, lungo); + } +} diff --git a/GMW/WebUserControls/mod_chLang.ascx.designer.cs b/GMW/WebUserControls/mod_chLang.ascx.designer.cs new file mode 100644 index 00000000..784d89af --- /dev/null +++ b/GMW/WebUserControls/mod_chLang.ascx.designer.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_chLang { + + /// + /// table1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlTable table1; + + /// + /// lblScegli control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblScegli; + + /// + /// dataListLingue control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.DataList dataListLingue; + + /// + /// ods_lingueApp control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods_lingueApp; +} diff --git a/GMW/WebUserControls/mod_confMag.ascx b/GMW/WebUserControls/mod_confMag.ascx new file mode 100644 index 00000000..46ccf69e --- /dev/null +++ b/GMW/WebUserControls/mod_confMag.ascx @@ -0,0 +1,98 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_confMag.ascx.cs" + Inherits="GMW.WebUserControls.mod_confMag" %> + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+
+ + + + + +
+ + + + + +
+ + + + + +
+ + + + + +
+
+ +
+ + + + + + + + + + + + + + + + +
+   + + + + +
+ + + + + + + + + +
+ + + + + + + + + +
diff --git a/GMW/WebUserControls/mod_confMag.ascx.cs b/GMW/WebUserControls/mod_confMag.ascx.cs new file mode 100644 index 00000000..94507064 --- /dev/null +++ b/GMW/WebUserControls/mod_confMag.ascx.cs @@ -0,0 +1,112 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; +using GMW_data; + +namespace GMW.WebUserControls +{ + public partial class mod_confMag : SteamWare.ApplicationUserControl + { + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + } + + public void doUpdate() + { + bindControlli(); + } + + protected override void bindControlli() + { + fixLabels(); + fixValues(); + } + + private void fixValues() + { + lblTotaleImpieghi.Text = traduci("lblTotaleImpieghi"); + lblTotCelleDaTipo.Text = traduci("lblTotCelleDaTipo"); + lblTotCapacita.Text = traduci("lblTotCapacita"); + lblTotCelleCreate.Text = traduci("lblTotCelleCreate"); + lblTotCelleDaBlocchi.Text = traduci("lblTotCelleDaBlocchi"); + lblDettImpieghiBlocchi.Text = traduci("lblDettImpieghiBlocchi"); + lblAttive.Text = traduci("lblAttive"); + lblInattive.Text = traduci("lblInattive"); + lblAss.Text = traduci("lblAss"); + lblNonAss.Text = traduci("lblNonAss"); + } + + private void fixLabels() + { + showImpieghiTotali(); + showImpieghiBlocco(); + } + + private void showImpieghiBlocco() + { + // calcolo valori: attive assegnate + int? celleAttiveAss = 0; + utils.obj.taSTP.stp_ContaCelleBlocco(memLayer.ML.confReadString("CodCS"), memLayer.ML.StringSessionObj("CodMag_sel"), true, true, ref celleAttiveAss); + if (!celleAttiveAss.HasValue) celleAttiveAss = 0; + // calcolo valori: attive NON assegnate + int? celleAttiveNonAss = 0; + utils.obj.taSTP.stp_ContaCelleBlocco(memLayer.ML.confReadString("CodCS"), memLayer.ML.StringSessionObj("CodMag_sel"), true, false, ref celleAttiveNonAss); + if (!celleAttiveNonAss.HasValue) celleAttiveNonAss = 0; + + // calcolo valori: NON attive assegnate + int? celleNonAttiveAss = 0; + utils.obj.taSTP.stp_ContaCelleBlocco(memLayer.ML.confReadString("CodCS"), memLayer.ML.StringSessionObj("CodMag_sel"), false, true, ref celleNonAttiveAss); + if (!celleNonAttiveAss.HasValue) celleNonAttiveAss = 0; + // calcolo valori: NON attive assegnate + int? celleNonAttiveNonAss = 0; + utils.obj.taSTP.stp_ContaCelleBlocco(memLayer.ML.confReadString("CodCS"), memLayer.ML.StringSessionObj("CodMag_sel"), false, false, ref celleNonAttiveNonAss); + if (!celleNonAttiveNonAss.HasValue) celleNonAttiveNonAss = 0; + // altri valori + lblAssAtt.Text = celleAttiveAss.ToString(); + lblAssInatt.Text = celleNonAttiveAss.ToString(); + lblNonAssAtt.Text = celleAttiveNonAss.ToString(); + lblNonAssInatt.Text = celleNonAttiveNonAss.ToString(); + } + + private void showImpieghiTotali() + { + // calcolo valori + int? totCapa = 0; + utils.obj.taSTP.stp_ContaCelleCapa(memLayer.ML.confReadString("CodCS"), memLayer.ML.StringSessionObj("CodMag_sel"), ref totCapa); + if (!totCapa.HasValue) totCapa = 0; + int? totCelleTipo = 0; + utils.obj.taSTP.stp_ContaCelle4Tipo(memLayer.ML.confReadString("CodCS"), memLayer.ML.StringSessionObj("CodMag_sel"), ref totCelleTipo); + if (!totCelleTipo.HasValue) totCelleTipo = 0; + int? totCelleBlocchi = 0; + utils.obj.taSTP.stp_ContaCelle4Blocchi(memLayer.ML.confReadString("CodCS"), memLayer.ML.StringSessionObj("CodMag_sel"), ref totCelleBlocchi); + if (!totCelleBlocchi.HasValue) totCelleBlocchi = 0; + int? totCelleCreate = 0; + utils.obj.taSTP.stp_ContaCelleCreate(memLayer.ML.confReadString("CodCS"), memLayer.ML.StringSessionObj("CodMag_sel"), ref totCelleCreate); + if (!totCelleCreate.HasValue) totCelleCreate = 0; + // controllo cosa inserire nel check... + Style ctrlStyle = new Style(); + if ((totCelleBlocchi == totCelleTipo) && (totCelleTipo == totCelleCreate)) + { + ctrlStyle.CssClass = "valOk"; + } + else + { + ctrlStyle.CssClass = "valKo"; + } + // applico style + lblNumCelleDaTipo.ApplyStyle(ctrlStyle); + lblNumCelleDaBlocchi.ApplyStyle(ctrlStyle); + lblNumCelleCreate.ApplyStyle(ctrlStyle); + // inserisco valori + lblNumCapacita.Text = totCapa.ToString(); + lblNumCelleDaTipo.Text = totCelleTipo.ToString(); + lblNumCelleDaBlocchi.Text = totCelleBlocchi.ToString(); + lblNumCelleCreate.Text = totCelleCreate.ToString(); + } + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_confMag.ascx.designer.cs b/GMW/WebUserControls/mod_confMag.ascx.designer.cs new file mode 100644 index 00000000..1147f0c7 --- /dev/null +++ b/GMW/WebUserControls/mod_confMag.ascx.designer.cs @@ -0,0 +1,178 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW.WebUserControls { + + + public partial class mod_confMag { + + /// + /// lblTotaleImpieghi control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblTotaleImpieghi; + + /// + /// lblTotCapacita control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblTotCapacita; + + /// + /// lblNumCapacita control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumCapacita; + + /// + /// lblTotCelleDaTipo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblTotCelleDaTipo; + + /// + /// lblNumCelleDaTipo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumCelleDaTipo; + + /// + /// lblTotCelleDaBlocchi control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblTotCelleDaBlocchi; + + /// + /// lblNumCelleDaBlocchi control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumCelleDaBlocchi; + + /// + /// lblTotCelleCreate control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblTotCelleCreate; + + /// + /// lblNumCelleCreate control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumCelleCreate; + + /// + /// lblDettImpieghiBlocchi control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblDettImpieghiBlocchi; + + /// + /// lblAttive control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblAttive; + + /// + /// lblInattive control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblInattive; + + /// + /// lblAss control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblAss; + + /// + /// lblAssAtt control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblAssAtt; + + /// + /// lblAssInatt control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblAssInatt; + + /// + /// lblNonAss control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNonAss; + + /// + /// lblNonAssAtt control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNonAssAtt; + + /// + /// lblNonAssInatt control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNonAssInatt; + } +} diff --git a/GMW/WebUserControls/mod_delibera.ascx b/GMW/WebUserControls/mod_delibera.ascx new file mode 100644 index 00000000..bab2f394 --- /dev/null +++ b/GMW/WebUserControls/mod_delibera.ascx @@ -0,0 +1,131 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_delibera.ascx.cs" + Inherits="GMW.WebUserControls.mod_delibera" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> +<%@ Register Src="mod_filtro.ascx" TagName="mod_filtro" TagPrefix="uc1" %> +<%@ Register Src="mod_periodoAnalisi.ascx" TagName="mod_periodoAnalisi" TagPrefix="uc2" %> +<%@ Register Src="mod_detailUDC.ascx" TagName="mod_detailUDC" TagPrefix="uc3" %> +
+ + + + + +
+ + + + + +
+
+
+ + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +    + + + +
+ + + +
+
diff --git a/GMW/WebUserControls/mod_delibera.ascx.cs b/GMW/WebUserControls/mod_delibera.ascx.cs new file mode 100644 index 00000000..5f8aa6a7 --- /dev/null +++ b/GMW/WebUserControls/mod_delibera.ascx.cs @@ -0,0 +1,309 @@ +using System; +using System.Data; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; +using GMW_data; + +namespace GMW.WebUserControls +{ + public partial class mod_delibera : SteamWare.ApplicationUserControl + { + #region area da NON modificare + + #region area protected + + protected string _idxGridView; + protected string _idxGridViewExt; + protected string _tabCache; + + /// + /// aggiorna controlli datagrid e numero righe in pagina + /// + protected override void aggiornaControlliDataGL() + { + base.aggiornaControlliDataGL(); + grView.PageSize = _righeDataGridMed; + } + /// + /// traduce gli header delle colonne + /// + /// + /// + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); + lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); + } + else + { + lblNumRec.Text = ""; + } + } + /// + /// reset della selezione + /// + /// + /// + protected void btnReset_Click(object sender, EventArgs e) + { + resetSelezione(); + } + + + /// + /// collega i controlli + /// + protected override void bindControlli() + { + base.bindControlli(); + caricaTabelle(); + } + + #endregion + + #region gestione eventi + + public event EventHandler eh_resetSelezione; + //public event EventHandler eh_nuovoValore; + //public event EventHandler eh_selValore; + + #endregion + + #region public + + /// + /// effettua update del modulo + /// + public void doUpdate() + { + resetSelezione(); + } + + + #endregion + + #endregion + + #region area codice variabile + + /// + /// carico le tabelle + /// + private void caricaTabelle() + { + } + /// + /// elenco colonne del datagrid + /// + /// + protected DataColumnCollection colonneObj() + { + DS_magazzino.V_MagazziniOverviewDataTable tabella = new DS_magazzino.V_MagazziniOverviewDataTable(); + DataColumnCollection colonne = tabella.Columns; + return colonne; + } + /// + /// inizializzazione valori di default + /// + /// + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + _idxGridView = "UDC"; + mod_filtroDelibera.eh_selValore += new EventHandler(mod_filtroDelibera_eh_selValore); + if (!Page.IsPostBack) + { + btnDelibera.Text = traduci("btnDelibera"); + cbeBtnDelibera.ConfirmText = traduci("cbeBtnDelibera"); + mod_detailUDC1.Visible = false; + mod_filtroDelibera.ods = odsFiltroDelibera; + // imposto corretto valore x filtro + if (memLayer.ML.isInSessionObject("CodTipoDelib_sel")) + { + mod_filtroDelibera.valore = memLayer.ML.StringSessionObj("CodTipoDelib_sel"); + } + else + { + mod_filtroDelibera.reset(); + } + checkFixOds(); + } + } + /// + /// fix tipo delibera + /// + /// + /// + void mod_filtroDelibera_eh_selValore(object sender, EventArgs e) + { + // chiamo procedura che aggiorna ods principale + checkFixOds(); + } + /// + /// segnalo nuovo valore filtro attivo... + /// + private void checkFixOds() + { +#if false + // determino cosa filtrare nella filter expression... + if (mod_filtroDelibera.valore != "*") + { + ods.FilterExpression = string.Format(" CodMag = '{0}' ", mod_filtroDelibera.valore); + // salvo il valore del numero di celle max x poter scalare correttamente i barplot + try + { + maxNumCelle = MagClass.magazzino.taMagOverw.getMaxCelleByMag(memLayer.ML.StringSessionObj("CodCS"), mod_filtroDelibera.valore)[0].TotCelle; + } + catch + { + maxNumCelle = 1; + } + } + else + { + ods.FilterExpression = ""; + // salvo il valore del numero di celle max x poter scalare correttamente i barplot + try + { + maxNumCelle = MagClass.magazzino.taMagOverw.getMaxCelle(memLayer.ML.StringSessionObj("CodCS"))[0].TotCelle; + } + catch + { + maxNumCelle = 1; + } + } + grView.DataBind(); +#endif + } + /// + /// aggiorno visualizzazione + /// + private void updateOdsDaFiltro() + { + grView.DataBind(); + } + /// + /// chiamata post page change gridview + /// + /// + /// + protected void grView_PageIndexChanged(object sender, EventArgs e) + { + // sistemazione dell'ods post evento cambio pagina + checkFixOds(); + } + /// + /// chiamata post sort gridview + /// + /// + /// + protected void grView_Sorted(object sender, EventArgs e) + { + // sistemazione dell'ods post evento sort + checkFixOds(); + } + /// + /// gestione cambio selezione valore + /// + /// + /// + protected void grView_SelectedIndexChanged(object sender, EventArgs e) + { + // salvo in session il valore selezionato... + SteamWare.memLayer.ML.setSessionVal(string.Format("{0}_sel", _idxGridView), grView.SelectedValue, true); + + mod_detailUDC1.Visible = true; + mod_detailUDC1.doUpdate(); + + //// sollevo evento nuovo valore... + //if (eh_selValore != null) + //{ + // eh_selValore(this, new EventArgs()); + //} + } + /// + /// seleziona/deseleziona le righe indicate... + /// + /// + /// + protected void btnSelAll_Click(object sender, EventArgs e) + { + // seleziono tutti i valori visibili nel datagrid + CheckBox chkbox = ((CheckBox)sender); + bool isChecked = chkbox.Checked; + if (!isChecked) + { + chkbox.ToolTip = traduci("btnSelAll"); + } + else + { + chkbox.ToolTip = traduci("btnDeselAll"); + } + foreach (GridViewRow riga in grView.Rows) + { + ((CheckBox)riga.FindControl("chkSelect")).Checked = isChecked; + } + } + /// + /// resetta la selezione dei valori in caso di modifiche su altri controlli + /// + public void resetSelezione() + { + mod_detailUDC1.Visible = false; + SteamWare.memLayer.ML.emptySessionVal(string.Format("{0}_sel", _idxGridView)); + grView.SelectedIndex = -1; + grView.DataBind(); + lblWarning.Visible = false; + if (eh_resetSelezione != null) + { + eh_resetSelezione(this, new EventArgs()); + } + } + /// + /// effettua delibera per gli UDC selezionati + /// + /// + /// + protected void btnDelibera_Click(object sender, EventArgs e) + { + DateTime start; + foreach (GridViewRow riga in grView.Rows) + { + if (((CheckBox)riga.FindControl("chkSelect")).Checked) + { + start = DateTime.Now; + // recupero codice UDC... + string UDC = ((Label)riga.FindControl("lblUDC")).Text; + // chiamo stored x fare delibera con state machine + string CodEvento = mod_filtroDelibera.valore; + try + { + CodEvento = StateMachine.SM.taATD.getByKey(mod_filtroDelibera.valore)[0].CodEvento; + } + catch + { } + StateMachine.SM.deliberaUdc(UDC, mod_filtroDelibera.valore, CodEvento, Request.UserHostName); + } + } + grView.DataBind(); + } + + #endregion + + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_delibera.ascx.designer.cs b/GMW/WebUserControls/mod_delibera.ascx.designer.cs new file mode 100644 index 00000000..f94eaa40 --- /dev/null +++ b/GMW/WebUserControls/mod_delibera.ascx.designer.cs @@ -0,0 +1,106 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW.WebUserControls { + + + public partial class mod_delibera { + + /// + /// mod_filtroDelibera control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_filtro mod_filtroDelibera; + + /// + /// odsFiltroDelibera control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsFiltroDelibera; + + /// + /// mod_periodoAnalisi1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_periodoAnalisi mod_periodoAnalisi1; + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; + + /// + /// lblNumRec control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumRec; + + /// + /// lblWarning control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblWarning; + + /// + /// mod_detailUDC1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_detailUDC mod_detailUDC1; + + /// + /// btnDelibera control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnDelibera; + + /// + /// cbeBtnDelibera control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.ConfirmButtonExtender cbeBtnDelibera; + } +} diff --git a/GMW/WebUserControls/mod_detailCelle.ascx b/GMW/WebUserControls/mod_detailCelle.ascx new file mode 100644 index 00000000..2aebbcf5 --- /dev/null +++ b/GMW/WebUserControls/mod_detailCelle.ascx @@ -0,0 +1,2 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_detailCelle.ascx.cs" Inherits="GMW.WebUserControls.mod_detailCelle" %> +WIP \ No newline at end of file diff --git a/GMW/WebUserControls/mod_detailCelle.ascx.cs b/GMW/WebUserControls/mod_detailCelle.ascx.cs new file mode 100644 index 00000000..852d5737 --- /dev/null +++ b/GMW/WebUserControls/mod_detailCelle.ascx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace GMW.WebUserControls +{ + public partial class mod_detailCelle : System.Web.UI.UserControl + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_detailCelle.ascx.designer.cs b/GMW/WebUserControls/mod_detailCelle.ascx.designer.cs new file mode 100644 index 00000000..f4f6bd47 --- /dev/null +++ b/GMW/WebUserControls/mod_detailCelle.ascx.designer.cs @@ -0,0 +1,16 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW.WebUserControls { + + + public partial class mod_detailCelle { + } +} diff --git a/GMW/WebUserControls/mod_detailImballi.ascx b/GMW/WebUserControls/mod_detailImballi.ascx new file mode 100644 index 00000000..2f52a052 --- /dev/null +++ b/GMW/WebUserControls/mod_detailImballi.ascx @@ -0,0 +1,2 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_detailImballi.ascx.cs" Inherits="GMW.WebUserControls.mod_detailImballi" %> +WIP \ No newline at end of file diff --git a/GMW/WebUserControls/mod_detailImballi.ascx.cs b/GMW/WebUserControls/mod_detailImballi.ascx.cs new file mode 100644 index 00000000..54c6c8f4 --- /dev/null +++ b/GMW/WebUserControls/mod_detailImballi.ascx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace GMW.WebUserControls +{ + public partial class mod_detailImballi : System.Web.UI.UserControl + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_detailImballi.ascx.designer.cs b/GMW/WebUserControls/mod_detailImballi.ascx.designer.cs new file mode 100644 index 00000000..01b61bb7 --- /dev/null +++ b/GMW/WebUserControls/mod_detailImballi.ascx.designer.cs @@ -0,0 +1,16 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW.WebUserControls { + + + public partial class mod_detailImballi { + } +} diff --git a/GMW/WebUserControls/mod_detailOperatori.ascx b/GMW/WebUserControls/mod_detailOperatori.ascx new file mode 100644 index 00000000..478aecfa --- /dev/null +++ b/GMW/WebUserControls/mod_detailOperatori.ascx @@ -0,0 +1,2 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_detailOperatori.ascx.cs" Inherits="GMW.WebUserControls.mod_detailOperatori" %> +WIP \ No newline at end of file diff --git a/GMW/WebUserControls/mod_detailOperatori.ascx.cs b/GMW/WebUserControls/mod_detailOperatori.ascx.cs new file mode 100644 index 00000000..5f0cf762 --- /dev/null +++ b/GMW/WebUserControls/mod_detailOperatori.ascx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace GMW.WebUserControls +{ + public partial class mod_detailOperatori : System.Web.UI.UserControl + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_detailOperatori.ascx.designer.cs b/GMW/WebUserControls/mod_detailOperatori.ascx.designer.cs new file mode 100644 index 00000000..79c6e556 --- /dev/null +++ b/GMW/WebUserControls/mod_detailOperatori.ascx.designer.cs @@ -0,0 +1,16 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW.WebUserControls { + + + public partial class mod_detailOperatori { + } +} diff --git a/GMW/WebUserControls/mod_detailParticolari.ascx b/GMW/WebUserControls/mod_detailParticolari.ascx new file mode 100644 index 00000000..a72d0e43 --- /dev/null +++ b/GMW/WebUserControls/mod_detailParticolari.ascx @@ -0,0 +1,80 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_detailParticolari.ascx.cs" + Inherits="GMW.WebUserControls.mod_detailParticolari" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + --> + + + + + + + + + + + +   + \ No newline at end of file diff --git a/GMW/WebUserControls/mod_detailParticolari.ascx.cs b/GMW/WebUserControls/mod_detailParticolari.ascx.cs new file mode 100644 index 00000000..a663daba --- /dev/null +++ b/GMW/WebUserControls/mod_detailParticolari.ascx.cs @@ -0,0 +1,205 @@ +using System; +using System.Data; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; +using GMW_data; + + +namespace GMW.WebUserControls +{ + public partial class mod_detailParticolari : SteamWare.ApplicationUserControl + { + #region area da NON modificare + + #region area protected + + protected string _idxGridView; + protected string _idxGridViewExt; + protected string _tabCache; + + /// + /// aggiorna controlli datagrid e numero righe in pagina + /// + protected override void aggiornaControlliDataGL() + { + base.aggiornaControlliDataGL(); + grView.PageSize = _righeDataGridMed; + } + /// + /// traduce gli header delle colonne + /// + /// + /// + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); + lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); + } + else + { + lblNumRec.Text = ""; + } + } + /// + /// reset della selezione + /// + /// + /// + protected void btnReset_Click(object sender, EventArgs e) + { + resetSelezione(); + } + + + /// + /// collega i controlli + /// + protected override void bindControlli() + { + base.bindControlli(); + caricaTabelle(); + } + + #endregion + + #region gestione eventi + + public event EventHandler eh_resetSelezione; + //public event EventHandler eh_nuovoValore; + public event EventHandler eh_selValore; + + #endregion + + #region public + + /// + /// effettua update del modulo + /// + public void doUpdate() + { + resetSelezione(); + } + + + #endregion + + #endregion + + #region area codice variabile + + /// + /// carico le tabelle + /// + private void caricaTabelle() + { + } + /// + /// elenco colonne del datagrid + /// + /// + protected DataColumnCollection colonneObj() + { + DS_magazzino.V_DettMagPartDataTable tabella = new DS_magazzino.V_DettMagPartDataTable(); + DataColumnCollection colonne = tabella.Columns; + return colonne; + } + /// + /// inizializzazione valori di default + /// + /// + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + } + + /// + /// segnalo nuovo valore filtro attivo... + /// + private void checkFixOds() + { + grView.DataBind(); + } + /// + /// aggiorno visualizzazione + /// + private void updateOdsDaFiltro() + { + grView.DataBind(); + } + /// + /// chiamata post page change gridview + /// + /// + /// + protected void grView_PageIndexChanged(object sender, EventArgs e) + { + // sistemazione dell'ods post evento cambio pagina + checkFixOds(); + } + /// + /// chiamata post sort gridview + /// + /// + /// + protected void grView_Sorted(object sender, EventArgs e) + { + // sistemazione dell'ods post evento sort + checkFixOds(); + } + /// + /// gestione cambio selezione valore + /// + /// + /// + protected void grView_SelectedIndexChanged(object sender, EventArgs e) + { + // leggo chiave + string DescStato = grView.SelectedDataKey["DescStato"].ToString(); + string Esponente = grView.SelectedDataKey["Esponente"].ToString(); + string CodMag = grView.SelectedDataKey["CodMag"].ToString(); + int IdxBlocco = Convert.ToInt32(grView.SelectedDataKey["IdxBlocco"]); + string CodMagLog = grView.SelectedDataKey["CodMagLog"].ToString(); + // salvo in session + SteamWare.memLayer.ML.setSessionVal("CodMag_sel", CodMag, false); + SteamWare.memLayer.ML.setSessionVal("IdxBlocco_sel", IdxBlocco, false); + memLayer.ML.setSessionVal("CodMagLogico_sel", CodMagLog, false); + // sollevo evento nuovo valore... + if (eh_selValore != null) + { + eh_selValore(this, new EventArgs()); + } + } + + /// + /// resetta la selezione dei valori in caso di modifiche su altri controlli + /// + public void resetSelezione() + { + //SteamWare.memLayer.ML.emptySessionVal("DescStato_sel"); + //SteamWare.memLayer.ML.emptySessionVal("Esponente_sel"); + grView.SelectedIndex = -1; + grView.DataBind(); + lblWarning.Visible = false; + if (eh_resetSelezione != null) + { + eh_resetSelezione(this, new EventArgs()); + } + } + #endregion + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_detailParticolari.ascx.designer.cs b/GMW/WebUserControls/mod_detailParticolari.ascx.designer.cs new file mode 100644 index 00000000..8d63a733 --- /dev/null +++ b/GMW/WebUserControls/mod_detailParticolari.ascx.designer.cs @@ -0,0 +1,52 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW.WebUserControls { + + + public partial class mod_detailParticolari { + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; + + /// + /// lblNumRec control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumRec; + + /// + /// lblWarning control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblWarning; + } +} diff --git a/GMW/WebUserControls/mod_detailUDC.ascx b/GMW/WebUserControls/mod_detailUDC.ascx new file mode 100644 index 00000000..ed7fc87a --- /dev/null +++ b/GMW/WebUserControls/mod_detailUDC.ascx @@ -0,0 +1,48 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_detailUDC.ascx.cs" + Inherits="GMW.WebUserControls.mod_detailUDC" %> + + + + + + + vuoto + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/GMW/WebUserControls/mod_detailUDC.ascx.cs b/GMW/WebUserControls/mod_detailUDC.ascx.cs new file mode 100644 index 00000000..d3b178b7 --- /dev/null +++ b/GMW/WebUserControls/mod_detailUDC.ascx.cs @@ -0,0 +1,121 @@ +using System; +using System.Data; +using System.Web.UI.WebControls; +using SteamWare; +using GMW_data; + +namespace GMW.WebUserControls +{ + public partial class mod_detailUDC : SteamWare.ApplicationUserControl + { + #region area da NON modificare + + #region area protected + + protected string _idxGridView; + protected string _idxGridViewExt; + protected string _tabCache; + protected bool _showNewBtn = false; + + /// + /// aggiorna controlli datagrid e numero righe in pagina + /// + protected override void aggiornaControlliDataGL() + { + base.aggiornaControlliDataGL(); + } + + + + /// + /// collega i controlli + /// + protected override void bindControlli() + { + base.bindControlli(); + caricaTabelle(); + } + + #endregion + + #region gestione eventi + + //public event EventHandler eh_resetSelezione; + //public event EventHandler eh_nuovoValore; + //public event EventHandler eh_selValore; + + #endregion + + #endregion + + #region area codice variabile + + + /// + /// carico le tabelle + /// + private void caricaTabelle() + { + } + /// + /// elenco colonne del datagrid + /// + /// + protected DataColumnCollection colonneObj() + { + DS_magazzino.v_UdcDetailDataTable tabella = new DS_magazzino.v_UdcDetailDataTable(); + DataColumnCollection colonne = tabella.Columns; + return colonne; + } + /// + /// inizializzazione valori di default + /// + /// + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + _idxGridView = "UDC"; + } + /// + /// verifica se attivo filtro company e imposta ods di conseguenza... + /// + private void checkFixOds() + { + // svuoto select parameters + ods.SelectParameters.Clear(); + // imposto i parametri... + ods.SelectParameters.Add("UDC", DbType.String, memLayer.ML.StringSessionObj("UDC_sel")); + ods.SelectParameters.Add("CodCS", DbType.String, memLayer.ML.StringSessionObj("CodCS")); + // metto nuovo metodo select + ods.SelectMethod = "getByFullUdc"; + } + /// + /// effettua update del modulo + /// + public void doUpdate() + { + checkFixOds(); + } + + + protected void detView_DataBound(object sender, EventArgs e) + { + if (detView.Rows.Count > 0) + { + // aggiorno gli headers + foreach (DetailsViewRow riga in detView.Rows) + { + try + { + riga.Cells[0].Text = traduci(riga.Cells[0].Text); + } + catch + { } + } + } + } + + #endregion + + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_detailUDC.ascx.designer.cs b/GMW/WebUserControls/mod_detailUDC.ascx.designer.cs new file mode 100644 index 00000000..34643cf1 --- /dev/null +++ b/GMW/WebUserControls/mod_detailUDC.ascx.designer.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4971 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW.WebUserControls { + + + public partial class mod_detailUDC { + + /// + /// detView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.DetailsView detView; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; + } +} diff --git a/GMW/WebUserControls/mod_dettCelleBlocco.ascx b/GMW/WebUserControls/mod_dettCelleBlocco.ascx new file mode 100644 index 00000000..17699369 --- /dev/null +++ b/GMW/WebUserControls/mod_dettCelleBlocco.ascx @@ -0,0 +1,10 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_dettCelleBlocco.ascx.cs" + Inherits="GMW.WebUserControls.mod_dettCelleBlocco" %> +
+ + +
+
+ +
diff --git a/GMW/WebUserControls/mod_dettCelleBlocco.ascx.cs b/GMW/WebUserControls/mod_dettCelleBlocco.ascx.cs new file mode 100644 index 00000000..878ee307 --- /dev/null +++ b/GMW/WebUserControls/mod_dettCelleBlocco.ascx.cs @@ -0,0 +1,318 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; +using GMW_data; + +namespace GMW.WebUserControls +{ + public partial class mod_dettCelleBlocco : System.Web.UI.UserControl + { + protected int IdxBlocco = 0; + protected int IdxCella = 0; + protected int CodMagLogico = -1; + protected int numX = 1; + protected int numY = 1; + protected GMW_data.Type.BlockMap[,] BloccoCelle; + + public event EventHandler eh_selValore; + /// + /// evento caricamento pagina... + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + doUpdate(); + } + /// + /// esegue update controllo + /// + public void doUpdate() + { + caricaDatiBlocco(); + aggiornaCelleOccupate(); + creaLabelTooltipCelle(); + disegnaTabella(); + } + /// + /// effettua reset dati selezionati + /// + public void reset() + { + memLayer.ML.emptySessionVal("IdxCellaMag"); + } + + /// + /// carica i dati del blocco in un oggetto BlockMap (compreso attive/inattive) + /// + private void caricaDatiBlocco() + { + // carico da session blocco e cella (eventualmente) + IdxBlocco = memLayer.ML.IntSessionObj("IdxBlocco_sel"); + IdxCella = memLayer.ML.IntSessionObj("IdxCellaMag"); + // controllo: se mancano dati rimando a StatoMag.aspx + if ((IdxBlocco == 0) || (IdxCella == 0)) + { + Response.Redirect("~/StatoMag.aspx"); + } + // calcolo di quante righe e colonne ho bisogno... + DS_magazzino.BlocchiRow rigaBlocco = MagClass.magazzino.taBlocchi.getByIdx(IdxBlocco)[0]; + numX = rigaBlocco.NumX; + numY = rigaBlocco.NumY; + // carico TUTTE le celle del blocco... + DS_magazzino.CelleDataTable tabCelleAll = MagClass.magazzino.taCelle.getByIdxBlocco(IdxBlocco); + DS_magazzino.CelleRow rigaCelle; + // carico i tipi cella... + DS_magazzino.TipoCellaDataTable tabTipoCelle = MagClass.magazzino.taTipoCella.GetData(); + // inizializzo il mio array... + BloccoCelle = new GMW_data.Type.BlockMap[numX, numY]; + // per calcolo capacità di OGNI cella + int capa = 0; + // carico i dati nell'array: di default tutto VUOTO, con posizione attiva... + for (int pos_y = 0; pos_y < numY; pos_y++) + { + for (int pos_x = 0; pos_x < numX; pos_x++) + { + // calcolo la capacità della cella... + rigaCelle = (DS_magazzino.CelleRow)tabCelleAll.Select(string.Format("X={0} AND Y={1}", pos_x + 1, pos_y + 1))[0]; + capa = tabTipoCelle.FindByIdxTipoCella(rigaCelle.IdxTipoCella).Capienza; + BloccoCelle[pos_x, pos_y] = new GMW_data.Type.BlockMap("-", "", "cellaLibera", rigaCelle.IdxCella, rigaCelle.CodCella, capa, 0, rigaCelle.Piena, rigaCelle.Attiva); + } + } + } + /// + /// Aggiorna la mappa con le celle occupate + /// + private void aggiornaCelleOccupate() + { + // carico il magazzino logico da visualizzare (oppure tutti...) + CodMagLogico = memLayer.ML.IntSessionObj("CodMagLogico_sel"); + // carico altri dati da sessione + string ParticolareSel = memLayer.ML.StringSessionObj("Particolare_sel"); + string DescStatoSel = memLayer.ML.StringSessionObj("DescStato_sel"); + string EsponenteSel = memLayer.ML.StringSessionObj("Esponente_sel"); + // ottengo elenco dettaglio UDC che occupano il blocco... + DS_magazzino.v_UdcDetailDataTable tabUdc = MagClass.magazzino.taDettUDC.getUdcDetailByIdxBlocco(IdxBlocco); + // SE è filtrato x mag logico utilizza altro metodo... + if (CodMagLogico != -1) + { + tabUdc = MagClass.magazzino.taDettUDC.getByIdxBloccoCodMagLog(IdxBlocco, CodMagLogico); + } + // controllo se sia un magazzino mono o multicella... + bool multicella = MagClass.magazzino.taCelle.getByIdxBlocco(IdxBlocco).Rows.Count > 1; + // SE ci sono righe aggiorno il blocco... + if (tabUdc.Rows.Count > 0) + { + // ...sovrascrivo valori di default + foreach (DS_magazzino.v_UdcDetailRow riga in tabUdc) + { + // salvo che ho 1 UDC in + nella cella... + BloccoCelle[riga.X - 1, riga.Y - 1].NumUdc++; + // controllo se nella cella ci sia il particolare selezionato... + if (ParticolareSel == riga.Particolare && multicella) + { + // controllo se sia anche lo specifico esponente/stato + if (DescStatoSel == riga.DescStato && EsponenteSel == riga.Esponente) + { + BloccoCelle[riga.X - 1, riga.Y - 1].Css = "cellaSelezDett"; + } + else + { + BloccoCelle[riga.X - 1, riga.Y - 1].Css = "cellaSelezAll"; + } + } + else + { + // se NON C'E' alcun particolare selezionato ... controllo il blocco! + if (BloccoCelle[riga.X - 1, riga.Y - 1].Piena) + { + BloccoCelle[riga.X - 1, riga.Y - 1].Css = "cellaPiena"; + } + else + { + BloccoCelle[riga.X - 1, riga.Y - 1].Css = "cellaOccupata"; + } + } + BloccoCelle[riga.X - 1, riga.Y - 1].ToolTip += string.Format("{2} - {0} {1:#}pz{3}", riga.UDC, riga.Qta, riga.Particolare, Environment.NewLine); + } + } + } + /// + /// Aggiorna la mappa celle x label e tooltip + /// + private void creaLabelTooltipCelle() + { + // ...in base al setup mostro anche il disponibile o meno... + string formato = ""; + if (memLayer.ML.confReadBool("showSizeCellaInDettMag")) + { + formato = "{0}
{1}"; + } + else + { + formato = "{0}"; + } + // faccio ciclo x ogni oggetto blocco.. + for (int pos_y = 0; pos_y < numY; pos_y++) + { + for (int pos_x = 0; pos_x < numX; pos_x++) + { + // calcolo la capacità della cella... e mostro secondo formato definito prima + BloccoCelle[pos_x, pos_y].Label = string.Format(formato, BloccoCelle[pos_x, pos_y].NumUdc, BloccoCelle[pos_x, pos_y].Capacita); + // se è attiva = 0 aggiorno label + if (!BloccoCelle[pos_x, pos_y].Attiva) + { + BloccoCelle[pos_x, pos_y].Css = "cellaInattiva"; + //BloccoCelle[pos_x, pos_y].Label = string.Format("[{0}]", BloccoCelle[pos_x, pos_y].Label); + // ... e tooltip + BloccoCelle[pos_x, pos_y].ToolTip = string.Format("{0}{1}{2}", traduci("CellaInattiva"), Environment.NewLine, BloccoCelle[pos_x, pos_y].ToolTip); + } + } + } + } + /// + /// wrapper traduzione + /// + /// + /// + public string traduci(object lemma) + { + return user_std.UtSn.Traduci(lemma.ToString()); + } + + /// + /// esegue il vero plotting della tabella + /// + private void disegnaTabella() + { + bool tabPresente = tblBlocco.Rows.Count > 0; + if (tabPresente) + { + //foreach (TableRow riga in tblBlocco.Rows) + //{ + // foreach (TableCell cella in riga.Cells) + // { + // foreach (LinkButton lnkb in cella.Controls) + // { + // lnkb.Click -= new EventHandler(lnkb_Click); + // } + // } + //} + tblBlocco.Rows.Clear(); + } + // metto prima riga con indicazione valori NUMERICI delle colonne + setupRigaConteggioX(); + // ciclo nel mio array e creo di conseguenza le celle di tabella + for (int pos_y = numY - 1; pos_y >= 0; pos_y--) + { + TableRow riga = new TableRow(); + TableCell cell; + // cella con numero livello + cell = setupCellaConteggioY(pos_y, riga); + for (int pos_x = 0; pos_x < numX; pos_x++) + { + cell = new TableCell(); + cell.CssClass = BloccoCelle[pos_x, pos_y].Css; + // aggiungo button x fare elemento cliccabile + LinkButton lnkb = new LinkButton(); + lnkb.ToolTip = BloccoCelle[pos_x, pos_y].ToolTip; + lnkb.Text = BloccoCelle[pos_x, pos_y].Label; + lnkb.Click += new EventHandler(lnkb_Click); + lnkb.CommandArgument = string.Format("{0}#{1}", BloccoCelle[pos_x, pos_y].KeyVal, BloccoCelle[pos_x, pos_y].CellCode); + // controllo se la cella è selezionata, nel caso BOLD! + if (BloccoCelle[pos_x, pos_y].KeyVal == IdxCella) + { + cell.CssClass = "selectedCell"; + btnReset.Visible = true; + } + cell.Controls.Add(lnkb); + // carico in cella di tabella il linkButton + riga.Cells.Add(cell); + } + cell = setupCellaConteggioY(pos_y, riga); + tblBlocco.Rows.Add(riga); + } + // metto ultima riga con indicazione valori NUMERICI delle colonne + setupRigaConteggioX(); + } + /// + /// intercetta richiesta di zoom e zoomma sull'Udc in esame... + /// + /// + /// + void lnkb_Click(object sender, EventArgs e) + { + LinkButton lnk = (LinkButton)sender; + // calcolo i parametri passati + string[] valori = SteamWare.StringSplitter.CSplitter.Split(lnk.CommandArgument.ToString(), "#", true, 2, SteamWare.StringSplitter.ComparisonMethod.Text); + // setto i valori in sessione + IdxCella = Convert.ToInt32(valori[0]); + memLayer.ML.setSessionVal("IdxCellaMag", valori[0],false); + memLayer.ML.setSessionVal("CodCellaMag", valori[1], false); + + // evento selezione che passa dati al modulo operazioniUdc + if (eh_selValore != null) + { + eh_selValore(this, new EventArgs()); + } + Response.Redirect("~/DettaglioBlocco.aspx"); + } + /// + /// crea una cella per il numero dei livelli + /// + /// + /// + /// + private static TableCell setupCellaConteggioY(int pos_y, TableRow riga) + { + TableCell cell; + cell = new TableCell(); + cell.CssClass = "cellaBianca"; + cell.Text = string.Format("{0:0#}", pos_y + 1); + cell.ToolTip = ""; + riga.Cells.Add(cell); + return cell; + } + /// + /// crea la riga del numero delle colonne + /// + private void setupRigaConteggioX() + { + TableRow riga = new TableRow(); + TableCell cell; + // cella vuota iniziale + cell = new TableCell(); + riga.Cells.Add(cell); + // celle con numeri + for (int pos_x = 0; pos_x < numX; pos_x++) + { + cell = new TableCell(); + cell.CssClass = "cellaBianca"; + cell.Text = string.Format("{0:0#}", pos_x + 1); + cell.ToolTip = ""; + riga.Cells.Add(cell); + } + // cella vuota finale + cell = new TableCell(); + riga.Cells.Add(cell); + // aggiungo riga! + tblBlocco.Rows.Add(riga); + } + /// + /// resetta disegno + /// + /// + /// + protected void btnReset_Click(object sender, EventArgs e) + { + memLayer.ML.emptySessionVal("IdxCellaMag"); + memLayer.ML.emptySessionVal("CodCellaMag"); + Response.Redirect("~/DettaglioBlocco.aspx"); + } + + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_dettCelleBlocco.ascx.designer.cs b/GMW/WebUserControls/mod_dettCelleBlocco.ascx.designer.cs new file mode 100644 index 00000000..8fac2de2 --- /dev/null +++ b/GMW/WebUserControls/mod_dettCelleBlocco.ascx.designer.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW.WebUserControls { + + + public partial class mod_dettCelleBlocco { + + /// + /// tblBlocco control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Table tblBlocco; + + /// + /// btnReset control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnReset; + } +} diff --git a/GMW/WebUserControls/mod_dettaglioBlocco.ascx b/GMW/WebUserControls/mod_dettaglioBlocco.ascx new file mode 100644 index 00000000..b9f3758d --- /dev/null +++ b/GMW/WebUserControls/mod_dettaglioBlocco.ascx @@ -0,0 +1,123 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_dettaglioBlocco.ascx.cs" + Inherits="GMW.WebUserControls.mod_dettaglioBlocco" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> +<%@ Register Src="mod_filtro.ascx" TagName="mod_filtro" TagPrefix="uc1" %> +<%@ Register Src="mod_paretoUdcBlocco.ascx" TagName="mod_paretoUdcBlocco" TagPrefix="uc1" %> +<%@ Register Src="mod_dettCelleBlocco.ascx" TagName="mod_dettCelleBlocco" TagPrefix="uc2" %> +<%@ Register Src="mod_paretoPartByFullSpec.ascx" TagName="mod_paretoPartByFullSpec" + TagPrefix="uc3" %> +<%@ Register Src="mod_operazioniUdc.ascx" TagName="mod_operazioniUdc" TagPrefix="uc4" %> + + + + +
+
+
+ +
+
+ +
+
+
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + +
+
+ +
+
+ +
+
+ +
+
+ + + +
+
+
+ Legenda + + + + + + + + + + + + +
+ Piena + + Occupata + + Libera + + Bloccata + +   + + Selezionata (modifica) + +   + + Selezione SX + + Selezione DX +
+
+
+
diff --git a/GMW/WebUserControls/mod_dettaglioBlocco.ascx.cs b/GMW/WebUserControls/mod_dettaglioBlocco.ascx.cs new file mode 100644 index 00000000..62aa64f5 --- /dev/null +++ b/GMW/WebUserControls/mod_dettaglioBlocco.ascx.cs @@ -0,0 +1,275 @@ +using System; +using System.Data; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; +using GMW_data; + + +namespace GMW.WebUserControls +{ + public partial class mod_dettaglioBlocco : SteamWare.ApplicationUserControl + { + #region area codice variabile + + /// + /// carico le tabelle + /// + private void caricaTabelle() + { + } + /// + /// elenco colonne del datagrid + /// + /// + protected DataColumnCollection colonneObj() + { + DS_magazzino.V_MagazziniOverviewDataTable tabella = new DS_magazzino.V_MagazziniOverviewDataTable(); + DataColumnCollection colonne = tabella.Columns; + return colonne; + } + /// + /// inizializzazione valori di default + /// + /// + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + mod_filtroBlock.eh_selValore += new EventHandler(mod_filtroBlock_eh_selValore); + mod_filtroMagLog.eh_selValore += new EventHandler(mod_filtroMagLog_eh_selValore); + mod_paretoUdcBlocco1.eh_selValore += new EventHandler(mod_paretoUdcBlocco1_eh_selValore); + mod_paretoUdcBlocco1.eh_resetSelezione += new EventHandler(mod_paretoUdcBlocco1_eh_resetSelezione); + mod_paretoPartByFullSpec1.eh_selValore += new EventHandler(mod_paretoPartByFullSpec1_eh_selValore); + mod_paretoPartByFullSpec1.eh_resetSelezione += new EventHandler(mod_paretoPartByFullSpec1_eh_resetSelezione); + mod_dettCelleBlocco1.eh_selValore += new EventHandler(mod_dettCelleBlocco1_eh_selValore); + mod_operazioniUdc1.eh_updated += new EventHandler(mod_operazioniUdc1_eh_updated); + mod_operazioniUdc1.eh_hidden += new EventHandler(mod_operazioniUdc1_eh_hidden); + if (!Page.IsPostBack) + { + lnkReturn.Text = traduci("TornaStatoMag"); + lnkReturn2.Text = traduci("TornaStatoMagLogico"); + mod_filtroMag.ods = odsFiltroMag; + mod_filtroBlock.ods = odsFiltroBlock; + mod_filtroMagLog.ods = odsFiltroMagLog; + mod_filtroMagLog.filterChekText = "SetFiltroMagLog"; + mod_filtroMagLog.filterUnchekText = "UnSetFiltroMagLog"; + // imposto corretto valore x filtro Mag + if (memLayer.ML.isInSessionObject("CodMag_sel")) + { + mod_filtroMag.valore = memLayer.ML.StringSessionObj("CodMag_sel"); + if (memLayer.ML.isInSessionObject("IdxBlocco_sel")) + { + mod_filtroBlock.valore = memLayer.ML.StringSessionObj("IdxBlocco_sel"); + } + } + else + { + memLayer.ML.setSessionVal("CodMag_sel", mod_filtroMag.valore, false); + } + // imposto corretto valore x filtro Mag logico + if (memLayer.ML.isInSessionObject("CodMagLogico_sel")) + { + mod_filtroMagLog.isChecked = true; + mod_filtroMagLog.valore = memLayer.ML.StringSessionObj("CodMagLogico_sel"); + } + else + { + mod_filtroMagLog.valore = ""; + mod_filtroMagLog.isChecked = false; + } + pnlDetail.Visible = false; + mod_operazioniUdc1.Visible = false; + updateControlli(); + } + if (memLayer.ML.isInSessionObject("IdxCellaMag")) + { + mostraOperazioniUdc(); + } + if (memLayer.ML.isInSessionObject("Particolare_sel")) + { + pnlDetail.Visible = true; + mod_paretoPartByFullSpec1.doUpdate(); + } + } + + /// + /// nascondo dettagli UDC + /// + /// + /// + void mod_operazioniUdc1_eh_hidden(object sender, EventArgs e) + { + memLayer.ML.emptySessionVal("IdxCellaMag"); + Response.Redirect("~/DettaglioBlocco.aspx"); + } + /// + /// eseguito all'evento update modulo operazioni UDC + /// + /// + /// + void mod_operazioniUdc1_eh_updated(object sender, EventArgs e) + { + //mod_dettCelleBlocco1.doUpdate(); + //mod_operazioniUdc1.doUpdate(); + Response.Redirect("~/DettaglioBlocco.aspx"); + } + + /// + /// selezionato un valore nel blocco di magazzino + /// + /// + /// + void mod_dettCelleBlocco1_eh_selValore(object sender, EventArgs e) + { + mostraOperazioniUdc(); + } + + private void mostraOperazioniUdc() + { + // mostro operazioni + mod_operazioniUdc1.Visible = true; + mod_operazioniUdc1.doUpdate(); + } + + void mod_paretoPartByFullSpec1_eh_resetSelezione(object sender, EventArgs e) + { + // aggiorno la visualizzazione del magazzino! + Response.Redirect("~/DettaglioBlocco.aspx"); + } + + void mod_paretoPartByFullSpec1_eh_selValore(object sender, EventArgs e) + { + // aggiorno la visualizzazione del magazzino! + Response.Redirect("~/DettaglioBlocco.aspx"); + } + + void mod_paretoUdcBlocco1_eh_resetSelezione(object sender, EventArgs e) + { + // aggiorno la visualizzazione del magazzino! + Response.Redirect("~/DettaglioBlocco.aspx"); + } + /// + /// aggiorna in caso di selezione valore x un dato Particolare + /// + /// + /// + void mod_paretoUdcBlocco1_eh_selValore(object sender, EventArgs e) + { + // aggiorno la visualizzazione del magazzino! + Response.Redirect("~/DettaglioBlocco.aspx"); + } + /// + /// selezione valore mag logico + /// + /// + /// + void mod_filtroMagLog_eh_selValore(object sender, EventArgs e) + { + // salvo in sessione il valore selezionato... + if (mod_filtroMagLog.valoreInt != -1) + { + memLayer.ML.setSessionVal("CodMagLogico_sel", mod_filtroMagLog.valoreInt, false); + } + else + { + memLayer.ML.emptySessionVal("CodMagLogico_sel"); + } + // svuoto selezioni secondarie... + memLayer.ML.emptySessionVal("Particolare_sel"); + + // aggiorno la visualizzazione del magazzino! + Response.Redirect("~/DettaglioBlocco.aspx"); + } + /// + /// selezione valore blocco + /// + /// + /// + void mod_filtroBlock_eh_selValore(object sender, EventArgs e) + { + // salvo in sessione il valore selezionato... + if (mod_filtroBlock.valoreInt != -1) + { + memLayer.ML.setSessionVal("IdxBlocco_sel", mod_filtroBlock.valoreInt, false); + } + else + { + memLayer.ML.emptySessionVal("IdxBlocco_sel"); + } + // chiamo procedura che aggiorna ods principale + mod_dettCelleBlocco1.doUpdate(); + updateControlli(); + } + + private void updateControlli() + { + // aggiorno i controlli! + mod_paretoUdcBlocco1.doUpdate(); + } + + + /// + /// chiamato post modifica valore check/selezione nel selettore filtro impianto + /// + /// + /// + public void eh_selectedMagazzino(object sender, EventArgs e) + { + if (mod_filtroMag.valore != "") + { + if (!mod_filtroBlock.Visible) + { + mod_filtroBlock.Visible = true; + } + else + { + mod_filtroBlock.reset(); + memLayer.ML.emptySessionVal("IdxBlocco_sel"); + } + mod_filtroBlock.ods = odsFiltroBlock; + } + else + { + mod_filtroBlock.reset(); + mod_filtroBlock.Visible = false; + memLayer.ML.emptySessionVal("IdxBlocco_sel"); + } + // chiamo procedura che aggiorna ods principale + updateControlli(); + } + + /// + /// ritorno ad elenco magazzini + /// + /// + /// + protected void lnkReturn_Click(object sender, EventArgs e) + { + svuotaVarSessione(); + Response.Redirect("~/StatoMag.aspx"); + } + + private static void svuotaVarSessione() + { + // svuoto dati in memoria... + memLayer.ML.emptySessionVal("CodMag_sel"); + memLayer.ML.emptySessionVal("CodMagLogico_sel"); + memLayer.ML.emptySessionVal("IdxBlocco_sel"); + memLayer.ML.emptySessionVal("IdxCellaMag"); + memLayer.ML.emptySessionVal("Particolare_sel"); + memLayer.ML.emptySessionVal("DescStato_sel"); + memLayer.ML.emptySessionVal("Esponente_sel"); + } + /// + /// ritorno ad elenco magazzini logico + /// + /// + /// + protected void lnkReturn1_Click(object sender, EventArgs e) + { + svuotaVarSessione(); + Response.Redirect("~/MagLogico.aspx"); + } + #endregion + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_dettaglioBlocco.ascx.designer.cs b/GMW/WebUserControls/mod_dettaglioBlocco.ascx.designer.cs new file mode 100644 index 00000000..757e1284 --- /dev/null +++ b/GMW/WebUserControls/mod_dettaglioBlocco.ascx.designer.cs @@ -0,0 +1,133 @@ +//------------------------------------------------------------------------------ +// +// 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_dettaglioBlocco { + + /// + /// lnkReturn control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.LinkButton lnkReturn; + + /// + /// lnkReturn2 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.LinkButton lnkReturn2; + + /// + /// mod_filtroMag control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_filtro mod_filtroMag; + + /// + /// odsFiltroMag control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsFiltroMag; + + /// + /// mod_filtroBlock control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_filtro mod_filtroBlock; + + /// + /// odsFiltroBlock control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsFiltroBlock; + + /// + /// mod_filtroMagLog control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_filtro mod_filtroMagLog; + + /// + /// odsFiltroMagLog control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsFiltroMagLog; + + /// + /// mod_operazioniUdc1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_operazioniUdc mod_operazioniUdc1; + + /// + /// mod_dettCelleBlocco1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_dettCelleBlocco mod_dettCelleBlocco1; + + /// + /// mod_paretoUdcBlocco1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_paretoUdcBlocco mod_paretoUdcBlocco1; + + /// + /// pnlDetail control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlDetail; + + /// + /// mod_paretoPartByFullSpec1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_paretoPartByFullSpec mod_paretoPartByFullSpec1; + } +} diff --git a/GMW/WebUserControls/mod_elencoListePrelievo.ascx b/GMW/WebUserControls/mod_elencoListePrelievo.ascx new file mode 100644 index 00000000..ff327cf1 --- /dev/null +++ b/GMW/WebUserControls/mod_elencoListePrelievo.ascx @@ -0,0 +1,267 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_elencoListePrelievo.ascx.cs" + Inherits="GMW.WebUserControls.mod_elencoListePrelievo" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %> +<%@ Register Src="mod_viewRigheListaPrelievo.ascx" TagName="mod_viewRigheListaPrelievo" + TagPrefix="uc1" %> +<%@ Register Src="mod_periodoAnalisi.ascx" TagName="mod_periodoAnalisi" TagPrefix="uc2" %> +<%@ Register Src="mod_filtro.ascx" TagName="mod_filtro" TagPrefix="uc3" %> +<%@ Register Src="mod_nuovaListaPrelievo.ascx" TagName="mod_nuovaListaPrelievo" TagPrefix="uc4" %> +<% if (false) + { %> + +<% } %> + + + + + + + + +
+
+
+ +
+
+ + + + + + +
+
+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+
+ + +
+
+
+
+ + +
+ +
+ +
+
+
+
+ + +
+ +
+
+ + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+    + + + + + + + + + + + + + +
+ +
diff --git a/GMW/WebUserControls/mod_elencoListePrelievo.ascx.cs b/GMW/WebUserControls/mod_elencoListePrelievo.ascx.cs new file mode 100644 index 00000000..b72f314e --- /dev/null +++ b/GMW/WebUserControls/mod_elencoListePrelievo.ascx.cs @@ -0,0 +1,1181 @@ +using System; +using System.Data; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; +using GMW_data; + +namespace GMW.WebUserControls +{ + public partial class mod_elencoListePrelievo : SteamWare.ApplicationUserControl + { + #region area da NON modificare + + #region area protected + + protected string _idxGridView; + protected string _idxGridViewExt; + protected string _tabCache; + protected bool _showNewBtn = false; + + /// + /// imposta errore non cancellabilità per record correlati + /// + protected void setNoDeletableErrorMessage() + { + // mostro avviso di non cancellabilità... + lblWarning.Text = traduci("notDeletable_hasChild"); + lblWarning.Visible = true; + grView.DataBind(); + } + /// + /// esegue cancellazioen record + /// + protected void doDelete() + { + // posso cancellare... + lblWarning.Visible = false; + ods.Delete(); + } + /// + /// Valida la cancellazione per i dati mostrati dal gridView + /// richiede sia preventivamentedichiarato _idxGridView + /// + /// + /// + protected virtual void validaDelete(object sender, ObjectDataSourceMethodEventArgs e) + { + int idx = Convert.ToInt32(e.InputParameters[string.Format("Original_{0}", _idxGridView)]); + if (objIsNotRelated(idx)) + { + // annullo cancellazione... + e.Cancel = true; + // seleziono record... metto in session valore idx e poi ridisegno... + SteamWare.memLayer.ML.setSessionVal(_idxGridView, idx); + setNoDeletableErrorMessage(); + } + else + { + doDelete(); + } + } + + /// + /// recupera i dati di un nuovo record contenuti nel footer di un gridView; + /// questi devono esses opportunamente nominati (es: txt{0}, dl{0}, ...) + /// + /// + /// + protected void recuperaFooter(object sender, ObjectDataSourceMethodEventArgs e) + { + //recupero la riga footer... + DataColumnCollection colonne = colonneObj(); + string nomeCol; + string tipoColonna = ""; + foreach (DataColumn colonna in colonne) + { + nomeCol = colonna.ColumnName; + // cerco un textbox o quello che sia... + if (grView.FooterRow.FindControl(string.Format("txt{0}", nomeCol)) != null) + { + tipoColonna = "textBox"; + } + else if (grView.FooterRow.FindControl(string.Format("dl{0}", nomeCol)) != null) + { + tipoColonna = "dropDownList"; + } + else if (grView.FooterRow.FindControl(string.Format("chk{0}", nomeCol)) != null) + { + tipoColonna = "checkBox"; + } + else if (grView.FooterRow.FindControl(string.Format("selAjax_{0}", nomeCol)) != null) + { + tipoColonna = "selAjax"; + } + // in base al tipo salvo negli inputparameters dell'ODS + switch (tipoColonna) + { + case "textBox": + e.InputParameters[nomeCol] = ((TextBox)grView.FooterRow.FindControl(string.Format("txt{0}", nomeCol))).Text; + break; + case "dropDownList": + e.InputParameters[nomeCol] = ((DropDownList)grView.FooterRow.FindControl(string.Format("dl{0}", nomeCol))).SelectedValue; + break; + case "checkBox": + e.InputParameters[nomeCol] = ((CheckBox)grView.FooterRow.FindControl(string.Format("chk{0}", nomeCol))).Checked; + break; + case "selAjax": + e.InputParameters[nomeCol] = ((mod_selettore_ajax)grView.FooterRow.FindControl(string.Format("selAjax_{0}", nomeCol))).valore; + break; + default: + break; + } + tipoColonna = ""; + } + } + /// + /// inserisce nuovo valore da footer + /// + /// + /// + protected void lblIns_click(object sender, EventArgs e) + { + // click su inserimento, chiamo il metodo insert dell'ObjectDataSource + ods.Insert(); + SteamWare.memLayer.ML.emptyCacheVal(_tabCache); + } + /// + /// annulla inserimento nuovo valore da footer + /// + /// + /// + protected void lblCanc_click(object sender, EventArgs e) + { + // annullo inserimento: nascondo footer, bind controlli... + grView.FooterRow.Visible = false; + } + + /// + /// aggiorna controlli datagrid e numero righe in pagina + /// + protected override void aggiornaControlliDataGL() + { + base.aggiornaControlliDataGL(); + grView.PageSize = _righeDataGridMed; + } + /// + /// traduce gli header delle colonne + /// + /// + /// + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); + lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); + } + else + { + lblNumRec.Text = ""; + } + } + /// + /// gestione evento richeista nuovo valore (mostra footer, ...) + /// + /// + /// + protected void btnNew_Click(object sender, EventArgs e) + { + // reset selezione... + resetSelezione(); + // mostro il footer oppure la riga dei dettagli x nuovo... + if (grView.FooterRow != null) + { + grView.FooterRow.Visible = true; + } + // sollevo evento nuovo valore... + if (eh_nuovoValore != null) + { + eh_nuovoValore(this, new EventArgs()); + } + } + /// + /// reset della selezione + /// + /// + /// + protected void btnReset_Click(object sender, EventArgs e) + { + resetSelezione(); + } + + /// + /// collega i controlli + /// + protected override void bindControlli() + { + base.bindControlli(); + caricaTabelle(); + } + + #endregion + + #region gestione eventi + + //public event EventHandler eh_resetSelezione; + public event EventHandler eh_nuovoValore; + //public event EventHandler eh_selValore; + + #endregion + + #region public + + /// + /// definisce visibilità btnNew + /// + public bool showNewBtn + { + get + { + return _showNewBtn; + } + set + { + _showNewBtn = value; + } + } + /// + /// effettua update del modulo + /// + public void doUpdate() + { + resetSelezione(); + } + + + #endregion + + #endregion + + #region area codice variabile + + + /// + /// carico le tabelle + /// + private void caricaTabelle() + { + } + /// + /// verifica complessiva non esistenza record child + /// + /// + /// + protected bool objIsNotRelated(object idxObj) + { + bool answ = true; + return answ; + } + /// + /// elenco colonne del datagrid + /// + /// + protected DataColumnCollection colonneObj() + { + DS_magazzino.ElencoListePrelievoDataTable tabella = new DS_magazzino.ElencoListePrelievoDataTable(); + DataColumnCollection colonne = tabella.Columns; + return colonne; + } + /// + /// inizializzazione valori di default + /// + /// + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + _idxGridView = "CodLista"; + if (!Page.IsPostBack) + { + btnForceReload.Text = traduci("ReloadDataMatrix"); + setBtnState(); + mod_viewRigheListaPrelievo1.Visible = false; + mod_periodoAnalisi1.setPeriodoFree(); + mod_filtroStato.ods = odsFiltroStati; + mod_filtroTipo.ods = odsTipoLista; + // controllo se ci sia richiesta x creare nuova lista, nel caso precompilo valori... + if (memLayer.ML.BoolSessionObj("PrecompilaListaPrelievo")) + { + mod_nuovaListaPrelievo1.Visible = true; + mod_nuovaListaPrelievo1.ParticolareRichiesto = memLayer.ML.StringSessionObj("Particolare_sel"); + memLayer.ML.emptySessionVal("PrecompilaListaPrelievo"); + } + else + { + mod_nuovaListaPrelievo1.Visible = false; + } + pnlSetDestTipo.Visible = false; + } + // registro evento update + mod_viewRigheListaPrelievo1.eh_nuovoValore += new EventHandler(mod_viewRigheListaPrelievo1_eh_nuovoValore); + mod_periodoAnalisi1.eh_doUpdate += new EventHandler(mod_periodoAnalisi1_eh_doUpdate); + mod_nuovaListaPrelievo1.eh_nuovoValore += new EventHandler(mod_nuovaListaPrelievo1_eh_nuovoValore); + } + /// + /// seleziona/deseleziona le righe indicate... + /// + /// + /// + protected void btnSelAll_Click(object sender, EventArgs e) + { + // seleziono tutti i valori visibili nel datagrid + CheckBox chkbox = ((CheckBox)sender); + bool isChecked = chkbox.Checked; + if (!isChecked) + { + chkbox.ToolTip = traduci("btnSelAll"); + } + else + { + chkbox.ToolTip = traduci("btnDeselAll"); + } + foreach (GridViewRow riga in grView.Rows) + { + ((CheckBox)riga.FindControl("chkSelect")).Checked = isChecked; + } + } + /// + /// mostra oggetti x creare una nuova lista di prelievo + /// + /// + /// + void mod_nuovaListaPrelievo1_eh_nuovoValore(object sender, EventArgs e) + { + if (modo == ctrlMode.standard) + { + modo = ctrlMode.nuovaLDP; + } + else + { + modo = ctrlMode.standard; + } + setBtnState(); + checkFixOds(); + } + /// + /// aggiorno x update selettore date + /// + /// + /// + void mod_periodoAnalisi1_eh_doUpdate(object sender, EventArgs e) + { + setBtnState(); + checkFixOds(); + } + /// + /// aggiorno x update valori righe prelievo + /// + /// + /// + void mod_viewRigheListaPrelievo1_eh_nuovoValore(object sender, EventArgs e) + { + setBtnState(); + checkFixOds(); + } + /// + /// svuoto da cache post update + /// + /// + /// + protected void ods_Updated(object sender, ObjectDataSourceStatusEventArgs e) + { + resetSelezione(); + } + /// + /// aggiorno visualizzazione + /// + private void updateOds() + { + grView.DataBind(); + } + + /// + /// determina se sia eliminabile il record (=non usato oppure smart) + /// + /// stato lista + /// + public bool delEnabled(object codStato) + { + bool answ = isWritable(); + try + { + answ = ((int)codStato < (int)statoLista.iniziata); + } + catch + { } + return answ; + } + /// + /// determina se sia abilitato il pulsante x attivare una lista di prelievo + /// + /// + /// + public bool attivaEnabled(object codStato) + { + bool answ = false; + try + { + answ = ((int)codStato == (int)statoLista.bozza); + } + catch + { } + return answ; + } + /// + /// determina se sia abilitato il pulsante x iniziare una lista di prelievo + /// + /// + /// + public bool iniziaEnabled(object codStato) + { + bool answ = false; + try + { + answ = ((int)codStato == (int)statoLista.generata); + } + catch + { } + return answ; + } + /// + /// determina se sia abilitato il pulsante x completare una lista di prelievo + /// + /// + /// + public bool completaEnabled(object codStato) + { + bool answ = false; + try + { + answ = ((int)codStato == (int)statoLista.iniziata); + } + catch + { } + return answ; + } + /// + /// determina se sia abilitato il pulsante x approvare e scaricare una lista di prelievo + /// + /// stato lista + /// tipo lista di prelievo + /// + public bool ScaricaEnabled(object codStato, object codTipo) + { + bool answ = false; + // se la lista è di tipo smart NON si può comunque scaricare, cerco smart nel codice e NON lo deve contenere + if (!codTipo.ToString().Contains("Smart")) + { + try + { + answ = ((int)codStato == (int)statoLista.completata); + } + catch + { } + } + return answ; + } + /// + /// determina se sia abilitato il pulsante x resettare una lista di prelievo a bozza + /// + /// codice univoco lista prelievo + /// stato lista + /// + public bool ResetVisible(object codLista, object codStato) + { + bool answ = false; + // condizione: NON CI SIANO ODETTE + bool condOdette = false; ; + // condizione: non in carico ad operatore + bool condStato = false; ; + try + { + // se >= completata resetto + condStato = ((int)codStato >= (int)statoLista.completata); + // cerco odette x la LDP, se NON ci sono è ok! + condOdette = !Odette.mgr.listaHasOdette(codLista.ToString()); + } + catch + { } + answ = (condOdette && condStato); // aggiungere controllo scrivibilità? isWritable(); + return answ; + } + /// + /// determina se sia abilitato il pulsante x resettare una lista di prelievo a bozza + /// + /// codice univoco lista prelievo + /// stato lista + /// tipo lista di prelievo + /// + public bool ResetEnabled(object codLista, object codStato, object codTipo) + { + bool answ = false; + // se la lista è di tipo smart NON si può comunque scaricare, cerco smart nel codice e NON lo deve contenere + if (!codTipo.ToString().Contains("Smart")) + { + // condizione: NON CI SIANO ODETTE + bool condOdette = false; ; + // condizione: non in carico ad operatore + bool condStato = false; ; + try + { + // se >= completata resetto + condStato = ((int)codStato >= (int)statoLista.completata); + // cerco odette x la LDP, se NON ci sono è ok! + condOdette = !Odette.mgr.listaHasOdette(codLista.ToString()); + } + catch + { } + answ = (condOdette && condStato); + } + return answ; + } + /// + /// sistema il tooltip di reset + /// + /// + /// + public string tooltipReset(object codTipo) + { + string answ = ""; + if (!codTipo.ToString().Contains("Smart")) + { + answ = traduci("ResetListaPrelievo"); + } + else + { + answ = traduci("ResetSmartNotEnabled"); + } + return answ; + } + /// + /// imposta immagine reset + /// + /// + /// + public string imgReset(object codTipo) + { + string answ = ""; + if (!codTipo.ToString().Contains("Smart")) + { + answ = "~/images/resetBozza.png"; + } + else + { + answ = "~/images/resetBozza_disabled.png"; + } + return answ; + } + /// + /// gestione cambio selezione valore + /// + /// + /// + protected void grView_SelectedIndexChanged(object sender, EventArgs e) + { + setBtnState(); + checkFixOds(); + } + /// + /// aggiorna visualizzazione + /// + private void aggiornaElencoRighe() + { + // salvo in session il valore selezionato... + SteamWare.memLayer.ML.setSessionVal(string.Format("{0}_sel", _idxGridView), grView.SelectedValue, true); + // setto se sia possibile prelevare le righe (SOLO se iniziata) + bool prelievoOk = false; + bool cambioUdcOk = false; + int codStato = 0; + string codTipoLista = ""; + DS_magazzino.ElencoListePrelievoDataTable tabElencoListe = new DS_magazzino.ElencoListePrelievoDataTable(); + try + { + tabElencoListe = GMW_data.MagClass.magazzino.taElencoListePrelievo.getByCodLista(grView.SelectedValue.ToString()); + codStato = tabElencoListe[0].CodStatoLista; + codTipoLista = tabElencoListe[0].CodTipoLista; + cambioUdcOk = (codStato == (int)statoLista.bozza); + prelievoOk = (codStato == (int)statoLista.iniziata); + } + catch + { } + mod_viewRigheListaPrelievo1.prelievoEnabled = prelievoOk; // abilito il prelievo SOLO se la lista è già iniziata... + mod_viewRigheListaPrelievo1.editRigheEnabled = cambioUdcOk; // abilito il prelievo SOLO se la lista è in BOZZA... + mod_viewRigheListaPrelievo1.intStatoLista = codStato; // salvo il cod (INT) stato della lista + mod_viewRigheListaPrelievo1.codTipoLista = codTipoLista; // salvo il tipo lista + // mostra con dettagli + mod_viewRigheListaPrelievo1.Visible = true; + mod_viewRigheListaPrelievo1.resetSelezione(); + } + /// + /// resetta la selezione dei valori in caso di modifiche su altri controlli + /// + public void resetSelezione() + { + SteamWare.memLayer.ML.emptySessionVal(string.Format("{0}_sel", _idxGridView)); + grView.SelectedIndex = -1; + setBtnState(); + checkFixOds(); + lblWarning.Visible = false; + // nasconde dettagli + mod_viewRigheListaPrelievo1.Visible = false; + } + /// + /// salvo in session il prox comando + /// + /// + /// + protected void img_Click(object sender, ImageClickEventArgs e) + { + SteamWare.memLayer.ML.setSessionVal("nextObjCommand", ((ImageButton)sender).CommandArgument); + } + /// + /// in caso di aggiornamento verifico se sia salvato un comando inizia o completa lista prelievo... + /// + /// + /// + protected void grView_RowUpdating(object sender, GridViewUpdateEventArgs e) + { + // carico l'idx dell'oggetto + string codLista = e.Keys["CodLista"].ToString(); + // quale comando? + string _comando = ""; + if (SteamWare.memLayer.ML.isInSessionObject("nextObjCommand")) + { + _comando = SteamWare.memLayer.ML.StringSessionObj("nextObjCommand"); + SteamWare.memLayer.ML.emptySessionVal("nextObjCommand"); + } + string CodSoggetto = MagClass.magazzino.CodSoggCurrUser; + esitoOperazione result = esitoOperazione.ok; + switch (_comando) + { + case "attivaListaPrelievo": + result = GMW_data.MagClass.magazzino.attivaListaPrelievo(memLayer.ML.StringSessionObj("CodCS"), codLista, CodSoggetto); + showErrorLDP(result); + updateOds(); + grView.EditIndex = -1; + grView.DataBind(); + // sollevo evento nuovo valore... + if (eh_nuovoValore != null) + { + eh_nuovoValore(this, new EventArgs()); + } + mod_viewRigheListaPrelievo1.Visible = false; + // blocco update! + e.Cancel = true; + break; + case "iniziaListaPrelievo": + result = GMW_data.MagClass.magazzino.iniziaListaPrelievo(memLayer.ML.StringSessionObj("CodCS"), codLista, CodSoggetto); + showErrorLDP(result); + updateOds(); + grView.EditIndex = -1; + grView.DataBind(); + // sollevo evento nuovo valore... + if (eh_nuovoValore != null) + { + eh_nuovoValore(this, new EventArgs()); + } + mod_viewRigheListaPrelievo1.Visible = false; + // blocco update! + e.Cancel = true; + break; + case "completaListaPrelievo": + result = GMW_data.MagClass.magazzino.completaListaPrelievo(memLayer.ML.StringSessionObj("CodCS"), codLista, CodSoggetto, Request.UserHostName); + showErrorLDP(result); + updateOds(); + grView.EditIndex = -1; + grView.DataBind(); + // sollevo evento nuovo valore... + if (eh_nuovoValore != null) + { + eh_nuovoValore(this, new EventArgs()); + } + mod_viewRigheListaPrelievo1.Visible = false; + // blocco update! + e.Cancel = true; + break; + case "scaricaListaPrelievo": + result = GMW_data.MagClass.magazzino.scaricaListaPrelievo(memLayer.ML.StringSessionObj("CodCS"), codLista, CodSoggetto, Request.UserHostName); + showErrorLDP(result); + updateOds(); + grView.EditIndex = -1; + grView.DataBind(); + // sollevo evento nuovo valore... + if (eh_nuovoValore != null) + { + eh_nuovoValore(this, new EventArgs()); + } + mod_viewRigheListaPrelievo1.Visible = false; + // blocco update! + e.Cancel = true; + break; + case "resetListaPrelievo": + result = GMW_data.MagClass.magazzino.resetListaPrelievo(memLayer.ML.StringSessionObj("CodCS"), codLista, CodSoggetto, Request.UserHostName); + showErrorLDP(result); + updateOds(); + grView.EditIndex = -1; + grView.DataBind(); + // sollevo evento nuovo valore... + if (eh_nuovoValore != null) + { + eh_nuovoValore(this, new EventArgs()); + } + mod_viewRigheListaPrelievo1.Visible = false; + // blocco update! + e.Cancel = true; + break; + default: + // faccio update! + break; + } + } + /// + /// imposta la visualizzazione di un codice di errore a seconda di come è andata l'operazione sulla LDP + /// + /// + private void showErrorLDP(esitoOperazione result) + { + if (result != esitoOperazione.ok) + { + switch (result) + { + case esitoOperazione.errore: + lblErroriLDP.Text = traduci("erroreLDP"); + break; + case esitoOperazione.errore_mismatch: + lblErroriLDP.Text = traduci("errore_mismatch"); + break; + case esitoOperazione.errore_readOnly: + lblErroriLDP.Text = traduci("errore_readOnly"); + break; + case esitoOperazione.errore_posUDC: + lblErroriLDP.Text = traduci("errore_posUDC"); + break; + case esitoOperazione.errore_noUdc: + lblErroriLDP.Text = traduci("errore_noUdc"); + break; + case esitoOperazione.errore_nonScaricabile: + lblErroriLDP.Text = traduci("errore_nonScaricabile"); + break; + } + lblErroriLDP.Visible = true; + } + else + { + lblErroriLDP.Visible = false; + } + } + /// + /// chiamato post modifica valore check/selezione nel selettore filtro stato + /// + /// + /// + public void eh_selectedStato(object sender, EventArgs e) + { + checkFixOds(); + } + /// + /// ssitema visualizzazione dal filtraggi + /// + private void checkFixOds() + { + ods.FilterParameters.Clear(); + ods.FilterExpression = "(CodLista LIKE '%{0}%' OR Particolare LIKE '%{0}%' OR DescParticolare LIKE '%{0}%')"; + // parametro ricerca attuale + SessionParameter parametroFiltro = new SessionParameter(); + parametroFiltro.SessionField = "valoreCercato"; + parametroFiltro.Name = "ricerca"; + parametroFiltro.DefaultValue = "*"; + ods.FilterParameters.Add(parametroFiltro); + if (mod_filtroStato.valore != "*") + { + ods.FilterExpression += " AND CodStatoLista = {1}"; + } + ControlParameter parametroListaStato = new ControlParameter(); + parametroListaStato.ControlID = "mod_filtroStato"; + parametroListaStato.PropertyName = "valore"; + parametroListaStato.Name = "CodStato"; + parametroListaStato.DefaultValue = "0"; + ods.FilterParameters.Add(parametroListaStato); + if (mod_filtroTipo.valore != "*") + { + ods.FilterExpression += " AND CodTipoLista = '{2}'"; + } + ControlParameter parametroListaTipo = new ControlParameter(); + parametroListaTipo.ControlID = "mod_filtroTipo"; + parametroListaTipo.PropertyName = "valore"; + parametroListaTipo.Name = "CodTipoLista"; + parametroListaTipo.DefaultValue = "0"; + ods.FilterParameters.Add(parametroListaTipo); + // se ono in modalità scarico multiplo nascondo stati !=3 e SmartList... + if (modo == ctrlMode.scaricaMultiLDP) + { + ods.FilterExpression += " AND CodStatoLista = 3 AND CodTipoLista <> '00-Smart'"; + } + + // chiamo procedura che aggiorna ods principale + updateOds(); + // ridisegno controllo child! + aggiornaElencoRighe(); + } + /// + /// chiamato post modifica valore check/selezione nel selettore filtro tipo + /// + /// + /// + public void eh_selectedTipo(object sender, EventArgs e) + { + checkFixOds(); + } + /// + /// restituisce URL immagine del codice da mostrare x stato lista + /// + /// + /// + public string pathImgStato(object codStato) + { + return string.Format("~/images/circle_s_{0}.png", codStato); + } + /// + /// restituisce tooltip da mostrare x STATO lista + /// + /// + /// + public string tooltipStato(object codice) + { + return traduci(string.Format("StatoLista_{0}", codice)); + } + /// + /// restituisce URL immagine del codice da mostrare x TIPO lista + /// + /// + /// + public string pathImgTipo(object codice) + { + return string.Format("~/images/lista_{0}_m.png", codice); + } + /// + /// restituisce tooltip da mostrare x TIPO lista + /// + /// + /// + public string tooltipTipo(object codice) + { + return traduci(codice.ToString()); + } + /// + /// mostra controllo per creare nuove liste di prelievo + /// + /// + /// + protected void btnNewLista_Click(object sender, EventArgs e) + { + if (modo == ctrlMode.standard) + { + modo = ctrlMode.nuovaLDP; + } + else + { + modo = ctrlMode.standard; + } + grView.SelectedIndex = -1; + setBtnState(); + checkFixOds(); + } + /// + /// mostra controllo per modificare destinatario e tipo lista + /// + /// + /// + protected void btnSetDestTipo_Click(object sender, EventArgs e) + { + if (modo == ctrlMode.standard) + { + modo = ctrlMode.setDestTipoLDP; + } + else + { + modo = ctrlMode.standard; + } + grView.SelectedIndex = -1; + setBtnState(); + checkFixOds(); + } + /// + /// va in modalità scaricamento liste multiple in blocco + /// + /// + /// + protected void btnSetModeScaricaListeSel_Click(object sender, EventArgs e) + { + if (modo == ctrlMode.standard) + { + modo = ctrlMode.scaricaMultiLDP; + } + else + { + modo = ctrlMode.standard; + } + grView.SelectedIndex = -1; + setBtnState(); + checkFixOds(); + } + /// + /// imposta lo stato dei buttons (visibilità, label...) in base a stato controllo + /// + protected void setBtnState() + { + // traduzioni "base" + btnNewLista.Text = traduci("NuovaListaPrelievo"); + btnSetDestTipo.Text = traduci("ImpostaDestTipo"); + btnUpdateDestTipo.Text = traduci("SalvaDestTipo"); + btnSetModeScaricaListeSel.Text = traduci("btnSetModeScaricaListeSel"); + btnScaricaSelLDP.Text = traduci("btnScaricaSelLDP"); + // visibilità "base" + btnNewLista.Visible = true; + btnSetDestTipo.Visible = true; + btnSetModeScaricaListeSel.Visible = true; + pnlSetDestTipo.Visible = false; + pnlScaricaMultiLDP.Visible = false; + mod_nuovaListaPrelievo1.Visible = false; + + // in base a modo imposto... + switch (modo) + { + case ctrlMode.standard: + // tutto standard... + break; + case ctrlMode.nuovaLDP: + // traduzioni + btnNewLista.Text = traduci("NascondiNuovaListaPrelievo"); + // visibilità + btnSetDestTipo.Visible = false; + btnSetModeScaricaListeSel.Visible = false; + mod_nuovaListaPrelievo1.Visible = true; + break; + case ctrlMode.setDestTipoLDP: + // traduzioni + btnSetDestTipo.Text = traduci("NascondiImpostaDestTipo"); + // visibilità + btnNewLista.Visible = false; + btnSetModeScaricaListeSel.Visible = false; + pnlSetDestTipo.Visible = true; + break; + case ctrlMode.scaricaMultiLDP: + // traduzioni + btnSetModeScaricaListeSel.Text = traduci("btnUnSetModeScaricaListeSel"); + // visibilità + btnNewLista.Visible = false; + btnSetDestTipo.Visible = false; + pnlScaricaMultiLDP.Visible = true; + break; + default: + break; + } + } + /// + /// traduce il cod soggetto in cognome-nome operatore + /// + /// + /// In carico a: / Completato da: / ... + /// + public string traduciCodSogg(object CodSogg, object stringaPre) + { + string answ = "-"; + try + { + DS_Applicazione.AnagOperatoriRow oper = DataProxy.obj.taAnagOperatore.getByCodSoggetto(CodSogg.ToString())[0]; + answ = string.Format("{3} {0} {1} ({2})", oper.Cognome, oper.Nome, oper.CodDipendente, stringaPre); // Ermanno: traduzione testo! + } + catch + { } + return answ; + } + + /// + /// restituisce l'url formattato del il report della stampa come da web.config + /// + /// + /// + public string formattaUrlReport(object codLista) + { + string url, urlFormat, opzPdf, nomeRep, urlWebServer; + try + { + urlFormat = SteamWare.memLayer.ML.confReadString("urlReporting"); + urlWebServer = SteamWare.memLayer.ML.confReadString("urlWebServer"); + opzPdf = ""; + nomeRep = SteamWare.memLayer.ML.confReadString("reportName"); + // versione con reporting services + url = string.Format(urlFormat, SteamWare.memLayer.ML.confReadString("reportingServerAddress"), SteamWare.memLayer.ML.confReadString("reportDir"), nomeRep, codLista, opzPdf); + + } + catch + { + url = ""; + } + return url; + } + /// + /// forza ricaricamento dati datamatrix/gitterbox/odette + /// + /// + /// + protected void btnForceReload_Click(object sender, EventArgs e) + { + DataMatrix.mgr.importNuoviDati(); + } + /// + /// aggiorna destinatario e tipo lista selezionate da valori indicati + /// + /// + /// + protected void btnUpdateDestTipo_Click(object sender, EventArgs e) + { + string CodLista = ""; + foreach (GridViewRow riga in grView.Rows) + { + if (((CheckBox)riga.FindControl("chkSelect")).Checked) + { + CodLista = ((Label)riga.FindControl("lblCodLista")).Text; + updateDestTipoLDP(CodLista); + } + } + if (modo == ctrlMode.standard) + { + modo = ctrlMode.setDestTipoLDP; + } + else + { + modo = ctrlMode.standard; + } + setBtnState(); + checkFixOds(); + } + /// + /// scarica le LDP selezionate... + /// + /// + /// + protected void btnScaricaSelLDP_Click(object sender, EventArgs e) + { + string CodLista = ""; + foreach (GridViewRow riga in grView.Rows) + { + if (((CheckBox)riga.FindControl("chkSelect")).Checked) + { + CodLista = ((Label)riga.FindControl("lblCodLista")).Text; + GMW_data.MagClass.magazzino.scaricaListaPrelievo(memLayer.ML.StringSessionObj("CodCS"), CodLista, MagClass.magazzino.CodSoggCurrUser, Request.UserHostName); + } + } + if (modo == ctrlMode.standard) + { + modo = ctrlMode.scaricaMultiLDP; + } + else + { + modo = ctrlMode.standard; + } + setBtnState(); + checkFixOds(); + } + /// + /// determina abilitazione pulsante check: se siano modificabili destinatario e tipo lista, SOLO in stato completato (3/4) + /// + /// + /// + public bool modDestAndTipo(object codStato) + { + bool answ = false; + try + { + answ = ((int)codStato == (int)statoLista.completata); + } + catch + { } + return answ; + } + /// + /// aggiorna la lista di prelievo indicata impostando destinatario e tipo + /// + /// + private void updateDestTipoLDP(string CodLista) + { + GMW_data.MagClass.magazzino.taElencoListePrelievo.stp_LP_updateDestTipo(CodLista, ddlTipoLista.SelectedValue, ddlDestinatario.SelectedValue, ddlDestinatario.SelectedItem.Text); + } + /// + /// modo di funzionamento del controllo + /// + protected ctrlMode modo + { + get + { + ctrlMode answ = ctrlMode.standard; + try + { + answ = (ctrlMode)memLayer.ML.objSessionObj("ctrlMode"); + } + catch + { } + return answ; + } + set + { + memLayer.ML.setSessionVal("ctrlMode", value, false); + } + } + /// + /// chiamata post page change gridview + /// + /// + /// + protected void grView_PageIndexChanged(object sender, EventArgs e) + { + // sistemazione dell'ods post evento cambio pagina + checkFixOds(); + } + /// + /// chiamata post sort gridview + /// + /// + /// + protected void grView_Sorted(object sender, EventArgs e) + { + // sistemazione dell'ods + checkFixOds(); + } + /// + /// entrando in editing fix ods + /// + /// + /// + protected void grView_RowEditing(object sender, GridViewEditEventArgs e) + { + // sistemazione dell'ods post evento sort + checkFixOds(); + } + /// + /// post edit fix ods + /// + /// + /// + protected void grView_RowUpdated(object sender, GridViewUpdatedEventArgs e) + { + // sistemazione dell'ods + checkFixOds(); + } + + #endregion + } +} +/// +/// possibili stati del controllo +/// +public enum ctrlMode +{ + standard = 0, + nuovaLDP, + setDestTipoLDP, + scaricaMultiLDP +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_elencoListePrelievo.ascx.designer.cs b/GMW/WebUserControls/mod_elencoListePrelievo.ascx.designer.cs new file mode 100644 index 00000000..c5c2a7c7 --- /dev/null +++ b/GMW/WebUserControls/mod_elencoListePrelievo.ascx.designer.cs @@ -0,0 +1,241 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4971 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW.WebUserControls { + + + public partial class mod_elencoListePrelievo { + + /// + /// mod_periodoAnalisi1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_periodoAnalisi mod_periodoAnalisi1; + + /// + /// mod_filtroStato control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_filtro mod_filtroStato; + + /// + /// odsFiltroStati control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsFiltroStati; + + /// + /// mod_filtroTipo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_filtro mod_filtroTipo; + + /// + /// odsTipoLista control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsTipoLista; + + /// + /// btnForceReload control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnForceReload; + + /// + /// btnNewLista control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnNewLista; + + /// + /// btnSetDestTipo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnSetDestTipo; + + /// + /// btnSetModeScaricaListeSel control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnSetModeScaricaListeSel; + + /// + /// mod_nuovaListaPrelievo1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_nuovaListaPrelievo mod_nuovaListaPrelievo1; + + /// + /// pnlSetDestTipo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlSetDestTipo; + + /// + /// ddlTipoLista control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.DropDownList ddlTipoLista; + + /// + /// ObjectDataSource1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ObjectDataSource1; + + /// + /// lblDestinatario control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblDestinatario; + + /// + /// ddlDestinatario control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.ComboBox ddlDestinatario; + + /// + /// odsDestinatario control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsDestinatario; + + /// + /// btnUpdateDestTipo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnUpdateDestTipo; + + /// + /// pnlScaricaMultiLDP control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlScaricaMultiLDP; + + /// + /// btnScaricaSelLDP control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnScaricaSelLDP; + + /// + /// lblErroriLDP control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblErroriLDP; + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// lblNumRec control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumRec; + + /// + /// lblWarning control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblWarning; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; + + /// + /// mod_viewRigheListaPrelievo1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_viewRigheListaPrelievo mod_viewRigheListaPrelievo1; + } +} diff --git a/GMW/WebUserControls/mod_execCelle.ascx b/GMW/WebUserControls/mod_execCelle.ascx new file mode 100644 index 00000000..4c9bc8e4 --- /dev/null +++ b/GMW/WebUserControls/mod_execCelle.ascx @@ -0,0 +1,24 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_execCelle.ascx.cs" Inherits="GMW.WebUserControls.mod_execCelle" %> + + + + + + + + + + + + + + +
+ +
+ +
+ +
+ +
diff --git a/GMW/WebUserControls/mod_execCelle.ascx.cs b/GMW/WebUserControls/mod_execCelle.ascx.cs new file mode 100644 index 00000000..e2c7022f --- /dev/null +++ b/GMW/WebUserControls/mod_execCelle.ascx.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +namespace GMW.WebUserControls +{ + public partial class mod_execCelle : System.Web.UI.UserControl + { + protected void Page_Load(object sender, EventArgs e) + { + lblTitolo.Text = traduci("OpCelle"); + } + /// + /// wrapper traduzione + /// + /// + /// + public string traduci(object lemma) + { + return user_std.UtSn.Traduci(lemma.ToString()); + } + + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_execCelle.ascx.designer.cs b/GMW/WebUserControls/mod_execCelle.ascx.designer.cs new file mode 100644 index 00000000..f1a80bdd --- /dev/null +++ b/GMW/WebUserControls/mod_execCelle.ascx.designer.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW.WebUserControls { + + + public partial class mod_execCelle { + + /// + /// lblTitolo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblTitolo; + + /// + /// Button1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button Button1; + + /// + /// Button2 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button Button2; + + /// + /// Button3 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button Button3; + + /// + /// Button4 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button Button4; + } +} diff --git a/GMW/WebUserControls/mod_execImballi.ascx b/GMW/WebUserControls/mod_execImballi.ascx new file mode 100644 index 00000000..930ecd92 --- /dev/null +++ b/GMW/WebUserControls/mod_execImballi.ascx @@ -0,0 +1,24 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_execImballi.ascx.cs" Inherits="GMW.WebUserControls.mod_execImballi" %> + + + + + + + + + + + + + + +
+ +
+ +
+ +
+ +
diff --git a/GMW/WebUserControls/mod_execImballi.ascx.cs b/GMW/WebUserControls/mod_execImballi.ascx.cs new file mode 100644 index 00000000..6b18a536 --- /dev/null +++ b/GMW/WebUserControls/mod_execImballi.ascx.cs @@ -0,0 +1,27 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +namespace GMW.WebUserControls +{ + public partial class mod_execImballi : System.Web.UI.UserControl + { + protected void Page_Load(object sender, EventArgs e) + { + lblTitolo.Text = traduci("OpImballi"); + } + /// + /// wrapper traduzione + /// + /// + /// + public string traduci(object lemma) + { + return user_std.UtSn.Traduci(lemma.ToString()); + } + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_execImballi.ascx.designer.cs b/GMW/WebUserControls/mod_execImballi.ascx.designer.cs new file mode 100644 index 00000000..d15b2c60 --- /dev/null +++ b/GMW/WebUserControls/mod_execImballi.ascx.designer.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW.WebUserControls { + + + public partial class mod_execImballi { + + /// + /// lblTitolo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblTitolo; + + /// + /// Button1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button Button1; + + /// + /// Button2 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button Button2; + + /// + /// Button3 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button Button3; + + /// + /// Button4 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button Button4; + } +} diff --git a/GMW/WebUserControls/mod_execOperatori.ascx b/GMW/WebUserControls/mod_execOperatori.ascx new file mode 100644 index 00000000..8f8516e3 --- /dev/null +++ b/GMW/WebUserControls/mod_execOperatori.ascx @@ -0,0 +1,24 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_execOperatori.ascx.cs" Inherits="GMW.WebUserControls.mod_execOperatori" %> + + + + + + + + + + + + + + +
+ +
+ +
+ +
+ +
diff --git a/GMW/WebUserControls/mod_execOperatori.ascx.cs b/GMW/WebUserControls/mod_execOperatori.ascx.cs new file mode 100644 index 00000000..8242d5bd --- /dev/null +++ b/GMW/WebUserControls/mod_execOperatori.ascx.cs @@ -0,0 +1,27 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +namespace GMW.WebUserControls +{ + public partial class mod_execOperatori : System.Web.UI.UserControl + { + protected void Page_Load(object sender, EventArgs e) + { + lblTitolo.Text = traduci("OpOperatori"); + } + /// + /// wrapper traduzione + /// + /// + /// + public string traduci(object lemma) + { + return user_std.UtSn.Traduci(lemma.ToString()); + } + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_execOperatori.ascx.designer.cs b/GMW/WebUserControls/mod_execOperatori.ascx.designer.cs new file mode 100644 index 00000000..1324e082 --- /dev/null +++ b/GMW/WebUserControls/mod_execOperatori.ascx.designer.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW.WebUserControls { + + + public partial class mod_execOperatori { + + /// + /// lblTitolo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblTitolo; + + /// + /// Button1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button Button1; + + /// + /// Button2 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button Button2; + + /// + /// Button3 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button Button3; + + /// + /// Button4 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button Button4; + } +} diff --git a/GMW/WebUserControls/mod_execParticolari.ascx b/GMW/WebUserControls/mod_execParticolari.ascx new file mode 100644 index 00000000..04775a5d --- /dev/null +++ b/GMW/WebUserControls/mod_execParticolari.ascx @@ -0,0 +1,23 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_execParticolari.ascx.cs" + Inherits="GMW.WebUserControls.mod_execParticolari" %> + + + + + <%-- + + + + + + --%> + +
+ + + +
+ + + +
diff --git a/GMW/WebUserControls/mod_execParticolari.ascx.cs b/GMW/WebUserControls/mod_execParticolari.ascx.cs new file mode 100644 index 00000000..5da9de85 --- /dev/null +++ b/GMW/WebUserControls/mod_execParticolari.ascx.cs @@ -0,0 +1,69 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +namespace GMW.WebUserControls +{ + public partial class mod_execParticolari : System.Web.UI.UserControl + { + protected void Page_Load(object sender, EventArgs e) + { + traduciObj(); + } + /// + /// traduzione oggetti + /// + private void traduciObj() + { + btnGo2Mag.Text = traduci("btnGo2Mag"); + btnCreaListaPrelievo.Text = traduci("btnCreaListaPrelievo"); + } + /// + /// evento btnGoToMag + /// + public event EventHandler eh_btnGoToMagPressed; + /// + /// evento btn1 + /// + public event EventHandler eh_btnListaPrelievoPressed; + /// + /// wrapper traduzione + /// + /// + /// + public string traduci(object lemma) + { + return user_std.UtSn.Traduci(lemma.ToString()); + } + /// + /// va a dettaglio magazzino... + /// + /// + /// + protected void btnGo2Mag_Click(object sender, EventArgs e) + { + // sollevo evento nuovo valore... + if (eh_btnGoToMagPressed != null) + { + eh_btnGoToMagPressed(this, new EventArgs()); + } + } + /// + /// crea listsa di prelievo x il particolare indicato (precompila...) + /// + /// + /// + protected void btnCreaListaPrelievo_Click(object sender, EventArgs e) + { + // sollevo evento nuovo valore... + if (eh_btnListaPrelievoPressed != null) + { + eh_btnListaPrelievoPressed(this, new EventArgs()); + } + } + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_execParticolari.ascx.designer.cs b/GMW/WebUserControls/mod_execParticolari.ascx.designer.cs new file mode 100644 index 00000000..ee1e33a6 --- /dev/null +++ b/GMW/WebUserControls/mod_execParticolari.ascx.designer.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW.WebUserControls { + + + public partial class mod_execParticolari { + + /// + /// btnGo2Mag control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnGo2Mag; + + /// + /// btnCreaListaPrelievo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnCreaListaPrelievo; + } +} diff --git a/GMW/WebUserControls/mod_execUDC.ascx b/GMW/WebUserControls/mod_execUDC.ascx new file mode 100644 index 00000000..ea0e0f03 --- /dev/null +++ b/GMW/WebUserControls/mod_execUDC.ascx @@ -0,0 +1,66 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_execUDC.ascx.cs" + Inherits="GMW.WebUserControls.mod_execUDC" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %> + + + + + + + + + + + + +
+ + + +
+ + + + + + + + + + +
+ +
+ +
+ [ALT-U]
+ + +
+
+ + + + + + + + + + +
+ +
+ + +
+ [ALT-W]
+ + + +
+
+ +
diff --git a/GMW/WebUserControls/mod_execUDC.ascx.cs b/GMW/WebUserControls/mod_execUDC.ascx.cs new file mode 100644 index 00000000..6fe63b41 --- /dev/null +++ b/GMW/WebUserControls/mod_execUDC.ascx.cs @@ -0,0 +1,162 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; +using GMW_data; + +namespace GMW.WebUserControls +{ + public partial class mod_execUDC : System.Web.UI.UserControl + { + protected void Page_Load(object sender, EventArgs e) + { + traduciObj(); + if (!Page.IsPostBack) + { + azzeraPostUpdate(); + } + } + /// + /// traduzione oggetti + /// + private void traduciObj() + { + btnGo2Mag.Text = traduci("btnGo2Mag"); + btnCreaListaPrelievo.Text = traduci("btnCreaListaPrelievo"); + lblQta.Text = traduci("lblQta"); + lblNewPos.Text = traduci("lblNewPos"); + lblErrore.Text = traduci("ErroreCellaDestOccupata"); + btnQta.Text = traduci("btnQta"); + btnSposta.Text = traduci("btnSposta"); + cbeQta.ConfirmText = traduci("confermaRettificaQta"); + cbeSposta.ConfirmText = traduci("confermaSpostamentoUDC"); + } + /// + /// evento btnGoToMag + /// + public event EventHandler eh_btnGoToMagPressed; + /// + /// evento btn1 + /// + public event EventHandler eh_btnListaPrelievoPressed; + /// + /// evento aggiornati dati + /// + public event EventHandler eh_nuovoValore; + /// + /// wrapper traduzione + /// + /// + /// + public string traduci(object lemma) + { + return user_std.UtSn.Traduci(lemma.ToString()); + } + /// + /// va a dettaglio magazzino... + /// + /// + /// + protected void btnGo2Mag_Click(object sender, EventArgs e) + { + // salvo l'UDC sel come val cercato cella... + memLayer.ML.setSessionVal("valoreCercatoCella", memLayer.ML.StringSessionObj("UDC_sel")); + memLayer.ML.emptySessionVal("Particolare_sel"); + // sollevo evento nuovo valore... + if (eh_btnGoToMagPressed != null) + { + eh_btnGoToMagPressed(this, new EventArgs()); + } + } + /// + /// crea listsa di prelievo x il particolare indicato (precompila...) + /// + /// + /// + protected void btnCreaListaPrelievo_Click(object sender, EventArgs e) + { + // sollevo evento nuovo valore... + if (eh_btnListaPrelievoPressed != null) + { + eh_btnListaPrelievoPressed(this, new EventArgs()); + } + } + /// + /// chiama procedura x spostamento tra celle di un UDC + /// + /// + /// + protected void btnSposta_Click1(object sender, EventArgs e) + { + // ricavo il valore dell'UDC cliccato... + string UDC = memLayer.ML.StringSessionObj("UDC_sel"); + int IdxCellaTo = 0; + bool cellaToOk = false; + try + { + DS_magazzino.CelleRow rowCella = MagClass.magazzino.taCelle.getByCodCella(txtNewCella.Text)[0]; + IdxCellaTo = rowCella.IdxCella; + // controllo che la cella di destinazione NON sia bloccata + cellaToOk = rowCella.Attiva; + } + catch + { } + if (cellaToOk) + { + // controllo che sia valido x fare l'operazione + if (IdxCellaTo > 0) + { + MagClass.magazzino.spostaUDC(memLayer.ML.StringSessionObj("CodCS"), UDC, IdxCellaTo, memLayer.ML.confReadBool("spostaUdcResettaLdp"), Request.UserHostName); + } + azzeraPostUpdate(); + if (eh_nuovoValore != null) + { + eh_nuovoValore(this, new EventArgs()); + } + } + else + { + // la cella è bloccata, nn devo permettere spostamento + lblErrore.Visible = true; + } + } + /// + /// aggiorna la qta pezzi dell'UDC indicato + /// + /// + /// + protected void btnQta_Click(object sender, EventArgs e) + { + string UDC = memLayer.ML.StringSessionObj("UDC_sel"); + decimal qta = 0; + try + { + qta = Convert.ToDecimal(txtQta.Text); + } + catch + { } + if (qta > 0) + { + MagClass.magazzino.rettificaQtaUDC(UDC, qta, Request.UserHostName); + } + azzeraPostUpdate(); + if (eh_nuovoValore != null) + { + eh_nuovoValore(this, new EventArgs()); + } + } + /// + /// reset controlli post aggiornamento + /// + private void azzeraPostUpdate() + { + lblErrore.Visible = false; + txtNewCella.Text = ""; + txtQta.Text = ""; + } + + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_execUDC.ascx.designer.cs b/GMW/WebUserControls/mod_execUDC.ascx.designer.cs new file mode 100644 index 00000000..656d0f74 --- /dev/null +++ b/GMW/WebUserControls/mod_execUDC.ascx.designer.cs @@ -0,0 +1,124 @@ +//------------------------------------------------------------------------------ +// +// 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_execUDC { + + /// + /// btnGo2Mag control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnGo2Mag; + + /// + /// btnCreaListaPrelievo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnCreaListaPrelievo; + + /// + /// lblQta control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblQta; + + /// + /// txtQta control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtQta; + + /// + /// btnQta control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnQta; + + /// + /// cbeQta control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.ConfirmButtonExtender cbeQta; + + /// + /// lblNewPos control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNewPos; + + /// + /// txtNewCella control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtNewCella; + + /// + /// aceParticolare control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.AutoCompleteExtender aceParticolare; + + /// + /// btnSposta control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnSposta; + + /// + /// cbeSposta control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.ConfirmButtonExtender cbeSposta; + + /// + /// lblErrore control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblErrore; + } +} diff --git a/GMW/WebUserControls/mod_filtro.ascx b/GMW/WebUserControls/mod_filtro.ascx new file mode 100644 index 00000000..6d57923d --- /dev/null +++ b/GMW/WebUserControls/mod_filtro.ascx @@ -0,0 +1,10 @@ +<%@ Control Language="C#" AutoEventWireup="true" Inherits="mod_filtro" Codebehind="mod_filtro.ascx.cs" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %> + + + \ No newline at end of file diff --git a/GMW/WebUserControls/mod_filtro.ascx.cs b/GMW/WebUserControls/mod_filtro.ascx.cs new file mode 100644 index 00000000..f459edc9 --- /dev/null +++ b/GMW/WebUserControls/mod_filtro.ascx.cs @@ -0,0 +1,408 @@ +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; +using SteamWare; + +public partial class mod_filtro : ApplicationUserControl +{ + protected string _css; + protected ObjectDataSource _ods; + protected string _valore + { + get + { + return memLayer.ML.StringSessionObj(string.Format("valFiltro_{0}", this.ID)); + } + set + { + memLayer.ML.setSessionVal(string.Format("valFiltro_{0}", this.ID), value, false); + } + } + protected bool _changeCheckEnabled = true; + protected bool _changeCheckVisible = true; + protected bool _changeSelEnabled = true; + protected string _where = ""; + protected string _showFiltered + { + get + { + return memLayer.ML.StringSessionObj(string.Format("_showFiltered_{0}", this.ID)); + } + set + { + memLayer.ML.setSessionVal(string.Format("_showFiltered_{0}", this.ID), value); + traduciObj(); + } + } + protected string _showAll + { + get + { + return memLayer.ML.StringSessionObj(string.Format("_showAll_{0}", this.ID)); + } + set + { + memLayer.ML.setSessionVal(string.Format("_showAll_{0}", this.ID), value); + traduciObj(); + } + } + + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + if (!Page.IsPostBack) + { + if (_showFiltered == "") _showFiltered = "mostraSoloSelez"; + if (_showAll == "") _showAll = "mostraTutti"; + } + } + + /// + /// traduzione oggetti + /// + protected override void traduciObj() + { + if (_changeCheckVisible) + { + if (!chkFilt.Checked) + { + chkFilt.Text = traduci(_showFiltered); + } + else + { + chkFilt.Text = traduci(_showAll); + } + } + } + /// + /// get/set messaggio di attivazione filtraggio + /// + public string filterChekText + { + get + { + return _showFiltered; + } + set + { + _showFiltered = value; + } + } + /// + /// get/set messaggio di disattivazione filtraggio + /// + public string filterUnchekText + { + get + { + return _showAll; + } + set + { + _showAll = value; + } + } + protected void chkFilt_CheckedChanged(object sender, EventArgs e) + { + // cambio modalità visualizzazione del filtro... + dlFilt.Visible = !dlFilt.Visible; + raiseSelEvent(); + } + + protected void raiseSelEvent() + { + if (!dlFilt.Visible) + { + memLayer.ML.setSessionVal(string.Format("valFiltro_{0}", this.ID), "", false); + } + else + { + _valore = dlFilt.SelectedValue; + } + if (eh_selValore != null) + { + eh_selValore(this, new EventArgs()); + } + } + protected void updateChk() + { + chkFilt.Enabled = _changeCheckEnabled; + if (!_changeCheckEnabled) + { + chkFilt.Checked = true; + dlFilt.Visible = true; + } + } + protected void updateSel() + { + dlFilt.Enabled = _changeSelEnabled; + } + protected void updateChkLbl() + { + chkFilt.Visible = _changeCheckVisible; + } + protected override void bindControlli() + { + updateChk(); + fixValore(); + where.Text = _where; + traduciObj(); + } + protected SteamWare.tipoVistaMod _modo = SteamWare.tipoVistaMod.editing; + protected void dlFilt_SelectedIndexChanged(object sender, EventArgs e) + { + raiseSelEvent(); + } + + + /// + /// condizione where per ridurre elementi mostrati in selettore + /// + public string condizione + { + get + { + return _where; + } + set + { + _where = value; + } + } + + /// + /// fornisce il valore scelto o "*" se nulla selezionato + /// + public string valore + { + get + { + string answ = "*"; + if (chkFilt.Checked) + { + answ = dlFilt.SelectedValue; + } + return answ; + } + set + { + _valore = value; + fixValore(); + } + } + + /// + /// primo valore di una chiave multicampo + /// + public string val_1 + { + get + { + string answ = ""; + if (chkFilt.Checked) + { + try + { + string[] _dataKey = dlFilt.SelectedValue.Split('#'); + answ = _dataKey[0]; + } + catch + { } + } + else + { + answ = "*"; + } + return answ; + } + } + /// + /// secondo valore di una chiave multicampo + /// + public string val_2 + { + get + { + string answ = ""; + if (chkFilt.Checked) + { + try + { + string[] _dataKey = dlFilt.SelectedValue.Split('#'); + answ = _dataKey[1]; + } + catch + { } + } + else + { + answ = "*"; + } + return answ; + } + } + /// + /// fornisce il valore scelto o "0" se nulla selezionato o non valido + /// + public int valoreInt + { + get + { + int answ = -1; + try + { + if (chkFilt.Checked) + { + answ = Convert.ToInt32(dlFilt.SelectedValue); + } + } + catch + { } + return answ; + } + } + protected void fixValore() + { + if (_ods != null) + { + try + { + dlFilt.DataSource = _ods; + dlFilt.DataBind(); + if (_valore != "") + { + dlFilt.SelectedValue = _valore; + dlFilt.Visible = true; + chkFilt.Checked = true; + } + } + catch + { } + } + } + + + public event EventHandler eh_selValore; + + /// + /// determina se sia possibile (de)selezionare il check di filtraggio, altrimenti sempre attivo + /// + public bool changeCheckEnabled + { + get + { + return _changeCheckEnabled; + } + set + { + _changeCheckEnabled = value; + updateChk(); + } + } + /// + /// determina se sia possibile modificare la selezione + /// + public bool changeSelEnabled + { + get + { + return _changeSelEnabled; + } + set + { + _changeSelEnabled = value; + updateSel(); + } + } + /// + /// determina se sia possibile visibile il check di filtraggio + /// + public bool changeCheckVisible + { + get + { + return _changeCheckVisible; + } + set + { + _changeCheckVisible = value; + updateChkLbl(); + } + } + /// + /// get/set della checkbox + /// + public bool isChecked + { + get + { + return chkFilt.Checked; + } + set + { + chkFilt.Checked = value; + dlFilt.Visible = value; + updateChkLbl(); + } + } + + /// + /// oggetto ODS con cui popolare il selettore, VINCOLO abbia campi value(key) / label + /// + public ObjectDataSource ods + { + get + { + return _ods; + } + set + { + _ods = value; + bindControlli(); + } + } + /// + /// css applicato agli elementi del controllo + /// + public string css + { + get + { + return _css; + } + set + { + _css = value; + } + } + /// + /// resetta il controllo (un-checked) + /// + public void reset() + { + chkFilt.Checked = false; + dlFilt.Visible = false; + memLayer.ML.emptySessionVal(string.Format("valFiltro_{0}", this.ID)); + } + /// + /// get/set per la larghezza della combo dropdown + /// + public int comboWidth + { + get + { + return Convert.ToInt32(dlFilt.Width); + } + set + { + dlFilt.Width = value; + } + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_filtro.ascx.designer.cs b/GMW/WebUserControls/mod_filtro.ascx.designer.cs new file mode 100644 index 00000000..4d6183d6 --- /dev/null +++ b/GMW/WebUserControls/mod_filtro.ascx.designer.cs @@ -0,0 +1,41 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_filtro { + + /// + /// chkFilt control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.CheckBox chkFilt; + + /// + /// dlFilt control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.ComboBox dlFilt; + + /// + /// where control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label @where; +} diff --git a/GMW/WebUserControls/mod_labAssStampaUdc.ascx b/GMW/WebUserControls/mod_labAssStampaUdc.ascx new file mode 100644 index 00000000..b17f16e5 --- /dev/null +++ b/GMW/WebUserControls/mod_labAssStampaUdc.ascx @@ -0,0 +1,130 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_labAssStampaUdc.ascx.cs" + Inherits="GMW.WebUserControls.mod_labAssStampaUdc" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> +<%@ Register Src="mod_filtro.ascx" TagName="mod_filtro" TagPrefix="uc1" %> +<%@ Register Src="mod_periodoAnalisi.ascx" TagName="mod_periodoAnalisi" TagPrefix="uc2" %> +
+
+ +
+
+ +
+
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +    + +
+ +
+ + + +
+
+ +
+ +
+
+
+
diff --git a/GMW/WebUserControls/mod_labAssStampaUdc.ascx.cs b/GMW/WebUserControls/mod_labAssStampaUdc.ascx.cs new file mode 100644 index 00000000..9d36096f --- /dev/null +++ b/GMW/WebUserControls/mod_labAssStampaUdc.ascx.cs @@ -0,0 +1,460 @@ +using System; +using System.Data; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; +using GMW_data; + +namespace GMW.WebUserControls +{ + public partial class mod_labAssStampaUdc : SteamWare.ApplicationUserControl + { + #region area da NON modificare + + #region area protected + + /// + /// aggiorna controlli datagrid e numero righe in pagina + /// + protected override void aggiornaControlliDataGL() + { + base.aggiornaControlliDataGL(); + grView.PageSize = _righeDataGridMed; + } + /// + /// traduce gli header delle colonne + /// + /// + /// + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); + lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); + } + else + { + lblNumRec.Text = ""; + } + } + /// + /// reset della selezione + /// + /// + /// + protected void btnReset_Click(object sender, EventArgs e) + { + resetSelezione(); + } + + + /// + /// collega i controlli + /// + protected override void bindControlli() + { + base.bindControlli(); + caricaTabelle(); + } + + #endregion + + #region gestione eventi + + public event EventHandler eh_resetSelezione; + //public event EventHandler eh_nuovoValore; + //public event EventHandler eh_selValore; + + #endregion + + #region public + + /// + /// effettua update del modulo + /// + public void doUpdate() + { + resetSelezione(); + } + + + #endregion + + #endregion + + #region area codice variabile + + protected override void traduciObj() + { + base.traduciObj(); + btnReloadDataRQL.Text = traduci("btnReloadDataRQL"); + lblNote.Text = traduci("lblNote"); + } + + /// + /// carico le tabelle + /// + private void caricaTabelle() + { + } + /// + /// elenco colonne del datagrid + /// + /// + protected DataColumnCollection colonneObj() + { + DS_magazzino.V_MagazziniOverviewDataTable tabella = new DS_magazzino.V_MagazziniOverviewDataTable(); + DataColumnCollection colonne = tabella.Columns; + return colonne; + } + /// + /// inizializzazione valori di default + /// + /// + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + if (!Page.IsPostBack) + { + pnlStampa.Visible = false; + checkFixOds(); + txtNoteUdc.Text = ""; + calcolaPostazione(); + } + } + /// + /// 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); + } + } + /// + /// fix tipo delibera + /// + /// + /// + void mod_filtroDelibera_eh_selValore(object sender, EventArgs e) + { + // chiamo procedura che aggiorna ods principale + checkFixOds(); + } + /// + /// segnalo nuovo valore filtro attivo... + /// + private void checkFixOds() + { +#if false + // determino cosa filtrare nella filter expression... + if (mod_filtroDelibera.valore != "*") + { + ods.FilterExpression = string.Format(" CodMag = '{0}' ", mod_filtroDelibera.valore); + // salvo il valore del numero di celle max x poter scalare correttamente i barplot + try + { + maxNumCelle = MagClass.magazzino.taMagOverw.getMaxCelleByMag(memLayer.ML.StringSessionObj("CodCS"), mod_filtroDelibera.valore)[0].TotCelle; + } + catch + { + maxNumCelle = 1; + } + } + else + { + ods.FilterExpression = ""; + // salvo il valore del numero di celle max x poter scalare correttamente i barplot + try + { + maxNumCelle = MagClass.magazzino.taMagOverw.getMaxCelle(memLayer.ML.StringSessionObj("CodCS"))[0].TotCelle; + } + catch + { + maxNumCelle = 1; + } + } + grView.DataBind(); +#endif + } + /// + /// aggiorno visualizzazione + /// + private void updateOdsDaFiltro() + { + grView.DataBind(); + } + /// + /// chiamata post page change gridview + /// + /// + /// + protected void grView_PageIndexChanged(object sender, EventArgs e) + { + // sistemazione dell'ods post evento cambio pagina + checkFixOds(); + } + /// + /// chiamata post sort gridview + /// + /// + /// + protected void grView_Sorted(object sender, EventArgs e) + { + // sistemazione dell'ods post evento sort + checkFixOds(); + } + /// + /// gestione cambio selezione valore + /// + /// + /// + protected void grView_SelectedIndexChanged(object sender, EventArgs e) + { + // salvo in session il valore selezionato... + string numRappQualUdc = grView.SelectedDataKey["nRapQual"].ToString(); + int UdcAssoc = Convert.ToInt32(grView.SelectedDataKey["UdcAssoc"]); + string benestare = grView.SelectedDataKey["BenesQual"].ToString(); + string legaScaric = grView.SelectedDataKey["LegaScaric"].ToString(); + string note = ""; + // controllo il benestare... + if (((benestare.ToUpper() == "S") || (benestare.ToUpper() == "N")) && (legaScaric.ToUpper() == "N")) // benestare S o N = è possibile prendere in carico... se lega scaricata = 'N' + { + pnlStampa.Visible = true; + // cerco eventuali note preesistenti + try + { + note = DataProxy.obj.taRQN.getByNRapQual(Convert.ToInt32(numRappQualUdc))[0].Note; + } + catch + { } + txtNoteUdc.Text = note; + // sistemo traduzione... + bool udc2Create = false; + try + { + udc2Create = (UdcAssoc == 0); + } + catch + { } + if (udc2Create) + { + btnDelibera.Text = traduci("btnStampaUdc"); + cbeBtnDelibera.ConfirmText = traduci("cbeBtnStampaUdc"); + } + else + { + btnDelibera.Text = traduci("btnRiStampaUdc"); + cbeBtnDelibera.ConfirmText = traduci("cbeBtnRiStampaUdc"); + } + } + else + { + pnlStampa.Visible = false; + } + } + /// + /// seleziona/deseleziona le righe indicate... + /// + /// + /// + protected void btnSelAll_Click(object sender, EventArgs e) + { + // seleziono tutti i valori visibili nel datagrid + CheckBox chkbox = ((CheckBox)sender); + bool isChecked = chkbox.Checked; + if (!isChecked) + { + chkbox.ToolTip = traduci("btnSelAll"); + } + else + { + chkbox.ToolTip = traduci("btnDeselAll"); + } + foreach (GridViewRow riga in grView.Rows) + { + ((CheckBox)riga.FindControl("chkSelect")).Checked = isChecked; + } + } + /// + /// resetta la selezione dei valori in caso di modifiche su altri controlli + /// + public void resetSelezione() + { + pnlStampa.Visible = false; + grView.SelectedIndex = -1; + grView.DataBind(); + lblWarning.Visible = false; + if (eh_resetSelezione != null) + { + eh_resetSelezione(this, new EventArgs()); + } + } + /// + /// effettua delibera per gli UDC selezionati + /// + /// + /// + protected void btnDelibera_Click(object sender, EventArgs e) + { + bool fatto = false; + // salvo in session il valore selezionato... + int numRappQualUdc = Convert.ToInt32(grView.SelectedDataKey["nRapQual"]); + int UdcAssoc = Convert.ToInt32(grView.SelectedDataKey["UdcAssoc"]); + string note = ""; + // sistemo traduzione... + bool udc2Create = false; + try + { + udc2Create = (UdcAssoc == 0); + } + catch + { } + try + { + note = txtNoteUdc.Text.Trim(); + } + catch + { } + if (udc2Create) + { + fatto = MagClass.magazzino.creaUdcDaRappQualita(numRappQualUdc, note, true, postazione_printer, Request.UserHostName); + // aggiorno note + MagClass.magazzino.updateNoteRDQ(numRappQualUdc, note); + // resetto! + txtNoteUdc.Text = ""; + } + else + { + // aggiorno note + MagClass.magazzino.updateNoteRDQ(numRappQualUdc, note); + // stampo! + fatto = MagClass.magazzino.stampaUdcDaRappQualita(numRappQualUdc, postazione_printer); + } + grView.DataBind(); + } + /// + /// forza il ricaricamento da AS400 i dati per il numero di giorni richiesto + /// + /// + /// + protected void btnReloadDataRQL_Click(object sender, EventArgs e) + { + int numGgPassati = memLayer.ML.confReadInt("numGgToReloadRQ"); + // stored 1 : ricarico da AS400 + utils.obj.taSTP.stp_batch_RapQual_S01(DateTime.Now.AddDays(-numGgPassati)); + // stored 2 aggiorno tabella + string codMagMp = memLayer.ML.confReadString("CodMagMP"); + string codMagMpNa = memLayer.ML.confReadString("CodMagMP_NA"); + string codStatoMp = memLayer.ML.confReadString("CodStatoMP"); + string codStatoMpNa = memLayer.ML.confReadString("CodStatoMP-NA"); + utils.obj.taSTP.stp_batch_RapQual_S02(codMagMpNa, codMagMp, codStatoMpNa, codStatoMp); + // update + resetSelezione(); + } + /// + /// determina se sia eliminabile la lista di UDC associata ad un rapQual ed al suo benestare + /// + /// + /// + public bool delEnabled(object BenesQual) + { + bool answ = false; + try + { + string benestare = BenesQual.ToString(); + answ = ((benestare == "A") || (benestare == "N")); + } + catch + { } + return answ; + } + /// + /// intercetto delete x annullarlo e chiamare stored di delete degli UDC dei numRapQual + /// + /// + /// + protected void grView_RowDeleting(object sender, GridViewDeleteEventArgs e) + { + // chiamo stored x eliminazione UDC collegati + DataProxy.obj.taCartellini.stp_UDC_delete_byRdQ(Convert.ToInt32(e.Keys["nRapQual"]), true); + // annullo delete + e.Cancel = true; + // reset! + resetSelezione(); + } + + #endregion + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_labAssStampaUdc.ascx.designer.cs b/GMW/WebUserControls/mod_labAssStampaUdc.ascx.designer.cs new file mode 100644 index 00000000..099d8b55 --- /dev/null +++ b/GMW/WebUserControls/mod_labAssStampaUdc.ascx.designer.cs @@ -0,0 +1,115 @@ +//------------------------------------------------------------------------------ +// +// 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_labAssStampaUdc { + + /// + /// mod_periodoAnalisi1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_periodoAnalisi mod_periodoAnalisi1; + + /// + /// btnReloadDataRQL control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnReloadDataRQL; + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; + + /// + /// lblNumRec control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumRec; + + /// + /// lblWarning control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblWarning; + + /// + /// pnlStampa control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlStampa; + + /// + /// btnDelibera control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnDelibera; + + /// + /// cbeBtnDelibera control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.ConfirmButtonExtender cbeBtnDelibera; + + /// + /// lblNote control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNote; + + /// + /// txtNoteUdc control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtNoteUdc; + } +} diff --git a/GMW/WebUserControls/mod_labConsUdc.ascx b/GMW/WebUserControls/mod_labConsUdc.ascx new file mode 100644 index 00000000..c45a2805 --- /dev/null +++ b/GMW/WebUserControls/mod_labConsUdc.ascx @@ -0,0 +1,140 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_labConsUdc.ascx.cs" + Inherits="GMW.WebUserControls.mod_labConsUdc" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %> +<%@ Register Src="mod_periodoAnalisi.ascx" TagName="mod_periodoAnalisi" TagPrefix="uc2" %> +<%@ Register Src="mod_filtro.ascx" TagName="mod_filtro" TagPrefix="uc1" %> +
+
+
+
+ +
+
+ +
+
+
+ +
+ +
+
+
+
+
+
+
+ +
+
+ + + + +
+
+ + + + + + +
+
+ +
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +    +
+ + + + + + + + + + + + +
+
diff --git a/GMW/WebUserControls/mod_labConsUdc.ascx.cs b/GMW/WebUserControls/mod_labConsUdc.ascx.cs new file mode 100644 index 00000000..4d18d135 --- /dev/null +++ b/GMW/WebUserControls/mod_labConsUdc.ascx.cs @@ -0,0 +1,395 @@ +using System; +using System.Data; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; +using GMW_data; + +namespace GMW.WebUserControls +{ + public partial class mod_labConsUdc : SteamWare.ApplicationUserControl + { + #region area da NON modificare + + #region area protected + + protected string _idxGridView; + protected string _idxGridViewExt; + protected string _tabCache; + + /// + /// aggiorna controlli datagrid e numero righe in pagina + /// + protected override void aggiornaControlliDataGL() + { + base.aggiornaControlliDataGL(); + grView.PageSize = _righeDataGridMed; + } + /// + /// traduce gli header delle colonne + /// + /// + /// + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); + lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); + } + else + { + lblNumRec.Text = ""; + } + } + /// + /// reset della selezione + /// + /// + /// + protected void btnReset_Click(object sender, EventArgs e) + { + resetSelezione(); + } + + + /// + /// collega i controlli + /// + protected override void bindControlli() + { + base.bindControlli(); + caricaTabelle(); + } + + #endregion + + #region gestione eventi + + public event EventHandler eh_resetSelezione; + //public event EventHandler eh_nuovoValore; + //public event EventHandler eh_selValore; + + #endregion + + #region public + + /// + /// effettua update del modulo + /// + public void doUpdate() + { + resetSelezione(); + } + + + #endregion + + #endregion + + #region area codice variabile + + /// + /// carico le tabelle + /// + private void caricaTabelle() + { + } + /// + /// elenco colonne del datagrid + /// + /// + protected DataColumnCollection colonneObj() + { + DS_magazzino.RapQualDataTable tabella = new DS_magazzino.RapQualDataTable(); + DataColumnCollection colonne = tabella.Columns; + return colonne; + } + /// + /// inizializzazione valori di default + /// + /// + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + _idxGridView = "UDC_MP"; + if (!Page.IsPostBack) + { + lblBarcodeConsumoUdcMP.Text = traduci("BarcodeInput"); + btnConsumaMP.Text = traduci("btnConsumaMP"); + cbebtnConsumaMP.ConfirmText = traduci("ConfermaConsumoMP"); + btnReloadDataRQL.Text = traduci("btnReloadDataRQL"); + // calcolo ultimo update AS400... + DateTime lastUpdate = DateTime.Now.AddYears(-2); + try + { + lastUpdate = utils.obj.taAs400.getByStored("stp_consumaMP")[0].DataEsecuzione; + } + catch + { } + lblLastUpdateAs400.Text = string.Format("{0}
{1:dd/MM/yy HH:mm}", traduci("lblLastUpdateAs400"), lastUpdate); + btnSendAs400.Text = traduci("btnSendAs400"); + //checkFixOds(); + } + if (true) + { + lblWarning.Visible = true; + lblWarning.Text = memLayer.ML.StringSessionObj("errConsUdc"); + memLayer.ML.emptySessionVal("errConsUdc"); + } + } + protected override void OnLoad(EventArgs e) + { + base.OnLoad(e); + txtBarcode.Focus(); + } + + /// + /// segnalo nuovo valore filtro attivo... + /// + private void checkFixOds() + { + } + /// + /// aggiorno visualizzazione + /// + private void updateOdsDaFiltro() + { + grView.DataBind(); + } + /// + /// chiamata post page change gridview + /// + /// + /// + protected void grView_PageIndexChanged(object sender, EventArgs e) + { + // sistemazione dell'ods post evento cambio pagina + checkFixOds(); + } + /// + /// chiamata post sort gridview + /// + /// + /// + protected void grView_Sorted(object sender, EventArgs e) + { + // sistemazione dell'ods post evento sort + checkFixOds(); + } + /// + /// gestione cambio selezione valore + /// + /// + /// + protected void grView_SelectedIndexChanged(object sender, EventArgs e) + { + // salvo in session il valore selezionato... + SteamWare.memLayer.ML.setSessionVal(string.Format("{0}_sel", _idxGridView), grView.SelectedValue, true); + } + /// + /// seleziona/deseleziona le righe indicate... + /// + /// + /// + protected void btnSelAll_Click(object sender, EventArgs e) + { + // seleziono tutti i valori visibili nel datagrid + CheckBox chkbox = ((CheckBox)sender); + bool isChecked = chkbox.Checked; + if (!isChecked) + { + chkbox.ToolTip = traduci("btnSelAll"); + } + else + { + chkbox.ToolTip = traduci("btnDeselAll"); + } + foreach (GridViewRow riga in grView.Rows) + { + ((CheckBox)riga.FindControl("chkSelect")).Checked = isChecked; + } + } + /// + /// resetta la selezione dei valori in caso di modifiche su altri controlli + /// + public void resetSelezione() + { + SteamWare.memLayer.ML.emptySessionVal(string.Format("{0}_sel", _idxGridView)); + grView.SelectedIndex = -1; + grView.DataBind(); + lblWarning.Visible = false; + if (eh_resetSelezione != null) + { + eh_resetSelezione(this, new EventArgs()); + } + } + /// + /// effettua consumo MP per gli UDC selezionati + /// + /// + /// + protected void btnConsumaMP_Click(object sender, EventArgs e) + { + string UDC = ""; + foreach (GridViewRow riga in grView.Rows) + { + if (((CheckBox)riga.FindControl("chkSelect")).Checked) + { + UDC = ((Label)riga.FindControl("lblUDC")).Text; + consumaUdc(UDC); + } + } + grView.DataBind(); + } + /// + /// effettua le procedure di registrazione consumo degli UDC + /// + /// + private void consumaUdc(string UDC) + { + // controllo se l'UDC sia scaricabile (BeneQual !="N") + if (MagClass.magazzino.udcMpHasBenesQual(UDC)) + { + // turno: per ora è semplicemente sempre calcolato coi 3 turni 1-2-3 + int turnoInt = Convert.ToInt32(1 + Math.Floor(Convert.ToDouble((DateTime.Now.AddHours(-6).TimeOfDay.Hours) / 8))); + string turno = ""; + switch (turnoInt) + { + case 1: + turno = "P"; + break; + case 2: + turno = "S"; + break; + case 3: + turno = "N"; + break; + default: + turno = "P"; + break; + } + string codTerz = ""; + try + { + if (rbl.SelectedValue == "T01") + { + codTerz = ddlExt.SelectedValue; + } + } + catch + { } + // controllo che UDC non risulti già consumato + if (MagClass.magazzino.udcMpIsConsumabile(UDC)) + { + // consumo! + try + { + // registro consumo in AS400 + utils.obj.taSTP.stp_accodaConsumoUdcMP(UDC, DateTime.Now, turno, rbl.SelectedValue, codTerz); + // registro nuova posizione + X --> - X (scambio da positivo a negativo) + MagClass.magazzino.scaricaUdcMpWip(UDC, Request.UserHostName); + lblWarning.Text = ""; + lblWarning.Visible = false; + } + catch (Exception e) + { + httpLog(string.Format("Errore tentando di consumare UDC di MP cod {0}: {1}{2}", UDC, Environment.NewLine, e), tipoLog.EXCEPTION); + } + } + else + { + // mostro errore che è già stato consumato! + lblWarning.Text = traduci("erroreUdcConsumato"); + lblWarning.Visible = true; + // log dell'errore + httpLog(string.Format("Errore tentando di consumare UDC di MP cod {0}: risulta già consumato!", UDC), tipoLog.INFO); + } + } + else + { + // mostro errore che non c'è benestare! + lblWarning.Text = traduci("erroreUdcSenzaBenestare"); + lblWarning.Visible = true; + // log dell'errore + httpLog(string.Format("Errore tentando di consumare UDC di MP cod {0}: non c'è benestare qualità!", UDC), tipoLog.INFO); + } + } + /// + /// cambio valore selezionato in tipo consumo + /// + /// + /// + protected void rbl_SelectedIndexChanged(object sender, EventArgs e) + { + // constrollo se è ext mostro testo ext... + if (rbl.SelectedValue == "T01") + { + ddlExt.Visible = true; + } + else + { + ddlExt.Visible = false; + } + } + /// + /// verifica e scarica UDC scannato da barcode... + /// + /// + /// + protected void txtBarcode_TextChanged(object sender, EventArgs e) + { + // verifico se è UDC valido... + if (MagClass.magazzino.checkUDC(txtBarcode.Text.Trim())) + { + // se è valido chiamo consumo... + consumaUdc(txtBarcode.Text.Trim()); + } + memLayer.ML.setSessionVal("errConsUdc", lblWarning.Text); + // x velocizzare ricarico pagina... + Response.Redirect(_paginaCorrente); + } + /// + /// effettua chiamata stored x aggiornare ssu AS400 + /// + /// + /// + protected void btnSendAs400_Click(object sender, EventArgs e) + { + utils.obj.taSTP.stp_processaCodaConsumoMP(true); + } + /// + /// forza il ricaricamento da AS400 i dati per il numero di giorni richiesto + /// + /// + /// + protected void btnReloadDataRQL_Click(object sender, EventArgs e) + { + int numGgPassati = memLayer.ML.confReadInt("numGgToReloadRQ"); + // stored 1 : ricarico da AS400 + utils.obj.taSTP.stp_batch_RapQual_S01(DateTime.Now.AddDays(-numGgPassati)); + // stored 2 aggiorno tabella + string codMagMp = memLayer.ML.confReadString("CodMagMP"); + string codMagMpNa = memLayer.ML.confReadString("CodMagMP_NA"); + string codStatoMp = memLayer.ML.confReadString("CodStatoMP"); + string codStatoMpNa = memLayer.ML.confReadString("CodStatoMP-NA"); + utils.obj.taSTP.stp_batch_RapQual_S02(codMagMpNa, codMagMp, codStatoMpNa, codStatoMp); + // update + resetSelezione(); + } + + #endregion + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_labConsUdc.ascx.designer.cs b/GMW/WebUserControls/mod_labConsUdc.ascx.designer.cs new file mode 100644 index 00000000..31b23299 --- /dev/null +++ b/GMW/WebUserControls/mod_labConsUdc.ascx.designer.cs @@ -0,0 +1,151 @@ +//------------------------------------------------------------------------------ +// +// 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_labConsUdc { + + /// + /// btnSendAs400 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnSendAs400; + + /// + /// lblLastUpdateAs400 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblLastUpdateAs400; + + /// + /// lblBarcodeConsumoUdcMP control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblBarcodeConsumoUdcMP; + + /// + /// txtBarcode control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtBarcode; + + /// + /// mod_periodoAnalisi1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_periodoAnalisi mod_periodoAnalisi1; + + /// + /// rbl control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.RadioButtonList rbl; + + /// + /// ddlExt control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.ComboBox ddlExt; + + /// + /// odsDestinatario control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsDestinatario; + + /// + /// btnReloadDataRQL control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnReloadDataRQL; + + /// + /// lblWarning control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblWarning; + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// lblNumRec control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumRec; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; + + /// + /// btnConsumaMP control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnConsumaMP; + + /// + /// cbebtnConsumaMP control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.ConfirmButtonExtender cbebtnConsumaMP; + } +} diff --git a/GMW/WebUserControls/mod_lemmiVocab.ascx b/GMW/WebUserControls/mod_lemmiVocab.ascx new file mode 100644 index 00000000..12232ade --- /dev/null +++ b/GMW/WebUserControls/mod_lemmiVocab.ascx @@ -0,0 +1,54 @@ +<%@ Control Language="C#" AutoEventWireup="true" + Inherits="mod_lemmiVocab" Codebehind="mod_lemmiVocab.ascx.cs" %> + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/GMW/WebUserControls/mod_lemmiVocab.ascx.cs b/GMW/WebUserControls/mod_lemmiVocab.ascx.cs new file mode 100644 index 00000000..00ff1d3f --- /dev/null +++ b/GMW/WebUserControls/mod_lemmiVocab.ascx.cs @@ -0,0 +1,57 @@ +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; +using SteamWare; + +public partial class mod_lemmiVocab : ApplicationUserControl +{ + #region protected + + protected override void aggiornaControlliDataGL() + { + base.aggiornaControlliDataGL(); + grView.PageSize = _righeDataGridAnagr; + } + + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); + lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); + } + else + { + lblNumRec.Text = ""; + } + } + /// + /// aggiorna i dati mostrati + /// + public void doUpdate() + { + ods.DataBind(); + grView.DataBind(); + } + + #endregion +} diff --git a/GMW/WebUserControls/mod_lemmiVocab.ascx.designer.cs b/GMW/WebUserControls/mod_lemmiVocab.ascx.designer.cs new file mode 100644 index 00000000..b43d273a --- /dev/null +++ b/GMW/WebUserControls/mod_lemmiVocab.ascx.designer.cs @@ -0,0 +1,41 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_lemmiVocab { + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// lblNumRec control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumRec; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; +} diff --git a/GMW/WebUserControls/mod_listCelle.ascx b/GMW/WebUserControls/mod_listCelle.ascx new file mode 100644 index 00000000..57017e5b --- /dev/null +++ b/GMW/WebUserControls/mod_listCelle.ascx @@ -0,0 +1 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_listCelle.ascx.cs" Inherits="GMW.WebUserControls.mod_listCelle" %> diff --git a/GMW/WebUserControls/mod_listCelle.ascx.cs b/GMW/WebUserControls/mod_listCelle.ascx.cs new file mode 100644 index 00000000..31c878da --- /dev/null +++ b/GMW/WebUserControls/mod_listCelle.ascx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace GMW.WebUserControls +{ + public partial class mod_listCelle : System.Web.UI.UserControl + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_listCelle.ascx.designer.cs b/GMW/WebUserControls/mod_listCelle.ascx.designer.cs new file mode 100644 index 00000000..56005a3a --- /dev/null +++ b/GMW/WebUserControls/mod_listCelle.ascx.designer.cs @@ -0,0 +1,16 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW.WebUserControls { + + + public partial class mod_listCelle { + } +} diff --git a/GMW/WebUserControls/mod_listImballi.ascx b/GMW/WebUserControls/mod_listImballi.ascx new file mode 100644 index 00000000..7dcdd1d6 --- /dev/null +++ b/GMW/WebUserControls/mod_listImballi.ascx @@ -0,0 +1,50 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_listImballi.ascx.cs" + Inherits="GMW.WebUserControls.mod_listImballi" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +   + \ No newline at end of file diff --git a/GMW/WebUserControls/mod_listImballi.ascx.cs b/GMW/WebUserControls/mod_listImballi.ascx.cs new file mode 100644 index 00000000..4d381ed5 --- /dev/null +++ b/GMW/WebUserControls/mod_listImballi.ascx.cs @@ -0,0 +1,215 @@ +using System; +using System.Data; +using System.Web.UI.WebControls; +using SteamWare; +using GMW_data; + +namespace GMW.WebUserControls +{ + public partial class mod_listImballi : SteamWare.ApplicationUserControl + { + #region area da NON modificare + + #region area protected + + protected string _idxGridView; + protected string _idxGridViewExt; + protected string _tabCache; + protected bool _showNewBtn = false; + + /// + /// aggiorna controlli datagrid e numero righe in pagina + /// + protected override void aggiornaControlliDataGL() + { + base.aggiornaControlliDataGL(); + grView.PageSize = _righeDataGridMed; + } + /// + /// traduce gli header delle colonne + /// + /// + /// + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); + lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); + } + else + { + lblNumRec.Text = ""; + } + } + /// + /// reset della selezione + /// + /// + /// + protected void btnReset_Click(object sender, EventArgs e) + { + resetSelezione(); + } + /// + /// gestione cambio selezione valore + /// + /// + /// + protected void grView_SelectedIndexChanged(object sender, EventArgs e) + { + // salvo in session il valore selezionato... + memLayer.ML.setSessionVal(string.Format("{0}_sel", _idxGridView), grView.SelectedValue, true); + // sollevo evento nuovo valore... + if (eh_selValore != null) + { + eh_selValore(this, new EventArgs()); + } + } + + /// + /// collega i controlli + /// + protected override void bindControlli() + { + base.bindControlli(); + caricaTabelle(); + } + + #endregion + + #region gestione eventi + + public event EventHandler eh_resetSelezione; + //public event EventHandler eh_nuovoValore; + public event EventHandler eh_selValore; + + #endregion + + #region public + + /// + /// effettua update del modulo + /// + public void doUpdate() + { + resetSelezione(); + checkFixOds(); + } + /// + /// resetta la selezione dei valori in caso di modifiche su altri controlli + /// + public void resetSelezione() + { + SteamWare.memLayer.ML.emptySessionVal(string.Format("{0}_sel", _idxGridView)); + grView.SelectedIndex = -1; + lblWarning.Visible = false; + if (eh_resetSelezione != null) + { + eh_resetSelezione(this, new EventArgs()); + } + } + + #endregion + + #endregion + + #region area codice variabile + + + /// + /// carico le tabelle + /// + private void caricaTabelle() + { + } + /// + /// elenco colonne del datagrid + /// + /// + protected DataColumnCollection colonneObj() + { + DS_magazzino.AnagImballiDataTable tabella = new DS_magazzino.AnagImballiDataTable(); + DataColumnCollection colonne = tabella.Columns; + return colonne; + } + /// + /// inizializzazione valori di default + /// + /// + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + _idxGridView = "CodImballo"; + } + /// + /// verifica se attivo filtro company e imposta ods di conseguenza... + /// + private void checkFixOds() + { + // controllo il tipo di ricerca e setto ods... + if (memLayer.ML.BoolSessionObj("SearchIsLikeBased")) + { + // svuoto select parameters + ods.SelectParameters.Clear(); + // imposto i parametri... + ods.SelectParameters.Add("searchVal", DbType.String, memLayer.ML.StringSessionObj("FullSearchValue")); + // metto nuovo metodo select + ods.SelectMethod = "getByLikeSearch"; + } + else + { + // svuoto select parameters + ods.SelectParameters.Clear(); + // imposto i parametri... + ods.SelectParameters.Add("CodImballo", DbType.String, memLayer.ML.StringSessionObj("FullSearchValue")); + // metto nuovo metodo select + ods.SelectMethod = "getByCod"; + } + } + /// + /// aggiorno ods al binding.. + /// + /// + /// + protected void ods_DataBinding(object sender, EventArgs e) + { + // fix dell'ODS + checkFixOds(); + } + /// + /// fix ods al cambio pagina + /// + /// + /// + protected void grView_PageIndexChanged(object sender, EventArgs e) + { + // fix dell'ODS + checkFixOds(); + } + /// + /// fix ods prima del sorting + /// + /// + /// + protected void grView_Sorting(object sender, GridViewSortEventArgs e) + { + // fix dell'ODS + checkFixOds(); + } + + #endregion + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_listImballi.ascx.designer.cs b/GMW/WebUserControls/mod_listImballi.ascx.designer.cs new file mode 100644 index 00000000..03a52542 --- /dev/null +++ b/GMW/WebUserControls/mod_listImballi.ascx.designer.cs @@ -0,0 +1,52 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW.WebUserControls { + + + public partial class mod_listImballi { + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; + + /// + /// lblNumRec control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumRec; + + /// + /// lblWarning control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblWarning; + } +} diff --git a/GMW/WebUserControls/mod_listOperatori.ascx b/GMW/WebUserControls/mod_listOperatori.ascx new file mode 100644 index 00000000..c5fc2671 --- /dev/null +++ b/GMW/WebUserControls/mod_listOperatori.ascx @@ -0,0 +1 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_listOperatori.ascx.cs" Inherits="GMW.WebUserControls.mod_listOperatori" %> diff --git a/GMW/WebUserControls/mod_listOperatori.ascx.cs b/GMW/WebUserControls/mod_listOperatori.ascx.cs new file mode 100644 index 00000000..9d39bf98 --- /dev/null +++ b/GMW/WebUserControls/mod_listOperatori.ascx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace GMW.WebUserControls +{ + public partial class mod_listOperatori : System.Web.UI.UserControl + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_listOperatori.ascx.designer.cs b/GMW/WebUserControls/mod_listOperatori.ascx.designer.cs new file mode 100644 index 00000000..04166ef6 --- /dev/null +++ b/GMW/WebUserControls/mod_listOperatori.ascx.designer.cs @@ -0,0 +1,16 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW.WebUserControls { + + + public partial class mod_listOperatori { + } +} diff --git a/GMW/WebUserControls/mod_listParticolari.ascx b/GMW/WebUserControls/mod_listParticolari.ascx new file mode 100644 index 00000000..6c1f6ebd --- /dev/null +++ b/GMW/WebUserControls/mod_listParticolari.ascx @@ -0,0 +1,67 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_listParticolari.ascx.cs" + Inherits="GMW.WebUserControls.mod_listParticolari" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +   + \ No newline at end of file diff --git a/GMW/WebUserControls/mod_listParticolari.ascx.cs b/GMW/WebUserControls/mod_listParticolari.ascx.cs new file mode 100644 index 00000000..b6191ad1 --- /dev/null +++ b/GMW/WebUserControls/mod_listParticolari.ascx.cs @@ -0,0 +1,245 @@ +using System; +using System.Data; +using System.Web.UI.WebControls; +using SteamWare; +using GMW_data; + +namespace GMW.WebUserControls +{ + public partial class mod_listParticolari : SteamWare.ApplicationUserControl + { + #region area da NON modificare + + #region area protected + + protected string _idxGridView; + protected string _idxGridViewExt; + protected string _tabCache; + protected bool _showNewBtn = false; + + /// + /// aggiorna controlli datagrid e numero righe in pagina + /// + protected override void aggiornaControlliDataGL() + { + base.aggiornaControlliDataGL(); + grView.PageSize = _righeDataGridMed; + } + /// + /// traduce gli header delle colonne + /// + /// + /// + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); + lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); + } + else + { + lblNumRec.Text = ""; + } + } + /// + /// reset della selezione + /// + /// + /// + protected void btnReset_Click(object sender, EventArgs e) + { + resetSelezione(); + } + /// + /// gestione cambio selezione valore + /// + /// + /// + protected void grView_SelectedIndexChanged(object sender, EventArgs e) + { + // salvo in session il valore selezionato... + memLayer.ML.setSessionVal(string.Format("{0}_sel", _idxGridView), grView.SelectedValue, true); + // sollevo evento nuovo valore... + if (eh_selValore != null) + { + eh_selValore(this, new EventArgs()); + } + } + + /// + /// collega i controlli + /// + protected override void bindControlli() + { + base.bindControlli(); + caricaTabelle(); + } + + #endregion + + #region gestione eventi + + public event EventHandler eh_resetSelezione; + //public event EventHandler eh_nuovoValore; + public event EventHandler eh_selValore; + + #endregion + + #region public + + /// + /// effettua update del modulo + /// + public void doUpdate() + { + resetSelezione(); + checkFixOds(); + } + /// + /// resetta la selezione dei valori in caso di modifiche su altri controlli + /// + public void resetSelezione() + { + SteamWare.memLayer.ML.emptySessionVal(string.Format("{0}_sel", _idxGridView)); + grView.SelectedIndex = -1; + lblWarning.Visible = false; + if (eh_resetSelezione != null) + { + eh_resetSelezione(this, new EventArgs()); + } + } + + #endregion + + #endregion + + #region area codice variabile + + + /// + /// carico le tabelle + /// + private void caricaTabelle() + { + } + /// + /// elenco colonne del datagrid + /// + /// + protected DataColumnCollection colonneObj() + { + DS_magazzino.V_ParticolariOverviewDataTable tabella = new DS_magazzino.V_ParticolariOverviewDataTable(); + DataColumnCollection colonne = tabella.Columns; + return colonne; + } + /// + /// inizializzazione valori di default + /// + /// + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + _idxGridView = "Particolare"; + } + /// + /// verifica se attivo filtro company e imposta ods di conseguenza... + /// + private void checkFixOds() + { + // controllo il tipo di ricerca e setto ods... + if (memLayer.ML.BoolSessionObj("SearchIsLikeBased")) + { + // svuoto select parameters + ods.SelectParameters.Clear(); + // imposto i parametri... + ods.SelectParameters.Add("searchVal", DbType.String, memLayer.ML.StringSessionObj("FullSearchValue")); + ods.SelectParameters.Add("CodCS", DbType.String, memLayer.ML.StringSessionObj("CodCS")); + // metto nuovo metodo select + ods.SelectMethod = "getByLikeSearch"; + } + else + { + // svuoto select parameters + ods.SelectParameters.Clear(); + // imposto i parametri... + ods.SelectParameters.Add("searchVal", DbType.String, memLayer.ML.StringSessionObj("FullSearchValue")); + ods.SelectParameters.Add("CodCS", DbType.String, memLayer.ML.StringSessionObj("CodCS")); + // metto nuovo metodo select + ods.SelectMethod = "getByParticolareFull"; + } + } + /// + /// aggiorno ods al binding.. + /// + /// + /// + protected void ods_DataBinding(object sender, EventArgs e) + { + // fix dell'ODS + checkFixOds(); + } + /// + /// fix ODS al cambio pagina + /// + /// + /// + protected void grView_PageIndexChanged(object sender, EventArgs e) + { + // fix dell'ODS + checkFixOds(); + } + /// + /// fix ODS al sorting + /// + /// + /// + protected void grView_Sorting(object sender, GridViewSortEventArgs e) + { + // fix dell'ODS + checkFixOds(); + } + + protected void grView_RowDataBound(object sender, GridViewRowEventArgs e) + { + if (memLayer.ML.BoolSessionObj("RicercaParticolariAttiva")) + { // se riga di dati... + if (e.Row.RowType == DataControlRowType.DataRow) + { + // ottengo la riga tipizzata... + System.Data.DataRowView _drv = (System.Data.DataRowView)e.Row.DataItem; + DS_magazzino.V_ParticolariOverviewRow riga = (DS_magazzino.V_ParticolariOverviewRow)_drv.Row; + bool cond1 = SteamWare.memLayer.ML.StringSessionObj("Particolare_sel") == riga.Particolare.ToString(); + if (cond1) + { + grView.SelectedIndex = e.Row.RowIndex; + } + } + } + } + /// + /// effettua refresh 8senza reset) del modulo + /// + public void doRefresh() + { + checkFixOds(); + grView.SelectedIndex = -1; + DataBind(); + } + + #endregion + + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_listParticolari.ascx.designer.cs b/GMW/WebUserControls/mod_listParticolari.ascx.designer.cs new file mode 100644 index 00000000..5942a660 --- /dev/null +++ b/GMW/WebUserControls/mod_listParticolari.ascx.designer.cs @@ -0,0 +1,52 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW.WebUserControls { + + + public partial class mod_listParticolari { + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; + + /// + /// lblNumRec control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumRec; + + /// + /// lblWarning control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblWarning; + } +} diff --git a/GMW/WebUserControls/mod_listUDC.ascx b/GMW/WebUserControls/mod_listUDC.ascx new file mode 100644 index 00000000..4560167a --- /dev/null +++ b/GMW/WebUserControls/mod_listUDC.ascx @@ -0,0 +1,56 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_listUDC.ascx.cs" + Inherits="GMW.WebUserControls.mod_listUDC" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +   + \ No newline at end of file diff --git a/GMW/WebUserControls/mod_listUDC.ascx.cs b/GMW/WebUserControls/mod_listUDC.ascx.cs new file mode 100644 index 00000000..0803ef4b --- /dev/null +++ b/GMW/WebUserControls/mod_listUDC.ascx.cs @@ -0,0 +1,260 @@ +using System; +using System.Data; +using System.Web.UI.WebControls; +using SteamWare; +using GMW_data; + + +namespace GMW.WebUserControls +{ + public partial class mod_listUDC : SteamWare.ApplicationUserControl + { + #region area da NON modificare + + #region area protected + + protected string _idxGridView; + protected string _idxGridViewExt; + protected string _tabCache; + protected bool _showNewBtn = false; + + /// + /// aggiorna controlli datagrid e numero righe in pagina + /// + protected override void aggiornaControlliDataGL() + { + base.aggiornaControlliDataGL(); + grView.PageSize = _righeDataGridMed; + } + /// + /// traduce gli header delle colonne + /// + /// + /// + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); + lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); + } + else + { + lblNumRec.Text = ""; + } + } + /// + /// reset della selezione + /// + /// + /// + protected void btnReset_Click(object sender, EventArgs e) + { + resetSelezione(); + } + + /// + /// collega i controlli + /// + protected override void bindControlli() + { + base.bindControlli(); + caricaTabelle(); + } + + #endregion + + #region gestione eventi + + public event EventHandler eh_resetSelezione; + //public event EventHandler eh_nuovoValore; + public event EventHandler eh_selValore; + + #endregion + + #region public + + /// + /// effettua update del modulo + /// + public void doUpdate() + { + resetSelezione(); + checkFixOds(); + grView.DataBind(); + } + /// + /// resetta la selezione dei valori in caso di modifiche su altri controlli + /// + public void resetSelezione() + { + SteamWare.memLayer.ML.emptySessionVal(string.Format("{0}_sel", _idxGridView)); + grView.SelectedIndex = -1; + lblWarning.Visible = false; + if (eh_resetSelezione != null) + { + eh_resetSelezione(this, new EventArgs()); + } + } + + #endregion + + #endregion + + #region area codice variabile + + + /// + /// carico le tabelle + /// + private void caricaTabelle() + { + } + /// + /// elenco colonne del datagrid + /// + /// + protected DataColumnCollection colonneObj() + { + DS_magazzino.v_UdcDetailDataTable tabella = new DS_magazzino.v_UdcDetailDataTable(); + DataColumnCollection colonne = tabella.Columns; + return colonne; + } + /// + /// inizializzazione valori di default + /// + /// + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + _idxGridView = "UDC"; + } + /// + /// verifica se attivo filtro company e imposta ods di conseguenza... + /// + private void checkFixOds() + { + // controllo il tipo di ricerca e setto ods... + if (memLayer.ML.BoolSessionObj("SearchIsLikeBased")) + { + // svuoto select parameters + ods.SelectParameters.Clear(); + // imposto i parametri... + ods.SelectParameters.Add("searchVal", DbType.String, memLayer.ML.StringSessionObj("FullSearchValue")); + ods.SelectParameters.Add("CodCS", DbType.String, memLayer.ML.StringSessionObj("CodCS")); + // metto nuovo metodo select + ods.SelectMethod = "getByLikeSearch"; + } + else + { + // svuoto select parameters + ods.SelectParameters.Clear(); + // imposto i parametri... + ods.SelectParameters.Add("UDC", DbType.String, memLayer.ML.StringSessionObj("FullSearchValue")); + ods.SelectParameters.Add("CodCS", DbType.String, memLayer.ML.StringSessionObj("CodCS")); + // metto nuovo metodo select + ods.SelectMethod = "getByFullUdc"; + } + } + /// + /// aggiorno ods al binding.. + /// + /// + /// + protected void ods_DataBinding(object sender, EventArgs e) + { + // fix dell'ODS + checkFixOds(); + } + /// + /// evento cambio pagina + /// + /// + /// + protected void grView_PageIndexChanged(object sender, EventArgs e) + { + // fix dell'ODS + checkFixOds(); + } + /// + /// fix ods prima del sorting + /// + /// + /// + protected void grView_Sorting(object sender, GridViewSortEventArgs e) + { + // fix dell'ODS + checkFixOds(); + } + /// + /// effettua refresh (senza reset) del modulo + /// + public void doRefresh() + { + checkFixOds(); + grView.SelectedIndex = -1; + DataBind(); + } + /// + /// aggiorna visualizzaizone selezione + /// + /// + /// + protected void grView_RowDataBound(object sender, GridViewRowEventArgs e) + { + if (memLayer.ML.BoolSessionObj("RicercaUdcAttiva")) + { + // se riga di dati... + if (e.Row.RowType == DataControlRowType.DataRow) + { + // ottengo la riga tipizzata... + System.Data.DataRowView _drv = (System.Data.DataRowView)e.Row.DataItem; + DS_magazzino.v_UdcDetailRow riga = (DS_magazzino.v_UdcDetailRow)_drv.Row; + bool cond1 = SteamWare.memLayer.ML.StringSessionObj("UDC_sel") == riga.UDC.ToString(); + if (cond1) + { + grView.SelectedIndex = e.Row.RowIndex; + } + } + } + } + /// + /// gestione cambio selezione valore + /// + /// + /// + protected void grView_SelectedIndexChanged(object sender, EventArgs e) + { + // calcolo il mag logico... + int CodMagLog = 0; + try + { + CodMagLog = MagClass.magazzino.taDettUDC.getByFullUdc(grView.SelectedValue.ToString(), memLayer.ML.confReadString("CodCS"))[0].IdxPosizione; + } + catch + { } + memLayer.ML.setSessionVal("CodMagLogico_sel", CodMagLog, false); + // salvo in session il valore selezionato... + memLayer.ML.setSessionVal(string.Format("{0}_sel", _idxGridView), grView.SelectedValue, true); + // sollevo evento nuovo valore... + if (eh_selValore != null) + { + eh_selValore(this, new EventArgs()); + } + } + #endregion + + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_listUDC.ascx.designer.cs b/GMW/WebUserControls/mod_listUDC.ascx.designer.cs new file mode 100644 index 00000000..8aa2a667 --- /dev/null +++ b/GMW/WebUserControls/mod_listUDC.ascx.designer.cs @@ -0,0 +1,52 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW.WebUserControls { + + + public partial class mod_listUDC { + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; + + /// + /// lblNumRec control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumRec; + + /// + /// lblWarning control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblWarning; + } +} diff --git a/GMW/WebUserControls/mod_login.ascx b/GMW/WebUserControls/mod_login.ascx new file mode 100644 index 00000000..40f00a51 --- /dev/null +++ b/GMW/WebUserControls/mod_login.ascx @@ -0,0 +1,54 @@ +<%@ Control Language="C#" AutoEventWireup="true" Inherits="mod_login" Codebehind="mod_login.ascx.cs" %> + + + + + +
+ +
+ + + + + + + + + + + + + + + + +
+ + + +
+ + + +
+ + + +
+ +
+
+ + + + + + + +
+ +
+ +
diff --git a/GMW/WebUserControls/mod_login.ascx.cs b/GMW/WebUserControls/mod_login.ascx.cs new file mode 100644 index 00000000..2e929c0d --- /dev/null +++ b/GMW/WebUserControls/mod_login.ascx.cs @@ -0,0 +1,244 @@ +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; +using SteamWare; + +/// +/// classe gestione login e forzatura login +/// +public partial class mod_login : ApplicationUserControl +{ + #region area protected/private + + #region area proprietà + + private SteamWare.loginMode _isForceUser = SteamWare.loginMode.normale; + + #endregion + + #region area metodi + + /// + /// imposta la modalità di login tra normale / forceUser + /// + private void setLoginMode() + { + if (_isForceUser == SteamWare.loginMode.forceUser) + { + pnlForceUser.Visible = true; + } + else + { + pnlForceUser.Visible = false; + } + } + + protected override void traduciObj() + { + lblPwd.Text = user_std.UtSn.Traduci("lblPwd"); + lblUser.Text = user_std.UtSn.Traduci("lblUser"); + lblDominio.Text = user_std.UtSn.Traduci("lblDominio"); + lblTitolo.Text = user_std.UtSn.Traduci("ForzaUtente"); + btnOk.Text = user_std.UtSn.Traduci("btnCommit"); + } + + /// + /// prova a verificare se l'utente sia ok x AD credentials + /// + private void AdLogin() + { + lblMessage.Text = traduci("UserNotAuth"); + if (Page.User.Identity.IsAuthenticated) + { + //recupera user windows se c'è... + string ad_name = Page.User.Identity.Name; + string delimStr = "\\"; + char[] delimiter = delimStr.ToCharArray(); + string[] dom_user = ad_name.Split(delimiter, 2); + // passo al controllo di verifica ADuserOk... + user_std _utente = new user_std(); + if (_utente.ADuserOk(dom_user[0], dom_user[1])) + { + bool fatto = _utente.startUpUtente(dom_user[0], dom_user[1]); + if (fatto) + { + string postazione_IP = Request.UserHostName; + httpLog(string.Format("L'utente {0} ({1}) ha effettuato il login correttamente dall'IP {2}", _utente.CognomeNome, _utente.userNameAD, postazione_IP), SteamWare.tipoLog.INFO); + if (Login_ok != null) + { + Login_ok(this, new EventArgs()); + } + } + else + { + lblMessage.Text = String.Format("{0}
There are some problems instatiating user: {1}/{2}", user_std.UtSn.Traduci("AccessFail"), dom_user[0], dom_user[1]); + httpLog(String.Format("Accesso fallito, problemi ad istanziare l'utente {0}/{1}", dom_user[0], dom_user[1]), SteamWare.tipoLog.ERROR); + if (Login_Error != null) + { + Login_Error(this, new EventArgs()); + } + } + } + else + { + if (memLayer.ML.confReadBool("autoEnrollEnabled")) + { + // rimando al modulo di auto enroll... + Response.Redirect("autoEnroll.aspx"); + } + else + { + lblMessage.Text = String.Format("{0}
user not allowed: {1}/{2}", user_std.UtSn.Traduci("AccessFail"), dom_user[0], dom_user[1]); + httpLog(String.Format("Utente non autorizzato: {0}/{1}", dom_user[0], dom_user[1]), SteamWare.tipoLog.WARNING); + if (Login_Error != null) + { + Login_Error(this, new EventArgs()); + } + } + } + } + else + { + lblMessage.Text = user_std.UtSn.Traduci("AccessFail") + user_std.UtSn.Traduci("UsrNotAuth"); + httpLog(String.Format("Accesso fallito, utente non autenticato"), SteamWare.tipoLog.WARNING); + if (Login_Error != null) + { + Login_Error(this, new EventArgs()); + } + } + } + + /// + /// effettua verifiche e se concesso permette di forzare l'accesso utente + /// + private void ForceUserIdentity() + { + if (Page.User.Identity.IsAuthenticated) + { + bool _allowForceUser = false; + try + { + _allowForceUser = SteamWare.memLayer.ML.confReadBool("_allowForceUser"); + } + catch + { + _allowForceUser = false; + } + if (_allowForceUser) + { + if (authKey.Text == "triplete") // verifica passphrase... + { + user_std _utente = new user_std(); + user_std.UtSn.isForcedUser = true; + bool fatto = _utente.startUpUtente(dominio.Text, user.Text); + if (fatto) + { + string _rigaLog = String.Format("User {0} has forced user identity ok: logged as \t {1}\\{2}", Page.User.Identity.Name, dominio.Text, user.Text); + httpLog(_rigaLog, SteamWare.tipoLog.INFO); + if (Login_ok != null) + { + Login_ok(this, new EventArgs()); + } + } + } + else + { + lblMessage.Text = String.Format("{0}
key not allowed for operation!!! operation logged!!!", user_std.UtSn.Traduci("AccessFail")); + mandaEmail(_fromEmail, _adminEmail, "Attenzione: tentativo di accesso non autorizzato!", String.Format("Tentativo di forcing user non autorizzato!
L'utente {0} ha tentato di accedere a {1} forzando l'utente ma la sua key autorizzativa e' sbagliata...", Page.User.Identity.Name, user_std.UtSn.Traduci(SteamWare.memLayer.ML.confReadString("defaultApp")))); + string _rigaLog = String.Format("User {0}\t tried to force user - wrong password - he tried to log as \t {1}\\{2}", Page.User.Identity.Name, dominio.Text, user.Text); + httpLog(_rigaLog, SteamWare.tipoLog.WARNING); + if (Login_Error != null) + { + Login_Error(this, new EventArgs()); + } + } + } + else + { + mandaEmail(_fromEmail, _adminEmail, "Attenzione: tentativo di accesso non autorizzato!", String.Format("Tentativo di forcing user non autorizzato!
L'utente {0} ha tentato di accedere a {1} forzando l'utente ma la funzione e' disabilitata...", Page.User.Identity.Name, user_std.UtSn.Traduci(SteamWare.memLayer.ML.confReadString("defaultApp")))); + string _rigaLog = String.Format("User {0}\t tried to force user - access disabled - he tried to log as \t {1}\\{2}", Page.User.Identity.Name, dominio.Text, user.Text); + httpLog(_rigaLog, SteamWare.tipoLog.WARNING); + if (Login_Error != null) + { + Login_Error(this, new EventArgs()); + } + } + } + else + { + lblMessage.Text = string.Format("{0}
user not authenticated!
", user_std.UtSn.Traduci("AccessFail")); + if (Login_Error != null) + { + Login_Error(this, new EventArgs()); + } + string _rigaLog = String.Format("\t Someone tried to force user - real user: \t - not autenticated - \t tried to log as \t {0}\\{1}", dominio.Text, user.Text); + httpLog(_rigaLog, SteamWare.tipoLog.WARNING); + } + } + + protected void btnOk_Click(object sender, EventArgs e) + { + ForceUserIdentity(); + } + + #endregion + + #endregion + + #region area public + + #region eventi pubblici esposti + + public event EventHandler Login_ok; + public event EventHandler Login_Error; + + #endregion + + #region area proprietà + + /// + /// modalità funzionamento controllo tra normale (ActiveDirectory e user auth di default) e forceUser + /// + public SteamWare.loginMode modoLogin + { + get + { + return _isForceUser; + } + set + { + _isForceUser = value; + } + } + + #endregion + + + /// + /// avvio pagina + /// + protected override void Page_Load(object sender, EventArgs e) + { + base.Page_Load(sender, e); + //carico da web.config i default values + loadDefaultsWebConfig(); + // procedo... + setLoginMode(); + Session.RemoveAll(); + // salvo la company... + memLayer.ML.setSessionVal("CodCS", memLayer.ML.confReadString("CodCS"), true); + if (_isForceUser == SteamWare.loginMode.normale) + { + AdLogin(); + } + } + + #endregion +} diff --git a/GMW/WebUserControls/mod_login.ascx.designer.cs b/GMW/WebUserControls/mod_login.ascx.designer.cs new file mode 100644 index 00000000..bc8b7640 --- /dev/null +++ b/GMW/WebUserControls/mod_login.ascx.designer.cs @@ -0,0 +1,113 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_login { + + /// + /// pnlForceUser control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlForceUser; + + /// + /// lblTitolo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblTitolo; + + /// + /// lblPwd control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblPwd; + + /// + /// authKey control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox authKey; + + /// + /// lblDominio control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblDominio; + + /// + /// dominio control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox dominio; + + /// + /// lblUser control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblUser; + + /// + /// user control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox user; + + /// + /// btnOk control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnOk; + + /// + /// lblMessage control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblMessage; + + /// + /// HypLinkSSO control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.HyperLink HypLinkSSO; +} diff --git a/GMW/WebUserControls/mod_main_help.ascx b/GMW/WebUserControls/mod_main_help.ascx new file mode 100644 index 00000000..95698de8 --- /dev/null +++ b/GMW/WebUserControls/mod_main_help.ascx @@ -0,0 +1,56 @@ +<%@ Control Language="C#" AutoEventWireup="true" Inherits="mod_main_help" CodeBehind="mod_main_help.ascx.cs" %> + + + + + + + + + + + + + +
+ +
+ +
+ +
+
+ Flusso_SanPossidonio + <%-- + + Mag 56, MP + Tara + Fusione + Contapezzi + Mag 80, Fusi + Mag 84, WIP + Mag 88, Rientro da terzista + Liste prelievo spedizione terzisti + Liste prelievo spedizione RoNo + Liste prelievo spedizione Clienti + Mag 54, Celle + Delibera spedizione terzista + Prelievo + Prelievo + Contapezzi + Delibera fusi + Movimentazione + --%> +
+
diff --git a/GMW/WebUserControls/mod_main_help.ascx.cs b/GMW/WebUserControls/mod_main_help.ascx.cs new file mode 100644 index 00000000..4c54d599 --- /dev/null +++ b/GMW/WebUserControls/mod_main_help.ascx.cs @@ -0,0 +1,52 @@ +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; +using SteamWare; + +public partial class mod_main_help : ApplicationUserControl +{ + + #region inizializzazione generica & utility + + protected string defaultApp; + protected string defaultTitle; + protected string defaultBody; + + protected override void traduciObj() + { + defaultApp = SteamWare.memLayer.ML.confReadString("defaultApp"); + defaultTitle = SteamWare.memLayer.ML.confReadString("defaultTitle"); + defaultBody = SteamWare.memLayer.ML.confReadString("defaultBody"); + lblAppl.Text = user_std.UtSn.Traduci(defaultApp); + lblTitle.Text = user_std.UtSn.Traduci(defaultTitle); + lblMess.Text = user_std.UtSn.Traduci(defaultBody); + } + + #endregion + + #region public + + /// + /// imposta app, title e body del generico messaggio mostrato dal modulo + /// NB: vanno passate le stringhe da tradurre!! + /// + /// + /// + /// + public void setupMessaggio(string app2transl, string titolo2transl, string body2transl) + { + defaultApp = app2transl; + defaultTitle = titolo2transl; + defaultBody = body2transl; + } + + #endregion + +} diff --git a/GMW/WebUserControls/mod_main_help.ascx.designer.cs b/GMW/WebUserControls/mod_main_help.ascx.designer.cs new file mode 100644 index 00000000..df0c9dce --- /dev/null +++ b/GMW/WebUserControls/mod_main_help.ascx.designer.cs @@ -0,0 +1,41 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_main_help { + + /// + /// lblAppl control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblAppl; + + /// + /// lblTitle control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblTitle; + + /// + /// lblMess control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblMess; +} diff --git a/GMW/WebUserControls/mod_menuBottom.ascx b/GMW/WebUserControls/mod_menuBottom.ascx new file mode 100644 index 00000000..06c8748f --- /dev/null +++ b/GMW/WebUserControls/mod_menuBottom.ascx @@ -0,0 +1,4 @@ +<%@ Control Language="C#" AutoEventWireup="true" + Inherits="mod_menuBottom" Codebehind="mod_menuBottom.ascx.cs" %> + - + diff --git a/GMW/WebUserControls/mod_menuBottom.ascx.cs b/GMW/WebUserControls/mod_menuBottom.ascx.cs new file mode 100644 index 00000000..d67b058c --- /dev/null +++ b/GMW/WebUserControls/mod_menuBottom.ascx.cs @@ -0,0 +1,20 @@ +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; + +public partial class mod_menuBottom : 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")); + } +} diff --git a/GMW/WebUserControls/mod_menuBottom.ascx.designer.cs b/GMW/WebUserControls/mod_menuBottom.ascx.designer.cs new file mode 100644 index 00000000..70d58dbb --- /dev/null +++ b/GMW/WebUserControls/mod_menuBottom.ascx.designer.cs @@ -0,0 +1,41 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_menuBottom { + + /// + /// 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; +} diff --git a/GMW/WebUserControls/mod_menuBottomFullpage.ascx b/GMW/WebUserControls/mod_menuBottomFullpage.ascx new file mode 100644 index 00000000..e7f3b0ea --- /dev/null +++ b/GMW/WebUserControls/mod_menuBottomFullpage.ascx @@ -0,0 +1,15 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_menuBottomFullpage.ascx.cs" + Inherits="GMW.WebUserControls.mod_menuBottomFullpage" %> +
+
+ +  |  + +
+
+  -   + +
+
+ + diff --git a/GMW/WebUserControls/mod_menuBottomFullpage.ascx.cs b/GMW/WebUserControls/mod_menuBottomFullpage.ascx.cs new file mode 100644 index 00000000..1c9cb2dc --- /dev/null +++ b/GMW/WebUserControls/mod_menuBottomFullpage.ascx.cs @@ -0,0 +1,44 @@ +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; +using SteamWare; + +namespace GMW.WebUserControls +{ + public partial class mod_menuBottomFullpage : ApplicationUserControl + { + protected override void Page_Load(object sender, EventArgs e) + { + base.Page_Load(sender, 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(); + setClock(); + } + /// + /// 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"); + lblCodOperatore.Text = GMW_data.MagClass.magazzino.CodSoggCurrUser; + } + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_menuBottomFullpage.ascx.designer.cs b/GMW/WebUserControls/mod_menuBottomFullpage.ascx.designer.cs new file mode 100644 index 00000000..a88376e2 --- /dev/null +++ b/GMW/WebUserControls/mod_menuBottomFullpage.ascx.designer.cs @@ -0,0 +1,70 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4971 +// +// 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; + + /// + /// lblCodOperatore control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblCodOperatore; + + /// + /// 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/WebUserControls/mod_menuBottomPortable.ascx b/GMW/WebUserControls/mod_menuBottomPortable.ascx new file mode 100644 index 00000000..011dab07 --- /dev/null +++ b/GMW/WebUserControls/mod_menuBottomPortable.ascx @@ -0,0 +1,4 @@ +<%@ Control Language="C#" AutoEventWireup="true" Inherits="mod_menuBottomMini" Codebehind="mod_menuBottomPortable.ascx.cs" %> +
+ + diff --git a/GMW/WebUserControls/mod_menuBottomPortable.ascx.cs b/GMW/WebUserControls/mod_menuBottomPortable.ascx.cs new file mode 100644 index 00000000..c15d5816 --- /dev/null +++ b/GMW/WebUserControls/mod_menuBottomPortable.ascx.cs @@ -0,0 +1,18 @@ +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; + +public partial class mod_menuBottomMini : System.Web.UI.UserControl +{ + protected void Page_Load(object sender, EventArgs e) + { + lblCopyRight.Text = string.Format("{0}", ConfigurationManager.AppSettings.Get("copyRight")); + } +} diff --git a/GMW/WebUserControls/mod_menuBottomPortable.ascx.designer.cs b/GMW/WebUserControls/mod_menuBottomPortable.ascx.designer.cs new file mode 100644 index 00000000..3dbc80be --- /dev/null +++ b/GMW/WebUserControls/mod_menuBottomPortable.ascx.designer.cs @@ -0,0 +1,32 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_menuBottomMini { + + /// + /// 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; + + /// + /// lbl1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lbl1; +} diff --git a/GMW/WebUserControls/mod_menuSx.ascx b/GMW/WebUserControls/mod_menuSx.ascx new file mode 100644 index 00000000..a9bd331f --- /dev/null +++ b/GMW/WebUserControls/mod_menuSx.ascx @@ -0,0 +1,16 @@ +<%@ Control Language="C#" AutoEventWireup="true" Inherits="mod_menuSx" Codebehind="mod_menuSx.ascx.cs" %> + + + + + + + + + + + + + \ No newline at end of file diff --git a/GMW/WebUserControls/mod_menuSx.ascx.cs b/GMW/WebUserControls/mod_menuSx.ascx.cs new file mode 100644 index 00000000..f439628a --- /dev/null +++ b/GMW/WebUserControls/mod_menuSx.ascx.cs @@ -0,0 +1,43 @@ +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; +using SteamWare; + +public partial class mod_menuSx : ApplicationUserControl +{ + + protected override void aggiornaControlliDataGL() + { + // se l'utente c'è... + if (user_std.UtSn.isAuth && !Page.IsPostBack) + { + updateTreeMenu(); + } + } + /// + /// aggiornamento del menù + /// + private void updateTreeMenu() + { + XmlDataSource1.Data = user_std.UtSn.mappaSito; + //user_std.UtSn.ricaricaMappaSito(); + //XmlDataSource1.Data = user_std.UtSn.mappaSitoLive; + XmlDataSource1.XPath = "mainMenu/menu"; + XmlDataSource1.DataBind(); + } + /// + /// forza l'update del menù sx + /// + public void forzaUpdateMenu() + { + user_std.UtSn.ricaricaMappaSito(); + updateTreeMenu(); + } +} diff --git a/GMW/WebUserControls/mod_menuSx.ascx.designer.cs b/GMW/WebUserControls/mod_menuSx.ascx.designer.cs new file mode 100644 index 00000000..1e198c59 --- /dev/null +++ b/GMW/WebUserControls/mod_menuSx.ascx.designer.cs @@ -0,0 +1,41 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_menuSx { + + /// + /// pnlTree control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlTree; + + /// + /// tvMenuSx control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TreeView tvMenuSx; + + /// + /// XmlDataSource1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.XmlDataSource XmlDataSource1; +} diff --git a/GMW/WebUserControls/mod_menuTop.ascx b/GMW/WebUserControls/mod_menuTop.ascx new file mode 100644 index 00000000..1d54dced --- /dev/null +++ b/GMW/WebUserControls/mod_menuTop.ascx @@ -0,0 +1,39 @@ +<%@ Control Language="C#" AutoEventWireup="true" Inherits="mod_menuTop" CodeBehind="mod_menuTop.ascx.cs" %> + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + +
+ + + + + + +
+
diff --git a/GMW/WebUserControls/mod_menuTop.ascx.cs b/GMW/WebUserControls/mod_menuTop.ascx.cs new file mode 100644 index 00000000..aa20acc9 --- /dev/null +++ b/GMW/WebUserControls/mod_menuTop.ascx.cs @@ -0,0 +1,154 @@ +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; +using System.Collections.Generic; +using SteamWare; + +public partial class mod_menuTop : ApplicationUserControl +{ + private string _titleString; + + #region gestione eventi + + public event EventHandler eh_toggleMenuSx; + public event EventHandler eh_reqUpdateMenu; + + #endregion + + protected override void Page_Load(object sender, EventArgs e) + { + base.Page_Load(sender, e); + btnLogOut.Visible = user_std.UtSn.isForcedUser; + if(memLayer.ML.isInSessionObject("doUpdateNow")) + { + doFullDataUpdate(); + memLayer.ML.emptySessionVal("doUpdateNow"); + } + } + + protected void btnLogOut_Click(object sender, EventArgs e) + { + Session.Abandon(); + Response.Redirect("forceUser.aspx"); + } + protected void btnUpdate_Click(object sender, EventArgs e) + { + doFullDataUpdate(); + } + + private void doFullDataUpdate() + { + // salvo i dati attuali... + string cod_cdc = SteamWare.memLayer.ML.StringSessionObj("valRicercaCdC"); + string lingua = user_std.UtSn.lingua; + string USER_NAME = SteamWare.memLayer.ML.StringSessionObj("USER_NAME"); + string DOMINIO = SteamWare.memLayer.ML.StringSessionObj("DOMINIO"); + bool isForceUser = user_std.UtSn.isForcedUser; + // salvo i valori delle tab in session... + Dictionary sessionParam = SteamWare.memLayer.ML.valSess2SurvUpd; + + // svuoto session e cache per rileggere i dati da Db + Session.RemoveAll(); + + SteamWare.memLayer.ML.flushRegisteredCache(); + + // rimemorizzo + SteamWare.memLayer.ML.setSessionVal("valRicercaCdC", cod_cdc); + user_std.UtSn.startUpUtente(DOMINIO, USER_NAME); + user_std.UtSn.lingua = lingua; + user_std.UtSn.isForcedUser = isForceUser; + DataWrap.DW.resetVocabolario(); + + // risalvo in session i valori... + foreach (KeyValuePair kvp in sessionParam) + { + SteamWare.memLayer.ML.setSessionVal(kvp.Key, kvp.Value, true); + } + + // cambio visibilità del menù laterale... + if (eh_reqUpdateMenu != null) + { + eh_reqUpdateMenu(this, new EventArgs()); + } + + Response.Redirect(_paginaCorrente); + } + + protected override void loadSessionData() + { + base.loadSessionData(); + _titleString = SteamWare.memLayer.ML.StringSessionObj("_titleString"); + } + + protected override void bindControlli() + { + if (!Page.IsPostBack) + { + lnkHelp.ToolTip = traduci("ApriManualeHelp"); + // solo se user è auth... + if (user_std.UtSn.isAuth) + { + lnkShowHide.Text = user_std.UtSn.Traduci("lnkShowHide"); + lblTitle.Text = user_std.UtSn.Traduci(SteamWare.memLayer.ML.confReadString("titleApp")); + if (_titleString != "") + { + // traduzione di tutti i termini + lblMessUtente.Text = user_std.UtSn.Traduci(_titleString); + //doppio in english! + lblMessUtenteEn.Text = "(" + user_std.UtSn.TraduciEn(_titleString) + ")"; + _titleString = ""; + Session["_titleString"] = _titleString; + Session["SessionUpdateMenu"] = true; + } + else + { + string titolo = user_std.UtSn.Traduci(SteamWare.memLayer.ML.confReadString("welcomeApp")); + lblMessUtente.Text = string.Format("{0} - {1}", titolo, memLayer.ML.confReadString("SiteName")); + lblMessUtenteEn.Text = ""; + Session["SessionUpdateMenu"] = false; + } + btnLogOut.Text = user_std.UtSn.Traduci("LogOut"); + btnUpdate.Text = user_std.UtSn.Traduci("Update"); + lblUser.Text = String.Format("{0}: {1}", user_std.UtSn.Traduci("User"), user_std.UtSn.CognomeNome); + setTimer(); + setClock(); + } + } + } + /// + /// 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 lnkShowHide_Click(object sender, EventArgs e) + { + // cambio visibilità del menù laterale... + if (eh_toggleMenuSx != null) + { + eh_toggleMenuSx(this, new EventArgs()); + } + + } + protected void Timer1_Tick(object sender, EventArgs e) + { + setClock(); + } + + private void setClock() + { + lblDateTime.Text = DateTime.Now.ToString("HH:mm:ss"); + } + protected void lblUser_Click(object sender, EventArgs e) + { + Response.Redirect("./chLang.aspx"); + } +} diff --git a/GMW/WebUserControls/mod_menuTop.ascx.designer.cs b/GMW/WebUserControls/mod_menuTop.ascx.designer.cs new file mode 100644 index 00000000..2cd2e2e2 --- /dev/null +++ b/GMW/WebUserControls/mod_menuTop.ascx.designer.cs @@ -0,0 +1,113 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_menuTop { + + /// + /// Timer1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.Timer Timer1; + + /// + /// btnLogOut control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.LinkButton btnLogOut; + + /// + /// lblTitle control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblTitle; + + /// + /// btnUpdate control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.LinkButton btnUpdate; + + /// + /// 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; + + /// + /// lnkHelp control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.HyperLink lnkHelp; + + /// + /// imgHelp control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Image imgHelp; + + /// + /// lnkShowHide control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.LinkButton lnkShowHide; + + /// + /// lblMessUtente control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblMessUtente; + + /// + /// lblMessUtenteEn control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblMessUtenteEn; + + /// + /// lblUser control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.LinkButton lblUser; +} diff --git a/GMW/WebUserControls/mod_metodiNoSearch.ascx b/GMW/WebUserControls/mod_metodiNoSearch.ascx new file mode 100644 index 00000000..0ef76968 --- /dev/null +++ b/GMW/WebUserControls/mod_metodiNoSearch.ascx @@ -0,0 +1,20 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_metodiNoSearch.ascx.cs" + Inherits="GMW.WebUserControls.mod_metodiNoSearch" %> + + + + + <%-- + --%> + +
+ + + + + + + +
diff --git a/GMW/WebUserControls/mod_metodiNoSearch.ascx.cs b/GMW/WebUserControls/mod_metodiNoSearch.ascx.cs new file mode 100644 index 00000000..f5c856ca --- /dev/null +++ b/GMW/WebUserControls/mod_metodiNoSearch.ascx.cs @@ -0,0 +1,53 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +namespace GMW.WebUserControls +{ + public partial class mod_metodiNoSearch : System.Web.UI.UserControl + { + protected void Page_Load(object sender, EventArgs e) + { + traduciObj(); + } + /// + /// traduzione oggetti + /// + private void traduciObj() + { + btnListePrelievo.Text = traduci("btnListePrelievo"); + btnStatoMag.Text = traduci("btnStatoMag"); + } + /// + /// wrapper traduzione + /// + /// + /// + public string traduci(object lemma) + { + return user_std.UtSn.Traduci(lemma.ToString()); + } + /// + /// + /// + /// + /// + protected void btnListePrelievo_Click(object sender, EventArgs e) + { + Response.Redirect("~/ElencoListePrelievo.aspx"); + } + /// + /// + /// + /// + /// + protected void btnStatoMag_Click(object sender, EventArgs e) + { + Response.Redirect("~/StatoMag.aspx"); + } + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_metodiNoSearch.ascx.designer.cs b/GMW/WebUserControls/mod_metodiNoSearch.ascx.designer.cs new file mode 100644 index 00000000..7e1b6949 --- /dev/null +++ b/GMW/WebUserControls/mod_metodiNoSearch.ascx.designer.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW.WebUserControls { + + + public partial class mod_metodiNoSearch { + + /// + /// btnListePrelievo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnListePrelievo; + + /// + /// btnStatoMag control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnStatoMag; + } +} diff --git a/GMW/WebUserControls/mod_nuovaListaPrelievo.ascx b/GMW/WebUserControls/mod_nuovaListaPrelievo.ascx new file mode 100644 index 00000000..8bd0902a --- /dev/null +++ b/GMW/WebUserControls/mod_nuovaListaPrelievo.ascx @@ -0,0 +1,106 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_nuovaListaPrelievo.ascx.cs" + Inherits="GMW.WebUserControls.mod_nuovaListaPrelievo" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %> + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + +
+
+ + +
+
diff --git a/GMW/WebUserControls/mod_nuovaListaPrelievo.ascx.cs b/GMW/WebUserControls/mod_nuovaListaPrelievo.ascx.cs new file mode 100644 index 00000000..e8431b06 --- /dev/null +++ b/GMW/WebUserControls/mod_nuovaListaPrelievo.ascx.cs @@ -0,0 +1,300 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; +using GMW_data; + +namespace GMW.WebUserControls +{ + public partial class mod_nuovaListaPrelievo : System.Web.UI.UserControl + { + protected void Page_Load(object sender, EventArgs e) + { + if (!Page.IsPostBack) + { + // traduco! + lblTipo.Text = traduci("TipoLista"); + lblParticolare.Text = traduci("Particolare"); + lblEsponente.Text = traduci("Esponente"); + lblFigura.Text = traduci("Figura"); + lblQta.Text = traduci("Qta"); + lblImballo.Text = traduci("Imballo"); + lblDestinatario.Text = traduci("Destinatario"); + // all'avvio disabilito ricerca x campi "avanzati..." + setFullControlsVisibility(false); + btnCreaNuova.Text = traduci("CreaNuovaListaPrelievo"); + // sistema il tipo oggetto dell'autocompletamento... + fixAutocomplete(); + } + checkParticolare(); + } + /// + /// imposta il corretto autocompletamento del particolare + /// + private void fixAutocomplete() + { + // quale tipo lista? + string tipoLista = ddlTipoLista.SelectedValue; + string tipoObj = ""; + try + { + tipoObj = GMW_data.utils.obj.taSelTipoLista.getByValue(tipoLista)[0].conditio; + } + catch + { } + switch (tipoObj) + { + case "A": + aceParticolare.ServiceMethod = "elencoAnime"; + break; + case "P": + aceParticolare.ServiceMethod = "elencoParticolari"; + break; + default: + break; + } + } + + private void setFullControlsVisibility(bool completeVisible) + { + lblEsponente.Visible = completeVisible; + ddlEsponente.Visible = completeVisible; + lblFigura.Visible = completeVisible; + ddlFigura.Visible = completeVisible; + lblQta.Visible = completeVisible; + txtQta.Visible = completeVisible; + lblDestinatario.Visible = completeVisible; + ddlDestinatario.Visible = completeVisible; + lblImballo.Visible = completeVisible; + ddlImballo.Visible = completeVisible; + btnCreaNuova.Visible = completeVisible; + } + /// + /// wrapper traduzione + /// + /// + /// + public string traduci(object lemma) + { + return user_std.UtSn.Traduci(lemma.ToString()); + } + /// + /// verifico se il codice particolare sia conforme + /// + /// + /// + protected bool particolareOk(string particolare) + { + bool answ = false; + answ = DataProxy.obj.taAnagParticolari.getByParticolare(particolare).Rows.Count > 0; + return answ; + } + + /// + /// completata selezione particoalre, avanzo + /// + /// + /// + protected void txtParticolare_TextChanged(object sender, EventArgs e) + { + checkParticolare(); + } + /// + /// controlla il particolare se sia valido + /// + private void checkParticolare() + { + // calcolo ed aggiorno conteggio pezzi disponibili... + int numPezziDisp = 0; + try + { + string codEsponente = ddlEsponente.SelectedValue; + if (codEsponente == "") codEsponente = "*"; + string codFigura = ddlFigura.SelectedValue; + if (codFigura == "") codFigura = "*"; + string codImballo = ddlImballo.SelectedValue; + if (codImballo == "") codImballo = "*"; + string codTipoLista = ddlTipoLista.SelectedValue; + numPezziDisp = MagClass.magazzino.numUdcDaPart(memLayer.ML.confReadString("CodCS"), txtParticolare.Text.Trim(), codEsponente, codFigura, codImballo, codTipoLista); + // sottraggo quelli + lblTotPz.Text = string.Format("{0} UDC ", numPezziDisp); + } + catch (Exception e) + { + httpLog(string.Format("Eccezione in verifica pezzi disponibili per il particolare {0}: eccezione {1}", txtParticolare.Text.Trim(), e), tipoLog.EXCEPTION); + } + // controllo se cod particoalre è valido... + if (particolareOk(txtParticolare.Text.Trim())) + { + // abilito ricerca esponente figura... + setFullControlsVisibility(true); + // setto ddl a "*" + ddlEsponente.SelectedValue = "*"; + ddlFigura.SelectedValue = "*"; + ddlImballo.SelectedValue = "*"; + // verifico + if (numPezziDisp > 0) + { + btnCreaNuova.Visible = true; + } + else + { + btnCreaNuova.Visible = false; + } + } + else + { + // disabilito ricerce esponenti figure + ddlEsponente.Visible = false; + ddlFigura.Visible = false; + txtQta.Visible = false; + ddlDestinatario.Visible = false; + ddlImballo.Visible = false; + btnCreaNuova.Visible = false; + } + } + /// + /// wrapper per log con salvataggio dell'IP del chiamante + /// + /// + /// + public bool httpLog(string _testoPre) + { + bool answ = false; + string postazione_IP = ""; + try + { + postazione_IP = string.Format(" | {0} | ", Request.UserHostName); + } + catch + { } + logger.lg.scriviLog(postazione_IP + _testoPre); + return answ; + } + /// + /// wrapper per log con salvataggio dell'IP del chiamante + /// + /// + /// + public bool httpLog(string testoLog, tipoLog tipo) + { + bool answ = false; + string postazione_IP = ""; + try + { + postazione_IP = string.Format(" | {0} | ", Request.UserHostName); + } + catch + { } + logger.lg.scriviLog(postazione_IP + testoLog, tipo); + return answ; + } + /// + /// crea nuova lista di prelievo + /// + /// + /// + protected void btnCreaNuova_Click(object sender, EventArgs e) + { + // controllo se qta != 0... + decimal qta = 0; + string destinatario = ""; + string destinatarioDescr = ""; + try + { + // calcolo il dato del destinatario... + GMW_data.DS_Utility.v_selDestinatariListePrelievoRow riga = utils.obj.taDestListePre.getByValue(ddlDestinatario.SelectedValue)[0]; + destinatario = riga.value.Trim(); + destinatarioDescr = riga.label.Trim(); + } + catch + { } + try + { + qta = Convert.ToDecimal(txtQta.Text); + } + catch + { } + if (qta > 0 && destinatario != "") + { + MagClass.magazzino.creaListaPrelievo(memLayer.ML.confReadString("CodCS"), ddlTipoLista.SelectedValue, txtParticolare.Text.Trim(), ddlEsponente.SelectedValue, ddlFigura.SelectedValue, qta, ddlImballo.SelectedValue, destinatario, destinatarioDescr); + // sollevo evento nuovo valore... + if (eh_nuovoValore != null) + { + eh_nuovoValore(this, new EventArgs()); + } + } + } + /// + /// evento nuovo valore + /// + public event EventHandler eh_nuovoValore; + /// + /// valore del aprticolare della lsita prelievo get/set + /// + public string ParticolareRichiesto + { + get + { + return txtParticolare.Text; + } + set + { + txtParticolare.Text = value; + checkParticolare(); + } + } + /// + /// blocca il tipo lista selezionabile che non può essere cambiata + /// + public bool bloccaTipoLista + { + set + { + if (value) + { + ddlTipoLista.Enabled = false; + } + } + } + /// + /// (pre)imposta il valore del tipo lista di prelievo + /// + public string valoreTipoLista + { + get + { + return ddlTipoLista.SelectedValue; + } + set + { + ddlTipoLista.SelectedValue = value; + } + } + + protected void ddlTipoLista_SelectedIndexChanged(object sender, EventArgs e) + { + fixAutocomplete(); + checkParticolare(); + } + + protected void ddlEsponente_SelectedIndexChanged(object sender, EventArgs e) + { + checkParticolare(); + } + + protected void ddlFigura_SelectedIndexChanged(object sender, EventArgs e) + { + checkParticolare(); + } + + protected void ddlImballo_SelectedIndexChanged(object sender, EventArgs e) + { + checkParticolare(); + } + + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_nuovaListaPrelievo.ascx.designer.cs b/GMW/WebUserControls/mod_nuovaListaPrelievo.ascx.designer.cs new file mode 100644 index 00000000..9d8f4e0d --- /dev/null +++ b/GMW/WebUserControls/mod_nuovaListaPrelievo.ascx.designer.cs @@ -0,0 +1,232 @@ +//------------------------------------------------------------------------------ +// +// 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_nuovaListaPrelievo { + + /// + /// lblTipo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblTipo; + + /// + /// lblParticolare control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblParticolare; + + /// + /// lblEsponente control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblEsponente; + + /// + /// lblFigura control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblFigura; + + /// + /// lblQta control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblQta; + + /// + /// lblImballo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblImballo; + + /// + /// ddlTipoLista control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.DropDownList ddlTipoLista; + + /// + /// odsTipoLista control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsTipoLista; + + /// + /// txtParticolare control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtParticolare; + + /// + /// rfvParticolare control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.RequiredFieldValidator rfvParticolare; + + /// + /// aceParticolare control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.AutoCompleteExtender aceParticolare; + + /// + /// ddlEsponente control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.DropDownList ddlEsponente; + + /// + /// odsEsponente control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsEsponente; + + /// + /// ddlFigura control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.DropDownList ddlFigura; + + /// + /// odsFigura control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsFigura; + + /// + /// txtQta control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtQta; + + /// + /// rfvQta control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.RequiredFieldValidator rfvQta; + + /// + /// ddlImballo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.DropDownList ddlImballo; + + /// + /// odsImballo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsImballo; + + /// + /// lblDestinatario control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblDestinatario; + + /// + /// ddlDestinatario control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.ComboBox ddlDestinatario; + + /// + /// odsDestinatario control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsDestinatario; + + /// + /// lblTotPz control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblTotPz; + + /// + /// btnCreaNuova control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnCreaNuova; + } +} diff --git a/GMW/WebUserControls/mod_odette.ascx b/GMW/WebUserControls/mod_odette.ascx new file mode 100644 index 00000000..1a59409c --- /dev/null +++ b/GMW/WebUserControls/mod_odette.ascx @@ -0,0 +1,115 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_odette.ascx.cs" + Inherits="GMW.WebUserControls.mod_odette" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> +<%@ Register Src="mod_viewOdette.ascx" TagName="mod_viewOdette" TagPrefix="uc1" %> +<%@ Register Src="mod_periodoAnalisi.ascx" TagName="mod_periodoAnalisi" TagPrefix="uc2" %> +<%@ Register Src="mod_filtro.ascx" TagName="mod_filtro" TagPrefix="uc3" %> +<%@ Register Src="mod_bolle4odette.ascx" TagName="mod_bolle4odette" TagPrefix="uc4" %> + + + + + + + + +
+
+
+ +
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+
+ + +
+
+
+
+ + +
+ +
+ +
+
+
+
+ + +
+ +
+
+ + +
+
+
+ + +
+ +
+
+
+
+
+    + + + + + + + + + + + + + +
+ +
diff --git a/GMW/WebUserControls/mod_odette.ascx.cs b/GMW/WebUserControls/mod_odette.ascx.cs new file mode 100644 index 00000000..52a295ec --- /dev/null +++ b/GMW/WebUserControls/mod_odette.ascx.cs @@ -0,0 +1,602 @@ +using System; +using System.Data; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; +using GMW_data; + +namespace GMW.WebUserControls +{ + public partial class mod_odette : SteamWare.ApplicationUserControl + { + #region area da NON modificare + + #region area protected + + protected string _idxGridView; + protected string _idxGridViewExt; + protected string _tabCache; + protected bool _showNewBtn = false; + + /// + /// imposta errore non cancellabilità per record correlati + /// + protected void setNoDeletableErrorMessage() + { + // mostro avviso di non cancellabilità... + lblWarning.Text = traduci("notDeletable_hasChild"); + lblWarning.Visible = true; + grView.DataBind(); + } + /// + /// esegue cancellazioen record + /// + protected void doDelete() + { + // posso cancellare... + lblWarning.Visible = false; + ods.Delete(); + } + /// + /// Valida la cancellazione per i dati mostrati dal gridView + /// richiede sia preventivamentedichiarato _idxGridView + /// + /// + /// + protected virtual void validaDelete(object sender, ObjectDataSourceMethodEventArgs e) + { + int idx = Convert.ToInt32(e.InputParameters[string.Format("Original_{0}", _idxGridView)]); + if (objIsNotRelated(idx)) + { + // annullo cancellazione... + e.Cancel = true; + // seleziono record... metto in session valore idx e poi ridisegno... + SteamWare.memLayer.ML.setSessionVal(_idxGridView, idx); + setNoDeletableErrorMessage(); + } + else + { + doDelete(); + } + } + + /// + /// recupera i dati di un nuovo record contenuti nel footer di un gridView; + /// questi devono esses opportunamente nominati (es: txt{0}, dl{0}, ...) + /// + /// + /// + protected void recuperaFooter(object sender, ObjectDataSourceMethodEventArgs e) + { + //recupero la riga footer... + DataColumnCollection colonne = colonneObj(); + string nomeCol; + string tipoColonna = ""; + foreach (DataColumn colonna in colonne) + { + nomeCol = colonna.ColumnName; + // cerco un textbox o quello che sia... + if (grView.FooterRow.FindControl(string.Format("txt{0}", nomeCol)) != null) + { + tipoColonna = "textBox"; + } + else if (grView.FooterRow.FindControl(string.Format("dl{0}", nomeCol)) != null) + { + tipoColonna = "dropDownList"; + } + else if (grView.FooterRow.FindControl(string.Format("chk{0}", nomeCol)) != null) + { + tipoColonna = "checkBox"; + } + else if (grView.FooterRow.FindControl(string.Format("selAjax_{0}", nomeCol)) != null) + { + tipoColonna = "selAjax"; + } + // in base al tipo salvo negli inputparameters dell'ODS + switch (tipoColonna) + { + case "textBox": + e.InputParameters[nomeCol] = ((TextBox)grView.FooterRow.FindControl(string.Format("txt{0}", nomeCol))).Text; + break; + case "dropDownList": + e.InputParameters[nomeCol] = ((DropDownList)grView.FooterRow.FindControl(string.Format("dl{0}", nomeCol))).SelectedValue; + break; + case "checkBox": + e.InputParameters[nomeCol] = ((CheckBox)grView.FooterRow.FindControl(string.Format("chk{0}", nomeCol))).Checked; + break; + case "selAjax": + e.InputParameters[nomeCol] = ((mod_selettore_ajax)grView.FooterRow.FindControl(string.Format("selAjax_{0}", nomeCol))).valore; + break; + default: + break; + } + tipoColonna = ""; + } + } + /// + /// inserisce nuovo valore da footer + /// + /// + /// + protected void lblIns_click(object sender, EventArgs e) + { + // click su inserimento, chiamo il metodo insert dell'ObjectDataSource + ods.Insert(); + SteamWare.memLayer.ML.emptyCacheVal(_tabCache); + } + /// + /// annulla inserimento nuovo valore da footer + /// + /// + /// + protected void lblCanc_click(object sender, EventArgs e) + { + // annullo inserimento: nascondo footer, bind controlli... + grView.FooterRow.Visible = false; + } + + /// + /// aggiorna controlli datagrid e numero righe in pagina + /// + protected override void aggiornaControlliDataGL() + { + base.aggiornaControlliDataGL(); + grView.PageSize = _righeDataGridMed; + } + /// + /// traduce gli header delle colonne + /// + /// + /// + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); + lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); + } + else + { + lblNumRec.Text = ""; + } + } + /// + /// gestione evento richeista nuovo valore (mostra footer, ...) + /// + /// + /// + protected void btnNew_Click(object sender, EventArgs e) + { + // reset selezione... + resetSelezione(); + // mostro il footer oppure la riga dei dettagli x nuovo... + if (grView.FooterRow != null) + { + grView.FooterRow.Visible = true; + } + // sollevo evento nuovo valore... + if (eh_nuovoValore != null) + { + eh_nuovoValore(this, new EventArgs()); + } + } + /// + /// reset della selezione + /// + /// + /// + protected void btnReset_Click(object sender, EventArgs e) + { + resetSelezione(); + } + + /// + /// collega i controlli + /// + protected override void bindControlli() + { + base.bindControlli(); + caricaTabelle(); + } + + #endregion + + #region gestione eventi + + //public event EventHandler eh_resetSelezione; + public event EventHandler eh_nuovoValore; + //public event EventHandler eh_selValore; + + #endregion + + #region public + + /// + /// definisce visibilità btnNew + /// + public bool showNewBtn + { + get + { + return _showNewBtn; + } + set + { + _showNewBtn = value; + } + } + /// + /// effettua update del modulo + /// + public void doUpdate() + { + resetSelezione(); + } + + + #endregion + + #endregion + + #region area codice variabile + + + /// + /// carico le tabelle + /// + private void caricaTabelle() + { + } + /// + /// verifica complessiva non esistenza record child + /// + /// + /// + protected bool objIsNotRelated(object idxObj) + { + bool answ = true; + return answ; + } + /// + /// elenco colonne del datagrid + /// + /// + protected DataColumnCollection colonneObj() + { + DS_magazzino.ElencoListePrelievoDataTable tabella = new DS_magazzino.ElencoListePrelievoDataTable(); + DataColumnCollection colonne = tabella.Columns; + return colonne; + } + /// + /// inizializzazione valori di default + /// + /// + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + _idxGridView = "CodListaOd"; + if (!Page.IsPostBack) + { + mod_viewOdette1.Visible = false; + mod_periodoAnalisi1.setPeriodoFree(); + mod_bolle4odette1.Visible = false; + } + // registro evento update + mod_viewOdette1.eh_nuovoValore += new EventHandler(mod_viewOdette1_eh_nuovoValore); + mod_periodoAnalisi1.eh_doUpdate += new EventHandler(mod_periodoAnalisi1_eh_doUpdate); + mod_bolle4odette1.eh_nuovoValore += new EventHandler(mod_bolle4odette1_eh_nuovoValore); + } + + /// + /// mostra oggetti x creare una nuova lista di prelievo + /// + /// + /// + void mod_bolle4odette1_eh_nuovoValore(object sender, EventArgs e) + { + mod_bolle4odette1.Visible = false; + // aggiorno controllo corrente! + updateOds(); + // ridisegno controllo child! + aggiornaElencoRighe(); + } + /// + /// aggiorno x update selettore date + /// + /// + /// + void mod_periodoAnalisi1_eh_doUpdate(object sender, EventArgs e) + { + // aggiorno controllo corrente! + updateOds(); + // ridisegno controllo child! + aggiornaElencoRighe(); + } + /// + /// aggiorno x update valori righe prelievo + /// + /// + /// + void mod_viewOdette1_eh_nuovoValore(object sender, EventArgs e) + { + // aggiorno controllo corrente! + updateOds(); + // ridisegno controllo child! + aggiornaElencoRighe(); + } + /// + /// svuoto da cache post update + /// + /// + /// + protected void ods_Updated(object sender, ObjectDataSourceStatusEventArgs e) + { + resetSelezione(); + } + /// + /// aggiorno visualizzazione + /// + private void updateOds() + { + grView.DataBind(); + } + + /// + /// determina se sia abilitato il pulsante x creare le etichette odette + /// + /// + /// + public bool CreaOdetteEnabled(string codLista) + { + bool answ = false; + try + { + DS_magazzino.ElencoListePrelievoRow riga = MagClass.magazzino.taElencoListePrelievo.getByCodLista(codLista)[0]; + DS_Odette.stp_OdetteStatoCreateRow rigaCreate = Odette.mgr.taOdCreate.GetData(codLista)[0]; + answ = ((riga.CodStatoLista == (int)statoLista.scaricata) && (riga.CodTipoLista == "04-OdetSP") && (rigaCreate.OdetteCreate < rigaCreate.OdetteDaCreare)); + } + catch + { } + return answ; + } + + /// + /// gestione cambio selezione valore + /// + /// + /// + protected void grView_SelectedIndexChanged(object sender, EventArgs e) + { + // mostro modulo per associazione etichette odette / bolla + string codLista = grView.SelectedValue.ToString(); + mod_bolle4odette1.Visible = CreaOdetteEnabled(codLista); + // salvo in session il valore selezionato... + memLayer.ML.setSessionVal(string.Format("{0}_sel", _idxGridView), grView.SelectedValue, true); + aggiornaElencoRighe(); + } + /// + /// aggiorna visualizzazione + /// + private void aggiornaElencoRighe() + { + // setto se sia possibile prelevare le righe (SOLO se iniziata) + bool prelievoOk = false; + bool cambioUdcOk = false; + int codStato = 0; + string codTipoLista = ""; + DS_magazzino.ElencoListePrelievoDataTable tabElencoListe = new DS_magazzino.ElencoListePrelievoDataTable(); + try + { + tabElencoListe = GMW_data.MagClass.magazzino.taElencoListePrelievo.getByCodLista(grView.SelectedValue.ToString()); + codStato = tabElencoListe[0].CodStatoLista; + codTipoLista = tabElencoListe[0].CodTipoLista; + cambioUdcOk = (codStato == (int)statoLista.bozza); + prelievoOk = (codStato == (int)statoLista.iniziata); + } + catch + { } + mod_viewOdette1.intStatoLista = codStato; // salvo il cod (INT) stato della lista + mod_viewOdette1.codTipoLista = codTipoLista; // salvo il tipo lista + // mostra con dettagli + mod_viewOdette1.Visible = true; + mod_viewOdette1.resetSelezione(); + } + /// + /// resetta la selezione dei valori in caso di modifiche su altri controlli + /// + public void resetSelezione() + { + // nascondo creazione odette se visualizzata + mod_bolle4odette1.Visible = false; + // sistemo il resto + SteamWare.memLayer.ML.emptySessionVal(string.Format("{0}_sel", _idxGridView)); + grView.SelectedIndex = -1; + grView.DataBind(); + lblWarning.Visible = false; + // nasconde dettagli + mod_viewOdette1.Visible = false; + } + + /// + /// salvo in session il prox comando + /// + /// + /// + protected void img_Click(object sender, ImageClickEventArgs e) + { + SteamWare.memLayer.ML.setSessionVal("nextObjCommand", ((ImageButton)sender).CommandArgument); + } + /// + /// in caso di aggiornamento verifico se sia salvato un comando inizia o completa lista prelievo... + /// + /// + /// + protected void grView_RowUpdating(object sender, GridViewUpdateEventArgs e) + { + // carico l'idx dell'oggetto + string codLista = e.Keys["CodLista"].ToString(); + // recupero il tipo lista + string codTipoLista = ""; + DS_magazzino.ElencoListePrelievoDataTable tabElencoListe = new DS_magazzino.ElencoListePrelievoDataTable(); + try + { + codTipoLista = tabElencoListe[0].CodTipoLista; + } + catch + { + httpLog(string.Format("Non ho trovato tipo lista per la lista di prelievo seguente: {0}", codLista), tipoLog.ERROR); + } + // quale comando? + string _comando = ""; + if (SteamWare.memLayer.ML.isInSessionObject("nextObjCommand")) + { + _comando = SteamWare.memLayer.ML.StringSessionObj("nextObjCommand"); + SteamWare.memLayer.ML.emptySessionVal("nextObjCommand"); + } + string CodSoggetto = MagClass.magazzino.CodSoggCurrUser; + switch (_comando) + { + + case "CreaEtichetteOdette": + // mostro modulo per associazione etichette odette / bolla + mod_bolle4odette1.Visible = true; + // blocco update! + e.Cancel = true; + break; + default: + // faccio update! + break; + } + } + /// + /// chiamato post modifica valore check/selezione nel selettore filtro stato + /// + /// + /// + public void eh_selectedStato(object sender, EventArgs e) + { + checkFixOds(); + } + /// + /// ssitema visualizzazione dal filtraggi + /// + private void checkFixOds() + { + ods.FilterParameters.Clear(); + ods.FilterExpression = "(CodLista LIKE '%{0}%' OR Particolare LIKE '%{0}%' OR DescParticolare LIKE '%{0}%') AND CodTipoLista = '04-OdetSP' AND CodStatoLista = 4 "; + // parametro ricerca attuale + SessionParameter parametroFiltro = new SessionParameter(); + parametroFiltro.SessionField = "valoreCercato"; + parametroFiltro.Name = "ricerca"; + parametroFiltro.DefaultValue = "*"; + ods.FilterParameters.Add(parametroFiltro); + + // chiamo procedura che aggiorna ods principale + grView.SelectedIndex = -1; + updateOds(); + // ridisegno controllo child! + aggiornaElencoRighe(); + } + /// + /// chiamato post modifica valore check/selezione nel selettore filtro tipo + /// + /// + /// + public void eh_selectedTipo(object sender, EventArgs e) + { + checkFixOds(); + } + /// + /// restituisce URL immagine del codice da mostrare x TIPO lista + /// + /// + /// + public string pathImgTipo(object codice) + { + return string.Format("~/images/lista_{0}_m.png", codice); + } + /// + /// restituisce tooltip da mostrare x TIPO lista + /// + /// + /// + public string tooltipTipo(object codice) + { + return traduci(codice.ToString()); + } + /// + /// traduce il cod soggetto in cognome-nome operatore + /// + /// + /// + public string traduciCodSogg(object CodSogg) + { + string answ = "-"; + try + { + DS_Applicazione.AnagOperatoriRow oper = DataProxy.obj.taAnagOperatore.getByCodSoggetto(CodSogg.ToString())[0]; + answ = string.Format("In carico a: {0} {1} ({2})", oper.Cognome, oper.Nome, oper.CodDipendente); // Ermanno: traduzione testo! + } + catch + { } + return answ; + } + /// + /// restituisce l'url formattato del il report della stampa come da web.config + /// + /// + /// + public string formattaUrlReport(object codLista) + { + string url, urlFormat, opzPdf, nomeRep, urlWebServer; + try + { + urlFormat = SteamWare.memLayer.ML.confReadString("urlReporting"); + urlWebServer = SteamWare.memLayer.ML.confReadString("urlWebServer"); + opzPdf = ""; + nomeRep = SteamWare.memLayer.ML.confReadString("reportName"); + // versione con reporting services + url = string.Format(urlFormat, SteamWare.memLayer.ML.confReadString("reportingServerAddress"), SteamWare.memLayer.ML.confReadString("reportDir"), nomeRep, codLista, opzPdf); + + } + catch + { + url = ""; + } + return url; + } + + /// + /// formatta una stringa x lo stato dell'odette (create/totale + /// + /// + /// + public string StatoOdette(object CodLista) + { + string answ = ""; + try + { + DS_Odette.stp_OdetteStatoCreateRow riga = Odette.mgr.taOdCreate.GetData(CodLista.ToString())[0]; + answ = string.Format("{0}/{1}", riga.OdetteCreate, riga.OdetteDaCreare); + } + catch + { } + return answ; + } + + #endregion + + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_odette.ascx.designer.cs b/GMW/WebUserControls/mod_odette.ascx.designer.cs new file mode 100644 index 00000000..9d38ddbc --- /dev/null +++ b/GMW/WebUserControls/mod_odette.ascx.designer.cs @@ -0,0 +1,79 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4952 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW.WebUserControls { + + + public partial class mod_odette { + + /// + /// mod_periodoAnalisi1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_periodoAnalisi mod_periodoAnalisi1; + + /// + /// mod_bolle4odette1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_bolle4odette mod_bolle4odette1; + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// lblNumRec control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumRec; + + /// + /// lblWarning control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblWarning; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; + + /// + /// mod_viewOdette1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_viewOdette mod_viewOdette1; + } +} diff --git a/GMW/WebUserControls/mod_operazioniUdc.ascx b/GMW/WebUserControls/mod_operazioniUdc.ascx new file mode 100644 index 00000000..976b1fab --- /dev/null +++ b/GMW/WebUserControls/mod_operazioniUdc.ascx @@ -0,0 +1,42 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_operazioniUdc.ascx.cs" + Inherits="GMW.WebUserControls.mod_operazioniUdc" %> +<%@ Register Src="mod_UdcCella.ascx" TagName="mod_UdcCella" TagPrefix="uc1" %> + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + +
+ +
+
+
+ +
+
diff --git a/GMW/WebUserControls/mod_operazioniUdc.ascx.cs b/GMW/WebUserControls/mod_operazioniUdc.ascx.cs new file mode 100644 index 00000000..0d1f300c --- /dev/null +++ b/GMW/WebUserControls/mod_operazioniUdc.ascx.cs @@ -0,0 +1,220 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using GMW_data; +using SteamWare; + +namespace GMW.WebUserControls +{ + public partial class mod_operazioniUdc : System.Web.UI.UserControl + { + protected int idxCella { get; set; } + protected string CodCella { get; set; } + + + /// + /// caricamento pagina + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!Page.IsPostBack) + { + traduciObj(); + } + mod_UdcCella1.eh_nuovoValore += new EventHandler(mod_UdcCella1_eh_nuovoValore); + mod_UdcCella1.eh_nuovaRicerca += new EventHandler(mod_UdcCella1_eh_nuovaRicerca); + disegnaControlli(); + } + + void mod_UdcCella1_eh_nuovaRicerca(object sender, EventArgs e) + { + if (eh_updated != null) + { + eh_updated(this, new EventArgs()); + } + } + + void mod_UdcCella1_eh_nuovoValore(object sender, EventArgs e) + { + if (eh_updated != null) + { + eh_updated(this, new EventArgs()); + } + } + + #region eventi esposti + + /// + /// Evento al cambio di quantità UDC + /// + public event EventHandler eh_updated; + /// + /// crea evento x nascondere il controllo + /// + public event EventHandler eh_hidden; + + #endregion + + /// + /// aggiorno i controlli + /// + private void disegnaControlli() + { + lodaSessionData(); + lblCella.Text = string.Format("{0}: {1}", traduci("CodCella"), CodCella); + setupButtons(idxCella, CodCella); + } + /// + /// ridisegna dettagli UDC x cella selezionata + /// + private void resetUdcDetail() + { + mod_UdcCella1.resetSelezione(); + } + /// + /// carica dati da sessione + /// + private void lodaSessionData() + { + // cerco i dati della cella indicata + idxCella = memLayer.ML.IntSessionObj("IdxCellaMag"); + CodCella = memLayer.ML.StringSessionObj("CodCellaMag"); + } + /// + /// traduzioni + /// + private void traduciObj() + { + // sistemo labels e buttons + btnBlocca.Text = traduci("btnBloccaCella"); + btnSblocca.Text = traduci("btnSbloccaCella"); + btnCompleta.Text = traduci("btnCompletaCella"); + btnDisponibile.Text = traduci("btnDisponibileCella"); + btnClose.Text = traduci("btnClose"); + } + /// + /// determina abilitazioni bottoni x cella + /// + /// + /// + private void setupButtons(int idxCella, string CodCella) + { + // solo se ho valori... + if (idxCella > 0 && CodCella != "") + { + DS_magazzino.CelleRow rigaCella = MagClass.magazzino.taCelle.getByCodCella(CodCella)[0]; + btnBlocca.Enabled = rigaCella.Attiva; + btnSblocca.Enabled = !rigaCella.Attiva; + btnCompleta.Enabled = !rigaCella.Piena; + btnDisponibile.Enabled = rigaCella.Piena; + btnBlocca.Visible = true; + btnSblocca.Visible = true; + btnCompleta.Visible = true; + btnDisponibile.Visible = true; + } + else + { + btnBlocca.Visible = false; + btnSblocca.Visible = false; + btnCompleta.Visible = false; + btnDisponibile.Visible = false; + } + } + /// + /// forza update controllo + /// + public void doUpdate() + { + disegnaControlli(); + } + /// + /// wrapper traduzione + /// + /// + /// + public string traduci(object lemma) + { + return user_std.UtSn.Traduci(lemma.ToString()); + } + + + #region metodi update cella + + /// + /// blocca la cella indicata + /// + /// + /// + protected void btnBlocca_Click(object sender, EventArgs e) + { + MagClass.magazzino.taCelle.stp_celle_updAttiva(memLayer.ML.IntSessionObj("IdxCellaMag"), false); + if (eh_updated != null) + { + eh_updated(this, new EventArgs()); + } + } + /// + /// sblocca la cella indicata + /// + /// + /// + protected void btnSblocca_Click(object sender, EventArgs e) + { + MagClass.magazzino.taCelle.stp_celle_updAttiva(memLayer.ML.IntSessionObj("IdxCellaMag"), true); + if (eh_updated != null) + { + eh_updated(this, new EventArgs()); + } + } + /// + /// indica come completa la cella indicata + /// + /// + /// + protected void btnCompleta_Click(object sender, EventArgs e) + { + MagClass.magazzino.taCelle.stp_celle_updPiena(memLayer.ML.IntSessionObj("IdxCellaMag"), true); + if (eh_updated != null) + { + eh_updated(this, new EventArgs()); + } + } + /// + /// indica come disponibile la cella indicata + /// + /// + /// + protected void btnDisponibile_Click(object sender, EventArgs e) + { + MagClass.magazzino.taCelle.stp_celle_updPiena(memLayer.ML.IntSessionObj("IdxCellaMag"), false); + if (eh_updated != null) + { + eh_updated(this, new EventArgs()); + } + } + /// + /// resetta e chiude... + /// + /// + /// + protected void btnClose_Click(object sender, EventArgs e) + { + // elimina da session... + memLayer.ML.emptySessionVal("IdxCellaMag"); + resetUdcDetail(); + if (eh_hidden != null) + { + eh_hidden(this, new EventArgs()); + } + } + + #endregion + + + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_operazioniUdc.ascx.designer.cs b/GMW/WebUserControls/mod_operazioniUdc.ascx.designer.cs new file mode 100644 index 00000000..cac9d3b2 --- /dev/null +++ b/GMW/WebUserControls/mod_operazioniUdc.ascx.designer.cs @@ -0,0 +1,79 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW.WebUserControls { + + + public partial class mod_operazioniUdc { + + /// + /// lblCella control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblCella; + + /// + /// btnBlocca control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnBlocca; + + /// + /// btnSblocca control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnSblocca; + + /// + /// btnCompleta control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnCompleta; + + /// + /// btnDisponibile control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnDisponibile; + + /// + /// btnClose control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnClose; + + /// + /// mod_UdcCella1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_UdcCella mod_UdcCella1; + } +} diff --git a/GMW/WebUserControls/mod_pageTitleAndSearch.ascx b/GMW/WebUserControls/mod_pageTitleAndSearch.ascx new file mode 100644 index 00000000..7d963fc3 --- /dev/null +++ b/GMW/WebUserControls/mod_pageTitleAndSearch.ascx @@ -0,0 +1,25 @@ +<%@ Control Language="C#" AutoEventWireup="true" + Inherits="mod_pageTitleAndSearch" Codebehind="mod_pageTitleAndSearch.ascx.cs" %> +
+ + + + + + +
+ + +   + + + +
+
+
+ +
+
+
+
+
diff --git a/GMW/WebUserControls/mod_pageTitleAndSearch.ascx.cs b/GMW/WebUserControls/mod_pageTitleAndSearch.ascx.cs new file mode 100644 index 00000000..f26a877e --- /dev/null +++ b/GMW/WebUserControls/mod_pageTitleAndSearch.ascx.cs @@ -0,0 +1,28 @@ +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; +using SteamWare; + +public partial class mod_pageTitleAndSearch : ApplicationUserControl +{ + #region area protected + + protected string _titolo; + protected override void traduciObj() + { + DataLayer_AnagGen.PermessiRow riga = (DataLayer_AnagGen.PermessiRow)user_std.UtSn.permessi.Select(string.Format("URL = '{0}'", _paginaCorrente))[0]; + _titolo = riga.NOME; + lblTitolo.Text = traduci(_titolo); + } + + + #endregion + +} diff --git a/GMW/WebUserControls/mod_pageTitleAndSearch.ascx.designer.cs b/GMW/WebUserControls/mod_pageTitleAndSearch.ascx.designer.cs new file mode 100644 index 00000000..aafb6bed --- /dev/null +++ b/GMW/WebUserControls/mod_pageTitleAndSearch.ascx.designer.cs @@ -0,0 +1,32 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_pageTitleAndSearch { + + /// + /// lblTitolo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblTitolo; + + /// + /// updtRicerca control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.UpdateProgress updtRicerca; +} diff --git a/GMW/WebUserControls/mod_paretoPartByFullSpec.ascx b/GMW/WebUserControls/mod_paretoPartByFullSpec.ascx new file mode 100644 index 00000000..b79810a7 --- /dev/null +++ b/GMW/WebUserControls/mod_paretoPartByFullSpec.ascx @@ -0,0 +1,73 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_paretoPartByFullSpec.ascx.cs" Inherits="GMW.WebUserControls.mod_paretoPartByFullSpec" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + --> + + + + + + + + + + + + + +   + \ No newline at end of file diff --git a/GMW/WebUserControls/mod_paretoPartByFullSpec.ascx.cs b/GMW/WebUserControls/mod_paretoPartByFullSpec.ascx.cs new file mode 100644 index 00000000..7aef05a8 --- /dev/null +++ b/GMW/WebUserControls/mod_paretoPartByFullSpec.ascx.cs @@ -0,0 +1,239 @@ +using System; +using System.Data; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; +using GMW_data; + +namespace GMW.WebUserControls +{ + public partial class mod_paretoPartByFullSpec : SteamWare.ApplicationUserControl + { + #region area da NON modificare + + #region area protected + + protected string _idxGridView; + protected string _idxGridViewExt; + protected string _tabCache; + + /// + /// aggiorna controlli datagrid e numero righe in pagina + /// + protected override void aggiornaControlliDataGL() + { + base.aggiornaControlliDataGL(); + grView.PageSize = _righeDataGridMed; + } + /// + /// traduce gli header delle colonne + /// + /// + /// + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); + lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); + } + else + { + lblNumRec.Text = ""; + } + } + /// + /// reset della selezione + /// + /// + /// + protected void btnReset_Click(object sender, EventArgs e) + { + resetSelezione(); + } + + + /// + /// collega i controlli + /// + protected override void bindControlli() + { + base.bindControlli(); + caricaTabelle(); + } + + #endregion + + #region gestione eventi + + public event EventHandler eh_resetSelezione; + //public event EventHandler eh_nuovoValore; + public event EventHandler eh_selValore; + + #endregion + + #endregion + + #region area codice variabile + + /// + /// carico le tabelle + /// + private void caricaTabelle() + { + } + /// + /// elenco colonne del datagrid + /// + /// + protected DataColumnCollection colonneObj() + { + DS_magazzino.V_DettMagPartDataTable tabella = new DS_magazzino.V_DettMagPartDataTable(); + DataColumnCollection colonne = tabella.Columns; + return colonne; + } + /// + /// inizializzazione valori di default + /// + /// + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + } + /// + /// segnalo nuovo valore filtro attivo... + /// + private void checkFixOds() + { + // controllo se devo filtrare x magazzino logico e di conseguenza setto l'ods... + if (memLayer.ML.isInSessionObject("CodMagLogico_sel")) + { + // svuoto select parameters + ods.SelectParameters.Clear(); + // imposto i parametri... + ods.SelectParameters.Add("CodCS", DbType.String, memLayer.ML.StringSessionObj("CodCS")); + ods.SelectParameters.Add("CodMag", DbType.String, memLayer.ML.StringSessionObj("CodMag_sel")); + ods.SelectParameters.Add("IdxBlocco", DbType.Int32, memLayer.ML.StringSessionObj("IdxBlocco_sel")); + ods.SelectParameters.Add("Particolare", DbType.String, memLayer.ML.StringSessionObj("Particolare_sel")); + ods.SelectParameters.Add("CodMagLog", DbType.Int32, memLayer.ML.StringSessionObj("CodMagLogico_sel")); + // metto nuovo metodo select + ods.SelectMethod = "getParetoByFullSpecMagLog"; + } + else + { + // svuoto select parameters + ods.SelectParameters.Clear(); + // imposto i parametri... + ods.SelectParameters.Add("CodCS", DbType.String, memLayer.ML.StringSessionObj("CodCS")); + ods.SelectParameters.Add("CodMag", DbType.String, memLayer.ML.StringSessionObj("CodMag_sel")); + ods.SelectParameters.Add("IdxBlocco", DbType.Int32, memLayer.ML.StringSessionObj("IdxBlocco_sel")); + ods.SelectParameters.Add("Particolare", DbType.String, memLayer.ML.StringSessionObj("Particolare_sel")); + // metto nuovo metodo select + ods.SelectMethod = "getParetoByFullSpec"; + } + grView.DataBind(); + } + /// + /// aggiorno visualizzazione + /// + private void updateOdsDaFiltro() + { + grView.DataBind(); + } + /// + /// chiamata post page change gridview + /// + /// + /// + protected void grView_PageIndexChanged(object sender, EventArgs e) + { + // sistemazione dell'ods post evento cambio pagina + checkFixOds(); + } + /// + /// chiamata post sort gridview + /// + /// + /// + protected void grView_Sorted(object sender, EventArgs e) + { + // sistemazione dell'ods post evento sort + checkFixOds(); + } + /// + /// gestione cambio selezione valore + /// + /// + /// + protected void grView_SelectedIndexChanged(object sender, EventArgs e) + { + // salvo in session il lo stato scelto... + SteamWare.memLayer.ML.setSessionVal("DescStato_sel", grView.SelectedDataKey["DescStato"], false); + // salvo anche l'esponente scelto... + SteamWare.memLayer.ML.setSessionVal("Esponente_sel", grView.SelectedDataKey["Esponente"], false); + // sollevo evento nuovo valore... + if (eh_selValore != null) + { + eh_selValore(this, new EventArgs()); + } + } + /// + /// resetta la selezione dei valori in caso di modifiche su altri controlli + /// + public void resetSelezione() + { + SteamWare.memLayer.ML.emptySessionVal("DescStato_sel"); + SteamWare.memLayer.ML.emptySessionVal("Esponente_sel"); + grView.SelectedIndex = -1; + checkFixOds(); + grView.DataBind(); + lblWarning.Visible = false; + if (eh_resetSelezione != null) + { + eh_resetSelezione(this, new EventArgs()); + } + } + /// + /// effettua update del modulo + /// + public void doUpdate() + { + checkFixOds(); + } + /// + /// controllo se è da selezionare la riga... + /// + /// + /// + protected void grView_RowDataBound(object sender, GridViewRowEventArgs e) + { + // se riga di dati... + if (e.Row.RowType == DataControlRowType.DataRow) + { + // ottengo la riga tipizzata... + System.Data.DataRowView _drv = (System.Data.DataRowView)e.Row.DataItem; + DS_magazzino.V_DettMagPartRow riga = (DS_magazzino.V_DettMagPartRow)_drv.Row; + bool cond1 = SteamWare.memLayer.ML.StringSessionObj("DescStato_sel") == riga.DescStato.ToString(); + bool cond2 = SteamWare.memLayer.ML.StringSessionObj("Esponente_sel") == riga.Esponente.ToString(); + if (cond1 && cond2) + { + grView.SelectedIndex = e.Row.RowIndex; + } + } + } + + #endregion + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_paretoPartByFullSpec.ascx.designer.cs b/GMW/WebUserControls/mod_paretoPartByFullSpec.ascx.designer.cs new file mode 100644 index 00000000..7818a0fb --- /dev/null +++ b/GMW/WebUserControls/mod_paretoPartByFullSpec.ascx.designer.cs @@ -0,0 +1,52 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW.WebUserControls { + + + public partial class mod_paretoPartByFullSpec { + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; + + /// + /// lblNumRec control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumRec; + + /// + /// lblWarning control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblWarning; + } +} diff --git a/GMW/WebUserControls/mod_paretoUdcBlocco.ascx b/GMW/WebUserControls/mod_paretoUdcBlocco.ascx new file mode 100644 index 00000000..54845f93 --- /dev/null +++ b/GMW/WebUserControls/mod_paretoUdcBlocco.ascx @@ -0,0 +1,62 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_paretoUdcBlocco.ascx.cs" + Inherits="GMW.WebUserControls.mod_paretoUdcBlocco" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> +<%@ Register Src="mod_barPlot.ascx" TagName="mod_barPlot" TagPrefix="uc2" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + --> + + + + + + + + + + + + +   + \ No newline at end of file diff --git a/GMW/WebUserControls/mod_paretoUdcBlocco.ascx.cs b/GMW/WebUserControls/mod_paretoUdcBlocco.ascx.cs new file mode 100644 index 00000000..1fae586c --- /dev/null +++ b/GMW/WebUserControls/mod_paretoUdcBlocco.ascx.cs @@ -0,0 +1,245 @@ +using System; +using System.Data; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; +using GMW_data; + +namespace GMW.WebUserControls +{ + public partial class mod_paretoUdcBlocco : ApplicationUserControl + { + #region area da NON modificare + + #region area protected + + protected string _idxGridView; + protected string _idxGridViewExt; + protected string _tabCache; + + /// + /// aggiorna controlli datagrid e numero righe in pagina + /// + protected override void aggiornaControlliDataGL() + { + base.aggiornaControlliDataGL(); + grView.PageSize = _righeDataGridMed; + } + /// + /// traduce gli header delle colonne + /// + /// + /// + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); + lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); + } + else + { + lblNumRec.Text = ""; + } + } + /// + /// reset della selezione + /// + /// + /// + protected void btnReset_Click(object sender, EventArgs e) + { + resetSelezione(); + } + + + /// + /// collega i controlli + /// + protected override void bindControlli() + { + base.bindControlli(); + caricaTabelle(); + } + + #endregion + + #region gestione eventi + + public event EventHandler eh_resetSelezione; + //public event EventHandler eh_nuovoValore; + public event EventHandler eh_selValore; + + #endregion + + #endregion + + #region area codice variabile + + /// + /// carico le tabelle + /// + private void caricaTabelle() + { + } + /// + /// elenco colonne del datagrid + /// + /// + protected DataColumnCollection colonneObj() + { + DS_magazzino.V_DettMagPartDataTable tabella = new DS_magazzino.V_DettMagPartDataTable(); + DataColumnCollection colonne = tabella.Columns; + return colonne; + } + /// + /// inizializzazione valori di default + /// + /// + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + _idxGridView = "Particolare"; + } + + void mod_filtroMag_eh_selValore(object sender, EventArgs e) + { + // chiamo procedura che aggiorna ods principale + checkFixOds(); + } + /// + /// segnalo nuovo valore filtro attivo... + /// + private void checkFixOds() + { + // controllo se devo filtrare x magazzino logico e di conseguenza setto l'ods... + if (memLayer.ML.isInSessionObject("CodMagLogico_sel")) + { + // svuoto select parameters + ods.SelectParameters.Clear(); + // imposto i parametri... + ods.SelectParameters.Add("CodCS", DbType.String, memLayer.ML.StringSessionObj("CodCS")); + ods.SelectParameters.Add("CodMag", DbType.String, memLayer.ML.StringSessionObj("CodMag_sel")); + ods.SelectParameters.Add("IdxBlocco", DbType.Int32, memLayer.ML.StringSessionObj("IdxBlocco_sel")); + ods.SelectParameters.Add("CodMagLog", DbType.Int32, memLayer.ML.StringSessionObj("CodMagLogico_sel")); + // metto nuovo metodo select + ods.SelectMethod = "getParetoByMagBloccoMagLog"; + } + else + { + // svuoto select parameters + ods.SelectParameters.Clear(); + // imposto i parametri... + ods.SelectParameters.Add("CodCS", DbType.String, memLayer.ML.StringSessionObj("CodCS")); + ods.SelectParameters.Add("CodMag", DbType.String, memLayer.ML.StringSessionObj("CodMag_sel")); + ods.SelectParameters.Add("IdxBlocco", DbType.Int32, memLayer.ML.StringSessionObj("IdxBlocco_sel")); + // metto nuovo metodo select + ods.SelectMethod = "getParetoByMagBlocco"; + } + grView.DataBind(); + } + /// + /// aggiorno visualizzazione + /// + private void updateOdsDaFiltro() + { + grView.DataBind(); + } + /// + /// chiamata post page change gridview + /// + /// + /// + protected void grView_PageIndexChanged(object sender, EventArgs e) + { + // sistemazione dell'ods post evento cambio pagina + checkFixOds(); + } + /// + /// chiamata post sort gridview + /// + /// + /// + protected void grView_Sorted(object sender, EventArgs e) + { + // sistemazione dell'ods post evento sort + checkFixOds(); + } + + /// + /// gestione cambio selezione valore + /// + /// + /// + protected void grView_SelectedIndexChanged(object sender, EventArgs e) + { + // salvo in session il valore selezionato... + memLayer.ML.setSessionVal(string.Format("{0}_sel", _idxGridView), grView.SelectedValue, true); + // salvo anche codBlocco... + string codMag = MagClass.magazzino.taBlocchi.getByIdx(memLayer.ML.IntSessionObj("IdxBlocco_sel"))[0].CodMag; + memLayer.ML.setSessionVal("CodMag_sel", codMag, true); + + // sollevo evento nuovo valore... + if (eh_selValore != null) + { + eh_selValore(this, new EventArgs()); + } + } + /// + /// resetta la selezione dei valori in caso di modifiche su altri controlli + /// + public void resetSelezione() + { + memLayer.ML.emptySessionVal(string.Format("{0}_sel", _idxGridView)); + grView.SelectedIndex = -1; + checkFixOds(); + grView.DataBind(); + lblWarning.Visible = false; + if (eh_resetSelezione != null) + { + eh_resetSelezione(this, new EventArgs()); + } + } + /// + /// effettua update del modulo + /// + public void doUpdate() + { + grView.SelectedIndex = -1; + checkFixOds(); + } + /// + /// controllo se è da selezionare la riga... + /// + /// + /// + protected void grView_RowDataBound(object sender, GridViewRowEventArgs e) + { + // se riga di dati... + if (e.Row.RowType == DataControlRowType.DataRow) + { + // ottengo la riga tipizzata... + System.Data.DataRowView _drv = (System.Data.DataRowView)e.Row.DataItem; + DS_magazzino.V_DettMagPartRow riga = (DS_magazzino.V_DettMagPartRow)_drv.Row; + if (SteamWare.memLayer.ML.StringSessionObj("Particolare_sel") == riga.Particolare.ToString()) + { + grView.SelectedIndex = e.Row.RowIndex; + } + } + } + + #endregion + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_paretoUdcBlocco.ascx.designer.cs b/GMW/WebUserControls/mod_paretoUdcBlocco.ascx.designer.cs new file mode 100644 index 00000000..c5418b36 --- /dev/null +++ b/GMW/WebUserControls/mod_paretoUdcBlocco.ascx.designer.cs @@ -0,0 +1,52 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW.WebUserControls { + + + public partial class mod_paretoUdcBlocco { + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; + + /// + /// lblNumRec control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumRec; + + /// + /// lblWarning control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblWarning; + } +} diff --git a/GMW/WebUserControls/mod_periodoAnalisi.ascx b/GMW/WebUserControls/mod_periodoAnalisi.ascx new file mode 100644 index 00000000..5e2ff838 --- /dev/null +++ b/GMW/WebUserControls/mod_periodoAnalisi.ascx @@ -0,0 +1,95 @@ +<%@ Control Language="C#" AutoEventWireup="true" Inherits="mod_periodoAnalisi" + CodeBehind="mod_periodoAnalisi.ascx.cs" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %> + + + + + +
+ +    + + + 00 + 01 + 02 + 03 + 04 + 05 + 06 + 07 + 08 + 09 + 10 + 11 + 12 + 13 + 14 + 15 + 16 + 17 + 18 + 19 + 20 + 21 + 22 + 23 + + + +  →  + + + 00 + 01 + 02 + 03 + 04 + 05 + 06 + 07 + 08 + 09 + 10 + 11 + 12 + 13 + 14 + 15 + 16 + 17 + 18 + 19 + 20 + 21 + 22 + 23 + + + +     + + selezione + oggi + ieri + questa settimana + ultimi 7gg + questo mese + ultimi 30gg + 1 anno + +     + + + +    + +
diff --git a/GMW/WebUserControls/mod_periodoAnalisi.ascx.cs b/GMW/WebUserControls/mod_periodoAnalisi.ascx.cs new file mode 100644 index 00000000..a2acebc1 --- /dev/null +++ b/GMW/WebUserControls/mod_periodoAnalisi.ascx.cs @@ -0,0 +1,307 @@ +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; +using SteamWare; + + +public partial class mod_periodoAnalisi : System.Web.UI.UserControl +{ + #region area protected + + protected intervalloDate _intervallo; + + /// + /// avvio componente + /// + /// + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + setIntervallo(); + setDurataMin(); + } + /// + /// definisce se sia da mostrare il selettore delle ore nel controllo + /// + protected bool mostraSelOra + { + get + { + bool answ = false; + if (memLayer.ML.isInSessionObject("mostraSelOra")) + { + answ = memLayer.ML.BoolSessionObj("mostraSelOra"); + } + else + { + // leggo da sessione e salvo... + try + { + answ = memLayer.ML.confReadBool("mostraSelOra"); + } + catch + { } + memLayer.ML.setSessionVal("mostraSelOra", answ); + } + return answ; + } + } + + /// + /// gestione del selettore rapido dell'intervallo temporale... + /// + /// + /// + protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e) + { + // verifico cosa sia cambiato ed imposto date... + datario _datario = new datario(); + switch (DropDownList1.SelectedValue) + { + case "oggi": + _intervallo = _datario.giornata(DateTime.Now); + break; + case "ieri": + _intervallo = _datario.giornata(DateTime.Now.AddDays(-1)); + break; + case "ultimi 7gg": + _intervallo = _datario.ultimiGiorni(DateTime.Now, 7); + break; + case "questa settimana": + _intervallo = _datario.questaSett(DateTime.Now); + break; + case "ultimi 30gg": + _intervallo = _datario.ultimiGiorni(DateTime.Now, 30); + break; + case "questo mese": + _intervallo = _datario.questoMese(DateTime.Now); + break; + case "1 anno": + _intervallo = _datario.ultimiGiorni(DateTime.Now, 366); + break; + default: + break; + } + if ((intervalloAnalisi.inizio != _intervallo.inizio) || (intervalloAnalisi.fine != _intervallo.fine)) + { + verificaCoerenzaDate(); + aggiornaDateMostrate(false); + // mostro btn update + btnUpdate.Visible = true; + } + } + /// + /// effettua update delle date mostrate da intervallo analisi (ed eventualmente riporta update...) + /// + /// + private void aggiornaDateMostrate(bool doReportUpdate) + { + scriviDate(); + if (doReportUpdate) + { + reportUpdate(); + } + } + /// + /// scrive nuove date in controllo + /// + private void scriviDate() + { + // se intervallo non è valorizzato leggo da sessione... + if (!_intervallo.isValid) + { + _intervallo = intervalloAnalisi; + } + txtInizio.Text = _intervallo.inizio.ToShortDateString(); + ddlOraInizio.SelectedValue = _intervallo.inizio.Hour.ToString("00"); + txtFine.Text = _intervallo.fine.ToShortDateString(); + ddlOraFine.SelectedValue = _intervallo.fine.Hour.ToString("00"); + if (mostraSelOra) + { + ddlOraInizio.Visible = true; + ddlOraFine.Visible = true; + } + else + { + ddlOraInizio.Visible = false; + ddlOraFine.Visible = false; + } + } + /// + /// imposta intervallo da sessione o di default + /// + private void setIntervallo() + { + intervalloDate _intervallo; + try + { + _intervallo = (intervalloDate)Session["_intervallo"]; + } + catch + { + _intervallo = new intervalloDate(); + _intervallo.inizio = DateTime.Now.AddDays(memLayer.ML.confReadInt("defDayFrom")); + _intervallo.fine = DateTime.Now.AddDays(1); + Session["_intervallo"] = _intervallo; + Session["_inizio"] = _intervallo.inizio; + Session["_fine"] = _intervallo.fine; + } + scriviDate(); + } + /// + /// imposta durata minima + /// + private void setDurataMin() + { + int _durataMin; + try + { + _durataMin = (int)Session["_durataMin"]; + } + catch + { + _durataMin = 0; + Session["_durataMin"] = _durataMin; + } + txtDurataMin.Text = _durataMin.ToString(); + } + protected void Page_Load(object sender, EventArgs e) + { + lblPeriodo.Text = "Periodo di riferimento: "; + txtInizio.ToolTip = "inizio periodo di riferimento per i dati mostrati"; + txtFine.ToolTip = "fine periodo di riferimento per i dati mostrati"; + lblDurataMin.Text = "Visualizza eventi con durata superiore a"; + } + + + private void aggiornaPeriodo() + { + _intervallo = new intervalloDate(); + // calcolo tempi arrotondati + int oraInizio = Convert.ToInt32(ddlOraInizio.SelectedValue); + int oraFine = Convert.ToInt32(ddlOraFine.SelectedValue); + _intervallo.inizio = Convert.ToDateTime(txtInizio.Text).AddHours(oraInizio); + _intervallo.fine = Convert.ToDateTime(txtFine.Text).AddHours(oraFine); + verificaCoerenzaDate(); + int _durataMin; + _durataMin = Convert.ToInt32(txtDurataMin.Text); + Session["_durataMin"] = _durataMin; + reportUpdate(); + + } + /// + /// verifica che le date dell'intervallo siano coerenti (inizio < fine) + /// + private void verificaCoerenzaDate() + { + // controllo date siano coerenti (fine > inizio)... + if (_intervallo.inizio >= _intervallo.fine) + { + // controllo non siano date successive ad oggi... + if (_intervallo.fine > DateTime.Now) + { + _intervallo.fine = DateTime.Now; + } + _intervallo.inizio = _intervallo.fine.AddDays(-1); + } + //intervalloAnalisi = _intervallo; + aggiornaDateMostrate(false); + } + /// + /// evento cambio testo data inizio + /// + /// + /// + protected void txtInizio_TextChanged(object sender, EventArgs e) + { + // imposto il selettore a discesa... + setPeriodoFree(); + // mostro btn update + btnUpdate.Visible = true; + } + /// + /// evento cambio testo data fine + /// + /// + /// + protected void txtFine_TextChanged(object sender, EventArgs e) + { + // imposto il selettore a discesa... + setPeriodoFree(); + // mostro btn update + btnUpdate.Visible = true; + } + /// + /// in questo caso faccio udpate periodo mostrato + /// + /// + /// + protected void btnUpdate_Click(object sender, EventArgs e) + { + aggiornaPeriodo(); + // nascondo btn update + btnUpdate.Visible = false; + } + /// + /// riporta aggiornamento a controller + /// + protected void reportUpdate() + { + intervalloAnalisi = _intervallo; + // alzo l'evento d update/inserimento e ricarico cache... + if (eh_doUpdate != null) + { + eh_doUpdate(this, new EventArgs()); + } + } + + #endregion + + #region area public + + public intervalloDate intervalloAnalisi + { + get + { + return (intervalloDate)Session["_intervallo"]; + } + set + { + intervalloDate interv = value; + Session["_intervallo"] = interv; + Session["_inizio"] = interv.inizio; + Session["_fine"] = interv.fine; + } + } + /// + /// effettua update + /// + /// + public void doUpdate(bool doReportUpdate) + { + aggiornaDateMostrate(doReportUpdate); + } + /// + /// imposta periodo libero di selezione + /// + public void setPeriodoFree() + { + DropDownList1.SelectedIndex = 0; + } + + #region gestione eventi + + public event EventHandler eh_doUpdate; + + #endregion + + + #endregion +} diff --git a/GMW/WebUserControls/mod_periodoAnalisi.ascx.designer.cs b/GMW/WebUserControls/mod_periodoAnalisi.ascx.designer.cs new file mode 100644 index 00000000..9bfacaf2 --- /dev/null +++ b/GMW/WebUserControls/mod_periodoAnalisi.ascx.designer.cs @@ -0,0 +1,113 @@ +//------------------------------------------------------------------------------ +// +// 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. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_periodoAnalisi { + + /// + /// lblPeriodo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblPeriodo; + + /// + /// txtInizio control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtInizio; + + /// + /// ddlOraInizio control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.DropDownList ddlOraInizio; + + /// + /// CalendarExtender1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.CalendarExtender CalendarExtender1; + + /// + /// txtFine control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtFine; + + /// + /// ddlOraFine control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.DropDownList ddlOraFine; + + /// + /// CalendarExtender2 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.CalendarExtender CalendarExtender2; + + /// + /// DropDownList1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.DropDownList DropDownList1; + + /// + /// btnUpdate control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnUpdate; + + /// + /// lblDurataMin control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblDurataMin; + + /// + /// txtDurataMin control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtDurataMin; +} diff --git a/GMW/WebUserControls/mod_ricercaGenerica.ascx b/GMW/WebUserControls/mod_ricercaGenerica.ascx new file mode 100644 index 00000000..d144936c --- /dev/null +++ b/GMW/WebUserControls/mod_ricercaGenerica.ascx @@ -0,0 +1,5 @@ +<%@ Control Language="C#" AutoEventWireup="true" Inherits="mod_ricercaGenerica" CodeBehind="mod_ricercaGenerica.ascx.cs" %> +
+ + +
diff --git a/GMW/WebUserControls/mod_ricercaGenerica.ascx.cs b/GMW/WebUserControls/mod_ricercaGenerica.ascx.cs new file mode 100644 index 00000000..5777bf5e --- /dev/null +++ b/GMW/WebUserControls/mod_ricercaGenerica.ascx.cs @@ -0,0 +1,182 @@ +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; +using SteamWare; + +public partial class mod_ricercaGenerica : ApplicationUserControl +{ + + #region gestione eventi + + public event EventHandler eh_nuovaRicerca; + + #endregion + + # region area protected + + #region area ricerche dettaglio specifiche + + protected bool _cercaMatricole = false; + protected bool _cercaUsername = false; + //protected bool _cercaManufacturer = false; + //protected bool _cercaCategorie = false; + protected bool _cercaModelli = false; + protected bool _cercaMag = false; + + #endregion + + protected override void Page_Load(object sender, EventArgs e) + { + base.Page_Load(sender, e); + updateText(); + btnCerca.Text = traduci("lblCerca"); + } + /// + /// cambiato valore in ricerca + /// + /// + /// + protected void txtCerca_TextChanged(object sender, EventArgs e) + { + salvaCerca(); + } + /// + /// pressione del button di ricerca + /// + /// + /// + protected void btnCerca_Click(object sender, EventArgs e) + { + salvaCerca(); + } + /// + /// testo ricerca trimmato da spazi + /// + protected string testoRicerca + { + get + { + return txtCerca.Text.Trim(); + } + set + { + txtCerca.Text = value; + } + } + + protected void salvaCerca() + { + if (testoRicerca == "") + { + SteamWare.memLayer.ML.emptySessionVal("valoreCercato"); + SteamWare.memLayer.ML.emptySessionVal("listaMatricoleSearch"); + } + else + { + SteamWare.memLayer.ML.setSessionVal("valoreCercato", testoRicerca); + // verifico ricerche accessorie + if (_cercaMatricole) + { + salvaCercaMatricole(); + } + if (_cercaUsername) + { + salvaCercaUsername(); + } + // raise dell'evento + if (eh_nuovaRicerca != null) + { + eh_nuovaRicerca(this, new EventArgs()); + } + } + } + /// + /// ricerca utenti e salva lista matricole x SQL IN + /// + protected void salvaCercaMatricole() + { + // salvo anche l'elenco delle matricole compatibili... + DataLayer_AnagGen.UTENTEDataTable righeUtenti = DataWrap.DW.taUtente.getByRicercaNomeCognome(testoRicerca); + string listaMatricoleSearch = ""; + foreach (DataLayer_AnagGen.UTENTERow riga in righeUtenti) + { + listaMatricoleSearch += string.Format("'{0}', ", riga.MATRICOLA); + } + if (listaMatricoleSearch.Length > 0) + { + listaMatricoleSearch = listaMatricoleSearch.Remove(listaMatricoleSearch.Length - 2); + } + SteamWare.memLayer.ML.setSessionVal("listaMatricoleSearch", listaMatricoleSearch); + } + /// + /// ricerca utenti e salva lista username x SQL IN + /// + protected void salvaCercaUsername() + { + // salvo anche l'elenco delle matricole compatibili... + DataLayer_AnagGen.UTENTEDataTable righeUtenti = DataWrap.DW.taUtente.getByRicercaNomeCognome(testoRicerca); + string listaUsernameSearch = ""; + foreach (DataLayer_AnagGen.UTENTERow riga in righeUtenti) + { + listaUsernameSearch += string.Format("'{0}', ", riga.USER_NAME); + } + if (listaUsernameSearch.Length > 0) + { + listaUsernameSearch = listaUsernameSearch.Remove(listaUsernameSearch.Length - 2); + } + SteamWare.memLayer.ML.setSessionVal("listaUsernameSearch", listaUsernameSearch); + } + + #endregion + + #region area public + + /// + /// aggiorna il testo cercato + /// + public void updateText() + { + if (SteamWare.memLayer.ML.StringSessionObj("valoreCercato") != "" && !Page.IsPostBack) + { + testoRicerca = SteamWare.memLayer.ML.StringSessionObj("valoreCercato"); + } + } + + /// + /// indica se generare da stringa search un elenco delle matricole corrispondenti + /// + public bool cercaMatricole + { + get + { + return _cercaMatricole; + } + set + { + _cercaMatricole = value; + } + } + /// + /// indica se generare da stringa search un elenco di username corrispondenti + /// + public bool cercaUsername + { + get + { + return _cercaUsername; + } + set + { + _cercaUsername = value; + } + } + #endregion + +} diff --git a/GMW/WebUserControls/mod_ricercaGenerica.ascx.designer.cs b/GMW/WebUserControls/mod_ricercaGenerica.ascx.designer.cs new file mode 100644 index 00000000..b7d2bb33 --- /dev/null +++ b/GMW/WebUserControls/mod_ricercaGenerica.ascx.designer.cs @@ -0,0 +1,32 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_ricercaGenerica { + + /// + /// txtCerca control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtCerca; + + /// + /// btnCerca control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnCerca; +} diff --git a/GMW/WebUserControls/mod_sanpos_associaz_F10_F18.ascx b/GMW/WebUserControls/mod_sanpos_associaz_F10_F18.ascx new file mode 100644 index 00000000..2e89652e --- /dev/null +++ b/GMW/WebUserControls/mod_sanpos_associaz_F10_F18.ascx @@ -0,0 +1,52 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_sanpos_associaz_F10_F18.ascx.cs" + Inherits="GMW.WebUserControls.mod_sanpos_associaz_F10_F18" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %> + +
+
+
+
+ +
+
+ +
+
+ +
+ +
+
+
+ +
+
+ +
+
+
+
+
+ +
+ + +
+
+
+ +
+   +
+ +
+
+
+
+
+
diff --git a/GMW/WebUserControls/mod_sanpos_associaz_F10_F18.ascx.cs b/GMW/WebUserControls/mod_sanpos_associaz_F10_F18.ascx.cs new file mode 100644 index 00000000..631ccd7b --- /dev/null +++ b/GMW/WebUserControls/mod_sanpos_associaz_F10_F18.ascx.cs @@ -0,0 +1,346 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; +using GMW_data; + +namespace GMW.WebUserControls +{ + public partial class mod_sanpos_associaz_F10_F18 : System.Web.UI.UserControl + { + /// + /// caricamento pagina + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!Page.IsPostBack) + { + calcolaPostazione(); + traduciObj(); + } + doChecks(); + lblGitterBoxAttivo.Text = ""; + if (currUdcFrom != "") + { + lblGitterBoxAttivo.Text += string.Format("{1}: {0}", currUdcFrom, traduci("UdcPartenza")); + } + if (lblGitterBoxAttivo.Text != "") + { + lblGitterBoxAttivo.Text += "
"; + } + if (currUdcTo != "") + { + lblGitterBoxAttivo.Text += string.Format("{1}: {0}", currUdcTo, traduci("UdcArrivo")); + } + if (lblGitterBoxAttivo.Text == "") + { + lblGitterBoxAttivo.Text = "..."; + } + } + /// + /// effettua controlli visibilità + /// + private void doChecks() + { + checkBarcode(); + checkStampa(); + } + /// + /// sistemo labels oggetti + /// + private void traduciObj() + { + // labels + lblPostazione.Text = string.Format("{2}: {0} ({1})", postazione_name, postazione_IP, traduci("postazione")); + lblPrinter.Text = string.Format("{1}: {0}", postazione_printer, traduci("stampante")); + lblCurrentPage.Text = traduci(PagCorrente); + // buttons + btnAssocia.Text = traduci("btnAssocia"); + } + /// + /// restituisce il nome della pagina corrente + /// + protected string PagCorrente + { + get + { + string answ = ""; + Uri MyUrl = Request.Url; + string delimStr = "/"; + char[] delimiter = delimStr.ToCharArray(); + string[] finalUrl = MyUrl.LocalPath.ToString().Split(delimiter); + int n = finalUrl.Length; + answ = finalUrl[n - 1].ToString(); + DataLayer_AnagGen.PermessiRow riga = (DataLayer_AnagGen.PermessiRow)user_std.UtSn.permessi.Select(string.Format("URL = '{0}'", answ))[0]; + answ = riga.NOME; + return answ; + } + } + /// + /// wrapper traduzione + /// + /// + /// + public string traduci(object lemma) + { + return user_std.UtSn.Traduci(lemma.ToString()); + } + /// + /// 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); + } + } + /// + /// indica UDC FROM (F10) selezionato + /// + protected string currUdcFrom + { + get + { + return memLayer.ML.StringSessionObj("currUdcFrom"); + } + set + { + memLayer.ML.setSessionVal("currUdcFrom", value, false); + } + } + /// + /// indica UDC TO (F18) selezionato + /// + protected string currUdcTo + { + get + { + return memLayer.ML.StringSessionObj("currUdcTo"); + } + set + { + memLayer.ML.setSessionVal("currUdcTo", value, false); + } + } + /// + /// indica se i caratteri vadano forzati a maiuscoli + /// + public bool forceUppercase + { + get + { + return memLayer.ML.confReadBool("forceUppercase"); + } + } + /// + /// decodifica il tipo barcode acquisito + /// + public tipoCodiceBarcode tipoBCode + { + get + { + tipoCodiceBarcode answ = tipoCodiceBarcode.ND; + int trovati = 0; + // controllo non si tratti di un comando... + string preCmd = memLayer.ML.confReadString("prefComandi"); + if (barcodeIn.StartsWith(preCmd)) + { + answ = tipoCodiceBarcode.Comando; + } + // controllo se sia un particolare "P" + else if (barcodeIn.StartsWith("P")) + { + answ = tipoCodiceBarcode.Particolare; + } + else + { + try + { + // cerco tra gitterbox (UDC)... + trovati = MagClass.magazzino.taCartellini.getByUdc(barcodeIn).Rows.Count; + if (trovati > 0) + { + answ = tipoCodiceBarcode.UDC; + } + } + catch + { + } + } + return answ; + } + } + /// + /// valore barcode + /// + public string barcodeIn + { + get + { + return txtBarcode.Text.Trim(); + } + set + { + txtBarcode.Text = value; + } + } + /// + /// controlla se ci sia un barcode + /// + private void checkBarcode() + { + if (barcodeIn != "") + { + DS_Applicazione.ElencoCartelliniRow rigaCart; + string tipoImballo = ""; + lblMessaggi.Text = string.Format("Barcode digitato: {0}", barcodeIn); + switch (tipoBCode) + { + + case tipoCodiceBarcode.UDC: + // procedo solo se UDC esistente + if (MagClass.magazzino.checkUDC(barcodeIn)) + { + // cerco di recuperare riga UDC + try + { + rigaCart = DataProxy.obj.taCartellini.stp_getByUdc(barcodeIn)[0]; + tipoImballo = rigaCart.CodImballo; + } + catch + { } + // controllo il tipo imballo dell'UDC per decidere se sia F10 o F18... + if (tipoImballo == memLayer.ML.confReadString("CodImballoLiquidi")) + { + // salvo UDC from + currUdcFrom = barcodeIn; + } + else if (tipoImballo == memLayer.ML.confReadString("CodImballoLiquidiDaSpedire")) + { + // salvo UDC to + currUdcTo = barcodeIn; + } + else + { + lblMessaggi.Text += " - codice UDC non valido / non trovato."; + pnlAll.CssClass = "stileComandoKo"; + } + } + + break; + default: + lblMessaggi.Text += " - codice non riconosciuto!"; + pnlAll.CssClass = "stileComandoND"; + break; + } + barcodeIn = ""; + } + else + { + lblMessaggi.Text = "...attesa barcode..."; + } + //grView.DataBind(); + txtBarcode.Focus(); + } + /// + /// controllo l'abilitazioen alla stampa UDC: + /// - particolare ok + /// - qta > 0 + /// - almeno 1 trattamento + /// altrimenti disabilito btn stampa + /// + private void checkStampa() + { + bool associaOk = false; + if (currUdcFrom != "" && currUdcTo != "") + { + associaOk = true; + } + btnAssocia.Enabled = associaOk; + } + /// + /// genera i barcode di + /// - trattamenti + /// - nuovo x pezzi liquidi + /// e lancia la relativa stampa + /// + /// + /// + protected void btnAssocia_Click(object sender, EventArgs e) + { + if (currUdcFrom != "" && currUdcTo != "") + { + // associo i 2 cartellini + MagClass.magazzino.associaUdcParent(currUdcTo, currUdcFrom); + // indico UDC associati! + lblMessaggi.Text = string.Format("{0} {1} -> {2}", traduci("effettuataAssociazione"), currUdcFrom, currUdcTo); + currUdcFrom = ""; + currUdcTo = ""; + lblGitterBoxAttivo.Text = ""; + } + } + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_sanpos_associaz_F10_F18.ascx.designer.cs b/GMW/WebUserControls/mod_sanpos_associaz_F10_F18.ascx.designer.cs new file mode 100644 index 00000000..427bb6c3 --- /dev/null +++ b/GMW/WebUserControls/mod_sanpos_associaz_F10_F18.ascx.designer.cs @@ -0,0 +1,124 @@ +//------------------------------------------------------------------------------ +// +// 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_sanpos_associaz_F10_F18 { + + /// + /// pnlAll control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlAll; + + /// + /// lblPostazione control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblPostazione; + + /// + /// lblPrinter control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblPrinter; + + /// + /// lblCurrentPage control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblCurrentPage; + + /// + /// hlMenu control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.HyperLink hlMenu; + + /// + /// lblGitterBoxAttivo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblGitterBoxAttivo; + + /// + /// lblMessaggi control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblMessaggi; + + /// + /// lblBarcode control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblBarcode; + + /// + /// txtBarcode control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtBarcode; + + /// + /// aceParticolare control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.AutoCompleteExtender aceParticolare; + + /// + /// lblAssociazione control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblAssociazione; + + /// + /// btnAssocia control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnAssocia; + } +} diff --git a/GMW/WebUserControls/mod_sanpos_consumoF10.ascx b/GMW/WebUserControls/mod_sanpos_consumoF10.ascx new file mode 100644 index 00000000..aea68686 --- /dev/null +++ b/GMW/WebUserControls/mod_sanpos_consumoF10.ascx @@ -0,0 +1,52 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_sanpos_consumoF10.ascx.cs" + Inherits="GMW.WebUserControls.mod_sanpos_consumoF10" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %> + +
+
+
+
+ +
+
+ +
+
+ +
+ +
+
+
+ +
+
+ +
+
+
+
+
+ +
+ + +
+
+
+ +
+   +
+ +
+
+
+
+
+
diff --git a/GMW/WebUserControls/mod_sanpos_consumoF10.ascx.cs b/GMW/WebUserControls/mod_sanpos_consumoF10.ascx.cs new file mode 100644 index 00000000..ad5b2251 --- /dev/null +++ b/GMW/WebUserControls/mod_sanpos_consumoF10.ascx.cs @@ -0,0 +1,322 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; +using GMW_data; + +namespace GMW.WebUserControls +{ + public partial class mod_sanpos_consumoF10 : System.Web.UI.UserControl + { + /// + /// caricamento pagina + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!Page.IsPostBack) + { + calcolaPostazione(); + traduciObj(); + } + doChecks(); + lblGitterBoxAttivo.Text = ""; + if (currUdcFrom != "") + { + lblGitterBoxAttivo.Text += string.Format("UDC FROM: {0}", currUdcFrom); + } + if (lblGitterBoxAttivo.Text == "") + { + lblGitterBoxAttivo.Text = "..."; + } + } + /// + /// effettua controlli visibilità + /// + private void doChecks() + { + checkBarcode(); + checkConsuma(); + } + /// + /// sistemo labels oggetti + /// + private void traduciObj() + { + // labels + lblPostazione.Text = string.Format("{2}: {0} ({1})", postazione_name, postazione_IP, traduci("postazione")); + lblPrinter.Text = string.Format("{1}: {0}", postazione_printer, traduci("stampante")); + lblCurrentPage.Text = traduci(PagCorrente); + // buttons + btnConsuma.Text = traduci("btnConsumaUdcF10"); + } + /// + /// restituisce il nome della pagina corrente + /// + protected string PagCorrente + { + get + { + string answ = ""; + Uri MyUrl = Request.Url; + string delimStr = "/"; + char[] delimiter = delimStr.ToCharArray(); + string[] finalUrl = MyUrl.LocalPath.ToString().Split(delimiter); + int n = finalUrl.Length; + answ = finalUrl[n - 1].ToString(); + DataLayer_AnagGen.PermessiRow riga = (DataLayer_AnagGen.PermessiRow)user_std.UtSn.permessi.Select(string.Format("URL = '{0}'", answ))[0]; + answ = riga.NOME; + return answ; + } + } + /// + /// wrapper traduzione + /// + /// + /// + public string traduci(object lemma) + { + return user_std.UtSn.Traduci(lemma.ToString()); + } + /// + /// 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); + } + } + /// + /// indica UDC FROM (F10) selezionato + /// + protected string currUdcFrom + { + get + { + return memLayer.ML.StringSessionObj("currUdcFrom"); + } + set + { + memLayer.ML.setSessionVal("currUdcFrom", value, false); + } + } + /// + /// indica se i caratteri vadano forzati a maiuscoli + /// + public bool forceUppercase + { + get + { + return memLayer.ML.confReadBool("forceUppercase"); + } + } + /// + /// decodifica il tipo barcode acquisito + /// + public tipoCodiceBarcode tipoBCode + { + get + { + tipoCodiceBarcode answ = tipoCodiceBarcode.ND; + int trovati = 0; + // controllo non si tratti di un comando... + string preCmd = memLayer.ML.confReadString("prefComandi"); + if (barcodeIn.StartsWith(preCmd)) + { + answ = tipoCodiceBarcode.Comando; + } + // controllo se sia un particolare "P" + else if (barcodeIn.StartsWith("P")) + { + answ = tipoCodiceBarcode.Particolare; + } + else + { + try + { + // cerco tra gitterbox (UDC)... + trovati = MagClass.magazzino.taCartellini.getByUdc(barcodeIn).Rows.Count; + if (trovati > 0) + { + answ = tipoCodiceBarcode.UDC; + } + } + catch + { + } + } + return answ; + } + } + /// + /// valore barcode + /// + public string barcodeIn + { + get + { + return txtBarcode.Text.Trim(); + } + set + { + txtBarcode.Text = value; + } + } + /// + /// controlla se ci sia un barcode + /// + private void checkBarcode() + { + if (barcodeIn != "") + { + DS_Applicazione.ElencoCartelliniRow rigaCart; + string tipoImballo = ""; + lblMessaggi.Text = string.Format("Barcode digitato: {0}", barcodeIn); + switch (tipoBCode) + { + + case tipoCodiceBarcode.UDC: + // procedo solo se UDC esistente + if (MagClass.magazzino.checkUDC(barcodeIn)) + { + // cerco di recuperare riga UDC + try + { + rigaCart = DataProxy.obj.taCartellini.stp_getByUdc(barcodeIn)[0]; + tipoImballo = rigaCart.CodImballo; + } + catch + { } + // controllo il tipo imballo dell'UDC per decidere se sia F10 o F18... + if (tipoImballo == memLayer.ML.confReadString("CodImballoLiquidi")) + { + // salvo UDC from + currUdcFrom = barcodeIn; + } + else + { + lblMessaggi.Text += " - codice UDC non valido / non trovato."; + pnlAll.CssClass = "stileComandoKo"; + } + } + + break; + default: + lblMessaggi.Text += " - codice non riconosciuto!"; + pnlAll.CssClass = "stileComandoND"; + break; + } + barcodeIn = ""; + } + else + { + lblMessaggi.Text = "...attesa barcode..."; + } + //grView.DataBind(); + txtBarcode.Focus(); + } + /// + /// controllo l'abilitazioen alla stampa UDC: + /// - particolare ok + /// - qta > 0 + /// - almeno 1 trattamento + /// altrimenti disabilito btn stampa + /// + private void checkConsuma() + { + bool associaOk = false; + if (currUdcFrom != "") + { + associaOk = true; + } + btnConsuma.Enabled = associaOk; + } + /// + /// genera i barcode di + /// - trattamenti + /// - nuovo x pezzi liquidi + /// e lancia la relativa stampa + /// + /// + /// + protected void btnConsuma_Click(object sender, EventArgs e) + { + if (currUdcFrom != "") + { + // controllo se UDC non sia già consumato... + if (MagClass.magazzino.udcMpIsConsumabile(currUdcFrom)) + { + // consumo UDC + MagClass.magazzino.scaricaUdcMpWip(currUdcFrom, Request.UserHostName); + } + // indico UDC consumato! + lblMessaggi.Text = string.Format("{0} {1}", traduci("effettuatoConsumoUDC"), currUdcFrom); + currUdcFrom = ""; + lblGitterBoxAttivo.Text = ""; + } + } + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_sanpos_consumoF10.ascx.designer.cs b/GMW/WebUserControls/mod_sanpos_consumoF10.ascx.designer.cs new file mode 100644 index 00000000..c9958367 --- /dev/null +++ b/GMW/WebUserControls/mod_sanpos_consumoF10.ascx.designer.cs @@ -0,0 +1,124 @@ +//------------------------------------------------------------------------------ +// +// 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_sanpos_consumoF10 { + + /// + /// pnlAll control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlAll; + + /// + /// lblPostazione control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblPostazione; + + /// + /// lblPrinter control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblPrinter; + + /// + /// lblCurrentPage control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblCurrentPage; + + /// + /// hlMenu control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.HyperLink hlMenu; + + /// + /// lblGitterBoxAttivo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblGitterBoxAttivo; + + /// + /// lblMessaggi control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblMessaggi; + + /// + /// lblBarcode control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblBarcode; + + /// + /// txtBarcode control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtBarcode; + + /// + /// aceParticolare control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.AutoCompleteExtender aceParticolare; + + /// + /// lblConsuma control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblConsuma; + + /// + /// btnConsuma control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnConsuma; + } +} diff --git a/GMW/WebUserControls/mod_sanpos_controlloLiquidi.ascx b/GMW/WebUserControls/mod_sanpos_controlloLiquidi.ascx new file mode 100644 index 00000000..b1f50655 --- /dev/null +++ b/GMW/WebUserControls/mod_sanpos_controlloLiquidi.ascx @@ -0,0 +1,111 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_sanpos_controlloLiquidi.ascx.cs" + Inherits="GMW.WebUserControls.mod_sanpos_controlloLiquidi" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %> + +
+
+
+
+ +
+
+ +
+
+ +
+ +
+
+
+ +
+
+ +   + +
+
+ +
+
+
+
+
+ +
+
+
+
+
+ + +
+
+ +
+
+
+
+
+
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+
+
+ +
+
+
+ +
+ + +
+
+ +
+ +
+
+ +
+
+
+
+
diff --git a/GMW/WebUserControls/mod_sanpos_controlloLiquidi.ascx.cs b/GMW/WebUserControls/mod_sanpos_controlloLiquidi.ascx.cs new file mode 100644 index 00000000..de35ed4a --- /dev/null +++ b/GMW/WebUserControls/mod_sanpos_controlloLiquidi.ascx.cs @@ -0,0 +1,550 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Net; +using SteamWare; +using GMW_data; + +namespace GMW.WebUserControls +{ + public partial class mod_sanpos_controlloLiquidi : System.Web.UI.UserControl + { + /// + /// caricamento pagina + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!Page.IsPostBack) + { + calcolaPostazione(); + traduciObj(); + } + doChecks(); + if (currParticolare != "") + { + lblGitterBoxAttivo.Text = string.Format("Particolare selezionato {0}", currParticolare); + // aggiungo descrizione del particolare + string descr = ""; + string disegno = ""; + try + { + DS_magazzino.AnagParticolariRow riga = MagClass.magazzino.taAnagPart.likeSearch(currParticolare, memLayer.ML.StringSessionObj("CodCS"))[0]; + descr = riga.DescParticolare; + disegno = string.Format("( {0} )", riga.DisegnoGrezzo); + } + catch + { } + lblDescrAttivo.Text = descr; + lblDisegno.Text = disegno; + } + else + { + lblGitterBoxAttivo.Text = "..."; + lblDescrAttivo.Text = ""; + lblDisegno.Text = ""; + } + } + /// + /// effettua controlli visibilità + /// + private void doChecks() + { + checkBarcode(); + checkStampa(); + } + /// + /// sistemo labels oggetti + /// + private void traduciObj() + { + // labels + lblPostazione.Text = string.Format("{2}: {0} ({1})", postazione_name, postazione_IP, traduci("postazione")); + lblPrinter.Text = string.Format("{1}: {0}", postazione_printer, traduci("stampante")); + lblNumTratt.Text = traduci("lblNumTratt"); + lblQta.Text = traduci("lblQuantita"); + lblNote.Text = traduci("lblNote"); + lblAnnoTratt.Text = traduci("lblAnnoTratt"); + lblCurrentPage.Text = traduci(PagCorrente); + //txtBox + txtQta.Text = memLayer.ML.confReadString("QtaImballoLiquidi"); + txtAnno.Text = DateTime.Now.Year.ToString(); + // buttons + btnStampa.Text = traduci("btnStampa"); + btnAdd.ToolTip = traduci("btnAdd"); + btnSvuota.ToolTip = traduci("btnSvuota"); + btnEmptyNote.Text = traduci("btnEmptyNote"); + } + /// + /// restituisce il nome della pagina corrente + /// + protected string PagCorrente + { + get + { + string answ = ""; + Uri MyUrl = Request.Url; + string delimStr = "/"; + char[] delimiter = delimStr.ToCharArray(); + string[] finalUrl = MyUrl.LocalPath.ToString().Split(delimiter); + int n = finalUrl.Length; + answ = finalUrl[n - 1].ToString(); + DataLayer_AnagGen.PermessiRow riga = (DataLayer_AnagGen.PermessiRow)user_std.UtSn.permessi.Select(string.Format("URL = '{0}'", answ))[0]; + answ = riga.NOME; + return answ; + } + } + /// + /// wrapper traduzione + /// + /// + /// + public string traduci(object lemma) + { + return user_std.UtSn.Traduci(lemma.ToString()); + } + /// + /// 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); + } + } + /// + /// indica il codice articolo correntemente selezionato + /// + protected string currParticolare + { + get + { + return memLayer.ML.StringSessionObj("currParticolare"); + } + set + { + memLayer.ML.setSessionVal("currParticolare", value, memLayer.ML.confReadBool("keepParticolareSel")); + } + } + /// + /// indica se i caratteri vadano forzati a maiuscoli + /// + public bool forceUppercase + { + get + { + return memLayer.ML.confReadBool("forceUppercase"); + } + } + /// + /// num pezzi dell'ultimo UDC del particolare generato + /// + public int pezziUdc + { + get + { + int answ = 0; + try + { + answ = (int)MagClass.magazzino.taCartellini.getLastByParticolare(memLayer.ML.StringSessionObj("CodCS"), currParticolare)[0].Qta; + } + catch + { } + return answ; + } + } + /// + /// decodifica il tipo barcode acquisito + /// + public tipoCodiceBarcode tipoBCode + { + get + { + tipoCodiceBarcode answ = tipoCodiceBarcode.ND; + int trovati = 0; + // controllo non si tratti di un comando... + string preCmd = memLayer.ML.confReadString("prefComandi"); + if (barcodeIn.StartsWith(preCmd)) + { + answ = tipoCodiceBarcode.Comando; + } + // controllo se sia un particolare "P" + else if (barcodeIn.StartsWith("P")) + { + answ = tipoCodiceBarcode.Particolare; + } + else + { + try + { + // cerco tra gitterbox (UDC)... + trovati = MagClass.magazzino.taCartellini.getByUdc(barcodeIn).Rows.Count; + if (trovati > 0) + { + answ = tipoCodiceBarcode.UDC; + } + } + catch + { + } + } + return answ; + } + } + /// + /// valore barcode + /// + public string barcodeIn + { + get + { + return txtBarcode.Text.Trim(); + } + set + { + txtBarcode.Text = value; + } + } + /// + /// qta pezzi x UDC + /// + public int qta + { + get + { + int qta = 0; + try + { + qta = Convert.ToInt32(txtQta.Text.Trim()); + } + catch + { } + return qta; + } + set + { + txtQta.Text = value.ToString(); + } + } + /// + /// controlla se ci sia un barcode + /// + private void checkBarcode() + { + if (barcodeIn != "") + { + lblMessaggi.Text = string.Format("Barcode digitato: {0}", barcodeIn); + switch (tipoBCode) + { + case tipoCodiceBarcode.Particolare: + // imposto il gitterbox corrente + currParticolare = barcodeIn; + // controllo esista il particolare scansionato + if (DataProxy.obj.taAnagParticolari.getByParticolare(currParticolare).Rows.Count == 0) + { + currParticolare = ""; + lblMessaggi.Text += " - codice particolare non valido / non trovato in RILPRO."; + pnlAll.CssClass = "stileComandoKo"; + } + else + { + lblMessaggi.Text += " - impostato particolare!"; + pnlAll.CssClass = "stileComandoOk"; + } + // default: qta a zero + decimal qtaPart = 0; + // leggo la qta dell'ultimo UDC del particolare, SE C'E', e la imposto... + try + { + qtaPart = MagClass.magazzino.taCartellini.getLastByParticolare(memLayer.ML.StringSessionObj("CodCS"), currParticolare)[0].Qta; + } + catch + { } + if (qtaPart > 0) + { + txtQta.Text = Convert.ToInt32(qtaPart).ToString(); + } + else // rimette default + { + txtQta.Text = memLayer.ML.confReadString("QtaImballoLiquidi"); + } + break; + default: + lblMessaggi.Text += " - codice non riconosciuto!"; + pnlAll.CssClass = "stileComandoND"; + break; + } + barcodeIn = ""; + } + else + { + lblMessaggi.Text = "...attesa barcode..."; + } + //grView.DataBind(); + txtBarcode.Focus(); + } + /// + /// controllo l'abilitazioen alla stampa UDC: + /// - particolare ok + /// - qta > 0 + /// - almeno 1 trattamento + /// altrimenti disabilito btn stampa + /// + private void checkStampa() + { + bool stampaOk = false; + if (currParticolare != "" && qta > 0) + { + if (elencoTrattamenti.Count > 0) + { + updateListBoxTrattamenti(); + stampaOk = true; + } + } + btnStampa.Enabled = stampaOk; + } + + /// + /// elenco dictionary dei trattamenti da associare ad UDC + /// + public Dictionary elencoTrattamenti + { + get + { + try + { + return (Dictionary)memLayer.ML.objSessionObj("elencoTrattamenti"); + } + catch + { + return new Dictionary(); + } + } + set + { + memLayer.ML.setSessionVal("elencoTrattamenti", value, false); + } + } + /// + /// aggiungo un oggetto trattamento alla lista.. + /// + /// + /// + protected void btnAdd_Click(object sender, EventArgs e) + { + if (txtTratt.Text.Trim() != "") + { + string valore = txtTratt.Text.Trim(); + Dictionary elenco = elencoTrattamenti; + // controllo il valore non ci sia già... + if (!elenco.ContainsKey(valore)) + { + elenco.Add(valore, "n° " + valore); + elencoTrattamenti = elenco; + } + txtTratt.Text = ""; + updateListBoxTrattamenti(); + } + doChecks(); + } + /// + /// aggiorna la listbox + /// + private void updateListBoxTrattamenti() + { + lbTrattamenti.DataSource = elencoTrattamenti; + lbTrattamenti.DataTextField = "Value"; + lbTrattamenti.DataValueField = "Key"; + lbTrattamenti.DataBind(); + } + /// + /// svuota elenco trattamenti + /// + /// + /// + protected void btnSvuota_Click(object sender, EventArgs e) + { + resetTrattamenti(); + doChecks(); + } + /// + /// resetta i trattamenti caricati + /// + private void resetTrattamenti() + { + Dictionary elenco = new Dictionary(); + elencoTrattamenti = elenco; + txtTratt.Text = ""; + updateListBoxTrattamenti(); + } + /// + /// genera i barcode di + /// - trattamenti + /// - nuovo x pezzi liquidi + /// e lancia la relativa stampa + /// + /// + /// + protected void btnStampa_Click(object sender, EventArgs e) + { + string newUdcChild = ""; + string newUdcParent = ""; + bool UdcExists = false; + int anno = Convert.ToInt32(txtAnno.Text.Substring(txtAnno.Text.Trim().Length - 2, 2)); + int qta = memLayer.ML.confReadInt("QtaImballoLiquidi"); + string noteTrim = txtNote.Text.Trim(); + try + { + qta = Convert.ToInt32(txtQta.Text); + } + catch + { } + // genero cartellino liquidi + try + { + // creo nuovo UDC del trattamento liquidi + newUdcChild = MagClass.magazzino.creaUdc("LI", "", currParticolare, "", "", "", "", "", 0, memLayer.ML.confReadString("CodImballoLiquidi"), "U", MagClass.magazzino.CodSoggCurrUser, qta, 0, 0, DateTime.Now, 0, "Liquidi", memLayer.ML.confReadInt("IdxPosizioneLiquidi"), "IdxPosizioneLiquidi", memLayer.ML.confReadString("nuovoUdcLiquidiF10"), noteTrim, "", DateTime.Now.Year, Request.UserHostName); // !!! "LI" HARD CODED x indicare flusso liquidi + } + catch(Exception exc) + { + httpLog(string.Format("Errore creazione UDC:{0}{1}", Environment.NewLine, exc), tipoLog.EXCEPTION); + } + // se ho cart liquidi genero (se non ci sono) cart trattamenti + if (newUdcChild != "") + { + // creo UDC dei trattamenti termici + foreach (KeyValuePair kvp in elencoTrattamenti) + { + // calcolo il nuovo codice UDC del trattamento + newUdcParent = MagClass.magazzino.getComposizioneUDC(memLayer.ML.confReadString("CodCS"), "TR", anno.ToString(), Convert.ToInt32(kvp.Key)); // !!! "TR" HARD CODED x indicare flusso trattamenti + // verifico se ci sia già UDC + UdcExists = MagClass.magazzino.checkUDC(newUdcParent); + if (!UdcExists) + { + // creo UDC + MagClass.magazzino.creaUdc("TR", "", memLayer.ML.confReadString("particTratt"), "", "", "", "", "", 0, "", "U", MagClass.magazzino.CodSoggCurrUser, 0, 0, 0, DateTime.Now, 0, "Trattamenti", memLayer.ML.confReadInt("IdxPosizioneTrattamenti"), "IdxPosizioneTrattamenti", memLayer.ML.confReadString("nuovoUdcTrattamenti"), "LI", newUdcParent, anno, Request.UserHostName); + } + // associo tratt termici e liquidi + MagClass.magazzino.associaUdcParent(newUdcChild, newUdcParent); + if (!UdcExists) + { + // consumo UDC tratt termici + MagClass.magazzino.scaricaUdcMpWip(newUdcParent, Request.UserHostName); + } + // reset valori + newUdcParent = ""; + UdcExists = false; + } + // ora stampo il nuovo cartellino!!! + MagClass.magazzino.stampaUdc(newUdcChild, postazione_printer, tipoCartellino.cartLiquidiF10, Request.UserHostName); + } + } + /// + /// wrapper per log con salvataggio dell'IP del chiamante + /// + /// + /// + public bool httpLog(string _testoPre) + { + bool answ = false; + string postazione_IP = ""; + try + { + postazione_IP = string.Format(" | {0} | ", Request.UserHostName); + } + catch + { } + logger.lg.scriviLog(postazione_IP + _testoPre); + return answ; + } + /// + /// wrapper per log con salvataggio dell'IP del chiamante + /// + /// + /// + public bool httpLog(string testoLog, tipoLog tipo) + { + bool answ = false; + string postazione_IP = ""; + try + { + postazione_IP = string.Format(" | {0} | ", Request.UserHostName); + } + catch + { } + logger.lg.scriviLog(postazione_IP + testoLog, tipo); + return answ; + } + /// + /// svuoto le note + /// + /// + /// + protected void btnEmptyNote_Click(object sender, EventArgs e) + { + txtNote.Text = ""; + } + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_sanpos_controlloLiquidi.ascx.designer.cs b/GMW/WebUserControls/mod_sanpos_controlloLiquidi.ascx.designer.cs new file mode 100644 index 00000000..08f86522 --- /dev/null +++ b/GMW/WebUserControls/mod_sanpos_controlloLiquidi.ascx.designer.cs @@ -0,0 +1,250 @@ +//------------------------------------------------------------------------------ +// +// 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_sanpos_controlloLiquidi { + + /// + /// pnlAll control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlAll; + + /// + /// lblPostazione control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblPostazione; + + /// + /// lblPrinter control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblPrinter; + + /// + /// lblCurrentPage control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblCurrentPage; + + /// + /// hlMenu control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.HyperLink hlMenu; + + /// + /// lblGitterBoxAttivo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblGitterBoxAttivo; + + /// + /// lblDescrAttivo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblDescrAttivo; + + /// + /// lblDisegno control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblDisegno; + + /// + /// lblMessaggi control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblMessaggi; + + /// + /// lblNumTratt control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumTratt; + + /// + /// txtTratt control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtTratt; + + /// + /// revNumTratt control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.RegularExpressionValidator revNumTratt; + + /// + /// btnAdd control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnAdd; + + /// + /// lbTrattamenti control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ListBox lbTrattamenti; + + /// + /// btnSvuota control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnSvuota; + + /// + /// lblAnnoTratt control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblAnnoTratt; + + /// + /// txtAnno control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtAnno; + + /// + /// lblQta control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblQta; + + /// + /// txtQta control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtQta; + + /// + /// btnStampa control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnStampa; + + /// + /// lblBarcode control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblBarcode; + + /// + /// txtBarcode control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtBarcode; + + /// + /// aceParticolare control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.AutoCompleteExtender aceParticolare; + + /// + /// lblNote control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNote; + + /// + /// txtNote control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtNote; + + /// + /// btnEmptyNote control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnEmptyNote; + } +} diff --git a/GMW/WebUserControls/mod_sanpos_creazioneF18.ascx b/GMW/WebUserControls/mod_sanpos_creazioneF18.ascx new file mode 100644 index 00000000..d27ae9ed --- /dev/null +++ b/GMW/WebUserControls/mod_sanpos_creazioneF18.ascx @@ -0,0 +1,107 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_sanpos_creazioneF18.ascx.cs" + Inherits="GMW.WebUserControls.mod_sanpos_creazioneF18" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %> + +
+
+
+
+ +
+
+ +
+
+ +
+ +
+
+
+ +
+
+ +   + +
+
+ +
+
+
+
+
+ +
+
+
+
+
+ + +
+   +
+
+ +
+
+
+
+
+
+ +
+
+ +
+
+
+
+
+
+
+ +
+ +
+
+
+
+ +
+
+
+ +
+ + +
+
+ +
+ +
+
+ +
+
+
+
+
diff --git a/GMW/WebUserControls/mod_sanpos_creazioneF18.ascx.cs b/GMW/WebUserControls/mod_sanpos_creazioneF18.ascx.cs new file mode 100644 index 00000000..89d396b3 --- /dev/null +++ b/GMW/WebUserControls/mod_sanpos_creazioneF18.ascx.cs @@ -0,0 +1,546 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; +using GMW_data; + +namespace GMW.WebUserControls +{ + public partial class mod_sanpos_creazioneF18 : System.Web.UI.UserControl + { + /// + /// caricamento pagina + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!Page.IsPostBack) + { + calcolaPostazione(); + traduciObj(); + } + doChecks(); + if (currParticolare != "") + { + lblGitterBoxAttivo.Text = string.Format("Particolare selezionato {0}", currParticolare); + // aggiungo descrizione del particolare + string descr = ""; + string disegno = ""; + try + { + DS_magazzino.AnagParticolariRow riga = MagClass.magazzino.taAnagPart.likeSearch(currParticolare, memLayer.ML.StringSessionObj("CodCS"))[0]; + descr = riga.DescParticolare; + disegno = string.Format("( {0} )", riga.DisegnoGrezzo); + } + catch + { } + lblDescrAttivo.Text = descr; + lblDisegno.Text = disegno; + } + else + { + lblGitterBoxAttivo.Text = "..."; + lblDescrAttivo.Text = ""; + lblDisegno.Text = ""; + } + } + /// + /// effettua controlli visibilità + /// + private void doChecks() + { + checkBarcode(); + checkStampa(); + } + /// + /// sistemo labels oggetti + /// + private void traduciObj() + { + // labels + lblPostazione.Text = string.Format("{2}: {0} ({1})", postazione_name, postazione_IP, traduci("postazione")); + lblPrinter.Text = string.Format("{1}: {0}", postazione_printer, traduci("stampante")); + lblUDC.Text = traduci("lblUDC"); + lblQta.Text = traduci("lblQuantita"); + lblNote.Text = traduci("lblNote"); + lblCurrentPage.Text = traduci(PagCorrente); + //txtBox + txtQta.Text = memLayer.ML.confReadString("QtaImballoLiquidiDaSpedire"); + // buttons + btnStampa.Text = traduci("btnStampa"); + btnEmptyNote.Text = traduci("btnEmptyNote"); + } + /// + /// restituisce il nome della pagina corrente + /// + protected string PagCorrente + { + get + { + string answ = ""; + Uri MyUrl = Request.Url; + string delimStr = "/"; + char[] delimiter = delimStr.ToCharArray(); + string[] finalUrl = MyUrl.LocalPath.ToString().Split(delimiter); + int n = finalUrl.Length; + answ = finalUrl[n - 1].ToString(); + DataLayer_AnagGen.PermessiRow riga = (DataLayer_AnagGen.PermessiRow)user_std.UtSn.permessi.Select(string.Format("URL = '{0}'", answ))[0]; + answ = riga.NOME; + return answ; + } + } + /// + /// wrapper traduzione + /// + /// + /// + public string traduci(object lemma) + { + return user_std.UtSn.Traduci(lemma.ToString()); + } + /// + /// 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); + } + } + /// + /// indica il codice articolo correntemente selezionato + /// + protected string currParticolare + { + get + { + return memLayer.ML.StringSessionObj("currParticolare"); + } + set + { + memLayer.ML.setSessionVal("currParticolare", value, memLayer.ML.confReadBool("keepParticolareSel")); + } + } + /// + /// indica se i caratteri vadano forzati a maiuscoli + /// + public bool forceUppercase + { + get + { + return memLayer.ML.confReadBool("forceUppercase"); + } + } + /// + /// num pezzi dell'ultimo UDC del particolare generato + /// + public int pezziUdc + { + get + { + int answ = 0; + try + { + answ = (int)MagClass.magazzino.taCartellini.getLastByParticolare(memLayer.ML.StringSessionObj("CodCS"), currParticolare)[0].Qta; + } + catch + { } + return answ; + } + } + /// + /// decodifica il tipo barcode acquisito + /// + public tipoCodiceBarcode tipoBCode + { + get + { + tipoCodiceBarcode answ = tipoCodiceBarcode.ND; + int trovati = 0; + // controllo non si tratti di un comando... + string preCmd = memLayer.ML.confReadString("prefComandi"); + if (barcodeIn.StartsWith(preCmd)) + { + answ = tipoCodiceBarcode.Comando; + } + // controllo se sia un particolare "P" + else if (barcodeIn.StartsWith("P")) + { + answ = tipoCodiceBarcode.Particolare; + } + else + { + try + { + // cerco tra gitterbox (UDC)... + trovati = MagClass.magazzino.taCartellini.getByUdc(barcodeIn).Rows.Count; + if (trovati > 0) + { + answ = tipoCodiceBarcode.UDC; + } + } + catch + { + } + } + return answ; + } + } + /// + /// valore barcode + /// + public string barcodeIn + { + get + { + return txtBarcode.Text.Trim(); + } + set + { + txtBarcode.Text = value; + } + } + /// + /// qta pezzi x UDC + /// + public int qta + { + get + { + int qta = 0; + try + { + qta = Convert.ToInt32(txtQta.Text.Trim()); + } + catch + { } + return qta; + } + set + { + txtQta.Text = value.ToString(); + } + } + /// + /// controlla se ci sia un barcode + /// + private void checkBarcode() + { + if (barcodeIn != "") + { + lblMessaggi.Text = string.Format("Barcode digitato: {0}", barcodeIn); + switch (tipoBCode) + { + case tipoCodiceBarcode.Particolare: + // imposto il particolare corrente + currParticolare = barcodeIn; + // controllo esista il particolare scansionato + if (DataProxy.obj.taAnagParticolari.getByParticolare(currParticolare).Rows.Count == 0) + { + currParticolare = ""; + lblMessaggi.Text += " - codice particolare non valido / non trovato in RILPRO."; + pnlAll.CssClass = "stileComandoKo"; + } + else + { + lblMessaggi.Text += " - impostato particolare!"; + pnlAll.CssClass = "stileComandoOk"; + } + // default: qta a zero + decimal qtaPart = 0; + // leggo la qta dell'ultimo UDC del particolare, SE C'E', e la imposto... + try + { + qtaPart = MagClass.magazzino.taCartellini.getLastByParticolare(memLayer.ML.StringSessionObj("CodCS"), currParticolare)[0].Qta; + } + catch + { } + if (qtaPart > 0) + { + txtQta.Text = Convert.ToInt32(qtaPart).ToString(); + } + else // rimette default + { + txtQta.Text = memLayer.ML.confReadString("QtaImballoLiquidiDaSpedire"); + } + break; + case tipoCodiceBarcode.UDC: + // procedo solo se UDC esistente + if (MagClass.magazzino.checkUDC(barcodeIn)) + { + // VECCHIA VERSIONE: caricava particolare da UDC +#if false + // recupero il particolare dai dati del cartellino preesistente + currParticolare = DataProxy.obj.taCartellini.stp_getByUdc(barcodeIn)[0].Particolare; + // controllo esista il particolare + if (DataProxy.obj.taAnagParticolari.getByParticolare(currParticolare).Rows.Count == 0) + { + currParticolare = ""; + lblMessaggi.Text += " - codice particolare da UDC non valido / non trovato in RILPRO."; + pnlAll.CssClass = "stileComandoKo"; + } + else + { + lblMessaggi.Text += " - impostato particolare!"; + pnlAll.CssClass = "stileComandoOk"; + } +#endif + checkUdc4elenco(barcodeIn); + } + + break; + default: + lblMessaggi.Text += " - codice non riconosciuto!"; + pnlAll.CssClass = "stileComandoND"; + break; + } + barcodeIn = ""; + } + else + { + lblMessaggi.Text = "...attesa barcode..."; + } + //grView.DataBind(); + txtBarcode.Focus(); + } + /// + /// controllo l'abilitazioen alla stampa UDC: + /// - particolare ok + /// - qta > 0 + /// - almeno 1 trattamento + /// altrimenti disabilito btn stampa + /// + private void checkStampa() + { + bool stampaOk = false; + if (currParticolare != "" && qta > 0) + { + if (elencoUDC.Count > 0) + { + updateListBoxUDC(); + stampaOk = true; + } + } + btnStampa.Enabled = stampaOk; + } + /// + /// elenco dictionary dei trattamenti da associare ad UDC + /// + public Dictionary elencoUDC + { + get + { + try + { + return (Dictionary)memLayer.ML.objSessionObj("elencoUDC"); + } + catch + { + return new Dictionary(); + } + } + set + { + memLayer.ML.setSessionVal("elencoUDC", value, false); + } + } + /// + /// aggiungo un oggetto trattamento alla lista.. + /// + /// + /// + protected void btnAdd_Click(object sender, EventArgs e) + { + if (txtUDC.Text.Trim() != "") + { + string valore = txtUDC.Text.Trim().ToUpper(); + // controllo esista UDC.. + checkUdc4elenco(valore); + } + doChecks(); + } + /// + /// controlla validità UDC x inserire in elenco... + /// + /// + private void checkUdc4elenco(string valore) + { + if (MagClass.magazzino.checkUDC(valore)) + { + // controllo sia un cartellino F10... + DS_Applicazione.ElencoCartelliniRow rigaCart; + string tipoImballo = ""; + try + { + rigaCart = DataProxy.obj.taCartellini.stp_getByUdc(valore)[0]; + tipoImballo = rigaCart.CodImballo; + } + catch + { } + // controllo il tipo imballo dell'UDC per decidere se sia F10... + if (tipoImballo == memLayer.ML.confReadString("CodImballoLiquidi")) + { + Dictionary elenco = elencoUDC; + // controllo il valore non ci sia già... + if (!elenco.ContainsKey(valore)) + { + elenco.Add(valore, valore); + elencoUDC = elenco; + } + txtUDC.Text = ""; + lblWarnUdc.Visible = false; + updateListBoxUDC(); + } + else + { + // elimino UDC con imballo non valido! + txtUDC.Text = ""; + lblWarnUdc.Text = traduci("UdcImballoErrato"); + lblWarnUdc.Visible = true; + } + } + else + { + // elimino UDC non valido! + txtUDC.Text = ""; + lblWarnUdc.Text = traduci("UdcNonTrovato"); + lblWarnUdc.Visible = true; + } + } + /// + /// aggiorna la listbox + /// + private void updateListBoxUDC() + { + lbUdc.DataSource = elencoUDC; + lbUdc.DataTextField = "Value"; + lbUdc.DataValueField = "Key"; + lbUdc.DataBind(); + } + /// + /// svuota elenco trattamenti + /// + /// + /// + protected void btnSvuota_Click(object sender, EventArgs e) + { + Dictionary elenco = new Dictionary(); + elencoUDC = elenco; + txtUDC.Text = ""; + lblWarnUdc.Visible = false; + updateListBoxUDC(); + doChecks(); + } + /// + /// genera i barcode di + /// - trattamenti + /// - nuovo x pezzi liquidi + /// e lancia la relativa stampa + /// + /// + /// + protected void btnStampa_Click(object sender, EventArgs e) + { + string newUdcChild = ""; + int qta = memLayer.ML.confReadInt("QtaImballoLiquidiDaSpedire"); + string noteTrim = txtNote.Text.Trim(); + try + { + qta = Convert.ToInt32(txtQta.Text); + } + catch + { } + // genero cartellino liquidi + try + { + // creo nuovo UDC del trattamento liquidi + newUdcChild = MagClass.magazzino.creaUdc("LI", "", currParticolare, "", "", "", "", "", 0, memLayer.ML.confReadString("CodImballoLiquidiDaSpedire"), "U", MagClass.magazzino.CodSoggCurrUser, qta, 0, 0, DateTime.Now, 0, "Liquidi", memLayer.ML.confReadInt("IdxPosizioneLiquidi"), "IdxPosizioneLiquidi", memLayer.ML.confReadString("nuovoUdcLiquidiF18"), noteTrim, "", DateTime.Now.Year, Request.UserHostName); // !!! "LI" HARD CODED x indicare flusso liquidi + } + catch + { } + // stampo! + if (newUdcChild != "") + { + // controllo se ci sono UDC F10 da associare... e x ognuno associo! + foreach (KeyValuePair kvp in elencoUDC) + { + // associo i 2 cartellini + MagClass.magazzino.associaUdcParent(newUdcChild, kvp.Key); + } + // ora stampo il nuovo cartellino!!! + MagClass.magazzino.stampaUdc(newUdcChild, postazione_printer, tipoCartellino.cartLiquidiF18, Request.UserHostName); + } + } + /// + /// svuoto le note + /// + /// + /// + protected void btnEmptyNote_Click(object sender, EventArgs e) + { + txtNote.Text = ""; + } + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_sanpos_creazioneF18.ascx.designer.cs b/GMW/WebUserControls/mod_sanpos_creazioneF18.ascx.designer.cs new file mode 100644 index 00000000..d4fb9f56 --- /dev/null +++ b/GMW/WebUserControls/mod_sanpos_creazioneF18.ascx.designer.cs @@ -0,0 +1,241 @@ +//------------------------------------------------------------------------------ +// +// 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_sanpos_creazioneF18 { + + /// + /// pnlAll control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlAll; + + /// + /// lblPostazione control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblPostazione; + + /// + /// lblPrinter control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblPrinter; + + /// + /// lblCurrentPage control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblCurrentPage; + + /// + /// hlMenu control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.HyperLink hlMenu; + + /// + /// lblGitterBoxAttivo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblGitterBoxAttivo; + + /// + /// lblDescrAttivo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblDescrAttivo; + + /// + /// lblDisegno control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblDisegno; + + /// + /// lblMessaggi control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblMessaggi; + + /// + /// lblUDC control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblUDC; + + /// + /// txtUDC control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtUDC; + + /// + /// revNumTratt control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.RegularExpressionValidator revNumTratt; + + /// + /// lblWarnUdc control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblWarnUdc; + + /// + /// btnAdd control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnAdd; + + /// + /// lbUdc control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ListBox lbUdc; + + /// + /// btnSvuota control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnSvuota; + + /// + /// lblQta control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblQta; + + /// + /// txtQta control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtQta; + + /// + /// btnStampa control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnStampa; + + /// + /// lblBarcode control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblBarcode; + + /// + /// txtBarcode control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtBarcode; + + /// + /// aceParticolare control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.AutoCompleteExtender aceParticolare; + + /// + /// lblNote control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNote; + + /// + /// txtNote control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtNote; + + /// + /// btnEmptyNote control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnEmptyNote; + } +} diff --git a/GMW/WebUserControls/mod_searchMag.ascx b/GMW/WebUserControls/mod_searchMag.ascx new file mode 100644 index 00000000..379b2ab6 --- /dev/null +++ b/GMW/WebUserControls/mod_searchMag.ascx @@ -0,0 +1,75 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_searchMag.ascx.cs" + Inherits="GMW.WebUserControls.mod_searchMag" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> +<%@ Register Src="mod_filtro.ascx" TagName="mod_filtro" TagPrefix="uc2" %> +<%@ Register Src="mod_metodiNoSearch.ascx" TagName="mod_metodiNoSearch" TagPrefix="uc3" %> +<%@ Register Src="mod_SearchProvUDC.ascx" TagName="mod_SearchProvUDC" TagPrefix="uc1" %> +<%@ Register Src="mod_SearchProvCelle.ascx" TagName="mod_SearchProvCelle" TagPrefix="uc4" %> +<%@ Register Src="mod_SearchProvParticolari.ascx" TagName="mod_SearchProvParticolari" + TagPrefix="uc5" %> +<%@ Register Src="Mod_SearchProvImballi.ascx" TagName="Mod_SearchProvImballi" TagPrefix="uc6" %> +
+
+
+ GMWmag +
+
+
+
+ + +
+
+
+ +
+
+
+
+
+   + + +
+ +
+
+ + +
+
+
+ +
+
+
+
+
+
+
+
+
+
+ + +
+ + <%--
+ +
+ + --%> +
+ + + +
+
+
+
diff --git a/GMW/WebUserControls/mod_searchMag.ascx.cs b/GMW/WebUserControls/mod_searchMag.ascx.cs new file mode 100644 index 00000000..e916ed63 --- /dev/null +++ b/GMW/WebUserControls/mod_searchMag.ascx.cs @@ -0,0 +1,186 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +namespace GMW.WebUserControls +{ + public partial class mod_searchMag : System.Web.UI.UserControl + { + protected void Page_Load(object sender, EventArgs e) + { + if (!Page.IsPostBack) + { + doTraduci(); + pnlEmpty.Visible = true; + pnlResults.Visible = false; + } + mod_SearchProvUDC1.eh_selValore += new EventHandler(mod_SearchProvUDC1_eh_selValore); + mod_SearchProvParticolari1.eh_selValore += new EventHandler(mod_SearchProvParticolari1_eh_selValore); + mod_SearchProvUDC1.eh_reset += new EventHandler(mod_SearchProvUDC1_eh_reset); + mod_SearchProvParticolari1.eh_reset += new EventHandler(mod_SearchProvParticolari1_eh_reset); + } + + void mod_SearchProvParticolari1_eh_reset(object sender, EventArgs e) + { + mod_SearchProvUDC1.doReset(); + resetSessione(); + } + /// + /// richiesta svuotamento da parte di UDC + /// + /// + /// + void mod_SearchProvUDC1_eh_reset(object sender, EventArgs e) + { + resetSessione(); + mod_SearchProvParticolari1.doReset(); + } + /// + /// svuoto variabili in sessione + /// + private void resetSessione() + { + // disattivo riceche... + memLayer.ML.setSessionVal("RicercaUdcAttiva", false, false); + memLayer.ML.setSessionVal("RicercaParticolariAttiva", false, false); + // svuoto in session + memLayer.ML.emptySessionVal("Particolare_sel"); + memLayer.ML.emptySessionVal("Esponente_sel"); + memLayer.ML.emptySessionVal("CodMag_sel"); + memLayer.ML.emptySessionVal("CodCellaMag"); + memLayer.ML.emptySessionVal("IdxCellaMag"); + memLayer.ML.emptySessionVal("IdxBlocco_sel"); + memLayer.ML.emptySessionVal("UDC_sel"); + } + + void mod_SearchProvParticolari1_eh_selValore(object sender, EventArgs e) + { + mod_SearchProvUDC1.doRefresh(); + } + + void mod_SearchProvUDC1_eh_selValore(object sender, EventArgs e) + { + mod_SearchProvParticolari1.doRefresh(); + } + + + private void doTraduci() + { + chkLikeType.Text = traduci("AbilitaRicercaLike"); + chkLikeType.ToolTip = traduci("AbilitaRicercaLikeExpl"); + btnSearch.Text = traduci("btnSearch"); + TBWE_search.WatermarkText = traduci("insertCod4search"); + } + protected void txtSearch_TextChanged(object sender, EventArgs e) + { + doSearch(); + } + protected void btnSearch_Click(object sender, EventArgs e) + { + doSearch(); + } + /// + /// effettua la ricerca + /// + private void doSearch() + { + string testoCercato = txtSearch.Text.Trim(); + memLayer.ML.setSessionVal("FullSearchValue", testoCercato, false); + memLayer.ML.setSessionVal("SearchIsLikeBased", chkLikeType.Checked, false); + if (testoCercato != "") + { + pnlEmpty.Visible = false; + pnlResults.Visible = true; + if (chkLikeType.Checked) + { + // è generica, mostro tutto! + mod_SearchProvUDC1.Visible = true; + mod_SearchProvUDC1.doSearch(); + //mod_SearchProvCelle1.Visible = true; + //mod_SearchProvCelle1.doSearch(); + mod_SearchProvParticolari1.Visible = true; + mod_SearchProvParticolari1.doSearch(); + //Mod_SearchProvImballi1.Visible = true; + //Mod_SearchProvImballi1.doSearch(); + + } + else + { + // in base al tipo di richiesta determino che risultati visualizzare... + switch (testoCercato.Substring(0, 1)) + { + case "I": + mod_SearchProvUDC1.Visible = false; + //mod_SearchProvCelle1.Visible = false; + mod_SearchProvParticolari1.Visible = false; + //Mod_SearchProvImballi1.Visible = true; + //Mod_SearchProvImballi1.doSearch(); + break; +#if false + case "C": + mod_SearchProvUDC1.Visible = false; + //mod_SearchProvCelle1.Visible = true; + //mod_SearchProvCelle1.doSearch(); + mod_SearchProvParticolari1.Visible = false; + //Mod_SearchProvImballi1.Visible = false; + break; +#endif + case "P": + mod_SearchProvUDC1.Visible = false; + //mod_SearchProvCelle1.Visible = false; + mod_SearchProvParticolari1.Visible = true; + mod_SearchProvParticolari1.doSearch(); + //Mod_SearchProvImballi1.Visible = false; + break; + case "U": + mod_SearchProvUDC1.Visible = true; + mod_SearchProvUDC1.doSearch(); + //mod_SearchProvCelle1.Visible = false; + mod_SearchProvParticolari1.Visible = false; + //Mod_SearchProvImballi1.Visible = false; + break; + default: + mod_SearchProvUDC1.Visible = true; + mod_SearchProvUDC1.doSearch(); + //mod_SearchProvCelle1.Visible = true; + //mod_SearchProvCelle1.doSearch(); + mod_SearchProvParticolari1.Visible = true; + mod_SearchProvParticolari1.doSearch(); + //Mod_SearchProvImballi1.Visible = true; + //Mod_SearchProvImballi1.doSearch(); + break; + } + } + } + else + { + memLayer.ML.emptySessionVal("FullSearchValue"); + pnlEmpty.Visible = true; + pnlResults.Visible = false; + } + } + /// + /// wrapper metodo traduzione + /// + /// + /// + public string traduci(string lemma) + { + return user_std.UtSn.Traduci(lemma); + } + /// + /// abilita ricerca "like" + /// + /// + /// + protected void chkLikeType_CheckedChanged(object sender, EventArgs e) + { + doSearch(); + } + + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_searchMag.ascx.designer.cs b/GMW/WebUserControls/mod_searchMag.ascx.designer.cs new file mode 100644 index 00000000..9543dc58 --- /dev/null +++ b/GMW/WebUserControls/mod_searchMag.ascx.designer.cs @@ -0,0 +1,115 @@ +//------------------------------------------------------------------------------ +// +// 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_searchMag { + + /// + /// updtRicerca control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.UpdateProgress updtRicerca; + + /// + /// txtSearch control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtSearch; + + /// + /// btnSearch control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnSearch; + + /// + /// TBWE_search control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.TextBoxWatermarkExtender TBWE_search; + + /// + /// chkLikeType control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.CheckBox chkLikeType; + + /// + /// updtRicerca2 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.UpdateProgress updtRicerca2; + + /// + /// pnlResults control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlResults; + + /// + /// mod_SearchProvParticolari1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_SearchProvParticolari mod_SearchProvParticolari1; + + /// + /// mod_SearchProvUDC1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_SearchProvUDC mod_SearchProvUDC1; + + /// + /// pnlEmpty control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlEmpty; + + /// + /// mod_metodiNoSearch1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_metodiNoSearch mod_metodiNoSearch1; + } +} diff --git a/GMW/WebUserControls/mod_selettore_ajax.ascx b/GMW/WebUserControls/mod_selettore_ajax.ascx new file mode 100644 index 00000000..7d5310df --- /dev/null +++ b/GMW/WebUserControls/mod_selettore_ajax.ascx @@ -0,0 +1,78 @@ +<%@ Control Language="C#" AutoEventWireup="true" + Inherits="mod_selettore_ajax" Codebehind="mod_selettore_ajax.ascx.cs" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %> + + + + +
+ + +
+
+
+ + + + + + + + + + +
+ + + + +
+ +   + +   + +   + +
+
+ + + + + + + + + + + + + + + + + + + + + + +    + + + + + +
+
+
+
diff --git a/GMW/WebUserControls/mod_selettore_ajax.ascx.cs b/GMW/WebUserControls/mod_selettore_ajax.ascx.cs new file mode 100644 index 00000000..cad5a4a9 --- /dev/null +++ b/GMW/WebUserControls/mod_selettore_ajax.ascx.cs @@ -0,0 +1,499 @@ +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; +using SteamWare; + +[ValidationProperty("valore")] +public partial class mod_selettore_ajax : ApplicationUserControl +{ + + protected bool _chkVisibile = false; + protected bool _isValueVisible = false; + protected bool _cambioTipo = false; + + protected string _val1; + protected string _val2; + #region gestione eventi + + public event EventHandler eh_selDone; + + #endregion + + #region gestione pagina + + protected override void Page_Load(object sender, EventArgs e) + { + base.Page_Load(sender, e); + updateChkOpzione(); + if (!Page.IsPostBack) + { + SteamWare.memLayer.ML.emptySessionVal(searchSessionName); + } + } + + protected override void traduciObj() + { + base.traduciObj(); + lblCerca.Text = traduci("lblCerca"); + btnCerca.Text = traduci("search"); + if (_chkVisibile) + { + updateChkOpzione(); + } + } + + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + if (!Page.IsPostBack) + { + _val1 = ""; + _val2 = ""; + if (vistaModulo == SteamWare.tipoVistaMod.editing) + { + setSearchValue(); + impostaCampoRicerca(); + pce.Enabled = true; + pce2.Enabled = true; + lblDescr.CssClass = "txtLink"; + } + else if (vistaModulo == SteamWare.tipoVistaMod.selezione) + { + pce.Enabled = false; + pce2.Enabled = false; + lblDescr.CssClass = "txtValue"; + } + traduciObj(); + } + } + /// + /// imposta il valore della ricerca da quello in session + /// + private void setSearchValue() + { + if (SteamWare.memLayer.ML.isInSessionObject(searchSessionName)) + { + testoRicerca = SteamWare.memLayer.ML.StringSessionObj(searchSessionName); + } + } + /// + /// imposta i campi del filtro ricerca in session + /// + private void impostaCampoRicerca() + { + // imposto il nome del valore session x ricerca a campo univoco... + SessionParameter parametroFiltro = new SessionParameter(); + parametroFiltro.SessionField = searchSessionName; + parametroFiltro.Name = searchSessionName; + parametroFiltro.DefaultValue = "*"; + ods.FilterParameters.Clear(); + ods.FilterParameters.Add(parametroFiltro); + } + /// + /// setta il nome del campo di ricerca + /// + protected string searchSessionName + { + get + { + return string.Format("ricerca_{0}", _tipoSelettore); + } + } + + #endregion + + #region area protected + + protected string _conditio = ""; + protected string testoRicerca + { + get + { + return txtCerca.Text.Trim(); + } + set + { + txtCerca.Text = value; + } + } + + protected selettori _selettori = new selettori(); + /// + /// a seconda del tipo di selettore cambierà l'origine ods + /// + /// + /// + protected void chkOpzione_CheckedChanged(object sender, EventArgs e) + { + fixChkOds(); + } + + protected void setCheck() + { + //if (_tipoSelettore == tipoSelettore.utentiAll || _tipoSelettore == tipoSelettore.utentiCdc) + //{ + // _chkVisibile = true; + //} + //else + //{ + _chkVisibile = false; + //} + } + + /// + /// aggiorna visualizzazione del check opzionale con label e visibilità + /// + protected void updateChkOpzione() + { + //// se definito il tipo decido SE mostrare il check e tradurre la label... + //if (_tipoSelettore == tipoSelettore.utentiAll || _tipoSelettore == tipoSelettore.utentiCdc) + //{ + // chkOpzione.Visible = true; + // chkOpzione.Text = traduci("chkSoloGer"); + // if (_tipoSelettore == tipoSelettore.utentiCdc) + // { + // chkOpzione.Checked = true; + // } + //} + //else + //{ + chkOpzione.Visible = false; + //} + } + + /// + /// aggiorna la label che traduce il valore a seconda del tipo di oggetto... + /// + protected void aggiornaLabelDaValore() + { + // x ora metto valore di default... + string _answ = "-"; + if (txtSelValue.Text != "") + { + System.Data.DataView tabella = (System.Data.DataView)ods.Select(); + tabella.RowFilter = string.Format("value = '{0}'", txtSelValue.Text); + try + { + _answ = tabella.ToTable().Rows[0]["label"].ToString(); + } + catch + { } + } + lblDescr.Text = _answ; + } + /// + /// aggiorna label e valore principale da una chiave multipart + /// + private void aggiornaDaValMulti() + { + // eseguo SE E SOLO SE entrambi i valori sono popolati + if (val1 != "" && val1 != null) + { + if (val2 != "" && val2 != null && val2 != "na") + { + txtSelValue.Text = string.Format("{0}#{1}", val1, val2); + aggiornaLabelDaValore(); + } + else + { + txtSelValue.Text = val1; + aggiornaLabelDaValore(); + } + } + } + + + /// + /// tipo di valori mostrati + /// + protected tipoSelettore _tipoSelettore = tipoSelettore.cdc; + /// + /// nome del controllo gestito dal nostro popup + /// + protected string _targetControl = ""; + /// + /// sistemo gli ods + /// + protected override void bindControlli() + { + base.bindControlli(); + fixChkOds(); + fixOds(); + } + /// + /// sistema l'ods dato lo stato del chk + /// + protected void fixChkOds() + { + //if (_tipoSelettore == tipoSelettore.utentiAll || _tipoSelettore == tipoSelettore.utentiCdc) + //{ + // // verifico se sia o meno checked "solo cdc utente"... + // if (chkOpzione.Checked) + // { + // //imposto nuovo tipo selettore + // _tipoSelettore = tipoSelettore.utentiCdc; + // fixOds(); + // } + // else + // { + // //imposto nuovo tipo selettore + // _tipoSelettore = tipoSelettore.utentiAll; + // fixOds(); + // } + // // faccio databind... + // grView.PageIndex = 0; + // grView.DataBind(); + + //} + } + /// + /// sistemazione fonte ods... + /// + protected void fixOds() + { + string _selectMethod = ""; + switch (_tipoSelettore) + { + case tipoSelettore.cdc: + _selectMethod = "getSelAllCdC"; + break; + case tipoSelettore.UDC_byPart: + _selectMethod = "getSelUdcByPart"; + break; + //case tipoSelettore.macchine: + // _selectMethod = "getSelMacchine"; + // break; + //case tipoSelettore.utentiAll: + // _selectMethod = "getSelAllUsers"; + // break; + //case tipoSelettore.utentiCdc: + // _selectMethod = "getSelUsersGer"; + // break; + } + ods.SelectMethod = _selectMethod; + } + + /// + /// traduce gli header delle colonne + /// + /// + /// + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); + lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); + } + else + { + lblNumRec.Text = ""; + } + } + /// + /// selezione annullata su cambio pagina + /// + /// + /// + protected void grView_PageIndexChanged(object sender, EventArgs e) + { + grView.SelectedIndex = -1; + } + /// + /// aggiornamento filtro da stringa di ricerca del popup + /// + /// + /// + protected void txtCerca_TextChanged(object sender, EventArgs e) + { + // se cambio filtro tolgo il selected... + grView.SelectedIndex = -1; + // salvo la ricerca in session e filter dell'ods... + SteamWare.memLayer.ML.setSessionVal(searchSessionName, txtCerca.Text); + impostaCampoRicerca(); + fixChkOds(); + fixOds(); + } + /// + /// salvo il valore selezionato + /// + /// + /// + protected void grView_SelectedIndexChanged(object sender, EventArgs e) + { + string valore = grView.SelectedValue.ToString(); + lblDescr.Text = grView.SelectedRow.Cells[2].Text.ToString(); + UpdatePanel1.Update(); + pce.Commit(valore); + pce2.Commit(grView.SelectedRow.Cells[2].Text.ToString()); + // se ho una chiave multiparte salvo nei 2 valori... + if (valore.IndexOf('#') > -1) + { + string[] valori = valore.Split('#'); + val1 = valori[0]; + val2 = valori[1]; + } + if (eh_selDone != null) + { + eh_selDone(this, new EventArgs()); + } + } + + /// + /// resetta ricerca e selezione + /// + /// + /// + protected void btnReset_Click(object sender, EventArgs e) + { + grView.SelectedIndex = -1; + testoRicerca = ""; + SteamWare.memLayer.ML.emptySessionVal(searchSessionName); + } + + #endregion + + #region area public + + /// + /// tipo di selettore da istanziare + /// + public tipoSelettore tipo + { + get + { + return _tipoSelettore; + } + set + { + _tipoSelettore = value; + setCheck(); + } + } + + /// + /// effettua update del controllo + /// + public void doUpdate() + { + // svuoto ricerca... + SteamWare.memLayer.ML.emptySessionVal(searchSessionName); + testoRicerca = ""; + // imposto valori cercati... + setSearchValue(); + impostaCampoRicerca(); + // continuo con update + updateChkOpzione(); + fixOds(); + aggiornaDaValMulti(); + // faccio databind... + grView.PageIndex = 0; + grView.DataBind(); + } + + /// + /// valore mostrato nel campo testo del selettore + /// + public string valore + { + get + { + return txtSelValue.Text; + } + set + { + txtSelValue.Text = value; + aggiornaLabelDaValore(); + } + } + /// + /// valore di una chiave multiparte + /// + public string val1 + { + get + { + return _val1; + } + set + { + _val1 = value; + aggiornaDaValMulti(); + } + } + + /// + /// valore di una chiave multiparte + /// + public string val2 + { + get + { + return _val2; + } + set + { + _val2 = value; + aggiornaDaValMulti(); + } + } + /// + /// impone una condizione di filtro sui valori mostrati + /// + public string conditio + { + get + { + return _conditio; + } + set + { + _conditio = value; + if (_conditio != "") + { + ods.SelectParameters.Clear(); + ods.SelectParameters.Add("where", string.Format(" conditio = '{0}' ", _conditio)); + } + else + { + ods.SelectParameters.Clear(); + ods.SelectParameters.Add("where", " conditio = '*' "); + } + } + } + /// + /// determina se il valore da selezionare sia da visualizzare o meno + /// + public bool isValueVisible + { + get + { + return _isValueVisible; + } + set + { + _isValueVisible = value; + } + } + + #endregion +} diff --git a/GMW/WebUserControls/mod_selettore_ajax.ascx.designer.cs b/GMW/WebUserControls/mod_selettore_ajax.ascx.designer.cs new file mode 100644 index 00000000..935ae48e --- /dev/null +++ b/GMW/WebUserControls/mod_selettore_ajax.ascx.designer.cs @@ -0,0 +1,140 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_selettore_ajax { + + /// + /// UpdatePanel1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.UpdatePanel UpdatePanel1; + + /// + /// pce control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.PopupControlExtender pce; + + /// + /// pce2 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.PopupControlExtender pce2; + + /// + /// txtSelValue control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtSelValue; + + /// + /// lblDescr control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblDescr; + + /// + /// pnlSelettore control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlSelettore; + + /// + /// updPnl1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.UpdatePanel updPnl1; + + /// + /// lblCerca control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblCerca; + + /// + /// txtCerca control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtCerca; + + /// + /// btnCerca control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnCerca; + + /// + /// chkOpzione control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.CheckBox chkOpzione; + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// lblNumRec control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumRec; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; +} diff --git a/GMW/WebUserControls/mod_spostaDataMatrix.ascx b/GMW/WebUserControls/mod_spostaDataMatrix.ascx new file mode 100644 index 00000000..6dcbd0c4 --- /dev/null +++ b/GMW/WebUserControls/mod_spostaDataMatrix.ascx @@ -0,0 +1,58 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_spostaDataMatrix.ascx.cs" + Inherits="GMW.WebUserControls.mod_spostaDataMatrix" %> + +
+
+
+ +
+ +
+
+
+ +
+
+ +
+
+ +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + +
+
+
diff --git a/GMW/WebUserControls/mod_spostaDataMatrix.ascx.cs b/GMW/WebUserControls/mod_spostaDataMatrix.ascx.cs new file mode 100644 index 00000000..7c134cec --- /dev/null +++ b/GMW/WebUserControls/mod_spostaDataMatrix.ascx.cs @@ -0,0 +1,351 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using GMW_data; +using SteamWare; + +namespace GMW.WebUserControls +{ + public partial class mod_spostaDataMatrix : System.Web.UI.UserControl + { + /// + /// controlli al caricamento pagina + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + // se primo caricamento resetto gitterbox...) + if (!Page.IsPostBack) + { + currGitterBox = ""; + pnlAll.CssClass = "stileAttesa"; + } + checkBarcode(); + lblPezziGitterbox.Text = string.Format("{0} pz.", pezziGitterbox); + lblCurrentPage.Text = traduci(PagCorrente); + if (currGitterBox != "") + { + lblGitterBoxAttivo.Text = string.Format("Gitterbox selezionato {0}", currGitterBox); + } + else + { + lblGitterBoxAttivo.Text = "..."; + } + } + /// + /// restituisce il nome della pagina corrente + /// + protected string PagCorrente + { + get + { + string answ = ""; + Uri MyUrl = Request.Url; + string delimStr = "/"; + char[] delimiter = delimStr.ToCharArray(); + string[] finalUrl = MyUrl.LocalPath.ToString().Split(delimiter); + int n = finalUrl.Length; + answ = finalUrl[n - 1].ToString(); + DataLayer_AnagGen.PermessiRow riga = (DataLayer_AnagGen.PermessiRow)user_std.UtSn.permessi.Select(string.Format("URL = '{0}'", answ))[0]; + answ = riga.NOME; + return answ; + } + } + /// + /// wrapper traduzione + /// + /// + /// + public string traduci(object lemma) + { + return user_std.UtSn.Traduci(lemma.ToString()); + } + /// + /// num pezzi del gitterbox + /// + public int pezziGitterbox + { + get + { + int answ = 0; + try + { + answ = (int)MagClass.magazzino.taCartellini.getByUdc(currGitterBox)[0].Qta; + } + catch + { } + return answ; + } + } + /// + /// indica il gitterbox correntemente selezionato + /// + protected string currGitterBox + { + get + { + return memLayer.ML.StringSessionObj("currGitterBox"); + } + set + { + memLayer.ML.setSessionVal("currGitterBox", value); + } + } + /// + /// controllo booleano sul gitterbox se sia ok x caricamento altri pezzi (ovvero en contiene meno del max consentito + /// + protected bool gitterboxOk + { + get + { + bool answ = false; + int maxPezzi = memLayer.ML.confReadInt("qtaOdette"); + int numPezzi = maxPezzi; + try + { + numPezzi = (int)MagClass.magazzino.taCartellini.getByUdc(currGitterBox)[0].Qta; + } + catch + { + httpLog(string.Format("Non sono riuscito a trovare dati per il gitterbox {0}", currGitterBox), tipoLog.ERROR); + } + // controllo se il codice sia "Pieno", ovvero max pezzi + if (numPezzi < maxPezzi) + { + answ = true; + } + return answ; + } + } + /// + /// wrapper per log con salvataggio dell'IP del chiamante + /// + /// + /// + public bool httpLog(string _testoPre) + { + bool answ = false; + string postazione_IP = ""; + try + { + postazione_IP = string.Format(" | {0} | ", Request.UserHostName); + } + catch + { } + logger.lg.scriviLog(postazione_IP + _testoPre); + return answ; + } + /// + /// wrapper per log con salvataggio dell'IP del chiamante + /// + /// + /// + public bool httpLog(string testoLog, tipoLog tipo) + { + bool answ = false; + string postazione_IP = ""; + try + { + postazione_IP = string.Format(" | {0} | ", Request.UserHostName); + } + catch + { } + logger.lg.scriviLog(postazione_IP + testoLog, tipo); + return answ; + } + + /// + /// controlla se ci sia un barcode + /// + private void checkBarcode() + { + if (barcodeIn != "") + { + lblMessaggi.Text = string.Format("Barcode digitato: {0}", barcodeIn); + switch (tipoBCode) + { + case tipoCodiceBarcode.Gitterbox: + // imposto il gitterbox corrente + currGitterBox = barcodeIn; + if (gitterboxOk) + { + // controllo se il gitterbox non sia stato già associato ad una etichetta odette - non si può spostare + if (Odette.mgr.gitterboxInOdette(currGitterBox)) + { + currGitterBox = ""; + lblMessaggi.Text += " - gitterbox associatoad odette!!! non impostabile."; + pnlAll.CssClass = "stileComandoKo"; + } + else + { + lblMessaggi.Text += " - impostato nuovo gitterbox di destinazione!"; + pnlAll.CssClass = "stileComandoOk"; + } + } + else + { + lblMessaggi.Text += " - gitterbox pieno!!! impostato, ma non si possono versare altri pezzi."; + pnlAll.CssClass = "stileComandoKo"; + } + break; + case tipoCodiceBarcode.DataMatrix: + // se c'è un gitterbox attivo sposto il datamatrix + if (currGitterBox != "") + { + if (gitterboxOk) + { + decimal dataMatrix = Convert.ToDecimal(barcodeIn); + // controllo che esissta il datamatrix... + if (Odette.mgr.datamatrixEsiste(dataMatrix)) + { + // effettuo spostamento del datamatrix nel nuovo gitterbox + if (!Odette.mgr.datamatrixInOdette(dataMatrix)) + { + // controllo che il gitterbox sia coerente col datamatrix per prodotto... + if (Odette.mgr.dtMtxGtboxCompatibili(dataMatrix, currGitterBox)) + { + DataMatrix.mgr.taElencoDM.spostaInGitterbox(dataMatrix, currGitterBox, MagClass.magazzino.CodSoggCurrUser); + lblMessaggi.Text += " - spostato nel gitterbox attivo!"; + pnlAll.CssClass = "stileComandoAdd"; + } + else + { + lblMessaggi.Text += " - datamatrix non spostabile, il gitterbox contiene prodotti diversi!"; + pnlAll.CssClass = "stileErr01"; + } + } + else + { + lblMessaggi.Text += " - datamatrix non spostabile, in gitterbox già associato ad odette!"; + pnlAll.CssClass = "stileErr03"; + } + } + else + { + lblMessaggi.Text += " - datamatrix non trovato!"; + pnlAll.CssClass = "stileErr02"; + } + } + else + { + lblMessaggi.Text += " - il gitterbox è pieno!!!"; + pnlAll.CssClass = "stileComandoKo"; + } + } + else + { + // altrimenti segnalo che manca il gitterbox di destinazione + lblMessaggi.Text += " - errore, manca un gitterbox di destinazione!"; + pnlAll.CssClass = "stileComandoKo"; + } + break; + case tipoCodiceBarcode.Comando: + // controllo se è svuota gitterbox, nel caso lo svuoto + string cmdSvuotaGbox = memLayer.ML.confReadString("cmdSvuotaGitterBox"); + string cmdEsci = memLayer.ML.confReadString("cmdEsci"); + if (barcodeIn == cmdSvuotaGbox) + { + if (gitterboxOk) + { + DataMatrix.mgr.taElencoDM.svuotaGitterbox(currGitterBox, MagClass.magazzino.CodSoggCurrUser); + lblMessaggi.Text += " - Gitterbox svuotato!"; + pnlAll.CssClass = "stileAttesa"; + } + } + else if (barcodeIn == cmdEsci) + { + currGitterBox = ""; + Response.Redirect("~/menu.aspx"); + } + else + { + lblMessaggi.Text += " - codice comando non riconosciuto!"; + } + break; + default: + lblMessaggi.Text += " - codice non riconosciuto!"; + pnlAll.CssClass = "stileComandoND"; + break; + } + barcodeIn = ""; + } + else + { + lblMessaggi.Text = "...attesa barcode..."; + } + grView.DataBind(); + txtBarcode.Focus(); + } + /// + /// + /// + public tipoCodiceBarcode tipoBCode + { + get + { + tipoCodiceBarcode answ = tipoCodiceBarcode.ND; + int trovati = 0; + // controllo non si tratti di un comando... + string preCmd = memLayer.ML.confReadString("prefComandi"); + if (barcodeIn.StartsWith(preCmd)) + { + answ = tipoCodiceBarcode.Comando; + } + else + { + try + { + // cerco tra gitterbox (UDC)... + trovati = MagClass.magazzino.taCartellini.getByUdc(barcodeIn).Rows.Count; + // cerco tra datamatrix + if (trovati > 0) + { + answ = tipoCodiceBarcode.Gitterbox; + } + else + { + trovati = DataMatrix.mgr.taElencoDM.getByCode(Convert.ToDecimal(barcodeIn)).Rows.Count; + if (trovati > 0) + { + answ = tipoCodiceBarcode.DataMatrix; + } + } + + } + catch + { + } + } + return answ; + } + } + /// + /// valore barcode + /// + public string barcodeIn + { + get + { + return txtBarcode.Text.Trim(); + } + set + { + txtBarcode.Text = value; + } + } + /// + /// indica se i caratteri vadano forzati a maiuscoli + /// + public bool forceUppercase + { + get + { + return memLayer.ML.confReadBool("forceUppercase"); + } + } + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_spostaDataMatrix.ascx.designer.cs b/GMW/WebUserControls/mod_spostaDataMatrix.ascx.designer.cs new file mode 100644 index 00000000..0087befe --- /dev/null +++ b/GMW/WebUserControls/mod_spostaDataMatrix.ascx.designer.cs @@ -0,0 +1,106 @@ +//------------------------------------------------------------------------------ +// +// 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_spostaDataMatrix { + + /// + /// pnlAll control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlAll; + + /// + /// lblCurrentPage control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblCurrentPage; + + /// + /// hlMenu control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.HyperLink hlMenu; + + /// + /// lblGitterBoxAttivo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblGitterBoxAttivo; + + /// + /// lblMessaggi control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblMessaggi; + + /// + /// lblBarcode control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblBarcode; + + /// + /// txtBarcode control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtBarcode; + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; + + /// + /// lblPezziGitterbox control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblPezziGitterbox; + } +} diff --git a/GMW/WebUserControls/mod_statoMag.ascx b/GMW/WebUserControls/mod_statoMag.ascx new file mode 100644 index 00000000..11d28016 --- /dev/null +++ b/GMW/WebUserControls/mod_statoMag.ascx @@ -0,0 +1,122 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_statoMag.ascx.cs" + Inherits="GMW.WebUserControls.mod_statoMag" %> +<% if (false) + { %> + +<% } %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %> +<%@ Register Src="mod_filtro.ascx" TagName="mod_filtro" TagPrefix="uc1" %> +<%@ Register Src="mod_barPlot.ascx" TagName="mod_barPlot" TagPrefix="uc2" %> +
+
+ + + + + + +
+
+ + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+
+ + + + + + + + +
+ + / + +
+
+
+ + + +
+ + / + +
+
+
+ + +
+ + --> + +
+
+
+
+
+ + + + + + +    + + + + + + + +
diff --git a/GMW/WebUserControls/mod_statoMag.ascx.cs b/GMW/WebUserControls/mod_statoMag.ascx.cs new file mode 100644 index 00000000..97f61c59 --- /dev/null +++ b/GMW/WebUserControls/mod_statoMag.ascx.cs @@ -0,0 +1,333 @@ +using System; +using System.Data; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; +using GMW_data; + +namespace GMW.WebUserControls +{ + public partial class mod_statoMag : SteamWare.ApplicationUserControl + { + #region area da NON modificare + + #region area protected + + protected string _idxGridView; + protected string _idxGridViewExt; + protected string _tabCache; + + /// + /// aggiorna controlli datagrid e numero righe in pagina + /// + protected override void aggiornaControlliDataGL() + { + base.aggiornaControlliDataGL(); + grView.PageSize = _righeDataGridMed; + } + /// + /// traduce gli header delle colonne + /// + /// + /// + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); + lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); + } + else + { + lblNumRec.Text = ""; + } + } + /// + /// reset della selezione + /// + /// + /// + protected void btnReset_Click(object sender, EventArgs e) + { + resetSelezione(); + } + /// + /// resetta la selezione dei valori in caso di modifiche su altri controlli + /// + public void resetSelezione() + { + SteamWare.memLayer.ML.emptySessionVal(string.Format("{0}_sel", _idxGridView)); + grView.SelectedIndex = -1; + grView.DataBind(); + lblWarning.Visible = false; + if (eh_resetSelezione != null) + { + eh_resetSelezione(this, new EventArgs()); + } + } + + /// + /// collega i controlli + /// + protected override void bindControlli() + { + base.bindControlli(); + caricaTabelle(); + } + + #endregion + + #region gestione eventi + + public event EventHandler eh_resetSelezione; + //public event EventHandler eh_nuovoValore; + public event EventHandler eh_selValore; + + #endregion + + #region public + + /// + /// effettua update del modulo + /// + public void doUpdate() + { + resetSelezione(); + } + + + #endregion + + #endregion + + #region area codice variabile + + + protected int maxNumCelle = 1000; + /// + /// larghezza max in pixel della barra + lunga tra quelle da plottare + /// + protected int larghPixel = memLayer.ML.confReadInt("maxBarplotLargh"); + + /// + /// carico le tabelle + /// + private void caricaTabelle() + { + } + /// + /// elenco colonne del datagrid + /// + /// + protected DataColumnCollection colonneObj() + { + DS_magazzino.V_MagazziniOverviewDataTable tabella = new DS_magazzino.V_MagazziniOverviewDataTable(); + DataColumnCollection colonne = tabella.Columns; + return colonne; + } + /// + /// inizializzazione valori di default + /// + /// + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + _idxGridView = "IdxBlocco"; + mod_filtroMag.eh_selValore += new EventHandler(mod_filtroMag_eh_selValore); + } + + protected override void Page_Load(object sender, EventArgs e) + { + base.Page_Load(sender, e); + if (!Page.IsPostBack) + { + if (_paginaPrecedente == "DettaglioBlocco.aspx") + { + svuotaVariabili(); + } + mod_filtroMag.ods = odsFiltroMag; + // imposto corretto valore x filtro Mag + if (memLayer.ML.isInSessionObject("CodMag_sel")) + { + mod_filtroMag.valore = memLayer.ML.StringSessionObj("CodMag_sel"); + } + else + { + mod_filtroMag.reset(); + } + checkFixOds(); + } + } + protected override void traduciObj() + { + lblCercaPart.Text = traduci("lblCercaPart"); + btnCercaPart.Text = traduci("btnCerca"); + } + void mod_filtroMag_eh_selValore(object sender, EventArgs e) + { + // chiamo procedura che aggiorna ods principale + checkFixOds(); + } + /// + /// segnalo nuovo valore filtro attivo... + /// + private void checkFixOds() + { + // determino cosa filtrare nella filter expression... + if (mod_filtroMag.valore != "*") + { + ods.FilterExpression = string.Format(" CodMag = '{0}' ", mod_filtroMag.valore); + // salvo il valore del numero di celle max x poter scalare correttamente i barplot + try + { + maxNumCelle = MagClass.magazzino.taMagOverw.getMaxCelleByMag(memLayer.ML.StringSessionObj("CodCS"), mod_filtroMag.valore)[0].TotCelle; + } + catch + { + maxNumCelle = 100; + } + } + else + { + ods.FilterExpression = ""; + // salvo il valore del numero di celle max x poter scalare correttamente i barplot + try + { + maxNumCelle = MagClass.magazzino.taMagOverw.getMaxCelle(memLayer.ML.StringSessionObj("CodCS"))[0].TotCelle; + } + catch + { + maxNumCelle = 100; + } + } + grView.DataBind(); + } + /// + /// aggiorno visualizzazione + /// + private void updateOdsDaFiltro() + { + grView.DataBind(); + } + /// + /// chiamata post page change gridview + /// + /// + /// + protected void grView_PageIndexChanged(object sender, EventArgs e) + { + // sistemazione dell'ods post evento cambio pagina + checkFixOds(); + } + /// + /// chiamata post sort gridview + /// + /// + /// + protected void grView_Sorted(object sender, EventArgs e) + { + // sistemazione dell'ods post evento sort + checkFixOds(); + } + /// + /// costruisce un dataset di valori da passare al controllo mod_BarPlot + /// + /// + /// + /// + /// + public GMW_data.Type.DatoBarPlot[] getElencoValori(object tipoPlot, object _valTot, object _valQuota) + { + GMW_data.Type.DatoBarPlot[] elenco = new GMW_data.Type.DatoBarPlot[2]; + if (tipoPlot.ToString() == "numCelle") + { + // carico dati dimensione magazzino e celle attive... + int celleAttive = Convert.ToInt32(_valQuota); + int celleBloccate = Convert.ToInt32(_valTot) - celleAttive; + int pxCelleAttive = Convert.ToInt32(Math.Round((double)celleAttive / maxNumCelle * larghPixel, 0)); + int pxCelleBloccate = Convert.ToInt32(Math.Round((double)celleBloccate / maxNumCelle * larghPixel, 0)); + float percCelleAttive = (float)celleAttive / (celleAttive + celleBloccate); + float percCelleBloccate = (float)celleBloccate / (celleAttive + celleBloccate); + elenco[0] = new GMW_data.Type.DatoBarPlot(string.Format("{0:##%}", percCelleAttive), pxCelleAttive, "sg", string.Format("{0:##%} celle attive", percCelleAttive)); + elenco[1] = new GMW_data.Type.DatoBarPlot(string.Format("{0:##%}", percCelleBloccate), pxCelleBloccate, "ss", string.Format("{0:##%} celle bloccate", percCelleBloccate)); + } + else + { + // carico dati celle libere/occupate... + int celleOccupate = Convert.ToInt32(_valQuota); + int celleLibere = Convert.ToInt32(_valTot) - celleOccupate; + int pxCelleOcc = Convert.ToInt32(Math.Round((double)celleOccupate / maxNumCelle * larghPixel, 0)); + int pxCelleLib = Convert.ToInt32(Math.Round((double)celleLibere / maxNumCelle * larghPixel, 0)); + float percCelleOcc = (float)celleOccupate / (celleOccupate + celleLibere); + float percCelleLib = (float)celleLibere / (celleOccupate + celleLibere); + elenco[0] = new GMW_data.Type.DatoBarPlot(string.Format("{0:##%}", percCelleOcc), pxCelleOcc, "sr", string.Format("{0:##%} celle occupate", percCelleOcc)); + elenco[1] = new GMW_data.Type.DatoBarPlot(string.Format("{0:##%}", percCelleLib), pxCelleLib, "sv", string.Format("{0:##%} celle libere", percCelleLib)); + } + return elenco; + } + /// + /// gestione cambio selezione valore + /// + /// + /// + protected void grView_SelectedIndexChanged(object sender, EventArgs e) + { + svuotaVariabili(); + + // salvo in session il valore selezionato... + SteamWare.memLayer.ML.setSessionVal(string.Format("{0}_sel", _idxGridView), grView.SelectedValue, true); + // salvo anche codBlocco... + string codMag = MagClass.magazzino.taBlocchi.getByIdx(Convert.ToInt32(grView.SelectedValue))[0].CodMag; + SteamWare.memLayer.ML.setSessionVal("CodMag_sel", codMag, true); + + // sollevo evento nuovo valore... + if (eh_selValore != null) + { + eh_selValore(this, new EventArgs()); + } + } + /// + /// effettua svuotamento delle variabili pre-caricate + /// + private static void svuotaVariabili() + { + // svuoto altre variabili... + memLayer.ML.emptySessionVal("IdxCellaMag"); + memLayer.ML.emptySessionVal("Particolare_sel"); + memLayer.ML.emptySessionVal("DescStato_sel"); + memLayer.ML.emptySessionVal("Esponente_sel"); + memLayer.ML.emptySessionVal("CodMagLogico_sel"); + memLayer.ML.emptySessionVal("CodMag_sel"); + } + /// + /// cambiato valore in ricerca + /// + /// + /// + protected void txtCercaPart_TextChanged(object sender, EventArgs e) + { + } + /// + /// pressione del button di ricerca + /// + /// + /// + protected void btnCercaPart_Click(object sender, EventArgs e) + { + } + + #endregion + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_statoMag.ascx.designer.cs b/GMW/WebUserControls/mod_statoMag.ascx.designer.cs new file mode 100644 index 00000000..9d0b6f2b --- /dev/null +++ b/GMW/WebUserControls/mod_statoMag.ascx.designer.cs @@ -0,0 +1,115 @@ +//------------------------------------------------------------------------------ +// +// 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_statoMag { + + /// + /// mod_filtroMag control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_filtro mod_filtroMag; + + /// + /// odsFiltroMag control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsFiltroMag; + + /// + /// lblCercaPart control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblCercaPart; + + /// + /// txtCercaPart control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtCercaPart; + + /// + /// aceParticolare control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.AutoCompleteExtender aceParticolare; + + /// + /// btnCercaPart control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnCercaPart; + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; + + /// + /// lblNumRec control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumRec; + + /// + /// lblWarning control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblWarning; + + /// + /// odsBlocco control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsBlocco; + } +} diff --git a/GMW/WebUserControls/mod_statoMagLogico.ascx b/GMW/WebUserControls/mod_statoMagLogico.ascx new file mode 100644 index 00000000..cf4d76aa --- /dev/null +++ b/GMW/WebUserControls/mod_statoMagLogico.ascx @@ -0,0 +1,94 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_statoMagLogico.ascx.cs" + Inherits="GMW.WebUserControls.mod_statoMagLogico" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> +<%@ Register Src="mod_filtro.ascx" TagName="mod_filtro" TagPrefix="uc1" %> +<%@ Register Src="mod_barPlot.ascx" TagName="mod_barPlot" TagPrefix="uc2" %> +
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+
+ + +
+ + --> + +
+
+
+
+
+ + + + + +   + + + + + + + diff --git a/GMW/WebUserControls/mod_statoMagLogico.ascx.cs b/GMW/WebUserControls/mod_statoMagLogico.ascx.cs new file mode 100644 index 00000000..c86259ca --- /dev/null +++ b/GMW/WebUserControls/mod_statoMagLogico.ascx.cs @@ -0,0 +1,312 @@ +using System; +using System.Data; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; +using GMW_data; + +namespace GMW.WebUserControls +{ + public partial class mod_statoMagLogico : SteamWare.ApplicationUserControl + { + #region area da NON modificare + + #region area protected + + protected string _idxGridView; + protected string _idxGridViewExt; + protected string _tabCache; + + /// + /// aggiorna controlli datagrid e numero righe in pagina + /// + protected override void aggiornaControlliDataGL() + { + base.aggiornaControlliDataGL(); + grView.PageSize = _righeDataGridMed; + } + /// + /// traduce gli header delle colonne + /// + /// + /// + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); + lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); + } + else + { + lblNumRec.Text = ""; + } + } + /// + /// reset della selezione + /// + /// + /// + protected void btnReset_Click(object sender, EventArgs e) + { + resetSelezione(); + } + /// + /// resetta la selezione dei valori in caso di modifiche su altri controlli + /// + public void resetSelezione() + { + SteamWare.memLayer.ML.emptySessionVal(string.Format("{0}_sel", _idxGridView)); + grView.SelectedIndex = -1; + grView.DataBind(); + lblWarning.Visible = false; + if (eh_resetSelezione != null) + { + eh_resetSelezione(this, new EventArgs()); + } + } + + /// + /// collega i controlli + /// + protected override void bindControlli() + { + base.bindControlli(); + caricaTabelle(); + } + + #endregion + + #region gestione eventi + + public event EventHandler eh_resetSelezione; + //public event EventHandler eh_nuovoValore; + public event EventHandler eh_selValore; + + #endregion + + #region public + + /// + /// effettua update del modulo + /// + public void doUpdate() + { + resetSelezione(); + } + + + #endregion + + #endregion + + #region area codice variabile + + + protected int maxNumCelle = 1000; + /// + /// larghezza max in pixel della barra + lunga tra quelle da plottare + /// + protected int larghPixel = 150; + + /// + /// carico le tabelle + /// + private void caricaTabelle() + { + } + /// + /// elenco colonne del datagrid + /// + /// + protected DataColumnCollection colonneObj() + { + DS_magazzino.V_MagazziniOverviewDataTable tabella = new DS_magazzino.V_MagazziniOverviewDataTable(); + DataColumnCollection colonne = tabella.Columns; + return colonne; + } + /// + /// inizializzazione valori di default + /// + /// + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + _idxGridView = "IdxBlocco"; + mod_filtroMag.eh_selValore += new EventHandler(mod_filtroMag_eh_selValore); + } + + protected override void Page_Load(object sender, EventArgs e) + { + base.Page_Load(sender, e); + if (!Page.IsPostBack) + { + if (_paginaPrecedente == "DettaglioBlocco.aspx") + { + svuotaVariabili(); + } + mod_filtroMag.ods = odsFiltroMag; + // imposto corretto valore x filtro Mag + if (memLayer.ML.isInSessionObject("CodMagLogico_sel")) + { + mod_filtroMag.valore = memLayer.ML.StringSessionObj("CodMagLogico_sel"); + } + else + { + mod_filtroMag.reset(); + } + checkFixOds(); + } + } + + void mod_filtroMag_eh_selValore(object sender, EventArgs e) + { + // chiamo procedura che aggiorna ods principale + checkFixOds(); + } + /// + /// segnalo nuovo valore filtro attivo... + /// + private void checkFixOds() + { + // determino cosa filtrare nella filter expression... + if (mod_filtroMag.valore != "*") + { + ods.FilterExpression = string.Format(" CodMagLogico = '{0}' ", mod_filtroMag.valore); + // salvo il valore del numero di celle max x poter scalare correttamente i barplot + try + { + maxNumCelle = MagClass.magazzino.taMagOverw.getMaxCelleByMag(memLayer.ML.StringSessionObj("CodCS"), mod_filtroMag.valore)[0].TotCelle; + } + catch + { + maxNumCelle = 1; + } + } + else + { + ods.FilterExpression = ""; + // salvo il valore del numero di celle max x poter scalare correttamente i barplot + try + { + maxNumCelle = MagClass.magazzino.taMagOverw.getMaxCelle(memLayer.ML.StringSessionObj("CodCS"))[0].TotCelle; + } + catch + { + maxNumCelle = 1; + } + } + grView.DataBind(); + } + /// + /// aggiorno visualizzazione + /// + private void updateOdsDaFiltro() + { + grView.DataBind(); + } + /// + /// chiamata post page change gridview + /// + /// + /// + protected void grView_PageIndexChanged(object sender, EventArgs e) + { + // sistemazione dell'ods post evento cambio pagina + checkFixOds(); + } + /// + /// chiamata post sort gridview + /// + /// + /// + protected void grView_Sorted(object sender, EventArgs e) + { + // sistemazione dell'ods post evento sort + checkFixOds(); + } + /// + /// costruisce un dataset di valori da passare al controllo mod_BarPlot + /// + /// + /// + /// + /// + public GMW_data.Type.DatoBarPlot[] getElencoValori(object tipoPlot, object _valTot, object _valQuota) + { + GMW_data.Type.DatoBarPlot[] elenco = new GMW_data.Type.DatoBarPlot[2]; + if (tipoPlot.ToString() == "numCelle") + { + // carico dati dimensione magazzino e celle attive... + int celleAttive = Convert.ToInt32(_valQuota); + int celleBloccate = Convert.ToInt32(_valTot) - celleAttive; + int pxCelleAttive = Convert.ToInt32(Math.Round((double)celleAttive / maxNumCelle * larghPixel, 0)); + int pxCelleBloccate = Convert.ToInt32(Math.Round((double)celleBloccate / maxNumCelle * larghPixel, 0)); + float percCelleAttive = (float)celleAttive / (celleAttive + celleBloccate); + float percCelleBloccate = (float)celleBloccate / (celleAttive + celleBloccate); + elenco[0] = new GMW_data.Type.DatoBarPlot(string.Format("{0:##%}", percCelleAttive), pxCelleAttive, "sg", string.Format("{0:##%} celle attive", percCelleAttive)); + elenco[1] = new GMW_data.Type.DatoBarPlot(string.Format("{0:##%}", percCelleBloccate), pxCelleBloccate, "ss", string.Format("{0:##%} celle bloccate", percCelleBloccate)); + } + else + { + // carico dati celle libere/occupate... + int celleOccupate = Convert.ToInt32(_valQuota); + int celleLibere = Convert.ToInt32(_valTot) - celleOccupate; + int pxCelleOcc = Convert.ToInt32(Math.Round((double)celleOccupate / maxNumCelle * larghPixel, 0)); + int pxCelleLib = Convert.ToInt32(Math.Round((double)celleLibere / maxNumCelle * larghPixel, 0)); + float percCelleOcc = (float)celleOccupate / (celleOccupate + celleLibere); + float percCelleLib = (float)celleLibere / (celleOccupate + celleLibere); + elenco[0] = new GMW_data.Type.DatoBarPlot(string.Format("{0:##%}", percCelleOcc), pxCelleOcc, "sr", string.Format("{0:##%} celle occupate", percCelleOcc)); + elenco[1] = new GMW_data.Type.DatoBarPlot(string.Format("{0:##%}", percCelleLib), pxCelleLib, "sv", string.Format("{0:##%} celle libere", percCelleLib)); + } + return elenco; + } + /// + /// gestione cambio selezione valore + /// + /// + /// + protected void grView_SelectedIndexChanged(object sender, EventArgs e) + { + svuotaVariabili(); + // salvo in session il valore selezionato... + SteamWare.memLayer.ML.setSessionVal(string.Format("{0}_sel", _idxGridView), grView.SelectedValue, true); + // salvo anche codMag... + string codMag = MagClass.magazzino.taBlocchi.getByIdx(Convert.ToInt32(grView.SelectedValue))[0].CodMag; + SteamWare.memLayer.ML.setSessionVal("CodMag_sel", codMag, true); + memLayer.ML.setSessionVal("CodMagLogico_sel", grView.SelectedDataKey["CodMagLogico"].ToString()); + // sollevo evento nuovo valore... + if (eh_selValore != null) + { + eh_selValore(this, new EventArgs()); + } + } + /// + /// effettua svuotamento delle variabili pre-caricate + /// + private static void svuotaVariabili() + { + // svuoto altre variabili... + memLayer.ML.emptySessionVal("IdxCellaMag"); + memLayer.ML.emptySessionVal("Particolare_sel"); + memLayer.ML.emptySessionVal("DescStato_sel"); + memLayer.ML.emptySessionVal("Esponente_sel"); + memLayer.ML.emptySessionVal("CodMagLogico_sel"); + memLayer.ML.emptySessionVal("CodMag_sel"); + } + + #endregion + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_statoMagLogico.ascx.designer.cs b/GMW/WebUserControls/mod_statoMagLogico.ascx.designer.cs new file mode 100644 index 00000000..94243e3c --- /dev/null +++ b/GMW/WebUserControls/mod_statoMagLogico.ascx.designer.cs @@ -0,0 +1,79 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW.WebUserControls { + + + public partial class mod_statoMagLogico { + + /// + /// mod_filtroMag control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_filtro mod_filtroMag; + + /// + /// odsFiltroMag control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsFiltroMag; + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; + + /// + /// lblNumRec control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumRec; + + /// + /// lblWarning control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblWarning; + + /// + /// odsBlocco control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsBlocco; + } +} diff --git a/GMW/WebUserControls/mod_tipoCella.ascx b/GMW/WebUserControls/mod_tipoCella.ascx new file mode 100644 index 00000000..23f9a7a7 --- /dev/null +++ b/GMW/WebUserControls/mod_tipoCella.ascx @@ -0,0 +1,220 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_tipoCella.ascx.cs" + Inherits="GMW.WebUserControls.mod_tipoCella" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +   + \ No newline at end of file diff --git a/GMW/WebUserControls/mod_tipoCella.ascx.cs b/GMW/WebUserControls/mod_tipoCella.ascx.cs new file mode 100644 index 00000000..006793e9 --- /dev/null +++ b/GMW/WebUserControls/mod_tipoCella.ascx.cs @@ -0,0 +1,382 @@ +using System; +using System.Data; +using System.Web.UI.WebControls; +using SteamWare; +using GMW_data; + +namespace GMW.WebUserControls +{ + public partial class mod_tipoCella : SteamWare.ApplicationUserControl + { + #region area da NON modificare + + #region area protected + + protected string _idxGridView; + protected string _idxGridViewExt; + protected string _tabCache; + protected bool _showNewBtn = false; + + /// + /// imposta errore non cancellabilità per record correlati + /// + protected void setNoDeletableErrorMessage() + { + // mostro avviso di non cancellabilità... + lblWarning.Text = traduci("notDeletable_hasChild"); + lblWarning.Visible = true; + grView.DataBind(); + } + /// + /// esegue cancellazioen record + /// + protected void doDelete() + { + // posso cancellare... + lblWarning.Visible = false; + ods.Delete(); + } + /// + /// Valida la cancellazione per i dati mostrati dal gridView + /// richiede sia preventivamentedichiarato _idxGridView + /// + /// + /// + protected virtual void validaDelete(object sender, ObjectDataSourceMethodEventArgs e) + { + int idx = Convert.ToInt32(e.InputParameters[string.Format("Original_{0}", _idxGridView)]); + if (objIsNotRelated(idx)) + { + // annullo cancellazione... + e.Cancel = true; + // seleziono record... metto in session valore idx e poi ridisegno... + SteamWare.memLayer.ML.setSessionVal(_idxGridView, idx); + setNoDeletableErrorMessage(); + } + else + { + doDelete(); + } + } + + /// + /// recupera i dati di un nuovo record contenuti nel footer di un gridView; + /// questi devono esses opportunamente nominati (es: txt{0}, dl{0}, ...) + /// + /// + /// + protected void recuperaFooter(object sender, ObjectDataSourceMethodEventArgs e) + { + //recupero la riga footer... + DataColumnCollection colonne = colonneObj(); + string nomeCol; + string tipoColonna = ""; + foreach (DataColumn colonna in colonne) + { + nomeCol = colonna.ColumnName; + // cerco un textbox o quello che sia... + if (grView.FooterRow.FindControl(string.Format("txt{0}", nomeCol)) != null) + { + tipoColonna = "textBox"; + } + else if (grView.FooterRow.FindControl(string.Format("dl{0}", nomeCol)) != null) + { + tipoColonna = "dropDownList"; + } + else if (grView.FooterRow.FindControl(string.Format("chk{0}", nomeCol)) != null) + { + tipoColonna = "checkBox"; + } + else if (grView.FooterRow.FindControl(string.Format("selAjax_{0}", nomeCol)) != null) + { + tipoColonna = "selAjax"; + } + // in base al tipo salvo negli inputparameters dell'ODS + switch (tipoColonna) + { + case "textBox": + e.InputParameters[nomeCol] = ((TextBox)grView.FooterRow.FindControl(string.Format("txt{0}", nomeCol))).Text; + break; + case "dropDownList": + e.InputParameters[nomeCol] = ((DropDownList)grView.FooterRow.FindControl(string.Format("dl{0}", nomeCol))).SelectedValue; + break; + case "checkBox": + e.InputParameters[nomeCol] = ((CheckBox)grView.FooterRow.FindControl(string.Format("chk{0}", nomeCol))).Checked; + break; + case "selAjax": + e.InputParameters[nomeCol] = ((mod_selettore_ajax)grView.FooterRow.FindControl(string.Format("selAjax_{0}", nomeCol))).valore; + break; + default: + break; + } + tipoColonna = ""; + } + } + /// + /// inserisce nuovo valore da footer + /// + /// + /// + protected void lblIns_click(object sender, EventArgs e) + { + // click su inserimento, chiamo il metodo insert dell'ObjectDataSource + ods.Insert(); + SteamWare.memLayer.ML.emptyCacheVal(_tabCache); + } + /// + /// annulla inserimento nuovo valore da footer + /// + /// + /// + protected void lblCanc_click(object sender, EventArgs e) + { + // annullo inserimento: nascondo footer, bind controlli... + grView.FooterRow.Visible = false; + } + + /// + /// aggiorna controlli datagrid e numero righe in pagina + /// + protected override void aggiornaControlliDataGL() + { + base.aggiornaControlliDataGL(); + grView.PageSize = _righeDataGridMed; + } + /// + /// traduce gli header delle colonne + /// + /// + /// + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); + lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); + } + else + { + lblNumRec.Text = ""; + } + } + /// + /// gestione evento richeista nuovo valore (mostra footer, ...) + /// + /// + /// + protected void btnNew_Click(object sender, EventArgs e) + { + // reset selezione... + resetSelezione(); + // mostro il footer oppure la riga dei dettagli x nuovo... + if (grView.FooterRow != null) + { + grView.FooterRow.Visible = true; + } + // sollevo evento nuovo valore... + if (eh_nuovoValore != null) + { + eh_nuovoValore(this, new EventArgs()); + } + } + /// + /// reset della selezione + /// + /// + /// + protected void btnReset_Click(object sender, EventArgs e) + { + resetSelezione(); + } + /// + /// gestione cambio selezione valore + /// + /// + /// + protected void grView_SelectedIndexChanged(object sender, EventArgs e) + { + // salvo in session il valore selezionato... + SteamWare.memLayer.ML.setSessionVal(string.Format("{0}_sel", _idxGridView), grView.SelectedValue, true); + // sollevo evento nuovo valore... + if (eh_selValore != null) + { + eh_selValore(this, new EventArgs()); + } + } + /// + /// resetta la selezione dei valori in caso di modifiche su altri controlli + /// + public void resetSelezione() + { + SteamWare.memLayer.ML.emptySessionVal(string.Format("{0}_sel", _idxGridView)); + grView.SelectedIndex = -1; + grView.DataBind(); + lblWarning.Visible = false; + if (eh_resetSelezione != null) + { + eh_resetSelezione(this, new EventArgs()); + } + } + + /// + /// collega i controlli + /// + protected override void bindControlli() + { + base.bindControlli(); + caricaTabelle(); + } + + #endregion + + #region gestione eventi + + public event EventHandler eh_resetSelezione; + public event EventHandler eh_nuovoValore; + public event EventHandler eh_selValore; + + #endregion + + #region public + + /// + /// definisce visibilità btnNew + /// + public bool showNewBtn + { + get + { + return _showNewBtn; + } + set + { + _showNewBtn = value; + } + } + /// + /// effettua update del modulo + /// + public void doUpdate() + { + resetSelezione(); + } + + + #endregion + + #endregion + + #region area codice variabile + + + /// + /// carico le tabelle + /// + private void caricaTabelle() + { + } + /// + /// verifica complessiva non esistenza record child + /// + /// + /// + protected bool objIsNotRelated(object idxObj) + { + return MagClass.magazzino.taCelle.getByTipoCella(Convert.ToInt32(idxObj)).Rows.Count == 0; + } + /// + /// elenco colonne del datagrid + /// + /// + protected DataColumnCollection colonneObj() + { + DS_magazzino.TipoCellaDataTable tabella = new DS_magazzino.TipoCellaDataTable(); + DataColumnCollection colonne = tabella.Columns; + return colonne; + } + /// + /// inizializzazione valori di default + /// + /// + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + _idxGridView = "IdxTipoCella"; + lblTitolo.Text = traduci("ElencoTipoCelle"); + } + /// + /// svuoto da cache post update + /// + /// + /// + protected void ods_Updated(object sender, ObjectDataSourceStatusEventArgs e) + { + // evento come nuovo... + if (eh_nuovoValore != null) + { + eh_nuovoValore(this, new EventArgs()); + } + } + /// + /// determina se sia eliminabile il record (=non usato) + /// + /// + /// + public bool delEnabled(object idxObj) + { + bool answ = isWritable(); + // solo se ha diritti scrittura controllo + if (answ) + { + int trovati = 0; + // controllo se ci siano celle associate + trovati = MagClass.magazzino.taCelle.getByTipoCella(Convert.ToInt32(idxObj)).Rows.Count; + // controllo se ci sono record correlati... + if (trovati > 0) + { + answ = false; + } + } + return answ; + } + /// + /// gestione evento inserimento nuovo record standard (se ZERO presenti) + /// + /// + /// + protected void btnNewFromEmpty_Click(object sender, EventArgs e) + { + // reset selezione... + resetSelezione(); + // i primi valori ("0") di default sono "ND"... li inserisco come standard... + MagClass.magazzino.taTipoCella.Insert(memLayer.ML.StringSessionObj("CodMag_sel"), memLayer.ML.confReadString("CodCS"), 1, 1, memLayer.ML.confReadInt("Max_X"), memLayer.ML.confReadInt("Max_Y"), memLayer.ML.confReadInt("Max_Z"), memLayer.ML.confReadInt("Max_Kg"), false, true); + // sollevo evento nuovo valore... + if (eh_nuovoValore != null) + { + eh_nuovoValore(this, new EventArgs()); + } + updateOdsDaFiltro(); + } + /// + /// aggiorno visualizzazione + /// + private void updateOdsDaFiltro() + { + grView.DataBind(); + } + + #endregion + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_tipoCella.ascx.designer.cs b/GMW/WebUserControls/mod_tipoCella.ascx.designer.cs new file mode 100644 index 00000000..a9571017 --- /dev/null +++ b/GMW/WebUserControls/mod_tipoCella.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_tipoCella { + + /// + /// lblTitolo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblTitolo; + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; + + /// + /// lblNumRec control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumRec; + + /// + /// lblWarning control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblWarning; + } +} diff --git a/GMW/WebUserControls/mod_unauthorized.ascx b/GMW/WebUserControls/mod_unauthorized.ascx new file mode 100644 index 00000000..ea4c1343 --- /dev/null +++ b/GMW/WebUserControls/mod_unauthorized.ascx @@ -0,0 +1,16 @@ +<%@ Control Language="C#" AutoEventWireup="true" Inherits="mod_unauthorized" Codebehind="mod_unauthorized.ascx.cs" %> + + + + + + + + + + +
+ +
+
+
diff --git a/GMW/WebUserControls/mod_unauthorized.ascx.cs b/GMW/WebUserControls/mod_unauthorized.ascx.cs new file mode 100644 index 00000000..0c1cb8d6 --- /dev/null +++ b/GMW/WebUserControls/mod_unauthorized.ascx.cs @@ -0,0 +1,20 @@ +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; +using SteamWare; + +public partial class mod_unauthorized : System.Web.UI.UserControl +{ + protected void Page_Load(object sender, EventArgs e) + { + lblTitle.Text = user_std.UtSn.Traduci("NonDisponibile"); + lblMess.Text = user_std.UtSn.Traduci("NonAuth"); + } +} diff --git a/GMW/WebUserControls/mod_unauthorized.ascx.designer.cs b/GMW/WebUserControls/mod_unauthorized.ascx.designer.cs new file mode 100644 index 00000000..7d5054f0 --- /dev/null +++ b/GMW/WebUserControls/mod_unauthorized.ascx.designer.cs @@ -0,0 +1,41 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_unauthorized { + + /// + /// lblTitleMain control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblTitleMain; + + /// + /// lblTitle control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblTitle; + + /// + /// lblMess control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblMess; +} diff --git a/GMW/WebUserControls/mod_viewOdette.ascx b/GMW/WebUserControls/mod_viewOdette.ascx new file mode 100644 index 00000000..d190a61b --- /dev/null +++ b/GMW/WebUserControls/mod_viewOdette.ascx @@ -0,0 +1,80 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_viewOdette.ascx.cs" + Inherits="GMW.WebUserControls.mod_viewOdette" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> +<%@ Register Src="mod_selettore_ajax.ascx" TagName="mod_selettore_ajax" TagPrefix="uc1" %> + + + + + + + + + + + + + + + + + + + +
+ +
+
+
+ + + + + + + + + + + + + + + + + + + <%-- + + --%> + + +
+
+ + + + + + + + +   + diff --git a/GMW/WebUserControls/mod_viewOdette.ascx.cs b/GMW/WebUserControls/mod_viewOdette.ascx.cs new file mode 100644 index 00000000..83512fb6 --- /dev/null +++ b/GMW/WebUserControls/mod_viewOdette.ascx.cs @@ -0,0 +1,438 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Data; +using GMW_data; +using SteamWare; + +namespace GMW.WebUserControls +{ + public partial class mod_viewOdette : SteamWare.ApplicationUserControl + { + #region area da NON modificare + + #region area protected + + protected string _idxGridView; + protected string _idxGridViewExt; + protected string _tabCache; + + /// + /// aggiorna controlli datagrid e numero righe in pagina + /// + protected override void aggiornaControlliDataGL() + { + base.aggiornaControlliDataGL(); + grView.PageSize = _righeDataGridMed; + } + /// + /// traduce gli header delle colonne + /// + /// + /// + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); + lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); + } + else + { + lblNumRec.Text = ""; + } + } + /// + /// reset della selezione + /// + /// + /// + protected void btnReset_Click(object sender, EventArgs e) + { + resetSelezione(); + } + + + /// + /// collega i controlli + /// + protected override void bindControlli() + { + base.bindControlli(); + caricaTabelle(); + } + + #endregion + + #region gestione eventi + + public event EventHandler eh_resetSelezione; + public event EventHandler eh_nuovoValore; + public event EventHandler eh_selValore; + + #endregion + + #endregion + + #region area codice variabile + + /// + /// effettua update del modulo + /// + public void doUpdate() + { + resetSelezione(); + } + + /// + /// carico le tabelle + /// + private void caricaTabelle() + { + } + /// + /// elenco colonne del datagrid + /// + /// + protected DataColumnCollection colonneObj() + { + DS_magazzino.V_DettMagPartDataTable tabella = new DS_magazzino.V_DettMagPartDataTable(); + DataColumnCollection colonne = tabella.Columns; + return colonne; + } + /// + /// inizializzazione valori di default + /// + /// + protected override void OnInit(EventArgs e) + { + if (!Page.IsPostBack) + { + btnRistampaOdette.Text = traduci("RistampaOdette"); + calcolaPostazione(); + } + base.OnInit(e); + } + + /// + /// segnalo nuovo valore filtro attivo... + /// + private void checkFixOds() + { + grView.DataBind(); + } + /// + /// aggiorno visualizzazione + /// + private void updateOdsDaFiltro() + { + grView.DataBind(); + } + /// + /// chiamata post page change gridview + /// + /// + /// + protected void grView_PageIndexChanged(object sender, EventArgs e) + { + // sistemazione dell'ods post evento cambio pagina + checkFixOds(); + } + /// + /// chiamata post sort gridview + /// + /// + /// + protected void grView_Sorted(object sender, EventArgs e) + { + // sistemazione dell'ods post evento sort + checkFixOds(); + } + /// + /// gestione cambio selezione valore + /// + /// + /// + protected void grView_SelectedIndexChanged(object sender, EventArgs e) + { + // sollevo evento nuovo valore... + if (eh_selValore != null) + { + eh_selValore(this, new EventArgs()); + } + } + + /// + /// resetta la selezione dei valori in caso di modifiche su altri controlli + /// + public void resetSelezione() + { + // controlla stato lista e tipo lista x decidere se mostrare pulsante ristampa odette + if (odetteVisible) + { + btnRistampaOdette.Visible = true; + } + else + { + btnRistampaOdette.Visible = false; + } + grView.SelectedIndex = -1; + grView.DataBind(); + lblWarning.Visible = false; + if (eh_resetSelezione != null) + { + eh_resetSelezione(this, new EventArgs()); + } + } + + /// + /// in caso di aggiornamento verifico se sia salvato un comando inizia o completa lista prelievo... + /// + /// + /// + protected void grView_RowUpdating(object sender, GridViewUpdateEventArgs e) + { + // carico l'idx dell'oggetto + string UDC = e.Keys["CampoUDC"].ToString(); + // quale comando? + string _comando = ""; + if (SteamWare.memLayer.ML.isInSessionObject("nextObjCommand")) + { + _comando = SteamWare.memLayer.ML.StringSessionObj("nextObjCommand"); + SteamWare.memLayer.ML.emptySessionVal("nextObjCommand"); + } + // verifico il tipo di richiesta (up/down level, clona o update normale + switch (_comando) + { + case "stampaOdette": + // lancia una singola etichetta odette + Odette.mgr.stampaEtichettaOdette(UDC, postazione_printer); + // blocco update! + e.Cancel = true; + break; + default: + // faccio update! + break; + } + } + /// + /// post update... + /// + /// + /// + protected void ods_Updated(object sender, ObjectDataSourceStatusEventArgs e) + { + // sollevo evento nuovo valore... + if (eh_nuovoValore != null) + { + eh_nuovoValore(this, new EventArgs()); + } + grView.DataBind(); + } + /// + /// registra lo stato della lista di prelievo (x controllo visibilità valori) + /// + public int intStatoLista { get; set; } + /// + /// registra il tipo della lista di prelievo (x controllo visibilità valori) + /// + public string codTipoLista { get; set; } + /// + /// salvo parametri x selettore ajax + /// + /// + /// + protected void grView_RowEditing(object sender, GridViewEditEventArgs e) + { + grView.SelectedIndex = e.NewEditIndex; + // salvo anche dato x filtraggio udcByPart + string UDC = ""; + string particolare = ""; + string codLista = ""; + string codTipoLista = ""; + try + { + UDC = grView.SelectedDataKey["UDC"].ToString(); + particolare = MagClass.magazzino.taDettUDC.getByFullUdc(UDC, memLayer.ML.StringSessionObj("CodCS"))[0].Particolare; + codLista = grView.SelectedDataKey["CodLista"].ToString(); + codTipoLista = MagClass.magazzino.taElencoListePrelievo.getByCodLista(codLista)[0].CodTipoLista; + } + catch + { } + memLayer.ML.setSessionVal("UdcByPart_Particolare", particolare); + memLayer.ML.setSessionVal("UdcByPart_CodLista", codTipoLista); + } + /// + /// ridisegno x cancel editing + /// + /// + /// + protected void grView_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e) + { + // sollevo evento nuovo valore... + if (eh_nuovoValore != null) + { + eh_nuovoValore(this, new EventArgs()); + } + } + /// + /// ridisegno x eliminazione... + /// + /// + /// + protected void grView_RowDeleted(object sender, GridViewDeletedEventArgs e) + { + // sollevo evento nuovo valore... + if (eh_nuovoValore != null) + { + eh_nuovoValore(this, new EventArgs()); + } + } + /// + /// determina se siano visibili i pulsanti x ristampa odette + /// + /// + public bool odetteVisible + { + get + { + return Odette.mgr.listaHasOdette(CodListaOdetteCurr); + } + } + /// + /// restituisce URL x chiamata stampa report odette + /// + /// + /// + public string formattaUrlOdette(object _udc) + { + return _udc.ToString(); + } + /// + /// salvo in session il prox comando + /// + /// + /// + protected void img_Click(object sender, ImageClickEventArgs e) + { + SteamWare.memLayer.ML.setSessionVal("nextObjCommand", ((ImageButton)sender).CommandArgument); + } + /// + /// (ri)stampa tutte le etichette della packing list + /// + /// + /// + protected void btnRistampaOdette_Click(object sender, EventArgs e) + { + Odette.mgr.stampaOdettePackingList(CodListaOdetteCurr, postazione_printer); + } + /// + /// elimina tutte le odette + /// + /// + /// + protected void btnEmptyOdette_Click(object sender, EventArgs e) + { + Odette.mgr.taOdette.deleteByLDP(CodListaOdetteCurr); + // sollevo evento nuovo valore... + if (eh_nuovoValore != null) + { + eh_nuovoValore(this, new EventArgs()); + } + } + /// + /// lista odette correntemente selezionata + /// + public string CodListaOdetteCurr + { + get + { + 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/WebUserControls/mod_viewOdette.ascx.designer.cs b/GMW/WebUserControls/mod_viewOdette.ascx.designer.cs new file mode 100644 index 00000000..82eeba56 --- /dev/null +++ b/GMW/WebUserControls/mod_viewOdette.ascx.designer.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4959 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW.WebUserControls { + + + public partial class mod_viewOdette { + + /// + /// btnRistampaOdette control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnRistampaOdette; + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; + + /// + /// lblNumRec control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumRec; + + /// + /// lblWarning control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblWarning; + } +} diff --git a/GMW/WebUserControls/mod_viewRigheListaPrelievo.ascx b/GMW/WebUserControls/mod_viewRigheListaPrelievo.ascx new file mode 100644 index 00000000..350cc827 --- /dev/null +++ b/GMW/WebUserControls/mod_viewRigheListaPrelievo.ascx @@ -0,0 +1,114 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_viewRigheListaPrelievo.ascx.cs" + Inherits="GMW.WebUserControls.mod_viewRigheListaPrelievo" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> +<%@ Register Src="mod_selettore_ajax.ascx" TagName="mod_selettore_ajax" TagPrefix="uc1" %> + + + + + + + + + + + + + + + +
+ + +
+
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + +   + diff --git a/GMW/WebUserControls/mod_viewRigheListaPrelievo.ascx.cs b/GMW/WebUserControls/mod_viewRigheListaPrelievo.ascx.cs new file mode 100644 index 00000000..75f43a12 --- /dev/null +++ b/GMW/WebUserControls/mod_viewRigheListaPrelievo.ascx.cs @@ -0,0 +1,561 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Data; +using GMW_data; +using SteamWare; + +namespace GMW.WebUserControls +{ + public partial class mod_viewRigheListaPrelievo : SteamWare.ApplicationUserControl + { + #region area da NON modificare + + #region area protected + + protected string _idxGridView; + protected string _idxGridViewExt; + protected string _tabCache; + + /// + /// aggiorna controlli datagrid e numero righe in pagina + /// + protected override void aggiornaControlliDataGL() + { + base.aggiornaControlliDataGL(); + grView.PageSize = _righeDataGridMed; + } + /// + /// traduce gli header delle colonne + /// + /// + /// + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); + lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); + } + else + { + lblNumRec.Text = ""; + } + } + /// + /// reset della selezione + /// + /// + /// + protected void btnReset_Click(object sender, EventArgs e) + { + resetSelezione(); + } + + + /// + /// collega i controlli + /// + protected override void bindControlli() + { + base.bindControlli(); + caricaTabelle(); + } + + #endregion + + #region gestione eventi + + public event EventHandler eh_resetSelezione; + public event EventHandler eh_nuovoValore; + public event EventHandler eh_selValore; + + #endregion + + #region public + + /// + /// effettua update del modulo + /// + public void doUpdate() + { + resetSelezione(); + } + + + #endregion + + #endregion + + #region area codice variabile + + /// + /// carico le tabelle + /// + private void caricaTabelle() + { + } + /// + /// elenco colonne del datagrid + /// + /// + protected DataColumnCollection colonneObj() + { + DS_magazzino.V_DettMagPartDataTable tabella = new DS_magazzino.V_DettMagPartDataTable(); + DataColumnCollection colonne = tabella.Columns; + return colonne; + } + /// + /// segnalo nuovo valore filtro attivo... + /// + private void checkFixOds() + { + grView.DataBind(); + } + /// + /// aggiorno visualizzazione + /// + private void updateOdsDaFiltro() + { + grView.DataBind(); + } + /// + /// chiamata post page change gridview + /// + /// + /// + protected void grView_PageIndexChanged(object sender, EventArgs e) + { + // sistemazione dell'ods post evento cambio pagina + checkFixOds(); + } + /// + /// chiamata post sort gridview + /// + /// + /// + protected void grView_Sorted(object sender, EventArgs e) + { + // sistemazione dell'ods post evento sort + checkFixOds(); + } + /// + /// gestione cambio selezione valore + /// + /// + /// + protected void grView_SelectedIndexChanged(object sender, EventArgs e) + { + // sollevo evento nuovo valore... + if (eh_selValore != null) + { + eh_selValore(this, new EventArgs()); + } + } + + /// + /// resetta la selezione dei valori in caso di modifiche su altri controlli + /// + public void resetSelezione() + { + grView.SelectedIndex = -1; + grView.DataBind(); + lblWarning.Visible = false; + if (eh_resetSelezione != null) + { + eh_resetSelezione(this, new EventArgs()); + } + } + /// + /// fornisce verifica se l'udc sia già stato prelevato altrove... + /// + /// + /// + public bool udcPrelevato(object udc) + { + return GMW_data.MagClass.magazzino.taRigheListePrelievo.getPrelevateByUdc(udc.ToString()).Rows.Count > 0; + } + /// + /// verifica se sia prelevabile + /// + /// + /// + /// + public bool prelevaEnabled(object statoPrelevata, object udc) + { + bool answ = prelievoEnabled; + if (prelievoEnabled) + { + // controllo se non risulti prelevato l'UDC in un altra lista... + if (udcPrelevato(udc)) + { + answ = false; + } + else + { + try + { + answ = !Convert.ToBoolean(statoPrelevata); + } + catch + { } + } + } + return answ; + } + /// + /// verifica se sia scambiabile + /// + /// + /// + /// + public bool scambiaEnabled(object statoPrelevata, object udc) + { + bool answ = (intStatoLista <= ((int)statoLista.completata)); + if (answ) + { + // controllo se non risulti prelevato l'UDC in un altra lista... + if (!udcPrelevato(udc)) + { + answ = false; + } + else + { + try + { + answ = !Convert.ToBoolean(statoPrelevata); + } + catch + { } + } + } + return answ; + } + /// + /// verifica se sia visibile icona scambia (ovvero UDC utilizzato...) + /// + /// + /// + /// + public bool scambiaVisible(object statoPrelevata, object udc) + { + bool answ = false; + // 1° controllo: visibile SOLO se NON completata + if (intStatoLista < (int)statoLista.completata) + { + if (udcPrelevato(udc)) + { + //answ = true; + answ = !Convert.ToBoolean(statoPrelevata); + } + } + return answ; + } + /// + /// verifica se sia editabile + /// + /// + /// + /// + public bool editEnabled(object statoPrelevata, object udc) + { + bool answ = editRigheEnabled; + if (editRigheEnabled) + { + try + { + answ = !Convert.ToBoolean(statoPrelevata); + } + catch + { } + } + return answ; + } + /// + /// verifica se sia cancellabile + /// + /// + /// + /// + public bool delEnabled(object statoPrelevata, object udc) + { + bool answ = editRigheEnabled; + if (editRigheEnabled) + { + try + { + answ = !Convert.ToBoolean(statoPrelevata); + } + catch + { } + } + return answ; + } + /// + /// verifica se sia annullabile il prelievo + /// + /// + /// + public bool annullaEnabled(object annullaPrelevata) + { + bool answ = prelievoEnabled; + if (prelievoEnabled) + { + try + { + answ = Convert.ToBoolean(annullaPrelevata); + } + catch + { } + } + return answ; + } + /// + /// verifica se sia annullabile il prelievo + /// + /// + public bool nuovoEnabled() + { + bool answ = editRigheEnabled; + return answ; + } + /// + /// salvo in session che il prox comando è confermare prelievo... + /// + /// + /// + protected void imgPrelevato_Click(object sender, ImageClickEventArgs e) + { + SteamWare.memLayer.ML.setSessionVal("nextObjCommand", "confermaPrelievo"); + } + /// + /// salvo in session che il prox comando è annullare prelievo... + /// + /// + /// + protected void imgAnnullato_Click(object sender, ImageClickEventArgs e) + { + SteamWare.memLayer.ML.setSessionVal("nextObjCommand", "annullaPrelievo"); + } + /// + /// salvo in session che il prox comando è confermare prelievo... + /// + /// + /// + protected void imgScambia_Click(object sender, ImageClickEventArgs e) + { + SteamWare.memLayer.ML.setSessionVal("nextObjCommand", "scambiaFifo"); + } + /// + /// in caso di aggiornamento verifico se sia salvato un comando inizia o completa lista prelievo... + /// + /// + /// + protected void grView_RowUpdating(object sender, GridViewUpdateEventArgs e) + { + // carico l'idx dell'oggetto + string codLista = e.Keys["CodLista"].ToString(); + string UDC = e.Keys["UDC"].ToString(); + // quale comando? + string _comando = ""; + if (SteamWare.memLayer.ML.isInSessionObject("nextObjCommand")) + { + _comando = SteamWare.memLayer.ML.StringSessionObj("nextObjCommand"); + SteamWare.memLayer.ML.emptySessionVal("nextObjCommand"); + } + // verifico il tipo di richiesta (up/down level, clona o update normale + switch (_comando) + { + case "confermaPrelievo": + // controllo SE sia ancora prelevabile questo UDC... + if (!udcPrelevato(UDC)) + { + GMW_data.MagClass.magazzino.confermaUdcPrelevatoPerLista(codLista, UDC); + } + updateOdsDaFiltro(); + grView.EditIndex = -1; + grView.DataBind(); + // sollevo evento nuovo valore... + if (eh_nuovoValore != null) + { + eh_nuovoValore(this, new EventArgs()); + } + // blocco update! + e.Cancel = true; + break; + case "annullaPrelievo": + GMW_data.MagClass.magazzino.annullaUdcPrelevatoPerLista(codLista, UDC); + updateOdsDaFiltro(); + grView.EditIndex = -1; + grView.DataBind(); + // sollevo evento nuovo valore... + if (eh_nuovoValore != null) + { + eh_nuovoValore(this, new EventArgs()); + } + // blocco update! + e.Cancel = true; + break; + case "scambiaFifo": + GMW_data.MagClass.magazzino.scambiaUdcPerLista(codLista); + updateOdsDaFiltro(); + grView.EditIndex = -1; + grView.DataBind(); + // sollevo evento nuovo valore... + if (eh_nuovoValore != null) + { + eh_nuovoValore(this, new EventArgs()); + } + // blocco update! + e.Cancel = true; + break; + default: + // faccio update! + break; + } + } + /// + /// gestione evento richeista nuovo valore (mostra footer, ...) + /// + /// + /// + protected void btnNew_Click(object sender, EventArgs e) + { + GMW_data.MagClass.magazzino.addUdcPerLista(memLayer.ML.StringSessionObj("CodLista_sel")); + // sollevo evento nuovo valore... + if (eh_nuovoValore != null) + { + eh_nuovoValore(this, new EventArgs()); + } + } + /// + /// post update... + /// + /// + /// + protected void ods_Updated(object sender, ObjectDataSourceStatusEventArgs e) + { + // sollevo evento nuovo valore... + if (eh_nuovoValore != null) + { + eh_nuovoValore(this, new EventArgs()); + } + grView.DataBind(); + } + /// + /// determina se sia permesso modificare le righe di prelievo con altri UDC equivalenti + /// + public bool editRigheEnabled + { + get + { + return memLayer.ML.BoolSessionObj("editRigheEnabled"); + } + set + { + memLayer.ML.setSessionVal("editRigheEnabled", value, false); + } + } + /// + /// determina se le righe di prelievo siano confermabili per prelievo (durante pick-up) + /// + public bool prelievoEnabled + { + get + { + return memLayer.ML.BoolSessionObj("prelievoEnabled"); + } + set + { + memLayer.ML.setSessionVal("prelievoEnabled", value, false); + } + + } + /// + /// registra lo stato della lista di prelievo (x controllo visibilità valori) + /// + public int intStatoLista { get; set; } + /// + /// registra il tipo della lista di prelievo (x controllo visibilità valori) + /// + public string codTipoLista { get; set; } + /// + /// salvo parametri x selettore ajax + /// + /// + /// + protected void grView_RowEditing(object sender, GridViewEditEventArgs e) + { + grView.SelectedIndex = e.NewEditIndex; + // salvo anche dato x filtraggio udcByPart + string UDC = ""; + string particolare = ""; + string codLista = ""; + string codTipoLista = ""; + try + { + UDC = grView.SelectedDataKey["UDC"].ToString(); + particolare = MagClass.magazzino.taDettUDC.getByFullUdc(UDC, memLayer.ML.StringSessionObj("CodCS"))[0].Particolare; + codLista = grView.SelectedDataKey["CodLista"].ToString(); + codTipoLista = MagClass.magazzino.taElencoListePrelievo.getByCodLista(codLista)[0].CodTipoLista; + } + catch + { } + memLayer.ML.setSessionVal("UdcByPart_Particolare", particolare); + memLayer.ML.setSessionVal("UdcByPart_CodLista", codTipoLista); + } + /// + /// ridisegno x cancel editing + /// + /// + /// + protected void grView_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e) + { + // sollevo evento nuovo valore... + if (eh_nuovoValore != null) + { + eh_nuovoValore(this, new EventArgs()); + } + } + /// + /// ridisegno x eliminazione... + /// + /// + /// + protected void grView_RowDeleted(object sender, GridViewDeletedEventArgs e) + { + // sollevo evento nuovo valore... + if (eh_nuovoValore != null) + { + eh_nuovoValore(this, new EventArgs()); + } + } + /// + /// fix visualizzazione post evento gridView + /// + /// + /// + protected void grView_RowCommand(object sender, GridViewCommandEventArgs e) + { + checkFixOds(); + } + + #endregion + + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_viewRigheListaPrelievo.ascx.designer.cs b/GMW/WebUserControls/mod_viewRigheListaPrelievo.ascx.designer.cs new file mode 100644 index 00000000..55459d5e --- /dev/null +++ b/GMW/WebUserControls/mod_viewRigheListaPrelievo.ascx.designer.cs @@ -0,0 +1,52 @@ +//------------------------------------------------------------------------------ +// +// 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_viewRigheListaPrelievo { + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; + + /// + /// lblNumRec control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumRec; + + /// + /// lblWarning control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblWarning; + } +} diff --git a/GMW/WebUserControls/mod_vocabolario.ascx b/GMW/WebUserControls/mod_vocabolario.ascx new file mode 100644 index 00000000..876add0d --- /dev/null +++ b/GMW/WebUserControls/mod_vocabolario.ascx @@ -0,0 +1,101 @@ +<%@ Control Language="C#" AutoEventWireup="true" + Inherits="mod_vocabolario" Codebehind="mod_vocabolario.ascx.cs" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
diff --git a/GMW/WebUserControls/mod_vocabolario.ascx.cs b/GMW/WebUserControls/mod_vocabolario.ascx.cs new file mode 100644 index 00000000..4d9ca8fb --- /dev/null +++ b/GMW/WebUserControls/mod_vocabolario.ascx.cs @@ -0,0 +1,147 @@ +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; +using SteamWare; +using GMW_data; + +public partial class mod_vocabolario : ApplicationUserControl +{ + + #region gestione eventi + + public event EventHandler eh_selezioneValore; + public event EventHandler eh_resetSelezione; + + #endregion + + #region protected + + protected override void traduciObj() + { + base.traduciObj(); + btnNewLemma.Text = user_std.UtSn.Traduci("btnNewLemma"); + txtNewLemma.Text = ""; + TBW_newLemma.WatermarkText = user_std.UtSn.Traduci("insertNewLemma"); + } + + /// + /// inserisco nel db il nuovo lemma... + /// + /// + /// + protected void btnNewLemma_Click(object sender, EventArgs e) + { + creaNuovoLemma(); + } + /// + /// creazione nuovo lemma + /// + private void creaNuovoLemma() + { + if (txtNewLemma.Text != "") + { + // inserisco + DataWrap.DW.creaNuovoLemmaVoc(txtNewLemma.Text.Trim()); + // metto in campo ricerca... + memLayer.ML.setSessionVal("valoreCercato", txtNewLemma.Text.Trim()); + // svuoto campo text + txtNewLemma.Text = ""; + // aggiorno il vocabolario in memoria... + DataWrap.DW.resetVocabolario(); + // riparto... + Response.Redirect(_paginaCorrente); + } + } + + protected override void aggiornaControlliDataGL() + { + base.aggiornaControlliDataGL(); + grView.PageSize = _righeDataGridAnagr; + ods.DataBind(); + } + + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); + lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); + } + else + { + lblNumRec.Text = ""; + } + } + + protected void btnReset_Click(object sender, EventArgs e) + { + resetSelezione(); + } + + protected void grView_SelectedIndexChanged(object sender, EventArgs e) + { + selezionatoValore(); + } + + private void selezionatoValore() + { + SteamWare.memLayer.ML.setSessionVal("lemma_sel", grView.SelectedDataKey.Values[1]); + if (eh_selezioneValore != null) + { + eh_selezioneValore(this, new EventArgs()); + } + } + + protected void grView_RowEditing(object sender, GridViewEditEventArgs e) + { + // seleziono la riga corrente... + grView.SelectedIndex = e.NewEditIndex; + selezionatoValore(); + } + + protected void ods_Updated(object sender, ObjectDataSourceStatusEventArgs e) + { + selezionatoValore(); + } + + #endregion + + #region area public + + /// + /// resetta la selezione dei valori in caso di modifiche su altri controlli + /// + public void resetSelezione() + { + SteamWare.memLayer.ML.emptySessionVal("lemma_sel"); + grView.SelectedIndex = -1; + grView.DataBind(); + if (eh_resetSelezione != null) + { + eh_resetSelezione(this, new EventArgs()); + } + } + + #endregion + +} + diff --git a/GMW/WebUserControls/mod_vocabolario.ascx.designer.cs b/GMW/WebUserControls/mod_vocabolario.ascx.designer.cs new file mode 100644 index 00000000..e1d042f5 --- /dev/null +++ b/GMW/WebUserControls/mod_vocabolario.ascx.designer.cs @@ -0,0 +1,68 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_vocabolario { + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// lblNumRec control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumRec; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; + + /// + /// btnNewLemma control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnNewLemma; + + /// + /// txtNewLemma control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtNewLemma; + + /// + /// TBW_newLemma control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.TextBoxWatermarkExtender TBW_newLemma; +} diff --git a/GMW/anagCelle.aspx b/GMW/anagCelle.aspx new file mode 100644 index 00000000..aa6af2d2 --- /dev/null +++ b/GMW/anagCelle.aspx @@ -0,0 +1,5 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/AjaxSearch.master" AutoEventWireup="true" CodeBehind="anagCelle.aspx.cs" Inherits="GMW.anagCelle" %> +<%@ Register src="WebUserControls/mod_anagCelle.ascx" tagname="mod_anagCelle" tagprefix="uc1" %> + + + diff --git a/GMW/anagCelle.aspx.cs b/GMW/anagCelle.aspx.cs new file mode 100644 index 00000000..cc615a2e --- /dev/null +++ b/GMW/anagCelle.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace GMW +{ + public partial class anagCelle : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} diff --git a/GMW/anagCelle.aspx.designer.cs b/GMW/anagCelle.aspx.designer.cs new file mode 100644 index 00000000..2a8617d0 --- /dev/null +++ b/GMW/anagCelle.aspx.designer.cs @@ -0,0 +1,25 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW { + + + public partial class anagCelle { + + /// + /// mod_anagCelle1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_anagCelle mod_anagCelle1; + } +} diff --git a/GMW/anagMagazzini.aspx b/GMW/anagMagazzini.aspx new file mode 100644 index 00000000..1c2ad65d --- /dev/null +++ b/GMW/anagMagazzini.aspx @@ -0,0 +1,29 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/AjaxSearch.master" + AutoEventWireup="true" CodeBehind="anagMagazzini.aspx.cs" Inherits="GMW.anagMagazzini" %> + +<%@ Register Src="WebUserControls/mod_anagMagazzini.ascx" TagName="mod_anagMagazzini" + TagPrefix="uc1" %> +<%@ Register Src="WebUserControls/mod_confMag.ascx" TagName="mod_confMag" TagPrefix="uc2" %> +<%@ Register Src="WebUserControls/mod_tipoCella.ascx" TagName="mod_tipoCella" TagPrefix="uc3" %> +<%@ Register Src="WebUserControls/mod_anagBlocchi.ascx" TagName="mod_anagBlocchi" + TagPrefix="uc4" %> + + + + + + +
+ + +
+ +
+
+ + +
+ +
+
+
diff --git a/GMW/anagMagazzini.aspx.cs b/GMW/anagMagazzini.aspx.cs new file mode 100644 index 00000000..6cf9a7d3 --- /dev/null +++ b/GMW/anagMagazzini.aspx.cs @@ -0,0 +1,52 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace GMW +{ + public partial class anagMagazzini : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + mod_anagMagazzini1.eh_selValore += new EventHandler(mod_anagMagazzini1_eh_selValore); + mod_anagMagazzini1.eh_resetSelezione += new EventHandler(mod_anagMagazzini1_eh_resetSelezione); + mod_anagBlocchi1.eh_nuovoValore += new EventHandler(mod_anagBlocchi1_eh_nuovoValore); + mod_tipoCella1.eh_nuovoValore += new EventHandler(mod_tipoCella1_eh_nuovoValore); + mod_anagBlocchi1.eh_selValore += new EventHandler(mod_anagBlocchi1_eh_selValore); + } + + void mod_anagBlocchi1_eh_selValore(object sender, EventArgs e) + { + Response.Redirect("anagCelle.aspx"); + } + + void mod_tipoCella1_eh_nuovoValore(object sender, EventArgs e) + { + mod_confMag1.doUpdate(); + } + + void mod_anagBlocchi1_eh_nuovoValore(object sender, EventArgs e) + { + mod_confMag1.doUpdate(); + } + + void mod_anagMagazzini1_eh_resetSelezione(object sender, EventArgs e) + { + // nascondo i 3 moduli aggiuntivi! + pnlMagStat.Visible = false; + pnlMagConf.Visible = false; + } + + void mod_anagMagazzini1_eh_selValore(object sender, EventArgs e) + { + // mostro i moduli aggiuntivi! + pnlMagStat.Visible = true; + pnlMagConf.Visible = true; + // chiamo update esplicito calcoli + mod_confMag1.doUpdate(); + } + } +} diff --git a/GMW/anagMagazzini.aspx.designer.cs b/GMW/anagMagazzini.aspx.designer.cs new file mode 100644 index 00000000..4449fba2 --- /dev/null +++ b/GMW/anagMagazzini.aspx.designer.cs @@ -0,0 +1,70 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW { + + + public partial class anagMagazzini { + + /// + /// mod_anagMagazzini1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_anagMagazzini mod_anagMagazzini1; + + /// + /// pnlMagStat control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlMagStat; + + /// + /// mod_confMag1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_confMag mod_confMag1; + + /// + /// pnlMagConf control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlMagConf; + + /// + /// mod_tipoCella1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_tipoCella mod_tipoCella1; + + /// + /// mod_anagBlocchi1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_anagBlocchi mod_anagBlocchi1; + } +} diff --git a/GMW/anime.aspx b/GMW/anime.aspx new file mode 100644 index 00000000..91f8d8b7 --- /dev/null +++ b/GMW/anime.aspx @@ -0,0 +1,5 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/AjaxSimpleFull.Master" AutoEventWireup="true" CodeBehind="anime.aspx.cs" Inherits="GMW.anime" %> +<%@ Register src="WebUserControls/mod_anime.ascx" tagname="mod_anime" tagprefix="uc1" %> + + + diff --git a/GMW/anime.aspx.cs b/GMW/anime.aspx.cs new file mode 100644 index 00000000..fc8f990d --- /dev/null +++ b/GMW/anime.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace GMW +{ + public partial class anime : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} diff --git a/GMW/anime.aspx.designer.cs b/GMW/anime.aspx.designer.cs new file mode 100644 index 00000000..9afa970e --- /dev/null +++ b/GMW/anime.aspx.designer.cs @@ -0,0 +1,25 @@ +//------------------------------------------------------------------------------ +// +// 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 { + + + public partial class anime { + + /// + /// mod_anime1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_anime mod_anime1; + } +} diff --git a/GMW/animeMult.aspx b/GMW/animeMult.aspx new file mode 100644 index 00000000..ef98c564 --- /dev/null +++ b/GMW/animeMult.aspx @@ -0,0 +1,6 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/AjaxSimpleFull.master" AutoEventWireup="true" CodeBehind="animeMult.aspx.cs" Inherits="GMW.animeMult" %> +<%@ Register src="WebUserControls/mod_animeMult.ascx" tagname="mod_animeMult" tagprefix="uc1" %> + + + + diff --git a/GMW/animeMult.aspx.cs b/GMW/animeMult.aspx.cs new file mode 100644 index 00000000..491f82e6 --- /dev/null +++ b/GMW/animeMult.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace GMW +{ + public partial class animeMult : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} diff --git a/GMW/animeMult.aspx.designer.cs b/GMW/animeMult.aspx.designer.cs new file mode 100644 index 00000000..75acfdf3 --- /dev/null +++ b/GMW/animeMult.aspx.designer.cs @@ -0,0 +1,25 @@ +//------------------------------------------------------------------------------ +// +// 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 { + + + public partial class animeMult { + + /// + /// mod_animeMult1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_animeMult mod_animeMult1; + } +} diff --git a/GMW/chLang.aspx b/GMW/chLang.aspx new file mode 100644 index 00000000..38e08d2c --- /dev/null +++ b/GMW/chLang.aspx @@ -0,0 +1,13 @@ +<%@ Page Language="C#" MasterPageFile="~/WebMasterPages/MasterAjax.master" AutoEventWireup="true" + Inherits="chLang" Title="Untitled Page" Codebehind="chLang.aspx.cs" %> + +<%@ Register Src="~/WebUserControls/mod_chLang.ascx" TagName="mod_chLang" TagPrefix="uc1" %> + + + + + +
+ +
+
diff --git a/GMW/chLang.aspx.cs b/GMW/chLang.aspx.cs new file mode 100644 index 00000000..8d0ecbe4 --- /dev/null +++ b/GMW/chLang.aspx.cs @@ -0,0 +1,14 @@ +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; + +public partial class chLang : System.Web.UI.Page +{ +} diff --git a/GMW/chLang.aspx.designer.cs b/GMW/chLang.aspx.designer.cs new file mode 100644 index 00000000..9e0cbedd --- /dev/null +++ b/GMW/chLang.aspx.designer.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class chLang { + + /// + /// Mod_chLang1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_chLang Mod_chLang1; +} diff --git a/GMW/forceUser.aspx b/GMW/forceUser.aspx new file mode 100644 index 00000000..ba3cfc74 --- /dev/null +++ b/GMW/forceUser.aspx @@ -0,0 +1,9 @@ +<%@ Page Language="C#" MasterPageFile="~/WebMasterPages/AjaxSimple.master" AutoEventWireup="true" + Inherits="forceUser" Title="ForceUser" Codebehind="forceUser.aspx.cs" %> + +<%@ Register Src="WebUserControls/mod_login.ascx" TagName="mod_login" TagPrefix="uc1" %> + +
+ +
+
diff --git a/GMW/forceUser.aspx.cs b/GMW/forceUser.aspx.cs new file mode 100644 index 00000000..a2456351 --- /dev/null +++ b/GMW/forceUser.aspx.cs @@ -0,0 +1,54 @@ +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; + +public partial class forceUser : System.Web.UI.Page +{ + protected string _nextPage + { + get + { + string pagina = SteamWare.memLayer.ML.StringSessionObj("nextPage"); + if (pagina == "") + { + pagina = "menu.aspx"; + } + return pagina; + } + } + + protected void Page_Load(object sender, EventArgs e) + { + Mod_login1.modoLogin = SteamWare.loginMode.forceUser; + } + + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + Mod_login1.Login_ok += new EventHandler(Mod_login1_Login_ok); + Mod_login1.Login_Error += new EventHandler(Mod_login1_Login_Error); + } + + void Mod_login1_Login_Error(object sender, EventArgs e) + { + //Response.Redirect("./unauthorized.aspx"); + } + + void Mod_login1_Login_ok(object sender, EventArgs e) + { + Response.Redirect(_nextPage); + } + protected override void OnUnload(EventArgs e) + { + base.OnUnload(e); + Mod_login1.Login_ok -= new EventHandler(Mod_login1_Login_ok); + Mod_login1.Login_Error -= new EventHandler(Mod_login1_Login_Error); + } +} diff --git a/GMW/forceUser.aspx.designer.cs b/GMW/forceUser.aspx.designer.cs new file mode 100644 index 00000000..c440714b --- /dev/null +++ b/GMW/forceUser.aspx.designer.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class forceUser { + + /// + /// Mod_login1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_login Mod_login1; +} diff --git a/GMW/images/ArrowDownRed_l.png b/GMW/images/ArrowDownRed_l.png new file mode 100644 index 00000000..c7ee0a67 Binary files /dev/null and b/GMW/images/ArrowDownRed_l.png differ diff --git a/GMW/images/ArrowDownRed_m.png b/GMW/images/ArrowDownRed_m.png new file mode 100644 index 00000000..6946ea21 Binary files /dev/null and b/GMW/images/ArrowDownRed_m.png differ diff --git a/GMW/images/ArrowDownRed_s.png b/GMW/images/ArrowDownRed_s.png new file mode 100644 index 00000000..1973ace5 Binary files /dev/null and b/GMW/images/ArrowDownRed_s.png differ diff --git a/GMW/images/ArrowUpGreen_l.png b/GMW/images/ArrowUpGreen_l.png new file mode 100644 index 00000000..7c9a815b Binary files /dev/null and b/GMW/images/ArrowUpGreen_l.png differ diff --git a/GMW/images/ArrowUpGreen_m.png b/GMW/images/ArrowUpGreen_m.png new file mode 100644 index 00000000..c6a17c17 Binary files /dev/null and b/GMW/images/ArrowUpGreen_m.png differ diff --git a/GMW/images/ArrowUpGreen_s.png b/GMW/images/ArrowUpGreen_s.png new file mode 100644 index 00000000..1d5c6aaf Binary files /dev/null and b/GMW/images/ArrowUpGreen_s.png differ diff --git a/GMW/images/ModLang.png b/GMW/images/ModLang.png new file mode 100644 index 00000000..af77440f Binary files /dev/null and b/GMW/images/ModLang.png differ diff --git a/GMW/images/ModPassw.png b/GMW/images/ModPassw.png new file mode 100644 index 00000000..df6278c8 Binary files /dev/null and b/GMW/images/ModPassw.png differ diff --git a/GMW/images/NodeResults.gif b/GMW/images/NodeResults.gif new file mode 100644 index 00000000..47274d09 Binary files /dev/null and b/GMW/images/NodeResults.gif differ diff --git a/GMW/images/ProgressBar.gif b/GMW/images/ProgressBar.gif new file mode 100644 index 00000000..7f93a9fd Binary files /dev/null and b/GMW/images/ProgressBar.gif differ diff --git a/GMW/images/ShowDetail.png b/GMW/images/ShowDetail.png new file mode 100644 index 00000000..251350ec Binary files /dev/null and b/GMW/images/ShowDetail.png differ diff --git a/GMW/images/Start_16.png b/GMW/images/Start_16.png new file mode 100644 index 00000000..4e033c90 Binary files /dev/null and b/GMW/images/Start_16.png differ diff --git a/GMW/images/Start_22.png b/GMW/images/Start_22.png new file mode 100644 index 00000000..2040a00e Binary files /dev/null and b/GMW/images/Start_22.png differ diff --git a/GMW/images/Start_32.png b/GMW/images/Start_32.png new file mode 100644 index 00000000..2ce93313 Binary files /dev/null and b/GMW/images/Start_32.png differ diff --git a/GMW/images/Thumbs.db b/GMW/images/Thumbs.db new file mode 100644 index 00000000..8131063c Binary files /dev/null and b/GMW/images/Thumbs.db differ diff --git a/GMW/images/alert_16.png b/GMW/images/alert_16.png new file mode 100644 index 00000000..787c0c52 Binary files /dev/null and b/GMW/images/alert_16.png differ diff --git a/GMW/images/alert_22.png b/GMW/images/alert_22.png new file mode 100644 index 00000000..1764dab4 Binary files /dev/null and b/GMW/images/alert_22.png differ diff --git a/GMW/images/alert_32.png b/GMW/images/alert_32.png new file mode 100644 index 00000000..2ab1e3db Binary files /dev/null and b/GMW/images/alert_32.png differ diff --git a/GMW/images/apply.png b/GMW/images/apply.png new file mode 100644 index 00000000..57900174 Binary files /dev/null and b/GMW/images/apply.png differ diff --git a/GMW/images/apply_l.png b/GMW/images/apply_l.png new file mode 100644 index 00000000..592ce6f4 Binary files /dev/null and b/GMW/images/apply_l.png differ diff --git a/GMW/images/apply_m.png b/GMW/images/apply_m.png new file mode 100644 index 00000000..2166fdff Binary files /dev/null and b/GMW/images/apply_m.png differ diff --git a/GMW/images/apply_s.gif b/GMW/images/apply_s.gif new file mode 100644 index 00000000..26928888 Binary files /dev/null and b/GMW/images/apply_s.gif differ diff --git a/GMW/images/apply_s.png b/GMW/images/apply_s.png new file mode 100644 index 00000000..57900174 Binary files /dev/null and b/GMW/images/apply_s.png differ diff --git a/GMW/images/approva_l.png b/GMW/images/approva_l.png new file mode 100644 index 00000000..5da08084 Binary files /dev/null and b/GMW/images/approva_l.png differ diff --git a/GMW/images/approva_m.png b/GMW/images/approva_m.png new file mode 100644 index 00000000..9da598bb Binary files /dev/null and b/GMW/images/approva_m.png differ diff --git a/GMW/images/approva_s.png b/GMW/images/approva_s.png new file mode 100644 index 00000000..59a0e274 Binary files /dev/null and b/GMW/images/approva_s.png differ diff --git a/GMW/images/arancio_20.png b/GMW/images/arancio_20.png new file mode 100644 index 00000000..ca21b078 Binary files /dev/null and b/GMW/images/arancio_20.png differ diff --git a/GMW/images/arancio_80.png b/GMW/images/arancio_80.png new file mode 100644 index 00000000..b3c3b7a1 Binary files /dev/null and b/GMW/images/arancio_80.png differ diff --git a/GMW/images/barcode_orange_l.png b/GMW/images/barcode_orange_l.png new file mode 100644 index 00000000..9f0b1dac Binary files /dev/null and b/GMW/images/barcode_orange_l.png differ diff --git a/GMW/images/barcode_orange_m.png b/GMW/images/barcode_orange_m.png new file mode 100644 index 00000000..19ec258b Binary files /dev/null and b/GMW/images/barcode_orange_m.png differ diff --git a/GMW/images/barcode_orange_s.png b/GMW/images/barcode_orange_s.png new file mode 100644 index 00000000..49c8492f Binary files /dev/null and b/GMW/images/barcode_orange_s.png differ diff --git a/GMW/images/barcode_white_l.png b/GMW/images/barcode_white_l.png new file mode 100644 index 00000000..74193b74 Binary files /dev/null and b/GMW/images/barcode_white_l.png differ diff --git a/GMW/images/barcode_white_m.png b/GMW/images/barcode_white_m.png new file mode 100644 index 00000000..5caf5579 Binary files /dev/null and b/GMW/images/barcode_white_m.png differ diff --git a/GMW/images/barcode_white_s.png b/GMW/images/barcode_white_s.png new file mode 100644 index 00000000..61eaa764 Binary files /dev/null and b/GMW/images/barcode_white_s.png differ diff --git a/GMW/images/bg-menu-main.png b/GMW/images/bg-menu-main.png new file mode 100644 index 00000000..5ff3c914 Binary files /dev/null and b/GMW/images/bg-menu-main.png differ diff --git a/GMW/images/bg_bright.jpg b/GMW/images/bg_bright.jpg new file mode 100644 index 00000000..e472ee39 Binary files /dev/null and b/GMW/images/bg_bright.jpg differ diff --git a/GMW/images/bg_dark.jpg b/GMW/images/bg_dark.jpg new file mode 100644 index 00000000..8f2f235d Binary files /dev/null and b/GMW/images/bg_dark.jpg differ diff --git a/GMW/images/bluGrad32.png b/GMW/images/bluGrad32.png new file mode 100644 index 00000000..e6afd899 Binary files /dev/null and b/GMW/images/bluGrad32.png differ diff --git a/GMW/images/blu_20.png b/GMW/images/blu_20.png new file mode 100644 index 00000000..dfba303c Binary files /dev/null and b/GMW/images/blu_20.png differ diff --git a/GMW/images/blu_80.png b/GMW/images/blu_80.png new file mode 100644 index 00000000..cd288563 Binary files /dev/null and b/GMW/images/blu_80.png differ diff --git a/GMW/images/cancel.png b/GMW/images/cancel.png new file mode 100644 index 00000000..a7307333 Binary files /dev/null and b/GMW/images/cancel.png differ diff --git a/GMW/images/cancel_l.png b/GMW/images/cancel_l.png new file mode 100644 index 00000000..2d5e260a Binary files /dev/null and b/GMW/images/cancel_l.png differ diff --git a/GMW/images/cancel_m.png b/GMW/images/cancel_m.png new file mode 100644 index 00000000..816e06ac Binary files /dev/null and b/GMW/images/cancel_m.png differ diff --git a/GMW/images/cancel_s.gif b/GMW/images/cancel_s.gif new file mode 100644 index 00000000..49f3630a Binary files /dev/null and b/GMW/images/cancel_s.gif differ diff --git a/GMW/images/cancel_s.png b/GMW/images/cancel_s.png new file mode 100644 index 00000000..d9333943 Binary files /dev/null and b/GMW/images/cancel_s.png differ diff --git a/GMW/images/circle_l_0.png b/GMW/images/circle_l_0.png new file mode 100644 index 00000000..1efa4ab8 Binary files /dev/null and b/GMW/images/circle_l_0.png differ diff --git a/GMW/images/circle_l_1.png b/GMW/images/circle_l_1.png new file mode 100644 index 00000000..75db3f6e Binary files /dev/null and b/GMW/images/circle_l_1.png differ diff --git a/GMW/images/circle_l_2.png b/GMW/images/circle_l_2.png new file mode 100644 index 00000000..e4de33ea Binary files /dev/null and b/GMW/images/circle_l_2.png differ diff --git a/GMW/images/circle_l_3.png b/GMW/images/circle_l_3.png new file mode 100644 index 00000000..f0f1b52a Binary files /dev/null and b/GMW/images/circle_l_3.png differ diff --git a/GMW/images/circle_l_4.png b/GMW/images/circle_l_4.png new file mode 100644 index 00000000..d7a35cb0 Binary files /dev/null and b/GMW/images/circle_l_4.png differ diff --git a/GMW/images/circle_l_5.png b/GMW/images/circle_l_5.png new file mode 100644 index 00000000..6f81c3e3 Binary files /dev/null and b/GMW/images/circle_l_5.png differ diff --git a/GMW/images/circle_l_6.png b/GMW/images/circle_l_6.png new file mode 100644 index 00000000..7ae358fc Binary files /dev/null and b/GMW/images/circle_l_6.png differ diff --git a/GMW/images/circle_l_99.png b/GMW/images/circle_l_99.png new file mode 100644 index 00000000..2133d7bf Binary files /dev/null and b/GMW/images/circle_l_99.png differ diff --git a/GMW/images/circle_s_0.png b/GMW/images/circle_s_0.png new file mode 100644 index 00000000..a6c029a0 Binary files /dev/null and b/GMW/images/circle_s_0.png differ diff --git a/GMW/images/circle_s_1.png b/GMW/images/circle_s_1.png new file mode 100644 index 00000000..27ad1638 Binary files /dev/null and b/GMW/images/circle_s_1.png differ diff --git a/GMW/images/circle_s_2.png b/GMW/images/circle_s_2.png new file mode 100644 index 00000000..f19c8433 Binary files /dev/null and b/GMW/images/circle_s_2.png differ diff --git a/GMW/images/circle_s_3.png b/GMW/images/circle_s_3.png new file mode 100644 index 00000000..70ea5a69 Binary files /dev/null and b/GMW/images/circle_s_3.png differ diff --git a/GMW/images/circle_s_4.png b/GMW/images/circle_s_4.png new file mode 100644 index 00000000..bb56b4b9 Binary files /dev/null and b/GMW/images/circle_s_4.png differ diff --git a/GMW/images/circle_s_5.png b/GMW/images/circle_s_5.png new file mode 100644 index 00000000..04c26c11 Binary files /dev/null and b/GMW/images/circle_s_5.png differ diff --git a/GMW/images/circle_s_6.png b/GMW/images/circle_s_6.png new file mode 100644 index 00000000..f92db707 Binary files /dev/null and b/GMW/images/circle_s_6.png differ diff --git a/GMW/images/circle_s_99.png b/GMW/images/circle_s_99.png new file mode 100644 index 00000000..434411e6 Binary files /dev/null and b/GMW/images/circle_s_99.png differ diff --git a/GMW/images/clonaObj.png b/GMW/images/clonaObj.png new file mode 100644 index 00000000..3107990d Binary files /dev/null and b/GMW/images/clonaObj.png differ diff --git a/GMW/images/clonaObj_l.png b/GMW/images/clonaObj_l.png new file mode 100644 index 00000000..2104f288 Binary files /dev/null and b/GMW/images/clonaObj_l.png differ diff --git a/GMW/images/clonaObj_m.png b/GMW/images/clonaObj_m.png new file mode 100644 index 00000000..c382a8da Binary files /dev/null and b/GMW/images/clonaObj_m.png differ diff --git a/GMW/images/clonaObj_s.png b/GMW/images/clonaObj_s.png new file mode 100644 index 00000000..c95f6b15 Binary files /dev/null and b/GMW/images/clonaObj_s.png differ diff --git a/GMW/images/clonaobj_s.gif b/GMW/images/clonaobj_s.gif new file mode 100644 index 00000000..f189a2e0 Binary files /dev/null and b/GMW/images/clonaobj_s.gif differ diff --git a/GMW/images/collapse.jpg b/GMW/images/collapse.jpg new file mode 100644 index 00000000..d0cf8067 Binary files /dev/null and b/GMW/images/collapse.jpg differ diff --git a/GMW/images/createChildObj.png b/GMW/images/createChildObj.png new file mode 100644 index 00000000..c95f6b15 Binary files /dev/null and b/GMW/images/createChildObj.png differ diff --git a/GMW/images/delete.gif b/GMW/images/delete.gif new file mode 100644 index 00000000..65435dd8 Binary files /dev/null and b/GMW/images/delete.gif differ diff --git a/GMW/images/delete.png b/GMW/images/delete.png new file mode 100644 index 00000000..346193c1 Binary files /dev/null and b/GMW/images/delete.png differ diff --git a/GMW/images/delete_disabled.gif b/GMW/images/delete_disabled.gif new file mode 100644 index 00000000..2b736843 Binary files /dev/null and b/GMW/images/delete_disabled.gif differ diff --git a/GMW/images/deleteold.gif b/GMW/images/deleteold.gif new file mode 100644 index 00000000..65435dd8 Binary files /dev/null and b/GMW/images/deleteold.gif differ diff --git a/GMW/images/detail.png b/GMW/images/detail.png new file mode 100644 index 00000000..364ae30e Binary files /dev/null and b/GMW/images/detail.png differ diff --git a/GMW/images/divietoaccesso.gif b/GMW/images/divietoaccesso.gif new file mode 100644 index 00000000..2af2475f Binary files /dev/null and b/GMW/images/divietoaccesso.gif differ diff --git a/GMW/images/downLvl.png b/GMW/images/downLvl.png new file mode 100644 index 00000000..a966b093 Binary files /dev/null and b/GMW/images/downLvl.png differ diff --git a/GMW/images/edit.gif b/GMW/images/edit.gif new file mode 100644 index 00000000..7422b259 Binary files /dev/null and b/GMW/images/edit.gif differ diff --git a/GMW/images/edit.png b/GMW/images/edit.png new file mode 100644 index 00000000..52c00c53 Binary files /dev/null and b/GMW/images/edit.png differ diff --git a/GMW/images/edit_disabled.gif b/GMW/images/edit_disabled.gif new file mode 100644 index 00000000..b9d69344 Binary files /dev/null and b/GMW/images/edit_disabled.gif differ diff --git a/GMW/images/edit_l.png b/GMW/images/edit_l.png new file mode 100644 index 00000000..e5963483 Binary files /dev/null and b/GMW/images/edit_l.png differ diff --git a/GMW/images/edit_m.png b/GMW/images/edit_m.png new file mode 100644 index 00000000..62f280e7 Binary files /dev/null and b/GMW/images/edit_m.png differ diff --git a/GMW/images/edit_s.gif b/GMW/images/edit_s.gif new file mode 100644 index 00000000..4bee2cd1 Binary files /dev/null and b/GMW/images/edit_s.gif differ diff --git a/GMW/images/edit_s.png b/GMW/images/edit_s.png new file mode 100644 index 00000000..b66d7ed3 Binary files /dev/null and b/GMW/images/edit_s.png differ diff --git a/GMW/images/elimina.png b/GMW/images/elimina.png new file mode 100644 index 00000000..0e0953c7 Binary files /dev/null and b/GMW/images/elimina.png differ diff --git a/GMW/images/elimina_l.png b/GMW/images/elimina_l.png new file mode 100644 index 00000000..9b7a462d Binary files /dev/null and b/GMW/images/elimina_l.png differ diff --git a/GMW/images/elimina_m.png b/GMW/images/elimina_m.png new file mode 100644 index 00000000..05ff0365 Binary files /dev/null and b/GMW/images/elimina_m.png differ diff --git a/GMW/images/elimina_s.gif b/GMW/images/elimina_s.gif new file mode 100644 index 00000000..f0841542 Binary files /dev/null and b/GMW/images/elimina_s.gif differ diff --git a/GMW/images/elimina_s.png b/GMW/images/elimina_s.png new file mode 100644 index 00000000..0e0953c7 Binary files /dev/null and b/GMW/images/elimina_s.png differ diff --git a/GMW/images/expand.jpg b/GMW/images/expand.jpg new file mode 100644 index 00000000..4e0c8671 Binary files /dev/null and b/GMW/images/expand.jpg differ diff --git a/GMW/images/expand_blue.jpg b/GMW/images/expand_blue.jpg new file mode 100644 index 00000000..1592847b Binary files /dev/null and b/GMW/images/expand_blue.jpg differ diff --git a/GMW/images/favicon.png b/GMW/images/favicon.png new file mode 100644 index 00000000..3044bfca Binary files /dev/null and b/GMW/images/favicon.png differ diff --git a/GMW/images/flag-de.png b/GMW/images/flag-de.png new file mode 100644 index 00000000..d087ae4f Binary files /dev/null and b/GMW/images/flag-de.png differ diff --git a/GMW/images/flag-en.png b/GMW/images/flag-en.png new file mode 100644 index 00000000..0c4f4fe7 Binary files /dev/null and b/GMW/images/flag-en.png differ diff --git a/GMW/images/flag-fi.png b/GMW/images/flag-fi.png new file mode 100644 index 00000000..9f333f12 Binary files /dev/null and b/GMW/images/flag-fi.png differ diff --git a/GMW/images/flag-it.png b/GMW/images/flag-it.png new file mode 100644 index 00000000..07678309 Binary files /dev/null and b/GMW/images/flag-it.png differ diff --git a/GMW/images/flag-nl.png b/GMW/images/flag-nl.png new file mode 100644 index 00000000..a9440bb8 Binary files /dev/null and b/GMW/images/flag-nl.png differ diff --git a/GMW/images/flag-pl.png b/GMW/images/flag-pl.png new file mode 100644 index 00000000..a8f7609c Binary files /dev/null and b/GMW/images/flag-pl.png differ diff --git a/GMW/images/flag-ru.png b/GMW/images/flag-ru.png new file mode 100644 index 00000000..c20c4493 Binary files /dev/null and b/GMW/images/flag-ru.png differ diff --git a/GMW/images/flag-xb.png b/GMW/images/flag-xb.png new file mode 100644 index 00000000..0c4f4fe7 Binary files /dev/null and b/GMW/images/flag-xb.png differ diff --git a/GMW/images/flusso.png b/GMW/images/flusso.png new file mode 100644 index 00000000..0a670718 Binary files /dev/null and b/GMW/images/flusso.png differ diff --git a/GMW/images/flusso_SP.png b/GMW/images/flusso_SP.png new file mode 100644 index 00000000..0f9d0ddd Binary files /dev/null and b/GMW/images/flusso_SP.png differ diff --git a/GMW/images/flusso_TK.png b/GMW/images/flusso_TK.png new file mode 100644 index 00000000..0a670718 Binary files /dev/null and b/GMW/images/flusso_TK.png differ diff --git a/GMW/images/giallo_20.png b/GMW/images/giallo_20.png new file mode 100644 index 00000000..83b69cf8 Binary files /dev/null and b/GMW/images/giallo_20.png differ diff --git a/GMW/images/giallo_80.png b/GMW/images/giallo_80.png new file mode 100644 index 00000000..6d3778c8 Binary files /dev/null and b/GMW/images/giallo_80.png differ diff --git a/GMW/images/grigioChiaro_20.png b/GMW/images/grigioChiaro_20.png new file mode 100644 index 00000000..9265fde5 Binary files /dev/null and b/GMW/images/grigioChiaro_20.png differ diff --git a/GMW/images/grigioChiaro_80.png b/GMW/images/grigioChiaro_80.png new file mode 100644 index 00000000..287931e0 Binary files /dev/null and b/GMW/images/grigioChiaro_80.png differ diff --git a/GMW/images/grigio_20.png b/GMW/images/grigio_20.png new file mode 100644 index 00000000..a1ca02c5 Binary files /dev/null and b/GMW/images/grigio_20.png differ diff --git a/GMW/images/grigio_80.png b/GMW/images/grigio_80.png new file mode 100644 index 00000000..778fbec5 Binary files /dev/null and b/GMW/images/grigio_80.png differ diff --git a/GMW/images/header-opened.png b/GMW/images/header-opened.png new file mode 100644 index 00000000..4da7a844 Binary files /dev/null and b/GMW/images/header-opened.png differ diff --git a/GMW/images/help_16.png b/GMW/images/help_16.png new file mode 100644 index 00000000..8fb731a1 Binary files /dev/null and b/GMW/images/help_16.png differ diff --git a/GMW/images/help_22.png b/GMW/images/help_22.png new file mode 100644 index 00000000..e3baaa90 Binary files /dev/null and b/GMW/images/help_22.png differ diff --git a/GMW/images/help_32.png b/GMW/images/help_32.png new file mode 100644 index 00000000..9135c633 Binary files /dev/null and b/GMW/images/help_32.png differ diff --git a/GMW/images/installWindows.png b/GMW/images/installWindows.png new file mode 100644 index 00000000..5e216863 Binary files /dev/null and b/GMW/images/installWindows.png differ diff --git a/GMW/images/lista_00-Smart_l.png b/GMW/images/lista_00-Smart_l.png new file mode 100644 index 00000000..3713bb75 Binary files /dev/null and b/GMW/images/lista_00-Smart_l.png differ diff --git a/GMW/images/lista_00-Smart_m.png b/GMW/images/lista_00-Smart_m.png new file mode 100644 index 00000000..8a4d3d0d Binary files /dev/null and b/GMW/images/lista_00-Smart_m.png differ diff --git a/GMW/images/lista_00-Smart_s.png b/GMW/images/lista_00-Smart_s.png new file mode 100644 index 00000000..431ac4b4 Binary files /dev/null and b/GMW/images/lista_00-Smart_s.png differ diff --git a/GMW/images/lista_01-PreAnim_l.png b/GMW/images/lista_01-PreAnim_l.png new file mode 100644 index 00000000..04790fbd Binary files /dev/null and b/GMW/images/lista_01-PreAnim_l.png differ diff --git a/GMW/images/lista_01-PreAnim_m.png b/GMW/images/lista_01-PreAnim_m.png new file mode 100644 index 00000000..ecbefa1b Binary files /dev/null and b/GMW/images/lista_01-PreAnim_m.png differ diff --git a/GMW/images/lista_01-PreAnim_s.png b/GMW/images/lista_01-PreAnim_s.png new file mode 100644 index 00000000..cc65d2ca Binary files /dev/null and b/GMW/images/lista_01-PreAnim_s.png differ diff --git a/GMW/images/lista_01-PreFus_l.png b/GMW/images/lista_01-PreFus_l.png new file mode 100644 index 00000000..2070ee1d Binary files /dev/null and b/GMW/images/lista_01-PreFus_l.png differ diff --git a/GMW/images/lista_01-PreFus_m.png b/GMW/images/lista_01-PreFus_m.png new file mode 100644 index 00000000..e06cf998 Binary files /dev/null and b/GMW/images/lista_01-PreFus_m.png differ diff --git a/GMW/images/lista_01-PreFus_s.png b/GMW/images/lista_01-PreFus_s.png new file mode 100644 index 00000000..db7156af Binary files /dev/null and b/GMW/images/lista_01-PreFus_s.png differ diff --git a/GMW/images/lista_02-PreCli_l.png b/GMW/images/lista_02-PreCli_l.png new file mode 100644 index 00000000..e003351c Binary files /dev/null and b/GMW/images/lista_02-PreCli_l.png differ diff --git a/GMW/images/lista_02-PreCli_m.png b/GMW/images/lista_02-PreCli_m.png new file mode 100644 index 00000000..9f02b002 Binary files /dev/null and b/GMW/images/lista_02-PreCli_m.png differ diff --git a/GMW/images/lista_02-PreCli_s.png b/GMW/images/lista_02-PreCli_s.png new file mode 100644 index 00000000..a92d6668 Binary files /dev/null and b/GMW/images/lista_02-PreCli_s.png differ diff --git a/GMW/images/lista_02-TerFus_l.png b/GMW/images/lista_02-TerFus_l.png new file mode 100644 index 00000000..4e767ead Binary files /dev/null and b/GMW/images/lista_02-TerFus_l.png differ diff --git a/GMW/images/lista_02-TerFus_m.png b/GMW/images/lista_02-TerFus_m.png new file mode 100644 index 00000000..6f04a5af Binary files /dev/null and b/GMW/images/lista_02-TerFus_m.png differ diff --git a/GMW/images/lista_02-TerFus_s.png b/GMW/images/lista_02-TerFus_s.png new file mode 100644 index 00000000..2087829a Binary files /dev/null and b/GMW/images/lista_02-TerFus_s.png differ diff --git a/GMW/images/lista_03-TerWip_l.png b/GMW/images/lista_03-TerWip_l.png new file mode 100644 index 00000000..b9bb07fa Binary files /dev/null and b/GMW/images/lista_03-TerWip_l.png differ diff --git a/GMW/images/lista_03-TerWip_m.png b/GMW/images/lista_03-TerWip_m.png new file mode 100644 index 00000000..1bd5552a Binary files /dev/null and b/GMW/images/lista_03-TerWip_m.png differ diff --git a/GMW/images/lista_03-TerWip_s.png b/GMW/images/lista_03-TerWip_s.png new file mode 100644 index 00000000..bdd2e144 Binary files /dev/null and b/GMW/images/lista_03-TerWip_s.png differ diff --git a/GMW/images/lista_04-OdetSP_l.png b/GMW/images/lista_04-OdetSP_l.png new file mode 100644 index 00000000..a4f84b6d Binary files /dev/null and b/GMW/images/lista_04-OdetSP_l.png differ diff --git a/GMW/images/lista_04-OdetSP_m.png b/GMW/images/lista_04-OdetSP_m.png new file mode 100644 index 00000000..a1446c71 Binary files /dev/null and b/GMW/images/lista_04-OdetSP_m.png differ diff --git a/GMW/images/lista_04-OdetSP_s.png b/GMW/images/lista_04-OdetSP_s.png new file mode 100644 index 00000000..58c92c6d Binary files /dev/null and b/GMW/images/lista_04-OdetSP_s.png differ diff --git a/GMW/images/lista_05-TerAn_l.png b/GMW/images/lista_05-TerAn_l.png new file mode 100644 index 00000000..a7d0ff33 Binary files /dev/null and b/GMW/images/lista_05-TerAn_l.png differ diff --git a/GMW/images/lista_05-TerAn_m.png b/GMW/images/lista_05-TerAn_m.png new file mode 100644 index 00000000..67b9bfbe Binary files /dev/null and b/GMW/images/lista_05-TerAn_m.png differ diff --git a/GMW/images/lista_05-TerAn_s.png b/GMW/images/lista_05-TerAn_s.png new file mode 100644 index 00000000..0f20be88 Binary files /dev/null and b/GMW/images/lista_05-TerAn_s.png differ diff --git a/GMW/images/logo_sw.png b/GMW/images/logo_sw.png new file mode 100644 index 00000000..98ec9641 Binary files /dev/null and b/GMW/images/logo_sw.png differ diff --git a/GMW/images/mtzProg.png b/GMW/images/mtzProg.png new file mode 100644 index 00000000..cd75e5b5 Binary files /dev/null and b/GMW/images/mtzProg.png differ diff --git a/GMW/images/new.gif b/GMW/images/new.gif new file mode 100644 index 00000000..7b89f3f5 Binary files /dev/null and b/GMW/images/new.gif differ diff --git a/GMW/images/new_disabled.gif b/GMW/images/new_disabled.gif new file mode 100644 index 00000000..fe6f99c0 Binary files /dev/null and b/GMW/images/new_disabled.gif differ diff --git a/GMW/images/new_l.png b/GMW/images/new_l.png new file mode 100644 index 00000000..90fec1df Binary files /dev/null and b/GMW/images/new_l.png differ diff --git a/GMW/images/new_m.png b/GMW/images/new_m.png new file mode 100644 index 00000000..e2823bac Binary files /dev/null and b/GMW/images/new_m.png differ diff --git a/GMW/images/new_s.png b/GMW/images/new_s.png new file mode 100644 index 00000000..e9485082 Binary files /dev/null and b/GMW/images/new_s.png differ diff --git a/GMW/images/notepad_l.png b/GMW/images/notepad_l.png new file mode 100644 index 00000000..ff82029d Binary files /dev/null and b/GMW/images/notepad_l.png differ diff --git a/GMW/images/notepad_m.png b/GMW/images/notepad_m.png new file mode 100644 index 00000000..47596260 Binary files /dev/null and b/GMW/images/notepad_m.png differ diff --git a/GMW/images/notepad_s.png b/GMW/images/notepad_s.png new file mode 100644 index 00000000..205216de Binary files /dev/null and b/GMW/images/notepad_s.png differ diff --git a/GMW/images/orangeGrad32.png b/GMW/images/orangeGrad32.png new file mode 100644 index 00000000..f97e3095 Binary files /dev/null and b/GMW/images/orangeGrad32.png differ diff --git a/GMW/images/page_pdf.png b/GMW/images/page_pdf.png new file mode 100644 index 00000000..8f8095e4 Binary files /dev/null and b/GMW/images/page_pdf.png differ diff --git a/GMW/images/pdfExport.png b/GMW/images/pdfExport.png new file mode 100644 index 00000000..eed02a5f Binary files /dev/null and b/GMW/images/pdfExport.png differ diff --git a/GMW/images/pdfExportSmall.png b/GMW/images/pdfExportSmall.png new file mode 100644 index 00000000..01f08bb3 Binary files /dev/null and b/GMW/images/pdfExportSmall.png differ diff --git a/GMW/images/print_l.png b/GMW/images/print_l.png new file mode 100644 index 00000000..0a23e51c Binary files /dev/null and b/GMW/images/print_l.png differ diff --git a/GMW/images/print_m.png b/GMW/images/print_m.png new file mode 100644 index 00000000..bd3db566 Binary files /dev/null and b/GMW/images/print_m.png differ diff --git a/GMW/images/print_s.png b/GMW/images/print_s.png new file mode 100644 index 00000000..6cb10b08 Binary files /dev/null and b/GMW/images/print_s.png differ diff --git a/GMW/images/recycle_green_l.png b/GMW/images/recycle_green_l.png new file mode 100644 index 00000000..53a95f6f Binary files /dev/null and b/GMW/images/recycle_green_l.png differ diff --git a/GMW/images/recycle_green_m.png b/GMW/images/recycle_green_m.png new file mode 100644 index 00000000..aa81afea Binary files /dev/null and b/GMW/images/recycle_green_m.png differ diff --git a/GMW/images/recycle_green_s.png b/GMW/images/recycle_green_s.png new file mode 100644 index 00000000..c3a939ba Binary files /dev/null and b/GMW/images/recycle_green_s.png differ diff --git a/GMW/images/recycle_orange_l.png b/GMW/images/recycle_orange_l.png new file mode 100644 index 00000000..5726ffd6 Binary files /dev/null and b/GMW/images/recycle_orange_l.png differ diff --git a/GMW/images/recycle_orange_m.png b/GMW/images/recycle_orange_m.png new file mode 100644 index 00000000..ce55acdd Binary files /dev/null and b/GMW/images/recycle_orange_m.png differ diff --git a/GMW/images/recycle_orange_s.png b/GMW/images/recycle_orange_s.png new file mode 100644 index 00000000..8c22c675 Binary files /dev/null and b/GMW/images/recycle_orange_s.png differ diff --git a/GMW/images/recycle_red_l.png b/GMW/images/recycle_red_l.png new file mode 100644 index 00000000..28be1399 Binary files /dev/null and b/GMW/images/recycle_red_l.png differ diff --git a/GMW/images/recycle_red_m.png b/GMW/images/recycle_red_m.png new file mode 100644 index 00000000..bb9dcfaf Binary files /dev/null and b/GMW/images/recycle_red_m.png differ diff --git a/GMW/images/recycle_red_s.png b/GMW/images/recycle_red_s.png new file mode 100644 index 00000000..59a27199 Binary files /dev/null and b/GMW/images/recycle_red_s.png differ diff --git a/GMW/images/red32.png b/GMW/images/red32.png new file mode 100644 index 00000000..ef56f8d9 Binary files /dev/null and b/GMW/images/red32.png differ diff --git a/GMW/images/resetBozza.png b/GMW/images/resetBozza.png new file mode 100644 index 00000000..67ea70d7 Binary files /dev/null and b/GMW/images/resetBozza.png differ diff --git a/GMW/images/resetBozza_disabled.png b/GMW/images/resetBozza_disabled.png new file mode 100644 index 00000000..85ab967f Binary files /dev/null and b/GMW/images/resetBozza_disabled.png differ diff --git a/GMW/images/rosso_20.png b/GMW/images/rosso_20.png new file mode 100644 index 00000000..4f6bf103 Binary files /dev/null and b/GMW/images/rosso_20.png differ diff --git a/GMW/images/rosso_80.png b/GMW/images/rosso_80.png new file mode 100644 index 00000000..e5de3c85 Binary files /dev/null and b/GMW/images/rosso_80.png differ diff --git a/GMW/images/select.gif b/GMW/images/select.gif new file mode 100644 index 00000000..7b89f3f5 Binary files /dev/null and b/GMW/images/select.gif differ diff --git a/GMW/images/select.png b/GMW/images/select.png new file mode 100644 index 00000000..bb07c043 Binary files /dev/null and b/GMW/images/select.png differ diff --git a/GMW/images/semaGiallo_l.gif b/GMW/images/semaGiallo_l.gif new file mode 100644 index 00000000..6b3a4db9 Binary files /dev/null and b/GMW/images/semaGiallo_l.gif differ diff --git a/GMW/images/semaGiallo_m.gif b/GMW/images/semaGiallo_m.gif new file mode 100644 index 00000000..9fb553bc Binary files /dev/null and b/GMW/images/semaGiallo_m.gif differ diff --git a/GMW/images/semaGiallo_s.gif b/GMW/images/semaGiallo_s.gif new file mode 100644 index 00000000..50f620ef Binary files /dev/null and b/GMW/images/semaGiallo_s.gif differ diff --git a/GMW/images/semaRosso_l.gif b/GMW/images/semaRosso_l.gif new file mode 100644 index 00000000..cf47b40d Binary files /dev/null and b/GMW/images/semaRosso_l.gif differ diff --git a/GMW/images/semaRosso_m.gif b/GMW/images/semaRosso_m.gif new file mode 100644 index 00000000..113f78b0 Binary files /dev/null and b/GMW/images/semaRosso_m.gif differ diff --git a/GMW/images/semaRosso_s.gif b/GMW/images/semaRosso_s.gif new file mode 100644 index 00000000..93f1e673 Binary files /dev/null and b/GMW/images/semaRosso_s.gif differ diff --git a/GMW/images/semaVerde_l.gif b/GMW/images/semaVerde_l.gif new file mode 100644 index 00000000..3e1cf8fe Binary files /dev/null and b/GMW/images/semaVerde_l.gif differ diff --git a/GMW/images/semaVerde_m.gif b/GMW/images/semaVerde_m.gif new file mode 100644 index 00000000..829c0fa7 Binary files /dev/null and b/GMW/images/semaVerde_m.gif differ diff --git a/GMW/images/semaVerde_s.gif b/GMW/images/semaVerde_s.gif new file mode 100644 index 00000000..ee9be660 Binary files /dev/null and b/GMW/images/semaVerde_s.gif differ diff --git a/GMW/images/sfondo.png b/GMW/images/sfondo.png new file mode 100644 index 00000000..5fcffdde Binary files /dev/null and b/GMW/images/sfondo.png differ diff --git a/GMW/images/table.png b/GMW/images/table.png new file mode 100644 index 00000000..abcd9368 Binary files /dev/null and b/GMW/images/table.png differ diff --git a/GMW/images/unknown_l.png b/GMW/images/unknown_l.png new file mode 100644 index 00000000..704cf4ba Binary files /dev/null and b/GMW/images/unknown_l.png differ diff --git a/GMW/images/unknown_m.png b/GMW/images/unknown_m.png new file mode 100644 index 00000000..01354c30 Binary files /dev/null and b/GMW/images/unknown_m.png differ diff --git a/GMW/images/unknown_s.png b/GMW/images/unknown_s.png new file mode 100644 index 00000000..4d158de5 Binary files /dev/null and b/GMW/images/unknown_s.png differ diff --git a/GMW/images/upLvl.png b/GMW/images/upLvl.png new file mode 100644 index 00000000..fe5cc3d4 Binary files /dev/null and b/GMW/images/upLvl.png differ diff --git a/GMW/images/verde_20.png b/GMW/images/verde_20.png new file mode 100644 index 00000000..1aa0582e Binary files /dev/null and b/GMW/images/verde_20.png differ diff --git a/GMW/images/verde_80.png b/GMW/images/verde_80.png new file mode 100644 index 00000000..d2b9f38c Binary files /dev/null and b/GMW/images/verde_80.png differ diff --git a/GMW/images/view.gif b/GMW/images/view.gif new file mode 100644 index 00000000..8f5d1e64 Binary files /dev/null and b/GMW/images/view.gif differ diff --git a/GMW/images/view.png b/GMW/images/view.png new file mode 100644 index 00000000..2833b7a0 Binary files /dev/null and b/GMW/images/view.png differ diff --git a/GMW/images/view_disabled.gif b/GMW/images/view_disabled.gif new file mode 100644 index 00000000..fb38c44c Binary files /dev/null and b/GMW/images/view_disabled.gif differ diff --git a/GMW/images/view_l.png b/GMW/images/view_l.png new file mode 100644 index 00000000..de5ef3a1 Binary files /dev/null and b/GMW/images/view_l.png differ diff --git a/GMW/images/view_m.png b/GMW/images/view_m.png new file mode 100644 index 00000000..e845f6d5 Binary files /dev/null and b/GMW/images/view_m.png differ diff --git a/GMW/images/view_s.gif b/GMW/images/view_s.gif new file mode 100644 index 00000000..df6ffbaf Binary files /dev/null and b/GMW/images/view_s.gif differ diff --git a/GMW/images/view_s.png b/GMW/images/view_s.png new file mode 100644 index 00000000..2833b7a0 Binary files /dev/null and b/GMW/images/view_s.png differ diff --git a/GMW/images/windows-arrow.gif b/GMW/images/windows-arrow.gif new file mode 100644 index 00000000..461566a1 Binary files /dev/null and b/GMW/images/windows-arrow.gif differ diff --git a/GMW/images/wizard.png b/GMW/images/wizard.png new file mode 100644 index 00000000..b36973cc Binary files /dev/null and b/GMW/images/wizard.png differ diff --git a/GMW/images/wt_delete.gif b/GMW/images/wt_delete.gif new file mode 100644 index 00000000..e2900999 Binary files /dev/null and b/GMW/images/wt_delete.gif differ diff --git a/GMW/images/wt_ko.gif b/GMW/images/wt_ko.gif new file mode 100644 index 00000000..e2900999 Binary files /dev/null and b/GMW/images/wt_ko.gif differ diff --git a/GMW/images/wt_ok.gif b/GMW/images/wt_ok.gif new file mode 100644 index 00000000..f59979e3 Binary files /dev/null and b/GMW/images/wt_ok.gif differ diff --git a/GMW/jumper.aspx b/GMW/jumper.aspx new file mode 100644 index 00000000..87c1ff0a --- /dev/null +++ b/GMW/jumper.aspx @@ -0,0 +1,16 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="jumper.aspx.cs" Inherits="GMW.jumper" %> + + + + + + + + +
+
+ +
+
+ + diff --git a/GMW/jumper.aspx.cs b/GMW/jumper.aspx.cs new file mode 100644 index 00000000..38b0438b --- /dev/null +++ b/GMW/jumper.aspx.cs @@ -0,0 +1,29 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace GMW +{ + public partial class jumper : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + // carico informazioni da URL + string nextPage = Request.QueryString["nextPage"]; + // a seconda della pag richiesta salvo in sessione e rimbalzo.. + switch (nextPage) + { + case "GestDelibere.aspx": + Session["CodTipoDelib_sel"] = Request.QueryString["CodTipoDelib_sel"]; + Response.Redirect("~/GestDelibere.aspx"); + break; + default: + Response.Redirect("~/menu.aspx"); + break; + } + } + } +} diff --git a/GMW/jumper.aspx.designer.cs b/GMW/jumper.aspx.designer.cs new file mode 100644 index 00000000..525d7426 --- /dev/null +++ b/GMW/jumper.aspx.designer.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.42 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW +{ + + + public partial class jumper + { + + /// + /// form1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + } +} diff --git a/GMW/login.aspx b/GMW/login.aspx new file mode 100644 index 00000000..ff871aed --- /dev/null +++ b/GMW/login.aspx @@ -0,0 +1,9 @@ +<%@ Page Language="C#" MasterPageFile="~/WebMasterPages/MasterAjax.master" AutoEventWireup="true" + Inherits="login" Title="Login" Codebehind="login.aspx.cs" %> + +<%@ Register Src="~/WebUserControls/mod_login.ascx" TagName="mod_login" TagPrefix="uc1" %> + +
+ +
+
diff --git a/GMW/login.aspx.cs b/GMW/login.aspx.cs new file mode 100644 index 00000000..eaf6cf5a --- /dev/null +++ b/GMW/login.aspx.cs @@ -0,0 +1,54 @@ +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; + +public partial class login : System.Web.UI.Page +{ + protected string _nextPage + { + get + { + string pagina = SteamWare.memLayer.ML.StringSessionObj("nextPage"); + if (pagina == "") + { + pagina = "menu.aspx"; + } + return pagina; + } + } + + protected void Page_Load(object sender, EventArgs e) + { + Mod_login1.modoLogin = SteamWare.loginMode.normale; + } + + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + Mod_login1.Login_ok += new EventHandler(Mod_login1_Login_ok); + Mod_login1.Login_Error += new EventHandler(Mod_login1_Login_Error); + } + + void Mod_login1_Login_Error(object sender, EventArgs e) + { + Response.Redirect("./unauthorized.aspx"); + } + + void Mod_login1_Login_ok(object sender, EventArgs e) + { + Response.Redirect(_nextPage); + } + protected override void OnUnload(EventArgs e) + { + base.OnUnload(e); + Mod_login1.Login_ok -= new EventHandler(Mod_login1_Login_ok); + Mod_login1.Login_Error -= new EventHandler(Mod_login1_Login_Error); + } +} diff --git a/GMW/login.aspx.designer.cs b/GMW/login.aspx.designer.cs new file mode 100644 index 00000000..d4aa961a --- /dev/null +++ b/GMW/login.aspx.designer.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class login { + + /// + /// Mod_login1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_login Mod_login1; +} diff --git a/GMW/logs/20120823.txt b/GMW/logs/20120823.txt new file mode 100644 index 00000000..b6b8ab8d --- /dev/null +++ b/GMW/logs/20120823.txt @@ -0,0 +1,3 @@ +9.42.24 7562 [INFO] - | ::1 | L'utente Locatelli Samuele (STEAMWAREWIN\samuele) ha effettuato il login correttamente dall'IP ::1 +9.43.06 3258 [INFO] - | ::1 | L'utente Locatelli Samuele (STEAMWAREWIN\samuele) ha effettuato il login correttamente dall'IP ::1 +9.48.31 4639 [INFO] - | ::1 | L'utente Locatelli Samuele (STEAMWAREWIN\samuele) ha effettuato il login correttamente dall'IP ::1 diff --git a/GMW/menu.aspx b/GMW/menu.aspx new file mode 100644 index 00000000..74155e90 --- /dev/null +++ b/GMW/menu.aspx @@ -0,0 +1,8 @@ +<%@ Page Language="C#" MasterPageFile="~/WebMasterPages/MasterAjax.master" AutoEventWireup="true" Inherits="menu" Title="Untitled Page" Codebehind="menu.aspx.cs" %> + +<%@ Register Src="~/WebUserControls/mod_main_help.ascx" TagName="mod_main_help" TagPrefix="uc2" %> + + + + + diff --git a/GMW/menu.aspx.cs b/GMW/menu.aspx.cs new file mode 100644 index 00000000..bca3d27a --- /dev/null +++ b/GMW/menu.aspx.cs @@ -0,0 +1,14 @@ +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; + +public partial class menu : System.Web.UI.Page +{ +} diff --git a/GMW/menu.aspx.designer.cs b/GMW/menu.aspx.designer.cs new file mode 100644 index 00000000..80992890 --- /dev/null +++ b/GMW/menu.aspx.designer.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class menu { + + /// + /// Mod_main_help1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_main_help Mod_main_help1; +} diff --git a/GMW/odette.aspx b/GMW/odette.aspx new file mode 100644 index 00000000..915d7767 --- /dev/null +++ b/GMW/odette.aspx @@ -0,0 +1,5 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/AjaxSearch.master" AutoEventWireup="true" CodeBehind="odette.aspx.cs" Inherits="GMW.odette" %> +<%@ Register src="WebUserControls/mod_odette.ascx" tagname="mod_odette" tagprefix="uc1" %> + + + diff --git a/GMW/odette.aspx.cs b/GMW/odette.aspx.cs new file mode 100644 index 00000000..081bb46a --- /dev/null +++ b/GMW/odette.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace GMW +{ + public partial class odette : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} diff --git a/GMW/odette.aspx.designer.cs b/GMW/odette.aspx.designer.cs new file mode 100644 index 00000000..5e0740e3 --- /dev/null +++ b/GMW/odette.aspx.designer.cs @@ -0,0 +1,25 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4952 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW { + + + public partial class odette { + + /// + /// mod_odette1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_odette mod_odette1; + } +} diff --git a/GMW/packages.config b/GMW/packages.config new file mode 100644 index 00000000..cb031336 --- /dev/null +++ b/GMW/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/GMW/sanpos_associaz_F10_F18.aspx b/GMW/sanpos_associaz_F10_F18.aspx new file mode 100644 index 00000000..4bd564c3 --- /dev/null +++ b/GMW/sanpos_associaz_F10_F18.aspx @@ -0,0 +1,6 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/AjaxSimpleFull.Master" AutoEventWireup="true" CodeBehind="sanpos_associaz_F10_F18.aspx.cs" Inherits="GMW.sanpos_associaz_F10_F18" %> +<%@ Register src="WebUserControls/mod_sanpos_associaz_F10_F18.ascx" tagname="mod_sanpos_associaz_F10_F18" tagprefix="uc1" %> + + + diff --git a/GMW/sanpos_associaz_F10_F18.aspx.cs b/GMW/sanpos_associaz_F10_F18.aspx.cs new file mode 100644 index 00000000..66c5c176 --- /dev/null +++ b/GMW/sanpos_associaz_F10_F18.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace GMW +{ + public partial class sanpos_associaz_F10_F18 : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} diff --git a/GMW/sanpos_associaz_F10_F18.aspx.designer.cs b/GMW/sanpos_associaz_F10_F18.aspx.designer.cs new file mode 100644 index 00000000..76a441ec --- /dev/null +++ b/GMW/sanpos_associaz_F10_F18.aspx.designer.cs @@ -0,0 +1,25 @@ +//------------------------------------------------------------------------------ +// +// 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 { + + + public partial class sanpos_associaz_F10_F18 { + + /// + /// mod_sanpos_associaz_F10_F181 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_sanpos_associaz_F10_F18 mod_sanpos_associaz_F10_F181; + } +} diff --git a/GMW/sanpos_consumoF10.aspx b/GMW/sanpos_consumoF10.aspx new file mode 100644 index 00000000..71f4ce69 --- /dev/null +++ b/GMW/sanpos_consumoF10.aspx @@ -0,0 +1,5 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/AjaxSimpleFull.master" AutoEventWireup="true" CodeBehind="sanpos_consumoF10.aspx.cs" Inherits="GMW.sanpos_consumoF10" %> +<%@ Register src="WebUserControls/mod_sanpos_consumoF10.ascx" tagname="mod_sanpos_consumoF10" tagprefix="uc1" %> + + + diff --git a/GMW/sanpos_consumoF10.aspx.cs b/GMW/sanpos_consumoF10.aspx.cs new file mode 100644 index 00000000..509fd12a --- /dev/null +++ b/GMW/sanpos_consumoF10.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace GMW +{ + public partial class sanpos_consumoF10 : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} diff --git a/GMW/sanpos_consumoF10.aspx.designer.cs b/GMW/sanpos_consumoF10.aspx.designer.cs new file mode 100644 index 00000000..b7f1406b --- /dev/null +++ b/GMW/sanpos_consumoF10.aspx.designer.cs @@ -0,0 +1,25 @@ +//------------------------------------------------------------------------------ +// +// 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 { + + + public partial class sanpos_consumoF10 { + + /// + /// mod_sanpos_consumoF101 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_sanpos_consumoF10 mod_sanpos_consumoF101; + } +} diff --git a/GMW/sanpos_controlloLiquidi.aspx b/GMW/sanpos_controlloLiquidi.aspx new file mode 100644 index 00000000..cb68b62f --- /dev/null +++ b/GMW/sanpos_controlloLiquidi.aspx @@ -0,0 +1,6 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/AjaxSimpleFull.master" AutoEventWireup="true" CodeBehind="sanpos_controlloLiquidi.aspx.cs" Inherits="GMW.sanpos_controlloLiquidi" %> +<%@ Register src="WebUserControls/mod_sanpos_controlloLiquidi.ascx" tagname="mod_sanpos_controlloLiquidi" tagprefix="uc1" %> + + + diff --git a/GMW/sanpos_controlloLiquidi.aspx.cs b/GMW/sanpos_controlloLiquidi.aspx.cs new file mode 100644 index 00000000..26978493 --- /dev/null +++ b/GMW/sanpos_controlloLiquidi.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace GMW +{ + public partial class sanpos_controlloLiquidi : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} diff --git a/GMW/sanpos_controlloLiquidi.aspx.designer.cs b/GMW/sanpos_controlloLiquidi.aspx.designer.cs new file mode 100644 index 00000000..d2131e66 --- /dev/null +++ b/GMW/sanpos_controlloLiquidi.aspx.designer.cs @@ -0,0 +1,25 @@ +//------------------------------------------------------------------------------ +// +// 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 { + + + public partial class sanpos_controlloLiquidi { + + /// + /// mod_sanpos_controlloLiquidi1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_sanpos_controlloLiquidi mod_sanpos_controlloLiquidi1; + } +} diff --git a/GMW/sanpos_creazioneF18.aspx b/GMW/sanpos_creazioneF18.aspx new file mode 100644 index 00000000..c1cad5da --- /dev/null +++ b/GMW/sanpos_creazioneF18.aspx @@ -0,0 +1,5 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/AjaxSimpleFull.Master" AutoEventWireup="true" CodeBehind="sanpos_creazioneF18.aspx.cs" Inherits="GMW.sanpos_creazioneF18" %> +<%@ Register src="WebUserControls/mod_sanpos_creazioneF18.ascx" tagname="mod_sanpos_creazioneF18" tagprefix="uc1" %> + + + diff --git a/GMW/sanpos_creazioneF18.aspx.cs b/GMW/sanpos_creazioneF18.aspx.cs new file mode 100644 index 00000000..25b3f112 --- /dev/null +++ b/GMW/sanpos_creazioneF18.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace GMW +{ + public partial class sanpos_creazioneF18 : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} diff --git a/GMW/sanpos_creazioneF18.aspx.designer.cs b/GMW/sanpos_creazioneF18.aspx.designer.cs new file mode 100644 index 00000000..80a93337 --- /dev/null +++ b/GMW/sanpos_creazioneF18.aspx.designer.cs @@ -0,0 +1,25 @@ +//------------------------------------------------------------------------------ +// +// 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 { + + + public partial class sanpos_creazioneF18 { + + /// + /// mod_sanpos_creazioneF181 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_sanpos_creazioneF18 mod_sanpos_creazioneF181; + } +} diff --git a/GMW/setupTgt.bat b/GMW/setupTgt.bat new file mode 100644 index 00000000..cd236050 --- /dev/null +++ b/GMW/setupTgt.bat @@ -0,0 +1,56 @@ +@echo off +echo Effettua setup dei file specifici per i 2 ambienti SP/TK pre build installer: verifica da nome configurazione %1 + +if %1 == "Release" goto Release +if %1 == "Debug" goto Debug +if %1 == "SP_prod" goto SP_prod +if %1 == "TK_prod" goto TK_prod +if %1 == "SP_test" goto SP_test +if %1 == "TK_test" goto TK_test + +:Release +echo Release: non devo copiare nulla +goto END + +:Debug +echo Debug: non devo copiare nulla +goto END + +:Installer +echo Installer: non devo copiare nulla +goto END + +:SP_prod +echo SP_prod: copio files San Possidonio +del %2"Reports\*.rdlc" +copy %2"Reports\SP\*" %2"Reports\" +copy %2"images\flusso_SP.png" %2"images\flusso.png" +copy %2"Style_prod.css" %2"Style.css" +goto END + +:TK_prod +echo TK_prod: copio files Tekal +del %2"Reports\*.rdlc" +copy %2"Reports\TK\*" %2"Reports\" +copy %2"images\flusso_TK.png" %2"images\flusso.png" +copy %2"Style_prod.css" %2"Style.css" +goto END + +:SP_test +echo SP_test: copio files San Possidonio +del %2"Reports\*.rdlc" +copy %2"Reports\SP\*" %2"Reports\" +copy %2"images\flusso_SP.png" %2"images\flusso.png" +copy %2"Style_test.css" %2"Style.css" +goto END + +:TK_test +echo TK_test: copio files Tekal +del %2"Reports\*.rdlc" +copy %2"Reports\TK\*" %2"Reports\" +copy %2"images\flusso_TK.png" %2"images\flusso.png" +copy %2"Style_test.css" %2"Style.css" +goto END + +:END +echo Fatto! \ No newline at end of file diff --git a/GMW/spostaDataMatrix.aspx b/GMW/spostaDataMatrix.aspx new file mode 100644 index 00000000..c91432df --- /dev/null +++ b/GMW/spostaDataMatrix.aspx @@ -0,0 +1,9 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/AjaxSimpleFull.master" AutoEventWireup="true" CodeBehind="spostaDataMatrix.aspx.cs" Inherits="GMW.spostaDataMatrix" %> +<%@ Register src="WebUserControls/mod_spostaDataMatrix.ascx" tagname="mod_spostaDataMatrix" tagprefix="uc1" %> + + + + + + + diff --git a/GMW/spostaDataMatrix.aspx.cs b/GMW/spostaDataMatrix.aspx.cs new file mode 100644 index 00000000..d5e50b11 --- /dev/null +++ b/GMW/spostaDataMatrix.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace GMW +{ + public partial class spostaDataMatrix : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} diff --git a/GMW/spostaDataMatrix.aspx.designer.cs b/GMW/spostaDataMatrix.aspx.designer.cs new file mode 100644 index 00000000..ddb82613 --- /dev/null +++ b/GMW/spostaDataMatrix.aspx.designer.cs @@ -0,0 +1,25 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4952 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW { + + + public partial class spostaDataMatrix { + + /// + /// mod_spostaDataMatrix1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_spostaDataMatrix mod_spostaDataMatrix1; + } +} diff --git a/GMW/unauthorized.aspx b/GMW/unauthorized.aspx new file mode 100644 index 00000000..da9803a8 --- /dev/null +++ b/GMW/unauthorized.aspx @@ -0,0 +1,9 @@ +<%@ Page Language="C#" MasterPageFile="~/WebMasterPages/AjaxSimple.master" AutoEventWireup="true" Inherits="unauthorized" Title="Untitled Page" Codebehind="unauthorized.aspx.cs" %> + +<%@ Register Src="WebUserControls/mod_unauthorized.ascx" TagName="mod_unauthorized" TagPrefix="uc1" %> + + + + + + diff --git a/GMW/unauthorized.aspx.cs b/GMW/unauthorized.aspx.cs new file mode 100644 index 00000000..ffab794d --- /dev/null +++ b/GMW/unauthorized.aspx.cs @@ -0,0 +1,27 @@ +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; +using System.Threading; +using System.Security.Cryptography; + +public partial class unauthorized : System.Web.UI.Page +{ + protected void Page_Load(object sender, EventArgs e) + { + byte[] delay = new byte[1]; + RandomNumberGenerator prng = new RNGCryptoServiceProvider(); + + prng.GetBytes(delay); + Thread.Sleep((int)delay[0]); + + IDisposable disposable = prng as IDisposable; + if (disposable != null) { disposable.Dispose(); } + } +} diff --git a/GMW/unauthorized.aspx.designer.cs b/GMW/unauthorized.aspx.designer.cs new file mode 100644 index 00000000..932b7caf --- /dev/null +++ b/GMW/unauthorized.aspx.designer.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class unauthorized { + + /// + /// Mod_unauthorized1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_unauthorized Mod_unauthorized1; +} diff --git a/GMW/vocabolario.aspx b/GMW/vocabolario.aspx new file mode 100644 index 00000000..f88072b3 --- /dev/null +++ b/GMW/vocabolario.aspx @@ -0,0 +1,15 @@ +<%@ Page Language="C#" MasterPageFile="~/WebMasterPages/AjaxSearch.master" AutoEventWireup="true" + Inherits="vocabolario" Title="Untitled Page" CodeBehind="vocabolario.aspx.cs" %> + +<%@ Register Src="~/WebUserControls/mod_vocabolario.ascx" TagName="mod_vocabolario" + TagPrefix="uc1" %> +<%@ Register Src="~/WebUserControls/mod_lemmiVocab.ascx" TagName="mod_lemmiVocab" + TagPrefix="uc2" %> + +
+ +
+
+ +
+
diff --git a/GMW/vocabolario.aspx.cs b/GMW/vocabolario.aspx.cs new file mode 100644 index 00000000..60a31ce7 --- /dev/null +++ b/GMW/vocabolario.aspx.cs @@ -0,0 +1,43 @@ +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; +using SteamWare; + +public partial class vocabolario : System.Web.UI.Page +{ + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + // imposto controlli eventi + Mod_vocabolario1.eh_selezioneValore += new EventHandler(Mod_vocabolario1_eh_selezioneValore); + Mod_vocabolario1.eh_resetSelezione += new EventHandler(Mod_vocabolario1_eh_resetSelezione); + // setto visibilità dettaglio termini + Mod_lemmiVocab1.Visible = false; + } + + void Mod_vocabolario1_eh_resetSelezione(object sender, EventArgs e) + { + Mod_lemmiVocab1.Visible = false; + Session.Remove("lemma_sel"); + } + + void Mod_vocabolario1_eh_selezioneValore(object sender, EventArgs e) + { + Mod_lemmiVocab1.Visible = true; + Mod_lemmiVocab1.doUpdate(); + } + + protected override void OnUnload(EventArgs e) + { + base.OnUnload(e); + Mod_vocabolario1.eh_selezioneValore -= new EventHandler(Mod_vocabolario1_eh_selezioneValore); + Mod_vocabolario1.eh_resetSelezione -= new EventHandler(Mod_vocabolario1_eh_resetSelezione); + } +} diff --git a/GMW/vocabolario.aspx.designer.cs b/GMW/vocabolario.aspx.designer.cs new file mode 100644 index 00000000..b51e3378 --- /dev/null +++ b/GMW/vocabolario.aspx.designer.cs @@ -0,0 +1,32 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class vocabolario { + + /// + /// Mod_vocabolario1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_vocabolario Mod_vocabolario1; + + /// + /// Mod_lemmiVocab1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_lemmiVocab Mod_lemmiVocab1; +} diff --git a/GMW_Reports/CartellinoMP.rdlc b/GMW_Reports/CartellinoMP.rdlc new file mode 100644 index 00000000..d16c5381 --- /dev/null +++ b/GMW_Reports/CartellinoMP.rdlc @@ -0,0 +1,258 @@ + + + + + d9194145-aa70-4a36-8b7a-c929936f98f7 + + + + + + + + + 14.8cm + true + 21cm + 0.25cm + true + 0.5cm + 0.5cm + 0.5cm + 3255cde9-74a1-4005-8008-232d8355d769 + 21cm + + + + + CodCompany + System.String + + + ODP + System.String + + + UDC + System.String + + + Tara + System.Double + + + IdxStato + System.Int32 + + + Qta + System.Decimal + + + CodImballo + System.String + + + CreateDate + System.DateTime + + + ModDate + System.DateTime + + + + GMWConnectionString + dbo.stp_prtCartByUDC + true + + + GMWDataSet + stp_prtCartByUDC + + + + + GetData + + + + + 20cm + + 1cm + + + textbox1 + 12.69841cm + + 1 + true + 0.91429cm + Cartellino Tara + + + GMWDataSet_stp_prtCartByUDC + 4cm + + + + + =Fields!UDC.Value + + + + + =Fields!UDC.Value + Ascending + + +
+ + + + + 3 + + + UDC + + true + ="*" & Fields!UDC.Value & "*" + + + + + 3.50781cm + + +
+
+
+ 19cm +
+ + + + + + + textbox4 + + true + Tara + + + + + + + Tara + + true + =Fields!Tara.Value & " Kg" + + + + + + + CreateDate + + true + =Fields!CreateDate.Value + + + + + 3.50781cm + + +
+ + + 6.31847cm + + + 6.36305cm + + + 6.31848cm + + + 7.01562cm + 0.5cm +
+
+ 13.5cm + + it-IT + 0.5cm + 14.8cm +
\ No newline at end of file diff --git a/GMW_Reports/CartellinoTara.rdlc b/GMW_Reports/CartellinoTara.rdlc new file mode 100644 index 00000000..0affbe01 --- /dev/null +++ b/GMW_Reports/CartellinoTara.rdlc @@ -0,0 +1,260 @@ + + + + + d9194145-aa70-4a36-8b7a-c929936f98f7 + + + + + + + + + 14.8cm + demo report x cartellino tara + true + 21cm + 0.25cm + true + 0.5cm + 0.5cm + 0.5cm + 3255cde9-74a1-4005-8008-232d8355d769 + 21cm + + + + + CodCompany + System.String + + + ODP + System.String + + + UDC + System.String + + + Tara + System.Double + + + IdxStato + System.Int32 + + + Qta + System.Decimal + + + CodImballo + System.String + + + CreateDate + System.DateTime + + + ModDate + System.DateTime + + + + GMWConnectionString + dbo.stp_getStatoByUdc + true + + + GMWDataSet + stp_getStatoByUdc + + + + + GetData + + + + Samuele E. Locatelli + + 20cm + + 1cm + + + textbox1 + 12.69841cm + + 1 + true + 0.91429cm + CartellinoTara + + + GMWDataSet_stp_getStatoByUdc + 4cm + + + + + =Fields!UDC.Value + + + + + =Fields!UDC.Value + Ascending + + +
+ + + + + 3 + + + UDC + + true + ="*" & Fields!UDC.Value & "*" + + + + + 3.50781cm + + +
+
+
+ 19cm +
+ + + + + + + textbox4 + + true + Tara + + + + + + + Tara + + true + =Fields!Tara.Value & " Kg" + + + + + + + CreateDate + + true + =Fields!CreateDate.Value + + + + + 3.50781cm + + +
+ + + 6.31847cm + + + 6.36305cm + + + 6.31848cm + + + 7.01562cm + 0.5cm +
+
+ 13.5cm + + it-IT + 0.5cm + 14.8cm +
\ No newline at end of file diff --git a/GMW_Reports/Form1.Designer.cs b/GMW_Reports/Form1.Designer.cs new file mode 100644 index 00000000..aa0fbc2a --- /dev/null +++ b/GMW_Reports/Form1.Designer.cs @@ -0,0 +1,90 @@ +namespace GMW_Reports +{ + partial class Form1 + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + Microsoft.Reporting.WinForms.ReportDataSource reportDataSource1 = new Microsoft.Reporting.WinForms.ReportDataSource(); + this.reportViewer1 = new Microsoft.Reporting.WinForms.ReportViewer(); + this.GMWDataSet = new GMW_Reports.GMWDataSet(); + this.stp_getStatoByUdcBindingSource = new System.Windows.Forms.BindingSource(this.components); + this.tabStatoOdpUdcTableAdapter = new GMW_Reports.GMWDataSetTableAdapters.TabStatoOdpUdcTableAdapter(); + ((System.ComponentModel.ISupportInitialize)(this.GMWDataSet)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.stp_getStatoByUdcBindingSource)).BeginInit(); + this.SuspendLayout(); + // + // reportViewer1 + // + this.reportViewer1.Dock = System.Windows.Forms.DockStyle.Fill; + reportDataSource1.Name = "GMWDataSet_stp_getStatoByUdc"; + reportDataSource1.Value = this.stp_getStatoByUdcBindingSource; + this.reportViewer1.LocalReport.DataSources.Add(reportDataSource1); + this.reportViewer1.LocalReport.ReportEmbeddedResource = "GMW_Reports.CartellinoTara.rdlc"; + this.reportViewer1.Location = new System.Drawing.Point(0, 0); + this.reportViewer1.Name = "reportViewer1"; + this.reportViewer1.Size = new System.Drawing.Size(682, 386); + this.reportViewer1.TabIndex = 0; + // + // GMWDataSet + // + this.GMWDataSet.DataSetName = "GMWDataSet"; + this.GMWDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; + // + // stp_getStatoByUdcBindingSource + // + this.stp_getStatoByUdcBindingSource.DataMember = "TabStatoOdpUdc"; + this.stp_getStatoByUdcBindingSource.DataSource = this.GMWDataSet; + // + // tabStatoOdpUdcTableAdapter + // + this.tabStatoOdpUdcTableAdapter.ClearBeforeFill = true; + // + // Form1 + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(682, 386); + this.Controls.Add(this.reportViewer1); + this.Name = "Form1"; + this.Text = "Form1"; + this.Load += new System.EventHandler(this.Form1_Load); + ((System.ComponentModel.ISupportInitialize)(this.GMWDataSet)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.stp_getStatoByUdcBindingSource)).EndInit(); + this.ResumeLayout(false); + + } + + #endregion + + private Microsoft.Reporting.WinForms.ReportViewer reportViewer1; + private System.Windows.Forms.BindingSource stp_getStatoByUdcBindingSource; + private GMWDataSet GMWDataSet; + private GMW_Reports.GMWDataSetTableAdapters.TabStatoOdpUdcTableAdapter tabStatoOdpUdcTableAdapter; + } +} + diff --git a/GMW_Reports/Form1.cs b/GMW_Reports/Form1.cs new file mode 100644 index 00000000..9c6244cb --- /dev/null +++ b/GMW_Reports/Form1.cs @@ -0,0 +1,26 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Windows.Forms; + +namespace GMW_Reports +{ + public partial class Form1 : Form + { + public Form1() + { + InitializeComponent(); + } + + private void Form1_Load(object sender, EventArgs e) + { + // TODO: This line of code loads data into the 'GMWDataSet.TabStatoOdpUdc' table. You can move, or remove it, as needed. + this.tabStatoOdpUdcTableAdapter.Fill(this.GMWDataSet.TabStatoOdpUdc); + this.reportViewer1.RefreshReport(); + } + } +} \ No newline at end of file diff --git a/GMW_Reports/Form1.resx b/GMW_Reports/Form1.resx new file mode 100644 index 00000000..cba0334e --- /dev/null +++ b/GMW_Reports/Form1.resx @@ -0,0 +1,129 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 142, 17 + + + 17, 17 + + + 375, 17 + + \ No newline at end of file diff --git a/GMW_Reports/GMWDataSet.Designer.cs b/GMW_Reports/GMWDataSet.Designer.cs new file mode 100644 index 00000000..79965724 --- /dev/null +++ b/GMW_Reports/GMWDataSet.Designer.cs @@ -0,0 +1,15137 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +#pragma warning disable 1591 + +namespace GMW_Reports { + + + /// + ///Represents a strongly typed in-memory cache of data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")] + [global::System.Xml.Serialization.XmlRootAttribute("GMWDataSet")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")] + public partial class GMWDataSet : global::System.Data.DataSet { + + private AnagArticoliDataTable tableAnagArticoli; + + private AnagBilanceDataTable tableAnagBilance; + + private AnagCompanyDataTable tableAnagCompany; + + private AnagImpiantiDataTable tableAnagImpianti; + + private AnagOdpDataTable tableAnagOdp; + + private AnagSitiDataTable tableAnagSiti; + + private AnagStatiDataTable tableAnagStati; + + private ContatoriUdcDataTable tableContatoriUdc; + + private Impianti2ArticoliDataTable tableImpianti2Articoli; + + private TabStatoOdpUdcDataTable tableTabStatoOdpUdc; + + private stp_getStatoByUdcDataTable tablestp_getStatoByUdc; + + private stp_insNewOdpUdcDataTable tablestp_insNewOdpUdc; + + private stp_updateByBilanciaDataTable tablestp_updateByBilancia; + + private stp_prtCartByUDCDataTable tablestp_prtCartByUDC; + + private stp_prtCartMatPrimaByUDCDataTable tablestp_prtCartMatPrimaByUDC; + + private global::System.Data.DataRelation relationFK_AnagBilance_AnagSiti; + + private global::System.Data.DataRelation relationFK_AnagImpianti_AnagSiti; + + private global::System.Data.DataRelation relationFK_AnagOdp_AnagCompany; + + private global::System.Data.DataRelation relationFK_AnagSiti_AnagCompany; + + private global::System.Data.DataRelation relationFK_Impianti2Articoli_AnagArticoli; + + private global::System.Data.DataRelation relationFK_Impianti2Articoli_AnagImpianti; + + private global::System.Data.DataRelation relationFK_TabStatoOdpUdc_AnagOdp; + + private global::System.Data.DataRelation relationFK_TabStatoOdpUdc_AnagStati; + + private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public GMWDataSet() { + this.BeginInit(); + this.InitClass(); + global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); + base.Tables.CollectionChanged += schemaChangedHandler; + base.Relations.CollectionChanged += schemaChangedHandler; + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected GMWDataSet(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context, false) { + if ((this.IsBinarySerialized(info, context) == true)) { + this.InitVars(false); + global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); + this.Tables.CollectionChanged += schemaChangedHandler1; + this.Relations.CollectionChanged += schemaChangedHandler1; + return; + } + string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string)))); + if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { + global::System.Data.DataSet ds = new global::System.Data.DataSet(); + ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); + if ((ds.Tables["AnagArticoli"] != null)) { + base.Tables.Add(new AnagArticoliDataTable(ds.Tables["AnagArticoli"])); + } + if ((ds.Tables["AnagBilance"] != null)) { + base.Tables.Add(new AnagBilanceDataTable(ds.Tables["AnagBilance"])); + } + if ((ds.Tables["AnagCompany"] != null)) { + base.Tables.Add(new AnagCompanyDataTable(ds.Tables["AnagCompany"])); + } + if ((ds.Tables["AnagImpianti"] != null)) { + base.Tables.Add(new AnagImpiantiDataTable(ds.Tables["AnagImpianti"])); + } + if ((ds.Tables["AnagOdp"] != null)) { + base.Tables.Add(new AnagOdpDataTable(ds.Tables["AnagOdp"])); + } + if ((ds.Tables["AnagSiti"] != null)) { + base.Tables.Add(new AnagSitiDataTable(ds.Tables["AnagSiti"])); + } + if ((ds.Tables["AnagStati"] != null)) { + base.Tables.Add(new AnagStatiDataTable(ds.Tables["AnagStati"])); + } + if ((ds.Tables["ContatoriUdc"] != null)) { + base.Tables.Add(new ContatoriUdcDataTable(ds.Tables["ContatoriUdc"])); + } + if ((ds.Tables["Impianti2Articoli"] != null)) { + base.Tables.Add(new Impianti2ArticoliDataTable(ds.Tables["Impianti2Articoli"])); + } + if ((ds.Tables["TabStatoOdpUdc"] != null)) { + base.Tables.Add(new TabStatoOdpUdcDataTable(ds.Tables["TabStatoOdpUdc"])); + } + if ((ds.Tables["stp_getStatoByUdc"] != null)) { + base.Tables.Add(new stp_getStatoByUdcDataTable(ds.Tables["stp_getStatoByUdc"])); + } + if ((ds.Tables["stp_insNewOdpUdc"] != null)) { + base.Tables.Add(new stp_insNewOdpUdcDataTable(ds.Tables["stp_insNewOdpUdc"])); + } + if ((ds.Tables["stp_updateByBilancia"] != null)) { + base.Tables.Add(new stp_updateByBilanciaDataTable(ds.Tables["stp_updateByBilancia"])); + } + if ((ds.Tables["stp_prtCartByUDC"] != null)) { + base.Tables.Add(new stp_prtCartByUDCDataTable(ds.Tables["stp_prtCartByUDC"])); + } + if ((ds.Tables["stp_prtCartMatPrimaByUDC"] != null)) { + base.Tables.Add(new stp_prtCartMatPrimaByUDCDataTable(ds.Tables["stp_prtCartMatPrimaByUDC"])); + } + this.DataSetName = ds.DataSetName; + this.Prefix = ds.Prefix; + this.Namespace = ds.Namespace; + this.Locale = ds.Locale; + this.CaseSensitive = ds.CaseSensitive; + this.EnforceConstraints = ds.EnforceConstraints; + this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add); + this.InitVars(); + } + else { + this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); + } + this.GetSerializationData(info, context); + global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); + base.Tables.CollectionChanged += schemaChangedHandler; + this.Relations.CollectionChanged += schemaChangedHandler; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public AnagArticoliDataTable AnagArticoli { + get { + return this.tableAnagArticoli; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public AnagBilanceDataTable AnagBilance { + get { + return this.tableAnagBilance; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public AnagCompanyDataTable AnagCompany { + get { + return this.tableAnagCompany; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public AnagImpiantiDataTable AnagImpianti { + get { + return this.tableAnagImpianti; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public AnagOdpDataTable AnagOdp { + get { + return this.tableAnagOdp; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public AnagSitiDataTable AnagSiti { + get { + return this.tableAnagSiti; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public AnagStatiDataTable AnagStati { + get { + return this.tableAnagStati; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public ContatoriUdcDataTable ContatoriUdc { + get { + return this.tableContatoriUdc; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public Impianti2ArticoliDataTable Impianti2Articoli { + get { + return this.tableImpianti2Articoli; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public TabStatoOdpUdcDataTable TabStatoOdpUdc { + get { + return this.tableTabStatoOdpUdc; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public stp_getStatoByUdcDataTable stp_getStatoByUdc { + get { + return this.tablestp_getStatoByUdc; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public stp_insNewOdpUdcDataTable stp_insNewOdpUdc { + get { + return this.tablestp_insNewOdpUdc; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public stp_updateByBilanciaDataTable stp_updateByBilancia { + get { + return this.tablestp_updateByBilancia; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public stp_prtCartByUDCDataTable stp_prtCartByUDC { + get { + return this.tablestp_prtCartByUDC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public stp_prtCartMatPrimaByUDCDataTable stp_prtCartMatPrimaByUDC { + get { + return this.tablestp_prtCartMatPrimaByUDC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.BrowsableAttribute(true)] + [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)] + public override global::System.Data.SchemaSerializationMode SchemaSerializationMode { + get { + return this._schemaSerializationMode; + } + set { + this._schemaSerializationMode = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public new global::System.Data.DataTableCollection Tables { + get { + return base.Tables; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public new global::System.Data.DataRelationCollection Relations { + get { + return base.Relations; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void InitializeDerivedDataSet() { + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataSet Clone() { + GMWDataSet cln = ((GMWDataSet)(base.Clone())); + cln.InitVars(); + cln.SchemaSerializationMode = this.SchemaSerializationMode; + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override bool ShouldSerializeTables() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override bool ShouldSerializeRelations() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) { + if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { + this.Reset(); + global::System.Data.DataSet ds = new global::System.Data.DataSet(); + ds.ReadXml(reader); + if ((ds.Tables["AnagArticoli"] != null)) { + base.Tables.Add(new AnagArticoliDataTable(ds.Tables["AnagArticoli"])); + } + if ((ds.Tables["AnagBilance"] != null)) { + base.Tables.Add(new AnagBilanceDataTable(ds.Tables["AnagBilance"])); + } + if ((ds.Tables["AnagCompany"] != null)) { + base.Tables.Add(new AnagCompanyDataTable(ds.Tables["AnagCompany"])); + } + if ((ds.Tables["AnagImpianti"] != null)) { + base.Tables.Add(new AnagImpiantiDataTable(ds.Tables["AnagImpianti"])); + } + if ((ds.Tables["AnagOdp"] != null)) { + base.Tables.Add(new AnagOdpDataTable(ds.Tables["AnagOdp"])); + } + if ((ds.Tables["AnagSiti"] != null)) { + base.Tables.Add(new AnagSitiDataTable(ds.Tables["AnagSiti"])); + } + if ((ds.Tables["AnagStati"] != null)) { + base.Tables.Add(new AnagStatiDataTable(ds.Tables["AnagStati"])); + } + if ((ds.Tables["ContatoriUdc"] != null)) { + base.Tables.Add(new ContatoriUdcDataTable(ds.Tables["ContatoriUdc"])); + } + if ((ds.Tables["Impianti2Articoli"] != null)) { + base.Tables.Add(new Impianti2ArticoliDataTable(ds.Tables["Impianti2Articoli"])); + } + if ((ds.Tables["TabStatoOdpUdc"] != null)) { + base.Tables.Add(new TabStatoOdpUdcDataTable(ds.Tables["TabStatoOdpUdc"])); + } + if ((ds.Tables["stp_getStatoByUdc"] != null)) { + base.Tables.Add(new stp_getStatoByUdcDataTable(ds.Tables["stp_getStatoByUdc"])); + } + if ((ds.Tables["stp_insNewOdpUdc"] != null)) { + base.Tables.Add(new stp_insNewOdpUdcDataTable(ds.Tables["stp_insNewOdpUdc"])); + } + if ((ds.Tables["stp_updateByBilancia"] != null)) { + base.Tables.Add(new stp_updateByBilanciaDataTable(ds.Tables["stp_updateByBilancia"])); + } + if ((ds.Tables["stp_prtCartByUDC"] != null)) { + base.Tables.Add(new stp_prtCartByUDCDataTable(ds.Tables["stp_prtCartByUDC"])); + } + if ((ds.Tables["stp_prtCartMatPrimaByUDC"] != null)) { + base.Tables.Add(new stp_prtCartMatPrimaByUDCDataTable(ds.Tables["stp_prtCartMatPrimaByUDC"])); + } + this.DataSetName = ds.DataSetName; + this.Prefix = ds.Prefix; + this.Namespace = ds.Namespace; + this.Locale = ds.Locale; + this.CaseSensitive = ds.CaseSensitive; + this.EnforceConstraints = ds.EnforceConstraints; + this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add); + this.InitVars(); + } + else { + this.ReadXml(reader); + this.InitVars(); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() { + global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream(); + this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null)); + stream.Position = 0; + return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.InitVars(true); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars(bool initTable) { + this.tableAnagArticoli = ((AnagArticoliDataTable)(base.Tables["AnagArticoli"])); + if ((initTable == true)) { + if ((this.tableAnagArticoli != null)) { + this.tableAnagArticoli.InitVars(); + } + } + this.tableAnagBilance = ((AnagBilanceDataTable)(base.Tables["AnagBilance"])); + if ((initTable == true)) { + if ((this.tableAnagBilance != null)) { + this.tableAnagBilance.InitVars(); + } + } + this.tableAnagCompany = ((AnagCompanyDataTable)(base.Tables["AnagCompany"])); + if ((initTable == true)) { + if ((this.tableAnagCompany != null)) { + this.tableAnagCompany.InitVars(); + } + } + this.tableAnagImpianti = ((AnagImpiantiDataTable)(base.Tables["AnagImpianti"])); + if ((initTable == true)) { + if ((this.tableAnagImpianti != null)) { + this.tableAnagImpianti.InitVars(); + } + } + this.tableAnagOdp = ((AnagOdpDataTable)(base.Tables["AnagOdp"])); + if ((initTable == true)) { + if ((this.tableAnagOdp != null)) { + this.tableAnagOdp.InitVars(); + } + } + this.tableAnagSiti = ((AnagSitiDataTable)(base.Tables["AnagSiti"])); + if ((initTable == true)) { + if ((this.tableAnagSiti != null)) { + this.tableAnagSiti.InitVars(); + } + } + this.tableAnagStati = ((AnagStatiDataTable)(base.Tables["AnagStati"])); + if ((initTable == true)) { + if ((this.tableAnagStati != null)) { + this.tableAnagStati.InitVars(); + } + } + this.tableContatoriUdc = ((ContatoriUdcDataTable)(base.Tables["ContatoriUdc"])); + if ((initTable == true)) { + if ((this.tableContatoriUdc != null)) { + this.tableContatoriUdc.InitVars(); + } + } + this.tableImpianti2Articoli = ((Impianti2ArticoliDataTable)(base.Tables["Impianti2Articoli"])); + if ((initTable == true)) { + if ((this.tableImpianti2Articoli != null)) { + this.tableImpianti2Articoli.InitVars(); + } + } + this.tableTabStatoOdpUdc = ((TabStatoOdpUdcDataTable)(base.Tables["TabStatoOdpUdc"])); + if ((initTable == true)) { + if ((this.tableTabStatoOdpUdc != null)) { + this.tableTabStatoOdpUdc.InitVars(); + } + } + this.tablestp_getStatoByUdc = ((stp_getStatoByUdcDataTable)(base.Tables["stp_getStatoByUdc"])); + if ((initTable == true)) { + if ((this.tablestp_getStatoByUdc != null)) { + this.tablestp_getStatoByUdc.InitVars(); + } + } + this.tablestp_insNewOdpUdc = ((stp_insNewOdpUdcDataTable)(base.Tables["stp_insNewOdpUdc"])); + if ((initTable == true)) { + if ((this.tablestp_insNewOdpUdc != null)) { + this.tablestp_insNewOdpUdc.InitVars(); + } + } + this.tablestp_updateByBilancia = ((stp_updateByBilanciaDataTable)(base.Tables["stp_updateByBilancia"])); + if ((initTable == true)) { + if ((this.tablestp_updateByBilancia != null)) { + this.tablestp_updateByBilancia.InitVars(); + } + } + this.tablestp_prtCartByUDC = ((stp_prtCartByUDCDataTable)(base.Tables["stp_prtCartByUDC"])); + if ((initTable == true)) { + if ((this.tablestp_prtCartByUDC != null)) { + this.tablestp_prtCartByUDC.InitVars(); + } + } + this.tablestp_prtCartMatPrimaByUDC = ((stp_prtCartMatPrimaByUDCDataTable)(base.Tables["stp_prtCartMatPrimaByUDC"])); + if ((initTable == true)) { + if ((this.tablestp_prtCartMatPrimaByUDC != null)) { + this.tablestp_prtCartMatPrimaByUDC.InitVars(); + } + } + this.relationFK_AnagBilance_AnagSiti = this.Relations["FK_AnagBilance_AnagSiti"]; + this.relationFK_AnagImpianti_AnagSiti = this.Relations["FK_AnagImpianti_AnagSiti"]; + this.relationFK_AnagOdp_AnagCompany = this.Relations["FK_AnagOdp_AnagCompany"]; + this.relationFK_AnagSiti_AnagCompany = this.Relations["FK_AnagSiti_AnagCompany"]; + this.relationFK_Impianti2Articoli_AnagArticoli = this.Relations["FK_Impianti2Articoli_AnagArticoli"]; + this.relationFK_Impianti2Articoli_AnagImpianti = this.Relations["FK_Impianti2Articoli_AnagImpianti"]; + this.relationFK_TabStatoOdpUdc_AnagOdp = this.Relations["FK_TabStatoOdpUdc_AnagOdp"]; + this.relationFK_TabStatoOdpUdc_AnagStati = this.Relations["FK_TabStatoOdpUdc_AnagStati"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.DataSetName = "GMWDataSet"; + this.Prefix = ""; + this.Namespace = "http://tempuri.org/GMWDataSet.xsd"; + this.EnforceConstraints = true; + this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; + this.tableAnagArticoli = new AnagArticoliDataTable(); + base.Tables.Add(this.tableAnagArticoli); + this.tableAnagBilance = new AnagBilanceDataTable(); + base.Tables.Add(this.tableAnagBilance); + this.tableAnagCompany = new AnagCompanyDataTable(); + base.Tables.Add(this.tableAnagCompany); + this.tableAnagImpianti = new AnagImpiantiDataTable(); + base.Tables.Add(this.tableAnagImpianti); + this.tableAnagOdp = new AnagOdpDataTable(); + base.Tables.Add(this.tableAnagOdp); + this.tableAnagSiti = new AnagSitiDataTable(); + base.Tables.Add(this.tableAnagSiti); + this.tableAnagStati = new AnagStatiDataTable(); + base.Tables.Add(this.tableAnagStati); + this.tableContatoriUdc = new ContatoriUdcDataTable(); + base.Tables.Add(this.tableContatoriUdc); + this.tableImpianti2Articoli = new Impianti2ArticoliDataTable(); + base.Tables.Add(this.tableImpianti2Articoli); + this.tableTabStatoOdpUdc = new TabStatoOdpUdcDataTable(); + base.Tables.Add(this.tableTabStatoOdpUdc); + this.tablestp_getStatoByUdc = new stp_getStatoByUdcDataTable(); + base.Tables.Add(this.tablestp_getStatoByUdc); + this.tablestp_insNewOdpUdc = new stp_insNewOdpUdcDataTable(); + base.Tables.Add(this.tablestp_insNewOdpUdc); + this.tablestp_updateByBilancia = new stp_updateByBilanciaDataTable(); + base.Tables.Add(this.tablestp_updateByBilancia); + this.tablestp_prtCartByUDC = new stp_prtCartByUDCDataTable(); + base.Tables.Add(this.tablestp_prtCartByUDC); + this.tablestp_prtCartMatPrimaByUDC = new stp_prtCartMatPrimaByUDCDataTable(); + base.Tables.Add(this.tablestp_prtCartMatPrimaByUDC); + this.relationFK_AnagBilance_AnagSiti = new global::System.Data.DataRelation("FK_AnagBilance_AnagSiti", new global::System.Data.DataColumn[] { + this.tableAnagSiti.CodCompanyColumn, + this.tableAnagSiti.CodSitoColumn}, new global::System.Data.DataColumn[] { + this.tableAnagBilance.CodCompanyColumn, + this.tableAnagBilance.CodSitoColumn}, false); + this.Relations.Add(this.relationFK_AnagBilance_AnagSiti); + this.relationFK_AnagImpianti_AnagSiti = new global::System.Data.DataRelation("FK_AnagImpianti_AnagSiti", new global::System.Data.DataColumn[] { + this.tableAnagSiti.CodCompanyColumn, + this.tableAnagSiti.CodSitoColumn}, new global::System.Data.DataColumn[] { + this.tableAnagImpianti.CodCompanyColumn, + this.tableAnagImpianti.CodSitoColumn}, false); + this.Relations.Add(this.relationFK_AnagImpianti_AnagSiti); + this.relationFK_AnagOdp_AnagCompany = new global::System.Data.DataRelation("FK_AnagOdp_AnagCompany", new global::System.Data.DataColumn[] { + this.tableAnagCompany.CodCompanyColumn}, new global::System.Data.DataColumn[] { + this.tableAnagOdp.CodCompanyColumn}, false); + this.Relations.Add(this.relationFK_AnagOdp_AnagCompany); + this.relationFK_AnagSiti_AnagCompany = new global::System.Data.DataRelation("FK_AnagSiti_AnagCompany", new global::System.Data.DataColumn[] { + this.tableAnagCompany.CodCompanyColumn}, new global::System.Data.DataColumn[] { + this.tableAnagSiti.CodCompanyColumn}, false); + this.Relations.Add(this.relationFK_AnagSiti_AnagCompany); + this.relationFK_Impianti2Articoli_AnagArticoli = new global::System.Data.DataRelation("FK_Impianti2Articoli_AnagArticoli", new global::System.Data.DataColumn[] { + this.tableAnagArticoli.CodArticoloColumn}, new global::System.Data.DataColumn[] { + this.tableImpianti2Articoli.CodArticoloColumn}, false); + this.Relations.Add(this.relationFK_Impianti2Articoli_AnagArticoli); + this.relationFK_Impianti2Articoli_AnagImpianti = new global::System.Data.DataRelation("FK_Impianti2Articoli_AnagImpianti", new global::System.Data.DataColumn[] { + this.tableAnagImpianti.CodImpiantoColumn}, new global::System.Data.DataColumn[] { + this.tableImpianti2Articoli.CodImpiantoColumn}, false); + this.Relations.Add(this.relationFK_Impianti2Articoli_AnagImpianti); + this.relationFK_TabStatoOdpUdc_AnagOdp = new global::System.Data.DataRelation("FK_TabStatoOdpUdc_AnagOdp", new global::System.Data.DataColumn[] { + this.tableAnagOdp.CodCompanyColumn, + this.tableAnagOdp.ODPColumn}, new global::System.Data.DataColumn[] { + this.tableTabStatoOdpUdc.CodCompanyColumn, + this.tableTabStatoOdpUdc.ODPColumn}, false); + this.Relations.Add(this.relationFK_TabStatoOdpUdc_AnagOdp); + this.relationFK_TabStatoOdpUdc_AnagStati = new global::System.Data.DataRelation("FK_TabStatoOdpUdc_AnagStati", new global::System.Data.DataColumn[] { + this.tableAnagStati.IdxStatoColumn}, new global::System.Data.DataColumn[] { + this.tableTabStatoOdpUdc.IdxStatoColumn}, false); + this.Relations.Add(this.relationFK_TabStatoOdpUdc_AnagStati); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializeAnagArticoli() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializeAnagBilance() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializeAnagCompany() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializeAnagImpianti() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializeAnagOdp() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializeAnagSiti() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializeAnagStati() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializeContatoriUdc() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializeImpianti2Articoli() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializeTabStatoOdpUdc() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializestp_getStatoByUdc() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializestp_insNewOdpUdc() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializestp_updateByBilancia() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializestp_prtCartByUDC() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializestp_prtCartMatPrimaByUDC() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { + if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) { + this.InitVars(); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + GMWDataSet ds = new GMWDataSet(); + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny(); + any.Namespace = ds.Namespace; + sequence.Items.Add(any); + 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; + } + + public delegate void AnagArticoliRowChangeEventHandler(object sender, AnagArticoliRowChangeEvent e); + + public delegate void AnagBilanceRowChangeEventHandler(object sender, AnagBilanceRowChangeEvent e); + + public delegate void AnagCompanyRowChangeEventHandler(object sender, AnagCompanyRowChangeEvent e); + + public delegate void AnagImpiantiRowChangeEventHandler(object sender, AnagImpiantiRowChangeEvent e); + + public delegate void AnagOdpRowChangeEventHandler(object sender, AnagOdpRowChangeEvent e); + + public delegate void AnagSitiRowChangeEventHandler(object sender, AnagSitiRowChangeEvent e); + + public delegate void AnagStatiRowChangeEventHandler(object sender, AnagStatiRowChangeEvent e); + + public delegate void ContatoriUdcRowChangeEventHandler(object sender, ContatoriUdcRowChangeEvent e); + + public delegate void Impianti2ArticoliRowChangeEventHandler(object sender, Impianti2ArticoliRowChangeEvent e); + + public delegate void TabStatoOdpUdcRowChangeEventHandler(object sender, TabStatoOdpUdcRowChangeEvent e); + + public delegate void stp_getStatoByUdcRowChangeEventHandler(object sender, stp_getStatoByUdcRowChangeEvent e); + + public delegate void stp_insNewOdpUdcRowChangeEventHandler(object sender, stp_insNewOdpUdcRowChangeEvent e); + + public delegate void stp_updateByBilanciaRowChangeEventHandler(object sender, stp_updateByBilanciaRowChangeEvent e); + + public delegate void stp_prtCartByUDCRowChangeEventHandler(object sender, stp_prtCartByUDCRowChangeEvent e); + + public delegate void stp_prtCartMatPrimaByUDCRowChangeEventHandler(object sender, stp_prtCartMatPrimaByUDCRowChangeEvent e); + + /// + ///Represents the strongly named DataTable class. + /// + [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 AnagArticoliDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodArticolo; + + private global::System.Data.DataColumn columnDescrArticolo; + + private global::System.Data.DataColumn columnFigura; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagArticoliDataTable() { + this.TableName = "AnagArticoli"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal AnagArticoliDataTable(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 AnagArticoliDataTable(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 CodArticoloColumn { + get { + return this.columnCodArticolo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn DescrArticoloColumn { + get { + return this.columnDescrArticolo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn FiguraColumn { + get { + return this.columnFigura; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagArticoliRow this[int index] { + get { + return ((AnagArticoliRow)(this.Rows[index])); + } + } + + public event AnagArticoliRowChangeEventHandler AnagArticoliRowChanging; + + public event AnagArticoliRowChangeEventHandler AnagArticoliRowChanged; + + public event AnagArticoliRowChangeEventHandler AnagArticoliRowDeleting; + + public event AnagArticoliRowChangeEventHandler AnagArticoliRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void AddAnagArticoliRow(AnagArticoliRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagArticoliRow AddAnagArticoliRow(string CodArticolo, string DescrArticolo, string Figura) { + AnagArticoliRow rowAnagArticoliRow = ((AnagArticoliRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CodArticolo, + DescrArticolo, + Figura}; + rowAnagArticoliRow.ItemArray = columnValuesArray; + this.Rows.Add(rowAnagArticoliRow); + return rowAnagArticoliRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagArticoliRow FindByCodArticolo(string CodArticolo) { + return ((AnagArticoliRow)(this.Rows.Find(new object[] { + CodArticolo}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + AnagArticoliDataTable cln = ((AnagArticoliDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new AnagArticoliDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnCodArticolo = base.Columns["CodArticolo"]; + this.columnDescrArticolo = base.Columns["DescrArticolo"]; + this.columnFigura = base.Columns["Figura"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnCodArticolo = new global::System.Data.DataColumn("CodArticolo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodArticolo); + this.columnDescrArticolo = new global::System.Data.DataColumn("DescrArticolo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescrArticolo); + this.columnFigura = new global::System.Data.DataColumn("Figura", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnFigura); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodArticolo}, true)); + this.columnCodArticolo.AllowDBNull = false; + this.columnCodArticolo.Unique = true; + this.columnCodArticolo.MaxLength = 50; + this.columnDescrArticolo.MaxLength = 50; + this.columnFigura.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagArticoliRow NewAnagArticoliRow() { + return ((AnagArticoliRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new AnagArticoliRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(AnagArticoliRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.AnagArticoliRowChanged != null)) { + this.AnagArticoliRowChanged(this, new AnagArticoliRowChangeEvent(((AnagArticoliRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.AnagArticoliRowChanging != null)) { + this.AnagArticoliRowChanging(this, new AnagArticoliRowChangeEvent(((AnagArticoliRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.AnagArticoliRowDeleted != null)) { + this.AnagArticoliRowDeleted(this, new AnagArticoliRowChangeEvent(((AnagArticoliRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.AnagArticoliRowDeleting != null)) { + this.AnagArticoliRowDeleting(this, new AnagArticoliRowChangeEvent(((AnagArticoliRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void RemoveAnagArticoliRow(AnagArticoliRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + GMWDataSet ds = new GMWDataSet(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "AnagArticoliDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class AnagBilanceDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodBilancia; + + private global::System.Data.DataColumn columnDescrImpianto; + + private global::System.Data.DataColumn columnCodCompany; + + private global::System.Data.DataColumn columnCodSito; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagBilanceDataTable() { + this.TableName = "AnagBilance"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal AnagBilanceDataTable(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 AnagBilanceDataTable(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 CodBilanciaColumn { + get { + return this.columnCodBilancia; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn DescrImpiantoColumn { + get { + return this.columnDescrImpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn CodCompanyColumn { + get { + return this.columnCodCompany; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn CodSitoColumn { + get { + return this.columnCodSito; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagBilanceRow this[int index] { + get { + return ((AnagBilanceRow)(this.Rows[index])); + } + } + + public event AnagBilanceRowChangeEventHandler AnagBilanceRowChanging; + + public event AnagBilanceRowChangeEventHandler AnagBilanceRowChanged; + + public event AnagBilanceRowChangeEventHandler AnagBilanceRowDeleting; + + public event AnagBilanceRowChangeEventHandler AnagBilanceRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void AddAnagBilanceRow(AnagBilanceRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagBilanceRow AddAnagBilanceRow(string CodBilancia, string DescrImpianto, string CodCompany, string CodSito) { + AnagBilanceRow rowAnagBilanceRow = ((AnagBilanceRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CodBilancia, + DescrImpianto, + CodCompany, + CodSito}; + rowAnagBilanceRow.ItemArray = columnValuesArray; + this.Rows.Add(rowAnagBilanceRow); + return rowAnagBilanceRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagBilanceRow FindByCodBilancia(string CodBilancia) { + return ((AnagBilanceRow)(this.Rows.Find(new object[] { + CodBilancia}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + AnagBilanceDataTable cln = ((AnagBilanceDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new AnagBilanceDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnCodBilancia = base.Columns["CodBilancia"]; + this.columnDescrImpianto = base.Columns["DescrImpianto"]; + this.columnCodCompany = base.Columns["CodCompany"]; + this.columnCodSito = base.Columns["CodSito"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnCodBilancia = new global::System.Data.DataColumn("CodBilancia", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodBilancia); + this.columnDescrImpianto = new global::System.Data.DataColumn("DescrImpianto", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescrImpianto); + this.columnCodCompany = new global::System.Data.DataColumn("CodCompany", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCompany); + this.columnCodSito = new global::System.Data.DataColumn("CodSito", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodSito); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodBilancia}, true)); + this.columnCodBilancia.AllowDBNull = false; + this.columnCodBilancia.Unique = true; + this.columnCodBilancia.MaxLength = 50; + this.columnDescrImpianto.MaxLength = 50; + this.columnCodCompany.MaxLength = 4; + this.columnCodSito.MaxLength = 10; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagBilanceRow NewAnagBilanceRow() { + return ((AnagBilanceRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new AnagBilanceRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(AnagBilanceRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.AnagBilanceRowChanged != null)) { + this.AnagBilanceRowChanged(this, new AnagBilanceRowChangeEvent(((AnagBilanceRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.AnagBilanceRowChanging != null)) { + this.AnagBilanceRowChanging(this, new AnagBilanceRowChangeEvent(((AnagBilanceRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.AnagBilanceRowDeleted != null)) { + this.AnagBilanceRowDeleted(this, new AnagBilanceRowChangeEvent(((AnagBilanceRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.AnagBilanceRowDeleting != null)) { + this.AnagBilanceRowDeleting(this, new AnagBilanceRowChangeEvent(((AnagBilanceRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void RemoveAnagBilanceRow(AnagBilanceRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + GMWDataSet ds = new GMWDataSet(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "AnagBilanceDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class AnagCompanyDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodCompany; + + private global::System.Data.DataColumn columnDescrCompany; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagCompanyDataTable() { + this.TableName = "AnagCompany"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal AnagCompanyDataTable(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 AnagCompanyDataTable(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 CodCompanyColumn { + get { + return this.columnCodCompany; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn DescrCompanyColumn { + get { + return this.columnDescrCompany; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagCompanyRow this[int index] { + get { + return ((AnagCompanyRow)(this.Rows[index])); + } + } + + public event AnagCompanyRowChangeEventHandler AnagCompanyRowChanging; + + public event AnagCompanyRowChangeEventHandler AnagCompanyRowChanged; + + public event AnagCompanyRowChangeEventHandler AnagCompanyRowDeleting; + + public event AnagCompanyRowChangeEventHandler AnagCompanyRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void AddAnagCompanyRow(AnagCompanyRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagCompanyRow AddAnagCompanyRow(string CodCompany, string DescrCompany) { + AnagCompanyRow rowAnagCompanyRow = ((AnagCompanyRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CodCompany, + DescrCompany}; + rowAnagCompanyRow.ItemArray = columnValuesArray; + this.Rows.Add(rowAnagCompanyRow); + return rowAnagCompanyRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagCompanyRow FindByCodCompany(string CodCompany) { + return ((AnagCompanyRow)(this.Rows.Find(new object[] { + CodCompany}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + AnagCompanyDataTable cln = ((AnagCompanyDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new AnagCompanyDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnCodCompany = base.Columns["CodCompany"]; + this.columnDescrCompany = base.Columns["DescrCompany"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnCodCompany = new global::System.Data.DataColumn("CodCompany", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCompany); + this.columnDescrCompany = new global::System.Data.DataColumn("DescrCompany", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescrCompany); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodCompany}, true)); + this.columnCodCompany.AllowDBNull = false; + this.columnCodCompany.Unique = true; + this.columnCodCompany.MaxLength = 4; + this.columnDescrCompany.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagCompanyRow NewAnagCompanyRow() { + return ((AnagCompanyRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new AnagCompanyRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(AnagCompanyRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.AnagCompanyRowChanged != null)) { + this.AnagCompanyRowChanged(this, new AnagCompanyRowChangeEvent(((AnagCompanyRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.AnagCompanyRowChanging != null)) { + this.AnagCompanyRowChanging(this, new AnagCompanyRowChangeEvent(((AnagCompanyRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.AnagCompanyRowDeleted != null)) { + this.AnagCompanyRowDeleted(this, new AnagCompanyRowChangeEvent(((AnagCompanyRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.AnagCompanyRowDeleting != null)) { + this.AnagCompanyRowDeleting(this, new AnagCompanyRowChangeEvent(((AnagCompanyRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void RemoveAnagCompanyRow(AnagCompanyRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + GMWDataSet ds = new GMWDataSet(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "AnagCompanyDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class AnagImpiantiDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodImpianto; + + private global::System.Data.DataColumn columnDescrImpianto; + + private global::System.Data.DataColumn columnCodCompany; + + private global::System.Data.DataColumn columnCodSito; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagImpiantiDataTable() { + this.TableName = "AnagImpianti"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal AnagImpiantiDataTable(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 AnagImpiantiDataTable(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 CodImpiantoColumn { + get { + return this.columnCodImpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn DescrImpiantoColumn { + get { + return this.columnDescrImpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn CodCompanyColumn { + get { + return this.columnCodCompany; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn CodSitoColumn { + get { + return this.columnCodSito; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagImpiantiRow this[int index] { + get { + return ((AnagImpiantiRow)(this.Rows[index])); + } + } + + public event AnagImpiantiRowChangeEventHandler AnagImpiantiRowChanging; + + public event AnagImpiantiRowChangeEventHandler AnagImpiantiRowChanged; + + public event AnagImpiantiRowChangeEventHandler AnagImpiantiRowDeleting; + + public event AnagImpiantiRowChangeEventHandler AnagImpiantiRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void AddAnagImpiantiRow(AnagImpiantiRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagImpiantiRow AddAnagImpiantiRow(string CodImpianto, string DescrImpianto, string CodCompany, string CodSito) { + AnagImpiantiRow rowAnagImpiantiRow = ((AnagImpiantiRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CodImpianto, + DescrImpianto, + CodCompany, + CodSito}; + rowAnagImpiantiRow.ItemArray = columnValuesArray; + this.Rows.Add(rowAnagImpiantiRow); + return rowAnagImpiantiRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagImpiantiRow FindByCodImpianto(string CodImpianto) { + return ((AnagImpiantiRow)(this.Rows.Find(new object[] { + CodImpianto}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + AnagImpiantiDataTable cln = ((AnagImpiantiDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new AnagImpiantiDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnCodImpianto = base.Columns["CodImpianto"]; + this.columnDescrImpianto = base.Columns["DescrImpianto"]; + this.columnCodCompany = base.Columns["CodCompany"]; + this.columnCodSito = base.Columns["CodSito"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnCodImpianto = new global::System.Data.DataColumn("CodImpianto", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodImpianto); + this.columnDescrImpianto = new global::System.Data.DataColumn("DescrImpianto", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescrImpianto); + this.columnCodCompany = new global::System.Data.DataColumn("CodCompany", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCompany); + this.columnCodSito = new global::System.Data.DataColumn("CodSito", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodSito); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodImpianto}, true)); + this.columnCodImpianto.AllowDBNull = false; + this.columnCodImpianto.Unique = true; + this.columnCodImpianto.MaxLength = 50; + this.columnDescrImpianto.MaxLength = 50; + this.columnCodCompany.MaxLength = 4; + this.columnCodSito.MaxLength = 10; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagImpiantiRow NewAnagImpiantiRow() { + return ((AnagImpiantiRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new AnagImpiantiRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(AnagImpiantiRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.AnagImpiantiRowChanged != null)) { + this.AnagImpiantiRowChanged(this, new AnagImpiantiRowChangeEvent(((AnagImpiantiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.AnagImpiantiRowChanging != null)) { + this.AnagImpiantiRowChanging(this, new AnagImpiantiRowChangeEvent(((AnagImpiantiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.AnagImpiantiRowDeleted != null)) { + this.AnagImpiantiRowDeleted(this, new AnagImpiantiRowChangeEvent(((AnagImpiantiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.AnagImpiantiRowDeleting != null)) { + this.AnagImpiantiRowDeleting(this, new AnagImpiantiRowChangeEvent(((AnagImpiantiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void RemoveAnagImpiantiRow(AnagImpiantiRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + GMWDataSet ds = new GMWDataSet(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "AnagImpiantiDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class AnagOdpDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodCompany; + + private global::System.Data.DataColumn columnODP; + + private global::System.Data.DataColumn columnCodArticolo; + + private global::System.Data.DataColumn columnCodDisegno; + + private global::System.Data.DataColumn columnEsponente; + + private global::System.Data.DataColumn columnMagazzino; + + private global::System.Data.DataColumn columnUbicazione; + + private global::System.Data.DataColumn columnCreateDate; + + private global::System.Data.DataColumn columnModDate; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagOdpDataTable() { + this.TableName = "AnagOdp"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal AnagOdpDataTable(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 AnagOdpDataTable(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 CodCompanyColumn { + get { + return this.columnCodCompany; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn ODPColumn { + get { + return this.columnODP; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn CodArticoloColumn { + get { + return this.columnCodArticolo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn CodDisegnoColumn { + get { + return this.columnCodDisegno; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn EsponenteColumn { + get { + return this.columnEsponente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn MagazzinoColumn { + get { + return this.columnMagazzino; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn UbicazioneColumn { + get { + return this.columnUbicazione; + } + } + + [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()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagOdpRow this[int index] { + get { + return ((AnagOdpRow)(this.Rows[index])); + } + } + + public event AnagOdpRowChangeEventHandler AnagOdpRowChanging; + + public event AnagOdpRowChangeEventHandler AnagOdpRowChanged; + + public event AnagOdpRowChangeEventHandler AnagOdpRowDeleting; + + public event AnagOdpRowChangeEventHandler AnagOdpRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void AddAnagOdpRow(AnagOdpRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagOdpRow AddAnagOdpRow(AnagCompanyRow parentAnagCompanyRowByFK_AnagOdp_AnagCompany, string ODP, string CodArticolo, string CodDisegno, string Esponente, string Magazzino, string Ubicazione, System.DateTime CreateDate, System.DateTime ModDate) { + AnagOdpRow rowAnagOdpRow = ((AnagOdpRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + ODP, + CodArticolo, + CodDisegno, + Esponente, + Magazzino, + Ubicazione, + CreateDate, + ModDate}; + if ((parentAnagCompanyRowByFK_AnagOdp_AnagCompany != null)) { + columnValuesArray[0] = parentAnagCompanyRowByFK_AnagOdp_AnagCompany[0]; + } + rowAnagOdpRow.ItemArray = columnValuesArray; + this.Rows.Add(rowAnagOdpRow); + return rowAnagOdpRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagOdpRow FindByCodCompanyODP(string CodCompany, string ODP) { + return ((AnagOdpRow)(this.Rows.Find(new object[] { + CodCompany, + ODP}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + AnagOdpDataTable cln = ((AnagOdpDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new AnagOdpDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnCodCompany = base.Columns["CodCompany"]; + this.columnODP = base.Columns["ODP"]; + this.columnCodArticolo = base.Columns["CodArticolo"]; + this.columnCodDisegno = base.Columns["CodDisegno"]; + this.columnEsponente = base.Columns["Esponente"]; + this.columnMagazzino = base.Columns["Magazzino"]; + this.columnUbicazione = base.Columns["Ubicazione"]; + this.columnCreateDate = base.Columns["CreateDate"]; + this.columnModDate = base.Columns["ModDate"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnCodCompany = new global::System.Data.DataColumn("CodCompany", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCompany); + this.columnODP = new global::System.Data.DataColumn("ODP", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnODP); + this.columnCodArticolo = new global::System.Data.DataColumn("CodArticolo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodArticolo); + this.columnCodDisegno = new global::System.Data.DataColumn("CodDisegno", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodDisegno); + this.columnEsponente = new global::System.Data.DataColumn("Esponente", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnEsponente); + this.columnMagazzino = new global::System.Data.DataColumn("Magazzino", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnMagazzino); + this.columnUbicazione = new global::System.Data.DataColumn("Ubicazione", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnUbicazione); + 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.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodCompany, + this.columnODP}, true)); + this.columnCodCompany.AllowDBNull = false; + this.columnCodCompany.MaxLength = 4; + this.columnODP.AllowDBNull = false; + this.columnODP.MaxLength = 20; + this.columnCodArticolo.AllowDBNull = false; + this.columnCodArticolo.MaxLength = 20; + this.columnCodDisegno.AllowDBNull = false; + this.columnCodDisegno.MaxLength = 10; + this.columnEsponente.AllowDBNull = false; + this.columnEsponente.MaxLength = 20; + this.columnMagazzino.AllowDBNull = false; + this.columnMagazzino.MaxLength = 10; + this.columnUbicazione.AllowDBNull = false; + this.columnUbicazione.MaxLength = 10; + this.columnCreateDate.AllowDBNull = false; + this.columnModDate.AllowDBNull = false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagOdpRow NewAnagOdpRow() { + return ((AnagOdpRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new AnagOdpRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(AnagOdpRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.AnagOdpRowChanged != null)) { + this.AnagOdpRowChanged(this, new AnagOdpRowChangeEvent(((AnagOdpRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.AnagOdpRowChanging != null)) { + this.AnagOdpRowChanging(this, new AnagOdpRowChangeEvent(((AnagOdpRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.AnagOdpRowDeleted != null)) { + this.AnagOdpRowDeleted(this, new AnagOdpRowChangeEvent(((AnagOdpRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.AnagOdpRowDeleting != null)) { + this.AnagOdpRowDeleting(this, new AnagOdpRowChangeEvent(((AnagOdpRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void RemoveAnagOdpRow(AnagOdpRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + GMWDataSet ds = new GMWDataSet(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "AnagOdpDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class AnagSitiDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodCompany; + + private global::System.Data.DataColumn columnCodSito; + + private global::System.Data.DataColumn columnDescrSito; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagSitiDataTable() { + this.TableName = "AnagSiti"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal AnagSitiDataTable(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 AnagSitiDataTable(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 CodCompanyColumn { + get { + return this.columnCodCompany; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn CodSitoColumn { + get { + return this.columnCodSito; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn DescrSitoColumn { + get { + return this.columnDescrSito; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagSitiRow this[int index] { + get { + return ((AnagSitiRow)(this.Rows[index])); + } + } + + public event AnagSitiRowChangeEventHandler AnagSitiRowChanging; + + public event AnagSitiRowChangeEventHandler AnagSitiRowChanged; + + public event AnagSitiRowChangeEventHandler AnagSitiRowDeleting; + + public event AnagSitiRowChangeEventHandler AnagSitiRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void AddAnagSitiRow(AnagSitiRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagSitiRow AddAnagSitiRow(AnagCompanyRow parentAnagCompanyRowByFK_AnagSiti_AnagCompany, string CodSito, string DescrSito) { + AnagSitiRow rowAnagSitiRow = ((AnagSitiRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + CodSito, + DescrSito}; + if ((parentAnagCompanyRowByFK_AnagSiti_AnagCompany != null)) { + columnValuesArray[0] = parentAnagCompanyRowByFK_AnagSiti_AnagCompany[0]; + } + rowAnagSitiRow.ItemArray = columnValuesArray; + this.Rows.Add(rowAnagSitiRow); + return rowAnagSitiRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagSitiRow FindByCodCompanyCodSito(string CodCompany, string CodSito) { + return ((AnagSitiRow)(this.Rows.Find(new object[] { + CodCompany, + CodSito}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + AnagSitiDataTable cln = ((AnagSitiDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new AnagSitiDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnCodCompany = base.Columns["CodCompany"]; + this.columnCodSito = base.Columns["CodSito"]; + this.columnDescrSito = base.Columns["DescrSito"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnCodCompany = new global::System.Data.DataColumn("CodCompany", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCompany); + this.columnCodSito = new global::System.Data.DataColumn("CodSito", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodSito); + this.columnDescrSito = new global::System.Data.DataColumn("DescrSito", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescrSito); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodCompany, + this.columnCodSito}, true)); + this.columnCodCompany.AllowDBNull = false; + this.columnCodCompany.MaxLength = 4; + this.columnCodSito.AllowDBNull = false; + this.columnCodSito.MaxLength = 10; + this.columnDescrSito.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagSitiRow NewAnagSitiRow() { + return ((AnagSitiRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new AnagSitiRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(AnagSitiRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.AnagSitiRowChanged != null)) { + this.AnagSitiRowChanged(this, new AnagSitiRowChangeEvent(((AnagSitiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.AnagSitiRowChanging != null)) { + this.AnagSitiRowChanging(this, new AnagSitiRowChangeEvent(((AnagSitiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.AnagSitiRowDeleted != null)) { + this.AnagSitiRowDeleted(this, new AnagSitiRowChangeEvent(((AnagSitiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.AnagSitiRowDeleting != null)) { + this.AnagSitiRowDeleting(this, new AnagSitiRowChangeEvent(((AnagSitiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void RemoveAnagSitiRow(AnagSitiRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + GMWDataSet ds = new GMWDataSet(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "AnagSitiDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class AnagStatiDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnIdxStato; + + private global::System.Data.DataColumn columnDescrStato; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagStatiDataTable() { + this.TableName = "AnagStati"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal AnagStatiDataTable(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 AnagStatiDataTable(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 IdxStatoColumn { + get { + return this.columnIdxStato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn DescrStatoColumn { + get { + return this.columnDescrStato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagStatiRow this[int index] { + get { + return ((AnagStatiRow)(this.Rows[index])); + } + } + + public event AnagStatiRowChangeEventHandler AnagStatiRowChanging; + + public event AnagStatiRowChangeEventHandler AnagStatiRowChanged; + + public event AnagStatiRowChangeEventHandler AnagStatiRowDeleting; + + public event AnagStatiRowChangeEventHandler AnagStatiRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void AddAnagStatiRow(AnagStatiRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagStatiRow AddAnagStatiRow(int IdxStato, string DescrStato) { + AnagStatiRow rowAnagStatiRow = ((AnagStatiRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + IdxStato, + DescrStato}; + rowAnagStatiRow.ItemArray = columnValuesArray; + this.Rows.Add(rowAnagStatiRow); + return rowAnagStatiRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagStatiRow FindByIdxStato(int IdxStato) { + return ((AnagStatiRow)(this.Rows.Find(new object[] { + IdxStato}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + AnagStatiDataTable cln = ((AnagStatiDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new AnagStatiDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnIdxStato = base.Columns["IdxStato"]; + this.columnDescrStato = base.Columns["DescrStato"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnIdxStato = new global::System.Data.DataColumn("IdxStato", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnIdxStato); + this.columnDescrStato = new global::System.Data.DataColumn("DescrStato", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescrStato); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnIdxStato}, true)); + this.columnIdxStato.AllowDBNull = false; + this.columnIdxStato.Unique = true; + this.columnDescrStato.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagStatiRow NewAnagStatiRow() { + return ((AnagStatiRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new AnagStatiRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(AnagStatiRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.AnagStatiRowChanged != null)) { + this.AnagStatiRowChanged(this, new AnagStatiRowChangeEvent(((AnagStatiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.AnagStatiRowChanging != null)) { + this.AnagStatiRowChanging(this, new AnagStatiRowChangeEvent(((AnagStatiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.AnagStatiRowDeleted != null)) { + this.AnagStatiRowDeleted(this, new AnagStatiRowChangeEvent(((AnagStatiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.AnagStatiRowDeleting != null)) { + this.AnagStatiRowDeleting(this, new AnagStatiRowChangeEvent(((AnagStatiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void RemoveAnagStatiRow(AnagStatiRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + GMWDataSet ds = new GMWDataSet(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "AnagStatiDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class ContatoriUdcDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodCompany; + + private global::System.Data.DataColumn columnFlusso; + + private global::System.Data.DataColumn columnAnno; + + private global::System.Data.DataColumn columnLastIdx; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public ContatoriUdcDataTable() { + this.TableName = "ContatoriUdc"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal ContatoriUdcDataTable(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 ContatoriUdcDataTable(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 CodCompanyColumn { + get { + return this.columnCodCompany; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn FlussoColumn { + get { + return this.columnFlusso; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn AnnoColumn { + get { + return this.columnAnno; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn LastIdxColumn { + get { + return this.columnLastIdx; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public ContatoriUdcRow this[int index] { + get { + return ((ContatoriUdcRow)(this.Rows[index])); + } + } + + public event ContatoriUdcRowChangeEventHandler ContatoriUdcRowChanging; + + public event ContatoriUdcRowChangeEventHandler ContatoriUdcRowChanged; + + public event ContatoriUdcRowChangeEventHandler ContatoriUdcRowDeleting; + + public event ContatoriUdcRowChangeEventHandler ContatoriUdcRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void AddContatoriUdcRow(ContatoriUdcRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public ContatoriUdcRow AddContatoriUdcRow(string CodCompany, string Flusso, string Anno, int LastIdx) { + ContatoriUdcRow rowContatoriUdcRow = ((ContatoriUdcRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CodCompany, + Flusso, + Anno, + LastIdx}; + rowContatoriUdcRow.ItemArray = columnValuesArray; + this.Rows.Add(rowContatoriUdcRow); + return rowContatoriUdcRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public ContatoriUdcRow FindByCodCompanyFlussoAnno(string CodCompany, string Flusso, string Anno) { + return ((ContatoriUdcRow)(this.Rows.Find(new object[] { + CodCompany, + Flusso, + Anno}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + ContatoriUdcDataTable cln = ((ContatoriUdcDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new ContatoriUdcDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnCodCompany = base.Columns["CodCompany"]; + this.columnFlusso = base.Columns["Flusso"]; + this.columnAnno = base.Columns["Anno"]; + this.columnLastIdx = base.Columns["LastIdx"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnCodCompany = new global::System.Data.DataColumn("CodCompany", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCompany); + this.columnFlusso = new global::System.Data.DataColumn("Flusso", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnFlusso); + this.columnAnno = new global::System.Data.DataColumn("Anno", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnAnno); + this.columnLastIdx = new global::System.Data.DataColumn("LastIdx", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnLastIdx); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodCompany, + this.columnFlusso, + this.columnAnno}, true)); + this.columnCodCompany.AllowDBNull = false; + this.columnCodCompany.MaxLength = 2; + this.columnFlusso.AllowDBNull = false; + this.columnFlusso.MaxLength = 2; + this.columnAnno.AllowDBNull = false; + this.columnAnno.MaxLength = 2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public ContatoriUdcRow NewContatoriUdcRow() { + return ((ContatoriUdcRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new ContatoriUdcRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(ContatoriUdcRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.ContatoriUdcRowChanged != null)) { + this.ContatoriUdcRowChanged(this, new ContatoriUdcRowChangeEvent(((ContatoriUdcRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.ContatoriUdcRowChanging != null)) { + this.ContatoriUdcRowChanging(this, new ContatoriUdcRowChangeEvent(((ContatoriUdcRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.ContatoriUdcRowDeleted != null)) { + this.ContatoriUdcRowDeleted(this, new ContatoriUdcRowChangeEvent(((ContatoriUdcRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.ContatoriUdcRowDeleting != null)) { + this.ContatoriUdcRowDeleting(this, new ContatoriUdcRowChangeEvent(((ContatoriUdcRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void RemoveContatoriUdcRow(ContatoriUdcRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + GMWDataSet ds = new GMWDataSet(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "ContatoriUdcDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class Impianti2ArticoliDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodImpianto; + + private global::System.Data.DataColumn columnCodArticolo; + + private global::System.Data.DataColumn columnInizioProd; + + private global::System.Data.DataColumn columnFineProd; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public Impianti2ArticoliDataTable() { + this.TableName = "Impianti2Articoli"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal Impianti2ArticoliDataTable(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 Impianti2ArticoliDataTable(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 CodImpiantoColumn { + get { + return this.columnCodImpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn CodArticoloColumn { + get { + return this.columnCodArticolo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn InizioProdColumn { + get { + return this.columnInizioProd; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn FineProdColumn { + get { + return this.columnFineProd; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public Impianti2ArticoliRow this[int index] { + get { + return ((Impianti2ArticoliRow)(this.Rows[index])); + } + } + + public event Impianti2ArticoliRowChangeEventHandler Impianti2ArticoliRowChanging; + + public event Impianti2ArticoliRowChangeEventHandler Impianti2ArticoliRowChanged; + + public event Impianti2ArticoliRowChangeEventHandler Impianti2ArticoliRowDeleting; + + public event Impianti2ArticoliRowChangeEventHandler Impianti2ArticoliRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void AddImpianti2ArticoliRow(Impianti2ArticoliRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public Impianti2ArticoliRow AddImpianti2ArticoliRow(AnagImpiantiRow parentAnagImpiantiRowByFK_Impianti2Articoli_AnagImpianti, AnagArticoliRow parentAnagArticoliRowByFK_Impianti2Articoli_AnagArticoli, System.DateTime InizioProd, System.DateTime FineProd) { + Impianti2ArticoliRow rowImpianti2ArticoliRow = ((Impianti2ArticoliRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + null, + InizioProd, + FineProd}; + if ((parentAnagImpiantiRowByFK_Impianti2Articoli_AnagImpianti != null)) { + columnValuesArray[0] = parentAnagImpiantiRowByFK_Impianti2Articoli_AnagImpianti[0]; + } + if ((parentAnagArticoliRowByFK_Impianti2Articoli_AnagArticoli != null)) { + columnValuesArray[1] = parentAnagArticoliRowByFK_Impianti2Articoli_AnagArticoli[0]; + } + rowImpianti2ArticoliRow.ItemArray = columnValuesArray; + this.Rows.Add(rowImpianti2ArticoliRow); + return rowImpianti2ArticoliRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public Impianti2ArticoliRow FindByCodImpiantoCodArticoloInizioProd(string CodImpianto, string CodArticolo, System.DateTime InizioProd) { + return ((Impianti2ArticoliRow)(this.Rows.Find(new object[] { + CodImpianto, + CodArticolo, + InizioProd}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + Impianti2ArticoliDataTable cln = ((Impianti2ArticoliDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new Impianti2ArticoliDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnCodImpianto = base.Columns["CodImpianto"]; + this.columnCodArticolo = base.Columns["CodArticolo"]; + this.columnInizioProd = base.Columns["InizioProd"]; + this.columnFineProd = base.Columns["FineProd"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnCodImpianto = new global::System.Data.DataColumn("CodImpianto", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodImpianto); + this.columnCodArticolo = new global::System.Data.DataColumn("CodArticolo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodArticolo); + this.columnInizioProd = new global::System.Data.DataColumn("InizioProd", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnInizioProd); + this.columnFineProd = new global::System.Data.DataColumn("FineProd", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnFineProd); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodImpianto, + this.columnCodArticolo, + this.columnInizioProd}, true)); + this.columnCodImpianto.AllowDBNull = false; + this.columnCodImpianto.MaxLength = 50; + this.columnCodArticolo.AllowDBNull = false; + this.columnCodArticolo.MaxLength = 50; + this.columnInizioProd.AllowDBNull = false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public Impianti2ArticoliRow NewImpianti2ArticoliRow() { + return ((Impianti2ArticoliRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new Impianti2ArticoliRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(Impianti2ArticoliRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.Impianti2ArticoliRowChanged != null)) { + this.Impianti2ArticoliRowChanged(this, new Impianti2ArticoliRowChangeEvent(((Impianti2ArticoliRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.Impianti2ArticoliRowChanging != null)) { + this.Impianti2ArticoliRowChanging(this, new Impianti2ArticoliRowChangeEvent(((Impianti2ArticoliRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.Impianti2ArticoliRowDeleted != null)) { + this.Impianti2ArticoliRowDeleted(this, new Impianti2ArticoliRowChangeEvent(((Impianti2ArticoliRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.Impianti2ArticoliRowDeleting != null)) { + this.Impianti2ArticoliRowDeleting(this, new Impianti2ArticoliRowChangeEvent(((Impianti2ArticoliRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void RemoveImpianti2ArticoliRow(Impianti2ArticoliRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + GMWDataSet ds = new GMWDataSet(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "Impianti2ArticoliDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class TabStatoOdpUdcDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodCompany; + + private global::System.Data.DataColumn columnODP; + + private global::System.Data.DataColumn columnUDC; + + private global::System.Data.DataColumn columnTara; + + private global::System.Data.DataColumn columnIdxStato; + + private global::System.Data.DataColumn columnQta; + + private global::System.Data.DataColumn columnCodImballo; + + private global::System.Data.DataColumn columnCreateDate; + + private global::System.Data.DataColumn columnModDate; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public TabStatoOdpUdcDataTable() { + this.TableName = "TabStatoOdpUdc"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal TabStatoOdpUdcDataTable(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 TabStatoOdpUdcDataTable(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 CodCompanyColumn { + get { + return this.columnCodCompany; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn ODPColumn { + get { + return this.columnODP; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn UDCColumn { + get { + return this.columnUDC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn TaraColumn { + get { + return this.columnTara; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn IdxStatoColumn { + get { + return this.columnIdxStato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn QtaColumn { + get { + return this.columnQta; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn CodImballoColumn { + get { + return this.columnCodImballo; + } + } + + [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()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public TabStatoOdpUdcRow this[int index] { + get { + return ((TabStatoOdpUdcRow)(this.Rows[index])); + } + } + + public event TabStatoOdpUdcRowChangeEventHandler TabStatoOdpUdcRowChanging; + + public event TabStatoOdpUdcRowChangeEventHandler TabStatoOdpUdcRowChanged; + + public event TabStatoOdpUdcRowChangeEventHandler TabStatoOdpUdcRowDeleting; + + public event TabStatoOdpUdcRowChangeEventHandler TabStatoOdpUdcRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void AddTabStatoOdpUdcRow(TabStatoOdpUdcRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public TabStatoOdpUdcRow AddTabStatoOdpUdcRow(string CodCompany, string ODP, string UDC, double Tara, AnagStatiRow parentAnagStatiRowByFK_TabStatoOdpUdc_AnagStati, decimal Qta, string CodImballo, System.DateTime CreateDate, System.DateTime ModDate) { + TabStatoOdpUdcRow rowTabStatoOdpUdcRow = ((TabStatoOdpUdcRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CodCompany, + ODP, + UDC, + Tara, + null, + Qta, + CodImballo, + CreateDate, + ModDate}; + if ((parentAnagStatiRowByFK_TabStatoOdpUdc_AnagStati != null)) { + columnValuesArray[4] = parentAnagStatiRowByFK_TabStatoOdpUdc_AnagStati[0]; + } + rowTabStatoOdpUdcRow.ItemArray = columnValuesArray; + this.Rows.Add(rowTabStatoOdpUdcRow); + return rowTabStatoOdpUdcRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public TabStatoOdpUdcRow FindByCodCompanyODPUDC(string CodCompany, string ODP, string UDC) { + return ((TabStatoOdpUdcRow)(this.Rows.Find(new object[] { + CodCompany, + ODP, + UDC}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + TabStatoOdpUdcDataTable cln = ((TabStatoOdpUdcDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new TabStatoOdpUdcDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnCodCompany = base.Columns["CodCompany"]; + this.columnODP = base.Columns["ODP"]; + this.columnUDC = base.Columns["UDC"]; + this.columnTara = base.Columns["Tara"]; + this.columnIdxStato = base.Columns["IdxStato"]; + this.columnQta = base.Columns["Qta"]; + this.columnCodImballo = base.Columns["CodImballo"]; + this.columnCreateDate = base.Columns["CreateDate"]; + this.columnModDate = base.Columns["ModDate"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnCodCompany = new global::System.Data.DataColumn("CodCompany", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCompany); + this.columnODP = new global::System.Data.DataColumn("ODP", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnODP); + this.columnUDC = new global::System.Data.DataColumn("UDC", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnUDC); + this.columnTara = new global::System.Data.DataColumn("Tara", typeof(double), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnTara); + this.columnIdxStato = new global::System.Data.DataColumn("IdxStato", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnIdxStato); + this.columnQta = new global::System.Data.DataColumn("Qta", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnQta); + this.columnCodImballo = new global::System.Data.DataColumn("CodImballo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodImballo); + 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.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodCompany, + this.columnODP, + this.columnUDC}, true)); + this.columnCodCompany.AllowDBNull = false; + this.columnCodCompany.MaxLength = 4; + this.columnODP.AllowDBNull = false; + this.columnODP.MaxLength = 20; + this.columnUDC.AllowDBNull = false; + this.columnUDC.MaxLength = 50; + this.columnCodImballo.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public TabStatoOdpUdcRow NewTabStatoOdpUdcRow() { + return ((TabStatoOdpUdcRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new TabStatoOdpUdcRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(TabStatoOdpUdcRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.TabStatoOdpUdcRowChanged != null)) { + this.TabStatoOdpUdcRowChanged(this, new TabStatoOdpUdcRowChangeEvent(((TabStatoOdpUdcRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.TabStatoOdpUdcRowChanging != null)) { + this.TabStatoOdpUdcRowChanging(this, new TabStatoOdpUdcRowChangeEvent(((TabStatoOdpUdcRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.TabStatoOdpUdcRowDeleted != null)) { + this.TabStatoOdpUdcRowDeleted(this, new TabStatoOdpUdcRowChangeEvent(((TabStatoOdpUdcRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.TabStatoOdpUdcRowDeleting != null)) { + this.TabStatoOdpUdcRowDeleting(this, new TabStatoOdpUdcRowChangeEvent(((TabStatoOdpUdcRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void RemoveTabStatoOdpUdcRow(TabStatoOdpUdcRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + GMWDataSet ds = new GMWDataSet(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "TabStatoOdpUdcDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class stp_getStatoByUdcDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodCompany; + + private global::System.Data.DataColumn columnODP; + + private global::System.Data.DataColumn columnUDC; + + private global::System.Data.DataColumn columnTara; + + private global::System.Data.DataColumn columnIdxStato; + + private global::System.Data.DataColumn columnQta; + + private global::System.Data.DataColumn columnCodImballo; + + private global::System.Data.DataColumn columnCreateDate; + + private global::System.Data.DataColumn columnModDate; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_getStatoByUdcDataTable() { + this.TableName = "stp_getStatoByUdc"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal stp_getStatoByUdcDataTable(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_getStatoByUdcDataTable(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 CodCompanyColumn { + get { + return this.columnCodCompany; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn ODPColumn { + get { + return this.columnODP; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn UDCColumn { + get { + return this.columnUDC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn TaraColumn { + get { + return this.columnTara; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn IdxStatoColumn { + get { + return this.columnIdxStato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn QtaColumn { + get { + return this.columnQta; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn CodImballoColumn { + get { + return this.columnCodImballo; + } + } + + [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()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_getStatoByUdcRow this[int index] { + get { + return ((stp_getStatoByUdcRow)(this.Rows[index])); + } + } + + public event stp_getStatoByUdcRowChangeEventHandler stp_getStatoByUdcRowChanging; + + public event stp_getStatoByUdcRowChangeEventHandler stp_getStatoByUdcRowChanged; + + public event stp_getStatoByUdcRowChangeEventHandler stp_getStatoByUdcRowDeleting; + + public event stp_getStatoByUdcRowChangeEventHandler stp_getStatoByUdcRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Addstp_getStatoByUdcRow(stp_getStatoByUdcRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_getStatoByUdcRow Addstp_getStatoByUdcRow(string CodCompany, string ODP, string UDC, double Tara, int IdxStato, decimal Qta, string CodImballo, System.DateTime CreateDate, System.DateTime ModDate) { + stp_getStatoByUdcRow rowstp_getStatoByUdcRow = ((stp_getStatoByUdcRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CodCompany, + ODP, + UDC, + Tara, + IdxStato, + Qta, + CodImballo, + CreateDate, + ModDate}; + rowstp_getStatoByUdcRow.ItemArray = columnValuesArray; + this.Rows.Add(rowstp_getStatoByUdcRow); + return rowstp_getStatoByUdcRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_getStatoByUdcRow FindByCodCompanyODPUDC(string CodCompany, string ODP, string UDC) { + return ((stp_getStatoByUdcRow)(this.Rows.Find(new object[] { + CodCompany, + ODP, + UDC}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + stp_getStatoByUdcDataTable cln = ((stp_getStatoByUdcDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new stp_getStatoByUdcDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnCodCompany = base.Columns["CodCompany"]; + this.columnODP = base.Columns["ODP"]; + this.columnUDC = base.Columns["UDC"]; + this.columnTara = base.Columns["Tara"]; + this.columnIdxStato = base.Columns["IdxStato"]; + this.columnQta = base.Columns["Qta"]; + this.columnCodImballo = base.Columns["CodImballo"]; + this.columnCreateDate = base.Columns["CreateDate"]; + this.columnModDate = base.Columns["ModDate"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnCodCompany = new global::System.Data.DataColumn("CodCompany", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCompany); + this.columnODP = new global::System.Data.DataColumn("ODP", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnODP); + this.columnUDC = new global::System.Data.DataColumn("UDC", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnUDC); + this.columnTara = new global::System.Data.DataColumn("Tara", typeof(double), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnTara); + this.columnIdxStato = new global::System.Data.DataColumn("IdxStato", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnIdxStato); + this.columnQta = new global::System.Data.DataColumn("Qta", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnQta); + this.columnCodImballo = new global::System.Data.DataColumn("CodImballo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodImballo); + 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.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodCompany, + this.columnODP, + this.columnUDC}, true)); + this.columnCodCompany.AllowDBNull = false; + this.columnCodCompany.MaxLength = 4; + this.columnODP.AllowDBNull = false; + this.columnODP.MaxLength = 20; + this.columnUDC.AllowDBNull = false; + this.columnUDC.MaxLength = 50; + this.columnCodImballo.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_getStatoByUdcRow Newstp_getStatoByUdcRow() { + return ((stp_getStatoByUdcRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new stp_getStatoByUdcRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(stp_getStatoByUdcRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.stp_getStatoByUdcRowChanged != null)) { + this.stp_getStatoByUdcRowChanged(this, new stp_getStatoByUdcRowChangeEvent(((stp_getStatoByUdcRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.stp_getStatoByUdcRowChanging != null)) { + this.stp_getStatoByUdcRowChanging(this, new stp_getStatoByUdcRowChangeEvent(((stp_getStatoByUdcRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.stp_getStatoByUdcRowDeleted != null)) { + this.stp_getStatoByUdcRowDeleted(this, new stp_getStatoByUdcRowChangeEvent(((stp_getStatoByUdcRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.stp_getStatoByUdcRowDeleting != null)) { + this.stp_getStatoByUdcRowDeleting(this, new stp_getStatoByUdcRowChangeEvent(((stp_getStatoByUdcRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Removestp_getStatoByUdcRow(stp_getStatoByUdcRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + GMWDataSet ds = new GMWDataSet(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "stp_getStatoByUdcDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class stp_insNewOdpUdcDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodCompany; + + private global::System.Data.DataColumn columnODP; + + private global::System.Data.DataColumn columnUDC; + + private global::System.Data.DataColumn columnTara; + + private global::System.Data.DataColumn columnIdxStato; + + private global::System.Data.DataColumn columnQta; + + private global::System.Data.DataColumn columnCodImballo; + + private global::System.Data.DataColumn columnCreateDate; + + private global::System.Data.DataColumn columnModDate; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_insNewOdpUdcDataTable() { + this.TableName = "stp_insNewOdpUdc"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal stp_insNewOdpUdcDataTable(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_insNewOdpUdcDataTable(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 CodCompanyColumn { + get { + return this.columnCodCompany; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn ODPColumn { + get { + return this.columnODP; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn UDCColumn { + get { + return this.columnUDC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn TaraColumn { + get { + return this.columnTara; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn IdxStatoColumn { + get { + return this.columnIdxStato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn QtaColumn { + get { + return this.columnQta; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn CodImballoColumn { + get { + return this.columnCodImballo; + } + } + + [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()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_insNewOdpUdcRow this[int index] { + get { + return ((stp_insNewOdpUdcRow)(this.Rows[index])); + } + } + + public event stp_insNewOdpUdcRowChangeEventHandler stp_insNewOdpUdcRowChanging; + + public event stp_insNewOdpUdcRowChangeEventHandler stp_insNewOdpUdcRowChanged; + + public event stp_insNewOdpUdcRowChangeEventHandler stp_insNewOdpUdcRowDeleting; + + public event stp_insNewOdpUdcRowChangeEventHandler stp_insNewOdpUdcRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Addstp_insNewOdpUdcRow(stp_insNewOdpUdcRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_insNewOdpUdcRow Addstp_insNewOdpUdcRow(string CodCompany, string ODP, string UDC, double Tara, int IdxStato, decimal Qta, string CodImballo, System.DateTime CreateDate, System.DateTime ModDate) { + stp_insNewOdpUdcRow rowstp_insNewOdpUdcRow = ((stp_insNewOdpUdcRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CodCompany, + ODP, + UDC, + Tara, + IdxStato, + Qta, + CodImballo, + CreateDate, + ModDate}; + rowstp_insNewOdpUdcRow.ItemArray = columnValuesArray; + this.Rows.Add(rowstp_insNewOdpUdcRow); + return rowstp_insNewOdpUdcRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_insNewOdpUdcRow FindByCodCompanyODPUDC(string CodCompany, string ODP, string UDC) { + return ((stp_insNewOdpUdcRow)(this.Rows.Find(new object[] { + CodCompany, + ODP, + UDC}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + stp_insNewOdpUdcDataTable cln = ((stp_insNewOdpUdcDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new stp_insNewOdpUdcDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnCodCompany = base.Columns["CodCompany"]; + this.columnODP = base.Columns["ODP"]; + this.columnUDC = base.Columns["UDC"]; + this.columnTara = base.Columns["Tara"]; + this.columnIdxStato = base.Columns["IdxStato"]; + this.columnQta = base.Columns["Qta"]; + this.columnCodImballo = base.Columns["CodImballo"]; + this.columnCreateDate = base.Columns["CreateDate"]; + this.columnModDate = base.Columns["ModDate"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnCodCompany = new global::System.Data.DataColumn("CodCompany", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCompany); + this.columnODP = new global::System.Data.DataColumn("ODP", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnODP); + this.columnUDC = new global::System.Data.DataColumn("UDC", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnUDC); + this.columnTara = new global::System.Data.DataColumn("Tara", typeof(double), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnTara); + this.columnIdxStato = new global::System.Data.DataColumn("IdxStato", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnIdxStato); + this.columnQta = new global::System.Data.DataColumn("Qta", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnQta); + this.columnCodImballo = new global::System.Data.DataColumn("CodImballo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodImballo); + 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.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodCompany, + this.columnODP, + this.columnUDC}, true)); + this.columnCodCompany.AllowDBNull = false; + this.columnCodCompany.MaxLength = 4; + this.columnODP.AllowDBNull = false; + this.columnODP.MaxLength = 20; + this.columnUDC.AllowDBNull = false; + this.columnUDC.MaxLength = 50; + this.columnCodImballo.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_insNewOdpUdcRow Newstp_insNewOdpUdcRow() { + return ((stp_insNewOdpUdcRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new stp_insNewOdpUdcRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(stp_insNewOdpUdcRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.stp_insNewOdpUdcRowChanged != null)) { + this.stp_insNewOdpUdcRowChanged(this, new stp_insNewOdpUdcRowChangeEvent(((stp_insNewOdpUdcRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.stp_insNewOdpUdcRowChanging != null)) { + this.stp_insNewOdpUdcRowChanging(this, new stp_insNewOdpUdcRowChangeEvent(((stp_insNewOdpUdcRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.stp_insNewOdpUdcRowDeleted != null)) { + this.stp_insNewOdpUdcRowDeleted(this, new stp_insNewOdpUdcRowChangeEvent(((stp_insNewOdpUdcRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.stp_insNewOdpUdcRowDeleting != null)) { + this.stp_insNewOdpUdcRowDeleting(this, new stp_insNewOdpUdcRowChangeEvent(((stp_insNewOdpUdcRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Removestp_insNewOdpUdcRow(stp_insNewOdpUdcRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + GMWDataSet ds = new GMWDataSet(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "stp_insNewOdpUdcDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class stp_updateByBilanciaDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodCompany; + + private global::System.Data.DataColumn columnODP; + + private global::System.Data.DataColumn columnUDC; + + private global::System.Data.DataColumn columnTara; + + private global::System.Data.DataColumn columnIdxStato; + + private global::System.Data.DataColumn columnQta; + + private global::System.Data.DataColumn columnCodImballo; + + private global::System.Data.DataColumn columnCreateDate; + + private global::System.Data.DataColumn columnModDate; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_updateByBilanciaDataTable() { + this.TableName = "stp_updateByBilancia"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal stp_updateByBilanciaDataTable(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_updateByBilanciaDataTable(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 CodCompanyColumn { + get { + return this.columnCodCompany; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn ODPColumn { + get { + return this.columnODP; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn UDCColumn { + get { + return this.columnUDC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn TaraColumn { + get { + return this.columnTara; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn IdxStatoColumn { + get { + return this.columnIdxStato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn QtaColumn { + get { + return this.columnQta; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn CodImballoColumn { + get { + return this.columnCodImballo; + } + } + + [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()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_updateByBilanciaRow this[int index] { + get { + return ((stp_updateByBilanciaRow)(this.Rows[index])); + } + } + + public event stp_updateByBilanciaRowChangeEventHandler stp_updateByBilanciaRowChanging; + + public event stp_updateByBilanciaRowChangeEventHandler stp_updateByBilanciaRowChanged; + + public event stp_updateByBilanciaRowChangeEventHandler stp_updateByBilanciaRowDeleting; + + public event stp_updateByBilanciaRowChangeEventHandler stp_updateByBilanciaRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Addstp_updateByBilanciaRow(stp_updateByBilanciaRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_updateByBilanciaRow Addstp_updateByBilanciaRow(string CodCompany, string ODP, string UDC, double Tara, int IdxStato, decimal Qta, string CodImballo, System.DateTime CreateDate, System.DateTime ModDate) { + stp_updateByBilanciaRow rowstp_updateByBilanciaRow = ((stp_updateByBilanciaRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CodCompany, + ODP, + UDC, + Tara, + IdxStato, + Qta, + CodImballo, + CreateDate, + ModDate}; + rowstp_updateByBilanciaRow.ItemArray = columnValuesArray; + this.Rows.Add(rowstp_updateByBilanciaRow); + return rowstp_updateByBilanciaRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_updateByBilanciaRow FindByCodCompanyODPUDC(string CodCompany, string ODP, string UDC) { + return ((stp_updateByBilanciaRow)(this.Rows.Find(new object[] { + CodCompany, + ODP, + UDC}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + stp_updateByBilanciaDataTable cln = ((stp_updateByBilanciaDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new stp_updateByBilanciaDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnCodCompany = base.Columns["CodCompany"]; + this.columnODP = base.Columns["ODP"]; + this.columnUDC = base.Columns["UDC"]; + this.columnTara = base.Columns["Tara"]; + this.columnIdxStato = base.Columns["IdxStato"]; + this.columnQta = base.Columns["Qta"]; + this.columnCodImballo = base.Columns["CodImballo"]; + this.columnCreateDate = base.Columns["CreateDate"]; + this.columnModDate = base.Columns["ModDate"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnCodCompany = new global::System.Data.DataColumn("CodCompany", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCompany); + this.columnODP = new global::System.Data.DataColumn("ODP", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnODP); + this.columnUDC = new global::System.Data.DataColumn("UDC", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnUDC); + this.columnTara = new global::System.Data.DataColumn("Tara", typeof(double), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnTara); + this.columnIdxStato = new global::System.Data.DataColumn("IdxStato", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnIdxStato); + this.columnQta = new global::System.Data.DataColumn("Qta", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnQta); + this.columnCodImballo = new global::System.Data.DataColumn("CodImballo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodImballo); + 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.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodCompany, + this.columnODP, + this.columnUDC}, true)); + this.columnCodCompany.AllowDBNull = false; + this.columnCodCompany.MaxLength = 4; + this.columnODP.AllowDBNull = false; + this.columnODP.MaxLength = 20; + this.columnUDC.AllowDBNull = false; + this.columnUDC.MaxLength = 50; + this.columnCodImballo.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_updateByBilanciaRow Newstp_updateByBilanciaRow() { + return ((stp_updateByBilanciaRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new stp_updateByBilanciaRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(stp_updateByBilanciaRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.stp_updateByBilanciaRowChanged != null)) { + this.stp_updateByBilanciaRowChanged(this, new stp_updateByBilanciaRowChangeEvent(((stp_updateByBilanciaRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.stp_updateByBilanciaRowChanging != null)) { + this.stp_updateByBilanciaRowChanging(this, new stp_updateByBilanciaRowChangeEvent(((stp_updateByBilanciaRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.stp_updateByBilanciaRowDeleted != null)) { + this.stp_updateByBilanciaRowDeleted(this, new stp_updateByBilanciaRowChangeEvent(((stp_updateByBilanciaRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.stp_updateByBilanciaRowDeleting != null)) { + this.stp_updateByBilanciaRowDeleting(this, new stp_updateByBilanciaRowChangeEvent(((stp_updateByBilanciaRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Removestp_updateByBilanciaRow(stp_updateByBilanciaRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + GMWDataSet ds = new GMWDataSet(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "stp_updateByBilanciaDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class stp_prtCartByUDCDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnUDC; + + private global::System.Data.DataColumn columnCodCS; + + private global::System.Data.DataColumn columncodcliente; + + private global::System.Data.DataColumn columnragsociale; + + private global::System.Data.DataColumn columnparticolare; + + private global::System.Data.DataColumn columndescparticolare; + + private global::System.Data.DataColumn columndisegnogrezzo; + + private global::System.Data.DataColumn columnesponente; + + private global::System.Data.DataColumn columncodimpianto; + + private global::System.Data.DataColumn columndescimpianto; + + private global::System.Data.DataColumn columncodstampo; + + private global::System.Data.DataColumn columnfigura; + + private global::System.Data.DataColumn columndatafus; + + private global::System.Data.DataColumn columnturnofus; + + private global::System.Data.DataColumn columncodimballo; + + private global::System.Data.DataColumn columncodsoggetto; + + private global::System.Data.DataColumn columnnumcont; + + private global::System.Data.DataColumn columntara; + + private global::System.Data.DataColumn columnqta; + + private global::System.Data.DataColumn columncodstato; + + private global::System.Data.DataColumn columnidxposizione; + + private global::System.Data.DataColumn columnpesotot; + + private global::System.Data.DataColumn columnpesocad; + + private global::System.Data.DataColumn columnCreateDate; + + private global::System.Data.DataColumn columnModDate; + + private global::System.Data.DataColumn columncognome; + + private global::System.Data.DataColumn columnnome; + + private global::System.Data.DataColumn columndescstato; + + private global::System.Data.DataColumn columndescimballo; + + private global::System.Data.DataColumn columnCodFamiglia; + + private global::System.Data.DataColumn columnDescFamiglia; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_prtCartByUDCDataTable() { + this.TableName = "stp_prtCartByUDC"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal stp_prtCartByUDCDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected stp_prtCartByUDCDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn UDCColumn { + get { + return this.columnUDC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn CodCSColumn { + get { + return this.columnCodCS; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn codclienteColumn { + get { + return this.columncodcliente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn ragsocialeColumn { + get { + return this.columnragsociale; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn particolareColumn { + get { + return this.columnparticolare; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn descparticolareColumn { + get { + return this.columndescparticolare; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn disegnogrezzoColumn { + get { + return this.columndisegnogrezzo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn esponenteColumn { + get { + return this.columnesponente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn codimpiantoColumn { + get { + return this.columncodimpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn descimpiantoColumn { + get { + return this.columndescimpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn codstampoColumn { + get { + return this.columncodstampo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn figuraColumn { + get { + return this.columnfigura; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn datafusColumn { + get { + return this.columndatafus; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn turnofusColumn { + get { + return this.columnturnofus; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn codimballoColumn { + get { + return this.columncodimballo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn codsoggettoColumn { + get { + return this.columncodsoggetto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn numcontColumn { + get { + return this.columnnumcont; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn taraColumn { + get { + return this.columntara; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn qtaColumn { + get { + return this.columnqta; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn codstatoColumn { + get { + return this.columncodstato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn idxposizioneColumn { + get { + return this.columnidxposizione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn pesototColumn { + get { + return this.columnpesotot; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn pesocadColumn { + get { + return this.columnpesocad; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn CreateDateColumn { + get { + return this.columnCreateDate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn ModDateColumn { + get { + return this.columnModDate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn cognomeColumn { + get { + return this.columncognome; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn nomeColumn { + get { + return this.columnnome; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn descstatoColumn { + get { + return this.columndescstato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn descimballoColumn { + get { + return this.columndescimballo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn CodFamigliaColumn { + get { + return this.columnCodFamiglia; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn DescFamigliaColumn { + get { + return this.columnDescFamiglia; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_prtCartByUDCRow this[int index] { + get { + return ((stp_prtCartByUDCRow)(this.Rows[index])); + } + } + + public event stp_prtCartByUDCRowChangeEventHandler stp_prtCartByUDCRowChanging; + + public event stp_prtCartByUDCRowChangeEventHandler stp_prtCartByUDCRowChanged; + + public event stp_prtCartByUDCRowChangeEventHandler stp_prtCartByUDCRowDeleting; + + public event stp_prtCartByUDCRowChangeEventHandler stp_prtCartByUDCRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Addstp_prtCartByUDCRow(stp_prtCartByUDCRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_prtCartByUDCRow Addstp_prtCartByUDCRow( + string UDC, + string CodCS, + string codcliente, + string ragsociale, + string particolare, + string descparticolare, + string disegnogrezzo, + string esponente, + string codimpianto, + string descimpianto, + string codstampo, + string figura, + System.DateTime datafus, + int turnofus, + string codimballo, + string codsoggetto, + int numcont, + double tara, + decimal qta, + string codstato, + int idxposizione, + double pesotot, + double pesocad, + System.DateTime CreateDate, + System.DateTime ModDate, + string cognome, + string nome, + string descstato, + string descimballo, + string CodFamiglia, + string DescFamiglia) { + stp_prtCartByUDCRow rowstp_prtCartByUDCRow = ((stp_prtCartByUDCRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + UDC, + CodCS, + codcliente, + ragsociale, + particolare, + descparticolare, + disegnogrezzo, + esponente, + codimpianto, + descimpianto, + codstampo, + figura, + datafus, + turnofus, + codimballo, + codsoggetto, + numcont, + tara, + qta, + codstato, + idxposizione, + pesotot, + pesocad, + CreateDate, + ModDate, + cognome, + nome, + descstato, + descimballo, + CodFamiglia, + DescFamiglia}; + rowstp_prtCartByUDCRow.ItemArray = columnValuesArray; + this.Rows.Add(rowstp_prtCartByUDCRow); + return rowstp_prtCartByUDCRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_prtCartByUDCRow FindByUDC(string UDC) { + return ((stp_prtCartByUDCRow)(this.Rows.Find(new object[] { + UDC}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + stp_prtCartByUDCDataTable cln = ((stp_prtCartByUDCDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new stp_prtCartByUDCDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnUDC = base.Columns["UDC"]; + this.columnCodCS = base.Columns["CodCS"]; + this.columncodcliente = base.Columns["codcliente"]; + this.columnragsociale = base.Columns["ragsociale"]; + this.columnparticolare = base.Columns["particolare"]; + this.columndescparticolare = base.Columns["descparticolare"]; + this.columndisegnogrezzo = base.Columns["disegnogrezzo"]; + this.columnesponente = base.Columns["esponente"]; + this.columncodimpianto = base.Columns["codimpianto"]; + this.columndescimpianto = base.Columns["descimpianto"]; + this.columncodstampo = base.Columns["codstampo"]; + this.columnfigura = base.Columns["figura"]; + this.columndatafus = base.Columns["datafus"]; + this.columnturnofus = base.Columns["turnofus"]; + this.columncodimballo = base.Columns["codimballo"]; + this.columncodsoggetto = base.Columns["codsoggetto"]; + this.columnnumcont = base.Columns["numcont"]; + this.columntara = base.Columns["tara"]; + this.columnqta = base.Columns["qta"]; + this.columncodstato = base.Columns["codstato"]; + this.columnidxposizione = base.Columns["idxposizione"]; + this.columnpesotot = base.Columns["pesotot"]; + this.columnpesocad = base.Columns["pesocad"]; + this.columnCreateDate = base.Columns["CreateDate"]; + this.columnModDate = base.Columns["ModDate"]; + this.columncognome = base.Columns["cognome"]; + this.columnnome = base.Columns["nome"]; + this.columndescstato = base.Columns["descstato"]; + this.columndescimballo = base.Columns["descimballo"]; + this.columnCodFamiglia = base.Columns["CodFamiglia"]; + this.columnDescFamiglia = base.Columns["DescFamiglia"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnUDC = new global::System.Data.DataColumn("UDC", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnUDC); + this.columnCodCS = new global::System.Data.DataColumn("CodCS", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCS); + this.columncodcliente = new global::System.Data.DataColumn("codcliente", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncodcliente); + this.columnragsociale = new global::System.Data.DataColumn("ragsociale", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnragsociale); + this.columnparticolare = new global::System.Data.DataColumn("particolare", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnparticolare); + this.columndescparticolare = new global::System.Data.DataColumn("descparticolare", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndescparticolare); + this.columndisegnogrezzo = new global::System.Data.DataColumn("disegnogrezzo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndisegnogrezzo); + this.columnesponente = new global::System.Data.DataColumn("esponente", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnesponente); + this.columncodimpianto = new global::System.Data.DataColumn("codimpianto", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncodimpianto); + this.columndescimpianto = new global::System.Data.DataColumn("descimpianto", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndescimpianto); + this.columncodstampo = new global::System.Data.DataColumn("codstampo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncodstampo); + this.columnfigura = new global::System.Data.DataColumn("figura", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnfigura); + this.columndatafus = new global::System.Data.DataColumn("datafus", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndatafus); + this.columnturnofus = new global::System.Data.DataColumn("turnofus", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnturnofus); + this.columncodimballo = new global::System.Data.DataColumn("codimballo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncodimballo); + this.columncodsoggetto = new global::System.Data.DataColumn("codsoggetto", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncodsoggetto); + this.columnnumcont = new global::System.Data.DataColumn("numcont", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnnumcont); + this.columntara = new global::System.Data.DataColumn("tara", typeof(double), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columntara); + this.columnqta = new global::System.Data.DataColumn("qta", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnqta); + this.columncodstato = new global::System.Data.DataColumn("codstato", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncodstato); + this.columnidxposizione = new global::System.Data.DataColumn("idxposizione", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidxposizione); + this.columnpesotot = new global::System.Data.DataColumn("pesotot", typeof(double), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnpesotot); + this.columnpesocad = new global::System.Data.DataColumn("pesocad", typeof(double), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnpesocad); + this.columnCreateDate = new global::System.Data.DataColumn("CreateDate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCreateDate); + this.columnModDate = new global::System.Data.DataColumn("ModDate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnModDate); + this.columncognome = new global::System.Data.DataColumn("cognome", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncognome); + this.columnnome = new global::System.Data.DataColumn("nome", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnnome); + this.columndescstato = new global::System.Data.DataColumn("descstato", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndescstato); + this.columndescimballo = new global::System.Data.DataColumn("descimballo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndescimballo); + this.columnCodFamiglia = new global::System.Data.DataColumn("CodFamiglia", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodFamiglia); + this.columnDescFamiglia = new global::System.Data.DataColumn("DescFamiglia", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescFamiglia); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnUDC}, true)); + this.columnUDC.AllowDBNull = false; + this.columnUDC.Unique = true; + this.columnUDC.MaxLength = 50; + this.columnCodCS.MaxLength = 2; + this.columncodcliente.ReadOnly = true; + this.columncodcliente.MaxLength = 6; + this.columnragsociale.ReadOnly = true; + this.columnragsociale.MaxLength = 35; + this.columnparticolare.ReadOnly = true; + this.columnparticolare.MaxLength = 15; + this.columndescparticolare.ReadOnly = true; + this.columndescparticolare.MaxLength = 30; + this.columndisegnogrezzo.ReadOnly = true; + this.columndisegnogrezzo.MaxLength = 30; + this.columnesponente.ReadOnly = true; + this.columnesponente.MaxLength = 6; + this.columncodimpianto.ReadOnly = true; + this.columncodimpianto.MaxLength = 50; + this.columndescimpianto.ReadOnly = true; + this.columndescimpianto.MaxLength = 50; + this.columncodstampo.ReadOnly = true; + this.columncodstampo.MaxLength = 8; + this.columnfigura.ReadOnly = true; + this.columnfigura.MaxLength = 4; + this.columndatafus.ReadOnly = true; + this.columnturnofus.ReadOnly = true; + this.columncodimballo.ReadOnly = true; + this.columncodimballo.MaxLength = 15; + this.columncodsoggetto.ReadOnly = true; + this.columncodsoggetto.MaxLength = 17; + this.columnnumcont.ReadOnly = true; + this.columntara.ReadOnly = true; + this.columnqta.ReadOnly = true; + this.columncodstato.ReadOnly = true; + this.columncodstato.MaxLength = 50; + this.columnidxposizione.ReadOnly = true; + this.columnpesotot.ReadOnly = true; + this.columnpesocad.ReadOnly = true; + this.columncognome.ReadOnly = true; + this.columncognome.MaxLength = 40; + this.columnnome.ReadOnly = true; + this.columnnome.MaxLength = 40; + this.columndescstato.ReadOnly = true; + this.columndescstato.MaxLength = 50; + this.columndescimballo.ReadOnly = true; + this.columndescimballo.MaxLength = 30; + this.columnCodFamiglia.MaxLength = 4; + this.columnDescFamiglia.MaxLength = 100; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_prtCartByUDCRow Newstp_prtCartByUDCRow() { + return ((stp_prtCartByUDCRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new stp_prtCartByUDCRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(stp_prtCartByUDCRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.stp_prtCartByUDCRowChanged != null)) { + this.stp_prtCartByUDCRowChanged(this, new stp_prtCartByUDCRowChangeEvent(((stp_prtCartByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.stp_prtCartByUDCRowChanging != null)) { + this.stp_prtCartByUDCRowChanging(this, new stp_prtCartByUDCRowChangeEvent(((stp_prtCartByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.stp_prtCartByUDCRowDeleted != null)) { + this.stp_prtCartByUDCRowDeleted(this, new stp_prtCartByUDCRowChangeEvent(((stp_prtCartByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.stp_prtCartByUDCRowDeleting != null)) { + this.stp_prtCartByUDCRowDeleting(this, new stp_prtCartByUDCRowChangeEvent(((stp_prtCartByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Removestp_prtCartByUDCRow(stp_prtCartByUDCRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + GMWDataSet ds = new GMWDataSet(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "stp_prtCartByUDCDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class stp_prtCartMatPrimaByUDCDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnnRapQual; + + private global::System.Data.DataColumn columnDataRapQual; + + private global::System.Data.DataColumn columnProgUDC; + + private global::System.Data.DataColumn columnCodFor; + + private global::System.Data.DataColumn columnDestTerz; + + private global::System.Data.DataColumn columnCodLega; + + private global::System.Data.DataColumn columnDataPrelFus; + + private global::System.Data.DataColumn columnTurnoPrelFus; + + private global::System.Data.DataColumn columnQta; + + private global::System.Data.DataColumn columnDestLega; + + private global::System.Data.DataColumn columnLegaScaric; + + private global::System.Data.DataColumn columnBenesQual; + + private global::System.Data.DataColumn columnUDC; + + private global::System.Data.DataColumn columnDescFornitore; + + private global::System.Data.DataColumn columnDescFornitore2; + + private global::System.Data.DataColumn columnCodLega2; + + private global::System.Data.DataColumn columnDescLega; + + private global::System.Data.DataColumn columnDescLega2; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_prtCartMatPrimaByUDCDataTable() { + this.TableName = "stp_prtCartMatPrimaByUDC"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal stp_prtCartMatPrimaByUDCDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected stp_prtCartMatPrimaByUDCDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn nRapQualColumn { + get { + return this.columnnRapQual; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn DataRapQualColumn { + get { + return this.columnDataRapQual; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn ProgUDCColumn { + get { + return this.columnProgUDC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn CodForColumn { + get { + return this.columnCodFor; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn DestTerzColumn { + get { + return this.columnDestTerz; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn CodLegaColumn { + get { + return this.columnCodLega; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn DataPrelFusColumn { + get { + return this.columnDataPrelFus; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn TurnoPrelFusColumn { + get { + return this.columnTurnoPrelFus; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn QtaColumn { + get { + return this.columnQta; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn DestLegaColumn { + get { + return this.columnDestLega; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn LegaScaricColumn { + get { + return this.columnLegaScaric; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn BenesQualColumn { + get { + return this.columnBenesQual; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn UDCColumn { + get { + return this.columnUDC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn DescFornitoreColumn { + get { + return this.columnDescFornitore; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn DescFornitore2Column { + get { + return this.columnDescFornitore2; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn CodLega2Column { + get { + return this.columnCodLega2; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn DescLegaColumn { + get { + return this.columnDescLega; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn DescLega2Column { + get { + return this.columnDescLega2; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_prtCartMatPrimaByUDCRow this[int index] { + get { + return ((stp_prtCartMatPrimaByUDCRow)(this.Rows[index])); + } + } + + public event stp_prtCartMatPrimaByUDCRowChangeEventHandler stp_prtCartMatPrimaByUDCRowChanging; + + public event stp_prtCartMatPrimaByUDCRowChangeEventHandler stp_prtCartMatPrimaByUDCRowChanged; + + public event stp_prtCartMatPrimaByUDCRowChangeEventHandler stp_prtCartMatPrimaByUDCRowDeleting; + + public event stp_prtCartMatPrimaByUDCRowChangeEventHandler stp_prtCartMatPrimaByUDCRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Addstp_prtCartMatPrimaByUDCRow(stp_prtCartMatPrimaByUDCRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_prtCartMatPrimaByUDCRow Addstp_prtCartMatPrimaByUDCRow( + decimal nRapQual, + decimal DataRapQual, + string ProgUDC, + string CodFor, + string DestTerz, + string CodLega, + decimal DataPrelFus, + string TurnoPrelFus, + decimal Qta, + string DestLega, + string LegaScaric, + string BenesQual, + string UDC, + string DescFornitore, + string DescFornitore2, + string CodLega2, + string DescLega, + string DescLega2) { + stp_prtCartMatPrimaByUDCRow rowstp_prtCartMatPrimaByUDCRow = ((stp_prtCartMatPrimaByUDCRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + nRapQual, + DataRapQual, + ProgUDC, + CodFor, + DestTerz, + CodLega, + DataPrelFus, + TurnoPrelFus, + Qta, + DestLega, + LegaScaric, + BenesQual, + UDC, + DescFornitore, + DescFornitore2, + CodLega2, + DescLega, + DescLega2}; + rowstp_prtCartMatPrimaByUDCRow.ItemArray = columnValuesArray; + this.Rows.Add(rowstp_prtCartMatPrimaByUDCRow); + return rowstp_prtCartMatPrimaByUDCRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_prtCartMatPrimaByUDCRow FindByProgUDC(string ProgUDC) { + return ((stp_prtCartMatPrimaByUDCRow)(this.Rows.Find(new object[] { + ProgUDC}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + stp_prtCartMatPrimaByUDCDataTable cln = ((stp_prtCartMatPrimaByUDCDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new stp_prtCartMatPrimaByUDCDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnnRapQual = base.Columns["nRapQual"]; + this.columnDataRapQual = base.Columns["DataRapQual"]; + this.columnProgUDC = base.Columns["ProgUDC"]; + this.columnCodFor = base.Columns["CodFor"]; + this.columnDestTerz = base.Columns["DestTerz"]; + this.columnCodLega = base.Columns["CodLega"]; + this.columnDataPrelFus = base.Columns["DataPrelFus"]; + this.columnTurnoPrelFus = base.Columns["TurnoPrelFus"]; + this.columnQta = base.Columns["Qta"]; + this.columnDestLega = base.Columns["DestLega"]; + this.columnLegaScaric = base.Columns["LegaScaric"]; + this.columnBenesQual = base.Columns["BenesQual"]; + this.columnUDC = base.Columns["UDC"]; + this.columnDescFornitore = base.Columns["DescFornitore"]; + this.columnDescFornitore2 = base.Columns["DescFornitore2"]; + this.columnCodLega2 = base.Columns["CodLega2"]; + this.columnDescLega = base.Columns["DescLega"]; + this.columnDescLega2 = base.Columns["DescLega2"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnnRapQual = new global::System.Data.DataColumn("nRapQual", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnnRapQual); + this.columnDataRapQual = new global::System.Data.DataColumn("DataRapQual", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDataRapQual); + this.columnProgUDC = new global::System.Data.DataColumn("ProgUDC", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnProgUDC); + this.columnCodFor = new global::System.Data.DataColumn("CodFor", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodFor); + this.columnDestTerz = new global::System.Data.DataColumn("DestTerz", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDestTerz); + this.columnCodLega = new global::System.Data.DataColumn("CodLega", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodLega); + this.columnDataPrelFus = new global::System.Data.DataColumn("DataPrelFus", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDataPrelFus); + this.columnTurnoPrelFus = new global::System.Data.DataColumn("TurnoPrelFus", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnTurnoPrelFus); + this.columnQta = new global::System.Data.DataColumn("Qta", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnQta); + this.columnDestLega = new global::System.Data.DataColumn("DestLega", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDestLega); + this.columnLegaScaric = new global::System.Data.DataColumn("LegaScaric", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnLegaScaric); + this.columnBenesQual = new global::System.Data.DataColumn("BenesQual", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnBenesQual); + this.columnUDC = new global::System.Data.DataColumn("UDC", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnUDC); + this.columnDescFornitore = new global::System.Data.DataColumn("DescFornitore", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescFornitore); + this.columnDescFornitore2 = new global::System.Data.DataColumn("DescFornitore2", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescFornitore2); + this.columnCodLega2 = new global::System.Data.DataColumn("CodLega2", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodLega2); + this.columnDescLega = new global::System.Data.DataColumn("DescLega", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescLega); + this.columnDescLega2 = new global::System.Data.DataColumn("DescLega2", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescLega2); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnProgUDC}, true)); + this.columnnRapQual.AllowDBNull = false; + this.columnDataRapQual.AllowDBNull = false; + this.columnProgUDC.AllowDBNull = false; + this.columnProgUDC.Unique = true; + this.columnProgUDC.MaxLength = 10; + this.columnCodFor.AllowDBNull = false; + this.columnCodFor.MaxLength = 6; + this.columnDestTerz.AllowDBNull = false; + this.columnDestTerz.MaxLength = 6; + this.columnCodLega.AllowDBNull = false; + this.columnCodLega.MaxLength = 15; + this.columnDataPrelFus.AllowDBNull = false; + this.columnTurnoPrelFus.AllowDBNull = false; + this.columnTurnoPrelFus.MaxLength = 5; + this.columnQta.AllowDBNull = false; + this.columnDestLega.AllowDBNull = false; + this.columnDestLega.MaxLength = 3; + this.columnLegaScaric.AllowDBNull = false; + this.columnLegaScaric.MaxLength = 1; + this.columnBenesQual.AllowDBNull = false; + this.columnBenesQual.MaxLength = 1; + this.columnUDC.MaxLength = 50; + this.columnDescFornitore.MaxLength = 35; + this.columnDescFornitore2.MaxLength = 35; + this.columnCodLega2.MaxLength = 12; + this.columnDescLega.MaxLength = 25; + this.columnDescLega2.MaxLength = 25; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_prtCartMatPrimaByUDCRow Newstp_prtCartMatPrimaByUDCRow() { + return ((stp_prtCartMatPrimaByUDCRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new stp_prtCartMatPrimaByUDCRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(stp_prtCartMatPrimaByUDCRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.stp_prtCartMatPrimaByUDCRowChanged != null)) { + this.stp_prtCartMatPrimaByUDCRowChanged(this, new stp_prtCartMatPrimaByUDCRowChangeEvent(((stp_prtCartMatPrimaByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.stp_prtCartMatPrimaByUDCRowChanging != null)) { + this.stp_prtCartMatPrimaByUDCRowChanging(this, new stp_prtCartMatPrimaByUDCRowChangeEvent(((stp_prtCartMatPrimaByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.stp_prtCartMatPrimaByUDCRowDeleted != null)) { + this.stp_prtCartMatPrimaByUDCRowDeleted(this, new stp_prtCartMatPrimaByUDCRowChangeEvent(((stp_prtCartMatPrimaByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.stp_prtCartMatPrimaByUDCRowDeleting != null)) { + this.stp_prtCartMatPrimaByUDCRowDeleting(this, new stp_prtCartMatPrimaByUDCRowChangeEvent(((stp_prtCartMatPrimaByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Removestp_prtCartMatPrimaByUDCRow(stp_prtCartMatPrimaByUDCRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + GMWDataSet ds = new GMWDataSet(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "stp_prtCartMatPrimaByUDCDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class AnagArticoliRow : global::System.Data.DataRow { + + private AnagArticoliDataTable tableAnagArticoli; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal AnagArticoliRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableAnagArticoli = ((AnagArticoliDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string CodArticolo { + get { + return ((string)(this[this.tableAnagArticoli.CodArticoloColumn])); + } + set { + this[this.tableAnagArticoli.CodArticoloColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string DescrArticolo { + get { + try { + return ((string)(this[this.tableAnagArticoli.DescrArticoloColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescrArticolo\' in table \'AnagArticoli\' is DBNull.", e); + } + } + set { + this[this.tableAnagArticoli.DescrArticoloColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string Figura { + get { + try { + return ((string)(this[this.tableAnagArticoli.FiguraColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Figura\' in table \'AnagArticoli\' is DBNull.", e); + } + } + set { + this[this.tableAnagArticoli.FiguraColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsDescrArticoloNull() { + return this.IsNull(this.tableAnagArticoli.DescrArticoloColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetDescrArticoloNull() { + this[this.tableAnagArticoli.DescrArticoloColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsFiguraNull() { + return this.IsNull(this.tableAnagArticoli.FiguraColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetFiguraNull() { + this[this.tableAnagArticoli.FiguraColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public Impianti2ArticoliRow[] GetImpianti2ArticoliRows() { + if ((this.Table.ChildRelations["FK_Impianti2Articoli_AnagArticoli"] == null)) { + return new Impianti2ArticoliRow[0]; + } + else { + return ((Impianti2ArticoliRow[])(base.GetChildRows(this.Table.ChildRelations["FK_Impianti2Articoli_AnagArticoli"]))); + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class AnagBilanceRow : global::System.Data.DataRow { + + private AnagBilanceDataTable tableAnagBilance; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal AnagBilanceRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableAnagBilance = ((AnagBilanceDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string CodBilancia { + get { + return ((string)(this[this.tableAnagBilance.CodBilanciaColumn])); + } + set { + this[this.tableAnagBilance.CodBilanciaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string DescrImpianto { + get { + try { + return ((string)(this[this.tableAnagBilance.DescrImpiantoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescrImpianto\' in table \'AnagBilance\' is DBNull.", e); + } + } + set { + this[this.tableAnagBilance.DescrImpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string CodCompany { + get { + try { + return ((string)(this[this.tableAnagBilance.CodCompanyColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodCompany\' in table \'AnagBilance\' is DBNull.", e); + } + } + set { + this[this.tableAnagBilance.CodCompanyColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string CodSito { + get { + try { + return ((string)(this[this.tableAnagBilance.CodSitoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodSito\' in table \'AnagBilance\' is DBNull.", e); + } + } + set { + this[this.tableAnagBilance.CodSitoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagSitiRow AnagSitiRowParent { + get { + return ((AnagSitiRow)(this.GetParentRow(this.Table.ParentRelations["FK_AnagBilance_AnagSiti"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["FK_AnagBilance_AnagSiti"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsDescrImpiantoNull() { + return this.IsNull(this.tableAnagBilance.DescrImpiantoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetDescrImpiantoNull() { + this[this.tableAnagBilance.DescrImpiantoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsCodCompanyNull() { + return this.IsNull(this.tableAnagBilance.CodCompanyColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetCodCompanyNull() { + this[this.tableAnagBilance.CodCompanyColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsCodSitoNull() { + return this.IsNull(this.tableAnagBilance.CodSitoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetCodSitoNull() { + this[this.tableAnagBilance.CodSitoColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class AnagCompanyRow : global::System.Data.DataRow { + + private AnagCompanyDataTable tableAnagCompany; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal AnagCompanyRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableAnagCompany = ((AnagCompanyDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string CodCompany { + get { + return ((string)(this[this.tableAnagCompany.CodCompanyColumn])); + } + set { + this[this.tableAnagCompany.CodCompanyColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string DescrCompany { + get { + try { + return ((string)(this[this.tableAnagCompany.DescrCompanyColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescrCompany\' in table \'AnagCompany\' is DBNull.", e); + } + } + set { + this[this.tableAnagCompany.DescrCompanyColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsDescrCompanyNull() { + return this.IsNull(this.tableAnagCompany.DescrCompanyColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetDescrCompanyNull() { + this[this.tableAnagCompany.DescrCompanyColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagOdpRow[] GetAnagOdpRows() { + if ((this.Table.ChildRelations["FK_AnagOdp_AnagCompany"] == null)) { + return new AnagOdpRow[0]; + } + else { + return ((AnagOdpRow[])(base.GetChildRows(this.Table.ChildRelations["FK_AnagOdp_AnagCompany"]))); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagSitiRow[] GetAnagSitiRows() { + if ((this.Table.ChildRelations["FK_AnagSiti_AnagCompany"] == null)) { + return new AnagSitiRow[0]; + } + else { + return ((AnagSitiRow[])(base.GetChildRows(this.Table.ChildRelations["FK_AnagSiti_AnagCompany"]))); + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class AnagImpiantiRow : global::System.Data.DataRow { + + private AnagImpiantiDataTable tableAnagImpianti; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal AnagImpiantiRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableAnagImpianti = ((AnagImpiantiDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string CodImpianto { + get { + return ((string)(this[this.tableAnagImpianti.CodImpiantoColumn])); + } + set { + this[this.tableAnagImpianti.CodImpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string DescrImpianto { + get { + try { + return ((string)(this[this.tableAnagImpianti.DescrImpiantoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescrImpianto\' in table \'AnagImpianti\' is DBNull.", e); + } + } + set { + this[this.tableAnagImpianti.DescrImpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string CodCompany { + get { + try { + return ((string)(this[this.tableAnagImpianti.CodCompanyColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodCompany\' in table \'AnagImpianti\' is DBNull.", e); + } + } + set { + this[this.tableAnagImpianti.CodCompanyColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string CodSito { + get { + try { + return ((string)(this[this.tableAnagImpianti.CodSitoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodSito\' in table \'AnagImpianti\' is DBNull.", e); + } + } + set { + this[this.tableAnagImpianti.CodSitoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagSitiRow AnagSitiRowParent { + get { + return ((AnagSitiRow)(this.GetParentRow(this.Table.ParentRelations["FK_AnagImpianti_AnagSiti"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["FK_AnagImpianti_AnagSiti"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsDescrImpiantoNull() { + return this.IsNull(this.tableAnagImpianti.DescrImpiantoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetDescrImpiantoNull() { + this[this.tableAnagImpianti.DescrImpiantoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsCodCompanyNull() { + return this.IsNull(this.tableAnagImpianti.CodCompanyColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetCodCompanyNull() { + this[this.tableAnagImpianti.CodCompanyColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsCodSitoNull() { + return this.IsNull(this.tableAnagImpianti.CodSitoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetCodSitoNull() { + this[this.tableAnagImpianti.CodSitoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public Impianti2ArticoliRow[] GetImpianti2ArticoliRows() { + if ((this.Table.ChildRelations["FK_Impianti2Articoli_AnagImpianti"] == null)) { + return new Impianti2ArticoliRow[0]; + } + else { + return ((Impianti2ArticoliRow[])(base.GetChildRows(this.Table.ChildRelations["FK_Impianti2Articoli_AnagImpianti"]))); + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class AnagOdpRow : global::System.Data.DataRow { + + private AnagOdpDataTable tableAnagOdp; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal AnagOdpRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableAnagOdp = ((AnagOdpDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string CodCompany { + get { + return ((string)(this[this.tableAnagOdp.CodCompanyColumn])); + } + set { + this[this.tableAnagOdp.CodCompanyColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string ODP { + get { + return ((string)(this[this.tableAnagOdp.ODPColumn])); + } + set { + this[this.tableAnagOdp.ODPColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string CodArticolo { + get { + return ((string)(this[this.tableAnagOdp.CodArticoloColumn])); + } + set { + this[this.tableAnagOdp.CodArticoloColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string CodDisegno { + get { + return ((string)(this[this.tableAnagOdp.CodDisegnoColumn])); + } + set { + this[this.tableAnagOdp.CodDisegnoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string Esponente { + get { + return ((string)(this[this.tableAnagOdp.EsponenteColumn])); + } + set { + this[this.tableAnagOdp.EsponenteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string Magazzino { + get { + return ((string)(this[this.tableAnagOdp.MagazzinoColumn])); + } + set { + this[this.tableAnagOdp.MagazzinoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string Ubicazione { + get { + return ((string)(this[this.tableAnagOdp.UbicazioneColumn])); + } + set { + this[this.tableAnagOdp.UbicazioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public System.DateTime CreateDate { + get { + return ((global::System.DateTime)(this[this.tableAnagOdp.CreateDateColumn])); + } + set { + this[this.tableAnagOdp.CreateDateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public System.DateTime ModDate { + get { + return ((global::System.DateTime)(this[this.tableAnagOdp.ModDateColumn])); + } + set { + this[this.tableAnagOdp.ModDateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagCompanyRow AnagCompanyRow { + get { + return ((AnagCompanyRow)(this.GetParentRow(this.Table.ParentRelations["FK_AnagOdp_AnagCompany"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["FK_AnagOdp_AnagCompany"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public TabStatoOdpUdcRow[] GetTabStatoOdpUdcRows() { + if ((this.Table.ChildRelations["FK_TabStatoOdpUdc_AnagOdp"] == null)) { + return new TabStatoOdpUdcRow[0]; + } + else { + return ((TabStatoOdpUdcRow[])(base.GetChildRows(this.Table.ChildRelations["FK_TabStatoOdpUdc_AnagOdp"]))); + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class AnagSitiRow : global::System.Data.DataRow { + + private AnagSitiDataTable tableAnagSiti; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal AnagSitiRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableAnagSiti = ((AnagSitiDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string CodCompany { + get { + return ((string)(this[this.tableAnagSiti.CodCompanyColumn])); + } + set { + this[this.tableAnagSiti.CodCompanyColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string CodSito { + get { + return ((string)(this[this.tableAnagSiti.CodSitoColumn])); + } + set { + this[this.tableAnagSiti.CodSitoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string DescrSito { + get { + try { + return ((string)(this[this.tableAnagSiti.DescrSitoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescrSito\' in table \'AnagSiti\' is DBNull.", e); + } + } + set { + this[this.tableAnagSiti.DescrSitoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagCompanyRow AnagCompanyRow { + get { + return ((AnagCompanyRow)(this.GetParentRow(this.Table.ParentRelations["FK_AnagSiti_AnagCompany"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["FK_AnagSiti_AnagCompany"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsDescrSitoNull() { + return this.IsNull(this.tableAnagSiti.DescrSitoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetDescrSitoNull() { + this[this.tableAnagSiti.DescrSitoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagBilanceRow[] GetAnagBilanceRows() { + if ((this.Table.ChildRelations["FK_AnagBilance_AnagSiti"] == null)) { + return new AnagBilanceRow[0]; + } + else { + return ((AnagBilanceRow[])(base.GetChildRows(this.Table.ChildRelations["FK_AnagBilance_AnagSiti"]))); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagImpiantiRow[] GetAnagImpiantiRows() { + if ((this.Table.ChildRelations["FK_AnagImpianti_AnagSiti"] == null)) { + return new AnagImpiantiRow[0]; + } + else { + return ((AnagImpiantiRow[])(base.GetChildRows(this.Table.ChildRelations["FK_AnagImpianti_AnagSiti"]))); + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class AnagStatiRow : global::System.Data.DataRow { + + private AnagStatiDataTable tableAnagStati; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal AnagStatiRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableAnagStati = ((AnagStatiDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int IdxStato { + get { + return ((int)(this[this.tableAnagStati.IdxStatoColumn])); + } + set { + this[this.tableAnagStati.IdxStatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string DescrStato { + get { + try { + return ((string)(this[this.tableAnagStati.DescrStatoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescrStato\' in table \'AnagStati\' is DBNull.", e); + } + } + set { + this[this.tableAnagStati.DescrStatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsDescrStatoNull() { + return this.IsNull(this.tableAnagStati.DescrStatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetDescrStatoNull() { + this[this.tableAnagStati.DescrStatoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public TabStatoOdpUdcRow[] GetTabStatoOdpUdcRows() { + if ((this.Table.ChildRelations["FK_TabStatoOdpUdc_AnagStati"] == null)) { + return new TabStatoOdpUdcRow[0]; + } + else { + return ((TabStatoOdpUdcRow[])(base.GetChildRows(this.Table.ChildRelations["FK_TabStatoOdpUdc_AnagStati"]))); + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class ContatoriUdcRow : global::System.Data.DataRow { + + private ContatoriUdcDataTable tableContatoriUdc; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal ContatoriUdcRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableContatoriUdc = ((ContatoriUdcDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string CodCompany { + get { + return ((string)(this[this.tableContatoriUdc.CodCompanyColumn])); + } + set { + this[this.tableContatoriUdc.CodCompanyColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string Flusso { + get { + return ((string)(this[this.tableContatoriUdc.FlussoColumn])); + } + set { + this[this.tableContatoriUdc.FlussoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string Anno { + get { + return ((string)(this[this.tableContatoriUdc.AnnoColumn])); + } + set { + this[this.tableContatoriUdc.AnnoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int LastIdx { + get { + try { + return ((int)(this[this.tableContatoriUdc.LastIdxColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'LastIdx\' in table \'ContatoriUdc\' is DBNull.", e); + } + } + set { + this[this.tableContatoriUdc.LastIdxColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsLastIdxNull() { + return this.IsNull(this.tableContatoriUdc.LastIdxColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetLastIdxNull() { + this[this.tableContatoriUdc.LastIdxColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class Impianti2ArticoliRow : global::System.Data.DataRow { + + private Impianti2ArticoliDataTable tableImpianti2Articoli; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal Impianti2ArticoliRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableImpianti2Articoli = ((Impianti2ArticoliDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string CodImpianto { + get { + return ((string)(this[this.tableImpianti2Articoli.CodImpiantoColumn])); + } + set { + this[this.tableImpianti2Articoli.CodImpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string CodArticolo { + get { + return ((string)(this[this.tableImpianti2Articoli.CodArticoloColumn])); + } + set { + this[this.tableImpianti2Articoli.CodArticoloColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public System.DateTime InizioProd { + get { + return ((global::System.DateTime)(this[this.tableImpianti2Articoli.InizioProdColumn])); + } + set { + this[this.tableImpianti2Articoli.InizioProdColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public System.DateTime FineProd { + get { + try { + return ((global::System.DateTime)(this[this.tableImpianti2Articoli.FineProdColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'FineProd\' in table \'Impianti2Articoli\' is DBNull.", e); + } + } + set { + this[this.tableImpianti2Articoli.FineProdColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagArticoliRow AnagArticoliRow { + get { + return ((AnagArticoliRow)(this.GetParentRow(this.Table.ParentRelations["FK_Impianti2Articoli_AnagArticoli"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["FK_Impianti2Articoli_AnagArticoli"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagImpiantiRow AnagImpiantiRow { + get { + return ((AnagImpiantiRow)(this.GetParentRow(this.Table.ParentRelations["FK_Impianti2Articoli_AnagImpianti"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["FK_Impianti2Articoli_AnagImpianti"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsFineProdNull() { + return this.IsNull(this.tableImpianti2Articoli.FineProdColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetFineProdNull() { + this[this.tableImpianti2Articoli.FineProdColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class TabStatoOdpUdcRow : global::System.Data.DataRow { + + private TabStatoOdpUdcDataTable tableTabStatoOdpUdc; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal TabStatoOdpUdcRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableTabStatoOdpUdc = ((TabStatoOdpUdcDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string CodCompany { + get { + return ((string)(this[this.tableTabStatoOdpUdc.CodCompanyColumn])); + } + set { + this[this.tableTabStatoOdpUdc.CodCompanyColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string ODP { + get { + return ((string)(this[this.tableTabStatoOdpUdc.ODPColumn])); + } + set { + this[this.tableTabStatoOdpUdc.ODPColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string UDC { + get { + return ((string)(this[this.tableTabStatoOdpUdc.UDCColumn])); + } + set { + this[this.tableTabStatoOdpUdc.UDCColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public double Tara { + get { + try { + return ((double)(this[this.tableTabStatoOdpUdc.TaraColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Tara\' in table \'TabStatoOdpUdc\' is DBNull.", e); + } + } + set { + this[this.tableTabStatoOdpUdc.TaraColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int IdxStato { + get { + try { + return ((int)(this[this.tableTabStatoOdpUdc.IdxStatoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'IdxStato\' in table \'TabStatoOdpUdc\' is DBNull.", e); + } + } + set { + this[this.tableTabStatoOdpUdc.IdxStatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public decimal Qta { + get { + try { + return ((decimal)(this[this.tableTabStatoOdpUdc.QtaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Qta\' in table \'TabStatoOdpUdc\' is DBNull.", e); + } + } + set { + this[this.tableTabStatoOdpUdc.QtaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string CodImballo { + get { + try { + return ((string)(this[this.tableTabStatoOdpUdc.CodImballoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodImballo\' in table \'TabStatoOdpUdc\' is DBNull.", e); + } + } + set { + this[this.tableTabStatoOdpUdc.CodImballoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public System.DateTime CreateDate { + get { + try { + return ((global::System.DateTime)(this[this.tableTabStatoOdpUdc.CreateDateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CreateDate\' in table \'TabStatoOdpUdc\' is DBNull.", e); + } + } + set { + this[this.tableTabStatoOdpUdc.CreateDateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public System.DateTime ModDate { + get { + try { + return ((global::System.DateTime)(this[this.tableTabStatoOdpUdc.ModDateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'ModDate\' in table \'TabStatoOdpUdc\' is DBNull.", e); + } + } + set { + this[this.tableTabStatoOdpUdc.ModDateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagOdpRow AnagOdpRowParent { + get { + return ((AnagOdpRow)(this.GetParentRow(this.Table.ParentRelations["FK_TabStatoOdpUdc_AnagOdp"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["FK_TabStatoOdpUdc_AnagOdp"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagStatiRow AnagStatiRow { + get { + return ((AnagStatiRow)(this.GetParentRow(this.Table.ParentRelations["FK_TabStatoOdpUdc_AnagStati"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["FK_TabStatoOdpUdc_AnagStati"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsTaraNull() { + return this.IsNull(this.tableTabStatoOdpUdc.TaraColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetTaraNull() { + this[this.tableTabStatoOdpUdc.TaraColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsIdxStatoNull() { + return this.IsNull(this.tableTabStatoOdpUdc.IdxStatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetIdxStatoNull() { + this[this.tableTabStatoOdpUdc.IdxStatoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsQtaNull() { + return this.IsNull(this.tableTabStatoOdpUdc.QtaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetQtaNull() { + this[this.tableTabStatoOdpUdc.QtaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsCodImballoNull() { + return this.IsNull(this.tableTabStatoOdpUdc.CodImballoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetCodImballoNull() { + this[this.tableTabStatoOdpUdc.CodImballoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsCreateDateNull() { + return this.IsNull(this.tableTabStatoOdpUdc.CreateDateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetCreateDateNull() { + this[this.tableTabStatoOdpUdc.CreateDateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsModDateNull() { + return this.IsNull(this.tableTabStatoOdpUdc.ModDateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetModDateNull() { + this[this.tableTabStatoOdpUdc.ModDateColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class stp_getStatoByUdcRow : global::System.Data.DataRow { + + private stp_getStatoByUdcDataTable tablestp_getStatoByUdc; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal stp_getStatoByUdcRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablestp_getStatoByUdc = ((stp_getStatoByUdcDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string CodCompany { + get { + return ((string)(this[this.tablestp_getStatoByUdc.CodCompanyColumn])); + } + set { + this[this.tablestp_getStatoByUdc.CodCompanyColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string ODP { + get { + return ((string)(this[this.tablestp_getStatoByUdc.ODPColumn])); + } + set { + this[this.tablestp_getStatoByUdc.ODPColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string UDC { + get { + return ((string)(this[this.tablestp_getStatoByUdc.UDCColumn])); + } + set { + this[this.tablestp_getStatoByUdc.UDCColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public double Tara { + get { + try { + return ((double)(this[this.tablestp_getStatoByUdc.TaraColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Tara\' in table \'stp_getStatoByUdc\' is DBNull.", e); + } + } + set { + this[this.tablestp_getStatoByUdc.TaraColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int IdxStato { + get { + try { + return ((int)(this[this.tablestp_getStatoByUdc.IdxStatoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'IdxStato\' in table \'stp_getStatoByUdc\' is DBNull.", e); + } + } + set { + this[this.tablestp_getStatoByUdc.IdxStatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public decimal Qta { + get { + try { + return ((decimal)(this[this.tablestp_getStatoByUdc.QtaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Qta\' in table \'stp_getStatoByUdc\' is DBNull.", e); + } + } + set { + this[this.tablestp_getStatoByUdc.QtaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string CodImballo { + get { + try { + return ((string)(this[this.tablestp_getStatoByUdc.CodImballoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodImballo\' in table \'stp_getStatoByUdc\' is DBNull.", e); + } + } + set { + this[this.tablestp_getStatoByUdc.CodImballoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public System.DateTime CreateDate { + get { + try { + return ((global::System.DateTime)(this[this.tablestp_getStatoByUdc.CreateDateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CreateDate\' in table \'stp_getStatoByUdc\' is DBNull.", e); + } + } + set { + this[this.tablestp_getStatoByUdc.CreateDateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public System.DateTime ModDate { + get { + try { + return ((global::System.DateTime)(this[this.tablestp_getStatoByUdc.ModDateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'ModDate\' in table \'stp_getStatoByUdc\' is DBNull.", e); + } + } + set { + this[this.tablestp_getStatoByUdc.ModDateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsTaraNull() { + return this.IsNull(this.tablestp_getStatoByUdc.TaraColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetTaraNull() { + this[this.tablestp_getStatoByUdc.TaraColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsIdxStatoNull() { + return this.IsNull(this.tablestp_getStatoByUdc.IdxStatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetIdxStatoNull() { + this[this.tablestp_getStatoByUdc.IdxStatoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsQtaNull() { + return this.IsNull(this.tablestp_getStatoByUdc.QtaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetQtaNull() { + this[this.tablestp_getStatoByUdc.QtaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsCodImballoNull() { + return this.IsNull(this.tablestp_getStatoByUdc.CodImballoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetCodImballoNull() { + this[this.tablestp_getStatoByUdc.CodImballoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsCreateDateNull() { + return this.IsNull(this.tablestp_getStatoByUdc.CreateDateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetCreateDateNull() { + this[this.tablestp_getStatoByUdc.CreateDateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsModDateNull() { + return this.IsNull(this.tablestp_getStatoByUdc.ModDateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetModDateNull() { + this[this.tablestp_getStatoByUdc.ModDateColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class stp_insNewOdpUdcRow : global::System.Data.DataRow { + + private stp_insNewOdpUdcDataTable tablestp_insNewOdpUdc; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal stp_insNewOdpUdcRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablestp_insNewOdpUdc = ((stp_insNewOdpUdcDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string CodCompany { + get { + return ((string)(this[this.tablestp_insNewOdpUdc.CodCompanyColumn])); + } + set { + this[this.tablestp_insNewOdpUdc.CodCompanyColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string ODP { + get { + return ((string)(this[this.tablestp_insNewOdpUdc.ODPColumn])); + } + set { + this[this.tablestp_insNewOdpUdc.ODPColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string UDC { + get { + return ((string)(this[this.tablestp_insNewOdpUdc.UDCColumn])); + } + set { + this[this.tablestp_insNewOdpUdc.UDCColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public double Tara { + get { + try { + return ((double)(this[this.tablestp_insNewOdpUdc.TaraColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Tara\' in table \'stp_insNewOdpUdc\' is DBNull.", e); + } + } + set { + this[this.tablestp_insNewOdpUdc.TaraColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int IdxStato { + get { + try { + return ((int)(this[this.tablestp_insNewOdpUdc.IdxStatoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'IdxStato\' in table \'stp_insNewOdpUdc\' is DBNull.", e); + } + } + set { + this[this.tablestp_insNewOdpUdc.IdxStatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public decimal Qta { + get { + try { + return ((decimal)(this[this.tablestp_insNewOdpUdc.QtaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Qta\' in table \'stp_insNewOdpUdc\' is DBNull.", e); + } + } + set { + this[this.tablestp_insNewOdpUdc.QtaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string CodImballo { + get { + try { + return ((string)(this[this.tablestp_insNewOdpUdc.CodImballoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodImballo\' in table \'stp_insNewOdpUdc\' is DBNull.", e); + } + } + set { + this[this.tablestp_insNewOdpUdc.CodImballoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public System.DateTime CreateDate { + get { + try { + return ((global::System.DateTime)(this[this.tablestp_insNewOdpUdc.CreateDateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CreateDate\' in table \'stp_insNewOdpUdc\' is DBNull.", e); + } + } + set { + this[this.tablestp_insNewOdpUdc.CreateDateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public System.DateTime ModDate { + get { + try { + return ((global::System.DateTime)(this[this.tablestp_insNewOdpUdc.ModDateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'ModDate\' in table \'stp_insNewOdpUdc\' is DBNull.", e); + } + } + set { + this[this.tablestp_insNewOdpUdc.ModDateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsTaraNull() { + return this.IsNull(this.tablestp_insNewOdpUdc.TaraColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetTaraNull() { + this[this.tablestp_insNewOdpUdc.TaraColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsIdxStatoNull() { + return this.IsNull(this.tablestp_insNewOdpUdc.IdxStatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetIdxStatoNull() { + this[this.tablestp_insNewOdpUdc.IdxStatoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsQtaNull() { + return this.IsNull(this.tablestp_insNewOdpUdc.QtaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetQtaNull() { + this[this.tablestp_insNewOdpUdc.QtaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsCodImballoNull() { + return this.IsNull(this.tablestp_insNewOdpUdc.CodImballoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetCodImballoNull() { + this[this.tablestp_insNewOdpUdc.CodImballoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsCreateDateNull() { + return this.IsNull(this.tablestp_insNewOdpUdc.CreateDateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetCreateDateNull() { + this[this.tablestp_insNewOdpUdc.CreateDateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsModDateNull() { + return this.IsNull(this.tablestp_insNewOdpUdc.ModDateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetModDateNull() { + this[this.tablestp_insNewOdpUdc.ModDateColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class stp_updateByBilanciaRow : global::System.Data.DataRow { + + private stp_updateByBilanciaDataTable tablestp_updateByBilancia; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal stp_updateByBilanciaRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablestp_updateByBilancia = ((stp_updateByBilanciaDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string CodCompany { + get { + return ((string)(this[this.tablestp_updateByBilancia.CodCompanyColumn])); + } + set { + this[this.tablestp_updateByBilancia.CodCompanyColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string ODP { + get { + return ((string)(this[this.tablestp_updateByBilancia.ODPColumn])); + } + set { + this[this.tablestp_updateByBilancia.ODPColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string UDC { + get { + return ((string)(this[this.tablestp_updateByBilancia.UDCColumn])); + } + set { + this[this.tablestp_updateByBilancia.UDCColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public double Tara { + get { + try { + return ((double)(this[this.tablestp_updateByBilancia.TaraColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Tara\' in table \'stp_updateByBilancia\' is DBNull.", e); + } + } + set { + this[this.tablestp_updateByBilancia.TaraColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int IdxStato { + get { + try { + return ((int)(this[this.tablestp_updateByBilancia.IdxStatoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'IdxStato\' in table \'stp_updateByBilancia\' is DBNull.", e); + } + } + set { + this[this.tablestp_updateByBilancia.IdxStatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public decimal Qta { + get { + try { + return ((decimal)(this[this.tablestp_updateByBilancia.QtaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Qta\' in table \'stp_updateByBilancia\' is DBNull.", e); + } + } + set { + this[this.tablestp_updateByBilancia.QtaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string CodImballo { + get { + try { + return ((string)(this[this.tablestp_updateByBilancia.CodImballoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodImballo\' in table \'stp_updateByBilancia\' is DBNull.", e); + } + } + set { + this[this.tablestp_updateByBilancia.CodImballoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public System.DateTime CreateDate { + get { + try { + return ((global::System.DateTime)(this[this.tablestp_updateByBilancia.CreateDateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CreateDate\' in table \'stp_updateByBilancia\' is DBNull.", e); + } + } + set { + this[this.tablestp_updateByBilancia.CreateDateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public System.DateTime ModDate { + get { + try { + return ((global::System.DateTime)(this[this.tablestp_updateByBilancia.ModDateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'ModDate\' in table \'stp_updateByBilancia\' is DBNull.", e); + } + } + set { + this[this.tablestp_updateByBilancia.ModDateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsTaraNull() { + return this.IsNull(this.tablestp_updateByBilancia.TaraColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetTaraNull() { + this[this.tablestp_updateByBilancia.TaraColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsIdxStatoNull() { + return this.IsNull(this.tablestp_updateByBilancia.IdxStatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetIdxStatoNull() { + this[this.tablestp_updateByBilancia.IdxStatoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsQtaNull() { + return this.IsNull(this.tablestp_updateByBilancia.QtaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetQtaNull() { + this[this.tablestp_updateByBilancia.QtaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsCodImballoNull() { + return this.IsNull(this.tablestp_updateByBilancia.CodImballoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetCodImballoNull() { + this[this.tablestp_updateByBilancia.CodImballoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsCreateDateNull() { + return this.IsNull(this.tablestp_updateByBilancia.CreateDateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetCreateDateNull() { + this[this.tablestp_updateByBilancia.CreateDateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsModDateNull() { + return this.IsNull(this.tablestp_updateByBilancia.ModDateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetModDateNull() { + this[this.tablestp_updateByBilancia.ModDateColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class stp_prtCartByUDCRow : global::System.Data.DataRow { + + private stp_prtCartByUDCDataTable tablestp_prtCartByUDC; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal stp_prtCartByUDCRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablestp_prtCartByUDC = ((stp_prtCartByUDCDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string UDC { + get { + return ((string)(this[this.tablestp_prtCartByUDC.UDCColumn])); + } + set { + this[this.tablestp_prtCartByUDC.UDCColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string CodCS { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.CodCSColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodCS\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.CodCSColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string codcliente { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.codclienteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codcliente\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.codclienteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string ragsociale { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.ragsocialeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'ragsociale\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.ragsocialeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string particolare { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.particolareColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'particolare\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.particolareColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string descparticolare { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.descparticolareColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descparticolare\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.descparticolareColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string disegnogrezzo { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.disegnogrezzoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'disegnogrezzo\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.disegnogrezzoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string esponente { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.esponenteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'esponente\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.esponenteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string codimpianto { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.codimpiantoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codimpianto\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.codimpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string descimpianto { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.descimpiantoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descimpianto\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.descimpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string codstampo { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.codstampoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codstampo\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.codstampoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string figura { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.figuraColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'figura\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.figuraColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public System.DateTime datafus { + get { + try { + return ((global::System.DateTime)(this[this.tablestp_prtCartByUDC.datafusColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'datafus\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.datafusColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int turnofus { + get { + try { + return ((int)(this[this.tablestp_prtCartByUDC.turnofusColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'turnofus\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.turnofusColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string codimballo { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.codimballoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codimballo\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.codimballoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string codsoggetto { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.codsoggettoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codsoggetto\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.codsoggettoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int numcont { + get { + try { + return ((int)(this[this.tablestp_prtCartByUDC.numcontColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'numcont\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.numcontColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public double tara { + get { + try { + return ((double)(this[this.tablestp_prtCartByUDC.taraColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'tara\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.taraColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public decimal qta { + get { + try { + return ((decimal)(this[this.tablestp_prtCartByUDC.qtaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'qta\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.qtaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string codstato { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.codstatoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codstato\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.codstatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int idxposizione { + get { + try { + return ((int)(this[this.tablestp_prtCartByUDC.idxposizioneColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'idxposizione\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.idxposizioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public double pesotot { + get { + try { + return ((double)(this[this.tablestp_prtCartByUDC.pesototColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'pesotot\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.pesototColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public double pesocad { + get { + try { + return ((double)(this[this.tablestp_prtCartByUDC.pesocadColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'pesocad\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.pesocadColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public System.DateTime CreateDate { + get { + try { + return ((global::System.DateTime)(this[this.tablestp_prtCartByUDC.CreateDateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CreateDate\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.CreateDateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public System.DateTime ModDate { + get { + try { + return ((global::System.DateTime)(this[this.tablestp_prtCartByUDC.ModDateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'ModDate\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.ModDateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string cognome { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.cognomeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'cognome\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.cognomeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string nome { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.nomeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'nome\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.nomeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string descstato { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.descstatoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descstato\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.descstatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string descimballo { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.descimballoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descimballo\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.descimballoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string CodFamiglia { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.CodFamigliaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodFamiglia\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.CodFamigliaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string DescFamiglia { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.DescFamigliaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescFamiglia\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.DescFamigliaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsCodCSNull() { + return this.IsNull(this.tablestp_prtCartByUDC.CodCSColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetCodCSNull() { + this[this.tablestp_prtCartByUDC.CodCSColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IscodclienteNull() { + return this.IsNull(this.tablestp_prtCartByUDC.codclienteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetcodclienteNull() { + this[this.tablestp_prtCartByUDC.codclienteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsragsocialeNull() { + return this.IsNull(this.tablestp_prtCartByUDC.ragsocialeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetragsocialeNull() { + this[this.tablestp_prtCartByUDC.ragsocialeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsparticolareNull() { + return this.IsNull(this.tablestp_prtCartByUDC.particolareColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetparticolareNull() { + this[this.tablestp_prtCartByUDC.particolareColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsdescparticolareNull() { + return this.IsNull(this.tablestp_prtCartByUDC.descparticolareColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdescparticolareNull() { + this[this.tablestp_prtCartByUDC.descparticolareColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsdisegnogrezzoNull() { + return this.IsNull(this.tablestp_prtCartByUDC.disegnogrezzoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdisegnogrezzoNull() { + this[this.tablestp_prtCartByUDC.disegnogrezzoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsesponenteNull() { + return this.IsNull(this.tablestp_prtCartByUDC.esponenteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetesponenteNull() { + this[this.tablestp_prtCartByUDC.esponenteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IscodimpiantoNull() { + return this.IsNull(this.tablestp_prtCartByUDC.codimpiantoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetcodimpiantoNull() { + this[this.tablestp_prtCartByUDC.codimpiantoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsdescimpiantoNull() { + return this.IsNull(this.tablestp_prtCartByUDC.descimpiantoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdescimpiantoNull() { + this[this.tablestp_prtCartByUDC.descimpiantoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IscodstampoNull() { + return this.IsNull(this.tablestp_prtCartByUDC.codstampoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetcodstampoNull() { + this[this.tablestp_prtCartByUDC.codstampoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsfiguraNull() { + return this.IsNull(this.tablestp_prtCartByUDC.figuraColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetfiguraNull() { + this[this.tablestp_prtCartByUDC.figuraColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsdatafusNull() { + return this.IsNull(this.tablestp_prtCartByUDC.datafusColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdatafusNull() { + this[this.tablestp_prtCartByUDC.datafusColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsturnofusNull() { + return this.IsNull(this.tablestp_prtCartByUDC.turnofusColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetturnofusNull() { + this[this.tablestp_prtCartByUDC.turnofusColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IscodimballoNull() { + return this.IsNull(this.tablestp_prtCartByUDC.codimballoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetcodimballoNull() { + this[this.tablestp_prtCartByUDC.codimballoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IscodsoggettoNull() { + return this.IsNull(this.tablestp_prtCartByUDC.codsoggettoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetcodsoggettoNull() { + this[this.tablestp_prtCartByUDC.codsoggettoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsnumcontNull() { + return this.IsNull(this.tablestp_prtCartByUDC.numcontColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetnumcontNull() { + this[this.tablestp_prtCartByUDC.numcontColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IstaraNull() { + return this.IsNull(this.tablestp_prtCartByUDC.taraColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SettaraNull() { + this[this.tablestp_prtCartByUDC.taraColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsqtaNull() { + return this.IsNull(this.tablestp_prtCartByUDC.qtaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetqtaNull() { + this[this.tablestp_prtCartByUDC.qtaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IscodstatoNull() { + return this.IsNull(this.tablestp_prtCartByUDC.codstatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetcodstatoNull() { + this[this.tablestp_prtCartByUDC.codstatoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsidxposizioneNull() { + return this.IsNull(this.tablestp_prtCartByUDC.idxposizioneColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetidxposizioneNull() { + this[this.tablestp_prtCartByUDC.idxposizioneColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IspesototNull() { + return this.IsNull(this.tablestp_prtCartByUDC.pesototColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetpesototNull() { + this[this.tablestp_prtCartByUDC.pesototColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IspesocadNull() { + return this.IsNull(this.tablestp_prtCartByUDC.pesocadColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetpesocadNull() { + this[this.tablestp_prtCartByUDC.pesocadColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsCreateDateNull() { + return this.IsNull(this.tablestp_prtCartByUDC.CreateDateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetCreateDateNull() { + this[this.tablestp_prtCartByUDC.CreateDateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsModDateNull() { + return this.IsNull(this.tablestp_prtCartByUDC.ModDateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetModDateNull() { + this[this.tablestp_prtCartByUDC.ModDateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IscognomeNull() { + return this.IsNull(this.tablestp_prtCartByUDC.cognomeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetcognomeNull() { + this[this.tablestp_prtCartByUDC.cognomeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsnomeNull() { + return this.IsNull(this.tablestp_prtCartByUDC.nomeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetnomeNull() { + this[this.tablestp_prtCartByUDC.nomeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsdescstatoNull() { + return this.IsNull(this.tablestp_prtCartByUDC.descstatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdescstatoNull() { + this[this.tablestp_prtCartByUDC.descstatoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsdescimballoNull() { + return this.IsNull(this.tablestp_prtCartByUDC.descimballoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdescimballoNull() { + this[this.tablestp_prtCartByUDC.descimballoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsCodFamigliaNull() { + return this.IsNull(this.tablestp_prtCartByUDC.CodFamigliaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetCodFamigliaNull() { + this[this.tablestp_prtCartByUDC.CodFamigliaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsDescFamigliaNull() { + return this.IsNull(this.tablestp_prtCartByUDC.DescFamigliaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetDescFamigliaNull() { + this[this.tablestp_prtCartByUDC.DescFamigliaColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class stp_prtCartMatPrimaByUDCRow : global::System.Data.DataRow { + + private stp_prtCartMatPrimaByUDCDataTable tablestp_prtCartMatPrimaByUDC; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal stp_prtCartMatPrimaByUDCRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablestp_prtCartMatPrimaByUDC = ((stp_prtCartMatPrimaByUDCDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public decimal nRapQual { + get { + return ((decimal)(this[this.tablestp_prtCartMatPrimaByUDC.nRapQualColumn])); + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.nRapQualColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public decimal DataRapQual { + get { + return ((decimal)(this[this.tablestp_prtCartMatPrimaByUDC.DataRapQualColumn])); + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.DataRapQualColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string ProgUDC { + get { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.ProgUDCColumn])); + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.ProgUDCColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string CodFor { + get { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.CodForColumn])); + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.CodForColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string DestTerz { + get { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.DestTerzColumn])); + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.DestTerzColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string CodLega { + get { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.CodLegaColumn])); + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.CodLegaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public decimal DataPrelFus { + get { + return ((decimal)(this[this.tablestp_prtCartMatPrimaByUDC.DataPrelFusColumn])); + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.DataPrelFusColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string TurnoPrelFus { + get { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.TurnoPrelFusColumn])); + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.TurnoPrelFusColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public decimal Qta { + get { + return ((decimal)(this[this.tablestp_prtCartMatPrimaByUDC.QtaColumn])); + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.QtaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string DestLega { + get { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.DestLegaColumn])); + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.DestLegaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string LegaScaric { + get { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.LegaScaricColumn])); + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.LegaScaricColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string BenesQual { + get { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.BenesQualColumn])); + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.BenesQualColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string UDC { + get { + try { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.UDCColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'UDC\' in table \'stp_prtCartMatPrimaByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.UDCColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string DescFornitore { + get { + try { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.DescFornitoreColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescFornitore\' in table \'stp_prtCartMatPrimaByUDC\' is DBNul" + + "l.", e); + } + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.DescFornitoreColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string DescFornitore2 { + get { + try { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.DescFornitore2Column])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescFornitore2\' in table \'stp_prtCartMatPrimaByUDC\' is DBNu" + + "ll.", e); + } + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.DescFornitore2Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string CodLega2 { + get { + try { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.CodLega2Column])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodLega2\' in table \'stp_prtCartMatPrimaByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.CodLega2Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string DescLega { + get { + try { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.DescLegaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescLega\' in table \'stp_prtCartMatPrimaByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.DescLegaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string DescLega2 { + get { + try { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.DescLega2Column])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescLega2\' in table \'stp_prtCartMatPrimaByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.DescLega2Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsUDCNull() { + return this.IsNull(this.tablestp_prtCartMatPrimaByUDC.UDCColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetUDCNull() { + this[this.tablestp_prtCartMatPrimaByUDC.UDCColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsDescFornitoreNull() { + return this.IsNull(this.tablestp_prtCartMatPrimaByUDC.DescFornitoreColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetDescFornitoreNull() { + this[this.tablestp_prtCartMatPrimaByUDC.DescFornitoreColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsDescFornitore2Null() { + return this.IsNull(this.tablestp_prtCartMatPrimaByUDC.DescFornitore2Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetDescFornitore2Null() { + this[this.tablestp_prtCartMatPrimaByUDC.DescFornitore2Column] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsCodLega2Null() { + return this.IsNull(this.tablestp_prtCartMatPrimaByUDC.CodLega2Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetCodLega2Null() { + this[this.tablestp_prtCartMatPrimaByUDC.CodLega2Column] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsDescLegaNull() { + return this.IsNull(this.tablestp_prtCartMatPrimaByUDC.DescLegaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetDescLegaNull() { + this[this.tablestp_prtCartMatPrimaByUDC.DescLegaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsDescLega2Null() { + return this.IsNull(this.tablestp_prtCartMatPrimaByUDC.DescLega2Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetDescLega2Null() { + this[this.tablestp_prtCartMatPrimaByUDC.DescLega2Column] = global::System.Convert.DBNull; + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class AnagArticoliRowChangeEvent : global::System.EventArgs { + + private AnagArticoliRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagArticoliRowChangeEvent(AnagArticoliRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagArticoliRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class AnagBilanceRowChangeEvent : global::System.EventArgs { + + private AnagBilanceRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagBilanceRowChangeEvent(AnagBilanceRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagBilanceRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class AnagCompanyRowChangeEvent : global::System.EventArgs { + + private AnagCompanyRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagCompanyRowChangeEvent(AnagCompanyRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagCompanyRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class AnagImpiantiRowChangeEvent : global::System.EventArgs { + + private AnagImpiantiRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagImpiantiRowChangeEvent(AnagImpiantiRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagImpiantiRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class AnagOdpRowChangeEvent : global::System.EventArgs { + + private AnagOdpRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagOdpRowChangeEvent(AnagOdpRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagOdpRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class AnagSitiRowChangeEvent : global::System.EventArgs { + + private AnagSitiRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagSitiRowChangeEvent(AnagSitiRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagSitiRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class AnagStatiRowChangeEvent : global::System.EventArgs { + + private AnagStatiRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagStatiRowChangeEvent(AnagStatiRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagStatiRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class ContatoriUdcRowChangeEvent : global::System.EventArgs { + + private ContatoriUdcRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public ContatoriUdcRowChangeEvent(ContatoriUdcRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public ContatoriUdcRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class Impianti2ArticoliRowChangeEvent : global::System.EventArgs { + + private Impianti2ArticoliRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public Impianti2ArticoliRowChangeEvent(Impianti2ArticoliRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public Impianti2ArticoliRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class TabStatoOdpUdcRowChangeEvent : global::System.EventArgs { + + private TabStatoOdpUdcRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public TabStatoOdpUdcRowChangeEvent(TabStatoOdpUdcRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public TabStatoOdpUdcRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class stp_getStatoByUdcRowChangeEvent : global::System.EventArgs { + + private stp_getStatoByUdcRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_getStatoByUdcRowChangeEvent(stp_getStatoByUdcRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_getStatoByUdcRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class stp_insNewOdpUdcRowChangeEvent : global::System.EventArgs { + + private stp_insNewOdpUdcRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_insNewOdpUdcRowChangeEvent(stp_insNewOdpUdcRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_insNewOdpUdcRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class stp_updateByBilanciaRowChangeEvent : global::System.EventArgs { + + private stp_updateByBilanciaRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_updateByBilanciaRowChangeEvent(stp_updateByBilanciaRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_updateByBilanciaRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class stp_prtCartByUDCRowChangeEvent : global::System.EventArgs { + + private stp_prtCartByUDCRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_prtCartByUDCRowChangeEvent(stp_prtCartByUDCRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_prtCartByUDCRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class stp_prtCartMatPrimaByUDCRowChangeEvent : global::System.EventArgs { + + private stp_prtCartMatPrimaByUDCRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_prtCartMatPrimaByUDCRowChangeEvent(stp_prtCartMatPrimaByUDCRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_prtCartMatPrimaByUDCRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + } +} +namespace GMW_Reports.GMWDataSetTableAdapters { + + + /// + ///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 AnagArticoliTableAdapter : 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 AnagArticoliTableAdapter() { + 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 = "AnagArticoli"; + tableMapping.ColumnMappings.Add("CodArticolo", "CodArticolo"); + tableMapping.ColumnMappings.Add("DescrArticolo", "DescrArticolo"); + tableMapping.ColumnMappings.Add("Figura", "Figura"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[AnagArticoli] WHERE (([CodArticolo] = @Original_CodArticolo) AND ((@IsNull_DescrArticolo = 1 AND [DescrArticolo] IS NULL) OR ([DescrArticolo] = @Original_DescrArticolo)) AND ((@IsNull_Figura = 1 AND [Figura] IS NULL) OR ([Figura] = @Original_Figura)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrArticolo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrArticolo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrArticolo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Figura", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Figura", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Figura", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Figura", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[AnagArticoli] ([CodArticolo], [DescrArticolo], [Figura]) VALUE" + + "S (@CodArticolo, @DescrArticolo, @Figura);\r\nSELECT CodArticolo, DescrArticolo, F" + + "igura FROM AnagArticoli WHERE (CodArticolo = @CodArticolo)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrArticolo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Figura", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Figura", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[AnagArticoli] SET [CodArticolo] = @CodArticolo, [DescrArticolo] = @DescrArticolo, [Figura] = @Figura WHERE (([CodArticolo] = @Original_CodArticolo) AND ((@IsNull_DescrArticolo = 1 AND [DescrArticolo] IS NULL) OR ([DescrArticolo] = @Original_DescrArticolo)) AND ((@IsNull_Figura = 1 AND [Figura] IS NULL) OR ([Figura] = @Original_Figura))); +SELECT CodArticolo, DescrArticolo, Figura FROM AnagArticoli WHERE (CodArticolo = @CodArticolo)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrArticolo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Figura", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Figura", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrArticolo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrArticolo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrArticolo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Figura", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Figura", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Figura", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Figura", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::GMW_Reports.Properties.Settings.Default.GMWConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT CodArticolo, DescrArticolo, Figura FROM dbo.AnagArticoli"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(GMWDataSet.AnagArticoliDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual GMWDataSet.AnagArticoliDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + GMWDataSet.AnagArticoliDataTable dataTable = new GMWDataSet.AnagArticoliDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(GMWDataSet.AnagArticoliDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(GMWDataSet dataSet) { + return this.Adapter.Update(dataSet, "AnagArticoli"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_CodArticolo, string Original_DescrArticolo, string Original_Figura) { + if ((Original_CodArticolo == null)) { + throw new global::System.ArgumentNullException("Original_CodArticolo"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodArticolo)); + } + if ((Original_DescrArticolo == null)) { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_DescrArticolo)); + } + if ((Original_Figura == null)) { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_Figura)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string CodArticolo, string DescrArticolo, string Figura) { + if ((CodArticolo == null)) { + throw new global::System.ArgumentNullException("CodArticolo"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodArticolo)); + } + if ((DescrArticolo == null)) { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(DescrArticolo)); + } + if ((Figura == null)) { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(Figura)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string CodArticolo, string DescrArticolo, string Figura, string Original_CodArticolo, string Original_DescrArticolo, string Original_Figura) { + if ((CodArticolo == null)) { + throw new global::System.ArgumentNullException("CodArticolo"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodArticolo)); + } + if ((DescrArticolo == null)) { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(DescrArticolo)); + } + if ((Figura == null)) { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Figura)); + } + if ((Original_CodArticolo == null)) { + throw new global::System.ArgumentNullException("Original_CodArticolo"); + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Original_CodArticolo)); + } + if ((Original_DescrArticolo == null)) { + this.Adapter.UpdateCommand.Parameters[4].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Original_DescrArticolo)); + } + if ((Original_Figura == null)) { + this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Original_Figura)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string DescrArticolo, string Figura, string Original_CodArticolo, string Original_DescrArticolo, string Original_Figura) { + return this.Update(Original_CodArticolo, DescrArticolo, Figura, Original_CodArticolo, Original_DescrArticolo, Original_Figura); + } + } + + /// + ///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 AnagBilanceTableAdapter : 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 AnagBilanceTableAdapter() { + 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 = "AnagBilance"; + tableMapping.ColumnMappings.Add("CodBilancia", "CodBilancia"); + tableMapping.ColumnMappings.Add("DescrImpianto", "DescrImpianto"); + tableMapping.ColumnMappings.Add("CodCompany", "CodCompany"); + tableMapping.ColumnMappings.Add("CodSito", "CodSito"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[AnagBilance] WHERE (([CodBilancia] = @Original_CodBilancia) AND ((@IsNull_DescrImpianto = 1 AND [DescrImpianto] IS NULL) OR ([DescrImpianto] = @Original_DescrImpianto)) AND ((@IsNull_CodCompany = 1 AND [CodCompany] IS NULL) OR ([CodCompany] = @Original_CodCompany)) AND ((@IsNull_CodSito = 1 AND [CodSito] IS NULL) OR ([CodSito] = @Original_CodSito)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodBilancia", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodBilancia", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrImpianto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrImpianto", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrImpianto", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodCompany", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCompany", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCompany", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCompany", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodSito", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSito", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSito", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSito", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[AnagBilance] ([CodBilancia], [DescrImpianto], [CodCompany], [CodSito]) VALUES (@CodBilancia, @DescrImpianto, @CodCompany, @CodSito); +SELECT CodBilancia, DescrImpianto, CodCompany, CodSito FROM AnagBilance WHERE (CodBilancia = @CodBilancia)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodBilancia", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodBilancia", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrImpianto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCompany", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCompany", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSito", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSito", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[AnagBilance] SET [CodBilancia] = @CodBilancia, [DescrImpianto] = @DescrImpianto, [CodCompany] = @CodCompany, [CodSito] = @CodSito WHERE (([CodBilancia] = @Original_CodBilancia) AND ((@IsNull_DescrImpianto = 1 AND [DescrImpianto] IS NULL) OR ([DescrImpianto] = @Original_DescrImpianto)) AND ((@IsNull_CodCompany = 1 AND [CodCompany] IS NULL) OR ([CodCompany] = @Original_CodCompany)) AND ((@IsNull_CodSito = 1 AND [CodSito] IS NULL) OR ([CodSito] = @Original_CodSito))); +SELECT CodBilancia, DescrImpianto, CodCompany, CodSito FROM AnagBilance WHERE (CodBilancia = @CodBilancia)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodBilancia", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodBilancia", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrImpianto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCompany", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCompany", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSito", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSito", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodBilancia", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodBilancia", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrImpianto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrImpianto", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrImpianto", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodCompany", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCompany", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCompany", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCompany", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodSito", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSito", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSito", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSito", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::GMW_Reports.Properties.Settings.Default.GMWConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT CodBilancia, DescrImpianto, CodCompany, CodSito FROM dbo.AnagBilance"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(GMWDataSet.AnagBilanceDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual GMWDataSet.AnagBilanceDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + GMWDataSet.AnagBilanceDataTable dataTable = new GMWDataSet.AnagBilanceDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(GMWDataSet.AnagBilanceDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(GMWDataSet dataSet) { + return this.Adapter.Update(dataSet, "AnagBilance"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_CodBilancia, string Original_DescrImpianto, string Original_CodCompany, string Original_CodSito) { + if ((Original_CodBilancia == null)) { + throw new global::System.ArgumentNullException("Original_CodBilancia"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodBilancia)); + } + if ((Original_DescrImpianto == null)) { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_DescrImpianto)); + } + if ((Original_CodCompany == null)) { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_CodCompany)); + } + if ((Original_CodSito == null)) { + this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_CodSito)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string CodBilancia, string DescrImpianto, string CodCompany, string CodSito) { + if ((CodBilancia == null)) { + throw new global::System.ArgumentNullException("CodBilancia"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodBilancia)); + } + if ((DescrImpianto == null)) { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(DescrImpianto)); + } + if ((CodCompany == null)) { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(CodCompany)); + } + if ((CodSito == null)) { + this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = ((string)(CodSito)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string CodBilancia, string DescrImpianto, string CodCompany, string CodSito, string Original_CodBilancia, string Original_DescrImpianto, string Original_CodCompany, string Original_CodSito) { + if ((CodBilancia == null)) { + throw new global::System.ArgumentNullException("CodBilancia"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodBilancia)); + } + if ((DescrImpianto == null)) { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(DescrImpianto)); + } + if ((CodCompany == null)) { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(CodCompany)); + } + if ((CodSito == null)) { + this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(CodSito)); + } + if ((Original_CodBilancia == null)) { + throw new global::System.ArgumentNullException("Original_CodBilancia"); + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_CodBilancia)); + } + if ((Original_DescrImpianto == null)) { + this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_DescrImpianto)); + } + if ((Original_CodCompany == null)) { + this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_CodCompany)); + } + if ((Original_CodSito == null)) { + this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Original_CodSito)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string DescrImpianto, string CodCompany, string CodSito, string Original_CodBilancia, string Original_DescrImpianto, string Original_CodCompany, string Original_CodSito) { + return this.Update(Original_CodBilancia, DescrImpianto, CodCompany, CodSito, Original_CodBilancia, Original_DescrImpianto, Original_CodCompany, Original_CodSito); + } + } + + /// + ///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 AnagCompanyTableAdapter : 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 AnagCompanyTableAdapter() { + 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 = "AnagCompany"; + tableMapping.ColumnMappings.Add("CodCompany", "CodCompany"); + tableMapping.ColumnMappings.Add("DescrCompany", "DescrCompany"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = "DELETE FROM [dbo].[AnagCompany] WHERE (([CodCompany] = @Original_CodCompany) AND " + + "((@IsNull_DescrCompany = 1 AND [DescrCompany] IS NULL) OR ([DescrCompany] = @Ori" + + "ginal_DescrCompany)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCompany", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCompany", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrCompany", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrCompany", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrCompany", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrCompany", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[AnagCompany] ([CodCompany], [DescrCompany]) VALUES (@CodCompan" + + "y, @DescrCompany);\r\nSELECT CodCompany, DescrCompany FROM AnagCompany WHERE (CodC" + + "ompany = @CodCompany)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCompany", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCompany", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrCompany", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrCompany", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[AnagCompany] SET [CodCompany] = @CodCompany, [DescrCompany] = @DescrCompany WHERE (([CodCompany] = @Original_CodCompany) AND ((@IsNull_DescrCompany = 1 AND [DescrCompany] IS NULL) OR ([DescrCompany] = @Original_DescrCompany))); +SELECT CodCompany, DescrCompany FROM AnagCompany WHERE (CodCompany = @CodCompany)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCompany", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCompany", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrCompany", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrCompany", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCompany", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCompany", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrCompany", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrCompany", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrCompany", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrCompany", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::GMW_Reports.Properties.Settings.Default.GMWConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT CodCompany, DescrCompany FROM dbo.AnagCompany"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(GMWDataSet.AnagCompanyDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual GMWDataSet.AnagCompanyDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + GMWDataSet.AnagCompanyDataTable dataTable = new GMWDataSet.AnagCompanyDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(GMWDataSet.AnagCompanyDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(GMWDataSet dataSet) { + return this.Adapter.Update(dataSet, "AnagCompany"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_CodCompany, string Original_DescrCompany) { + if ((Original_CodCompany == null)) { + throw new global::System.ArgumentNullException("Original_CodCompany"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodCompany)); + } + if ((Original_DescrCompany == null)) { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_DescrCompany)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string CodCompany, string DescrCompany) { + if ((CodCompany == null)) { + throw new global::System.ArgumentNullException("CodCompany"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodCompany)); + } + if ((DescrCompany == null)) { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(DescrCompany)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string CodCompany, string DescrCompany, string Original_CodCompany, string Original_DescrCompany) { + if ((CodCompany == null)) { + throw new global::System.ArgumentNullException("CodCompany"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodCompany)); + } + if ((DescrCompany == null)) { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(DescrCompany)); + } + if ((Original_CodCompany == null)) { + throw new global::System.ArgumentNullException("Original_CodCompany"); + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Original_CodCompany)); + } + if ((Original_DescrCompany == null)) { + this.Adapter.UpdateCommand.Parameters[3].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_DescrCompany)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string DescrCompany, string Original_CodCompany, string Original_DescrCompany) { + return this.Update(Original_CodCompany, DescrCompany, Original_CodCompany, Original_DescrCompany); + } + } + + /// + ///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 AnagImpiantiTableAdapter : 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 AnagImpiantiTableAdapter() { + 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 = "AnagImpianti"; + tableMapping.ColumnMappings.Add("CodImpianto", "CodImpianto"); + tableMapping.ColumnMappings.Add("DescrImpianto", "DescrImpianto"); + tableMapping.ColumnMappings.Add("CodCompany", "CodCompany"); + tableMapping.ColumnMappings.Add("CodSito", "CodSito"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[AnagImpianti] WHERE (([CodImpianto] = @Original_CodImpianto) AND ((@IsNull_DescrImpianto = 1 AND [DescrImpianto] IS NULL) OR ([DescrImpianto] = @Original_DescrImpianto)) AND ((@IsNull_CodCompany = 1 AND [CodCompany] IS NULL) OR ([CodCompany] = @Original_CodCompany)) AND ((@IsNull_CodSito = 1 AND [CodSito] IS NULL) OR ([CodSito] = @Original_CodSito)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImpianto", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrImpianto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrImpianto", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrImpianto", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodCompany", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCompany", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCompany", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCompany", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodSito", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSito", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSito", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSito", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[AnagImpianti] ([CodImpianto], [DescrImpianto], [CodCompany], [CodSito]) VALUES (@CodImpianto, @DescrImpianto, @CodCompany, @CodSito); +SELECT CodImpianto, DescrImpianto, CodCompany, CodSito FROM AnagImpianti WHERE (CodImpianto = @CodImpianto)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImpianto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrImpianto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCompany", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCompany", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSito", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSito", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[AnagImpianti] SET [CodImpianto] = @CodImpianto, [DescrImpianto] = @DescrImpianto, [CodCompany] = @CodCompany, [CodSito] = @CodSito WHERE (([CodImpianto] = @Original_CodImpianto) AND ((@IsNull_DescrImpianto = 1 AND [DescrImpianto] IS NULL) OR ([DescrImpianto] = @Original_DescrImpianto)) AND ((@IsNull_CodCompany = 1 AND [CodCompany] IS NULL) OR ([CodCompany] = @Original_CodCompany)) AND ((@IsNull_CodSito = 1 AND [CodSito] IS NULL) OR ([CodSito] = @Original_CodSito))); +SELECT CodImpianto, DescrImpianto, CodCompany, CodSito FROM AnagImpianti WHERE (CodImpianto = @CodImpianto)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImpianto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrImpianto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCompany", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCompany", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSito", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSito", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImpianto", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrImpianto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrImpianto", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrImpianto", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodCompany", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCompany", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCompany", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCompany", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodSito", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSito", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSito", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSito", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::GMW_Reports.Properties.Settings.Default.GMWConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT CodImpianto, DescrImpianto, CodCompany, CodSito FROM dbo.AnagImpianti"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(GMWDataSet.AnagImpiantiDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual GMWDataSet.AnagImpiantiDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + GMWDataSet.AnagImpiantiDataTable dataTable = new GMWDataSet.AnagImpiantiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(GMWDataSet.AnagImpiantiDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(GMWDataSet dataSet) { + return this.Adapter.Update(dataSet, "AnagImpianti"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_CodImpianto, string Original_DescrImpianto, string Original_CodCompany, string Original_CodSito) { + if ((Original_CodImpianto == null)) { + throw new global::System.ArgumentNullException("Original_CodImpianto"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodImpianto)); + } + if ((Original_DescrImpianto == null)) { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_DescrImpianto)); + } + if ((Original_CodCompany == null)) { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_CodCompany)); + } + if ((Original_CodSito == null)) { + this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_CodSito)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string CodImpianto, string DescrImpianto, string CodCompany, string CodSito) { + if ((CodImpianto == null)) { + throw new global::System.ArgumentNullException("CodImpianto"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodImpianto)); + } + if ((DescrImpianto == null)) { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(DescrImpianto)); + } + if ((CodCompany == null)) { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(CodCompany)); + } + if ((CodSito == null)) { + this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = ((string)(CodSito)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string CodImpianto, string DescrImpianto, string CodCompany, string CodSito, string Original_CodImpianto, string Original_DescrImpianto, string Original_CodCompany, string Original_CodSito) { + if ((CodImpianto == null)) { + throw new global::System.ArgumentNullException("CodImpianto"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodImpianto)); + } + if ((DescrImpianto == null)) { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(DescrImpianto)); + } + if ((CodCompany == null)) { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(CodCompany)); + } + if ((CodSito == null)) { + this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(CodSito)); + } + if ((Original_CodImpianto == null)) { + throw new global::System.ArgumentNullException("Original_CodImpianto"); + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_CodImpianto)); + } + if ((Original_DescrImpianto == null)) { + this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_DescrImpianto)); + } + if ((Original_CodCompany == null)) { + this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_CodCompany)); + } + if ((Original_CodSito == null)) { + this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Original_CodSito)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string DescrImpianto, string CodCompany, string CodSito, string Original_CodImpianto, string Original_DescrImpianto, string Original_CodCompany, string Original_CodSito) { + return this.Update(Original_CodImpianto, DescrImpianto, CodCompany, CodSito, Original_CodImpianto, Original_DescrImpianto, Original_CodCompany, Original_CodSito); + } + } + + /// + ///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 AnagOdpTableAdapter : 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 AnagOdpTableAdapter() { + 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 = "AnagOdp"; + tableMapping.ColumnMappings.Add("CodCompany", "CodCompany"); + tableMapping.ColumnMappings.Add("ODP", "ODP"); + tableMapping.ColumnMappings.Add("CodArticolo", "CodArticolo"); + tableMapping.ColumnMappings.Add("CodDisegno", "CodDisegno"); + tableMapping.ColumnMappings.Add("Esponente", "Esponente"); + tableMapping.ColumnMappings.Add("Magazzino", "Magazzino"); + tableMapping.ColumnMappings.Add("Ubicazione", "Ubicazione"); + tableMapping.ColumnMappings.Add("CreateDate", "CreateDate"); + tableMapping.ColumnMappings.Add("ModDate", "ModDate"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[AnagOdp] WHERE (([CodCompany] = @Original_CodCompany) AND ([ODP] = @Original_ODP) AND ([CodArticolo] = @Original_CodArticolo) AND ([CodDisegno] = @Original_CodDisegno) AND ([Esponente] = @Original_Esponente) AND ([Magazzino] = @Original_Magazzino) AND ([Ubicazione] = @Original_Ubicazione) AND ([CreateDate] = @Original_CreateDate) AND ([ModDate] = @Original_ModDate))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCompany", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCompany", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ODP", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ODP", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodDisegno", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodDisegno", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Esponente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Esponente", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Magazzino", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Magazzino", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Ubicazione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Ubicazione", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CreateDate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CreateDate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ModDate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ModDate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[AnagOdp] ([CodCompany], [ODP], [CodArticolo], [CodDisegno], [Esponente], [Magazzino], [Ubicazione], [CreateDate], [ModDate]) VALUES (@CodCompany, @ODP, @CodArticolo, @CodDisegno, @Esponente, @Magazzino, @Ubicazione, @CreateDate, @ModDate); +SELECT CodCompany, ODP, CodArticolo, CodDisegno, Esponente, Magazzino, Ubicazione, CreateDate, ModDate FROM AnagOdp WHERE (CodCompany = @CodCompany) AND (ODP = @ODP)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCompany", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCompany", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ODP", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ODP", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodDisegno", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodDisegno", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Esponente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Esponente", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Magazzino", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Magazzino", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Ubicazione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Ubicazione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CreateDate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CreateDate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ModDate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ModDate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[AnagOdp] SET [CodCompany] = @CodCompany, [ODP] = @ODP, [CodArticolo] = @CodArticolo, [CodDisegno] = @CodDisegno, [Esponente] = @Esponente, [Magazzino] = @Magazzino, [Ubicazione] = @Ubicazione, [CreateDate] = @CreateDate, [ModDate] = @ModDate WHERE (([CodCompany] = @Original_CodCompany) AND ([ODP] = @Original_ODP) AND ([CodArticolo] = @Original_CodArticolo) AND ([CodDisegno] = @Original_CodDisegno) AND ([Esponente] = @Original_Esponente) AND ([Magazzino] = @Original_Magazzino) AND ([Ubicazione] = @Original_Ubicazione) AND ([CreateDate] = @Original_CreateDate) AND ([ModDate] = @Original_ModDate)); +SELECT CodCompany, ODP, CodArticolo, CodDisegno, Esponente, Magazzino, Ubicazione, CreateDate, ModDate FROM AnagOdp WHERE (CodCompany = @CodCompany) AND (ODP = @ODP)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCompany", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCompany", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ODP", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ODP", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodDisegno", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodDisegno", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Esponente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Esponente", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Magazzino", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Magazzino", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Ubicazione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Ubicazione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CreateDate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CreateDate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ModDate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ModDate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCompany", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCompany", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ODP", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ODP", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodDisegno", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodDisegno", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Esponente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Esponente", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Magazzino", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Magazzino", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Ubicazione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Ubicazione", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CreateDate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CreateDate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ModDate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ModDate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::GMW_Reports.Properties.Settings.Default.GMWConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT CodCompany, ODP, CodArticolo, CodDisegno, Esponente, Magazzino, Ubicazione" + + ", CreateDate, ModDate FROM dbo.AnagOdp"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(GMWDataSet.AnagOdpDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual GMWDataSet.AnagOdpDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + GMWDataSet.AnagOdpDataTable dataTable = new GMWDataSet.AnagOdpDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(GMWDataSet.AnagOdpDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(GMWDataSet dataSet) { + return this.Adapter.Update(dataSet, "AnagOdp"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_CodCompany, string Original_ODP, string Original_CodArticolo, string Original_CodDisegno, string Original_Esponente, string Original_Magazzino, string Original_Ubicazione, System.DateTime Original_CreateDate, System.DateTime Original_ModDate) { + if ((Original_CodCompany == null)) { + throw new global::System.ArgumentNullException("Original_CodCompany"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodCompany)); + } + if ((Original_ODP == null)) { + throw new global::System.ArgumentNullException("Original_ODP"); + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_ODP)); + } + if ((Original_CodArticolo == null)) { + throw new global::System.ArgumentNullException("Original_CodArticolo"); + } + else { + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_CodArticolo)); + } + if ((Original_CodDisegno == null)) { + throw new global::System.ArgumentNullException("Original_CodDisegno"); + } + else { + this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_CodDisegno)); + } + if ((Original_Esponente == null)) { + throw new global::System.ArgumentNullException("Original_Esponente"); + } + else { + this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_Esponente)); + } + if ((Original_Magazzino == null)) { + throw new global::System.ArgumentNullException("Original_Magazzino"); + } + else { + this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(Original_Magazzino)); + } + if ((Original_Ubicazione == null)) { + throw new global::System.ArgumentNullException("Original_Ubicazione"); + } + else { + this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_Ubicazione)); + } + this.Adapter.DeleteCommand.Parameters[7].Value = ((System.DateTime)(Original_CreateDate)); + this.Adapter.DeleteCommand.Parameters[8].Value = ((System.DateTime)(Original_ModDate)); + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string CodCompany, string ODP, string CodArticolo, string CodDisegno, string Esponente, string Magazzino, string Ubicazione, System.DateTime CreateDate, System.DateTime ModDate) { + if ((CodCompany == null)) { + throw new global::System.ArgumentNullException("CodCompany"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodCompany)); + } + if ((ODP == null)) { + throw new global::System.ArgumentNullException("ODP"); + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(ODP)); + } + if ((CodArticolo == null)) { + throw new global::System.ArgumentNullException("CodArticolo"); + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(CodArticolo)); + } + if ((CodDisegno == null)) { + throw new global::System.ArgumentNullException("CodDisegno"); + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = ((string)(CodDisegno)); + } + if ((Esponente == null)) { + throw new global::System.ArgumentNullException("Esponente"); + } + else { + this.Adapter.InsertCommand.Parameters[4].Value = ((string)(Esponente)); + } + if ((Magazzino == null)) { + throw new global::System.ArgumentNullException("Magazzino"); + } + else { + this.Adapter.InsertCommand.Parameters[5].Value = ((string)(Magazzino)); + } + if ((Ubicazione == null)) { + throw new global::System.ArgumentNullException("Ubicazione"); + } + else { + this.Adapter.InsertCommand.Parameters[6].Value = ((string)(Ubicazione)); + } + this.Adapter.InsertCommand.Parameters[7].Value = ((System.DateTime)(CreateDate)); + this.Adapter.InsertCommand.Parameters[8].Value = ((System.DateTime)(ModDate)); + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update( + string CodCompany, + string ODP, + string CodArticolo, + string CodDisegno, + string Esponente, + string Magazzino, + string Ubicazione, + System.DateTime CreateDate, + System.DateTime ModDate, + string Original_CodCompany, + string Original_ODP, + string Original_CodArticolo, + string Original_CodDisegno, + string Original_Esponente, + string Original_Magazzino, + string Original_Ubicazione, + System.DateTime Original_CreateDate, + System.DateTime Original_ModDate) { + if ((CodCompany == null)) { + throw new global::System.ArgumentNullException("CodCompany"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodCompany)); + } + if ((ODP == null)) { + throw new global::System.ArgumentNullException("ODP"); + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(ODP)); + } + if ((CodArticolo == null)) { + throw new global::System.ArgumentNullException("CodArticolo"); + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(CodArticolo)); + } + if ((CodDisegno == null)) { + throw new global::System.ArgumentNullException("CodDisegno"); + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(CodDisegno)); + } + if ((Esponente == null)) { + throw new global::System.ArgumentNullException("Esponente"); + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Esponente)); + } + if ((Magazzino == null)) { + throw new global::System.ArgumentNullException("Magazzino"); + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Magazzino)); + } + if ((Ubicazione == null)) { + throw new global::System.ArgumentNullException("Ubicazione"); + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Ubicazione)); + } + this.Adapter.UpdateCommand.Parameters[7].Value = ((System.DateTime)(CreateDate)); + this.Adapter.UpdateCommand.Parameters[8].Value = ((System.DateTime)(ModDate)); + if ((Original_CodCompany == null)) { + throw new global::System.ArgumentNullException("Original_CodCompany"); + } + else { + this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_CodCompany)); + } + if ((Original_ODP == null)) { + throw new global::System.ArgumentNullException("Original_ODP"); + } + else { + this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Original_ODP)); + } + if ((Original_CodArticolo == null)) { + throw new global::System.ArgumentNullException("Original_CodArticolo"); + } + else { + this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Original_CodArticolo)); + } + if ((Original_CodDisegno == null)) { + throw new global::System.ArgumentNullException("Original_CodDisegno"); + } + else { + this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Original_CodDisegno)); + } + if ((Original_Esponente == null)) { + throw new global::System.ArgumentNullException("Original_Esponente"); + } + else { + this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(Original_Esponente)); + } + if ((Original_Magazzino == null)) { + throw new global::System.ArgumentNullException("Original_Magazzino"); + } + else { + this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(Original_Magazzino)); + } + if ((Original_Ubicazione == null)) { + throw new global::System.ArgumentNullException("Original_Ubicazione"); + } + else { + this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Original_Ubicazione)); + } + this.Adapter.UpdateCommand.Parameters[16].Value = ((System.DateTime)(Original_CreateDate)); + this.Adapter.UpdateCommand.Parameters[17].Value = ((System.DateTime)(Original_ModDate)); + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update( + string CodArticolo, + string CodDisegno, + string Esponente, + string Magazzino, + string Ubicazione, + System.DateTime CreateDate, + System.DateTime ModDate, + string Original_CodCompany, + string Original_ODP, + string Original_CodArticolo, + string Original_CodDisegno, + string Original_Esponente, + string Original_Magazzino, + string Original_Ubicazione, + System.DateTime Original_CreateDate, + System.DateTime Original_ModDate) { + return this.Update(Original_CodCompany, Original_ODP, CodArticolo, CodDisegno, Esponente, Magazzino, Ubicazione, CreateDate, ModDate, Original_CodCompany, Original_ODP, Original_CodArticolo, Original_CodDisegno, Original_Esponente, Original_Magazzino, Original_Ubicazione, Original_CreateDate, Original_ModDate); + } + } + + /// + ///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 AnagSitiTableAdapter : 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 AnagSitiTableAdapter() { + 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 = "AnagSiti"; + tableMapping.ColumnMappings.Add("CodCompany", "CodCompany"); + tableMapping.ColumnMappings.Add("CodSito", "CodSito"); + tableMapping.ColumnMappings.Add("DescrSito", "DescrSito"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = "DELETE FROM [dbo].[AnagSiti] WHERE (([CodCompany] = @Original_CodCompany) AND ([C" + + "odSito] = @Original_CodSito) AND ((@IsNull_DescrSito = 1 AND [DescrSito] IS NULL" + + ") OR ([DescrSito] = @Original_DescrSito)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCompany", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCompany", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSito", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSito", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrSito", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrSito", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrSito", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrSito", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[AnagSiti] ([CodCompany], [CodSito], [DescrSito]) VALUES (@CodC" + + "ompany, @CodSito, @DescrSito);\r\nSELECT CodCompany, CodSito, DescrSito FROM AnagS" + + "iti WHERE (CodCompany = @CodCompany) AND (CodSito = @CodSito)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCompany", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCompany", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSito", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSito", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrSito", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrSito", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[AnagSiti] SET [CodCompany] = @CodCompany, [CodSito] = @CodSito, [DescrSito] = @DescrSito WHERE (([CodCompany] = @Original_CodCompany) AND ([CodSito] = @Original_CodSito) AND ((@IsNull_DescrSito = 1 AND [DescrSito] IS NULL) OR ([DescrSito] = @Original_DescrSito))); +SELECT CodCompany, CodSito, DescrSito FROM AnagSiti WHERE (CodCompany = @CodCompany) AND (CodSito = @CodSito)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCompany", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCompany", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSito", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSito", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrSito", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrSito", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCompany", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCompany", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSito", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSito", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrSito", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrSito", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrSito", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrSito", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::GMW_Reports.Properties.Settings.Default.GMWConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT CodCompany, CodSito, DescrSito FROM dbo.AnagSiti"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(GMWDataSet.AnagSitiDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual GMWDataSet.AnagSitiDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + GMWDataSet.AnagSitiDataTable dataTable = new GMWDataSet.AnagSitiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(GMWDataSet.AnagSitiDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(GMWDataSet dataSet) { + return this.Adapter.Update(dataSet, "AnagSiti"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_CodCompany, string Original_CodSito, string Original_DescrSito) { + if ((Original_CodCompany == null)) { + throw new global::System.ArgumentNullException("Original_CodCompany"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodCompany)); + } + if ((Original_CodSito == null)) { + throw new global::System.ArgumentNullException("Original_CodSito"); + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_CodSito)); + } + if ((Original_DescrSito == null)) { + this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_DescrSito)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string CodCompany, string CodSito, string DescrSito) { + if ((CodCompany == null)) { + throw new global::System.ArgumentNullException("CodCompany"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodCompany)); + } + if ((CodSito == null)) { + throw new global::System.ArgumentNullException("CodSito"); + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(CodSito)); + } + if ((DescrSito == null)) { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(DescrSito)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string CodCompany, string CodSito, string DescrSito, string Original_CodCompany, string Original_CodSito, string Original_DescrSito) { + if ((CodCompany == null)) { + throw new global::System.ArgumentNullException("CodCompany"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodCompany)); + } + if ((CodSito == null)) { + throw new global::System.ArgumentNullException("CodSito"); + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(CodSito)); + } + if ((DescrSito == null)) { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(DescrSito)); + } + if ((Original_CodCompany == null)) { + throw new global::System.ArgumentNullException("Original_CodCompany"); + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Original_CodCompany)); + } + if ((Original_CodSito == null)) { + throw new global::System.ArgumentNullException("Original_CodSito"); + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_CodSito)); + } + if ((Original_DescrSito == null)) { + this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_DescrSito)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string DescrSito, string Original_CodCompany, string Original_CodSito, string Original_DescrSito) { + return this.Update(Original_CodCompany, Original_CodSito, DescrSito, Original_CodCompany, Original_CodSito, Original_DescrSito); + } + } + + /// + ///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 AnagStatiTableAdapter : 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 AnagStatiTableAdapter() { + 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 = "AnagStati"; + tableMapping.ColumnMappings.Add("IdxStato", "IdxStato"); + tableMapping.ColumnMappings.Add("DescrStato", "DescrStato"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = "DELETE FROM [dbo].[AnagStati] WHERE (([IdxStato] = @Original_IdxStato) AND ((@IsN" + + "ull_DescrStato = 1 AND [DescrStato] IS NULL) OR ([DescrStato] = @Original_DescrS" + + "tato)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxStato", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrStato", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrStato", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[AnagStati] ([IdxStato], [DescrStato]) VALUES (@IdxStato, @Desc" + + "rStato);\r\nSELECT IdxStato, DescrStato FROM AnagStati WHERE (IdxStato = @IdxStato" + + ")"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxStato", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrStato", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[AnagStati] SET [IdxStato] = @IdxStato, [DescrStato] = @DescrStato WHERE (([IdxStato] = @Original_IdxStato) AND ((@IsNull_DescrStato = 1 AND [DescrStato] IS NULL) OR ([DescrStato] = @Original_DescrStato))); +SELECT IdxStato, DescrStato FROM AnagStati WHERE (IdxStato = @IdxStato)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxStato", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrStato", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxStato", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrStato", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrStato", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::GMW_Reports.Properties.Settings.Default.GMWConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT IdxStato, DescrStato FROM dbo.AnagStati"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(GMWDataSet.AnagStatiDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual GMWDataSet.AnagStatiDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + GMWDataSet.AnagStatiDataTable dataTable = new GMWDataSet.AnagStatiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(GMWDataSet.AnagStatiDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(GMWDataSet dataSet) { + return this.Adapter.Update(dataSet, "AnagStati"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(int Original_IdxStato, string Original_DescrStato) { + this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_IdxStato)); + if ((Original_DescrStato == null)) { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_DescrStato)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(int IdxStato, string DescrStato) { + this.Adapter.InsertCommand.Parameters[0].Value = ((int)(IdxStato)); + if ((DescrStato == null)) { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(DescrStato)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(int IdxStato, string DescrStato, int Original_IdxStato, string Original_DescrStato) { + this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(IdxStato)); + if ((DescrStato == null)) { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(DescrStato)); + } + this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(Original_IdxStato)); + if ((Original_DescrStato == null)) { + this.Adapter.UpdateCommand.Parameters[3].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_DescrStato)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string DescrStato, int Original_IdxStato, string Original_DescrStato) { + return this.Update(Original_IdxStato, DescrStato, Original_IdxStato, Original_DescrStato); + } + } + + /// + ///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 ContatoriUdcTableAdapter : 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 ContatoriUdcTableAdapter() { + 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 = "ContatoriUdc"; + tableMapping.ColumnMappings.Add("CodCompany", "CodCompany"); + tableMapping.ColumnMappings.Add("Flusso", "Flusso"); + tableMapping.ColumnMappings.Add("Anno", "Anno"); + tableMapping.ColumnMappings.Add("LastIdx", "LastIdx"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = "DELETE FROM [dbo].[ContatoriUdc] WHERE (([CodCompany] = @Original_CodCompany) AND" + + " ([Flusso] = @Original_Flusso) AND ([Anno] = @Original_Anno) AND ((@IsNull_LastI" + + "dx = 1 AND [LastIdx] IS NULL) OR ([LastIdx] = @Original_LastIdx)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCompany", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCompany", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Flusso", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Flusso", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Anno", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Anno", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_LastIdx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LastIdx", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_LastIdx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LastIdx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[ContatoriUdc] ([CodCompany], [Flusso], [Anno], [LastIdx]) VALUES (@CodCompany, @Flusso, @Anno, @LastIdx); +SELECT CodCompany, Flusso, Anno, LastIdx FROM ContatoriUdc WHERE (Anno = @Anno) AND (CodCompany = @CodCompany) AND (Flusso = @Flusso)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCompany", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCompany", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Flusso", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Flusso", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Anno", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Anno", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LastIdx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LastIdx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[ContatoriUdc] SET [CodCompany] = @CodCompany, [Flusso] = @Flusso, [Anno] = @Anno, [LastIdx] = @LastIdx WHERE (([CodCompany] = @Original_CodCompany) AND ([Flusso] = @Original_Flusso) AND ([Anno] = @Original_Anno) AND ((@IsNull_LastIdx = 1 AND [LastIdx] IS NULL) OR ([LastIdx] = @Original_LastIdx))); +SELECT CodCompany, Flusso, Anno, LastIdx FROM ContatoriUdc WHERE (Anno = @Anno) AND (CodCompany = @CodCompany) AND (Flusso = @Flusso)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCompany", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCompany", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Flusso", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Flusso", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Anno", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Anno", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LastIdx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LastIdx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCompany", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCompany", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Flusso", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Flusso", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Anno", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Anno", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_LastIdx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LastIdx", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_LastIdx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LastIdx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::GMW_Reports.Properties.Settings.Default.GMWConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT CodCompany, Flusso, Anno, LastIdx FROM dbo.ContatoriUdc"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(GMWDataSet.ContatoriUdcDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual GMWDataSet.ContatoriUdcDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + GMWDataSet.ContatoriUdcDataTable dataTable = new GMWDataSet.ContatoriUdcDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(GMWDataSet.ContatoriUdcDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(GMWDataSet dataSet) { + return this.Adapter.Update(dataSet, "ContatoriUdc"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_CodCompany, string Original_Flusso, string Original_Anno, global::System.Nullable Original_LastIdx) { + if ((Original_CodCompany == null)) { + throw new global::System.ArgumentNullException("Original_CodCompany"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodCompany)); + } + if ((Original_Flusso == null)) { + throw new global::System.ArgumentNullException("Original_Flusso"); + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_Flusso)); + } + if ((Original_Anno == null)) { + throw new global::System.ArgumentNullException("Original_Anno"); + } + else { + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_Anno)); + } + if ((Original_LastIdx.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[4].Value = ((int)(Original_LastIdx.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string CodCompany, string Flusso, string Anno, global::System.Nullable LastIdx) { + if ((CodCompany == null)) { + throw new global::System.ArgumentNullException("CodCompany"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodCompany)); + } + if ((Flusso == null)) { + throw new global::System.ArgumentNullException("Flusso"); + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(Flusso)); + } + if ((Anno == null)) { + throw new global::System.ArgumentNullException("Anno"); + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(Anno)); + } + if ((LastIdx.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[3].Value = ((int)(LastIdx.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string CodCompany, string Flusso, string Anno, global::System.Nullable LastIdx, string Original_CodCompany, string Original_Flusso, string Original_Anno, global::System.Nullable Original_LastIdx) { + if ((CodCompany == null)) { + throw new global::System.ArgumentNullException("CodCompany"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodCompany)); + } + if ((Flusso == null)) { + throw new global::System.ArgumentNullException("Flusso"); + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(Flusso)); + } + if ((Anno == null)) { + throw new global::System.ArgumentNullException("Anno"); + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Anno)); + } + if ((LastIdx.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(LastIdx.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; + } + if ((Original_CodCompany == null)) { + throw new global::System.ArgumentNullException("Original_CodCompany"); + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_CodCompany)); + } + if ((Original_Flusso == null)) { + throw new global::System.ArgumentNullException("Original_Flusso"); + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Original_Flusso)); + } + if ((Original_Anno == null)) { + throw new global::System.ArgumentNullException("Original_Anno"); + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_Anno)); + } + if ((Original_LastIdx.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[8].Value = ((int)(Original_LastIdx.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(global::System.Nullable LastIdx, string Original_CodCompany, string Original_Flusso, string Original_Anno, global::System.Nullable Original_LastIdx) { + return this.Update(Original_CodCompany, Original_Flusso, Original_Anno, LastIdx, Original_CodCompany, Original_Flusso, Original_Anno, Original_LastIdx); + } + } + + /// + ///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 Impianti2ArticoliTableAdapter : 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 Impianti2ArticoliTableAdapter() { + 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 = "Impianti2Articoli"; + tableMapping.ColumnMappings.Add("CodImpianto", "CodImpianto"); + tableMapping.ColumnMappings.Add("CodArticolo", "CodArticolo"); + tableMapping.ColumnMappings.Add("InizioProd", "InizioProd"); + tableMapping.ColumnMappings.Add("FineProd", "FineProd"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[Impianti2Articoli] WHERE (([CodImpianto] = @Original_CodImpianto) AND ([CodArticolo] = @Original_CodArticolo) AND ([InizioProd] = @Original_InizioProd) AND ((@IsNull_FineProd = 1 AND [FineProd] IS NULL) OR ([FineProd] = @Original_FineProd)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImpianto", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_InizioProd", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "InizioProd", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_FineProd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FineProd", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FineProd", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FineProd", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[Impianti2Articoli] ([CodImpianto], [CodArticolo], [InizioProd], [FineProd]) VALUES (@CodImpianto, @CodArticolo, @InizioProd, @FineProd); +SELECT CodImpianto, CodArticolo, InizioProd, FineProd FROM Impianti2Articoli WHERE (CodArticolo = @CodArticolo) AND (CodImpianto = @CodImpianto) AND (InizioProd = @InizioProd)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImpianto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@InizioProd", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "InizioProd", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FineProd", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FineProd", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[Impianti2Articoli] SET [CodImpianto] = @CodImpianto, [CodArticolo] = @CodArticolo, [InizioProd] = @InizioProd, [FineProd] = @FineProd WHERE (([CodImpianto] = @Original_CodImpianto) AND ([CodArticolo] = @Original_CodArticolo) AND ([InizioProd] = @Original_InizioProd) AND ((@IsNull_FineProd = 1 AND [FineProd] IS NULL) OR ([FineProd] = @Original_FineProd))); +SELECT CodImpianto, CodArticolo, InizioProd, FineProd FROM Impianti2Articoli WHERE (CodArticolo = @CodArticolo) AND (CodImpianto = @CodImpianto) AND (InizioProd = @InizioProd)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImpianto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@InizioProd", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "InizioProd", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FineProd", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FineProd", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImpianto", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_InizioProd", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "InizioProd", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_FineProd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FineProd", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FineProd", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FineProd", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::GMW_Reports.Properties.Settings.Default.GMWConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT CodImpianto, CodArticolo, InizioProd, FineProd FROM dbo.Impianti2Articoli"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(GMWDataSet.Impianti2ArticoliDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual GMWDataSet.Impianti2ArticoliDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + GMWDataSet.Impianti2ArticoliDataTable dataTable = new GMWDataSet.Impianti2ArticoliDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(GMWDataSet.Impianti2ArticoliDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(GMWDataSet dataSet) { + return this.Adapter.Update(dataSet, "Impianti2Articoli"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_CodImpianto, string Original_CodArticolo, System.DateTime Original_InizioProd, global::System.Nullable Original_FineProd) { + if ((Original_CodImpianto == null)) { + throw new global::System.ArgumentNullException("Original_CodImpianto"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodImpianto)); + } + if ((Original_CodArticolo == null)) { + throw new global::System.ArgumentNullException("Original_CodArticolo"); + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_CodArticolo)); + } + this.Adapter.DeleteCommand.Parameters[2].Value = ((System.DateTime)(Original_InizioProd)); + if ((Original_FineProd.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[4].Value = ((System.DateTime)(Original_FineProd.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string CodImpianto, string CodArticolo, System.DateTime InizioProd, global::System.Nullable FineProd) { + if ((CodImpianto == null)) { + throw new global::System.ArgumentNullException("CodImpianto"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodImpianto)); + } + if ((CodArticolo == null)) { + throw new global::System.ArgumentNullException("CodArticolo"); + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(CodArticolo)); + } + this.Adapter.InsertCommand.Parameters[2].Value = ((System.DateTime)(InizioProd)); + if ((FineProd.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[3].Value = ((System.DateTime)(FineProd.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string CodImpianto, string CodArticolo, System.DateTime InizioProd, global::System.Nullable FineProd, string Original_CodImpianto, string Original_CodArticolo, System.DateTime Original_InizioProd, global::System.Nullable Original_FineProd) { + if ((CodImpianto == null)) { + throw new global::System.ArgumentNullException("CodImpianto"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodImpianto)); + } + if ((CodArticolo == null)) { + throw new global::System.ArgumentNullException("CodArticolo"); + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(CodArticolo)); + } + this.Adapter.UpdateCommand.Parameters[2].Value = ((System.DateTime)(InizioProd)); + if ((FineProd.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[3].Value = ((System.DateTime)(FineProd.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; + } + if ((Original_CodImpianto == null)) { + throw new global::System.ArgumentNullException("Original_CodImpianto"); + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_CodImpianto)); + } + if ((Original_CodArticolo == null)) { + throw new global::System.ArgumentNullException("Original_CodArticolo"); + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Original_CodArticolo)); + } + this.Adapter.UpdateCommand.Parameters[6].Value = ((System.DateTime)(Original_InizioProd)); + if ((Original_FineProd.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[8].Value = ((System.DateTime)(Original_FineProd.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(global::System.Nullable FineProd, string Original_CodImpianto, string Original_CodArticolo, System.DateTime Original_InizioProd, global::System.Nullable Original_FineProd) { + return this.Update(Original_CodImpianto, Original_CodArticolo, Original_InizioProd, FineProd, Original_CodImpianto, Original_CodArticolo, Original_InizioProd, Original_FineProd); + } + } + + /// + ///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 TabStatoOdpUdcTableAdapter : 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 TabStatoOdpUdcTableAdapter() { + 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 = "TabStatoOdpUdc"; + tableMapping.ColumnMappings.Add("CodCompany", "CodCompany"); + tableMapping.ColumnMappings.Add("ODP", "ODP"); + tableMapping.ColumnMappings.Add("UDC", "UDC"); + tableMapping.ColumnMappings.Add("Tara", "Tara"); + tableMapping.ColumnMappings.Add("IdxStato", "IdxStato"); + tableMapping.ColumnMappings.Add("Qta", "Qta"); + tableMapping.ColumnMappings.Add("CodImballo", "CodImballo"); + tableMapping.ColumnMappings.Add("CreateDate", "CreateDate"); + tableMapping.ColumnMappings.Add("ModDate", "ModDate"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[TabStatoOdpUdc] WHERE (([CodCompany] = @Original_CodCompany) AND ([ODP] = @Original_ODP) AND ([UDC] = @Original_UDC) AND ((@IsNull_Tara = 1 AND [Tara] IS NULL) OR ([Tara] = @Original_Tara)) AND ((@IsNull_IdxStato = 1 AND [IdxStato] IS NULL) OR ([IdxStato] = @Original_IdxStato)) AND ((@IsNull_Qta = 1 AND [Qta] IS NULL) OR ([Qta] = @Original_Qta)) AND ((@IsNull_CodImballo = 1 AND [CodImballo] IS NULL) OR ([CodImballo] = @Original_CodImballo)) AND ((@IsNull_CreateDate = 1 AND [CreateDate] IS NULL) OR ([CreateDate] = @Original_CreateDate)) AND ((@IsNull_ModDate = 1 AND [ModDate] IS NULL) OR ([ModDate] = @Original_ModDate)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCompany", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCompany", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ODP", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ODP", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Tara", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tara", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Tara", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tara", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_IdxStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxStato", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxStato", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Qta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Qta", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Qta", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 10, 2, "Qta", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodImballo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImballo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodImballo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImballo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CreateDate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CreateDate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CreateDate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CreateDate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ModDate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ModDate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ModDate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ModDate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[TabStatoOdpUdc] ([CodCompany], [ODP], [UDC], [Tara], [IdxStato], [Qta], [CodImballo], [CreateDate], [ModDate]) VALUES (@CodCompany, @ODP, @UDC, @Tara, @IdxStato, @Qta, @CodImballo, @CreateDate, @ModDate); +SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CreateDate, ModDate FROM TabStatoOdpUdc WHERE (CodCompany = @CodCompany) AND (ODP = @ODP) AND (UDC = @UDC)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCompany", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCompany", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ODP", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ODP", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Tara", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tara", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxStato", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Qta", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 10, 2, "Qta", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImballo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImballo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CreateDate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CreateDate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ModDate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ModDate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[TabStatoOdpUdc] SET [CodCompany] = @CodCompany, [ODP] = @ODP, [UDC] = @UDC, [Tara] = @Tara, [IdxStato] = @IdxStato, [Qta] = @Qta, [CodImballo] = @CodImballo, [CreateDate] = @CreateDate, [ModDate] = @ModDate WHERE (([CodCompany] = @Original_CodCompany) AND ([ODP] = @Original_ODP) AND ([UDC] = @Original_UDC) AND ((@IsNull_Tara = 1 AND [Tara] IS NULL) OR ([Tara] = @Original_Tara)) AND ((@IsNull_IdxStato = 1 AND [IdxStato] IS NULL) OR ([IdxStato] = @Original_IdxStato)) AND ((@IsNull_Qta = 1 AND [Qta] IS NULL) OR ([Qta] = @Original_Qta)) AND ((@IsNull_CodImballo = 1 AND [CodImballo] IS NULL) OR ([CodImballo] = @Original_CodImballo)) AND ((@IsNull_CreateDate = 1 AND [CreateDate] IS NULL) OR ([CreateDate] = @Original_CreateDate)) AND ((@IsNull_ModDate = 1 AND [ModDate] IS NULL) OR ([ModDate] = @Original_ModDate))); +SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CreateDate, ModDate FROM TabStatoOdpUdc WHERE (CodCompany = @CodCompany) AND (ODP = @ODP) AND (UDC = @UDC)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCompany", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCompany", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ODP", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ODP", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Tara", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tara", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxStato", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Qta", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 10, 2, "Qta", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImballo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImballo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CreateDate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CreateDate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ModDate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ModDate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCompany", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCompany", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ODP", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ODP", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Tara", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tara", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Tara", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tara", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_IdxStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxStato", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxStato", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Qta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Qta", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Qta", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 10, 2, "Qta", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodImballo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImballo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodImballo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImballo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CreateDate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CreateDate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CreateDate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CreateDate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ModDate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ModDate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ModDate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ModDate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::GMW_Reports.Properties.Settings.Default.GMWConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CreateDate, ModDate" + + " FROM dbo.TabStatoOdpUdc"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(GMWDataSet.TabStatoOdpUdcDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual GMWDataSet.TabStatoOdpUdcDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + GMWDataSet.TabStatoOdpUdcDataTable dataTable = new GMWDataSet.TabStatoOdpUdcDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(GMWDataSet.TabStatoOdpUdcDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(GMWDataSet dataSet) { + return this.Adapter.Update(dataSet, "TabStatoOdpUdc"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_CodCompany, string Original_ODP, string Original_UDC, global::System.Nullable Original_Tara, global::System.Nullable Original_IdxStato, global::System.Nullable Original_Qta, string Original_CodImballo, global::System.Nullable Original_CreateDate, global::System.Nullable Original_ModDate) { + if ((Original_CodCompany == null)) { + throw new global::System.ArgumentNullException("Original_CodCompany"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodCompany)); + } + if ((Original_ODP == null)) { + throw new global::System.ArgumentNullException("Original_ODP"); + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_ODP)); + } + if ((Original_UDC == null)) { + throw new global::System.ArgumentNullException("Original_UDC"); + } + else { + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_UDC)); + } + if ((Original_Tara.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[4].Value = ((double)(Original_Tara.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; + } + if ((Original_IdxStato.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[6].Value = ((int)(Original_IdxStato.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value; + } + if ((Original_Qta.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[8].Value = ((decimal)(Original_Qta.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value; + } + if ((Original_CodImballo == null)) { + this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[10].Value = ((string)(Original_CodImballo)); + } + if ((Original_CreateDate.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[12].Value = ((System.DateTime)(Original_CreateDate.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value; + } + if ((Original_ModDate.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[14].Value = ((System.DateTime)(Original_ModDate.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[14].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string CodCompany, string ODP, string UDC, global::System.Nullable Tara, global::System.Nullable IdxStato, global::System.Nullable Qta, string CodImballo, global::System.Nullable CreateDate, global::System.Nullable ModDate) { + if ((CodCompany == null)) { + throw new global::System.ArgumentNullException("CodCompany"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodCompany)); + } + if ((ODP == null)) { + throw new global::System.ArgumentNullException("ODP"); + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(ODP)); + } + if ((UDC == null)) { + throw new global::System.ArgumentNullException("UDC"); + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(UDC)); + } + if ((Tara.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[3].Value = ((double)(Tara.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; + } + if ((IdxStato.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[4].Value = ((int)(IdxStato.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; + } + if ((Qta.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[5].Value = ((decimal)(Qta.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; + } + if ((CodImballo == null)) { + this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[6].Value = ((string)(CodImballo)); + } + if ((CreateDate.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[7].Value = ((System.DateTime)(CreateDate.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; + } + if ((ModDate.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[8].Value = ((System.DateTime)(ModDate.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update( + string CodCompany, + string ODP, + string UDC, + global::System.Nullable Tara, + global::System.Nullable IdxStato, + global::System.Nullable Qta, + string CodImballo, + global::System.Nullable CreateDate, + global::System.Nullable ModDate, + string Original_CodCompany, + string Original_ODP, + string Original_UDC, + global::System.Nullable Original_Tara, + global::System.Nullable Original_IdxStato, + global::System.Nullable Original_Qta, + string Original_CodImballo, + global::System.Nullable Original_CreateDate, + global::System.Nullable Original_ModDate) { + if ((CodCompany == null)) { + throw new global::System.ArgumentNullException("CodCompany"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodCompany)); + } + if ((ODP == null)) { + throw new global::System.ArgumentNullException("ODP"); + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(ODP)); + } + if ((UDC == null)) { + throw new global::System.ArgumentNullException("UDC"); + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(UDC)); + } + if ((Tara.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[3].Value = ((double)(Tara.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; + } + if ((IdxStato.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[4].Value = ((int)(IdxStato.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + if ((Qta.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[5].Value = ((decimal)(Qta.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; + } + if ((CodImballo == null)) { + this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(CodImballo)); + } + if ((CreateDate.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[7].Value = ((System.DateTime)(CreateDate.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; + } + if ((ModDate.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[8].Value = ((System.DateTime)(ModDate.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; + } + if ((Original_CodCompany == null)) { + throw new global::System.ArgumentNullException("Original_CodCompany"); + } + else { + this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_CodCompany)); + } + if ((Original_ODP == null)) { + throw new global::System.ArgumentNullException("Original_ODP"); + } + else { + this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Original_ODP)); + } + if ((Original_UDC == null)) { + throw new global::System.ArgumentNullException("Original_UDC"); + } + else { + this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Original_UDC)); + } + if ((Original_Tara.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[13].Value = ((double)(Original_Tara.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value; + } + if ((Original_IdxStato.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[15].Value = ((int)(Original_IdxStato.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value; + } + if ((Original_Qta.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[17].Value = ((decimal)(Original_Qta.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value; + } + if ((Original_CodImballo == null)) { + this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(Original_CodImballo)); + } + if ((Original_CreateDate.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[21].Value = ((System.DateTime)(Original_CreateDate.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value; + } + if ((Original_ModDate.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[23].Value = ((System.DateTime)(Original_ModDate.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(global::System.Nullable Tara, global::System.Nullable IdxStato, global::System.Nullable Qta, string CodImballo, global::System.Nullable CreateDate, global::System.Nullable ModDate, string Original_CodCompany, string Original_ODP, string Original_UDC, global::System.Nullable Original_Tara, global::System.Nullable Original_IdxStato, global::System.Nullable Original_Qta, string Original_CodImballo, global::System.Nullable Original_CreateDate, global::System.Nullable Original_ModDate) { + return this.Update(Original_CodCompany, Original_ODP, Original_UDC, Tara, IdxStato, Qta, CodImballo, CreateDate, ModDate, Original_CodCompany, Original_ODP, Original_UDC, Original_Tara, Original_IdxStato, Original_Qta, Original_CodImballo, Original_CreateDate, Original_ModDate); + } + } + + /// + ///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_getStatoByUdcTableAdapter : 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_getStatoByUdcTableAdapter() { + 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_getStatoByUdc"; + tableMapping.ColumnMappings.Add("CodCompany", "CodCompany"); + tableMapping.ColumnMappings.Add("ODP", "ODP"); + tableMapping.ColumnMappings.Add("UDC", "UDC"); + tableMapping.ColumnMappings.Add("Tara", "Tara"); + tableMapping.ColumnMappings.Add("IdxStato", "IdxStato"); + tableMapping.ColumnMappings.Add("Qta", "Qta"); + tableMapping.ColumnMappings.Add("CodImballo", "CodImballo"); + tableMapping.ColumnMappings.Add("CreateDate", "CreateDate"); + tableMapping.ColumnMappings.Add("ModDate", "ModDate"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::GMW_Reports.Properties.Settings.Default.GMWConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "dbo.stp_getStatoByUdc"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(GMWDataSet.stp_getStatoByUdcDataTable dataTable, string UDC) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((UDC == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(UDC)); + } + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual GMWDataSet.stp_getStatoByUdcDataTable GetData(string UDC) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((UDC == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(UDC)); + } + GMWDataSet.stp_getStatoByUdcDataTable dataTable = new GMWDataSet.stp_getStatoByUdcDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DataObjectAttribute(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + + ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class stp_insNewOdpUdcTableAdapter : 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_insNewOdpUdcTableAdapter() { + 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_insNewOdpUdc"; + tableMapping.ColumnMappings.Add("CodCompany", "CodCompany"); + tableMapping.ColumnMappings.Add("ODP", "ODP"); + tableMapping.ColumnMappings.Add("UDC", "UDC"); + tableMapping.ColumnMappings.Add("Tara", "Tara"); + tableMapping.ColumnMappings.Add("IdxStato", "IdxStato"); + tableMapping.ColumnMappings.Add("Qta", "Qta"); + tableMapping.ColumnMappings.Add("CodImballo", "CodImballo"); + tableMapping.ColumnMappings.Add("CreateDate", "CreateDate"); + tableMapping.ColumnMappings.Add("ModDate", "ModDate"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::GMW_Reports.Properties.Settings.Default.GMWConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "dbo.stp_insNewOdpUdc"; + 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("@CodCompany", global::System.Data.SqlDbType.VarChar, 4, 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("@CodSito", global::System.Data.SqlDbType.VarChar, 4, 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("@Flusso", global::System.Data.SqlDbType.VarChar, 2, 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("@Anno", global::System.Data.SqlDbType.VarChar, 2, 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("@ODP", global::System.Data.SqlDbType.VarChar, 20, 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("@Tara", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(GMWDataSet.stp_insNewOdpUdcDataTable dataTable, string CodCompany, string CodSito, string Flusso, string Anno, string ODP, global::System.Nullable Tara) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((CodCompany == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodCompany)); + } + if ((CodSito == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodSito)); + } + if ((Flusso == null)) { + this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[3].Value = ((string)(Flusso)); + } + if ((Anno == null)) { + this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[4].Value = ((string)(Anno)); + } + if ((ODP == null)) { + this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[5].Value = ((string)(ODP)); + } + if ((Tara.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[6].Value = ((double)(Tara.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[6].Value = global::System.DBNull.Value; + } + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual GMWDataSet.stp_insNewOdpUdcDataTable GetData(string CodCompany, string CodSito, string Flusso, string Anno, string ODP, global::System.Nullable Tara) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((CodCompany == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodCompany)); + } + if ((CodSito == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodSito)); + } + if ((Flusso == null)) { + this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[3].Value = ((string)(Flusso)); + } + if ((Anno == null)) { + this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[4].Value = ((string)(Anno)); + } + if ((ODP == null)) { + this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[5].Value = ((string)(ODP)); + } + if ((Tara.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[6].Value = ((double)(Tara.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[6].Value = global::System.DBNull.Value; + } + GMWDataSet.stp_insNewOdpUdcDataTable dataTable = new GMWDataSet.stp_insNewOdpUdcDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DataObjectAttribute(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + + ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class stp_updateByBilanciaTableAdapter : 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_updateByBilanciaTableAdapter() { + 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_updateByBilancia"; + tableMapping.ColumnMappings.Add("CodCompany", "CodCompany"); + tableMapping.ColumnMappings.Add("ODP", "ODP"); + tableMapping.ColumnMappings.Add("UDC", "UDC"); + tableMapping.ColumnMappings.Add("Tara", "Tara"); + tableMapping.ColumnMappings.Add("IdxStato", "IdxStato"); + tableMapping.ColumnMappings.Add("Qta", "Qta"); + tableMapping.ColumnMappings.Add("CodImballo", "CodImballo"); + tableMapping.ColumnMappings.Add("CreateDate", "CreateDate"); + tableMapping.ColumnMappings.Add("ModDate", "ModDate"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::GMW_Reports.Properties.Settings.Default.GMWConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "dbo.stp_updateByBilancia"; + 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("@CodCompany", global::System.Data.SqlDbType.VarChar, 4, 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.VarChar, 20, 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("@CodArticolo", 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("@qta", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(GMWDataSet.stp_updateByBilanciaDataTable dataTable, string CodCompany, string UDC, string CodArticolo, global::System.Nullable qta) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((CodCompany == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodCompany)); + } + if ((UDC == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(UDC)); + } + if ((CodArticolo == null)) { + this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[3].Value = ((string)(CodArticolo)); + } + if ((qta.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[4].Value = ((int)(qta.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value; + } + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual GMWDataSet.stp_updateByBilanciaDataTable GetData(string CodCompany, string UDC, string CodArticolo, global::System.Nullable qta) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((CodCompany == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodCompany)); + } + if ((UDC == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(UDC)); + } + if ((CodArticolo == null)) { + this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[3].Value = ((string)(CodArticolo)); + } + if ((qta.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[4].Value = ((int)(qta.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value; + } + GMWDataSet.stp_updateByBilanciaDataTable dataTable = new GMWDataSet.stp_updateByBilanciaDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DataObjectAttribute(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + + ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class stp_prtCartByUDCTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_prtCartByUDCTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "stp_prtCartByUDC"; + tableMapping.ColumnMappings.Add("UDC", "UDC"); + tableMapping.ColumnMappings.Add("CodCS", "CodCS"); + tableMapping.ColumnMappings.Add("codcliente", "codcliente"); + tableMapping.ColumnMappings.Add("ragsociale", "ragsociale"); + tableMapping.ColumnMappings.Add("particolare", "particolare"); + tableMapping.ColumnMappings.Add("descparticolare", "descparticolare"); + tableMapping.ColumnMappings.Add("disegnogrezzo", "disegnogrezzo"); + tableMapping.ColumnMappings.Add("esponente", "esponente"); + tableMapping.ColumnMappings.Add("codimpianto", "codimpianto"); + tableMapping.ColumnMappings.Add("descimpianto", "descimpianto"); + tableMapping.ColumnMappings.Add("codstampo", "codstampo"); + tableMapping.ColumnMappings.Add("figura", "figura"); + tableMapping.ColumnMappings.Add("datafus", "datafus"); + tableMapping.ColumnMappings.Add("turnofus", "turnofus"); + tableMapping.ColumnMappings.Add("codimballo", "codimballo"); + tableMapping.ColumnMappings.Add("codsoggetto", "codsoggetto"); + tableMapping.ColumnMappings.Add("numcont", "numcont"); + tableMapping.ColumnMappings.Add("tara", "tara"); + tableMapping.ColumnMappings.Add("qta", "qta"); + tableMapping.ColumnMappings.Add("codstato", "codstato"); + tableMapping.ColumnMappings.Add("idxposizione", "idxposizione"); + tableMapping.ColumnMappings.Add("pesotot", "pesotot"); + tableMapping.ColumnMappings.Add("pesocad", "pesocad"); + tableMapping.ColumnMappings.Add("CreateDate", "CreateDate"); + tableMapping.ColumnMappings.Add("ModDate", "ModDate"); + tableMapping.ColumnMappings.Add("cognome", "cognome"); + tableMapping.ColumnMappings.Add("nome", "nome"); + tableMapping.ColumnMappings.Add("descstato", "descstato"); + tableMapping.ColumnMappings.Add("descimballo", "descimballo"); + tableMapping.ColumnMappings.Add("CodFamiglia", "CodFamiglia"); + tableMapping.ColumnMappings.Add("DescFamiglia", "DescFamiglia"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::GMW_Reports.Properties.Settings.Default.GMWConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "dbo.stp_prtCartByUDC"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(GMWDataSet.stp_prtCartByUDCDataTable dataTable, string UDC) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((UDC == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(UDC)); + } + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual GMWDataSet.stp_prtCartByUDCDataTable GetData(string UDC) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((UDC == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(UDC)); + } + GMWDataSet.stp_prtCartByUDCDataTable dataTable = new GMWDataSet.stp_prtCartByUDCDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DataObjectAttribute(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + + ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class stp_prtCartMatPrimaByUDCTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_prtCartMatPrimaByUDCTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "stp_prtCartMatPrimaByUDC"; + tableMapping.ColumnMappings.Add("nRapQual", "nRapQual"); + tableMapping.ColumnMappings.Add("DataRapQual", "DataRapQual"); + tableMapping.ColumnMappings.Add("ProgUDC", "ProgUDC"); + tableMapping.ColumnMappings.Add("CodFor", "CodFor"); + tableMapping.ColumnMappings.Add("DestTerz", "DestTerz"); + tableMapping.ColumnMappings.Add("CodLega", "CodLega"); + tableMapping.ColumnMappings.Add("DataPrelFus", "DataPrelFus"); + tableMapping.ColumnMappings.Add("TurnoPrelFus", "TurnoPrelFus"); + tableMapping.ColumnMappings.Add("Qta", "Qta"); + tableMapping.ColumnMappings.Add("DestLega", "DestLega"); + tableMapping.ColumnMappings.Add("LegaScaric", "LegaScaric"); + tableMapping.ColumnMappings.Add("BenesQual", "BenesQual"); + tableMapping.ColumnMappings.Add("UDC", "UDC"); + tableMapping.ColumnMappings.Add("DescFornitore", "DescFornitore"); + tableMapping.ColumnMappings.Add("DescFornitore2", "DescFornitore2"); + tableMapping.ColumnMappings.Add("CodLega2", "CodLega2"); + tableMapping.ColumnMappings.Add("DescLega", "DescLega"); + tableMapping.ColumnMappings.Add("DescLega2", "DescLega2"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::GMW_Reports.Properties.Settings.Default.GMWConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "dbo.stp_prtCartMatPrimaByUDC"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(GMWDataSet.stp_prtCartMatPrimaByUDCDataTable dataTable, string UDC) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((UDC == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(UDC)); + } + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual GMWDataSet.stp_prtCartMatPrimaByUDCDataTable GetData(string UDC) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((UDC == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(UDC)); + } + GMWDataSet.stp_prtCartMatPrimaByUDCDataTable dataTable = new GMWDataSet.stp_prtCartMatPrimaByUDCDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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 QueriesTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.IDbCommand[] _commandCollection; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected global::System.Data.IDbCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.IDbCommand[2]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[0])).Connection = new global::System.Data.SqlClient.SqlConnection(global::GMW_Reports.Properties.Settings.Default.GMWConnectionString); + ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[0])).CommandText = "dbo.f_padLeft"; + ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[0])).CommandType = global::System.Data.CommandType.StoredProcedure; + ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[0])).Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.VarChar, 255, global::System.Data.ParameterDirection.ReturnValue, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[0])).Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@string", global::System.Data.SqlDbType.VarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[0])).Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@desired_length", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[0])).Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pad_character", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[1])).Connection = new global::System.Data.SqlClient.SqlConnection(global::GMW_Reports.Properties.Settings.Default.GMWConnectionString); + ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[1])).CommandText = "dbo.staccaNewIdx"; + ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[1])).CommandType = global::System.Data.CommandType.StoredProcedure; + ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[1])).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, "", "", "")); + ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[1])).Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCompany", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[1])).Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Flusso", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + ((global::System.Data.SqlClient.SqlCommand)(this._commandCollection[1])).Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Anno", global::System.Data.SqlDbType.VarChar, 2, 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")] + public virtual string f_padLeft(string _string, global::System.Nullable desired_length, string pad_character) { + global::System.Data.SqlClient.SqlCommand command = ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[0])); + if ((_string == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(_string)); + } + if ((desired_length.HasValue == true)) { + command.Parameters[2].Value = ((int)(desired_length.Value)); + } + else { + command.Parameters[2].Value = global::System.DBNull.Value; + } + if ((pad_character == null)) { + command.Parameters[3].Value = global::System.DBNull.Value; + } + else { + command.Parameters[3].Value = ((string)(pad_character)); + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + try { + command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + if (((command.Parameters[0].Value == null) + || (command.Parameters[0].Value.GetType() == typeof(global::System.DBNull)))) { + return null; + } + else { + return ((string)(command.Parameters[0].Value)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual global::System.Nullable staccaNewIdx(string CodCompany, string Flusso, string Anno) { + global::System.Data.SqlClient.SqlCommand command = ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[1])); + if ((CodCompany == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(CodCompany)); + } + if ((Flusso == null)) { + command.Parameters[2].Value = global::System.DBNull.Value; + } + else { + command.Parameters[2].Value = ((string)(Flusso)); + } + if ((Anno == null)) { + command.Parameters[3].Value = global::System.DBNull.Value; + } + else { + command.Parameters[3].Value = ((string)(Anno)); + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + try { + command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + if (((command.Parameters[0].Value == null) + || (command.Parameters[0].Value.GetType() == typeof(global::System.DBNull)))) { + return new global::System.Nullable(); + } + else { + return new global::System.Nullable(((int)(command.Parameters[0].Value))); + } + } + } + + /// + ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios + /// + [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.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" + + "esigner, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")] + public partial class TableAdapterManager : global::System.ComponentModel.Component { + + private UpdateOrderOption _updateOrder; + + private AnagArticoliTableAdapter _anagArticoliTableAdapter; + + private AnagBilanceTableAdapter _anagBilanceTableAdapter; + + private AnagCompanyTableAdapter _anagCompanyTableAdapter; + + private AnagImpiantiTableAdapter _anagImpiantiTableAdapter; + + private AnagOdpTableAdapter _anagOdpTableAdapter; + + private AnagSitiTableAdapter _anagSitiTableAdapter; + + private AnagStatiTableAdapter _anagStatiTableAdapter; + + private ContatoriUdcTableAdapter _contatoriUdcTableAdapter; + + private Impianti2ArticoliTableAdapter _impianti2ArticoliTableAdapter; + + private TabStatoOdpUdcTableAdapter _tabStatoOdpUdcTableAdapter; + + private bool _backupDataSetBeforeUpdate; + + private global::System.Data.IDbConnection _connection; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public UpdateOrderOption UpdateOrder { + get { + return this._updateOrder; + } + set { + this._updateOrder = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" + + "", "System.Drawing.Design.UITypeEditor")] + public AnagArticoliTableAdapter AnagArticoliTableAdapter { + get { + return this._anagArticoliTableAdapter; + } + set { + this._anagArticoliTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" + + "", "System.Drawing.Design.UITypeEditor")] + public AnagBilanceTableAdapter AnagBilanceTableAdapter { + get { + return this._anagBilanceTableAdapter; + } + set { + this._anagBilanceTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" + + "", "System.Drawing.Design.UITypeEditor")] + public AnagCompanyTableAdapter AnagCompanyTableAdapter { + get { + return this._anagCompanyTableAdapter; + } + set { + this._anagCompanyTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" + + "", "System.Drawing.Design.UITypeEditor")] + public AnagImpiantiTableAdapter AnagImpiantiTableAdapter { + get { + return this._anagImpiantiTableAdapter; + } + set { + this._anagImpiantiTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" + + "", "System.Drawing.Design.UITypeEditor")] + public AnagOdpTableAdapter AnagOdpTableAdapter { + get { + return this._anagOdpTableAdapter; + } + set { + this._anagOdpTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" + + "", "System.Drawing.Design.UITypeEditor")] + public AnagSitiTableAdapter AnagSitiTableAdapter { + get { + return this._anagSitiTableAdapter; + } + set { + this._anagSitiTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" + + "", "System.Drawing.Design.UITypeEditor")] + public AnagStatiTableAdapter AnagStatiTableAdapter { + get { + return this._anagStatiTableAdapter; + } + set { + this._anagStatiTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" + + "", "System.Drawing.Design.UITypeEditor")] + public ContatoriUdcTableAdapter ContatoriUdcTableAdapter { + get { + return this._contatoriUdcTableAdapter; + } + set { + this._contatoriUdcTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" + + "", "System.Drawing.Design.UITypeEditor")] + public Impianti2ArticoliTableAdapter Impianti2ArticoliTableAdapter { + get { + return this._impianti2ArticoliTableAdapter; + } + set { + this._impianti2ArticoliTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" + + "", "System.Drawing.Design.UITypeEditor")] + public TabStatoOdpUdcTableAdapter TabStatoOdpUdcTableAdapter { + get { + return this._tabStatoOdpUdcTableAdapter; + } + set { + this._tabStatoOdpUdcTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool BackupDataSetBeforeUpdate { + get { + return this._backupDataSetBeforeUpdate; + } + set { + this._backupDataSetBeforeUpdate = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public global::System.Data.IDbConnection Connection { + get { + if ((this._connection != null)) { + return this._connection; + } + if (((this._anagArticoliTableAdapter != null) + && (this._anagArticoliTableAdapter.Connection != null))) { + return this._anagArticoliTableAdapter.Connection; + } + if (((this._anagBilanceTableAdapter != null) + && (this._anagBilanceTableAdapter.Connection != null))) { + return this._anagBilanceTableAdapter.Connection; + } + if (((this._anagCompanyTableAdapter != null) + && (this._anagCompanyTableAdapter.Connection != null))) { + return this._anagCompanyTableAdapter.Connection; + } + if (((this._anagImpiantiTableAdapter != null) + && (this._anagImpiantiTableAdapter.Connection != null))) { + return this._anagImpiantiTableAdapter.Connection; + } + if (((this._anagOdpTableAdapter != null) + && (this._anagOdpTableAdapter.Connection != null))) { + return this._anagOdpTableAdapter.Connection; + } + if (((this._anagSitiTableAdapter != null) + && (this._anagSitiTableAdapter.Connection != null))) { + return this._anagSitiTableAdapter.Connection; + } + if (((this._anagStatiTableAdapter != null) + && (this._anagStatiTableAdapter.Connection != null))) { + return this._anagStatiTableAdapter.Connection; + } + if (((this._contatoriUdcTableAdapter != null) + && (this._contatoriUdcTableAdapter.Connection != null))) { + return this._contatoriUdcTableAdapter.Connection; + } + if (((this._impianti2ArticoliTableAdapter != null) + && (this._impianti2ArticoliTableAdapter.Connection != null))) { + return this._impianti2ArticoliTableAdapter.Connection; + } + if (((this._tabStatoOdpUdcTableAdapter != null) + && (this._tabStatoOdpUdcTableAdapter.Connection != null))) { + return this._tabStatoOdpUdcTableAdapter.Connection; + } + return null; + } + set { + this._connection = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int TableAdapterInstanceCount { + get { + int count = 0; + if ((this._anagArticoliTableAdapter != null)) { + count = (count + 1); + } + if ((this._anagBilanceTableAdapter != null)) { + count = (count + 1); + } + if ((this._anagCompanyTableAdapter != null)) { + count = (count + 1); + } + if ((this._anagImpiantiTableAdapter != null)) { + count = (count + 1); + } + if ((this._anagOdpTableAdapter != null)) { + count = (count + 1); + } + if ((this._anagSitiTableAdapter != null)) { + count = (count + 1); + } + if ((this._anagStatiTableAdapter != null)) { + count = (count + 1); + } + if ((this._contatoriUdcTableAdapter != null)) { + count = (count + 1); + } + if ((this._impianti2ArticoliTableAdapter != null)) { + count = (count + 1); + } + if ((this._tabStatoOdpUdcTableAdapter != null)) { + count = (count + 1); + } + return count; + } + } + + /// + ///Update rows in top-down order. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private int UpdateUpdatedRows(GMWDataSet dataSet, global::System.Collections.Generic.List allChangedRows, global::System.Collections.Generic.List allAddedRows) { + int result = 0; + if ((this._anagCompanyTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.AnagCompany.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._anagCompanyTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._anagSitiTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.AnagSiti.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._anagSitiTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._anagOdpTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.AnagOdp.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._anagOdpTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._anagStatiTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.AnagStati.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._anagStatiTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._anagArticoliTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.AnagArticoli.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._anagArticoliTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._anagImpiantiTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.AnagImpianti.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._anagImpiantiTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._contatoriUdcTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.ContatoriUdc.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._contatoriUdcTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._anagBilanceTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.AnagBilance.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._anagBilanceTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._tabStatoOdpUdcTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.TabStatoOdpUdc.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._tabStatoOdpUdcTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._impianti2ArticoliTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.Impianti2Articoli.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._impianti2ArticoliTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + return result; + } + + /// + ///Insert rows in top-down order. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private int UpdateInsertedRows(GMWDataSet dataSet, global::System.Collections.Generic.List allAddedRows) { + int result = 0; + if ((this._anagCompanyTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.AnagCompany.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._anagCompanyTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._anagSitiTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.AnagSiti.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._anagSitiTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._anagOdpTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.AnagOdp.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._anagOdpTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._anagStatiTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.AnagStati.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._anagStatiTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._anagArticoliTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.AnagArticoli.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._anagArticoliTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._anagImpiantiTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.AnagImpianti.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._anagImpiantiTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._contatoriUdcTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.ContatoriUdc.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._contatoriUdcTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._anagBilanceTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.AnagBilance.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._anagBilanceTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._tabStatoOdpUdcTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.TabStatoOdpUdc.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._tabStatoOdpUdcTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._impianti2ArticoliTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.Impianti2Articoli.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._impianti2ArticoliTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + return result; + } + + /// + ///Delete rows in bottom-up order. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private int UpdateDeletedRows(GMWDataSet dataSet, global::System.Collections.Generic.List allChangedRows) { + int result = 0; + if ((this._impianti2ArticoliTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.Impianti2Articoli.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._impianti2ArticoliTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._tabStatoOdpUdcTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.TabStatoOdpUdc.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._tabStatoOdpUdcTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._anagBilanceTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.AnagBilance.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._anagBilanceTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._contatoriUdcTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.ContatoriUdc.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._contatoriUdcTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._anagImpiantiTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.AnagImpianti.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._anagImpiantiTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._anagArticoliTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.AnagArticoli.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._anagArticoliTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._anagStatiTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.AnagStati.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._anagStatiTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._anagOdpTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.AnagOdp.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._anagOdpTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._anagSitiTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.AnagSiti.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._anagSitiTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._anagCompanyTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.AnagCompany.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._anagCompanyTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + return result; + } + + /// + ///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private global::System.Data.DataRow[] GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List allAddedRows) { + if (((updatedRows == null) + || (updatedRows.Length < 1))) { + return updatedRows; + } + if (((allAddedRows == null) + || (allAddedRows.Count < 1))) { + return updatedRows; + } + global::System.Collections.Generic.List realUpdatedRows = new global::System.Collections.Generic.List(); + for (int i = 0; (i < updatedRows.Length); i = (i + 1)) { + global::System.Data.DataRow row = updatedRows[i]; + if ((allAddedRows.Contains(row) == false)) { + realUpdatedRows.Add(row); + } + } + return realUpdatedRows.ToArray(); + } + + /// + ///Update all changes to the dataset. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public virtual int UpdateAll(GMWDataSet dataSet) { + if ((dataSet == null)) { + throw new global::System.ArgumentNullException("dataSet"); + } + if ((dataSet.HasChanges() == false)) { + return 0; + } + if (((this._anagArticoliTableAdapter != null) + && (this.MatchTableAdapterConnection(this._anagArticoliTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._anagBilanceTableAdapter != null) + && (this.MatchTableAdapterConnection(this._anagBilanceTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._anagCompanyTableAdapter != null) + && (this.MatchTableAdapterConnection(this._anagCompanyTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._anagImpiantiTableAdapter != null) + && (this.MatchTableAdapterConnection(this._anagImpiantiTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._anagOdpTableAdapter != null) + && (this.MatchTableAdapterConnection(this._anagOdpTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._anagSitiTableAdapter != null) + && (this.MatchTableAdapterConnection(this._anagSitiTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._anagStatiTableAdapter != null) + && (this.MatchTableAdapterConnection(this._anagStatiTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._contatoriUdcTableAdapter != null) + && (this.MatchTableAdapterConnection(this._contatoriUdcTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._impianti2ArticoliTableAdapter != null) + && (this.MatchTableAdapterConnection(this._impianti2ArticoliTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._tabStatoOdpUdcTableAdapter != null) + && (this.MatchTableAdapterConnection(this._tabStatoOdpUdcTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + global::System.Data.IDbConnection workConnection = this.Connection; + if ((workConnection == null)) { + throw new global::System.ApplicationException("TableAdapterManager contains no connection information. Set each TableAdapterMana" + + "ger TableAdapter property to a valid TableAdapter instance."); + } + bool workConnOpened = false; + if (((workConnection.State & global::System.Data.ConnectionState.Broken) + == global::System.Data.ConnectionState.Broken)) { + workConnection.Close(); + } + if ((workConnection.State == global::System.Data.ConnectionState.Closed)) { + workConnection.Open(); + workConnOpened = true; + } + global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction(); + if ((workTransaction == null)) { + throw new global::System.ApplicationException("The transaction cannot begin. The current data connection does not support transa" + + "ctions or the current state is not allowing the transaction to begin."); + } + global::System.Collections.Generic.List allChangedRows = new global::System.Collections.Generic.List(); + global::System.Collections.Generic.List allAddedRows = new global::System.Collections.Generic.List(); + global::System.Collections.Generic.List adaptersWithAcceptChangesDuringUpdate = new global::System.Collections.Generic.List(); + global::System.Collections.Generic.Dictionary revertConnections = new global::System.Collections.Generic.Dictionary(); + int result = 0; + global::System.Data.DataSet backupDataSet = null; + if (this.BackupDataSetBeforeUpdate) { + backupDataSet = new global::System.Data.DataSet(); + backupDataSet.Merge(dataSet); + } + try { + // ---- Prepare for update ----------- + // + if ((this._anagArticoliTableAdapter != null)) { + revertConnections.Add(this._anagArticoliTableAdapter, this._anagArticoliTableAdapter.Connection); + this._anagArticoliTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._anagArticoliTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._anagArticoliTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._anagArticoliTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._anagArticoliTableAdapter.Adapter); + } + } + if ((this._anagBilanceTableAdapter != null)) { + revertConnections.Add(this._anagBilanceTableAdapter, this._anagBilanceTableAdapter.Connection); + this._anagBilanceTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._anagBilanceTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._anagBilanceTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._anagBilanceTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._anagBilanceTableAdapter.Adapter); + } + } + if ((this._anagCompanyTableAdapter != null)) { + revertConnections.Add(this._anagCompanyTableAdapter, this._anagCompanyTableAdapter.Connection); + this._anagCompanyTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._anagCompanyTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._anagCompanyTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._anagCompanyTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._anagCompanyTableAdapter.Adapter); + } + } + if ((this._anagImpiantiTableAdapter != null)) { + revertConnections.Add(this._anagImpiantiTableAdapter, this._anagImpiantiTableAdapter.Connection); + this._anagImpiantiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._anagImpiantiTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._anagImpiantiTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._anagImpiantiTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._anagImpiantiTableAdapter.Adapter); + } + } + if ((this._anagOdpTableAdapter != null)) { + revertConnections.Add(this._anagOdpTableAdapter, this._anagOdpTableAdapter.Connection); + this._anagOdpTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._anagOdpTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._anagOdpTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._anagOdpTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._anagOdpTableAdapter.Adapter); + } + } + if ((this._anagSitiTableAdapter != null)) { + revertConnections.Add(this._anagSitiTableAdapter, this._anagSitiTableAdapter.Connection); + this._anagSitiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._anagSitiTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._anagSitiTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._anagSitiTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._anagSitiTableAdapter.Adapter); + } + } + if ((this._anagStatiTableAdapter != null)) { + revertConnections.Add(this._anagStatiTableAdapter, this._anagStatiTableAdapter.Connection); + this._anagStatiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._anagStatiTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._anagStatiTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._anagStatiTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._anagStatiTableAdapter.Adapter); + } + } + if ((this._contatoriUdcTableAdapter != null)) { + revertConnections.Add(this._contatoriUdcTableAdapter, this._contatoriUdcTableAdapter.Connection); + this._contatoriUdcTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._contatoriUdcTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._contatoriUdcTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._contatoriUdcTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._contatoriUdcTableAdapter.Adapter); + } + } + if ((this._impianti2ArticoliTableAdapter != null)) { + revertConnections.Add(this._impianti2ArticoliTableAdapter, this._impianti2ArticoliTableAdapter.Connection); + this._impianti2ArticoliTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._impianti2ArticoliTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._impianti2ArticoliTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._impianti2ArticoliTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._impianti2ArticoliTableAdapter.Adapter); + } + } + if ((this._tabStatoOdpUdcTableAdapter != null)) { + revertConnections.Add(this._tabStatoOdpUdcTableAdapter, this._tabStatoOdpUdcTableAdapter.Connection); + this._tabStatoOdpUdcTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._tabStatoOdpUdcTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._tabStatoOdpUdcTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._tabStatoOdpUdcTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._tabStatoOdpUdcTableAdapter.Adapter); + } + } + // + //---- Perform updates ----------- + // + if ((this.UpdateOrder == UpdateOrderOption.UpdateInsertDelete)) { + result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows)); + result = (result + this.UpdateInsertedRows(dataSet, allAddedRows)); + } + else { + result = (result + this.UpdateInsertedRows(dataSet, allAddedRows)); + result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows)); + } + result = (result + this.UpdateDeletedRows(dataSet, allChangedRows)); + // + //---- Commit updates ----------- + // + workTransaction.Commit(); + if ((0 < allAddedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count]; + allAddedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + } + } + if ((0 < allChangedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allChangedRows.Count]; + allChangedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + } + } + } + catch (global::System.Exception ex) { + workTransaction.Rollback(); + // ---- Restore the dataset ----------- + if (this.BackupDataSetBeforeUpdate) { + global::System.Diagnostics.Debug.Assert((backupDataSet != null)); + dataSet.Clear(); + dataSet.Merge(backupDataSet); + } + else { + if ((0 < allAddedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count]; + allAddedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + row.SetAdded(); + } + } + } + throw ex; + } + finally { + if (workConnOpened) { + workConnection.Close(); + } + if ((this._anagArticoliTableAdapter != null)) { + this._anagArticoliTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagArticoliTableAdapter])); + this._anagArticoliTableAdapter.Transaction = null; + } + if ((this._anagBilanceTableAdapter != null)) { + this._anagBilanceTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagBilanceTableAdapter])); + this._anagBilanceTableAdapter.Transaction = null; + } + if ((this._anagCompanyTableAdapter != null)) { + this._anagCompanyTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagCompanyTableAdapter])); + this._anagCompanyTableAdapter.Transaction = null; + } + if ((this._anagImpiantiTableAdapter != null)) { + this._anagImpiantiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagImpiantiTableAdapter])); + this._anagImpiantiTableAdapter.Transaction = null; + } + if ((this._anagOdpTableAdapter != null)) { + this._anagOdpTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagOdpTableAdapter])); + this._anagOdpTableAdapter.Transaction = null; + } + if ((this._anagSitiTableAdapter != null)) { + this._anagSitiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagSitiTableAdapter])); + this._anagSitiTableAdapter.Transaction = null; + } + if ((this._anagStatiTableAdapter != null)) { + this._anagStatiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagStatiTableAdapter])); + this._anagStatiTableAdapter.Transaction = null; + } + if ((this._contatoriUdcTableAdapter != null)) { + this._contatoriUdcTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._contatoriUdcTableAdapter])); + this._contatoriUdcTableAdapter.Transaction = null; + } + if ((this._impianti2ArticoliTableAdapter != null)) { + this._impianti2ArticoliTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._impianti2ArticoliTableAdapter])); + this._impianti2ArticoliTableAdapter.Transaction = null; + } + if ((this._tabStatoOdpUdcTableAdapter != null)) { + this._tabStatoOdpUdcTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._tabStatoOdpUdcTableAdapter])); + this._tabStatoOdpUdcTableAdapter.Transaction = null; + } + if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) { + global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count]; + adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters); + for (int i = 0; (i < adapters.Length); i = (i + 1)) { + global::System.Data.Common.DataAdapter adapter = adapters[i]; + adapter.AcceptChangesDuringUpdate = true; + } + } + } + return result; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected virtual void SortSelfReferenceRows(global::System.Data.DataRow[] rows, global::System.Data.DataRelation relation, bool childFirst) { + global::System.Array.Sort(rows, new SelfReferenceComparer(relation, childFirst)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected virtual bool MatchTableAdapterConnection(global::System.Data.IDbConnection inputConnection) { + if ((this._connection != null)) { + return true; + } + if (((this.Connection == null) + || (inputConnection == null))) { + return true; + } + if (string.Equals(this.Connection.ConnectionString, inputConnection.ConnectionString, global::System.StringComparison.Ordinal)) { + return true; + } + return false; + } + + /// + ///Update Order Option + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public enum UpdateOrderOption { + + InsertUpdateDelete = 0, + + UpdateInsertDelete = 1, + } + + /// + ///Used to sort self-referenced table's rows + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + private class SelfReferenceComparer : object, global::System.Collections.Generic.IComparer { + + private global::System.Data.DataRelation _relation; + + private int _childFirst; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal SelfReferenceComparer(global::System.Data.DataRelation relation, bool childFirst) { + this._relation = relation; + if (childFirst) { + this._childFirst = -1; + } + else { + this._childFirst = 1; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool IsChildAndParent(global::System.Data.DataRow child, global::System.Data.DataRow parent) { + global::System.Diagnostics.Debug.Assert((child != null)); + global::System.Diagnostics.Debug.Assert((parent != null)); + global::System.Data.DataRow newParent = child.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default); + for ( + ; ((newParent != null) + && ((object.ReferenceEquals(newParent, child) == false) + && (object.ReferenceEquals(newParent, parent) == false))); + ) { + newParent = newParent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default); + } + if ((newParent == null)) { + for (newParent = child.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original); ((newParent != null) + && ((object.ReferenceEquals(newParent, child) == false) + && (object.ReferenceEquals(newParent, parent) == false))); + ) { + newParent = newParent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original); + } + } + if (object.ReferenceEquals(newParent, parent)) { + return true; + } + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int Compare(global::System.Data.DataRow row1, global::System.Data.DataRow row2) { + if (object.ReferenceEquals(row1, row2)) { + return 0; + } + if ((row1 == null)) { + return -1; + } + if ((row2 == null)) { + return 1; + } + + // Is row1 the child or grandchild of row2 + if (this.IsChildAndParent(row1, row2)) { + return this._childFirst; + } + + // Is row2 the child or grandchild of row1 + if (this.IsChildAndParent(row2, row1)) { + return (-1 * this._childFirst); + } + return 0; + } + } + } +} + +#pragma warning restore 1591 \ No newline at end of file diff --git a/GMW_Reports/GMWDataSet.xsc b/GMW_Reports/GMWDataSet.xsc new file mode 100644 index 00000000..551fc56f --- /dev/null +++ b/GMW_Reports/GMWDataSet.xsc @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/GMW_Reports/GMWDataSet.xsd b/GMW_Reports/GMWDataSet.xsd new file mode 100644 index 00000000..76ec2eed --- /dev/null +++ b/GMW_Reports/GMWDataSet.xsd @@ -0,0 +1,1636 @@ + + + + + + + + + + + + + + + DELETE FROM [dbo].[AnagArticoli] WHERE (([CodArticolo] = @Original_CodArticolo) AND ((@IsNull_DescrArticolo = 1 AND [DescrArticolo] IS NULL) OR ([DescrArticolo] = @Original_DescrArticolo)) AND ((@IsNull_Figura = 1 AND [Figura] IS NULL) OR ([Figura] = @Original_Figura))) + + + + + + + + + + + + INSERT INTO [dbo].[AnagArticoli] ([CodArticolo], [DescrArticolo], [Figura]) VALUES (@CodArticolo, @DescrArticolo, @Figura); +SELECT CodArticolo, DescrArticolo, Figura FROM AnagArticoli WHERE (CodArticolo = @CodArticolo) + + + + + + + + + + SELECT CodArticolo, DescrArticolo, Figura FROM dbo.AnagArticoli + + + + + + UPDATE [dbo].[AnagArticoli] SET [CodArticolo] = @CodArticolo, [DescrArticolo] = @DescrArticolo, [Figura] = @Figura WHERE (([CodArticolo] = @Original_CodArticolo) AND ((@IsNull_DescrArticolo = 1 AND [DescrArticolo] IS NULL) OR ([DescrArticolo] = @Original_DescrArticolo)) AND ((@IsNull_Figura = 1 AND [Figura] IS NULL) OR ([Figura] = @Original_Figura))); +SELECT CodArticolo, DescrArticolo, Figura FROM AnagArticoli WHERE (CodArticolo = @CodArticolo) + + + + + + + + + + + + + + + + + + + + + + + + + + + DELETE FROM [dbo].[AnagBilance] WHERE (([CodBilancia] = @Original_CodBilancia) AND ((@IsNull_DescrImpianto = 1 AND [DescrImpianto] IS NULL) OR ([DescrImpianto] = @Original_DescrImpianto)) AND ((@IsNull_CodCompany = 1 AND [CodCompany] IS NULL) OR ([CodCompany] = @Original_CodCompany)) AND ((@IsNull_CodSito = 1 AND [CodSito] IS NULL) OR ([CodSito] = @Original_CodSito))) + + + + + + + + + + + + + + INSERT INTO [dbo].[AnagBilance] ([CodBilancia], [DescrImpianto], [CodCompany], [CodSito]) VALUES (@CodBilancia, @DescrImpianto, @CodCompany, @CodSito); +SELECT CodBilancia, DescrImpianto, CodCompany, CodSito FROM AnagBilance WHERE (CodBilancia = @CodBilancia) + + + + + + + + + + + SELECT CodBilancia, DescrImpianto, CodCompany, CodSito FROM dbo.AnagBilance + + + + + + UPDATE [dbo].[AnagBilance] SET [CodBilancia] = @CodBilancia, [DescrImpianto] = @DescrImpianto, [CodCompany] = @CodCompany, [CodSito] = @CodSito WHERE (([CodBilancia] = @Original_CodBilancia) AND ((@IsNull_DescrImpianto = 1 AND [DescrImpianto] IS NULL) OR ([DescrImpianto] = @Original_DescrImpianto)) AND ((@IsNull_CodCompany = 1 AND [CodCompany] IS NULL) OR ([CodCompany] = @Original_CodCompany)) AND ((@IsNull_CodSito = 1 AND [CodSito] IS NULL) OR ([CodSito] = @Original_CodSito))); +SELECT CodBilancia, DescrImpianto, CodCompany, CodSito FROM AnagBilance WHERE (CodBilancia = @CodBilancia) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DELETE FROM [dbo].[AnagCompany] WHERE (([CodCompany] = @Original_CodCompany) AND ((@IsNull_DescrCompany = 1 AND [DescrCompany] IS NULL) OR ([DescrCompany] = @Original_DescrCompany))) + + + + + + + + + + INSERT INTO [dbo].[AnagCompany] ([CodCompany], [DescrCompany]) VALUES (@CodCompany, @DescrCompany); +SELECT CodCompany, DescrCompany FROM AnagCompany WHERE (CodCompany = @CodCompany) + + + + + + + + + SELECT CodCompany, DescrCompany FROM dbo.AnagCompany + + + + + + UPDATE [dbo].[AnagCompany] SET [CodCompany] = @CodCompany, [DescrCompany] = @DescrCompany WHERE (([CodCompany] = @Original_CodCompany) AND ((@IsNull_DescrCompany = 1 AND [DescrCompany] IS NULL) OR ([DescrCompany] = @Original_DescrCompany))); +SELECT CodCompany, DescrCompany FROM AnagCompany WHERE (CodCompany = @CodCompany) + + + + + + + + + + + + + + + + + + + + + + + DELETE FROM [dbo].[AnagImpianti] WHERE (([CodImpianto] = @Original_CodImpianto) AND ((@IsNull_DescrImpianto = 1 AND [DescrImpianto] IS NULL) OR ([DescrImpianto] = @Original_DescrImpianto)) AND ((@IsNull_CodCompany = 1 AND [CodCompany] IS NULL) OR ([CodCompany] = @Original_CodCompany)) AND ((@IsNull_CodSito = 1 AND [CodSito] IS NULL) OR ([CodSito] = @Original_CodSito))) + + + + + + + + + + + + + + INSERT INTO [dbo].[AnagImpianti] ([CodImpianto], [DescrImpianto], [CodCompany], [CodSito]) VALUES (@CodImpianto, @DescrImpianto, @CodCompany, @CodSito); +SELECT CodImpianto, DescrImpianto, CodCompany, CodSito FROM AnagImpianti WHERE (CodImpianto = @CodImpianto) + + + + + + + + + + + SELECT CodImpianto, DescrImpianto, CodCompany, CodSito FROM dbo.AnagImpianti + + + + + + UPDATE [dbo].[AnagImpianti] SET [CodImpianto] = @CodImpianto, [DescrImpianto] = @DescrImpianto, [CodCompany] = @CodCompany, [CodSito] = @CodSito WHERE (([CodImpianto] = @Original_CodImpianto) AND ((@IsNull_DescrImpianto = 1 AND [DescrImpianto] IS NULL) OR ([DescrImpianto] = @Original_DescrImpianto)) AND ((@IsNull_CodCompany = 1 AND [CodCompany] IS NULL) OR ([CodCompany] = @Original_CodCompany)) AND ((@IsNull_CodSito = 1 AND [CodSito] IS NULL) OR ([CodSito] = @Original_CodSito))); +SELECT CodImpianto, DescrImpianto, CodCompany, CodSito FROM AnagImpianti WHERE (CodImpianto = @CodImpianto) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DELETE FROM [dbo].[AnagOdp] WHERE (([CodCompany] = @Original_CodCompany) AND ([ODP] = @Original_ODP) AND ([CodArticolo] = @Original_CodArticolo) AND ([CodDisegno] = @Original_CodDisegno) AND ([Esponente] = @Original_Esponente) AND ([Magazzino] = @Original_Magazzino) AND ([Ubicazione] = @Original_Ubicazione) AND ([CreateDate] = @Original_CreateDate) AND ([ModDate] = @Original_ModDate)) + + + + + + + + + + + + + + + + INSERT INTO [dbo].[AnagOdp] ([CodCompany], [ODP], [CodArticolo], [CodDisegno], [Esponente], [Magazzino], [Ubicazione], [CreateDate], [ModDate]) VALUES (@CodCompany, @ODP, @CodArticolo, @CodDisegno, @Esponente, @Magazzino, @Ubicazione, @CreateDate, @ModDate); +SELECT CodCompany, ODP, CodArticolo, CodDisegno, Esponente, Magazzino, Ubicazione, CreateDate, ModDate FROM AnagOdp WHERE (CodCompany = @CodCompany) AND (ODP = @ODP) + + + + + + + + + + + + + + + + SELECT CodCompany, ODP, CodArticolo, CodDisegno, Esponente, Magazzino, Ubicazione, CreateDate, ModDate FROM dbo.AnagOdp + + + + + + UPDATE [dbo].[AnagOdp] SET [CodCompany] = @CodCompany, [ODP] = @ODP, [CodArticolo] = @CodArticolo, [CodDisegno] = @CodDisegno, [Esponente] = @Esponente, [Magazzino] = @Magazzino, [Ubicazione] = @Ubicazione, [CreateDate] = @CreateDate, [ModDate] = @ModDate WHERE (([CodCompany] = @Original_CodCompany) AND ([ODP] = @Original_ODP) AND ([CodArticolo] = @Original_CodArticolo) AND ([CodDisegno] = @Original_CodDisegno) AND ([Esponente] = @Original_Esponente) AND ([Magazzino] = @Original_Magazzino) AND ([Ubicazione] = @Original_Ubicazione) AND ([CreateDate] = @Original_CreateDate) AND ([ModDate] = @Original_ModDate)); +SELECT CodCompany, ODP, CodArticolo, CodDisegno, Esponente, Magazzino, Ubicazione, CreateDate, ModDate FROM AnagOdp WHERE (CodCompany = @CodCompany) AND (ODP = @ODP) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DELETE FROM [dbo].[AnagSiti] WHERE (([CodCompany] = @Original_CodCompany) AND ([CodSito] = @Original_CodSito) AND ((@IsNull_DescrSito = 1 AND [DescrSito] IS NULL) OR ([DescrSito] = @Original_DescrSito))) + + + + + + + + + + + INSERT INTO [dbo].[AnagSiti] ([CodCompany], [CodSito], [DescrSito]) VALUES (@CodCompany, @CodSito, @DescrSito); +SELECT CodCompany, CodSito, DescrSito FROM AnagSiti WHERE (CodCompany = @CodCompany) AND (CodSito = @CodSito) + + + + + + + + + + SELECT CodCompany, CodSito, DescrSito FROM dbo.AnagSiti + + + + + + UPDATE [dbo].[AnagSiti] SET [CodCompany] = @CodCompany, [CodSito] = @CodSito, [DescrSito] = @DescrSito WHERE (([CodCompany] = @Original_CodCompany) AND ([CodSito] = @Original_CodSito) AND ((@IsNull_DescrSito = 1 AND [DescrSito] IS NULL) OR ([DescrSito] = @Original_DescrSito))); +SELECT CodCompany, CodSito, DescrSito FROM AnagSiti WHERE (CodCompany = @CodCompany) AND (CodSito = @CodSito) + + + + + + + + + + + + + + + + + + + + + + + + + + DELETE FROM [dbo].[AnagStati] WHERE (([IdxStato] = @Original_IdxStato) AND ((@IsNull_DescrStato = 1 AND [DescrStato] IS NULL) OR ([DescrStato] = @Original_DescrStato))) + + + + + + + + + + INSERT INTO [dbo].[AnagStati] ([IdxStato], [DescrStato]) VALUES (@IdxStato, @DescrStato); +SELECT IdxStato, DescrStato FROM AnagStati WHERE (IdxStato = @IdxStato) + + + + + + + + + SELECT IdxStato, DescrStato FROM dbo.AnagStati + + + + + + UPDATE [dbo].[AnagStati] SET [IdxStato] = @IdxStato, [DescrStato] = @DescrStato WHERE (([IdxStato] = @Original_IdxStato) AND ((@IsNull_DescrStato = 1 AND [DescrStato] IS NULL) OR ([DescrStato] = @Original_DescrStato))); +SELECT IdxStato, DescrStato FROM AnagStati WHERE (IdxStato = @IdxStato) + + + + + + + + + + + + + + + + + + + + + + + DELETE FROM [dbo].[ContatoriUdc] WHERE (([CodCompany] = @Original_CodCompany) AND ([Flusso] = @Original_Flusso) AND ([Anno] = @Original_Anno) AND ((@IsNull_LastIdx = 1 AND [LastIdx] IS NULL) OR ([LastIdx] = @Original_LastIdx))) + + + + + + + + + + + + INSERT INTO [dbo].[ContatoriUdc] ([CodCompany], [Flusso], [Anno], [LastIdx]) VALUES (@CodCompany, @Flusso, @Anno, @LastIdx); +SELECT CodCompany, Flusso, Anno, LastIdx FROM ContatoriUdc WHERE (Anno = @Anno) AND (CodCompany = @CodCompany) AND (Flusso = @Flusso) + + + + + + + + + + + SELECT CodCompany, Flusso, Anno, LastIdx FROM dbo.ContatoriUdc + + + + + + UPDATE [dbo].[ContatoriUdc] SET [CodCompany] = @CodCompany, [Flusso] = @Flusso, [Anno] = @Anno, [LastIdx] = @LastIdx WHERE (([CodCompany] = @Original_CodCompany) AND ([Flusso] = @Original_Flusso) AND ([Anno] = @Original_Anno) AND ((@IsNull_LastIdx = 1 AND [LastIdx] IS NULL) OR ([LastIdx] = @Original_LastIdx))); +SELECT CodCompany, Flusso, Anno, LastIdx FROM ContatoriUdc WHERE (Anno = @Anno) AND (CodCompany = @CodCompany) AND (Flusso = @Flusso) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DELETE FROM [dbo].[Impianti2Articoli] WHERE (([CodImpianto] = @Original_CodImpianto) AND ([CodArticolo] = @Original_CodArticolo) AND ([InizioProd] = @Original_InizioProd) AND ((@IsNull_FineProd = 1 AND [FineProd] IS NULL) OR ([FineProd] = @Original_FineProd))) + + + + + + + + + + + + INSERT INTO [dbo].[Impianti2Articoli] ([CodImpianto], [CodArticolo], [InizioProd], [FineProd]) VALUES (@CodImpianto, @CodArticolo, @InizioProd, @FineProd); +SELECT CodImpianto, CodArticolo, InizioProd, FineProd FROM Impianti2Articoli WHERE (CodArticolo = @CodArticolo) AND (CodImpianto = @CodImpianto) AND (InizioProd = @InizioProd) + + + + + + + + + + + SELECT CodImpianto, CodArticolo, InizioProd, FineProd FROM dbo.Impianti2Articoli + + + + + + UPDATE [dbo].[Impianti2Articoli] SET [CodImpianto] = @CodImpianto, [CodArticolo] = @CodArticolo, [InizioProd] = @InizioProd, [FineProd] = @FineProd WHERE (([CodImpianto] = @Original_CodImpianto) AND ([CodArticolo] = @Original_CodArticolo) AND ([InizioProd] = @Original_InizioProd) AND ((@IsNull_FineProd = 1 AND [FineProd] IS NULL) OR ([FineProd] = @Original_FineProd))); +SELECT CodImpianto, CodArticolo, InizioProd, FineProd FROM Impianti2Articoli WHERE (CodArticolo = @CodArticolo) AND (CodImpianto = @CodImpianto) AND (InizioProd = @InizioProd) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DELETE FROM [dbo].[TabStatoOdpUdc] WHERE (([CodCompany] = @Original_CodCompany) AND ([ODP] = @Original_ODP) AND ([UDC] = @Original_UDC) AND ((@IsNull_Tara = 1 AND [Tara] IS NULL) OR ([Tara] = @Original_Tara)) AND ((@IsNull_IdxStato = 1 AND [IdxStato] IS NULL) OR ([IdxStato] = @Original_IdxStato)) AND ((@IsNull_Qta = 1 AND [Qta] IS NULL) OR ([Qta] = @Original_Qta)) AND ((@IsNull_CodImballo = 1 AND [CodImballo] IS NULL) OR ([CodImballo] = @Original_CodImballo)) AND ((@IsNull_CreateDate = 1 AND [CreateDate] IS NULL) OR ([CreateDate] = @Original_CreateDate)) AND ((@IsNull_ModDate = 1 AND [ModDate] IS NULL) OR ([ModDate] = @Original_ModDate))) + + + + + + + + + + + + + + + + + + + + + + INSERT INTO [dbo].[TabStatoOdpUdc] ([CodCompany], [ODP], [UDC], [Tara], [IdxStato], [Qta], [CodImballo], [CreateDate], [ModDate]) VALUES (@CodCompany, @ODP, @UDC, @Tara, @IdxStato, @Qta, @CodImballo, @CreateDate, @ModDate); +SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CreateDate, ModDate FROM TabStatoOdpUdc WHERE (CodCompany = @CodCompany) AND (ODP = @ODP) AND (UDC = @UDC) + + + + + + + + + + + + + + + + SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CreateDate, ModDate FROM dbo.TabStatoOdpUdc + + + + + + UPDATE [dbo].[TabStatoOdpUdc] SET [CodCompany] = @CodCompany, [ODP] = @ODP, [UDC] = @UDC, [Tara] = @Tara, [IdxStato] = @IdxStato, [Qta] = @Qta, [CodImballo] = @CodImballo, [CreateDate] = @CreateDate, [ModDate] = @ModDate WHERE (([CodCompany] = @Original_CodCompany) AND ([ODP] = @Original_ODP) AND ([UDC] = @Original_UDC) AND ((@IsNull_Tara = 1 AND [Tara] IS NULL) OR ([Tara] = @Original_Tara)) AND ((@IsNull_IdxStato = 1 AND [IdxStato] IS NULL) OR ([IdxStato] = @Original_IdxStato)) AND ((@IsNull_Qta = 1 AND [Qta] IS NULL) OR ([Qta] = @Original_Qta)) AND ((@IsNull_CodImballo = 1 AND [CodImballo] IS NULL) OR ([CodImballo] = @Original_CodImballo)) AND ((@IsNull_CreateDate = 1 AND [CreateDate] IS NULL) OR ([CreateDate] = @Original_CreateDate)) AND ((@IsNull_ModDate = 1 AND [ModDate] IS NULL) OR ([ModDate] = @Original_ModDate))); +SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CreateDate, ModDate FROM TabStatoOdpUdc WHERE (CodCompany = @CodCompany) AND (ODP = @ODP) AND (UDC = @UDC) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_getStatoByUdc + + + + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_insNewOdpUdc + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_updateByBilancia + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_prtCartByUDC + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_prtCartMatPrimaByUDC + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dbo.f_padLeft + + + + + + + + + + + + + dbo.staccaNewIdx + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/GMW_Reports/GMWDataSet.xss b/GMW_Reports/GMWDataSet.xss new file mode 100644 index 00000000..03602cfb --- /dev/null +++ b/GMW_Reports/GMWDataSet.xss @@ -0,0 +1,132 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + 264 + 137 + + + 334 + 137 + + + + + + + 247 + 204 + + + 247 + 310 + + + 334 + 310 + + + + + + + 564 + 573 + + + 634 + 573 + + + + + + + 334 + 533 + + + 239 + 533 + + + 239 + 204 + + + + + + + 941 + 360 + + + 871 + 360 + + + + + + + 558 + 369 + + + 628 + 369 + + + + + + + 833 + 640 + + + 903 + 640 + + + + + + + 1217 + 573 + + + 1147 + 573 + + + + + \ No newline at end of file diff --git a/GMW_Reports/GMW_Reports.csproj b/GMW_Reports/GMW_Reports.csproj new file mode 100644 index 00000000..41387df6 --- /dev/null +++ b/GMW_Reports/GMW_Reports.csproj @@ -0,0 +1,164 @@ + + + Debug + AnyCPU + 9.0.30729 + 2.0 + {ADACC5A9-F45C-4659-9026-73E1E82517EF} + WinExe + Properties + GMW_Reports + GMW_Reports + v3.5 + + + 2.0 + + + publish\ + true + Disk + false + Foreground + 7 + Days + false + false + true + 0 + 1.0.0.%2a + false + false + true + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + 3.5 + + + 3.5 + + + 3.5 + + + + + Form + + + Form1.cs + + + True + True + GMWDataSet.xsd + + + + + + + Designer + Form1.cs + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + True + Resources.resx + True + + + + GMWDataSet.xsd + + + MSDataSetGenerator + GMWDataSet.Designer.cs + Designer + + + GMWDataSet.xsd + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + + + False + .NET Framework Client Profile + false + + + False + .NET Framework 2.0 %28x86%29 + false + + + False + .NET Framework 3.0 %28x86%29 + false + + + False + .NET Framework 3.5 + false + + + False + .NET Framework 3.5 SP1 + true + + + False + Windows Installer 3.1 + true + + + + + \ No newline at end of file diff --git a/GMW_Reports/GMW_Reports.csproj.user b/GMW_Reports/GMW_Reports.csproj.user new file mode 100644 index 00000000..ce4e607e --- /dev/null +++ b/GMW_Reports/GMW_Reports.csproj.user @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + en-US + false + + \ No newline at end of file diff --git a/GMW_Reports/GMW_Reports.suo b/GMW_Reports/GMW_Reports.suo new file mode 100644 index 00000000..a1bdbcca Binary files /dev/null and b/GMW_Reports/GMW_Reports.suo differ diff --git a/GMW_Reports/Program.cs b/GMW_Reports/Program.cs new file mode 100644 index 00000000..01d26cd9 --- /dev/null +++ b/GMW_Reports/Program.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.Windows.Forms; + +namespace GMW_Reports +{ + static class Program + { + /// + /// The main entry point for the application. + /// + [STAThread] + static void Main() + { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + Application.Run(new Form1()); + } + } +} \ No newline at end of file diff --git a/GMW_Reports/Properties/AssemblyInfo.cs b/GMW_Reports/Properties/AssemblyInfo.cs new file mode 100644 index 00000000..1357d8be --- /dev/null +++ b/GMW_Reports/Properties/AssemblyInfo.cs @@ -0,0 +1,33 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("GMW_Reports")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("GMW_Reports")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2010")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("1df5f89d-578f-4ed7-9b5a-7ffa5d0daedc")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/GMW_Reports/Properties/Resources.Designer.cs b/GMW_Reports/Properties/Resources.Designer.cs new file mode 100644 index 00000000..1babf18b --- /dev/null +++ b/GMW_Reports/Properties/Resources.Designer.cs @@ -0,0 +1,63 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW_Reports.Properties { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("GMW_Reports.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + } +} diff --git a/GMW_Reports/Properties/Resources.resx b/GMW_Reports/Properties/Resources.resx new file mode 100644 index 00000000..ffecec85 --- /dev/null +++ b/GMW_Reports/Properties/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/GMW_Reports/Properties/Settings.Designer.cs b/GMW_Reports/Properties/Settings.Designer.cs new file mode 100644 index 00000000..73efae7b --- /dev/null +++ b/GMW_Reports/Properties/Settings.Designer.cs @@ -0,0 +1,37 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW_Reports.Properties { + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "9.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default { + get { + return defaultInstance; + } + } + + [global::System.Configuration.ApplicationScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.ConnectionString)] + [global::System.Configuration.DefaultSettingValueAttribute("Data Source=localhost\\sql2008;Initial Catalog=GMW;Persist Security Info=True;User" + + " ID=sa;Password=keyhammer")] + public string GMWConnectionString { + get { + return ((string)(this["GMWConnectionString"])); + } + } + } +} diff --git a/GMW_Reports/Properties/Settings.settings b/GMW_Reports/Properties/Settings.settings new file mode 100644 index 00000000..8dea37bd --- /dev/null +++ b/GMW_Reports/Properties/Settings.settings @@ -0,0 +1,14 @@ + + + + + + <?xml version="1.0" encoding="utf-16"?> +<SerializableConnectionString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> + <ConnectionString>Data Source=localhost\sql2008;Initial Catalog=GMW;Persist Security Info=True;User ID=sa;Password=keyhammer</ConnectionString> + <ProviderName>System.Data.SqlClient</ProviderName> +</SerializableConnectionString> + Data Source=localhost\sql2008;Initial Catalog=GMW;Persist Security Info=True;User ID=sa;Password=keyhammer + + + \ No newline at end of file diff --git a/GMW_Reports/app.config b/GMW_Reports/app.config new file mode 100644 index 00000000..100cc644 --- /dev/null +++ b/GMW_Reports/app.config @@ -0,0 +1,10 @@ + + + + + + + + \ No newline at end of file diff --git a/GMW_Term/ActiveTask.aspx b/GMW_Term/ActiveTask.aspx new file mode 100644 index 00000000..4a10fac0 --- /dev/null +++ b/GMW_Term/ActiveTask.aspx @@ -0,0 +1,11 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/Compact.Master" + AutoEventWireup="true" CodeBehind="ActiveTask.aspx.cs" Inherits="GMW_Term.ActiveTask" %> + +<%@ Register src="WebUserControls/mod_activeTask.ascx" tagname="mod_activeTask" tagprefix="uc1" %> + + + + + +  + diff --git a/GMW_Term/ActiveTask.aspx.cs b/GMW_Term/ActiveTask.aspx.cs new file mode 100644 index 00000000..d1156c55 --- /dev/null +++ b/GMW_Term/ActiveTask.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace GMW_Term +{ + public partial class ActiveTask : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} diff --git a/GMW_Term/ActiveTask.aspx.designer.cs b/GMW_Term/ActiveTask.aspx.designer.cs new file mode 100644 index 00000000..1e9db777 --- /dev/null +++ b/GMW_Term/ActiveTask.aspx.designer.cs @@ -0,0 +1,25 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4959 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW_Term { + + + public partial class ActiveTask { + + /// + /// mod_activeTask1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW_Term.WebUserControls.mod_activeTask mod_activeTask1; + } +} diff --git a/GMW_Term/Barcode.aspx b/GMW_Term/Barcode.aspx new file mode 100644 index 00000000..eeba5f2e --- /dev/null +++ b/GMW_Term/Barcode.aspx @@ -0,0 +1,12 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/CompactBCode.Master" + AutoEventWireup="true" CodeBehind="Barcode.aspx.cs" Inherits="GMW_Term.Barcode" %> + +<%@ Register Src="WebUserControls/mod_barcode.ascx" TagName="mod_barcode" TagPrefix="uc1" %> +<%@ Register Src="WebUserControls/mod_processPackList.ascx" TagName="mod_processPackList" + TagPrefix="uc2" %> + + + + + + diff --git a/GMW_Term/Barcode.aspx.cs b/GMW_Term/Barcode.aspx.cs new file mode 100644 index 00000000..09977acd --- /dev/null +++ b/GMW_Term/Barcode.aspx.cs @@ -0,0 +1,71 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +namespace GMW_Term +{ + public partial class Barcode : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + // imposto valori visibilità barcode specifici (nascondo testo...) + mod_barcode1.showHeaderText = true; + mod_barcode1.showNoteText = true; + // imposto controllo valori scansionati + mod_barcode1.eh_scannedListaPrelievo += new EventHandler(mod_barcode1_eh_scannedListaPrelievo); + mod_barcode1.eh_scannedParticolare += new EventHandler(mod_barcode1_eh_scannedParticolare); + mod_barcode1.eh_scannedUdc += new EventHandler(mod_barcode1_eh_scannedUdc); + mod_barcode1.eh_scannedUser += new EventHandler(mod_barcode1_eh_scannedUser); + mod_barcode1.eh_scannedCella += new EventHandler(mod_barcode1_eh_scannedCella); + mod_barcode1.eh_resetUser += new EventHandler(mod_barcode1_eh_resetUser); + checkVisibility(); + // imposto btnHome + mod_barcode1.homeBtnText = "btnTermMenuLDP"; + mod_barcode1.homeBtnLink = "~/menuLDP.aspx"; + } + /// + /// controlla visibilità lista di prelievo (se non c'è user ins essione non mostra LDP) + /// + private void checkVisibility() + { + // se non c'è utente non mostra controlli packing list + if (string.IsNullOrEmpty(user_std.UtSn.utente)) + { + mod_processPackList1.Visible = false; + } + } + + void mod_barcode1_eh_scannedCella(object sender, EventArgs e) + { + Response.Redirect("~/Cella.aspx"); + } + + void mod_barcode1_eh_resetUser(object sender, EventArgs e) + { + Response.Redirect("~/Barcode.aspx"); + } + + void mod_barcode1_eh_scannedUser(object sender, EventArgs e) + { + Response.Redirect("~/Home.aspx"); + } + + void mod_barcode1_eh_scannedUdc(object sender, EventArgs e) + { + Response.Redirect("~/UDC.aspx"); + } + + void mod_barcode1_eh_scannedParticolare(object sender, EventArgs e) + { + Response.Redirect("~/Particolare.aspx"); + } + + void mod_barcode1_eh_scannedListaPrelievo(object sender, EventArgs e) + { + Response.Redirect("~/ListePrelievo.aspx"); + } + } +} diff --git a/GMW_Term/Barcode.aspx.designer.cs b/GMW_Term/Barcode.aspx.designer.cs new file mode 100644 index 00000000..e05483bb --- /dev/null +++ b/GMW_Term/Barcode.aspx.designer.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// 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_Term { + + + public partial class Barcode { + + /// + /// mod_barcode1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW_Term.WebUserControls.mod_barcode mod_barcode1; + + /// + /// mod_processPackList1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW_Term.WebUserControls.mod_processPackList mod_processPackList1; + } +} diff --git a/GMW_Term/Cella.aspx b/GMW_Term/Cella.aspx new file mode 100644 index 00000000..b2fd43b6 --- /dev/null +++ b/GMW_Term/Cella.aspx @@ -0,0 +1,10 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/Compact.Master" + AutoEventWireup="true" CodeBehind="Cella.aspx.cs" Inherits="GMW_Term.Cella" %> + +<%@ Register src="WebUserControls/mod_execCella.ascx" tagname="mod_execCella" tagprefix="uc1" %> + + + + + + diff --git a/GMW_Term/Cella.aspx.cs b/GMW_Term/Cella.aspx.cs new file mode 100644 index 00000000..0e3e9cb8 --- /dev/null +++ b/GMW_Term/Cella.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace GMW_Term +{ + public partial class Cella : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} diff --git a/GMW_Term/Cella.aspx.designer.cs b/GMW_Term/Cella.aspx.designer.cs new file mode 100644 index 00000000..ec3c7470 --- /dev/null +++ b/GMW_Term/Cella.aspx.designer.cs @@ -0,0 +1,25 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW_Term { + + + public partial class Cella { + + /// + /// mod_execCella1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW_Term.WebUserControls.mod_execCella mod_execCella1; + } +} diff --git a/GMW_Term/Default.aspx b/GMW_Term/Default.aspx new file mode 100644 index 00000000..418f8492 --- /dev/null +++ b/GMW_Term/Default.aspx @@ -0,0 +1,16 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="GMW_Term.Default" %> + + + + + + + + +
+
+ +
+
+ + diff --git a/GMW_Term/Default.aspx.cs b/GMW_Term/Default.aspx.cs new file mode 100644 index 00000000..6f9088f4 --- /dev/null +++ b/GMW_Term/Default.aspx.cs @@ -0,0 +1,26 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +namespace GMW_Term +{ + public partial class Default : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + // verifica se è già in sessione l'utente + if (string.IsNullOrEmpty(memLayer.ML.StringSessionObj("username"))) + { + Response.Redirect("Barcode.aspx"); + } + else + { + Response.Redirect("Home.aspx"); + } + } + } +} diff --git a/GMW_Term/Default.aspx.designer.cs b/GMW_Term/Default.aspx.designer.cs new file mode 100644 index 00000000..dd6521e6 --- /dev/null +++ b/GMW_Term/Default.aspx.designer.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.42 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW_Term +{ + + + public partial class Default + { + + /// + /// form1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + } +} diff --git a/GMW_Term/GMW_Compact.csproj b/GMW_Term/GMW_Compact.csproj new file mode 100644 index 00000000..6460a5ef --- /dev/null +++ b/GMW_Term/GMW_Compact.csproj @@ -0,0 +1,157 @@ + + + Debug + AnyCPU + 9.0.30729 + 2.0 + {E2E8FA90-2EC6-4439-BD04-61E39C65F1D2} + {349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} + Library + Properties + GMW_Compact + GMW_Compact + + + 2.0 + + + v3.5 + + + true + full + false + bin\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\ + TRACE + prompt + 4 + + + + + 3.5 + + + + 3.5 + + + + + 3.5 + + + 3.5 + + + + + + + + 3.5 + + + + + + + + + Barcode.aspx + ASPXCodeBehind + + + Barcode.aspx + + + ChangeUser.aspx + ASPXCodeBehind + + + ChangeUser.aspx + + + Home.aspx + ASPXCodeBehind + + + Home.aspx + + + ListePrelievo.aspx + ASPXCodeBehind + + + ListePrelievo.aspx + + + Login.aspx + ASPXCodeBehind + + + Login.aspx + + + Search.aspx + ASPXCodeBehind + + + Search.aspx + + + Compact.Master + ASPXCodeBehind + + + Compact.Master + + + + + + + + + + + + + + + + + + + + + False + True + 49573 + / + + + False + False + + + False + + + + + \ No newline at end of file diff --git a/GMW_Term/GMW_Compact.csproj.user b/GMW_Term/GMW_Compact.csproj.user new file mode 100644 index 00000000..92c01509 --- /dev/null +++ b/GMW_Term/GMW_Compact.csproj.user @@ -0,0 +1,31 @@ + + + + + + Login.aspx + SpecificPage + True + False + False + RunFiles + + + False + True + + + + + + + + + False + True + False + + + + + \ No newline at end of file diff --git a/GMW_Term/GMW_Term.Publish.xml b/GMW_Term/GMW_Term.Publish.xml new file mode 100644 index 00000000..6903d649 --- /dev/null +++ b/GMW_Term/GMW_Term.Publish.xml @@ -0,0 +1,128 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/GMW_Term/GMW_Term.csproj b/GMW_Term/GMW_Term.csproj new file mode 100644 index 00000000..27c35012 --- /dev/null +++ b/GMW_Term/GMW_Term.csproj @@ -0,0 +1,585 @@ + + + + bin\ + + + true + pdbonly + AnyCPU + bin\GMW_Term.dll.CodeAnalysisLog.xml + true + GlobalSuppressions.cs + prompt + AllRules.ruleset + ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets + ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules + true + true + Default Web Site/GMW_Term + obj\SP_prod\Package\SP_GMW_Term.zip + + + bin\ + + + true + pdbonly + AnyCPU + bin\GMW_Term.dll.CodeAnalysisLog.xml + true + GlobalSuppressions.cs + prompt + AllRules.ruleset + ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets + false + ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules + false + false + Default Web Site/GMW_TestTerm + true + true + obj\SP_test\Package\SP_GMW_TestTerm.zip + + + bin\ + + + true + pdbonly + AnyCPU + bin\GMW_Term.dll.CodeAnalysisLog.xml + true + GlobalSuppressions.cs + prompt + AllRules.ruleset + ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets + false + ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules + false + false + Default Web Site/GMW_Term + true + true + obj\TK_prod\Package\TK_GMW_Term.zip + + + bin\ + + + true + pdbonly + AnyCPU + bin\GMW_Term.dll.CodeAnalysisLog.xml + true + GlobalSuppressions.cs + prompt + AllRules.ruleset + ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets + ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules + false + false + true + true + Default Web Site/GMW_TestTerm + obj\TK_Test\Package\TK_GMW_TestTerm.zip + + + + Debug + AnyCPU + 9.0.30729 + 2.0 + {E6F8C94F-4D3D-4457-8FC4-848490EA1972} + {349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} + Library + Properties + GMW_Term + GMW_Term + v3.5 + + + 3.5 + + false + + + true + full + false + bin\ + DEBUG;TRACE + prompt + 4 + AllRules.ruleset + false + Default Web Site/GMW_Term + + + pdbonly + true + bin\ + TRACE + prompt + 4 + AllRules.ruleset + false + Default Web Site/GMW_Term + true + true + + + + False + ..\..\..\..\..\..\..\Library\AjaxControlToolkit1016\SampleWebSite\Bin\AjaxControlToolkit.dll + + + + + 3.5 + + + 3.5 + + + 3.5 + + + 3.5 + + + + + + + + + + + + + + + + + ActiveTask.aspx + ASPXCodeBehind + + + ActiveTask.aspx + + + Cella.aspx + ASPXCodeBehind + + + Cella.aspx + + + Default.aspx + ASPXCodeBehind + + + Default.aspx + + + interrMov.aspx + ASPXCodeBehind + + + interrMov.aspx + + + makeMov.aspx + ASPXCodeBehind + + + makeMov.aspx + + + menuLDP.aspx + ASPXCodeBehind + + + menuLDP.aspx + + + menuMov.aspx + ASPXCodeBehind + + + menuMov.aspx + + + Particolare.aspx + ASPXCodeBehind + + + Particolare.aspx + + + SmartList.aspx + ASPXCodeBehind + + + SmartList.aspx + + + + UDC.aspx + ASPXCodeBehind + + + UDC.aspx + + + CompactBCode.Master + ASPXCodeBehind + + + CompactBCode.Master + + + mod_activeTask.ascx + ASPXCodeBehind + + + mod_activeTask.ascx + + + mod_barcode.ascx + ASPXCodeBehind + + + mod_barcode.ascx + + + mod_btnUdc.ascx + ASPXCodeBehind + + + mod_btnUdc.ascx + + + mod_currentTask.ascx + ASPXCodeBehind + + + mod_currentTask.ascx + + + mod_execCella.ascx + ASPXCodeBehind + + + mod_execCella.ascx + + + mod_execParticolare.ascx + ASPXCodeBehind + + + mod_execParticolare.ascx + + + mod_execUdc.ascx + ASPXCodeBehind + + + mod_execUdc.ascx + + + mod_home.ascx + ASPXCodeBehind + + + mod_home.ascx + + + mod_interrMov.ascx + ASPXCodeBehind + + + mod_interrMov.ascx + + + mod_listePrelievo.ascx + ASPXCodeBehind + + + mod_listePrelievo.ascx + + + mod_makeMov.ascx + ASPXCodeBehind + + + mod_makeMov.ascx + + + mod_menuLDP.ascx + ASPXCodeBehind + + + mod_menuLDP.ascx + + + mod_menuMov.ascx + ASPXCodeBehind + + + mod_menuMov.ascx + + + mod_menuTop.ascx + ASPXCodeBehind + + + mod_menuTop.ascx + + + mod_periodoAnalisi.ascx + ASPXCodeBehind + + + mod_periodoAnalisi.ascx + + + mod_processPackList.ascx + ASPXCodeBehind + + + mod_processPackList.ascx + + + mod_search.ascx + ASPXCodeBehind + + + mod_search.ascx + + + mod_searchResults.ascx + ASPXCodeBehind + + + mod_searchResults.ascx + + + mod_smartList.ascx + ASPXCodeBehind + + + mod_smartList.ascx + + + AutoCompletamento.asmx + Component + + + Barcode.aspx + ASPXCodeBehind + + + Barcode.aspx + + + Home.aspx + ASPXCodeBehind + + + Home.aspx + + + ListePrelievo.aspx + ASPXCodeBehind + + + ListePrelievo.aspx + + + Search.aspx + ASPXCodeBehind + + + Search.aspx + + + Compact.Master + ASPXCodeBehind + + + Compact.Master + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {2872DCFE-8B46-43B2-BAA0-842A816A2DD5} + SteamWare + + + {47143721-A018-4BDA-B544-EC3E10BC87A2} + GMW_data + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Web.config + + + Web.config + + + Web.config + + + Web.config + + + Web.config + + + Web.config + + + + + + + + 10.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + + + + + + + + False + True + 54534 + / + + + False + False + + + False + + + + + + "$(ProjectDir)setupTgt.bat" "$(ConfigurationName)" "$(ProjectDir)" + + \ No newline at end of file diff --git a/GMW_Term/GMW_Term.csproj.user b/GMW_Term/GMW_Term.csproj.user new file mode 100644 index 00000000..b4b4f7a1 --- /dev/null +++ b/GMW_Term/GMW_Term.csproj.user @@ -0,0 +1,27 @@ + + + + + + + Default.aspx + SpecificPage + True + False + False + False + + + + + + + + + False + True + + + + + \ No newline at end of file diff --git a/GMW_Term/Home.aspx b/GMW_Term/Home.aspx new file mode 100644 index 00000000..2fda77f1 --- /dev/null +++ b/GMW_Term/Home.aspx @@ -0,0 +1,9 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/Compact.Master" + AutoEventWireup="true" CodeBehind="Home.aspx.cs" Inherits="GMW_Term.Home" %> + +<%@ Register Src="WebUserControls/mod_home.ascx" TagName="mod_home" TagPrefix="uc1" %> + + + + + diff --git a/GMW_Term/Home.aspx.cs b/GMW_Term/Home.aspx.cs new file mode 100644 index 00000000..d764e194 --- /dev/null +++ b/GMW_Term/Home.aspx.cs @@ -0,0 +1,18 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace GMW_Term +{ + public partial class Home : System.Web.UI.Page + { + + protected void Page_Load(object sender, EventArgs e) + { + + } + + } +} diff --git a/GMW_Term/Home.aspx.designer.cs b/GMW_Term/Home.aspx.designer.cs new file mode 100644 index 00000000..f1aa63af --- /dev/null +++ b/GMW_Term/Home.aspx.designer.cs @@ -0,0 +1,25 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW_Term { + + + public partial class Home { + + /// + /// mod_home1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW_Term.WebUserControls.mod_home mod_home1; + } +} diff --git a/GMW_Term/ListePrelievo.aspx b/GMW_Term/ListePrelievo.aspx new file mode 100644 index 00000000..4b52efcd --- /dev/null +++ b/GMW_Term/ListePrelievo.aspx @@ -0,0 +1,10 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/Compact.Master" + AutoEventWireup="true" CodeBehind="ListePrelievo.aspx.cs" Inherits="GMW_Term.ListePrelievo" %> + +<%@ Register Src="WebUserControls/mod_listePrelievo.ascx" TagName="mod_listePrelievo" + TagPrefix="uc2" %> + + + + + diff --git a/GMW_Term/ListePrelievo.aspx.cs b/GMW_Term/ListePrelievo.aspx.cs new file mode 100644 index 00000000..6a50e4f2 --- /dev/null +++ b/GMW_Term/ListePrelievo.aspx.cs @@ -0,0 +1,18 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace GMW_Term +{ + public partial class ListePrelievo : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + // imposto btnHome + mod_listePrelievo1.homeBtnText = "btnTermMenuLDP"; + mod_listePrelievo1.homeBtnLink = "~/menuLDP.aspx"; + } + } +} diff --git a/GMW_Term/ListePrelievo.aspx.designer.cs b/GMW_Term/ListePrelievo.aspx.designer.cs new file mode 100644 index 00000000..c4f4880e --- /dev/null +++ b/GMW_Term/ListePrelievo.aspx.designer.cs @@ -0,0 +1,25 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4959 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW_Term { + + + public partial class ListePrelievo { + + /// + /// mod_listePrelievo1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW_Term.WebUserControls.mod_listePrelievo mod_listePrelievo1; + } +} diff --git a/GMW_Term/Particolare.aspx b/GMW_Term/Particolare.aspx new file mode 100644 index 00000000..d75b0d3b --- /dev/null +++ b/GMW_Term/Particolare.aspx @@ -0,0 +1,10 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/Compact.Master" + AutoEventWireup="true" CodeBehind="Particolare.aspx.cs" Inherits="GMW_Term.Particolare" %> + +<%@ Register Src="WebUserControls/mod_execParticolare.ascx" TagName="mod_execParticolare" + TagPrefix="uc1" %> + + + + + diff --git a/GMW_Term/Particolare.aspx.cs b/GMW_Term/Particolare.aspx.cs new file mode 100644 index 00000000..cab676b0 --- /dev/null +++ b/GMW_Term/Particolare.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace GMW_Term +{ + public partial class Particolare : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} diff --git a/GMW_Term/Particolare.aspx.designer.cs b/GMW_Term/Particolare.aspx.designer.cs new file mode 100644 index 00000000..e285e7af --- /dev/null +++ b/GMW_Term/Particolare.aspx.designer.cs @@ -0,0 +1,25 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW_Term { + + + public partial class Particolare { + + /// + /// mod_execParticolare1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW_Term.WebUserControls.mod_execParticolare mod_execParticolare1; + } +} diff --git a/GMW_Term/Properties/AssemblyInfo.cs b/GMW_Term/Properties/AssemblyInfo.cs new file mode 100644 index 00000000..ae8c6a7c --- /dev/null +++ b/GMW_Term/Properties/AssemblyInfo.cs @@ -0,0 +1,35 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("GMW_Term")] +[assembly: AssemblyDescription("Gestione Terminalino GMW")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Steamware s.r.l.")] +[assembly: AssemblyProduct("GMW_Term")] +[assembly: AssemblyCopyright("Copyright © Steamware 2010-2012")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("3d5900ae-111a-45be-96b3-d9e4606ca793")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Revision and Build Numbers +// by using the '*' as shown below: +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/GMW_Term/Search.aspx b/GMW_Term/Search.aspx new file mode 100644 index 00000000..55ebe842 --- /dev/null +++ b/GMW_Term/Search.aspx @@ -0,0 +1,11 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/Compact.Master" + AutoEventWireup="true" CodeBehind="Search.aspx.cs" Inherits="GMW_Term.Search" %> + +<%--<%@ Register src="WebUserControls/mod_userBar.ascx" tagname="mod_userBar" tagprefix="uc1" %>--%> +<%@ Register Src="WebUserControls/mod_search.ascx" TagName="mod_search" TagPrefix="uc2" %> + + + + <%----%> + + diff --git a/GMW_Term/Search.aspx.cs b/GMW_Term/Search.aspx.cs new file mode 100644 index 00000000..1b4984a1 --- /dev/null +++ b/GMW_Term/Search.aspx.cs @@ -0,0 +1,19 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +namespace GMW_Term +{ + public partial class Search : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + + + } +} diff --git a/GMW_Term/Search.aspx.designer.cs b/GMW_Term/Search.aspx.designer.cs new file mode 100644 index 00000000..b23c9f29 --- /dev/null +++ b/GMW_Term/Search.aspx.designer.cs @@ -0,0 +1,25 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW_Term { + + + public partial class Search { + + /// + /// mod_search1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW_Term.WebUserControls.mod_search mod_search1; + } +} diff --git a/GMW_Term/SmartList.aspx b/GMW_Term/SmartList.aspx new file mode 100644 index 00000000..aee6d808 --- /dev/null +++ b/GMW_Term/SmartList.aspx @@ -0,0 +1,9 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/CompactBCode.Master" AutoEventWireup="true" CodeBehind="SmartList.aspx.cs" Inherits="GMW_Term.SmartList" %> +<%@ Register src="WebUserControls/mod_smartList.ascx" tagname="mod_smartList" tagprefix="uc1" %> +<%@ Register src="WebUserControls/mod_barcode.ascx" tagname="mod_barcode" tagprefix="uc2" %> + + + + + + diff --git a/GMW_Term/SmartList.aspx.cs b/GMW_Term/SmartList.aspx.cs new file mode 100644 index 00000000..e0002730 --- /dev/null +++ b/GMW_Term/SmartList.aspx.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +namespace GMW_Term +{ + public partial class SmartList : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + // imposto valori visibilità barcode specifici (nascondo testo...) + mod_barcode1.showHeaderText = true; + mod_barcode1.showNoteText = true; + // imposto controllo valori scansionati + mod_barcode1.eh_scannedUdc += new EventHandler(mod_barcode1_eh_scannedUdc); + mod_barcode1.eh_scannedUser += new EventHandler(mod_barcode1_eh_scannedUser); + mod_barcode1.eh_resetUser += new EventHandler(mod_barcode1_eh_resetUser); + // imposto btnHome + mod_barcode1.homeBtnText = "btnTermMenuLDP"; + mod_barcode1.homeBtnLink = "~/menuLDP.aspx"; + } + + void mod_barcode1_eh_resetUser(object sender, EventArgs e) + { + Response.Redirect("~/Barcode.aspx"); + } + + void mod_barcode1_eh_scannedUser(object sender, EventArgs e) + { + Response.Redirect("~/Home.aspx"); + } + + void mod_barcode1_eh_scannedUdc(object sender, EventArgs e) + { + Response.Redirect("~/SmartList.aspx"); + } + + } +} diff --git a/GMW_Term/SmartList.aspx.designer.cs b/GMW_Term/SmartList.aspx.designer.cs new file mode 100644 index 00000000..b9399e1e --- /dev/null +++ b/GMW_Term/SmartList.aspx.designer.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// 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_Term { + + + public partial class SmartList { + + /// + /// mod_barcode1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW_Term.WebUserControls.mod_barcode mod_barcode1; + + /// + /// mod_smartList1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW_Term.WebUserControls.mod_smartList mod_smartList1; + } +} diff --git a/GMW_Term/Style.css b/GMW_Term/Style.css new file mode 100644 index 00000000..74dff557 --- /dev/null +++ b/GMW_Term/Style.css @@ -0,0 +1,653 @@ +body +{ + margin-top: 0px; + margin-left: 0px; + margin-bottom: 0px; + margin-right: 0px; + font-family: Verdana, Arial; + font-size: small; +} +.fullscreen +{ + display: block; /*set the div in the top-left corner of the screen*/ + position: absolute; + top: 0; + left: 0; /*set the width and height to 100% of the screen*/ + width: 100%; + height: 100%; +} +#content +{ + width: 210px; + height: 240px; + padding: 0px; + border: 1px black solid; + background-position: center bottom; + background-image: url('images/logo_sw.jpg'); + background-repeat: no-repeat; +} + +#activeContent +{ + height: 200px; +} +#topBanner +{ + height: 20px; +} +#smallTable +{ + width: 98%; + padding: 1px; + white-space: nowrap; + font-size: 10pt; +} +#smallGrid +{ + width: 100%; + font-size: 8pt; +} +#smallGridDetail +{ + width: 100%; + font-size: 9pt; +} + +.quadro_wide +{ + float: none; + width: 98%; + text-align: center; + vertical-align: middle; + margin-top: 2px; + margin-bottom: 2px; +} + +.quadro1, .quadro3 +{ + float: left; + width: 48%; + text-align: center; + vertical-align: middle; + margin-top: 2px; + margin-bottom: 2px; +} +.quadro2, .quadro4 +{ + float: right; + width: 48%; + text-align: center; + vertical-align: middle; + margin-top: 2px; + margin-bottom: 2px; +} + +.userBanner +{ + padding-top: 2px; + padding-bottom: 2px; + background-color: #6969AC; + text-align: center; + font-weight: bold; + color: White; +} +.taskBanner +{ + height: 10px; + padding-top: 0px; + padding-bottom: 0px; + background-color: #ABABFF; + text-align: center; + color: Black; +} +.ctrHeaderPager +{ + background-color: #b8b8b8; + font-weight: bold; + color: White; + text-align: center; +} + +.ctrHeaderPagerMini +{ + background-color: #b8b8b8; + color: White; + text-align: center; + font-size: x-small; + height: 10px; +} + +.ctrHeaderPagerWide +{ + background-color: #b8b8b8; + font-weight: bold; + color: White; + font-size: 10pt; +} +.ctrRowStyle +{ + vertical-align: top; + background-color: #EFF3FB; + text-align: left; +} +.ctrAltRowStyle +{ + vertical-align: top; + background-color: White; + text-align: left; +} +.ctrRowStyleRight +{ + background-color: #EFF3FB; + text-align: right; +} +.ctrAltRowStyleRight +{ + background-color: White; + text-align: right; +} +.ctrInsRowStyle +{ + background-color: #b8b8b8; +} +.ctrEditRowStyle +{ + background-color: #D1DDF1; +} +.ctrSelRowStyle +{ + font-weight: bold; + color: #333333; + background-color: #D1DDF1; +} + +.ctrFooterMini +{ + font-size: x-small; + height: 15px; +} +.btnDeposita +{ + display: block; + width: 80px; + height: 40px; + border: solid 2px red; + background-color: #FFCCAA; + font-size: x-small; + font-weight: bold; + white-space: pre; +} +.btnSposta +{ + display: block; + width: 80px; + height: 40px; + border: solid 2px green; + background-color: #AAFFAA; + font-size: x-small; + font-weight: bold; + white-space: pre; +} +.btnRettifica +{ + display: block; + width: 80px; + height: 40px; + border: solid 2px blue; + background-color: #5454FF; + font-size: x-small; + font-weight: bold; + white-space: pre; + color: White; +} +.btnPreleva +{ + display: block; + width: 80px; + height: 40px; + border: solid 2px red; + background-color: #FFCCAA; + font-size: x-small; + font-weight: bold; + white-space: pre; +} +.btnRiattiva +{ + display: block; + width: 80px; + height: 40px; + border: solid 2px red; + background-color: #FFCCFF; + font-size: x-small; + font-weight: bold; + white-space: pre; +} +.btnConferma +{ + display: block; + width: 56px; + height: 40px; + border: solid 2px #DDDD99; + background-color: #FFFFAA; + font-size: x-small; + font-weight: bold; + white-space: pre; +} +.btnCellaPiena +{ + display: block; + width: 56px; + height: 40px; + border: solid 2px blue; + background-color: #AAFFFF; + font-size: x-small; + font-weight: bold; + white-space: pre; +} +.btnBarcode +{ + display: block; + width: 80px; + height: 40px; + text-align: center; + border: solid 2px blue; + background-color: #AAFFFF; + font-size: x-small; + font-weight: bold; + white-space: pre; +} +.btnChiudi +{ + display: block; + width: 80px; + height: 40px; + border: solid 2px #DDDD99; + background-color: #FFFFAA; + font-size: x-small; + font-weight: bold; + white-space: pre; +} +.btnChiudiInput +{ + display: block; + width: 80px; + height: 40px; + border: solid 2px red; + background-color: #FFCCAA; + font-size: x-small; + font-weight: bold; + white-space: pre; +} +.btnDeliberaFusi +{ + display: block; + width: 80px; + height: 40px; + border: solid 2px green; + background-color: #AAFFAA; + font-size: x-small; + font-weight: bold; + white-space: pre; +} +.btnDeliberaWipPre +{ + display: block; + width: 80px; + height: 40px; + border: solid 2px green; + background-color: #AAFFAA; + font-size: x-small; + font-weight: bold; + white-space: pre; +} +.btnDeliberaWipPost +{ + display: block; + width: 80px; + height: 40px; + border: solid 2px green; + background-color: #AAFFAA; + font-size: x-small; + font-weight: bold; + white-space: pre; +} +.btnUpdate +{ + display: block; + width: 80px; + height: 40px; + border: solid 2px green; + background-color: #AAFFAA; + font-size: x-small; + font-weight: bold; +} +.btnCancel +{ + display: block; + width: 80px; + height: 40px; + border: solid 2px blue; + background-color: #AAAAFF; + font-size: x-small; + font-weight: bold; +} + +/* classe generale per div dei bottoni */ + +.divButtons +{ + float: left; +} + + +/* bottoni homepage */ +.btnRosso +{ + border: solid 2px red; + background-color: #FFAAAA; + width: 95px; + height: 90px; + text-align: center; + white-space: pre; +} +.btnArancio +{ + border: solid 2px #998800; + background-color: #FFEE66; + width: 95px; + height: 90px; + text-align: center; + white-space: pre; +} +.btnVerde +{ + border: solid 2px green; + background-color: #AAFFAA; + width: 95px; + height: 90px; + text-align: center; + white-space: pre; +} +.btnBlu +{ + border: solid 2px blue; + background-color: #AAAAFF; + width: 95px; + height: 90px; + text-align: center; + white-space: pre; +} +.btnAzzurro +{ + border: solid 2px blue; + background-color: #AAFFFF; + width: 95px; + height: 90px; + text-align: center; + white-space: pre; +} +.btnGiallo +{ + border: solid 2px #BBBB88; + background-color: #FFFFAA; + width: 95px; + height: 90px; + text-align: center; + white-space: pre; +} +.btnGrigio +{ + border: solid 2px #999999; + background-color: #DDDDDD; + width: 95px; + height: 90px; + text-align: center; + white-space: pre; +} + + +/* buttons larghi */ +.btnAzzurroWide +{ + width: 190px; + height: 90px; + border: solid 2px blue; + background-color: #AAFFFF; + font-weight: bold; + text-align: center; + white-space: pre; +} +.btnBluWide +{ + width: 190px; + height: 90px; + border: solid 2px blue; + background-color: #AAAAFF; + font-weight: bold; + text-align: center; + white-space: pre; +} + + + + +/* area formattazione dati ricerca UDC e celle */ +.divSmall +{ + width: 220px; +} +.labelSmall +{ + font-size: 8pt; + color: #969696; +} +.valoreSmall +{ + font-size: 8pt; + color: Black; +} + + +.btnBarcodeBig +{ + width: 95px; + height: 90px; + border: solid 2px blue; + background-color: #AAFFFF; + font-weight: bold; + text-align: center; + white-space: pre; +} +.btnBarcodeBigWide +{ + width: 190px; + height: 90px; + border: solid 2px blue; + background-color: #AAFFFF; + font-weight: bold; + text-align: center; + white-space: nowrap; +} + +.btnSearchBig +{ + width: 95px; + height: 90px; + border: solid 2px #DDDD99; + background-color: #FFFFAA; + font-weight: bold; + white-space: pre; +} + +.btnSmartListBig +{ + width: 95px; + height: 90px; + border: solid 2px red; + background-color: #FFEE66; + font-weight: bold; + white-space: pre; +} +.btnListBig +{ + width: 95px; + height: 90px; + border: solid 2px red; + background-color: #FFAA88; + font-weight: bold; + white-space: pre; +} +.btnListBigWide +{ + width: 190px; + height: 90px; + border: solid 2px red; + background-color: #FFAA88; + font-weight: bold; + white-space: nowrap; +} + + +.btnTaskBig +{ + width: 95px; + height: 90px; + border: solid 2px green; + background-color: #AAFFAA; + font-weight: bold; + white-space: pre; +} + +.btnHome +{ + width: 80px; + height: 40px; + border: solid 2px green; + background-color: #AAFFAA; + white-space: pre; + font-size: 9pt; +} +.btnLogout +{ + width: 80px; + height: 40px; + border: solid 2px red; + background-color: #FFAAAA; + white-space: pre; + font-size: 9pt; + font-weight: bold; +} +.btnShowPeriodo +{ + height: 40px; + border: solid 2px Orange; + background-color: #FFCCAA; + white-space: pre; + font-size: 9pt; +} +.btnBarcodeSmall +{ + width: 80px; + height: 40px; + border: solid 2px blue; + background-color: #AAFFFF; + white-space: pre; + font-size: 9pt; +} +.btnBarcodeLarge +{ + width: 120px; + height: 40px; + border: solid 2px blue; + background-color: #AAFFFF; + white-space: pre; + font-size: 9pt; +} + +.btnPrendiInCarico +{ + width: 90px; + height: 40px; + border: solid 2px red; + background-color: #FFCCAA; + white-space: pre; + font-size: 9pt; +} + +.errore +{ + font-size: small; + color: Red; + font-weight: bold; +} +.erroreMid +{ + font-size: small; + color: Red; +} +.clearAll +{ + clear: both; + height: 0px; +} +.clearAllBottomLine +{ + border-bottom: solid 1px #ACACAC; + clear: both; + height: 0px; +} + + +.styleBtnComposito +{ + font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; + font-size: 0.9em; + font-weight: bold; + display: inline-block; + position: relative; + padding: 0; + margin: .2em; + text-decoration: none !important; + cursor: pointer; + text-align: center; + zoom: 1; + overflow: visible; + border: solid 1px #696969; + background: #f6f6f6 url(images/ui-bg_glass_100_f6f6f6_1x400.png) 50% 50% repeat-x; + color: Black; /* was #1c94c4 */ + -moz-border-radius-topleft: 4px; + -webkit-border-top-left-radius: 4px; + -khtml-border-top-left-radius: 4px; + border-top-left-radius: 4px; + -moz-border-radius-topright: 4px; + -webkit-border-top-right-radius: 4px; + -khtml-border-top-right-radius: 4px; + border-top-right-radius: 4px; + -moz-border-radius-bottomleft: 4px; + -webkit-border-bottom-left-radius: 4px; + -khtml-border-bottom-left-radius: 4px; + border-bottom-left-radius: 4px; + -moz-border-radius-bottomright: 4px; + -webkit-border-bottom-right-radius: 4px; + -khtml-border-bottom-right-radius: 4px; + border-bottom-right-radius: 4px; + padding-top: .2em; + padding-right: .4em; + padding-bottom: .2em; + padding-left: .4em; +} + +.styleBtnComposito:hover +{ + color: White; + background-image: none; + background-color: #696969; +} +.styleBtnComposito:active +{ + position: relative; + top: 1px; + color: Yellow; + background-image: none; + background-color: #ACACAC; +} diff --git a/GMW_Term/Style_prod.css b/GMW_Term/Style_prod.css new file mode 100644 index 00000000..74dff557 --- /dev/null +++ b/GMW_Term/Style_prod.css @@ -0,0 +1,653 @@ +body +{ + margin-top: 0px; + margin-left: 0px; + margin-bottom: 0px; + margin-right: 0px; + font-family: Verdana, Arial; + font-size: small; +} +.fullscreen +{ + display: block; /*set the div in the top-left corner of the screen*/ + position: absolute; + top: 0; + left: 0; /*set the width and height to 100% of the screen*/ + width: 100%; + height: 100%; +} +#content +{ + width: 210px; + height: 240px; + padding: 0px; + border: 1px black solid; + background-position: center bottom; + background-image: url('images/logo_sw.jpg'); + background-repeat: no-repeat; +} + +#activeContent +{ + height: 200px; +} +#topBanner +{ + height: 20px; +} +#smallTable +{ + width: 98%; + padding: 1px; + white-space: nowrap; + font-size: 10pt; +} +#smallGrid +{ + width: 100%; + font-size: 8pt; +} +#smallGridDetail +{ + width: 100%; + font-size: 9pt; +} + +.quadro_wide +{ + float: none; + width: 98%; + text-align: center; + vertical-align: middle; + margin-top: 2px; + margin-bottom: 2px; +} + +.quadro1, .quadro3 +{ + float: left; + width: 48%; + text-align: center; + vertical-align: middle; + margin-top: 2px; + margin-bottom: 2px; +} +.quadro2, .quadro4 +{ + float: right; + width: 48%; + text-align: center; + vertical-align: middle; + margin-top: 2px; + margin-bottom: 2px; +} + +.userBanner +{ + padding-top: 2px; + padding-bottom: 2px; + background-color: #6969AC; + text-align: center; + font-weight: bold; + color: White; +} +.taskBanner +{ + height: 10px; + padding-top: 0px; + padding-bottom: 0px; + background-color: #ABABFF; + text-align: center; + color: Black; +} +.ctrHeaderPager +{ + background-color: #b8b8b8; + font-weight: bold; + color: White; + text-align: center; +} + +.ctrHeaderPagerMini +{ + background-color: #b8b8b8; + color: White; + text-align: center; + font-size: x-small; + height: 10px; +} + +.ctrHeaderPagerWide +{ + background-color: #b8b8b8; + font-weight: bold; + color: White; + font-size: 10pt; +} +.ctrRowStyle +{ + vertical-align: top; + background-color: #EFF3FB; + text-align: left; +} +.ctrAltRowStyle +{ + vertical-align: top; + background-color: White; + text-align: left; +} +.ctrRowStyleRight +{ + background-color: #EFF3FB; + text-align: right; +} +.ctrAltRowStyleRight +{ + background-color: White; + text-align: right; +} +.ctrInsRowStyle +{ + background-color: #b8b8b8; +} +.ctrEditRowStyle +{ + background-color: #D1DDF1; +} +.ctrSelRowStyle +{ + font-weight: bold; + color: #333333; + background-color: #D1DDF1; +} + +.ctrFooterMini +{ + font-size: x-small; + height: 15px; +} +.btnDeposita +{ + display: block; + width: 80px; + height: 40px; + border: solid 2px red; + background-color: #FFCCAA; + font-size: x-small; + font-weight: bold; + white-space: pre; +} +.btnSposta +{ + display: block; + width: 80px; + height: 40px; + border: solid 2px green; + background-color: #AAFFAA; + font-size: x-small; + font-weight: bold; + white-space: pre; +} +.btnRettifica +{ + display: block; + width: 80px; + height: 40px; + border: solid 2px blue; + background-color: #5454FF; + font-size: x-small; + font-weight: bold; + white-space: pre; + color: White; +} +.btnPreleva +{ + display: block; + width: 80px; + height: 40px; + border: solid 2px red; + background-color: #FFCCAA; + font-size: x-small; + font-weight: bold; + white-space: pre; +} +.btnRiattiva +{ + display: block; + width: 80px; + height: 40px; + border: solid 2px red; + background-color: #FFCCFF; + font-size: x-small; + font-weight: bold; + white-space: pre; +} +.btnConferma +{ + display: block; + width: 56px; + height: 40px; + border: solid 2px #DDDD99; + background-color: #FFFFAA; + font-size: x-small; + font-weight: bold; + white-space: pre; +} +.btnCellaPiena +{ + display: block; + width: 56px; + height: 40px; + border: solid 2px blue; + background-color: #AAFFFF; + font-size: x-small; + font-weight: bold; + white-space: pre; +} +.btnBarcode +{ + display: block; + width: 80px; + height: 40px; + text-align: center; + border: solid 2px blue; + background-color: #AAFFFF; + font-size: x-small; + font-weight: bold; + white-space: pre; +} +.btnChiudi +{ + display: block; + width: 80px; + height: 40px; + border: solid 2px #DDDD99; + background-color: #FFFFAA; + font-size: x-small; + font-weight: bold; + white-space: pre; +} +.btnChiudiInput +{ + display: block; + width: 80px; + height: 40px; + border: solid 2px red; + background-color: #FFCCAA; + font-size: x-small; + font-weight: bold; + white-space: pre; +} +.btnDeliberaFusi +{ + display: block; + width: 80px; + height: 40px; + border: solid 2px green; + background-color: #AAFFAA; + font-size: x-small; + font-weight: bold; + white-space: pre; +} +.btnDeliberaWipPre +{ + display: block; + width: 80px; + height: 40px; + border: solid 2px green; + background-color: #AAFFAA; + font-size: x-small; + font-weight: bold; + white-space: pre; +} +.btnDeliberaWipPost +{ + display: block; + width: 80px; + height: 40px; + border: solid 2px green; + background-color: #AAFFAA; + font-size: x-small; + font-weight: bold; + white-space: pre; +} +.btnUpdate +{ + display: block; + width: 80px; + height: 40px; + border: solid 2px green; + background-color: #AAFFAA; + font-size: x-small; + font-weight: bold; +} +.btnCancel +{ + display: block; + width: 80px; + height: 40px; + border: solid 2px blue; + background-color: #AAAAFF; + font-size: x-small; + font-weight: bold; +} + +/* classe generale per div dei bottoni */ + +.divButtons +{ + float: left; +} + + +/* bottoni homepage */ +.btnRosso +{ + border: solid 2px red; + background-color: #FFAAAA; + width: 95px; + height: 90px; + text-align: center; + white-space: pre; +} +.btnArancio +{ + border: solid 2px #998800; + background-color: #FFEE66; + width: 95px; + height: 90px; + text-align: center; + white-space: pre; +} +.btnVerde +{ + border: solid 2px green; + background-color: #AAFFAA; + width: 95px; + height: 90px; + text-align: center; + white-space: pre; +} +.btnBlu +{ + border: solid 2px blue; + background-color: #AAAAFF; + width: 95px; + height: 90px; + text-align: center; + white-space: pre; +} +.btnAzzurro +{ + border: solid 2px blue; + background-color: #AAFFFF; + width: 95px; + height: 90px; + text-align: center; + white-space: pre; +} +.btnGiallo +{ + border: solid 2px #BBBB88; + background-color: #FFFFAA; + width: 95px; + height: 90px; + text-align: center; + white-space: pre; +} +.btnGrigio +{ + border: solid 2px #999999; + background-color: #DDDDDD; + width: 95px; + height: 90px; + text-align: center; + white-space: pre; +} + + +/* buttons larghi */ +.btnAzzurroWide +{ + width: 190px; + height: 90px; + border: solid 2px blue; + background-color: #AAFFFF; + font-weight: bold; + text-align: center; + white-space: pre; +} +.btnBluWide +{ + width: 190px; + height: 90px; + border: solid 2px blue; + background-color: #AAAAFF; + font-weight: bold; + text-align: center; + white-space: pre; +} + + + + +/* area formattazione dati ricerca UDC e celle */ +.divSmall +{ + width: 220px; +} +.labelSmall +{ + font-size: 8pt; + color: #969696; +} +.valoreSmall +{ + font-size: 8pt; + color: Black; +} + + +.btnBarcodeBig +{ + width: 95px; + height: 90px; + border: solid 2px blue; + background-color: #AAFFFF; + font-weight: bold; + text-align: center; + white-space: pre; +} +.btnBarcodeBigWide +{ + width: 190px; + height: 90px; + border: solid 2px blue; + background-color: #AAFFFF; + font-weight: bold; + text-align: center; + white-space: nowrap; +} + +.btnSearchBig +{ + width: 95px; + height: 90px; + border: solid 2px #DDDD99; + background-color: #FFFFAA; + font-weight: bold; + white-space: pre; +} + +.btnSmartListBig +{ + width: 95px; + height: 90px; + border: solid 2px red; + background-color: #FFEE66; + font-weight: bold; + white-space: pre; +} +.btnListBig +{ + width: 95px; + height: 90px; + border: solid 2px red; + background-color: #FFAA88; + font-weight: bold; + white-space: pre; +} +.btnListBigWide +{ + width: 190px; + height: 90px; + border: solid 2px red; + background-color: #FFAA88; + font-weight: bold; + white-space: nowrap; +} + + +.btnTaskBig +{ + width: 95px; + height: 90px; + border: solid 2px green; + background-color: #AAFFAA; + font-weight: bold; + white-space: pre; +} + +.btnHome +{ + width: 80px; + height: 40px; + border: solid 2px green; + background-color: #AAFFAA; + white-space: pre; + font-size: 9pt; +} +.btnLogout +{ + width: 80px; + height: 40px; + border: solid 2px red; + background-color: #FFAAAA; + white-space: pre; + font-size: 9pt; + font-weight: bold; +} +.btnShowPeriodo +{ + height: 40px; + border: solid 2px Orange; + background-color: #FFCCAA; + white-space: pre; + font-size: 9pt; +} +.btnBarcodeSmall +{ + width: 80px; + height: 40px; + border: solid 2px blue; + background-color: #AAFFFF; + white-space: pre; + font-size: 9pt; +} +.btnBarcodeLarge +{ + width: 120px; + height: 40px; + border: solid 2px blue; + background-color: #AAFFFF; + white-space: pre; + font-size: 9pt; +} + +.btnPrendiInCarico +{ + width: 90px; + height: 40px; + border: solid 2px red; + background-color: #FFCCAA; + white-space: pre; + font-size: 9pt; +} + +.errore +{ + font-size: small; + color: Red; + font-weight: bold; +} +.erroreMid +{ + font-size: small; + color: Red; +} +.clearAll +{ + clear: both; + height: 0px; +} +.clearAllBottomLine +{ + border-bottom: solid 1px #ACACAC; + clear: both; + height: 0px; +} + + +.styleBtnComposito +{ + font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; + font-size: 0.9em; + font-weight: bold; + display: inline-block; + position: relative; + padding: 0; + margin: .2em; + text-decoration: none !important; + cursor: pointer; + text-align: center; + zoom: 1; + overflow: visible; + border: solid 1px #696969; + background: #f6f6f6 url(images/ui-bg_glass_100_f6f6f6_1x400.png) 50% 50% repeat-x; + color: Black; /* was #1c94c4 */ + -moz-border-radius-topleft: 4px; + -webkit-border-top-left-radius: 4px; + -khtml-border-top-left-radius: 4px; + border-top-left-radius: 4px; + -moz-border-radius-topright: 4px; + -webkit-border-top-right-radius: 4px; + -khtml-border-top-right-radius: 4px; + border-top-right-radius: 4px; + -moz-border-radius-bottomleft: 4px; + -webkit-border-bottom-left-radius: 4px; + -khtml-border-bottom-left-radius: 4px; + border-bottom-left-radius: 4px; + -moz-border-radius-bottomright: 4px; + -webkit-border-bottom-right-radius: 4px; + -khtml-border-bottom-right-radius: 4px; + border-bottom-right-radius: 4px; + padding-top: .2em; + padding-right: .4em; + padding-bottom: .2em; + padding-left: .4em; +} + +.styleBtnComposito:hover +{ + color: White; + background-image: none; + background-color: #696969; +} +.styleBtnComposito:active +{ + position: relative; + top: 1px; + color: Yellow; + background-image: none; + background-color: #ACACAC; +} diff --git a/GMW_Term/Style_test.css b/GMW_Term/Style_test.css new file mode 100644 index 00000000..9e26fdd0 --- /dev/null +++ b/GMW_Term/Style_test.css @@ -0,0 +1,654 @@ +body +{ + margin-top: 0px; + margin-left: 0px; + margin-bottom: 0px; + margin-right: 0px; + font-family: Verdana, Arial; + font-size: small; +} +.fullscreen +{ + display: block; /*set the div in the top-left corner of the screen*/ + position: absolute; + top: 0; + left: 0; /*set the width and height to 100% of the screen*/ + width: 100%; + height: 100%; + background-color: #F92; +} +#content +{ + width: 210px; + height: 240px; + padding: 0px; + border: 1px black solid; + background-position: center bottom; + background-image: url('images/logo_sw.jpg'); + background-repeat: no-repeat; +} + +#activeContent +{ + height: 200px; +} +#topBanner +{ + height: 20px; +} +#smallTable +{ + width: 98%; + padding: 1px; + white-space: nowrap; + font-size: 10pt; +} +#smallGrid +{ + width: 100%; + font-size: 8pt; +} +#smallGridDetail +{ + width: 100%; + font-size: 9pt; +} + +.quadro_wide +{ + float: none; + width: 98%; + text-align: center; + vertical-align: middle; + margin-top: 2px; + margin-bottom: 2px; +} + +.quadro1, .quadro3 +{ + float: left; + width: 48%; + text-align: center; + vertical-align: middle; + margin-top: 2px; + margin-bottom: 2px; +} +.quadro2, .quadro4 +{ + float: right; + width: 48%; + text-align: center; + vertical-align: middle; + margin-top: 2px; + margin-bottom: 2px; +} + +.userBanner +{ + padding-top: 2px; + padding-bottom: 2px; + background-color: #6969AC; + text-align: center; + font-weight: bold; + color: White; +} +.taskBanner +{ + height: 10px; + padding-top: 0px; + padding-bottom: 0px; + background-color: #ABABFF; + text-align: center; + color: Black; +} +.ctrHeaderPager +{ + background-color: #b8b8b8; + font-weight: bold; + color: White; + text-align: center; +} + +.ctrHeaderPagerMini +{ + background-color: #b8b8b8; + color: White; + text-align: center; + font-size: x-small; + height: 10px; +} + +.ctrHeaderPagerWide +{ + background-color: #b8b8b8; + font-weight: bold; + color: White; + font-size: 10pt; +} +.ctrRowStyle +{ + vertical-align: top; + background-color: #EFF3FB; + text-align: left; +} +.ctrAltRowStyle +{ + vertical-align: top; + background-color: White; + text-align: left; +} +.ctrRowStyleRight +{ + background-color: #EFF3FB; + text-align: right; +} +.ctrAltRowStyleRight +{ + background-color: White; + text-align: right; +} +.ctrInsRowStyle +{ + background-color: #b8b8b8; +} +.ctrEditRowStyle +{ + background-color: #D1DDF1; +} +.ctrSelRowStyle +{ + font-weight: bold; + color: #333333; + background-color: #D1DDF1; +} + +.ctrFooterMini +{ + font-size: x-small; + height: 15px; +} +.btnDeposita +{ + display: block; + width: 80px; + height: 40px; + border: solid 2px red; + background-color: #FFCCAA; + font-size: x-small; + font-weight: bold; + white-space: pre; +} +.btnSposta +{ + display: block; + width: 80px; + height: 40px; + border: solid 2px green; + background-color: #AAFFAA; + font-size: x-small; + font-weight: bold; + white-space: pre; +} +.btnRettifica +{ + display: block; + width: 80px; + height: 40px; + border: solid 2px blue; + background-color: #5454FF; + font-size: x-small; + font-weight: bold; + white-space: pre; + color: White; +} +.btnPreleva +{ + display: block; + width: 80px; + height: 40px; + border: solid 2px red; + background-color: #FFCCAA; + font-size: x-small; + font-weight: bold; + white-space: pre; +} +.btnRiattiva +{ + display: block; + width: 80px; + height: 40px; + border: solid 2px red; + background-color: #FFCCFF; + font-size: x-small; + font-weight: bold; + white-space: pre; +} +.btnConferma +{ + display: block; + width: 56px; + height: 40px; + border: solid 2px #DDDD99; + background-color: #FFFFAA; + font-size: x-small; + font-weight: bold; + white-space: pre; +} +.btnCellaPiena +{ + display: block; + width: 56px; + height: 40px; + border: solid 2px blue; + background-color: #AAFFFF; + font-size: x-small; + font-weight: bold; + white-space: pre; +} +.btnBarcode +{ + display: block; + width: 80px; + height: 40px; + text-align: center; + border: solid 2px blue; + background-color: #AAFFFF; + font-size: x-small; + font-weight: bold; + white-space: pre; +} +.btnChiudi +{ + display: block; + width: 80px; + height: 40px; + border: solid 2px #DDDD99; + background-color: #FFFFAA; + font-size: x-small; + font-weight: bold; + white-space: pre; +} +.btnChiudiInput +{ + display: block; + width: 80px; + height: 40px; + border: solid 2px red; + background-color: #FFCCAA; + font-size: x-small; + font-weight: bold; + white-space: pre; +} +.btnDeliberaFusi +{ + display: block; + width: 80px; + height: 40px; + border: solid 2px green; + background-color: #AAFFAA; + font-size: x-small; + font-weight: bold; + white-space: pre; +} +.btnDeliberaWipPre +{ + display: block; + width: 80px; + height: 40px; + border: solid 2px green; + background-color: #AAFFAA; + font-size: x-small; + font-weight: bold; + white-space: pre; +} +.btnDeliberaWipPost +{ + display: block; + width: 80px; + height: 40px; + border: solid 2px green; + background-color: #AAFFAA; + font-size: x-small; + font-weight: bold; + white-space: pre; +} +.btnUpdate +{ + display: block; + width: 80px; + height: 40px; + border: solid 2px green; + background-color: #AAFFAA; + font-size: x-small; + font-weight: bold; +} +.btnCancel +{ + display: block; + width: 80px; + height: 40px; + border: solid 2px blue; + background-color: #AAAAFF; + font-size: x-small; + font-weight: bold; +} + +/* classe generale per div dei bottoni */ + +.divButtons +{ + float: left; +} + + +/* bottoni homepage */ +.btnRosso +{ + border: solid 2px red; + background-color: #FFAAAA; + width: 95px; + height: 90px; + text-align: center; + white-space: pre; +} +.btnArancio +{ + border: solid 2px #998800; + background-color: #FFEE66; + width: 95px; + height: 90px; + text-align: center; + white-space: pre; +} +.btnVerde +{ + border: solid 2px green; + background-color: #AAFFAA; + width: 95px; + height: 90px; + text-align: center; + white-space: pre; +} +.btnBlu +{ + border: solid 2px blue; + background-color: #AAAAFF; + width: 95px; + height: 90px; + text-align: center; + white-space: pre; +} +.btnAzzurro +{ + border: solid 2px blue; + background-color: #AAFFFF; + width: 95px; + height: 90px; + text-align: center; + white-space: pre; +} +.btnGiallo +{ + border: solid 2px #BBBB88; + background-color: #FFFFAA; + width: 95px; + height: 90px; + text-align: center; + white-space: pre; +} +.btnGrigio +{ + border: solid 2px #999999; + background-color: #DDDDDD; + width: 95px; + height: 90px; + text-align: center; + white-space: pre; +} + + +/* buttons larghi */ +.btnAzzurroWide +{ + width: 190px; + height: 90px; + border: solid 2px blue; + background-color: #AAFFFF; + font-weight: bold; + text-align: center; + white-space: pre; +} +.btnBluWide +{ + width: 190px; + height: 90px; + border: solid 2px blue; + background-color: #AAAAFF; + font-weight: bold; + text-align: center; + white-space: pre; +} + + + + +/* area formattazione dati ricerca UDC e celle */ +.divSmall +{ + width: 220px; +} +.labelSmall +{ + font-size: 8pt; + color: #969696; +} +.valoreSmall +{ + font-size: 8pt; + color: Black; +} + + +.btnBarcodeBig +{ + width: 95px; + height: 90px; + border: solid 2px blue; + background-color: #AAFFFF; + font-weight: bold; + text-align: center; + white-space: pre; +} +.btnBarcodeBigWide +{ + width: 190px; + height: 90px; + border: solid 2px blue; + background-color: #AAFFFF; + font-weight: bold; + text-align: center; + white-space: nowrap; +} + +.btnSearchBig +{ + width: 95px; + height: 90px; + border: solid 2px #DDDD99; + background-color: #FFFFAA; + font-weight: bold; + white-space: pre; +} + +.btnSmartListBig +{ + width: 95px; + height: 90px; + border: solid 2px red; + background-color: #FFEE66; + font-weight: bold; + white-space: pre; +} +.btnListBig +{ + width: 95px; + height: 90px; + border: solid 2px red; + background-color: #FFAA88; + font-weight: bold; + white-space: pre; +} +.btnListBigWide +{ + width: 190px; + height: 90px; + border: solid 2px red; + background-color: #FFAA88; + font-weight: bold; + white-space: nowrap; +} + + +.btnTaskBig +{ + width: 95px; + height: 90px; + border: solid 2px green; + background-color: #AAFFAA; + font-weight: bold; + white-space: pre; +} + +.btnHome +{ + width: 80px; + height: 40px; + border: solid 2px green; + background-color: #AAFFAA; + white-space: pre; + font-size: 9pt; +} +.btnLogout +{ + width: 80px; + height: 40px; + border: solid 2px red; + background-color: #FFAAAA; + white-space: pre; + font-size: 9pt; + font-weight: bold; +} +.btnShowPeriodo +{ + height: 40px; + border: solid 2px Orange; + background-color: #FFCCAA; + white-space: pre; + font-size: 9pt; +} +.btnBarcodeSmall +{ + width: 80px; + height: 40px; + border: solid 2px blue; + background-color: #AAFFFF; + white-space: pre; + font-size: 9pt; +} +.btnBarcodeLarge +{ + width: 120px; + height: 40px; + border: solid 2px blue; + background-color: #AAFFFF; + white-space: pre; + font-size: 9pt; +} + +.btnPrendiInCarico +{ + width: 90px; + height: 40px; + border: solid 2px red; + background-color: #FFCCAA; + white-space: pre; + font-size: 9pt; +} + +.errore +{ + font-size: small; + color: Red; + font-weight: bold; +} +.erroreMid +{ + font-size: small; + color: Red; +} +.clearAll +{ + clear: both; + height: 0px; +} +.clearAllBottomLine +{ + border-bottom: solid 1px #ACACAC; + clear: both; + height: 0px; +} + + +.styleBtnComposito +{ + font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; + font-size: 0.9em; + font-weight: bold; + display: inline-block; + position: relative; + padding: 0; + margin: .2em; + text-decoration: none !important; + cursor: pointer; + text-align: center; + zoom: 1; + overflow: visible; + border: solid 1px #696969; + background: #f6f6f6 url(images/ui-bg_glass_100_f6f6f6_1x400.png) 50% 50% repeat-x; + color: Black; /* was #1c94c4 */ + -moz-border-radius-topleft: 4px; + -webkit-border-top-left-radius: 4px; + -khtml-border-top-left-radius: 4px; + border-top-left-radius: 4px; + -moz-border-radius-topright: 4px; + -webkit-border-top-right-radius: 4px; + -khtml-border-top-right-radius: 4px; + border-top-right-radius: 4px; + -moz-border-radius-bottomleft: 4px; + -webkit-border-bottom-left-radius: 4px; + -khtml-border-bottom-left-radius: 4px; + border-bottom-left-radius: 4px; + -moz-border-radius-bottomright: 4px; + -webkit-border-bottom-right-radius: 4px; + -khtml-border-bottom-right-radius: 4px; + border-bottom-right-radius: 4px; + padding-top: .2em; + padding-right: .4em; + padding-bottom: .2em; + padding-left: .4em; +} + +.styleBtnComposito:hover +{ + color: White; + background-image: none; + background-color: #696969; +} +.styleBtnComposito:active +{ + position: relative; + top: 1px; + color: Yellow; + background-image: none; + background-color: #ACACAC; +} diff --git a/GMW_Term/TermUtils.cs b/GMW_Term/TermUtils.cs new file mode 100644 index 00000000..347a9b43 --- /dev/null +++ b/GMW_Term/TermUtils.cs @@ -0,0 +1,33 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using SteamWare; + +namespace GMW_Term +{ + public class TermUtils + { + protected TermUtils() + { + + } + + /// + /// effettua logout da terminalino azzerando tutte le variabili necessarie + /// + public void forceLogOut() + { + HttpContext.Current.Session.Clear(); + user_std.UtSn.logOffUtente(); + // salvo esecuzione logout + memLayer.ML.setSessionVal("activeTask", "LogOff Operatore"); + } + + + /// + /// oggetto static per fare chiamate + /// + public static TermUtils TU = new TermUtils(); + } +} diff --git a/GMW_Term/UDC.aspx b/GMW_Term/UDC.aspx new file mode 100644 index 00000000..8cb14cf3 --- /dev/null +++ b/GMW_Term/UDC.aspx @@ -0,0 +1,12 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/CompactBCode.Master" + AutoEventWireup="true" CodeBehind="UDC.aspx.cs" Inherits="GMW_Term.UDC" %> + +<%@ Register Src="WebUserControls/mod_barcode.ascx" TagName="mod_barcode" TagPrefix="uc1" %> +<%@ Register Src="WebUserControls/mod_processPackList.ascx" TagName="mod_processPackList" + TagPrefix="uc2" %> + + + + + + diff --git a/GMW_Term/UDC.aspx.cs b/GMW_Term/UDC.aspx.cs new file mode 100644 index 00000000..0427710d --- /dev/null +++ b/GMW_Term/UDC.aspx.cs @@ -0,0 +1,59 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace GMW_Term +{ + public partial class UDC : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + // imposto valori visibilità barcode specifici (nascondo testo...) + mod_barcode1.showHeaderText = true; + mod_barcode1.showNoteText = true; + // imposto controllo valori scansionati + mod_barcode1.eh_scannedListaPrelievo += new EventHandler(mod_barcode1_eh_scannedListaPrelievo); + mod_barcode1.eh_scannedParticolare += new EventHandler(mod_barcode1_eh_scannedParticolare); + mod_barcode1.eh_scannedUdc += new EventHandler(mod_barcode1_eh_scannedUdc); + mod_barcode1.eh_scannedUser += new EventHandler(mod_barcode1_eh_scannedUser); + mod_barcode1.eh_scannedCella += new EventHandler(mod_barcode1_eh_scannedCella); + mod_barcode1.eh_resetUser += new EventHandler(mod_barcode1_eh_resetUser); + // imposto btnHome + mod_barcode1.homeBtnText = "btnTermMenuLDP"; + mod_barcode1.homeBtnLink = "~/menuLDP.aspx"; + } + + void mod_barcode1_eh_scannedCella(object sender, EventArgs e) + { + Response.Redirect("~/Cella.aspx"); + } + + void mod_barcode1_eh_resetUser(object sender, EventArgs e) + { + Response.Redirect("~/Barcode.aspx"); + } + + void mod_barcode1_eh_scannedUser(object sender, EventArgs e) + { + Response.Redirect("~/Home.aspx"); + } + + void mod_barcode1_eh_scannedUdc(object sender, EventArgs e) + { + Response.Redirect("~/UDC.aspx"); + } + + void mod_barcode1_eh_scannedParticolare(object sender, EventArgs e) + { + Response.Redirect("~/Particolare.aspx"); + } + + void mod_barcode1_eh_scannedListaPrelievo(object sender, EventArgs e) + { + Response.Redirect("~/ListePrelievo.aspx"); + } + } +} diff --git a/GMW_Term/UDC.aspx.designer.cs b/GMW_Term/UDC.aspx.designer.cs new file mode 100644 index 00000000..6efb2bed --- /dev/null +++ b/GMW_Term/UDC.aspx.designer.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4959 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW_Term { + + + public partial class UDC { + + /// + /// mod_barcode1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW_Term.WebUserControls.mod_barcode mod_barcode1; + + /// + /// mod_processPackList1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW_Term.WebUserControls.mod_processPackList mod_processPackList1; + } +} diff --git a/GMW_Term/WS/AutoCompletamento.asmx b/GMW_Term/WS/AutoCompletamento.asmx new file mode 100644 index 00000000..b054258a --- /dev/null +++ b/GMW_Term/WS/AutoCompletamento.asmx @@ -0,0 +1 @@ +<%@ WebService Language="C#" CodeBehind="AutoCompletamento.asmx.cs" Class="GMW.WS.AutoCompletamento" %> diff --git a/GMW_Term/WS/AutoCompletamento.asmx.cs b/GMW_Term/WS/AutoCompletamento.asmx.cs new file mode 100644 index 00000000..b7fc874e --- /dev/null +++ b/GMW_Term/WS/AutoCompletamento.asmx.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.Services; +using SteamWare; +using GMW_data; + +namespace GMW.WS +{ + /// + /// servizi per AutoCompletamento oggetti + /// + [WebService(Namespace = "http://www.steamware.net/")] + [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] + [System.ComponentModel.ToolboxItem(false)] + // To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line. + [System.Web.Script.Services.ScriptService] + public class AutoCompletamento : System.Web.Services.WebService + { + + [System.Web.Services.WebMethod] + public string[] elencoParticolari(string prefixText, int count) + { + // inizializzo risposta + List suggerimenti = new List(); + // proseguo SOLO SE min "MinCharAutocomplete" char... + if (count > memLayer.ML.confReadInt("MinCharAutocomplete")) + { + // elenco candidati + DS_magazzino.V_ParticolariOverviewDataTable tabParticolari = MagClass.magazzino.taVParticolariOverwiew.getByLikePrefix(prefixText, memLayer.ML.confReadString("CodCS")); + // aggiungo ogni riga... + foreach (DS_magazzino.V_ParticolariOverviewRow riga in tabParticolari) + { + suggerimenti.Add(riga.Particolare); + } + } + return suggerimenti.ToArray(); + } + + } +} diff --git a/GMW_Term/Web.Debug.config b/GMW_Term/Web.Debug.config new file mode 100644 index 00000000..962e6b73 --- /dev/null +++ b/GMW_Term/Web.Debug.config @@ -0,0 +1,30 @@ + + + + + + + + + + \ No newline at end of file diff --git a/GMW_Term/Web.Release.config b/GMW_Term/Web.Release.config new file mode 100644 index 00000000..141832ba --- /dev/null +++ b/GMW_Term/Web.Release.config @@ -0,0 +1,31 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/GMW_Term/Web.SP_prod.config b/GMW_Term/Web.SP_prod.config new file mode 100644 index 00000000..bcbda6e5 --- /dev/null +++ b/GMW_Term/Web.SP_prod.config @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/GMW_Term/Web.SP_test.config b/GMW_Term/Web.SP_test.config new file mode 100644 index 00000000..b77b3c12 --- /dev/null +++ b/GMW_Term/Web.SP_test.config @@ -0,0 +1,82 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/GMW_Term/Web.TK_Test.config b/GMW_Term/Web.TK_Test.config new file mode 100644 index 00000000..186279ce --- /dev/null +++ b/GMW_Term/Web.TK_Test.config @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/GMW_Term/Web.TK_prod.config b/GMW_Term/Web.TK_prod.config new file mode 100644 index 00000000..2dcd40b6 --- /dev/null +++ b/GMW_Term/Web.TK_prod.config @@ -0,0 +1,82 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/GMW_Term/Web.config b/GMW_Term/Web.config new file mode 100644 index 00000000..42e14f77 --- /dev/null +++ b/GMW_Term/Web.config @@ -0,0 +1,182 @@ + + + + + +
+ +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/GMW_Term/WebMasterPages/Compact.Master b/GMW_Term/WebMasterPages/Compact.Master new file mode 100644 index 00000000..9e9a5dd3 --- /dev/null +++ b/GMW_Term/WebMasterPages/Compact.Master @@ -0,0 +1,25 @@ +<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Compact.master.cs" Inherits="GMW_Term.Compact" %> +<%@ Register Src="../WebUserControls/mod_menuTop.ascx" TagName="mod_menuTop" TagPrefix="uc1" %> +<%@ Register Src="../WebUserControls/mod_currentTask.ascx" TagName="mod_currentTask" + TagPrefix="uc2" %> + + + + GMW Terminus + + + + + +
+
+ +
+ +
+ + +
+
+ + diff --git a/GMW_Term/WebMasterPages/Compact.Master.cs b/GMW_Term/WebMasterPages/Compact.Master.cs new file mode 100644 index 00000000..22c4b149 --- /dev/null +++ b/GMW_Term/WebMasterPages/Compact.Master.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace GMW_Term +{ + public partial class Compact : System.Web.UI.MasterPage + { + protected void Page_Load(object sender, EventArgs e) + { + } + } +} diff --git a/GMW_Term/WebMasterPages/Compact.Master.designer.cs b/GMW_Term/WebMasterPages/Compact.Master.designer.cs new file mode 100644 index 00000000..22a423d9 --- /dev/null +++ b/GMW_Term/WebMasterPages/Compact.Master.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_Term { + + + public partial class Compact { + + /// + /// head control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ContentPlaceHolder head; + + /// + /// form1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// mod_menuTop1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW_Term.WebUserControls.mod_menuTop mod_menuTop1; + + /// + /// mod_currentTask1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW_Term.WebUserControls.mod_currentTask mod_currentTask1; + + /// + /// body control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ContentPlaceHolder body; + } +} diff --git a/GMW_Term/WebMasterPages/CompactBCode.Master b/GMW_Term/WebMasterPages/CompactBCode.Master new file mode 100644 index 00000000..363894d2 --- /dev/null +++ b/GMW_Term/WebMasterPages/CompactBCode.Master @@ -0,0 +1,33 @@ +<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="CompactBCode.master.cs" + Inherits="GMW_Term.WebMasterPages.CompactBCode" %> +<%@ Register Src="../WebUserControls/mod_menuTop.ascx" TagName="mod_menuTop" TagPrefix="uc1" %> +<%@ Register Src="../WebUserControls/mod_currentTask.ascx" TagName="mod_currentTask" + TagPrefix="uc2" %> + + + + GMW BarCode + + + + + +
+
+ +
+ +
+ + +
+
+ + + + + diff --git a/GMW_Term/WebMasterPages/CompactBCode.Master.cs b/GMW_Term/WebMasterPages/CompactBCode.Master.cs new file mode 100644 index 00000000..035dbae2 --- /dev/null +++ b/GMW_Term/WebMasterPages/CompactBCode.Master.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace GMW_Term.WebMasterPages +{ + public partial class CompactBCode : System.Web.UI.MasterPage + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} diff --git a/GMW_Term/WebMasterPages/CompactBCode.Master.designer.cs b/GMW_Term/WebMasterPages/CompactBCode.Master.designer.cs new file mode 100644 index 00000000..7e1582bf --- /dev/null +++ b/GMW_Term/WebMasterPages/CompactBCode.Master.designer.cs @@ -0,0 +1,70 @@ +//------------------------------------------------------------------------------ +// +// 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_Term.WebMasterPages { + + + public partial class CompactBCode { + + /// + /// Head1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlHead Head1; + + /// + /// head control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ContentPlaceHolder head; + + /// + /// form1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// mod_menuTop1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW_Term.WebUserControls.mod_menuTop mod_menuTop1; + + /// + /// mod_currentTask1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW_Term.WebUserControls.mod_currentTask mod_currentTask1; + + /// + /// body control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ContentPlaceHolder body; + } +} diff --git a/GMW_Term/WebUserControls/mod_activeTask.ascx b/GMW_Term/WebUserControls/mod_activeTask.ascx new file mode 100644 index 00000000..c795a5e3 --- /dev/null +++ b/GMW_Term/WebUserControls/mod_activeTask.ascx @@ -0,0 +1,45 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_activeTask.ascx.cs" + Inherits="GMW_Term.WebUserControls.mod_activeTask" %> +
+
+ +
+ +
+ +
+
+ + + +
+
+ +
+ +
+
+ + + +
+
+ +
+ +
+
+ + + +
+
+ +
+ + +
+
+
\ No newline at end of file diff --git a/GMW_Term/WebUserControls/mod_activeTask.ascx.cs b/GMW_Term/WebUserControls/mod_activeTask.ascx.cs new file mode 100644 index 00000000..72b21b50 --- /dev/null +++ b/GMW_Term/WebUserControls/mod_activeTask.ascx.cs @@ -0,0 +1,129 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +namespace GMW_Term.WebUserControls +{ + public partial class mod_activeTask : System.Web.UI.UserControl + { + /// + /// wrapper traduzione termini + /// + /// + /// + public string traduci(string lemma) + { + return user_std.UtSn.Traduci(lemma); + } + + // variabile per verificare se è operatore + bool _validUserInSession = false; + /// + /// Verifica se c'è un valore in sessione di tipo operatore + /// + protected void verificaOperatoreInSessione() + { + if (string.IsNullOrEmpty(user_std.UtSn.utente)) + { + _validUserInSession = false; + } + else + { + _validUserInSession = true; + } + } + + /// + /// metodi al caricamento della pagina + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + // scrive label e text bottoni + btnLoginPage.Text = "[7]-LogOut"; + btnLoginPage.AccessKey = "7"; + btnButtonsHome.Text = "[9]-Home"; + btnButtonsHome.AccessKey = "9"; + // se username è valorizzato... + verificaOperatoreInSessione(); + if (_validUserInSession) + { + btnLoginPage.Visible = true; + btnButtonsHome.Visible = true; + } + // se non è valorizzato chiede di effettuare login... + else + { + Response.Redirect("Home.aspx"); + } + if (!Page.IsPostBack) + { + lblListaAttiva.Text = traduci("activeTakingList") + ":"; ; + lblBarcode.Text = traduci("lastBarcode") + ":"; + lblRicerca.Text = traduci("lastSearch") + ":"; + } + disegnaControlli(); + } + /// + /// sistema i controlli visualizzati + /// + private void disegnaControlli() + { + // liste prelievo + if (memLayer.ML.isInSessionObject("CodListaAttiva")) + { + pnlListaPrelievo.Visible = true; + hlListaAttiva.Text = memLayer.ML.StringSessionObj("CodListaAttiva"); + } + else + { + pnlListaPrelievo.Visible = false; + } + // altri valori: barcode + if (memLayer.ML.isInSessionObject("scannedValue")) + { + pnlBarcode.Visible = true; + hlBarcode.Text = memLayer.ML.StringSessionObj("scannedValue"); + } + else + { + pnlBarcode.Visible = false; + } + // altri valori: ricerca + if (memLayer.ML.isInSessionObject("searchValue")) + { + pnlRicerca.Visible = true; + hlRicerca.Text = memLayer.ML.StringSessionObj("searchValue"); + } + else + { + pnlRicerca.Visible = false; + } + } + + /// + /// effettua logout... + /// + /// + /// + protected void btnLoginPage_Click(object sender, EventArgs e) + { + TermUtils.TU.forceLogOut(); + Response.Redirect("~/Barcode.aspx"); + } + /// + /// va alla pagina dei buttons principale + /// + /// + /// + protected void btnButtonsHome_Click(object sender, EventArgs e) + { + Response.Redirect("~/Home.aspx"); + } + } +} \ No newline at end of file diff --git a/GMW_Term/WebUserControls/mod_activeTask.ascx.designer.cs b/GMW_Term/WebUserControls/mod_activeTask.ascx.designer.cs new file mode 100644 index 00000000..60f9e1b5 --- /dev/null +++ b/GMW_Term/WebUserControls/mod_activeTask.ascx.designer.cs @@ -0,0 +1,133 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW_Term.WebUserControls { + + + public partial class mod_activeTask { + + /// + /// lblInput control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblInput; + + /// + /// pnlListaPrelievo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlListaPrelievo; + + /// + /// lblListaAttiva control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblListaAttiva; + + /// + /// hlListaAttiva control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.HyperLink hlListaAttiva; + + /// + /// pnlBarcode control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlBarcode; + + /// + /// lblBarcode control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblBarcode; + + /// + /// hlBarcode control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.HyperLink hlBarcode; + + /// + /// pnlRicerca control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlRicerca; + + /// + /// lblRicerca control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblRicerca; + + /// + /// hlRicerca control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.HyperLink hlRicerca; + + /// + /// pnlMaster control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlMaster; + + /// + /// btnLoginPage control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnLoginPage; + + /// + /// btnButtonsHome control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnButtonsHome; + } +} diff --git a/GMW_Term/WebUserControls/mod_barcode.ascx b/GMW_Term/WebUserControls/mod_barcode.ascx new file mode 100644 index 00000000..0e529558 --- /dev/null +++ b/GMW_Term/WebUserControls/mod_barcode.ascx @@ -0,0 +1,22 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_barcode.ascx.cs" + Inherits="GMW_Term.WebUserControls.mod_barcode" %> +
+
+ +
+
+ +
+
+ +
+
+ + +
+
+ +
+
diff --git a/GMW_Term/WebUserControls/mod_barcode.ascx.cs b/GMW_Term/WebUserControls/mod_barcode.ascx.cs new file mode 100644 index 00000000..4c2856cb --- /dev/null +++ b/GMW_Term/WebUserControls/mod_barcode.ascx.cs @@ -0,0 +1,550 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using GMW_data; +using SteamWare; + +namespace GMW_Term.WebUserControls +{ + public partial class mod_barcode : System.Web.UI.UserControl + { + // variabile per verificare se è operatore + bool _validUserInSession = false; + string _homeBtnText = "Home"; + string _homeBtnLink = "~/Home.aspx"; + + + /// + /// wrapper traduzione termini + /// + /// + /// + public string traduci(string lemma) + { + return user_std.UtSn.Traduci(lemma); + } + + #region area eventi + + public event EventHandler eh_scannedUser; + public event EventHandler eh_resetUser; + public event EventHandler eh_scannedUdc; + public event EventHandler eh_scannedListaPrelievo; + public event EventHandler eh_scannedParticolare; + public event EventHandler eh_scannedCella; + + #endregion + + /// + /// testo del pulsante HOME + /// + public string homeBtnText + { + set + { + _homeBtnText = value; + traduciObj(); + } + get + { + return _homeBtnText; + } + } + /// + /// link del pulsante HOME + /// + public string homeBtnLink + { + set + { + _homeBtnLink = value; + traduciObj(); + } + get + { + return _homeBtnLink; + } + } + /// + /// traduce stringhe oggetti + /// + protected void traduciObj() + { + // scrive label e text bottoni + btnLoginPage.Text = string.Format("{0}\n[Alt+{1}]", traduci("Login"), 7); + btnLoginPage.AccessKey = "7"; + btnButtonsHome.Text = string.Format("{0}\n[Alt+{1}]", traduci(_homeBtnText), 9); + btnButtonsHome.AccessKey = "9"; + } + + /// + /// metodi al caricamento della pagina + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + traduciObj(); + + // se username è valorizzato... + verificaOperatoreInSessione(); + if (_validUserInSession) + { + btnLoginPage.Text = string.Format("{0}\n[Alt+{1}]", traduci("Logout"), 7); + btnLoginPage.Visible = memLayer.ML.confReadBool("showLogout"); + btnButtonsHome.Visible = true; + // se ho un precedente valore barcode lo mostro... + if (memLayer.ML.isInSessionObject("Barcode_sel")) + { + lblData.Text = memLayer.ML.StringSessionObj("Barcode_sel"); + } + else + { + lblData.Text = traduci("Insert Data") + "..."; + } + lblRev.Visible = false; + } + // se non è valorizzato chiede di effettuare login... + else + { + if (memLayer.ML.confReadBool("SimpleLogin")) + { + // in questo caso fa login di default con l'operatore indicato... + string codOperatore = memLayer.ML.confReadString("CodOperDefault"); + effettuaLoginOperatore(codOperatore); + } + else + { + // sistema visualizzazione + btnLoginPage.Visible = false; + btnButtonsHome.Visible = false; + lblData.Text = traduci("Please Login"); + lblRev.Text = string.Format("{0} v.{1}.{2}", memLayer.ML.confReadString("appName"), memLayer.ML.confReadString("mainRev"), memLayer.ML.confReadString("minRev")); + } + } + txtInput.Focus(); + } + /// + /// inserito testo nella TextBox + /// + /// + /// + protected void txtInput_TextChanged(object sender, EventArgs e) + { + // salvo in sessione la scansione attuale... + valoreScan = txtScansione; + // verifica l'input immesso + tipoCodiceBarcode answ = TermClass.Ter.riconosciBarcode(txtScansione); + verificaOperatoreInSessione(); + if (!_validUserInSession) //controllo: se non c'è operatore in sessione + { + if (answ == tipoCodiceBarcode.Operatore) + { + effettuaLoginOperatore(txtScansione); + } + else + { + lblData.Text = traduci("Invalid Code"); + txtScansione = ""; + } + } + else + { + switch (answ) + { + case tipoCodiceBarcode.ND: + lblData.Text = traduci("Code Mismatch") + ": " + txtScansione; + txtInput.Text = ""; + break; + case tipoCodiceBarcode.Operatore: + effettuaLoginOperatore(txtScansione); + break; + case tipoCodiceBarcode.ListaPrelievo: + chekListaPrelievo(); + break; + case tipoCodiceBarcode.UDC: + verificaUdc(); + break; + case tipoCodiceBarcode.Particolare: + verificaParticolare(); + break; + case tipoCodiceBarcode.Cella: + verificaCella(); + break; + default: + lblData.Text = traduci("CodeNotRecognized") + ": " + txtScansione; + txtInput.Text = ""; + break; + } + } + lblData.Font.Italic = false; + } + /// + /// verifica la lista di prelievo (se attivabile la attiva) + /// + private void chekListaPrelievo() + { + // verifica preliminare: se sia una chiamata di tipo "chiudi lista" e la lista sia quella dell'utente... + bool isCloseCmd = false; + try + { + isCloseCmd = txtScansione.EndsWith(memLayer.ML.confReadString("closeCodeLdp")); + } + catch + { } + if (isCloseCmd) + { + string codLista = txtScansione.Replace(memLayer.ML.confReadString("closeCodeLdp"), ""); + // controllo se sia la lista di prelievo assegnata all'utente + bool isUserList = (codLista == MagClass.magazzino.codListaAttivaUtente); + if (isUserList) + { + // chiudo! + esitoOperazione esitoCompleta = GMW_data.MagClass.magazzino.completaListaPrelievo(memLayer.ML.StringSessionObj("CodCS"), codLista, MagClass.magazzino.CodSoggCurrUser, Request.UserHostName); + if (esitoCompleta == esitoOperazione.ok) + { + // indico che la lista indicata è stata chiusa + lblData.Text = string.Format("{0}: {1}", traduci("ListClosed"), codLista); + } + else if (esitoCompleta == esitoOperazione.errore_noUdc) + { + GMW_data.MagClass.magazzino.attivaListaPrelievo(memLayer.ML.StringSessionObj("CodCS"), codLista, MagClass.magazzino.CodSoggCurrUser); + httpLog(string.Format("Lista di prelievo {0} rilasciata poiché senza UDC prelevati da parte dell'opertore {1}", codLista, MagClass.magazzino.CodSoggCurrUser), tipoLog.INFO); + // tolgo dalla session la lista prelievo attuale... + memLayer.ML.emptySessionVal("CodLista_sel"); + memLayer.ML.emptySessionVal("CodListaAttiva"); + memLayer.ML.emptySessionVal("activeTask"); + // indico che la lista indicata è stata rimessa in stato "attiva" + lblData.Text = string.Format("{0}: {1}", traduci("ListReActivated"), codLista); + } + // svuoto cache! + //memLayer.ML.emptySessionVal("UDC_sel"); + GMW_data.TermClass.Ter.resetScanBarcode(true, false, false); + } + else + { + // indico che il codice di chiusura NON è valido xché non ha in carico la lista indicata + lblData.Text = string.Format("!!! {0}: {1}", traduci("ListNotCloseable"), codLista); + } + } + else + { + // verifico se al lista di prelievo sia valida ed attivabile + if (MagClass.magazzino.listaPrelevabile(txtScansione)) + { + // verifico se l'utente ha delle lsite di prelievo attive e quindi NON PUO prenderne in carico altre + if (!MagClass.magazzino.userHasActiveLP) + { + // indico la lista come attiva + GMW_data.MagClass.magazzino.iniziaListaPrelievo(memLayer.ML.StringSessionObj("CodCS"), txtScansione, MagClass.magazzino.CodSoggCurrUser); + // salvo in sessione che voglio mostrare il dettaglio della lista appena presa in carico + memLayer.ML.setSessionVal("showDetListaPre", true, false); + + if (eh_scannedListaPrelievo != null) + { + eh_scannedListaPrelievo(this, new EventArgs()); + } + } + else + { + // indico l'errore: operatore già con una lista attiva + lblData.Text = string.Format("!!! {0}: {1}", traduci("ListStillOpen"), MagClass.magazzino.codListaAttivaUtente); + } + } + else + { + // se la lista è quella in carico rimando a quella + if (txtScansione == MagClass.magazzino.codListaAttivaUtente) + { + // salvo in sessione che voglio mostrare il dettaglio della lista appena presa in carico + memLayer.ML.setSessionVal("showDetListaPre", true, false); + + if (eh_scannedListaPrelievo != null) + { + eh_scannedListaPrelievo(this, new EventArgs()); + } + } + else + { + // indico l'errore: lista non valida o non attivabile + lblData.Text = string.Format("!!! {0}: {1}", traduci("NotDownloadable"), txtScansione); + } + } + } + txtInput.Text = ""; + } + /// + /// verifica validità UDC + /// + private void verificaUdc() + { + // controllo l'UDC se sia valido (==esistente) + bool barcodeOk = MagClass.magazzino.checkUDC(valoreScan); + if (barcodeOk) + { + // salvo in session UDC selezionato + memLayer.ML.setSessionVal("UDC_sel", valoreScan, false); + if (eh_scannedUdc != null) + { + eh_scannedUdc(this, new EventArgs()); + } + } + else + { + lblData.Text = string.Format(traduci("UDCCodeInvalid") + ": " + "{0}", valoreScan); + txtScansione = ""; + } + } + /// + /// verifica validità cella + /// + private void verificaCella() + { + // controllo cod cella se sia valido (==esistente) + bool barcodeOk = MagClass.magazzino.checkCella(valoreScan); + if (barcodeOk) + { + // calcolo idxCella + int idxCella = MagClass.magazzino.IdxCellaByCodCella(memLayer.ML.StringSessionObj("CodCS"), valoreScan); + // salvo in session idxCella selezionata + memLayer.ML.setSessionVal("IdxCella_sel", idxCella); + memLayer.ML.setSessionVal("codCella_sel", valoreScan); + memLayer.ML.setSessionVal("activeTask", string.Format("Cella: {0}", valoreScan)); + if (eh_scannedCella != null) + { + eh_scannedCella(this, new EventArgs()); + } + } + else + { + lblData.Text = string.Format(traduci("CellaCodeInvalid") + ": " + "{0}", valoreScan); + txtScansione = ""; + } + } + /// + /// verifica validità particolare + /// + private void verificaParticolare() + { + // controllo se sia valido il particolare (==esistente) + bool barcodeOk = MagClass.magazzino.checkParticolare(memLayer.ML.StringSessionObj("CodCS"), valoreScan); + if (barcodeOk) + { + // salvo in session particolare selezionato + memLayer.ML.setSessionVal("Particolare_sel", txtScansione); + memLayer.ML.setSessionVal("activeTask", string.Format("Particolare: {0}", valoreScan)); + if (eh_scannedParticolare != null) + { + eh_scannedParticolare(this, new EventArgs()); + } + } + else + { + lblData.Text = string.Format(traduci("PartCodeInvalid") + ": " + "{0}", valoreScan); + txtScansione = ""; + } + } + + /// + /// effettua le chiamate per la login + /// + /// + private void effettuaLoginOperatore(string dataIn) + { + // salvo in sessione valore barcode + memLayer.ML.setSessionVal("UserBarcode", dataIn); + // verifico che il cod operatore passato sia valido per Rilpro.Anagoperatori e Soggetti2Utente + httpLog(string.Format("Richiesta di login tramite barcode da {0}, IP {1}", Request.UserHostName, Request.UserHostAddress), tipoLog.STARTUP); + esitoLoginTerm esito = TermClass.Ter.doUserLogin(dataIn); + if (esito == esitoLoginTerm.ok) + { + // svuoto dati lista attiva e smartlist... + memLayer.ML.emptySessionVal("CodListaAttiva"); + memLayer.ML.emptySessionVal("activeTask"); + // salvo i dati di CodCS + memLayer.ML.setSessionVal("CodCS", memLayer.ML.confReadString("CodCS"), true); + // in caso operatore abbia liste attive le carico... + if (MagClass.magazzino.userHasActiveLP) + { + string codiceListaAttivo = ""; + try + { + codiceListaAttivo = MagClass.magazzino.codListaAttivaUtente; + // salvo la lista di prelievo come attiva + memLayer.ML.setSessionVal("activeTask", string.Format("Lista Prelievo {0}", codiceListaAttivo)); + memLayer.ML.setSessionVal("CodListaAttiva", codiceListaAttivo); + } + catch + { + // c'era una lista attiva, non l'ho recuperata, segno errore! + httpLog(string.Format(traduci("ErrorListDataRetrieval"), user_std.UtSn.utente), tipoLog.ERROR); + } + } + else + { + memLayer.ML.setSessionVal("activeTask", "Selezionato Operatore"); + } + // alza evento login! + if (eh_scannedUser != null) + { + eh_scannedUser(this, new EventArgs()); + } + } + else + { + // avvisa che il codice è errato + lblData.Text = string.Format("{0} {1} {2}", traduci("Single User"), txtInput.Text, traduci("NotInDb")); + txtInput.Text = ""; + } + } + /// + /// wrapper per log con salvataggio dell'IP del chiamante + /// + /// + /// + public bool httpLog(string _testoPre) + { + bool answ = false; + string postazione_IP = ""; + try + { + postazione_IP = string.Format(" | {0} | ", Request.UserHostName); + } + catch + { } + logger.lg.scriviLog(postazione_IP + _testoPre); + return answ; + } + /// + /// wrapper per log con salvataggio dell'IP del chiamante + /// + /// + /// + public bool httpLog(string testoLog, tipoLog tipo) + { + bool answ = false; + string postazione_IP = ""; + try + { + postazione_IP = string.Format(" | {0} | ", Request.UserHostName); + } + catch + { } + logger.lg.scriviLog(postazione_IP + testoLog, tipo); + return answ; + } + /// + /// effettua logout... + /// + /// + /// + protected void btnLoginPage_Click(object sender, EventArgs e) + { + TermUtils.TU.forceLogOut(); + verificaOperatoreInSessione(); + // evento reset + if (eh_resetUser != null) + { + eh_resetUser(this, new EventArgs()); + } + } + /// + /// va alla pagina dei buttons principale + /// + /// + /// + protected void btnButtonsHome_Click(object sender, EventArgs e) + { + Response.Redirect(homeBtnLink); + } + /// + /// Verifica se c'è un valore in sessione di tipo operatore + /// + protected void verificaOperatoreInSessione() + { + if (string.IsNullOrEmpty(user_std.UtSn.utente)) + { + _validUserInSession = false; + httpLog(string.Format("Errore: perso user da sessione: IP {0}, user-barcode '{1}'", Request.UserHostAddress, memLayer.ML.StringSessionObj("UserBarcode")), tipoLog.ERROR); + } + else + { + _validUserInSession = true; + } + } + + ///// + ///// metodo get set per impostare operatore + ///// + //public bool isOperatore + //{ + // set + // { + // _validUserInSession = value; + // } + // get + // { + // return _validUserInSession; + // } + //} + /// + /// testo contenuto nella textbox + /// + public string txtScansione + { + get + { + return txtInput.Text.Trim(); + } + set + { + txtInput.Text = value; + } + } + /// + /// valore della scansione barcode + /// + public string valoreScan + { + get + { + return memLayer.ML.StringSessionObj("scannedValue"); + } + set + { + memLayer.ML.setSessionVal("scannedValue", value, false); + } + } + /// + /// definisce se mostrare l'header text (Barcode input) + /// + public bool showHeaderText + { + get + { + return lblInput.Visible; + } + set + { + lblInput.Visible = value; + } + } + /// + /// definisce se mostrare testo di commento sotto barcode + /// + public bool showNoteText + { + get + { + return lblData.Visible; + } + set + { + lblData.Visible = value; + } + } + } +} \ No newline at end of file diff --git a/GMW_Term/WebUserControls/mod_barcode.ascx.designer.cs b/GMW_Term/WebUserControls/mod_barcode.ascx.designer.cs new file mode 100644 index 00000000..504de742 --- /dev/null +++ b/GMW_Term/WebUserControls/mod_barcode.ascx.designer.cs @@ -0,0 +1,70 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW_Term.WebUserControls { + + + public partial class mod_barcode { + + /// + /// lblInput control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblInput; + + /// + /// txtInput control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtInput; + + /// + /// lblData control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblData; + + /// + /// btnLoginPage control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnLoginPage; + + /// + /// btnButtonsHome control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnButtonsHome; + + /// + /// 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; + } +} diff --git a/GMW_Term/WebUserControls/mod_btnUdc.ascx b/GMW_Term/WebUserControls/mod_btnUdc.ascx new file mode 100644 index 00000000..c9be9a6c --- /dev/null +++ b/GMW_Term/WebUserControls/mod_btnUdc.ascx @@ -0,0 +1,58 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_btnUdc.ascx.cs" + Inherits="GMW_Term.WebUserControls.mod_btnUdc" %> + +
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ + + + + + + +
+ + +
+ + +
+
+ +
+
+ +
+ +
+
+ +
+
+ +
+
diff --git a/GMW_Term/WebUserControls/mod_btnUdc.ascx.cs b/GMW_Term/WebUserControls/mod_btnUdc.ascx.cs new file mode 100644 index 00000000..9fd28e03 --- /dev/null +++ b/GMW_Term/WebUserControls/mod_btnUdc.ascx.cs @@ -0,0 +1,760 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; +using GMW_data; + +namespace GMW_Term.WebUserControls +{ + public partial class mod_btnUdc : System.Web.UI.UserControl + { + #region variabili globali controllo + + /// + /// codice company/sito in sessione + /// + protected string _CodCS + { + get + { + return memLayer.ML.StringSessionObj("CodCS"); + } + } + /// + /// UDC correntemente selezionato + /// + protected string _UDC + { + get + { + return memLayer.ML.StringSessionObj("UDC_sel"); + } + set + { + memLayer.ML.setSessionVal("UDC_sel", value); + } + } + /// + /// CodLista della lsita di prelievo correntemente attiva + /// + protected string _CodLista + { + get + { + return memLayer.ML.StringSessionObj("CodListaAttiva"); + } + set + { + memLayer.ML.setSessionVal("CodListaAttiva", value); + } + } + /// + /// Particolare dell'UDC correntemente selezionato + /// + protected string _PartUdc + { + get + { + string answ = ""; + try + { + answ = MagClass.magazzino.taDettUDC.getByFullUdc(_UDC, _CodCS)[0].Particolare; + } + catch + { } + return answ; + } + } + /// + /// Indica se l'UDC correntemente selezionato sia disponibile x prelievo + /// + protected bool _UdcDisp + { + get + { + bool answ = false; + try + { + answ = (MagClass.magazzino.taRigheListePrelievo.getPrelevateByUdc(_UDC).Rows.Count == 0); + } + catch + { } + return answ; + } + } + /// + /// Indica se la cella DI DESTINAZIONE dell'azione sia da indicare come piena + /// + protected bool _cellaPiena + { + get + { + return memLayer.ML.BoolSessionObj("cellaPiena"); + } + set + { + memLayer.ML.setSessionVal("cellaPiena", value); + } + } + /// + /// Particolare della Lista di Prelievo correntemente attiva + /// + protected string _PartLdP + { + get + { + string answ = ""; + if (_CodLista != "") + { + try + { + answ = MagClass.magazzino.taElencoListePrelievo.getByCodLista(_CodLista)[0].Particolare; + } + catch + { } + } + return answ; + } + } + + /// + /// testo contenuto nella textbox + /// + public string txtScansione + { + get + { + return txtInput.Text.Trim().ToUpper(); + } + set + { + txtInput.Text = value.ToUpper(); + } + } + + /// + /// valore della scansione barcode SALVANDOLO ToUpper + /// + public string valoreScanUdc + { + get + { + return memLayer.ML.StringSessionObj("scannedValueUdc"); + } + set + { + memLayer.ML.setSessionVal("scannedValueUdc", value, false); + } + } + /// + /// tipologia di edit attivo (in session...) + /// + protected tipoEditUdc editAttivo + { + get + { + tipoEditUdc answ = tipoEditUdc.nd; + try + { + answ = (tipoEditUdc)memLayer.ML.objSessionObj("EditAttivo"); + } + catch + { } + return answ; + } + set + { + memLayer.ML.setSessionVal("EditAttivo", value, false); + } + } + + + #endregion + + #region area eventi + + public event EventHandler eh_btnPressed; + //public event EventHandler eh_reqSposta; + //public event EventHandler eh_reqDeposita; + + #endregion + + #region setup modulo + /// + /// caricamento pagina + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!Page.IsPostBack) + { + setupIniziale(); + } + txtInput.Focus(); + } + + private void setupIniziale() + { + pnlButtons.Visible = true; + pnlInput.Visible = false; + traduciObj(); + setupBtn(); + } + + /// + /// resetta panel input + /// + private void resetInputPanel() + { + pnlButtons.Visible = false; + pnlInput.Visible = true; + lblData.Text = ""; + } + /// + /// sistemo abilitazione buttons (a seconda dello stato dell'UDC) + /// + private void setupBtn() + { + bool consumato = false; + bool posizAssegn = false; + bool udcPieno = false; + DS_magazzino.v_UdcDetailRow rigaUdc; + try + { + rigaUdc = MagClass.magazzino.taDettUDC.getByFullUdc(_UDC, _CodCS)[0]; + consumato = (rigaUdc.IdxPosizione < 0); + } + catch + { } + try + { + rigaUdc = MagClass.magazzino.taDettUDC.getByFullUdc(_UDC, _CodCS)[0]; + posizAssegn = (rigaUdc.CodCella.Length > 4); + } + catch + { } + try + { + rigaUdc = MagClass.magazzino.taDettUDC.getByFullUdc(_UDC, _CodCS)[0]; + udcPieno = (rigaUdc.Particolare != ""); + } + catch + { } + // abilito rettifica, deposita e sposta SOLO SE contiene dei particolari E NON E' STATO CONSUMATO... + if (udcPieno && !consumato) + { + // in base a che sia in una posizione magazzino o meno scelgo che buttons abilitare + if (posizAssegn) + { + btnDeposita.Visible = false; + btnSposta.Visible = true; + } + else + { + btnDeposita.Visible = true; + btnSposta.Visible = false; + } + btnRettifica.Visible = true; + } + else + { + btnDeposita.Visible = false; + btnSposta.Visible = false; + btnRettifica.Visible = false; + } + // button preleva abilitato SOLO SE NON CONSUMATO E SE c'è una lista di prelievo attiva per l'utente e per il particolare corrente... + // e se l'UDC non è stato prelevato... + if (_CodLista != "" && (_PartLdP == _PartUdc) && _UdcDisp && !consumato) + { + btnPreleva.Visible = true; + } + else + { + btnPreleva.Visible = false; + } + // controllo se il riattiva sia possibile, ovvero se è in un mag con riattiva enabled... + if (MagClass.magazzino.udcIsRiattivabile(_UDC)) + { + btnRiattiva.Visible = true; + } + else + { + btnRiattiva.Visible = false; + } + // setup ulteriori pulsanti + setupBtnDelibere(); + setupBtnChiudi(); + } + /// + /// sistemo btn x delibere + /// + private void setupBtnDelibere() + { + bool consumato = false; + DS_magazzino.v_UdcDetailRow rigaUdc; + try + { + rigaUdc = MagClass.magazzino.taDettUDC.getByFullUdc(_UDC, _CodCS)[0]; + consumato = (rigaUdc.IdxPosizione < 0); + } + catch + { } + string codTipoDelibera = ""; + try + { + rigaUdc = MagClass.magazzino.taDettUDC.getByFullUdc(_UDC, _CodCS)[0]; + codTipoDelibera = MagClass.magazzino.taPosizDelib.getByIdxPosizione(rigaUdc.IdxPosizione)[0].CodTipoDelibera; + } + catch + { } + // controllo NON sia in OVAS + bool isInOvas = false; + try + { + isInOvas = (MagClass.magazzino.taPosUdcCorr.getByUdcCodMag(_UDC, "OVAS").Rows.Count > 0); + } + catch + { } + // se NON CONSUMATO, la posizione prevede una delibera e NON E' in OVAS mostro il relativo pulsante... + if (!consumato && codTipoDelibera != "" && !isInOvas) + { + switch (codTipoDelibera) //!!!OCCHIO HARD CODED!!! + { + case "DelibFusi": + btnDeliberaFusi.Visible = true; + btnDeliberaWipPre.Visible = false; + btnDeliberaWipPost.Visible = false; + break; + case "DelibWipPost": + btnDeliberaFusi.Visible = false; + btnDeliberaWipPre.Visible = false; + btnDeliberaWipPost.Visible = true; + break; + case "DelibWipPre": + btnDeliberaFusi.Visible = false; + btnDeliberaWipPre.Visible = true; + btnDeliberaWipPost.Visible = false; + break; + default: + btnDeliberaFusi.Visible = false; + btnDeliberaWipPre.Visible = false; + btnDeliberaWipPost.Visible = false; + break; + } + } + else + { + btnDeliberaFusi.Visible = false; + btnDeliberaWipPre.Visible = false; + btnDeliberaWipPost.Visible = false; + } + } + /// + /// sistemo btn x chiusura + /// + private void setupBtnChiudi() + { + // mostro chiudi generale o chiudi del modulo a seconda dello stato + switch (editAttivo) + { + case tipoEditUdc.deposito: + btnBarcode.Visible = true; + btnChiudiInput.Visible = true; + btnChiudi.Visible = false; + btnConferma.Visible = true; + btnCellaPiena.Visible = false; + break; + case tipoEditUdc.prelievo: + btnBarcode.Visible = true; + btnChiudiInput.Visible = true; + btnChiudi.Visible = false; + btnConferma.Visible = false; + btnCellaPiena.Visible = false; + break; + case tipoEditUdc.rettifica: + btnBarcode.Visible = true; + btnChiudiInput.Visible = true; + btnChiudi.Visible = false; + btnConferma.Visible = false; + btnCellaPiena.Visible = false; + break; + case tipoEditUdc.spostamento: + btnBarcode.Visible = true; + btnChiudiInput.Visible = true; + btnChiudi.Visible = false; + btnConferma.Visible = true; + btnCellaPiena.Visible = false; + break; + default: + btnBarcode.Visible = true; + btnChiudiInput.Visible = false; + btnChiudi.Visible = true; + btnConferma.Visible = false; + btnCellaPiena.Visible = false; + break; + } + } + /// + /// sistemazione buttons + /// + private void traduciObj() + { + // buttons primari + btnDeposita.Text = traduci("Store") + "\n[Alt+4]"; + btnDeposita.AccessKey = "4"; + btnSposta.Text = traduci("Move") + "\n[Alt+5]"; + btnSposta.AccessKey = "5"; + btnRettifica.Text = traduci("Correct") + "\n[Alt+6]"; + btnRettifica.AccessKey = "6"; + btnPreleva.Text = traduci("Take") + "\n[Alt+7]"; + btnPreleva.AccessKey = "7"; + btnChiudi.Text = "Home" + "\n[Alt+9]"; + btnChiudi.AccessKey = "9"; + btnChiudiInput.Text = traduci("Close") + "\n[Alt+0]"; + btnChiudiInput.AccessKey = "0"; + btnBarcode.Text = "Barcode" + "\n[Alt+1]"; + btnBarcode.AccessKey = "1"; + // buttons delibera + btnDeliberaFusi.Text = traduci("deliberaFusi") + "\n[Alt+3]"; + btnDeliberaFusi.AccessKey = "3"; + btnDeliberaWipPre.Text = traduci("deliberaTerzPre") + "\n[Alt+3]"; + btnDeliberaWipPre.AccessKey = "3"; + btnDeliberaWipPost.Text = traduci("deliberaTerzPost") + "\n[Alt+3]"; + btnDeliberaWipPost.AccessKey = "3"; + // buttons secondari + btnConferma.Text = "OK" + "\n[Alt+2]"; + btnConferma.AccessKey = "2"; + btnCellaPiena.Text = traduci("OkFull") + "\n[Alt+4]"; + btnCellaPiena.AccessKey = "4"; + // gestione riattivazione + btnRiattiva.Text = traduci("RiattivaUdc") + "\n[Alt+8]"; + btnRiattiva.AccessKey = "8"; + } + /// + /// wrapper traduzione termini + /// + /// + /// + public string traduci(string lemma) + { + return user_std.UtSn.Traduci(lemma); + } + /// + /// effettua reset del controllo + /// + /// + public void doReset() + { + // svuoto dati temporanei + valoreScanUdc = ""; + txtScansione = ""; + editAttivo = tipoEditUdc.nd; + // sistema visibilità + pnlButtons.Visible = true; + pnlInput.Visible = false; + // sistemo buttons + setupBtn(); + } + /// + /// nasconde buttons standard e mostra area "chiudi" + /// + public void doHideBtn() + { + // nascondo i bottoni... + pnlButtons.Visible = false; + setupBtnChiudi(); + } + /// + /// resetta panel buttons + /// + public void doResetPnl() + { + // nasconde/mostra panels + resetInputPanel(); + setupBtnChiudi(); + } + + #endregion + + #region gestione input barcode + + /// + /// inserito testo nella TextBox + /// + /// + /// + protected void txtInput_TextChanged(object sender, EventArgs e) + { + // salvo in sessione la scansione attuale... + valoreScanUdc = txtScansione; + // verifica l'input immesso + tipoCodiceBarcode answ = TermClass.Ter.riconosciBarcode(txtScansione); + switch (editAttivo) + { + case tipoEditUdc.nd: + break; + case tipoEditUdc.deposito: + verificaInputFaseDepositaSposta(answ); + break; + case tipoEditUdc.prelievo: + break; + case tipoEditUdc.rettifica: + break; + case tipoEditUdc.spostamento: + verificaInputFaseDepositaSposta(answ); + break; + default: + break; + } + + } + /// + /// effettua le verifiche dell'input e di conseguenza esegue task quando si è in fase di deposito in cella + /// + /// + private void verificaInputFaseDepositaSposta(tipoCodiceBarcode answ) + { + switch (answ) + { + case tipoCodiceBarcode.Cella: + lblData.Text = txtScansione; + txtScansione = ""; + setupConferma_confPiena(); + break; + + default: + lblData.Text = traduci("CodeNotRecognized") + ": " + valoreScanUdc; + txtInput.Text = ""; + txtInput.Focus(); + break; + } + } + /// + /// sistema visibilità buttons conferma e conferma piena... + /// + private void setupConferma_confPiena() + { + // mostro btnConferma + btnConferma.Visible = true; + // metto focus + btnConferma.Focus(); + // controllo se la cella sia "papabile" per indicazione "piena" + bool alertCapa = false; + bool cellaPiena = false; + try + { + DS_magazzino.V_statoCelleCapienzaAssegnatiRow rigaStato = MagClass.magazzino.taStatoCelle.getByCodCella(valoreScanUdc)[0]; + alertCapa = ((rigaStato.Capienza - rigaStato.UdcAssegnati) <= 1); + cellaPiena = MagClass.magazzino.cellaPiena(_CodCS, MagClass.magazzino.IdxCellaByCodCella(_CodCS, valoreScanUdc)); + } + catch + { } + if (alertCapa && !(cellaPiena)) + { + btnCellaPiena.Visible = true; + btnCellaPiena.Focus(); + } + else + { + btnCellaPiena.Visible = false; + } + } + + #endregion + + #region area buttons + + /// + /// ritorna alla home + /// + /// + /// + protected void btnChiudi_Click(object sender, EventArgs e) + { + // svuoto da session l'UDC corrente... e pure il barcode corrente... + memLayer.ML.emptySessionVal("scannedValue"); + _UDC = ""; + memLayer.ML.emptySessionVal("activeTask"); + Response.Redirect("Home.aspx"); + } + /// + /// ritorna alla home + /// + /// + /// + protected void btnChiudiInput_Click(object sender, EventArgs e) + { + // svuoto da session l'UDC corrente... e pure il barcode corrente... + memLayer.ML.emptySessionVal("scannedValue"); + editAttivo = tipoEditUdc.nd; + Response.Redirect("UDC.aspx"); + } + /// + /// richiesta rettifica dati UDC: qta + /// + /// + /// + protected void btnRettifica_Click(object sender, EventArgs e) + { + + editAttivo = tipoEditUdc.rettifica; + doHideBtn(); + if (eh_btnPressed != null) + { + eh_btnPressed(this, new EventArgs()); + } + } + /// + /// click button deposito + /// + /// + /// + protected void btnDeposita_Click(object sender, EventArgs e) + { + editAttivo = tipoEditUdc.deposito; + doResetPnl(); + //if (eh_btnPressed != null) + //{ + // eh_btnPressed(this, new EventArgs()); + //} + } + /// + /// click button DELIBERA FUSI + /// + /// + /// + protected void btnDeliberaFusi_Click(object sender, EventArgs e) + { + editAttivo = tipoEditUdc.deliberaFusi; + doResetPnl(); + if (eh_btnPressed != null) + { + eh_btnPressed(this, new EventArgs()); + } + } + /// + /// click button DELIBERA WIP pre spedizione + /// + /// + /// + protected void btnDeliberaWipPre_Click(object sender, EventArgs e) + { + editAttivo = tipoEditUdc.deliberaWipPre; + doResetPnl(); + if (eh_btnPressed != null) + { + eh_btnPressed(this, new EventArgs()); + } + } + /// + /// click button DELIBERA WIP post spedizione + /// + /// + /// + protected void btnDeliberaWipPost_Click(object sender, EventArgs e) + { + editAttivo = tipoEditUdc.deliberaWipPost; + doResetPnl(); + if (eh_btnPressed != null) + { + eh_btnPressed(this, new EventArgs()); + } + } + /// + /// richiesta di spostamento di un UDC: mostro input x nuova posizione! + /// + /// + /// + protected void btnSposta_Click(object sender, EventArgs e) + { + editAttivo = tipoEditUdc.spostamento; + doResetPnl(); + //if (eh_btnPressed != null) + //{ + // eh_btnPressed(this, new EventArgs()); + //} + } + + /// + /// richiesto caricamento UDC + /// + /// + /// + protected void btnConferma_Click(object sender, EventArgs e) + { + _cellaPiena = false; + callAzioneCella(); + } + /// + /// richiesto caricamento UDC e set a piena della cella + /// + /// + /// + protected void btnCellaPiena_Click(object sender, EventArgs e) + { + _cellaPiena = true; + callAzioneCella(); + } + /// + /// fa una chiamata sulla celal a seconda del tipo di edit attivo + /// + private void callAzioneCella() + { + switch (editAttivo) + { + case tipoEditUdc.deposito: + if (eh_btnPressed != null) + { + eh_btnPressed(this, new EventArgs()); + } + break; + case tipoEditUdc.spostamento: + if (eh_btnPressed != null) + { + eh_btnPressed(this, new EventArgs()); + } + break; + default: + break; + } + } + /// + /// associa l'UDC corrente alla lsita di prelievo attualmente in essere... + /// + /// + /// + protected void btnPreleva_Click(object sender, EventArgs e) + { + MagClass.magazzino.confermaUdcPrelevatoPerLista(_CodLista, _UDC); + editAttivo = tipoEditUdc.nd; + // fix visualizzazione + setupIniziale(); + } + /// + /// riattiva l'UDC corrente (-84 --> 84)... + /// + /// + /// + protected void btnRiattiva_Click(object sender, EventArgs e) + { + // chiamo la procedura di riattivazione x l'UDC + MagClass.magazzino.riattivaUdc(_UDC, MagClass.magazzino.CodSoggCurrUser, Request.UserHostName); + } + /// + /// passa al barcode! + /// + /// + /// + protected void btnBarcode_Click(object sender, EventArgs e) + { + Response.Redirect("~/Barcode.aspx"); + } + + #endregion + + } +} \ No newline at end of file diff --git a/GMW_Term/WebUserControls/mod_btnUdc.ascx.designer.cs b/GMW_Term/WebUserControls/mod_btnUdc.ascx.designer.cs new file mode 100644 index 00000000..2b201f6c --- /dev/null +++ b/GMW_Term/WebUserControls/mod_btnUdc.ascx.designer.cs @@ -0,0 +1,178 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW_Term.WebUserControls { + + + public partial class mod_btnUdc { + + /// + /// pnlButtons control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlButtons; + + /// + /// btnDeposita control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnDeposita; + + /// + /// btnSposta control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnSposta; + + /// + /// btnDeliberaFusi control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnDeliberaFusi; + + /// + /// btnDeliberaWipPre control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnDeliberaWipPre; + + /// + /// btnDeliberaWipPost control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnDeliberaWipPost; + + /// + /// btnRettifica control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnRettifica; + + /// + /// btnPreleva control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnPreleva; + + /// + /// btnRiattiva control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnRiattiva; + + /// + /// pnlInput control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlInput; + + /// + /// btnConferma control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnConferma; + + /// + /// txtInput control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtInput; + + /// + /// lblData control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblData; + + /// + /// btnCellaPiena control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnCellaPiena; + + /// + /// pnlChiudi control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlChiudi; + + /// + /// btnBarcode control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnBarcode; + + /// + /// btnChiudi control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnChiudi; + + /// + /// btnChiudiInput control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnChiudiInput; + } +} diff --git a/GMW_Term/WebUserControls/mod_currentTask.ascx b/GMW_Term/WebUserControls/mod_currentTask.ascx new file mode 100644 index 00000000..9acb6c23 --- /dev/null +++ b/GMW_Term/WebUserControls/mod_currentTask.ascx @@ -0,0 +1,11 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_currentTask.ascx.cs" + Inherits="GMW_Term.WebUserControls.mod_currentTask" %> +<%-- +--%>
+
+ +
+
+ +
+
diff --git a/GMW_Term/WebUserControls/mod_currentTask.ascx.cs b/GMW_Term/WebUserControls/mod_currentTask.ascx.cs new file mode 100644 index 00000000..ce8c3d5e --- /dev/null +++ b/GMW_Term/WebUserControls/mod_currentTask.ascx.cs @@ -0,0 +1,53 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +namespace GMW_Term.WebUserControls +{ + public partial class mod_currentTask : System.Web.UI.UserControl + { + + /// + /// wrapper traduzione termini + /// + /// + /// + public string traduci(string lemma) + { + return user_std.UtSn.Traduci(lemma); + } + + protected void Page_Load(object sender, EventArgs e) + { + string task = memLayer.ML.StringSessionObj("activeTask"); + if (task == "") + { + task = "..." + traduci("waiting") + "..."; + } + lblTask.Text = task; + // fix del timer + setTimer(); + setClock(); + } + /// + /// 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_Term/WebUserControls/mod_currentTask.ascx.designer.cs b/GMW_Term/WebUserControls/mod_currentTask.ascx.designer.cs new file mode 100644 index 00000000..d64d06e6 --- /dev/null +++ b/GMW_Term/WebUserControls/mod_currentTask.ascx.designer.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW_Term.WebUserControls { + + + public partial class mod_currentTask { + + /// + /// lblTask control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblTask; + + /// + /// 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; + } +} diff --git a/GMW_Term/WebUserControls/mod_execCella.ascx b/GMW_Term/WebUserControls/mod_execCella.ascx new file mode 100644 index 00000000..cf5aaef7 --- /dev/null +++ b/GMW_Term/WebUserControls/mod_execCella.ascx @@ -0,0 +1,69 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_execCella.ascx.cs" + Inherits="GMW_Term.WebUserControls.mod_execCella" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> +
+
+
+
+ + +
+
+ + + + + + + + + + + + + + <%-- + + + + --%> + + + + + +
+ +
+
+
+ + + + +  -  + +
+ - + +
+
+
+
+
+    + + + + + + +
+
diff --git a/GMW_Term/WebUserControls/mod_execCella.ascx.cs b/GMW_Term/WebUserControls/mod_execCella.ascx.cs new file mode 100644 index 00000000..bfadd39a --- /dev/null +++ b/GMW_Term/WebUserControls/mod_execCella.ascx.cs @@ -0,0 +1,360 @@ +using System; +using System.Data; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; +using GMW_data; + +namespace GMW_Term.WebUserControls +{ + public partial class mod_execCella : System.Web.UI.UserControl + { + #region area da NON modificare + + #region area protected + + protected string _idxGridView; + protected string _idxGridViewExt; + protected string _tabCache; + protected bool _showNewBtn = false; + + /// + /// wrapper traduzione termini + /// + /// + /// + public string traduci(string lemma) + { + return user_std.UtSn.Traduci(lemma); + } + + /// + /// recupera i dati di un nuovo record contenuti nel footer di un gridView; + /// questi devono esses opportunamente nominati (es: txt{0}, dl{0}, ...) + /// + /// + /// + protected void recuperaFooter(object sender, ObjectDataSourceMethodEventArgs e) + { + //recupero la riga footer... + DataColumnCollection colonne = colonneObj(); + string nomeCol; + string tipoColonna = ""; + foreach (DataColumn colonna in colonne) + { + nomeCol = colonna.ColumnName; + // cerco un textbox o quello che sia... + if (grView.FooterRow.FindControl(string.Format("txt{0}", nomeCol)) != null) + { + tipoColonna = "textBox"; + } + else if (grView.FooterRow.FindControl(string.Format("dl{0}", nomeCol)) != null) + { + tipoColonna = "dropDownList"; + } + else if (grView.FooterRow.FindControl(string.Format("chk{0}", nomeCol)) != null) + { + tipoColonna = "checkBox"; + } + else if (grView.FooterRow.FindControl(string.Format("selAjax_{0}", nomeCol)) != null) + { + tipoColonna = "selAjax"; + } + // in base al tipo salvo negli inputparameters dell'ODS + switch (tipoColonna) + { + case "textBox": + e.InputParameters[nomeCol] = ((TextBox)grView.FooterRow.FindControl(string.Format("txt{0}", nomeCol))).Text.Trim(); + break; + case "dropDownList": + e.InputParameters[nomeCol] = ((DropDownList)grView.FooterRow.FindControl(string.Format("dl{0}", nomeCol))).SelectedValue; + break; + case "checkBox": + e.InputParameters[nomeCol] = ((CheckBox)grView.FooterRow.FindControl(string.Format("chk{0}", nomeCol))).Checked; + break; + default: + break; + } + tipoColonna = ""; + } + } + /// + /// inserisce nuovo valore da footer + /// + /// + /// + protected void lblIns_click(object sender, EventArgs e) + { + // click su inserimento, chiamo il metodo insert dell'ObjectDataSource + ods.Insert(); + SteamWare.memLayer.ML.emptyCacheVal(_tabCache); + } + /// + /// annulla inserimento nuovo valore da footer + /// + /// + /// + protected void lblCanc_click(object sender, EventArgs e) + { + // annullo inserimento: nascondo footer, bind controlli... + grView.FooterRow.Visible = false; + } + + + /// + /// traduce gli header delle colonne + /// + /// + /// + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); + lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); + } + else + { + lblNumRec.Text = ""; + } + } + /// + /// gestione evento richeista nuovo valore (mostra footer, ...) + /// + /// + /// + protected void btnNew_Click(object sender, EventArgs e) + { + // reset selezione... + resetSelezione(); + // mostro il footer oppure la riga dei dettagli x nuovo... + if (grView.FooterRow != null) + { + grView.FooterRow.Visible = true; + } + // sollevo evento nuovo valore... + if (eh_nuovoValore != null) + { + eh_nuovoValore(this, new EventArgs()); + } + } + /// + /// reset della selezione + /// + /// + /// + protected void btnReset_Click(object sender, EventArgs e) + { + resetSelezione(); + } + + #endregion + + #region gestione eventi + + //public event EventHandler eh_resetSelezione; + public event EventHandler eh_nuovoValore; + //public event EventHandler eh_selValore; + + #endregion + + #region public + + /// + /// definisce visibilità btnNew + /// + public bool showNewBtn + { + get + { + return _showNewBtn; + } + set + { + _showNewBtn = value; + } + } + /// + /// effettua update del modulo + /// + public void doUpdate() + { + resetSelezione(); + } + + #endregion + + #endregion + + /// + /// metodi al caricamento della pagina + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + // scrive label e text bottoni + btnLoginPage.Text = "[7]-LogOut"; + btnLoginPage.AccessKey = "7"; + btnButtonsHome.Text = "[9]-Home"; + btnButtonsHome.AccessKey = "9"; + } + + /// + /// effettua logout... + /// + /// + /// + protected void btnLoginPage_Click(object sender, EventArgs e) + { + TermUtils.TU.forceLogOut(); + Response.Redirect("~/Barcode.aspx"); + } + /// + /// va alla pagina dei buttons principale + /// + /// + /// + protected void btnButtonsHome_Click(object sender, EventArgs e) + { + Response.Redirect("~/Home.aspx"); + } + + /// + /// elenco colonne del datagrid + /// + /// + protected DataColumnCollection colonneObj() + { + DS_magazzino.V_DettMagPartDataTable tabella = new DS_magazzino.V_DettMagPartDataTable(); + DataColumnCollection colonne = tabella.Columns; + return colonne; + } + /// + /// inizializzazione valori di default + /// + /// + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + _idxGridView = "TipoSearch"; + + aggiornaControlliDataGL(); + } + /// + /// aggiorna controlli datagrid e numero righe in pagina + /// + protected void aggiornaControlliDataGL() + { + grView.PageSize = 6; + } + + /// + /// gestione cambio selezione valore + /// + /// + /// + protected void grView_SelectedIndexChanged(object sender, EventArgs e) + { + } + /// + /// resetta la selezione dei valori in caso di modifiche su altri controlli + /// + public void resetSelezione() + { + SteamWare.memLayer.ML.emptySessionVal(string.Format("{0}_sel", _idxGridView)); + grView.SelectedIndex = -1; + grView.DataBind(); + lblWarning.Visible = false; + } + + /// + /// salvo in session che il prox comando è iniziare lista prelievo... + /// + /// + /// + protected void imgAzioneLista_Click(object sender, ImageClickEventArgs e) + { + ImageButton imgb = (ImageButton)sender; + SteamWare.memLayer.ML.setSessionVal("nextObjCommand", imgb.CommandArgument); + } + /// + /// in caso di aggiornamento verifico se sia salvato un comando inizia o completa lista prelievo... + /// + /// + /// + protected void grView_RowUpdating(object sender, GridViewUpdateEventArgs e) + { + //// carico l'idx dell'oggetto + //string tipo = e.Keys["tipo"].ToString(); + //string valore = e.Keys["valore"].ToString(); + //// quale comando? + //string _comando = ""; + //if (SteamWare.memLayer.ML.isInSessionObject("nextObjCommand")) + //{ + // _comando = SteamWare.memLayer.ML.StringSessionObj("nextObjCommand"); + // SteamWare.memLayer.ML.emptySessionVal("nextObjCommand"); + //} + //string CodSoggetto = MagClass.magazzino.CodSoggCurrUser; + //switch (_comando) + //{ + // case "UDC": + // // salvo in sessione + // memLayer.ML.setSessionVal("UDC_sel", valore); + // // blocco update! + // e.Cancel = true; + // // faccio redirect + // Response.Redirect("~/UDC.aspx"); + // break; + // case "Particolare": + // // salvo in sessione + // memLayer.ML.setSessionVal("Particolare_sel", valore); + // // blocco update! + // e.Cancel = true; + // // faccio redirect + // Response.Redirect("~/Particolare.aspx"); + // break; + // case "Cella": + // // salvo in sessione + // memLayer.ML.setSessionVal("IdxCella_sel", valore); + // // blocco update! + // e.Cancel = true; + // // faccio redirect + // Response.Redirect("~/Cella.aspx"); + // break; + // default: + // // faccio update! + // break; + //} + } + + /// + /// ssitema visualizzazione dal filtraggi + /// + private void checkFixOds() + { + // chiamo procedura che aggiorna ods principale + grView.SelectedIndex = -1; + updateOds(); + } + /// + /// aggiorno il gridview + /// + protected void updateOds() + { + grView.DataBind(); + } + } +} \ No newline at end of file diff --git a/GMW_Term/WebUserControls/mod_execCella.ascx.designer.cs b/GMW_Term/WebUserControls/mod_execCella.ascx.designer.cs new file mode 100644 index 00000000..82d678a8 --- /dev/null +++ b/GMW_Term/WebUserControls/mod_execCella.ascx.designer.cs @@ -0,0 +1,79 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW_Term.WebUserControls { + + + public partial class mod_execCella { + + /// + /// lblTitle control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblTitle; + + /// + /// btnLoginPage control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnLoginPage; + + /// + /// btnButtonsHome control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnButtonsHome; + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// lblNumRec control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumRec; + + /// + /// lblWarning control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblWarning; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; + } +} diff --git a/GMW_Term/WebUserControls/mod_execParticolare.ascx b/GMW_Term/WebUserControls/mod_execParticolare.ascx new file mode 100644 index 00000000..7857364e --- /dev/null +++ b/GMW_Term/WebUserControls/mod_execParticolare.ascx @@ -0,0 +1,73 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_execParticolare.ascx.cs" + Inherits="GMW_Term.WebUserControls.mod_execParticolare" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> +
+
+
+
+ + +
+
+ + + + + + + + + + + + + + <%-- + + + + --%> + + + + +
+ +
+
+
+ + + + - + + +
+ UDC: + - + + pz. +
+
+
+
+
+    + + + + + + + +
+
diff --git a/GMW_Term/WebUserControls/mod_execParticolare.ascx.cs b/GMW_Term/WebUserControls/mod_execParticolare.ascx.cs new file mode 100644 index 00000000..092d8ac0 --- /dev/null +++ b/GMW_Term/WebUserControls/mod_execParticolare.ascx.cs @@ -0,0 +1,361 @@ +using System; +using System.Data; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; +using GMW_data; + +namespace GMW_Term.WebUserControls +{ + public partial class mod_execParticolare : System.Web.UI.UserControl + { + #region area da NON modificare + + #region area protected + + protected string _idxGridView; + protected string _idxGridViewExt; + protected string _tabCache; + protected bool _showNewBtn = false; + + /// + /// wrapper traduzione termini + /// + /// + /// + public string traduci(string lemma) + { + return user_std.UtSn.Traduci(lemma); + } + + /// + /// recupera i dati di un nuovo record contenuti nel footer di un gridView; + /// questi devono esses opportunamente nominati (es: txt{0}, dl{0}, ...) + /// + /// + /// + protected void recuperaFooter(object sender, ObjectDataSourceMethodEventArgs e) + { + //recupero la riga footer... + DataColumnCollection colonne = colonneObj(); + string nomeCol; + string tipoColonna = ""; + foreach (DataColumn colonna in colonne) + { + nomeCol = colonna.ColumnName; + // cerco un textbox o quello che sia... + if (grView.FooterRow.FindControl(string.Format("txt{0}", nomeCol)) != null) + { + tipoColonna = "textBox"; + } + else if (grView.FooterRow.FindControl(string.Format("dl{0}", nomeCol)) != null) + { + tipoColonna = "dropDownList"; + } + else if (grView.FooterRow.FindControl(string.Format("chk{0}", nomeCol)) != null) + { + tipoColonna = "checkBox"; + } + else if (grView.FooterRow.FindControl(string.Format("selAjax_{0}", nomeCol)) != null) + { + tipoColonna = "selAjax"; + } + // in base al tipo salvo negli inputparameters dell'ODS + switch (tipoColonna) + { + case "textBox": + e.InputParameters[nomeCol] = ((TextBox)grView.FooterRow.FindControl(string.Format("txt{0}", nomeCol))).Text.Trim(); + break; + case "dropDownList": + e.InputParameters[nomeCol] = ((DropDownList)grView.FooterRow.FindControl(string.Format("dl{0}", nomeCol))).SelectedValue; + break; + case "checkBox": + e.InputParameters[nomeCol] = ((CheckBox)grView.FooterRow.FindControl(string.Format("chk{0}", nomeCol))).Checked; + break; + default: + break; + } + tipoColonna = ""; + } + } + /// + /// inserisce nuovo valore da footer + /// + /// + /// + protected void lblIns_click(object sender, EventArgs e) + { + // click su inserimento, chiamo il metodo insert dell'ObjectDataSource + ods.Insert(); + SteamWare.memLayer.ML.emptyCacheVal(_tabCache); + } + /// + /// annulla inserimento nuovo valore da footer + /// + /// + /// + protected void lblCanc_click(object sender, EventArgs e) + { + // annullo inserimento: nascondo footer, bind controlli... + grView.FooterRow.Visible = false; + } + + + /// + /// traduce gli header delle colonne + /// + /// + /// + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); + lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); + } + else + { + lblNumRec.Text = ""; + } + } + /// + /// gestione evento richeista nuovo valore (mostra footer, ...) + /// + /// + /// + protected void btnNew_Click(object sender, EventArgs e) + { + // reset selezione... + resetSelezione(); + // mostro il footer oppure la riga dei dettagli x nuovo... + if (grView.FooterRow != null) + { + grView.FooterRow.Visible = true; + } + // sollevo evento nuovo valore... + if (eh_nuovoValore != null) + { + eh_nuovoValore(this, new EventArgs()); + } + } + /// + /// reset della selezione + /// + /// + /// + protected void btnReset_Click(object sender, EventArgs e) + { + resetSelezione(); + } + + #endregion + + #region gestione eventi + + //public event EventHandler eh_resetSelezione; + public event EventHandler eh_nuovoValore; + //public event EventHandler eh_selValore; + + #endregion + + #region public + + /// + /// definisce visibilità btnNew + /// + public bool showNewBtn + { + get + { + return _showNewBtn; + } + set + { + _showNewBtn = value; + } + } + /// + /// effettua update del modulo + /// + public void doUpdate() + { + resetSelezione(); + } + + #endregion + + #endregion + + /// + /// metodi al caricamento della pagina + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + // scrive label e text bottoni + btnLoginPage.Text = "[7]-LogOut"; + btnLoginPage.AccessKey = "7"; + btnButtonsHome.Text = "[9]-Home"; + btnButtonsHome.AccessKey = "9"; + } + + /// + /// effettua logout... + /// + /// + /// + protected void btnLoginPage_Click(object sender, EventArgs e) + { + TermUtils.TU.forceLogOut(); + Response.Redirect("~/Barcode.aspx"); + } + /// + /// va alla pagina dei buttons principale + /// + /// + /// + protected void btnButtonsHome_Click(object sender, EventArgs e) + { + Response.Redirect("~/Home.aspx"); + } + + /// + /// elenco colonne del datagrid + /// + /// + protected DataColumnCollection colonneObj() + { + DS_magazzino.V_DettMagPartDataTable tabella = new DS_magazzino.V_DettMagPartDataTable(); + DataColumnCollection colonne = tabella.Columns; + return colonne; + } + /// + /// inizializzazione valori di default + /// + /// + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + _idxGridView = "TipoSearch"; + + aggiornaControlliDataGL(); + } + /// + /// aggiorna controlli datagrid e numero righe in pagina + /// + protected void aggiornaControlliDataGL() + { + grView.PageSize = 6; + } + + /// + /// gestione cambio selezione valore + /// + /// + /// + protected void grView_SelectedIndexChanged(object sender, EventArgs e) + { + } + /// + /// resetta la selezione dei valori in caso di modifiche su altri controlli + /// + public void resetSelezione() + { + SteamWare.memLayer.ML.emptySessionVal(string.Format("{0}_sel", _idxGridView)); + grView.SelectedIndex = -1; + grView.DataBind(); + lblWarning.Visible = false; + } + + /// + /// salvo in session che il prox comando è iniziare lista prelievo... + /// + /// + /// + protected void imgAzioneLista_Click(object sender, ImageClickEventArgs e) + { + ImageButton imgb = (ImageButton)sender; + SteamWare.memLayer.ML.setSessionVal("nextObjCommand", imgb.CommandArgument); + } + /// + /// in caso di aggiornamento verifico se sia salvato un comando inizia o completa lista prelievo... + /// + /// + /// + protected void grView_RowUpdating(object sender, GridViewUpdateEventArgs e) + { + //// carico l'idx dell'oggetto + //string tipo = e.Keys["tipo"].ToString(); + //string valore = e.Keys["valore"].ToString(); + //// quale comando? + //string _comando = ""; + //if (SteamWare.memLayer.ML.isInSessionObject("nextObjCommand")) + //{ + // _comando = SteamWare.memLayer.ML.StringSessionObj("nextObjCommand"); + // SteamWare.memLayer.ML.emptySessionVal("nextObjCommand"); + //} + //string CodSoggetto = MagClass.magazzino.CodSoggCurrUser; + //switch (_comando) + //{ + // case "UDC": + // // salvo in sessione + // memLayer.ML.setSessionVal("UDC_sel", valore); + // // blocco update! + // e.Cancel = true; + // // faccio redirect + // Response.Redirect("~/UDC.aspx"); + // break; + // case "Particolare": + // // salvo in sessione + // memLayer.ML.setSessionVal("Particolare_sel", valore); + // // blocco update! + // e.Cancel = true; + // // faccio redirect + // Response.Redirect("~/Particolare.aspx"); + // break; + // case "Cella": + // // salvo in sessione + // memLayer.ML.setSessionVal("IdxCella_sel", valore); + // // blocco update! + // e.Cancel = true; + // // faccio redirect + // Response.Redirect("~/Cella.aspx"); + // break; + // default: + // // faccio update! + // break; + //} + } + + /// + /// ssitema visualizzazione dal filtraggi + /// + private void checkFixOds() + { + // chiamo procedura che aggiorna ods principale + grView.SelectedIndex = -1; + updateOds(); + } + /// + /// aggiorno il gridview + /// + protected void updateOds() + { + grView.DataBind(); + } + + } +} \ No newline at end of file diff --git a/GMW_Term/WebUserControls/mod_execParticolare.ascx.designer.cs b/GMW_Term/WebUserControls/mod_execParticolare.ascx.designer.cs new file mode 100644 index 00000000..750c4cda --- /dev/null +++ b/GMW_Term/WebUserControls/mod_execParticolare.ascx.designer.cs @@ -0,0 +1,79 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW_Term.WebUserControls { + + + public partial class mod_execParticolare { + + /// + /// lblTitle control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblTitle; + + /// + /// btnLoginPage control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnLoginPage; + + /// + /// btnButtonsHome control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnButtonsHome; + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// lblNumRec control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumRec; + + /// + /// lblWarning control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblWarning; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; + } +} diff --git a/GMW_Term/WebUserControls/mod_execUdc.ascx b/GMW_Term/WebUserControls/mod_execUdc.ascx new file mode 100644 index 00000000..f85ff2ef --- /dev/null +++ b/GMW_Term/WebUserControls/mod_execUdc.ascx @@ -0,0 +1,244 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_execUdc.ascx.cs" + Inherits="GMW_Term.WebUserControls.mod_execUdc" %> +<%@ Register Src="mod_btnUdc.ascx" TagName="mod_btnUdc" TagPrefix="uc1" %> +
+ + +
+
+
+ UDC: +
+
+ + +
+
+
+
+ Particolare: +
+
+ + +
+
+
+ + +
+
+
+ DisegnoGrezzo: +
+
+ + +
+
+
+
+ Esponente: +
+
+ + +
+
+
+
+ +
+
+ Qta: +
+
+
+
+
+ CodMag: +
+
+ + +
+
+
+
+ + + +
+
+ CodBlocco: +
+
+
+
+
+ CodCella: +
+
+ + +
+
+
+
+
+ X: +
+
+ + +
+
+ Y: +
+
+ + +
+
+ Z: +
+
+ + +
+
+
+
+
+
+ +
+
+ +
+
+
+ +
+
+
+ UDC: +
+
+ + +
+
+
+
+ Particolare: +
+
+ + +
+
+
+ + +
+
+
+ DisegnoGrezzo: +
+
+ + +
+
+
+
+ Esponente: +
+
+ + +
+
+
+
+ + +
+
+ Qta: +
+
+
+
+ CodMag: +
+
+ + +
+
+
+
+ + + +
+
+ CodBlocco: +
+
+
+
+ CodCella: +
+
+ + +
+
+
+
+
+ X: +
+
+ + +
+
+ Y: +
+
+ + +
+
+ Z: +
+
+ + +
+
+
+
+
+
+
+ + + + + + + + + + + diff --git a/GMW_Term/WebUserControls/mod_execUdc.ascx.cs b/GMW_Term/WebUserControls/mod_execUdc.ascx.cs new file mode 100644 index 00000000..82d0f469 --- /dev/null +++ b/GMW_Term/WebUserControls/mod_execUdc.ascx.cs @@ -0,0 +1,390 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; +using GMW_data; + +namespace GMW_Term.WebUserControls +{ + public partial class mod_execUdc : System.Web.UI.UserControl + { + + #region variabili globali controllo + + /// + /// codice company/sito in sessione + /// + protected string _CodCS + { + get + { + return memLayer.ML.StringSessionObj("CodCS"); + } + } + /// + /// UDC correntemente selezionato + /// + protected string _UDC + { + get + { + return memLayer.ML.StringSessionObj("UDC_sel"); + } + set + { + memLayer.ML.setSessionVal("UDC_sel", value); + } + } + /// + /// CodLista della lsita di prelievo correntemente attiva + /// + protected string _CodLista + { + get + { + return memLayer.ML.StringSessionObj("CodListaAttiva"); + } + set + { + memLayer.ML.setSessionVal("CodListaAttiva", value); + } + } + /// + /// Particolare dell'UDC correntemente selezionato + /// + protected string _PartUdc + { + get + { + string answ = ""; + try + { + answ = MagClass.magazzino.taDettUDC.getByFullUdc(_UDC, _CodCS)[0].Particolare; + } + catch + { } + return answ; + } + } + /// + /// Indica se l'UDC correntemente selezionato sia disponibile x prelievo + /// + protected bool _UdcDisp + { + get + { + bool answ = false; + try + { + answ = (MagClass.magazzino.taRigheListePrelievo.getPrelevateByUdc(_UDC).Rows.Count == 0); + } + catch + { } + return answ; + } + } + /// + /// Indica se la cella DI DESTINAZIONE dell'azione sia da indicare come piena + /// + protected bool _cellaPiena + { + get + { + return memLayer.ML.BoolSessionObj("cellaPiena"); + } + set + { + memLayer.ML.setSessionVal("cellaPiena", value); + } + } + /// + /// Particolare della Lista di Prelievo correntemente attiva + /// + protected string _PartLdP + { + get + { + string answ = ""; + if (_CodLista != "") + { + try + { + answ = MagClass.magazzino.taElencoListePrelievo.getByCodLista(_CodLista)[0].Particolare; + } + catch + { } + } + return answ; + } + } + /// + /// valore della scansione barcode + /// + public string valoreScanUdc + { + get + { + return memLayer.ML.StringSessionObj("scannedValueUdc"); + } + set + { + memLayer.ML.setSessionVal("scannedValueUdc", value, false); + } + } + /// + /// tipologia di edit attivo (in session...) + /// + protected tipoEditUdc editAttivo + { + get + { + tipoEditUdc answ = tipoEditUdc.nd; + try + { + answ = (tipoEditUdc)memLayer.ML.objSessionObj("EditAttivo"); + } + catch + { } + return answ; + } + set + { + memLayer.ML.setSessionVal("EditAttivo", value, false); + } + } + + + + #endregion + + #region setup modulo + + /// + /// caricamento pagina + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + mod_btnUdc1.eh_btnPressed += new EventHandler(mod_btnUdc1_eh_btnPressed); + } + /// + /// premuto un bottone, di conseguenza adatta grafica e/o funzionalità + /// + /// + /// + void mod_btnUdc1_eh_btnPressed(object sender, EventArgs e) + { + switch (editAttivo) + { + case tipoEditUdc.nd: + break; + case tipoEditUdc.deliberaFusi: + deliberaUdc(); + break; + case tipoEditUdc.deliberaWipPost: + deliberaUdc(); + break; + case tipoEditUdc.deliberaWipPre: + deliberaUdc(); + break; + case tipoEditUdc.deposito: + depositaUdc(_cellaPiena); + break; + case tipoEditUdc.prelievo: + break; + case tipoEditUdc.rettifica: + frmView.ChangeMode(FormViewMode.Edit); + break; + case tipoEditUdc.spostamento: + spostaUdc(_cellaPiena); + break; + default: + break; + } + } + /// + /// wrapper traduzione termini + /// + /// + /// + public string traduci(string lemma) + { + return user_std.UtSn.Traduci(lemma); + } + + #endregion + + #region metodi operativi interni + + /// + /// effattua al delibera dell'UDC indicato + /// + private void deliberaUdc() + { + string tipoDelibera = ""; + switch (editAttivo) + { + case tipoEditUdc.deliberaFusi: + tipoDelibera = "DelibFusi"; + break; + case tipoEditUdc.deliberaWipPost: + tipoDelibera = "DelibWipPost"; + break; + case tipoEditUdc.deliberaWipPre: + tipoDelibera = "DelibWipPre"; + break; + default: + break; + } + if (tipoDelibera != "") + { + // chiamo stored x fare delibera con state machine + string CodEvento = tipoDelibera; + try + { + CodEvento = StateMachine.SM.taATD.getByKey(tipoDelibera)[0].CodEvento; + } + catch + { } + StateMachine.SM.deliberaUdc(_UDC, tipoDelibera, CodEvento, Request.UserHostName); + } + // resetto buttons + mod_btnUdc1.doReset(); + // aggiorna dati + frmView.DataBind(); + } + + /// + /// effettua salvataggio, mostra cella updated, eventuale set piena della cella + /// + /// + private void depositaUdc(bool setCellaPiena) + { + // controllo UDC sia spostabile (ovvero NON in RLP bloccata) + if (MagClass.magazzino.checkUDC_mov(_UDC)) + { + // cerco id della cella... + int idxCella = MagClass.magazzino.IdxCellaByCodCella(_CodCS, valoreScanUdc); + // salva le info facendo caricamento + MagClass.magazzino.spostaUDC(_CodCS, _UDC, idxCella, memLayer.ML.confReadBool("spostaUdcResettaLdp"), Request.UserHostName); + if (setCellaPiena) + { + MagClass.magazzino.taCelle.stp_celle_updPiena(idxCella, true); + } + } + // resetto buttons + mod_btnUdc1.doReset(); + // aggiorna dati + frmView.DataBind(); + } + /// + /// chiama lo spostamento dell'UDC tra la cella attuale e la nuova... + /// + /// + private void spostaUdc(bool setCellaPiena) + { + // controllo UDC sia spostabile (ovvero NON in RLP bloccata) + if (MagClass.magazzino.checkUDC_mov(_UDC)) + { + // cerco id delle celle... + int idxCellaFrom = MagClass.magazzino.taDettUDC.getByFullUdc(_UDC, _CodCS)[0].IdxCella; + int idxCellaTo = MagClass.magazzino.IdxCellaByCodCella(_CodCS, valoreScanUdc); + // salva le info facendo caricamento + MagClass.magazzino.spostaUDC(_CodCS, _UDC, idxCellaTo, memLayer.ML.confReadBool("spostaUdcResettaLdp"), Request.UserHostName); + // dopo aver spostato UDC sistemo eventuali Righe di Prelievo x lo stesso UDC pending... + MagClass.magazzino.taRigheListePrelievo.stp_RLP_sbloccaNonPrelevate("ND", _UDC); // metto "ND" perché voglio sbloccare tutti gli impieghi di quell'UDC + // la cella di partenza la indico come disponibile (comunque ho tolto un UDC...) + MagClass.magazzino.taCelle.stp_celle_updPiena(idxCellaFrom, false); + if (setCellaPiena) + { + MagClass.magazzino.taCelle.stp_celle_updPiena(idxCellaTo, true); + } + } + // resetto buttons + mod_btnUdc1.doReset(); + // aggiorna dati + frmView.DataBind(); + } + + #endregion + + #region gestione interazione (buttons & update...) + + #region area frmView & co + + /// + /// eseguo alla chiusura della fase di update + /// + /// + /// + protected void frmView_ItemUpdated(object sender, FormViewUpdatedEventArgs e) + { + //fixBtnPostUpdateQta(); + } + /// + /// mostra di nuovo buttons post fase di editing + /// + private void fixBtnPostUpdateQta() + { + // aggiorno frmView + frmView.DataBind(); + mod_btnUdc1.doReset(); + } + /// + /// alla chiusura fase di editing + /// + /// + /// + protected void frmView_ModeChanged(object sender, EventArgs e) + { + // se sono in item mode mostro di nuovo i buttons... + if (frmView.CurrentMode == FormViewMode.ReadOnly) + { + fixBtnPostUpdateQta(); + } + } + /// + /// evento on update + /// + /// + /// + protected void ods_Updating(object sender, ObjectDataSourceMethodEventArgs e) + { + // controllo UDC sia modificabile qta + if (MagClass.magazzino.checkUDC_qty(_UDC)) + { + decimal qta = Convert.ToDecimal(e.InputParameters["Qta"]); + // intercetto l'evento e chiamo una stored ad hoc! + MagClass.magazzino.taCartellini.updateQty(_UDC, MagClass.magazzino.CodSoggCurrUser, "U", "UDC_QTY", qta); + // aggiorno anche eventuali righe inliste prelievo + MagClass.magazzino.taRigheListePrelievo.stp_RLP_updateQty(_UDC, qta); + } + // annullo update! + e.Cancel = true; + } + + #endregion + + + #endregion + + } +} +/// +/// enumerazione tipo di editing effettuato su UDC +/// +public enum tipoEditUdc +{ + nd, + deliberaFusi, + deliberaWipPost, + deliberaWipPre, + deposito, + prelievo, + rettifica, + spostamento +} \ No newline at end of file diff --git a/GMW_Term/WebUserControls/mod_execUdc.ascx.designer.cs b/GMW_Term/WebUserControls/mod_execUdc.ascx.designer.cs new file mode 100644 index 00000000..d6d11593 --- /dev/null +++ b/GMW_Term/WebUserControls/mod_execUdc.ascx.designer.cs @@ -0,0 +1,43 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW_Term.WebUserControls { + + + public partial class mod_execUdc { + + /// + /// frmView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.FormView frmView; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; + + /// + /// mod_btnUdc1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW_Term.WebUserControls.mod_btnUdc mod_btnUdc1; + } +} diff --git a/GMW_Term/WebUserControls/mod_home.ascx b/GMW_Term/WebUserControls/mod_home.ascx new file mode 100644 index 00000000..b1d6c4dc --- /dev/null +++ b/GMW_Term/WebUserControls/mod_home.ascx @@ -0,0 +1,15 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_home.ascx.cs" Inherits="GMW_Term.WebUserControls.mod_home" %> +
+ +
+
+ +
+
+
+
+ +
+
+   +
diff --git a/GMW_Term/WebUserControls/mod_home.ascx.cs b/GMW_Term/WebUserControls/mod_home.ascx.cs new file mode 100644 index 00000000..8c7bc4b8 --- /dev/null +++ b/GMW_Term/WebUserControls/mod_home.ascx.cs @@ -0,0 +1,63 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +namespace GMW_Term.WebUserControls +{ + public partial class mod_home : System.Web.UI.UserControl + { + /// + /// wrapper traduzione termini + /// + /// + /// + public string traduci(string lemma) + { + return user_std.UtSn.Traduci(lemma); + } + + protected void Page_Load(object sender, EventArgs e) + { + // scrive label e text bottoni + btn1.Text = string.Format("{0}\n[Alt+{1}]",traduci("btnTermMenuLDP"),2); + btn1.AccessKey = "2"; + btn2.Text = string.Format("{0}\n[Alt+{1}]", traduci("btnTermMenuMov"), 8); + btn2.AccessKey = "8"; + btn3.Text = string.Format("{0}\n[Alt+{1}]", traduci("btnLogout"), 0); + btn3.AccessKey = "0"; + } + /// + /// vado menù LDP + /// + /// + /// + protected void btn1_Click(object sender, EventArgs e) + { + Response.Redirect("MenuLDP.aspx"); + } + /// + /// vado menù movimenti + /// + /// + /// + protected void btn2_Click(object sender, EventArgs e) + { + Response.Redirect("MenuMov.aspx"); + } + /// + /// reset e login + /// + /// + /// + protected void btn3_Click(object sender, EventArgs e) + { + TermUtils.TU.forceLogOut(); + Response.Redirect("Barcode.aspx"); + } + } +} + diff --git a/GMW_Term/WebUserControls/mod_home.ascx.designer.cs b/GMW_Term/WebUserControls/mod_home.ascx.designer.cs new file mode 100644 index 00000000..9f043b45 --- /dev/null +++ b/GMW_Term/WebUserControls/mod_home.ascx.designer.cs @@ -0,0 +1,43 @@ +//------------------------------------------------------------------------------ +// +// 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_Term.WebUserControls { + + + public partial class mod_home { + + /// + /// btn1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btn1; + + /// + /// btn2 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btn2; + + /// + /// btn3 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btn3; + } +} diff --git a/GMW_Term/WebUserControls/mod_interrMov.ascx b/GMW_Term/WebUserControls/mod_interrMov.ascx new file mode 100644 index 00000000..d8726756 --- /dev/null +++ b/GMW_Term/WebUserControls/mod_interrMov.ascx @@ -0,0 +1,140 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_interrMov.ascx.cs" + Inherits="GMW_Term.WebUserControls.mod_interrMov" %> +
+ + + + +
+ + + +
+
+ +
+
+ +
+
+
+
+ +
+
+
+ +
+
+ +
+
+
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+
+
+ + +
+
+ +
+
+
+
+ +
+
+
+
+ + + + + +
+ + + +
+
+ +
+
+ +
+
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+
+
+ + +
+
+ +
+
+
+
+ +
+
+
+
+ + + + + + + + + + +
diff --git a/GMW_Term/WebUserControls/mod_interrMov.ascx.cs b/GMW_Term/WebUserControls/mod_interrMov.ascx.cs new file mode 100644 index 00000000..a4bdae81 --- /dev/null +++ b/GMW_Term/WebUserControls/mod_interrMov.ascx.cs @@ -0,0 +1,71 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +namespace GMW_Term.WebUserControls +{ + public partial class mod_interrMov : System.Web.UI.UserControl + { + /// + /// azioni setup a creazione controllo + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!Page.IsPostBack) + { + pnlDetailCella.Visible = false; + pnlDetailUdc.Visible = false; + btnReset.Visible = false; + } + lblReset.Text = traduci("btnResetCtrl"); + btnReset.Text = traduci("btnResetCtrl"); + } + /// + /// wrapper traduzione termini + /// + /// + /// + public string traduci(string lemma) + { + return user_std.UtSn.Traduci(lemma); + } + /// + /// mostro i dettagli dell'udc indicato + /// + public void showUdcDetail(string UDC) + { + memLayer.ML.setSessionVal("UDC4det_sel", UDC); + memLayer.ML.setSessionVal("CodCS", memLayer.ML.confReadString("CodCS")); + pnlDetailCella.Visible = false; + pnlDetailUdc.Visible = true; + btnReset.Visible = true; + } + /// + /// mostro i dettagli dell'udc indicato + /// + public void showCellaDetail(string codCella) + { + memLayer.ML.setSessionVal("codCella4det_sel", codCella); + pnlDetailCella.Visible = true; + pnlDetailUdc.Visible = false; + btnReset.Visible = true; + } + /// + /// ricarica apgina corrente + /// + /// + /// + protected void btnResetCtrl_Click(object sender, EventArgs e) + { + memLayer.ML.emptySessionVal("codCella4det_sel"); + memLayer.ML.emptySessionVal("UDC4det_sel"); + Response.Redirect("~/interrMov.aspx"); + } + } +} \ No newline at end of file diff --git a/GMW_Term/WebUserControls/mod_interrMov.ascx.designer.cs b/GMW_Term/WebUserControls/mod_interrMov.ascx.designer.cs new file mode 100644 index 00000000..d85f00ba --- /dev/null +++ b/GMW_Term/WebUserControls/mod_interrMov.ascx.designer.cs @@ -0,0 +1,88 @@ +//------------------------------------------------------------------------------ +// +// 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_Term.WebUserControls { + + + public partial class mod_interrMov { + + /// + /// btnReset control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.LinkButton btnReset; + + /// + /// lblReset control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblReset; + + /// + /// pnlDetailCella control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlDetailCella; + + /// + /// frmViewCella control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.FormView frmViewCella; + + /// + /// odsCella control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsCella; + + /// + /// pnlDetailUdc control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlDetailUdc; + + /// + /// frmViewUdc control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.FormView frmViewUdc; + + /// + /// odsUdc control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsUdc; + } +} diff --git a/GMW_Term/WebUserControls/mod_listePrelievo.ascx b/GMW_Term/WebUserControls/mod_listePrelievo.ascx new file mode 100644 index 00000000..42f629b1 --- /dev/null +++ b/GMW_Term/WebUserControls/mod_listePrelievo.ascx @@ -0,0 +1,181 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_listePrelievo.ascx.cs" + Inherits="GMW_Term.WebUserControls.mod_listePrelievo" %> +<%@ Register Src="mod_periodoAnalisi.ascx" TagName="mod_periodoAnalisi" TagPrefix="uc1" %> +
+
+ +
+
+
+
+ + +
+ +
+ + + + + + + + + + + + + + + + +
+
+ +
+
+
+
+ +
+
+
+
+ + + +
+
+
+ + + +
+
+
+
+
+ + +
+
+
+
+ + + + <%----%> + + + +
+
+ + + + + + + + + + + + + +
+
+ +
+ + + <%----%> + + +
+
+ + + + + + + + + + + + +
+ +
+
+
+ +
+
+
+ + +
+ +
+
+
+ +
+
+
+ + + + + + + + + + +
+
+ + + + + + + + + + +
+
+
diff --git a/GMW_Term/WebUserControls/mod_listePrelievo.ascx.cs b/GMW_Term/WebUserControls/mod_listePrelievo.ascx.cs new file mode 100644 index 00000000..ff8216bf --- /dev/null +++ b/GMW_Term/WebUserControls/mod_listePrelievo.ascx.cs @@ -0,0 +1,1062 @@ +using System; +using System.Data; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; +using GMW_data; + +namespace GMW_Term.WebUserControls +{ + public partial class mod_listePrelievo : System.Web.UI.UserControl + { + #region area da NON modificare + + #region area protected + + protected string _idxGridView; + protected string _idxGridViewExt; + protected string _tabCache; + protected bool _showNewBtn = false; + + /// + /// wrapper traduzione termini + /// + /// + /// + public string traduci(string lemma) + { + return user_std.UtSn.Traduci(lemma); + } + + + /// + /// imposta errore non cancellabilità per record correlati + /// + protected void setNoDeletableErrorMessage() + { + // mostro avviso di non cancellabilità... + lblWarning.Text = traduci("notDeletable_hasChild"); + lblWarning.Visible = true; + grView.DataBind(); + } + /// + /// esegue cancellazioen record + /// + protected void doDelete() + { + // posso cancellare... + lblWarning.Visible = false; + ods.Delete(); + } + /// + /// Valida la cancellazione per i dati mostrati dal gridView + /// richiede sia preventivamentedichiarato _idxGridView + /// + /// + /// + protected virtual void validaDelete(object sender, ObjectDataSourceMethodEventArgs e) + { + int idx = Convert.ToInt32(e.InputParameters[string.Format("Original_{0}", _idxGridView)]); + if (objIsNotRelated(idx)) + { + // annullo cancellazione... + e.Cancel = true; + // seleziono record... metto in session valore idx e poi ridisegno... + SteamWare.memLayer.ML.setSessionVal(_idxGridView, idx); + setNoDeletableErrorMessage(); + } + else + { + doDelete(); + } + } + + /// + /// recupera i dati di un nuovo record contenuti nel footer di un gridView; + /// questi devono esses opportunamente nominati (es: txt{0}, dl{0}, ...) + /// + /// + /// + protected void recuperaFooter(object sender, ObjectDataSourceMethodEventArgs e) + { + //recupero la riga footer... + DataColumnCollection colonne = colonneObj(); + string nomeCol; + string tipoColonna = ""; + foreach (DataColumn colonna in colonne) + { + nomeCol = colonna.ColumnName; + // cerco un textbox o quello che sia... + if (grView.FooterRow.FindControl(string.Format("txt{0}", nomeCol)) != null) + { + tipoColonna = "textBox"; + } + else if (grView.FooterRow.FindControl(string.Format("dl{0}", nomeCol)) != null) + { + tipoColonna = "dropDownList"; + } + else if (grView.FooterRow.FindControl(string.Format("chk{0}", nomeCol)) != null) + { + tipoColonna = "checkBox"; + } + else if (grView.FooterRow.FindControl(string.Format("selAjax_{0}", nomeCol)) != null) + { + tipoColonna = "selAjax"; + } + // in base al tipo salvo negli inputparameters dell'ODS + switch (tipoColonna) + { + case "textBox": + e.InputParameters[nomeCol] = ((TextBox)grView.FooterRow.FindControl(string.Format("txt{0}", nomeCol))).Text.Trim(); + break; + case "dropDownList": + e.InputParameters[nomeCol] = ((DropDownList)grView.FooterRow.FindControl(string.Format("dl{0}", nomeCol))).SelectedValue; + break; + case "checkBox": + e.InputParameters[nomeCol] = ((CheckBox)grView.FooterRow.FindControl(string.Format("chk{0}", nomeCol))).Checked; + break; + default: + break; + } + tipoColonna = ""; + } + } + /// + /// inserisce nuovo valore da footer + /// + /// + /// + protected void lblIns_click(object sender, EventArgs e) + { + // click su inserimento, chiamo il metodo insert dell'ObjectDataSource + ods.Insert(); + SteamWare.memLayer.ML.emptyCacheVal(_tabCache); + } + /// + /// annulla inserimento nuovo valore da footer + /// + /// + /// + protected void lblCanc_click(object sender, EventArgs e) + { + // annullo inserimento: nascondo footer, bind controlli... + grView.FooterRow.Visible = false; + } + + + /// + /// traduce gli header delle colonne + /// + /// + /// + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); + //lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); + } + else + { + //lblNumRec.Text = ""; + } + } + /// + /// gestione evento richeista nuovo valore (mostra footer, ...) + /// + /// + /// + protected void btnNew_Click(object sender, EventArgs e) + { + // reset selezione... + resetSelezione(); + // mostro il footer oppure la riga dei dettagli x nuovo... + if (grView.FooterRow != null) + { + grView.FooterRow.Visible = true; + } + // sollevo evento nuovo valore... + if (eh_nuovoValore != null) + { + eh_nuovoValore(this, new EventArgs()); + } + } + /// + /// reset della selezione + /// + /// + /// + protected void btnReset_Click(object sender, EventArgs e) + { + resetSelezione(); + } + + #endregion + + #region gestione eventi + + //public event EventHandler eh_resetSelezione; + public event EventHandler eh_nuovoValore; + //public event EventHandler eh_selValore; + + #endregion + + #region public + + /// + /// definisce visibilità btnNew + /// + public bool showNewBtn + { + get + { + return _showNewBtn; + } + set + { + _showNewBtn = value; + } + } + /// + /// effettua update del modulo + /// + public void doUpdate() + { + resetSelezione(); + } + + #endregion + + #endregion + + string _homeBtnText = "Home"; + string _homeBtnLink = "~/Home.aspx"; + /// + /// testo del pulsante HOME + /// + public string homeBtnText + { + set + { + _homeBtnText = value; + traduciObj(); + } + get + { + return _homeBtnText; + } + } + /// + /// link del pulsante HOME + /// + public string homeBtnLink + { + set + { + _homeBtnLink = value; + traduciObj(); + } + get + { + return _homeBtnLink; + } + } + + // variabile per verificare se è operatore + bool _validUserInSession = false; + /// + /// Verifica se c'è un valore in sessione di tipo operatore + /// + protected void verificaOperatoreInSessione() + { + if (string.IsNullOrEmpty(user_std.UtSn.utente)) + { + _validUserInSession = false; + } + else + { + _validUserInSession = true; + } + } + /// + /// traduce stringhe oggetti + /// + protected void traduciObj() + { + // scrive label e text bottoni + btnLoginPage.Text = string.Format("{0}\n[Alt+{1}]", traduci("Logout"), 7); + btnLoginPage.AccessKey = "7"; + btnButtonsHome.Text = string.Format("{0}\n[Alt+{1}]", traduci(_homeBtnText), 9); + btnButtonsHome.AccessKey = "9"; + btnShowPeriodo.Text = string.Format("{0}\n[Alt+{1}]", traduci("ImpostaPeriodo"), 8); + btnShowPeriodo.AccessKey = "8"; + btnCloseDet.Text = string.Format("{0}\n[Alt+{1}]", traduci("Close"), 3); + btnCloseDet.AccessKey = "3"; + btnBarcode.Text = string.Format("{0}\n[Alt+{1}]", traduci("Barcode"), 1); + btnBarcode.AccessKey = "1"; + } + + /// + /// metodi al caricamento della pagina + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + traduciObj(); + // se username è valorizzato... + verificaOperatoreInSessione(); + if (_validUserInSession) + { + btnLoginPage.Visible = memLayer.ML.confReadBool("showLogout"); + btnButtonsHome.Visible = true; + } + // se non è valorizzato chiede di effettuare login... + else + { + Response.Redirect("Home.aspx"); + } + // controllo se ci sia richiesta x mostrare dettagli... + if (memLayer.ML.BoolSessionObj("showDetListaPre")) + { + memLayer.ML.emptySessionVal("showDetListaPre"); + showListDetails(memLayer.ML.StringSessionObj("CodListaAttiva")); + } + // controllo se sia abilitato pulsante x prendere in carico una LDP (ovvero NON HO altre LDP in carico...) + bool ListaSelOk = (memLayer.ML.StringSessionObj("CodListaAttiva") == memLayer.ML.StringSessionObj("CodLista_sel")); + if (ListaSelOk) + { + btnPrendiInCarico.Visible = false; + } + else + { + btnPrendiInCarico.Visible = true; + } + } + + /// + /// verifica complessiva non esistenza record child + /// + /// + /// + protected bool objIsNotRelated(object idxObj) + { + bool answ = true; + return answ; + } + /// + /// elenco colonne del datagrid + /// + /// + protected DataColumnCollection colonneObj() + { + DS_magazzino.ElencoListePrelievoDataTable tabella = new DS_magazzino.ElencoListePrelievoDataTable(); + DataColumnCollection colonne = tabella.Columns; + return colonne; + } + /// + /// inizializzazione valori di default + /// + /// + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + _idxGridView = "CodLista"; + if (!Page.IsPostBack) + { + mod_periodoAnalisi1.setPeriodoFree(); + } + // registro evento update + mod_periodoAnalisi1.eh_doUpdate += new EventHandler(mod_periodoAnalisi1_eh_doUpdate); + aggiornaControlliDataGL(); + } + /// + /// aggiorna controlli datagrid e numero righe in pagina + /// + protected void aggiornaControlliDataGL() + { + grView.PageSize = 4; + } + + /// + /// aggiorno x update selettore date + /// + /// + /// + void mod_periodoAnalisi1_eh_doUpdate(object sender, EventArgs e) + { + // aggiorno controllo corrente! + updateOds(); + } + /// + /// svuoto da cache post update + /// + /// + /// + protected void ods_Updated(object sender, ObjectDataSourceStatusEventArgs e) + { + resetSelezione(); + } + /// + /// aggiorno visualizzazione + /// + private void updateOds() + { + grView.DataBind(); + } + + + /// + /// gestione cambio selezione valore + /// + /// + /// + protected void grView_SelectedIndexChanged(object sender, EventArgs e) + { + } + /// + /// resetta la selezione dei valori in caso di modifiche su altri controlli + /// + public void resetSelezione() + { + SteamWare.memLayer.ML.emptySessionVal(string.Format("{0}_sel", _idxGridView)); + grView.SelectedIndex = -1; + grView.DataBind(); + lblWarning.Visible = false; + } + + /// + /// salvo in session che il prox comando è iniziare lista prelievo... + /// + /// + /// + protected void imgAzioneLista_Click(object sender, ImageClickEventArgs e) + { + ImageButton imgb = (ImageButton)sender; + SteamWare.memLayer.ML.setSessionVal("nextObjCommand", imgb.CommandArgument); + } + /// + /// in caso di aggiornamento verifico se sia salvato un comando inizia o completa lista prelievo... + /// + /// + /// + protected void grView_RowUpdating(object sender, GridViewUpdateEventArgs e) + { + // carico l'idx dell'oggetto + string codLista = e.Keys["CodLista"].ToString(); + // quale comando? + string _comando = ""; + if (SteamWare.memLayer.ML.isInSessionObject("nextObjCommand")) + { + _comando = SteamWare.memLayer.ML.StringSessionObj("nextObjCommand"); + SteamWare.memLayer.ML.emptySessionVal("nextObjCommand"); + } + string CodSoggetto = MagClass.magazzino.CodSoggCurrUser; + switch (_comando) + { + case "IniziaListaPrelievo": + iniziaListaPrelievo(codLista, CodSoggetto); + // blocco update! + e.Cancel = true; + break; + case "CompletaListaPrelievo": + completaListaPrelievo(codLista, CodSoggetto); + // blocco update! + e.Cancel = true; + break; + case "ShowDetail": + showListDetails(codLista); + // blocco update! + e.Cancel = true; + break; + default: + // faccio update! + break; + } + } + /// + /// compelta e chiude x operatore la lista di prelievo + /// + /// + /// + private void completaListaPrelievo(string codLista, string CodSoggetto) + { + esitoOperazione esitoCompleta = GMW_data.MagClass.magazzino.completaListaPrelievo(memLayer.ML.StringSessionObj("CodCS"), codLista, CodSoggetto, Request.UserHostName); + if (esitoCompleta == esitoOperazione.ok) + { + updateOds(); + grView.EditIndex = -1; + grView.DataBind(); + // sollevo evento nuovo valore... + if (eh_nuovoValore != null) + { + eh_nuovoValore(this, new EventArgs()); + } + // tolgo dalla session la lista prelievo attuale... + memLayer.ML.emptySessionVal("CodLista_sel"); + } + else if (esitoCompleta == esitoOperazione.errore_noUdc) + { + GMW_data.MagClass.magazzino.attivaListaPrelievo(memLayer.ML.StringSessionObj("CodCS"), codLista, CodSoggetto); + httpLog(string.Format("Lista di prelievo {0} rilasciata poiché senza UDC prelevati da parte dell'opertore {1}", codLista, CodSoggetto), tipoLog.INFO); + // tolgo dalla session la lista prelievo attuale... + memLayer.ML.emptySessionVal("CodLista_sel"); + memLayer.ML.emptySessionVal("CodListaAttiva"); + memLayer.ML.emptySessionVal("activeTask"); + } + } + /// + /// prende in carico ed inizia la lista di prelievo + /// + /// + /// + private void iniziaListaPrelievo(string codLista, string CodSoggetto) + { + GMW_data.MagClass.magazzino.iniziaListaPrelievo(memLayer.ML.StringSessionObj("CodCS"), codLista, CodSoggetto); + updateOds(); + grView.EditIndex = -1; + grView.DataBind(); + // sollevo evento nuovo valore... + if (eh_nuovoValore != null) + { + eh_nuovoValore(this, new EventArgs()); + } + } + /// + /// in caso di aggiornamento verifico se sia salvato un comando inizia o completa lista prelievo... + /// + /// + /// + protected void grViewDetail_RowUpdating(object sender, GridViewUpdateEventArgs e) + { + // carico l'idx dell'oggetto + string codLista = e.Keys["CodLista"].ToString(); + string udc = e.Keys["UDC"].ToString(); + // quale comando? + string _comando = ""; + if (SteamWare.memLayer.ML.isInSessionObject("nextObjCommand")) + { + _comando = SteamWare.memLayer.ML.StringSessionObj("nextObjCommand"); + SteamWare.memLayer.ML.emptySessionVal("nextObjCommand"); + } + string CodSoggetto = MagClass.magazzino.CodSoggCurrUser; + switch (_comando) + { + case "confermaPrelievo": + // controllo SE sia ancora prelevabile questo UDC... + if (!udcPrelevato(udc)) + { + GMW_data.MagClass.magazzino.confermaUdcPrelevatoPerLista(codLista, udc); + } + grViewDetail.EditIndex = -1; + grViewDetail.DataBind(); + // sollevo evento nuovo valore... + if (eh_nuovoValore != null) + { + eh_nuovoValore(this, new EventArgs()); + } + // blocco update! + e.Cancel = true; + break; + case "annullaPrelievo": + GMW_data.MagClass.magazzino.annullaUdcPrelevatoPerLista(codLista, udc); + grViewDetail.EditIndex = -1; + grViewDetail.DataBind(); + // sollevo evento nuovo valore... + if (eh_nuovoValore != null) + { + eh_nuovoValore(this, new EventArgs()); + } + // blocco update! + e.Cancel = true; + break; + default: + // faccio update! + break; + } + } + + + /// + /// mostro la lista di prelievo indicata + /// + /// + private void showListDetails(string codLista) + { + // salvo codice lista + memLayer.ML.setSessionVal("CodLista_sel", codLista); + // mostro dettaglio lista (e relativi buttons) + pnlDetail.Visible = true; + updateBtnPrendiInCarico(codLista); + + // nascondo elenco lista prelievo + pnlMaster.Visible = false; + setBarcodeBtn(); + } + /// + /// fix visibilità button barcode + /// + private void setBarcodeBtn() + { + // button x barcode: visibile solo se c'è una lista di prelievo attiva... + if (MagClass.magazzino.userHasActiveLP) + { + btnBarcode.Visible = true; + } + else + { + btnBarcode.Visible = false; + } + } + /// + /// aggiorna il button della lista di prelievo + /// + /// + private void updateBtnPrendiInCarico(string codLista) + { + // sistemo testo e tooltip del button x prendere in carico/chiudere... + int codStatoLista = 0; + try + { + codStatoLista = MagClass.magazzino.taElencoListePrelievo.getByCodLista(codLista)[0].CodStatoLista; + } + catch + { } + btnPrendiInCarico.Text = string.Format("{0}\n[Alt+{1}]", traduci(string.Format("txt_{0}", cmdArgStato(codStatoLista))), 4); + btnPrendiInCarico.AccessKey = "4"; + btnPrendiInCarico.ToolTip = traduci(cmdArgStato(codStatoLista)); + btnPrendiInCarico.CommandArgument = cmdArgStato(codStatoLista); + //cbeCambiaStato.ConfirmText = traduci(cmdArgStato(codStatoLista)); + } + /// + /// chiamato post modifica valore check/selezione nel selettore filtro stato + /// + /// + /// + public void eh_selectedStato(object sender, EventArgs e) + { + checkFixOds(); + } + /// + /// ssitema visualizzazione dal filtraggi + /// + private void checkFixOds() + { + // chiamo procedura che aggiorna ods principale + grView.SelectedIndex = -1; + updateOds(); + } + /// + /// chiamato post modifica valore check/selezione nel selettore filtro tipo + /// + /// + /// + public void eh_selectedTipo(object sender, EventArgs e) + { + checkFixOds(); + } + /// + /// restituisce URL immagine del codice da mostrare x stato lista + /// + /// + /// + public string pathImgStato(object codStato) + { + int stato = Convert.ToInt32(codStato); + string answ = ""; + if (MagClass.magazzino.userHasActiveLP && stato == 1) + { + answ = string.Format("~/images/squareDis_m_{0}.jpg", codStato); + } + else + { + answ = string.Format("~/images/square_m_{0}.jpg", codStato); + } + return answ; + } + /// + /// restituisce il comando da associare all'immagine dato lo stato della lista + /// + /// + /// + public string cmdArgStato(object codStato) + { + int stato = Convert.ToInt32(codStato); + string answ = ""; + switch (stato) + { + case 1: + answ = "IniziaListaPrelievo"; + break; + case 2: + answ = "CompletaListaPrelievo"; + break; + } + return answ; + } + /// + /// verifica la possibilità di click dato lo stato della lista secondo la regola: + /// - se utente ne ha in carico una può solo chiuderla + /// - altrimenti può prendere in carico una nuova + /// + /// stato della lista + /// codice identificativo della lista + /// + public bool enabledStato(object codStato, object codLista) + { + int stato = Convert.ToInt32(codStato); + bool answ = false; + // se la lista non è in carico all'utente è ovviamente NON abilitato... + bool listaInCarico = false; + try + { + listaInCarico = MagClass.magazzino.codListaAttivaUtente == codLista.ToString(); + } + catch + { } + + switch (stato) + { + case 1: + answ = !MagClass.magazzino.userHasActiveLP; // può prendere in carico SE non ne ha altre... + break; + case 2: + if (listaInCarico) + { + answ = MagClass.magazzino.userHasActiveLP; // può chiudere se ce l'ha attiva... + } + break; + } + + return answ; + } + + /// + /// determina se sia abilitato il pulsante x iniziare una lista di prelievo + /// + /// + /// + public bool iniziaEnabled(object codStato) + { + bool answ = false; + try + { + answ = ((int)codStato == (int)statoLista.generata); + } + catch + { } + return answ; + } + /// + /// determina se sia abilitato il pulsante x completare una lista di prelievo + /// + /// + /// + public bool completaEnabled(object codStato) + { + bool answ = false; + try + { + answ = ((int)codStato == (int)statoLista.iniziata); + } + catch + { } + return answ; + } + /// + /// verifica se sia prelevabile + /// + /// + /// + /// + public bool prelevaEnabled(object statoPrelevata, object udc) + { + bool answ = prelievoEnabled; + if (prelievoEnabled) + { + // controllo se non risulti prelevato l'UDC in un altra lista... + if (udcPrelevato(udc)) + { + answ = false; + } + else + { + try + { + answ = !Convert.ToBoolean(statoPrelevata); + } + catch + { } + } + } + return answ; + } + /// + /// verifica se sia annullabile il prelievo + /// + /// + /// + public bool annullaEnabled(object annullaPrelevata) + { + bool answ = prelievoEnabled; + if (prelievoEnabled) + { + try + { + answ = Convert.ToBoolean(annullaPrelevata); + } + catch + { } + } + return answ; + } + /// + /// determina se le righe di prelievo siano confermabili per prelievo (durante pick-up) - se c'è lista prelievo attiva ed è quella corrente!!! + /// + public bool prelievoEnabled + { + get + { + bool ListaInPrelievo = memLayer.ML.isInSessionObject("CodListaAttiva"); + bool ListaSelOk = (memLayer.ML.StringSessionObj("CodListaAttiva") == memLayer.ML.StringSessionObj("CodLista_sel")); + bool buttonsEnabled = memLayer.ML.confReadBool("PrelDepoTermEnabled"); + return (ListaInPrelievo && ListaSelOk); + } + } + /// + /// fornisce verifica se l'udc sia già stato prelevato altrove... + /// + /// + /// + public bool udcPrelevato(object udc) + { + return GMW_data.MagClass.magazzino.taRigheListePrelievo.getPrelevateByUdc(udc.ToString()).Rows.Count > 0; + } + + + /// + /// restituisce tooltip da mostrare x STATO lista + /// + /// + /// + public string tooltipStato(object codice) + { + return traduci(string.Format("StatoLista_{0}", codice)); + } + /// + /// restituisce URL immagine del codice da mostrare x TIPO lista + /// + /// + /// + public string pathImgTipo(object codice) + { + return string.Format("~/images/lista_{0}_s.jpg", codice); + } + /// + /// restituisce tooltip da mostrare x TIPO lista + /// + /// + /// + public string tooltipTipo(object codice) + { + return traduci(codice.ToString()); + } + + /// + /// effettua logout... + /// + /// + /// + protected void btnLoginPage_Click(object sender, EventArgs e) + { + TermUtils.TU.forceLogOut(); + Response.Redirect("~/Barcode.aspx"); + } + /// + /// va alla pagina dei buttons principale + /// + /// + /// + protected void btnButtonsHome_Click(object sender, EventArgs e) + { + Response.Redirect(homeBtnLink); + } + /// + /// nasconde dettagli + /// + /// + /// + protected void btnCloseDet_Click(object sender, EventArgs e) + { + // ricarico x evitare proliferazione "_" su prima colonna + Response.Redirect("~/ListePrelievo.aspx"); + } + /// + /// passa al barcode! + /// + /// + /// + protected void btnBarcode_Click(object sender, EventArgs e) + { + Response.Redirect("~/Barcode.aspx"); + } + /// + /// salvo in session che il prox comando è confermare prelievo... + /// + /// + /// + protected void imgPrelevato_Click(object sender, ImageClickEventArgs e) + { + SteamWare.memLayer.ML.setSessionVal("nextObjCommand", "confermaPrelievo"); + } + /// + /// salvo in session che il prox comando è annullare prelievo... + /// + /// + /// + protected void imgAnnullato_Click(object sender, ImageClickEventArgs e) + { + SteamWare.memLayer.ML.setSessionVal("nextObjCommand", "annullaPrelievo"); + } + + /// + /// effettua trim della stringa + /// + /// + /// + /// + public string trimma(string testo, int maxChar) + { + string answ = testo; + if (testo.Length > maxChar) + { + answ = testo.Substring(0, 10); + } + + return answ; + } + /// + /// cliccato link x dettaglio dest o particolare + /// + /// + /// + protected void lnk_Click(object sender, EventArgs e) + { + LinkButton lnkb = (LinkButton)sender; + SteamWare.memLayer.ML.setSessionVal("nextObjCommand", lnkb.CommandArgument); + } + /// + /// verifica se sia abilitata la presa in carico delal lista di prelievo + /// + /// + public bool enabledPrendiInCarico() + { + bool answ = false; + // carico i dati che mi servono... + string codLista = memLayer.ML.StringSessionObj("CodLista_sel"); + int codStatoLista = 0; + try + { + codStatoLista = MagClass.magazzino.taElencoListePrelievo.getByCodLista(codLista)[0].CodStatoLista; + } + catch + { } + try + { + answ = enabledStato(codStatoLista, codLista); + } + catch + { } + return answ; + } + /// + /// esegue la presa in carico o la chiusura delal lista di prelievo + /// + /// + /// + protected void btnPrendiInCarico_Click(object sender, EventArgs e) + { + // leggo valori da sessione + string codLista = memLayer.ML.StringSessionObj("CodLista_sel"); + // leggo il comando ed il soggetto... + Button btn = (Button)sender; + string _comando = btn.CommandArgument; + string CodSoggetto = MagClass.magazzino.CodSoggCurrUser; + // controllo cosa fare + switch (_comando) + { + case "IniziaListaPrelievo": + iniziaListaPrelievo(codLista, CodSoggetto); + break; + case "CompletaListaPrelievo": + completaListaPrelievo(codLista, CodSoggetto); + // ricarico x evitare proliferazione "_" su prima colonna + Response.Redirect("~/ListePrelievo.aspx"); + break; + } + // aggiorno visualizzazione + updateBtnPrendiInCarico(codLista); + setBarcodeBtn(); + grViewDetail.DataBind(); + } + /// + /// mostra selettori periodo x liste di prelievo + /// + /// + /// + protected void btnShowPeriodo_Click(object sender, EventArgs e) + { + btnShowPeriodo.Visible = false; + mod_periodoAnalisi1.Visible = true; + } + + /// + /// wrapper per log con salvataggio dell'IP del chiamante + /// + /// + /// + public bool httpLog(string _testoPre) + { + bool answ = false; + string postazione_IP = ""; + try + { + postazione_IP = string.Format(" | {0} | ", Request.UserHostName); + } + catch + { } + logger.lg.scriviLog(postazione_IP + _testoPre); + return answ; + } + /// + /// wrapper per log con salvataggio dell'IP del chiamante + /// + /// + /// + public bool httpLog(string testoLog, tipoLog tipo) + { + bool answ = false; + string postazione_IP = ""; + try + { + postazione_IP = string.Format(" | {0} | ", Request.UserHostName); + } + catch + { } + logger.lg.scriviLog(postazione_IP + testoLog, tipo); + return answ; + } + } +} \ No newline at end of file diff --git a/GMW_Term/WebUserControls/mod_listePrelievo.ascx.designer.cs b/GMW_Term/WebUserControls/mod_listePrelievo.ascx.designer.cs new file mode 100644 index 00000000..30747363 --- /dev/null +++ b/GMW_Term/WebUserControls/mod_listePrelievo.ascx.designer.cs @@ -0,0 +1,142 @@ +//------------------------------------------------------------------------------ +// +// 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_Term.WebUserControls { + + + public partial class mod_listePrelievo { + + /// + /// mod_periodoAnalisi1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::mod_periodoAnalisi mod_periodoAnalisi1; + + /// + /// btnLoginPage control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnLoginPage; + + /// + /// btnButtonsHome control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnButtonsHome; + + /// + /// pnlMaster control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlMaster; + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// lblWarning control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblWarning; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; + + /// + /// pnlDetail control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlDetail; + + /// + /// btnCloseDet control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnCloseDet; + + /// + /// btnPrendiInCarico control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnPrendiInCarico; + + /// + /// btnShowPeriodo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnShowPeriodo; + + /// + /// btnBarcode control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnBarcode; + + /// + /// grViewDetail control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grViewDetail; + + /// + /// odsDetail control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsDetail; + } +} diff --git a/GMW_Term/WebUserControls/mod_makeMov.ascx b/GMW_Term/WebUserControls/mod_makeMov.ascx new file mode 100644 index 00000000..d2dd4904 --- /dev/null +++ b/GMW_Term/WebUserControls/mod_makeMov.ascx @@ -0,0 +1,47 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_makeMov.ascx.cs" Inherits="GMW_Term.WebUserControls.mod_makeMov" %> +
+
+
+ +
+ + + +
+
+ +
+ + + +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ + + + +
+
+ + + + +
+
+
diff --git a/GMW_Term/WebUserControls/mod_makeMov.ascx.cs b/GMW_Term/WebUserControls/mod_makeMov.ascx.cs new file mode 100644 index 00000000..def8c81d --- /dev/null +++ b/GMW_Term/WebUserControls/mod_makeMov.ascx.cs @@ -0,0 +1,148 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; +using GMW_data; + +namespace GMW_Term.WebUserControls +{ + public partial class mod_makeMov : System.Web.UI.UserControl + { + /// + /// wrapper traduzione termini + /// + /// + /// + public string traduci(string lemma) + { + return user_std.UtSn.Traduci(lemma); + } + /// + /// chiamata principale + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + updateMakeMov(); + } + /// + /// aggiorna lo stato dell'operazione di movimentazione + /// + public void updateMakeMov() + { + // recupero barcode e controllo sia valido + string _UDC = memLayer.ML.StringSessionObj("UDC_sel"); + int _idxCella = memLayer.ML.IntSessionObj("IdxCella_sel"); + string _codCella = memLayer.ML.StringSessionObj("codCella_sel"); + // aggiorno labels standard + lblCella.Text = traduci("lblCella"); + lblUDC.Text = traduci("lblUDC"); + btnConferma.Text = traduci("btnConferma"); + btnAnnulla.Text = traduci("btnAnnulla"); + // aggiorno labels valori + lblCodCella.Text = _codCella; + lblCodUDC.Text = _UDC; + // controllo se ci siano UDC/Cella validi + if (_UDC != "" && _codCella != "") + { + // SE cella vuota procedo! + if (!MagClass.magazzino.cellaPiena(memLayer.ML.confReadString("codCS"), _idxCella)) + { + spostaUdc(_UDC, _idxCella, _codCella); + } + else + { + // se cella piena chiedo conferma + btnConferma.Visible = true; + btnAnnulla.Visible = true; + } + } + else + { + btnConferma.Visible = false; + btnAnnulla.Visible = false; + } + } + /// + /// effettua spostamento UDC sparato da barcode + /// + /// + /// + /// + private void spostaUdc(string _UDC, int _idxCella, string _codCella) + { + // controllo UDC sia spostabile (ovvero NON in RLP bloccata) + if (MagClass.magazzino.checkUDC_mov(_UDC)) + { + MagClass.magazzino.spostaUDC(memLayer.ML.confReadString("codCS"), _UDC, _idxCella, memLayer.ML.confReadBool("spostaUdcResettaLdp"), Request.UserHostName); + btnConferma.Visible = false; + btnAnnulla.Visible = false; + lblEsito.Text = string.Format("{0} {1} --> {2} ", traduci("ConfermaSpostatoUDC"), _UDC, _codCella); + } + else + { + lblEsito.Text = string.Format("{0} {1}", traduci("UdcNonSpostabile"), _UDC); + } + resetAndUpdate(); + } + /// + /// CONFERMA associazione UDC/CELLA + /// + /// + /// + protected void btnConferma_Click(object sender, EventArgs e) + { + // calcolo valori + string _UDC = memLayer.ML.StringSessionObj("UDC_sel"); + int _idxCella = memLayer.ML.IntSessionObj("IdxCella_sel"); + string _codCella = memLayer.ML.StringSessionObj("codCella_sel"); + + // controllo UDC sia spostabile (ovvero NON in RLP bloccata) + if (MagClass.magazzino.checkUDC_mov(_UDC)) + { + // sposto UDC precedente in posizione preimpostata da web.config + string codCellaErroriAnime = memLayer.ML.confReadString("codCellaErroriAnime"); + int idxCellaTo = MagClass.magazzino.taCelle.getByCodCella(codCellaErroriAnime)[0].IdxCella; + string udc2move = MagClass.magazzino.udcInCella(memLayer.ML.confReadString("codCS"), _idxCella); + // sposto udc in posizione "errori anime"... + MagClass.magazzino.spostaUDC(memLayer.ML.confReadString("codCS"), udc2move, idxCellaTo, memLayer.ML.confReadBool("spostaUdcResettaLdp"), Request.UserHostName); + lblEsito.Text = string.Format("{0} {1} --> {2} ", traduci("ConfermaSpostatoUDC"), _UDC, _codCella); + // sposto "vero" UDC + spostaUdc(_UDC, _idxCella, _codCella); + } + else + { + lblEsito.Text = string.Format("{0} {1}", traduci("UdcNonSpostabile"), _UDC); + } + resetAndUpdate(); + } + /// + /// aggiorna visualizzazioni e resetta + /// + private void resetAndUpdate() + { + //memLayer.ML.emptySessionVal("UDC_sel"); + //memLayer.ML.emptySessionVal("IdxCella_sel"); + //memLayer.ML.emptySessionVal("codCella_sel"); + GMW_data.TermClass.Ter.resetScanBarcode(true, true, false); + + // aggiorno visualizzazione + updateMakeMov(); + lblErrore.Visible = false; + } + /// + /// annulla associazione UDC / CELLA + /// + /// + /// + protected void btnAnnulla_Click(object sender, EventArgs e) + { + resetAndUpdate(); + } + + } +} \ No newline at end of file diff --git a/GMW_Term/WebUserControls/mod_makeMov.ascx.designer.cs b/GMW_Term/WebUserControls/mod_makeMov.ascx.designer.cs new file mode 100644 index 00000000..b99bf00c --- /dev/null +++ b/GMW_Term/WebUserControls/mod_makeMov.ascx.designer.cs @@ -0,0 +1,106 @@ +//------------------------------------------------------------------------------ +// +// 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_Term.WebUserControls { + + + public partial class mod_makeMov { + + /// + /// lblCella control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblCella; + + /// + /// lblCodCella control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblCodCella; + + /// + /// lblUDC control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblUDC; + + /// + /// lblCodUDC control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblCodUDC; + + /// + /// lblErrore control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblErrore; + + /// + /// lblEsito control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblEsito; + + /// + /// btnConferma control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.LinkButton btnConferma; + + /// + /// lblGeneraListe control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblGeneraListe; + + /// + /// btnAnnulla control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.LinkButton btnAnnulla; + + /// + /// lblResetListe control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblResetListe; + } +} diff --git a/GMW_Term/WebUserControls/mod_menuLDP.ascx b/GMW_Term/WebUserControls/mod_menuLDP.ascx new file mode 100644 index 00000000..a4a83275 --- /dev/null +++ b/GMW_Term/WebUserControls/mod_menuLDP.ascx @@ -0,0 +1,16 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_menuLDP.ascx.cs" + Inherits="GMW_Term.WebUserControls.mod_menuLDP" %> +
+ +
+
+ +
+
+
+
+ +
+
+ +
diff --git a/GMW_Term/WebUserControls/mod_menuLDP.ascx.cs b/GMW_Term/WebUserControls/mod_menuLDP.ascx.cs new file mode 100644 index 00000000..104aee83 --- /dev/null +++ b/GMW_Term/WebUserControls/mod_menuLDP.ascx.cs @@ -0,0 +1,89 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; +using GMW_data; + +namespace GMW_Term.WebUserControls +{ + public partial class mod_menuLDP : System.Web.UI.UserControl + { + /// + /// wrapper traduzione termini + /// + /// + /// + public string traduci(string lemma) + { + return user_std.UtSn.Traduci(lemma); + } + + protected void Page_Load(object sender, EventArgs e) + { + // scrive label e text bottoni + btn1.Text = string.Format("{0}\n[Alt+{1}]", traduci("btnTermTakeListBarcode"), 1); + btn1.AccessKey = "1"; + btn2.Text = string.Format("{0}\n[Alt+{1}]", traduci("btnTermTakeListHome"), 3); + btn2.AccessKey = "3"; + btn3.Text = string.Format("{0}\n[Alt+{1}]", traduci("btnTermTakeList"), 7); + btn3.AccessKey = "7"; + btn4.Text = string.Format("{0}\n[Alt+{1}]", traduci("btnTermSmartList"), 9); + btn4.AccessKey = "9"; + checkLavoriInCorso(); + } + /// + /// verifica se ci siano in corso smartList o LDP normali e disabilita il contrario + /// + private void checkLavoriInCorso() + { + bool hasSmartList = false; + try + { + hasSmartList = (MagClass.magazzino.taElencoListePrelievo.getOpenByUserTipo(MagClass.magazzino.CodSoggCurrUser, "00-Smart").Rows.Count > 0); + } + catch + { } + if (hasSmartList) + { + // smartList attiva + btn1.Enabled = false; + btn3.Enabled = false; + } + else if (memLayer.ML.isInSessionObject("CodListaAttiva")) + { + // LDP tradizionale attiva + btn4.Enabled = false; + } + else + { + // niente attivo! + btn1.Enabled = true; + btn3.Enabled = true; + btn4.Enabled = true; + } + } + + protected void btn1_Click(object sender, EventArgs e) + { + Response.Redirect("UDC.aspx"); + } + + protected void btn2_Click(object sender, EventArgs e) + { + Response.Redirect("Home.aspx"); + } + + protected void btn3_Click(object sender, EventArgs e) + { + Response.Redirect("ListePrelievo.aspx"); + } + + protected void btn4_Click(object sender, EventArgs e) + { + Response.Redirect("SmartList.aspx"); + } + } +} \ No newline at end of file diff --git a/GMW_Term/WebUserControls/mod_menuLDP.ascx.designer.cs b/GMW_Term/WebUserControls/mod_menuLDP.ascx.designer.cs new file mode 100644 index 00000000..0774f549 --- /dev/null +++ b/GMW_Term/WebUserControls/mod_menuLDP.ascx.designer.cs @@ -0,0 +1,52 @@ +//------------------------------------------------------------------------------ +// +// 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_Term.WebUserControls { + + + public partial class mod_menuLDP { + + /// + /// btn1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btn1; + + /// + /// btn2 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btn2; + + /// + /// btn3 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btn3; + + /// + /// btn4 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btn4; + } +} diff --git a/GMW_Term/WebUserControls/mod_menuMov.ascx b/GMW_Term/WebUserControls/mod_menuMov.ascx new file mode 100644 index 00000000..ce1021fb --- /dev/null +++ b/GMW_Term/WebUserControls/mod_menuMov.ascx @@ -0,0 +1,16 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_menuMov.ascx.cs" + Inherits="GMW_Term.WebUserControls.mod_menuMov" %> +
+ +
+
+ +
+
+
+
+ +
+
+   +
diff --git a/GMW_Term/WebUserControls/mod_menuMov.ascx.cs b/GMW_Term/WebUserControls/mod_menuMov.ascx.cs new file mode 100644 index 00000000..34c8ff4a --- /dev/null +++ b/GMW_Term/WebUserControls/mod_menuMov.ascx.cs @@ -0,0 +1,64 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +namespace GMW_Term.WebUserControls +{ + public partial class mod_menuMov : System.Web.UI.UserControl + { + /// + /// wrapper traduzione termini + /// + /// + /// + public string traduci(string lemma) + { + return user_std.UtSn.Traduci(lemma); + } + + protected void Page_Load(object sender, EventArgs e) + { + // scrive label e text bottoni + btn1.Text = string.Format("{0}\n[Alt+{1}]", traduci("btnTermInterrMov"), 1); + btn1.AccessKey = "1"; + btn2.Text = string.Format("{0}\n[Alt+{1}]", traduci("btnTermHome"), 3); + btn2.AccessKey = "3"; + btn3.Text = string.Format("{0}\n[Alt+{1}]", traduci("btnTermMakeMov"), 7); + btn3.AccessKey = "7"; + } + + protected void btn1_Click(object sender, EventArgs e) + { + resetAllData(); + Response.Redirect("interrMov.aspx"); + } + /// + /// resetta dati barcode + /// + private static void resetAllData() + { + //memLayer.ML.emptySessionVal("IdxCella_sel"); + //memLayer.ML.emptySessionVal("codCella_sel"); + //memLayer.ML.emptySessionVal("UDC_sel"); + memLayer.ML.emptySessionVal("codCella4det_sel"); + memLayer.ML.emptySessionVal("UDC4det_sel"); + GMW_data.TermClass.Ter.resetScanBarcode(true, true, false); + } + + protected void btn2_Click(object sender, EventArgs e) + { + resetAllData(); + Response.Redirect("Home.aspx"); + } + + protected void btn3_Click(object sender, EventArgs e) + { + resetAllData(); + Response.Redirect("makeMov.aspx"); + } + } +} \ No newline at end of file diff --git a/GMW_Term/WebUserControls/mod_menuMov.ascx.designer.cs b/GMW_Term/WebUserControls/mod_menuMov.ascx.designer.cs new file mode 100644 index 00000000..59172219 --- /dev/null +++ b/GMW_Term/WebUserControls/mod_menuMov.ascx.designer.cs @@ -0,0 +1,43 @@ +//------------------------------------------------------------------------------ +// +// 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_Term.WebUserControls { + + + public partial class mod_menuMov { + + /// + /// btn1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btn1; + + /// + /// btn2 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btn2; + + /// + /// btn3 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btn3; + } +} diff --git a/GMW_Term/WebUserControls/mod_menuTop.ascx b/GMW_Term/WebUserControls/mod_menuTop.ascx new file mode 100644 index 00000000..847f41ac --- /dev/null +++ b/GMW_Term/WebUserControls/mod_menuTop.ascx @@ -0,0 +1,4 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_menuTop.ascx.cs" Inherits="GMW_Term.WebUserControls.mod_menuTop" %> +
+ +
\ No newline at end of file diff --git a/GMW_Term/WebUserControls/mod_menuTop.ascx.cs b/GMW_Term/WebUserControls/mod_menuTop.ascx.cs new file mode 100644 index 00000000..6792474d --- /dev/null +++ b/GMW_Term/WebUserControls/mod_menuTop.ascx.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +namespace GMW_Term.WebUserControls +{ + public partial class mod_menuTop : System.Web.UI.UserControl + { + protected void Page_Load(object sender, EventArgs e) + { + string operatore = ""; + try + { + operatore = user_std.UtSn.CognomeNome; + } + catch + { + // rimando a login... + Response.Redirect("~/Default.aspx"); + } + if (operatore != "") + { + lblTitolo.Text = string.Format("{0} - {1}", traduci(memLayer.ML.confReadString("titleApp")), operatore); + } + else + { + lblTitolo.Text = traduci(memLayer.ML.confReadString("titleApp")); + } + } + + /// + /// wrapper traduzione termini + /// + /// + /// + public string traduci(string lemma) + { + return user_std.UtSn.Traduci(lemma); + } + } +} \ No newline at end of file diff --git a/GMW_Term/WebUserControls/mod_menuTop.ascx.designer.cs b/GMW_Term/WebUserControls/mod_menuTop.ascx.designer.cs new file mode 100644 index 00000000..48647ded --- /dev/null +++ b/GMW_Term/WebUserControls/mod_menuTop.ascx.designer.cs @@ -0,0 +1,25 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW_Term.WebUserControls { + + + public partial class mod_menuTop { + + /// + /// lblTitolo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblTitolo; + } +} diff --git a/GMW_Term/WebUserControls/mod_periodoAnalisi.ascx b/GMW_Term/WebUserControls/mod_periodoAnalisi.ascx new file mode 100644 index 00000000..522024af --- /dev/null +++ b/GMW_Term/WebUserControls/mod_periodoAnalisi.ascx @@ -0,0 +1,27 @@ +<%@ Control Language="C#" AutoEventWireup="true" Inherits="mod_periodoAnalisi" CodeBehind="mod_periodoAnalisi.ascx.cs" %> +
+
+ + + + + + + +
+
+ + +
+
+ + +
+
diff --git a/GMW_Term/WebUserControls/mod_periodoAnalisi.ascx.cs b/GMW_Term/WebUserControls/mod_periodoAnalisi.ascx.cs new file mode 100644 index 00000000..f452e967 --- /dev/null +++ b/GMW_Term/WebUserControls/mod_periodoAnalisi.ascx.cs @@ -0,0 +1,212 @@ +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; +using SteamWare; + +public partial class mod_periodoAnalisi : System.Web.UI.UserControl +{ + #region area protected + + protected intervalloDate _intervallo; + + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + setIntervallo(); + } + + /// + /// gestione del selettore rapido dell'intervallo temporale... + /// + /// + /// + protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e) + { + intervalloDate _intervallo = new intervalloDate(); + // verifico cosa sia cambiato ed imposto date... + datario _datario = new datario(); + switch (DropDownList1.SelectedValue) + { + case "1_today": + _intervallo = _datario.giornata(DateTime.Now); + break; + case "2_yesterday": + _intervallo = _datario.giornata(DateTime.Now.AddDays(-1)); + break; + case "3_last_7": + _intervallo = _datario.ultimiGiorni(DateTime.Now, 7); + break; + case "4_this_week": + _intervallo = _datario.questaSett(DateTime.Now); + break; + case "5_last_30": + _intervallo = _datario.ultimiGiorni(DateTime.Now, 30); + break; + case "6_this_month": + _intervallo = _datario.questoMese(DateTime.Now); + break; + case "7_last_month": + _intervallo = _datario.estremiMese(DateTime.Now.AddMonths(-1)); + break; + case "8_this_year": + _intervallo = _datario.estremiAnno(DateTime.Now); + break; + case "9_last_year": + _intervallo = _datario.estremiAnno(DateTime.Now.AddYears(-1)); + break; + default: + break; + } + intervalloAnalisi = _intervallo; + aggiornaDateMostrate(); + } + + private void aggiornaDateMostrate() + { + txtInizio.Text = intervalloAnalisi.inizio.ToShortDateString(); + txtFine.Text = intervalloAnalisi.fine.AddDays(-1).ToShortDateString(); // mostro 1 gg in meno xché termina alle 00:00... + reportUpdate(); + } + + private void setIntervallo() + { + intervalloDate _intervallo; + try + { + _intervallo = (intervalloDate)Session["_intervallo"]; + } + catch + { + _intervallo = new intervalloDate(); + _intervallo.fine = DateTime.Now.Subtract(DateTime.Now.TimeOfDay).AddDays(1); + _intervallo.inizio = _intervallo.fine.AddMonths(-1); + Session["_intervallo"] = _intervallo; + Session["_inizio"] = _intervallo.inizio; + Session["_fine"] = _intervallo.fine; + } + txtInizio.Text = _intervallo.inizio.ToShortDateString(); + txtFine.Text = _intervallo.fine.ToShortDateString(); + } + /// + /// wrapper traduzione + /// + /// + /// + public string traduci(object lemma) + { + return user_std.UtSn.Traduci(lemma.ToString()); + } + protected void Page_Load(object sender, EventArgs e) + { + if (!Page.IsPostBack) + { + txtInizio.ToolTip = traduci("inizioPeriodo"); + txtFine.ToolTip = traduci("finePeriodo"); + } + } + protected void txtInizio_TextChanged(object sender, EventArgs e) + { + // imposto il selettore a discesa... + DropDownList1.SelectedIndex = 0; + // se campo vuoto imposto oggi... + if (txtInizio.Text == "") + { + txtInizio.Text = DateTime.Now.ToShortDateString(); + } + else + { + txtInizio.Text = Convert.ToDateTime(txtInizio.Text).ToShortDateString(); + } + // aggiorno dati in session... + aggiornaPeriodo(); + } + + private void aggiornaPeriodo() + { + _intervallo = new intervalloDate(); + _intervallo.inizio = Convert.ToDateTime(txtInizio.Text); + _intervallo.fine = ((DateTime)Convert.ToDateTime(txtFine.Text)).Date.AddDays(1); + //_intervallo.fine = ((DateTime)Convert.ToDateTime(txtFine.Text)).Date.AddDays(1).AddMinutes(-1); + intervalloAnalisi = _intervallo; + reportUpdate(); + + } + protected void txtFine_TextChanged(object sender, EventArgs e) + { + // imposto il selettore a discesa... + DropDownList1.SelectedIndex = 0; + // se campo vuoto imposto oggi... + if (txtFine.Text == "") + { + txtFine.Text = DateTime.Now.AddDays(1).ToShortDateString(); + } + else + { + txtFine.Text = Convert.ToDateTime(txtFine.Text).ToShortDateString(); + } + // aggiorno dati in session... + aggiornaPeriodo(); + } + + protected void reportUpdate() + { + // alzo l'evento d update/inserimento e ricarico cache... + if (eh_doUpdate != null) + { + eh_doUpdate(this, new EventArgs()); + } + } + + #endregion + + #region area public + + public intervalloDate intervalloAnalisi + { + get + { + return (intervalloDate)Session["_intervallo"]; + } + set + { + intervalloDate interv = value; + Session["_intervallo"] = interv; + Session["_inizio"] = interv.inizio; + Session["_fine"] = interv.fine; + } + } + + public void doUpdate() + { + aggiornaDateMostrate(); + } + + public void setPeriodoFree() + { + // imposto come periodo libero + DropDownList1.SelectedIndex = 0; + // inserisco un intervallo date da parametro web.config + intervalloDate interv = new intervalloDate(); + interv.fine = DateTime.Now.Date.AddDays(1); + interv.inizio = interv.fine.AddDays(memLayer.ML.confReadInt("defDayFrom")); + intervalloAnalisi = interv; + // update! + doUpdate(); + } + + #region gestione eventi + + public event EventHandler eh_doUpdate; + + #endregion + + #endregion + +} diff --git a/GMW_Term/WebUserControls/mod_periodoAnalisi.ascx.designer.cs b/GMW_Term/WebUserControls/mod_periodoAnalisi.ascx.designer.cs new file mode 100644 index 00000000..6e21898e --- /dev/null +++ b/GMW_Term/WebUserControls/mod_periodoAnalisi.ascx.designer.cs @@ -0,0 +1,68 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + + +public partial class mod_periodoAnalisi { + + /// + /// DropDownList1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.DropDownList DropDownList1; + + /// + /// odsPeriodi control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsPeriodi; + + /// + /// txtInizio control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtInizio; + + /// + /// RequiredFieldValidator1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.RequiredFieldValidator RequiredFieldValidator1; + + /// + /// txtFine control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtFine; + + /// + /// RequiredFieldValidator2 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.RequiredFieldValidator RequiredFieldValidator2; +} diff --git a/GMW_Term/WebUserControls/mod_processPackList.ascx b/GMW_Term/WebUserControls/mod_processPackList.ascx new file mode 100644 index 00000000..44391eca --- /dev/null +++ b/GMW_Term/WebUserControls/mod_processPackList.ascx @@ -0,0 +1,37 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_processPackList.ascx.cs" + Inherits="GMW_Term.WebUserControls.mod_processPackList" %> +
+
+
+ +
+
+ + + +
+
+
+
+
+ +
+
+ + + +
+
+
+
+
+ +
+
+
+
+
+ +
+
+
diff --git a/GMW_Term/WebUserControls/mod_processPackList.ascx.cs b/GMW_Term/WebUserControls/mod_processPackList.ascx.cs new file mode 100644 index 00000000..df75b541 --- /dev/null +++ b/GMW_Term/WebUserControls/mod_processPackList.ascx.cs @@ -0,0 +1,94 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; +using GMW_data; + +namespace GMW_Term.WebUserControls +{ + public partial class mod_processPackList : System.Web.UI.UserControl + { + /// + /// wrapper traduzione termini + /// + /// + /// + public string traduci(string lemma) + { + return user_std.UtSn.Traduci(lemma); + } + protected void Page_Load(object sender, EventArgs e) + { + // eseguo solo se ha un utente... + if (!string.IsNullOrEmpty(user_std.UtSn.utente)) + { + updatePackListStatus(); + } + } + /// + /// aggiorna lo stato della packing list corrente + /// + private void updatePackListStatus() + { + // recupero barcode e controllo sia valido + string barcode = memLayer.ML.StringSessionObj("UDC_sel"); + bool barcodeOk = MagClass.magazzino.checkUDC(barcode); + bool udcPrelevabile = (MagClass.magazzino.taRigheListePrelievo.getPrelevateByUdc(barcode).Rows.Count == 0); + if (udcPrelevabile) + { + if (barcodeOk) + { + // controllo se barcode è ok x LDP corrente... + if (MagClass.magazzino.verificaDatiUdc(MagClass.magazzino.codListaAttivaUtente, barcode)) + { + MagClass.magazzino.confermaUdcPrelevatoPerLista(MagClass.magazzino.codListaAttivaUtente, barcode); + lblErrore.Visible = false; + } + else + { + // salvo errore + lblErrore.Visible = true; + lblErrore.Text = traduci("BarcodeNonValidoLDP"); + } + resetMemoriaBarcode(); + } + } + else + { + // indico barcode già caricato + lblErrore.Visible = true; + lblErrore.Text = string.Format("{0}: {1}", barcode, traduci("udcGiaPrelevato")); + resetMemoriaBarcode(); + } + //update visualizzazione + lblListaAttiva.Text = traduci("ListaPrel"); + hlListaAttiva.Text = traduci("noListActive"); + lblDest.Text = ""; + lblProd.Text = ""; + lblPezzi.Text = ""; + try + { + // leggo una riga... + DS_magazzino.ElencoListePrelievoRow riga = MagClass.magazzino.taElencoListePrelievo.getByCodLista(MagClass.magazzino.codListaAttivaUtente)[0]; + lblDest.Text = riga.Destinatario; + lblProd.Text = riga.Particolare; + lblPezzi.Text = string.Format("{0:###}/{1:###} pz", riga.Prelevato, riga.QtaTot); + hlListaAttiva.Text = MagClass.magazzino.codListaAttivaUtente; + } + catch + { } + } + + private static void resetMemoriaBarcode() + { + // svuoto barcode selezionato ed eventuale UDC + //memLayer.ML.emptySessionVal("UDC_sel"); + GMW_data.TermClass.Ter.resetScanBarcode(true, false, false); + memLayer.ML.emptySessionVal("Barcode_sel"); + memLayer.ML.emptySessionVal("scannedValue"); + } + } +} \ No newline at end of file diff --git a/GMW_Term/WebUserControls/mod_processPackList.ascx.designer.cs b/GMW_Term/WebUserControls/mod_processPackList.ascx.designer.cs new file mode 100644 index 00000000..ef97eb87 --- /dev/null +++ b/GMW_Term/WebUserControls/mod_processPackList.ascx.designer.cs @@ -0,0 +1,70 @@ +//------------------------------------------------------------------------------ +// +// 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_Term.WebUserControls { + + + public partial class mod_processPackList { + + /// + /// lblListaAttiva control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblListaAttiva; + + /// + /// hlListaAttiva control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.HyperLink hlListaAttiva; + + /// + /// lblDest control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblDest; + + /// + /// lblProd control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblProd; + + /// + /// lblPezzi control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblPezzi; + + /// + /// lblErrore control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblErrore; + } +} diff --git a/GMW_Term/WebUserControls/mod_search.ascx b/GMW_Term/WebUserControls/mod_search.ascx new file mode 100644 index 00000000..1fbb7857 --- /dev/null +++ b/GMW_Term/WebUserControls/mod_search.ascx @@ -0,0 +1,15 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_search.ascx.cs" + Inherits="GMW_Term.WebUserControls.mod_search" %> +<%@ Register Src="mod_searchResults.ascx" TagName="mod_searchResults" TagPrefix="uc1" %> +
+
+
+
+ +
+
+ + +
+
+ diff --git a/GMW_Term/WebUserControls/mod_search.ascx.cs b/GMW_Term/WebUserControls/mod_search.ascx.cs new file mode 100644 index 00000000..d8885aa4 --- /dev/null +++ b/GMW_Term/WebUserControls/mod_search.ascx.cs @@ -0,0 +1,129 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; +using GMW_data; + + +namespace GMW_Term.WebUserControls +{ + public partial class mod_search : System.Web.UI.UserControl + { + // variabile per verificare se è operatore + bool _validUserInSession = false; + /// + /// Verifica se c'è un valore in sessione di tipo operatore + /// + protected void verificaOperatoreInSessione() + { + if (string.IsNullOrEmpty(user_std.UtSn.utente)) + { + _validUserInSession = false; + } + else + { + _validUserInSession = true; + } + } + /// + /// caricamento pagina! + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + // scrive label e text bottoni + btnLoginPage.Text = "[7]-LogOut"; + btnLoginPage.AccessKey = "7"; + btnButtonsHome.Text = "[9]-Home"; + btnButtonsHome.AccessKey = "9"; + // se username è valorizzato... + verificaOperatoreInSessione(); + if (_validUserInSession) + { + btnLoginPage.Visible = memLayer.ML.confReadBool("showLogout"); + btnButtonsHome.Visible = true; + } + // se non è valorizzato chiede di effettuare login... + else + { + Response.Redirect("Home.aspx"); + } + if (!Page.IsPostBack) + { + memLayer.ML.emptySessionVal("searchTerm"); + txtRicerca.Focus(); + mod_searchResults1.Visible = false; + } + } + /// + /// in caso di valore cercato... + /// + /// + /// + protected void txtRicerca_TextChanged(object sender, EventArgs e) + { + valoreRicerca = txtSearch; + updateSearchProviders(); + } + /// + /// aggiorna i provider di ricerca con i valori consistenti trovati + /// + private void updateSearchProviders() + { + memLayer.ML.setSessionVal("searchTerm", txtRicerca.Text.Trim()); + mod_searchResults1.Visible = true; + } + /// + /// testo contenuto nella textbox + /// + public string txtSearch + { + get + { + return txtRicerca.Text.Trim(); + } + set + { + txtRicerca.Text = value; + } + } + /// + /// valore della scansione barcode + /// + public string valoreRicerca + { + get + { + return memLayer.ML.StringSessionObj("searchValue"); + } + set + { + memLayer.ML.setSessionVal("searchValue", value, false); + } + } + + /// + /// effettua logout... + /// + /// + /// + protected void btnLoginPage_Click(object sender, EventArgs e) + { + TermUtils.TU.forceLogOut(); + Response.Redirect("~/Barcode.aspx"); + } + /// + /// va alla pagina dei buttons principale + /// + /// + /// + protected void btnButtonsHome_Click(object sender, EventArgs e) + { + Response.Redirect("~/Home.aspx"); + } + } +} \ No newline at end of file diff --git a/GMW_Term/WebUserControls/mod_search.ascx.designer.cs b/GMW_Term/WebUserControls/mod_search.ascx.designer.cs new file mode 100644 index 00000000..d8ab7b54 --- /dev/null +++ b/GMW_Term/WebUserControls/mod_search.ascx.designer.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW_Term.WebUserControls { + + + public partial class mod_search { + + /// + /// lblInput control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblInput; + + /// + /// txtRicerca control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtRicerca; + + /// + /// btnLoginPage control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnLoginPage; + + /// + /// btnButtonsHome control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnButtonsHome; + + /// + /// mod_searchResults1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW_Term.WebUserControls.mod_searchResults mod_searchResults1; + } +} diff --git a/GMW_Term/WebUserControls/mod_searchResults.ascx b/GMW_Term/WebUserControls/mod_searchResults.ascx new file mode 100644 index 00000000..4f5fec13 --- /dev/null +++ b/GMW_Term/WebUserControls/mod_searchResults.ascx @@ -0,0 +1,46 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_searchResults.ascx.cs" + Inherits="GMW_Term.WebUserControls.mod_searchResults" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> +
+ + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+
+
+
+ <%--    + --%> + + + + + +
diff --git a/GMW_Term/WebUserControls/mod_searchResults.ascx.cs b/GMW_Term/WebUserControls/mod_searchResults.ascx.cs new file mode 100644 index 00000000..67914759 --- /dev/null +++ b/GMW_Term/WebUserControls/mod_searchResults.ascx.cs @@ -0,0 +1,487 @@ +using System; +using System.Data; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; +using GMW_data; + +namespace GMW_Term.WebUserControls +{ + public partial class mod_searchResults : System.Web.UI.UserControl + { + #region area da NON modificare + + #region area protected + + protected string _idxGridView; + protected string _idxGridViewExt; + protected string _tabCache; + protected bool _showNewBtn = false; + + /// + /// wrapper traduzione termini + /// + /// + /// + public string traduci(string lemma) + { + return user_std.UtSn.Traduci(lemma); + } + + /// + /// recupera i dati di un nuovo record contenuti nel footer di un gridView; + /// questi devono esses opportunamente nominati (es: txt{0}, dl{0}, ...) + /// + /// + /// + protected void recuperaFooter(object sender, ObjectDataSourceMethodEventArgs e) + { + //recupero la riga footer... + DataColumnCollection colonne = colonneObj(); + string nomeCol; + string tipoColonna = ""; + foreach (DataColumn colonna in colonne) + { + nomeCol = colonna.ColumnName; + // cerco un textbox o quello che sia... + if (grView.FooterRow.FindControl(string.Format("txt{0}", nomeCol)) != null) + { + tipoColonna = "textBox"; + } + else if (grView.FooterRow.FindControl(string.Format("dl{0}", nomeCol)) != null) + { + tipoColonna = "dropDownList"; + } + else if (grView.FooterRow.FindControl(string.Format("chk{0}", nomeCol)) != null) + { + tipoColonna = "checkBox"; + } + else if (grView.FooterRow.FindControl(string.Format("selAjax_{0}", nomeCol)) != null) + { + tipoColonna = "selAjax"; + } + // in base al tipo salvo negli inputparameters dell'ODS + switch (tipoColonna) + { + case "textBox": + e.InputParameters[nomeCol] = ((TextBox)grView.FooterRow.FindControl(string.Format("txt{0}", nomeCol))).Text.Trim(); + break; + case "dropDownList": + e.InputParameters[nomeCol] = ((DropDownList)grView.FooterRow.FindControl(string.Format("dl{0}", nomeCol))).SelectedValue; + break; + case "checkBox": + e.InputParameters[nomeCol] = ((CheckBox)grView.FooterRow.FindControl(string.Format("chk{0}", nomeCol))).Checked; + break; + default: + break; + } + tipoColonna = ""; + } + } + /// + /// inserisce nuovo valore da footer + /// + /// + /// + protected void lblIns_click(object sender, EventArgs e) + { + // click su inserimento, chiamo il metodo insert dell'ObjectDataSource + ods.Insert(); + SteamWare.memLayer.ML.emptyCacheVal(_tabCache); + } + /// + /// annulla inserimento nuovo valore da footer + /// + /// + /// + protected void lblCanc_click(object sender, EventArgs e) + { + // annullo inserimento: nascondo footer, bind controlli... + grView.FooterRow.Visible = false; + } + + + /// + /// traduce gli header delle colonne + /// + /// + /// + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); + //lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); + } + else + { + //lblNumRec.Text = ""; + } + } + /// + /// gestione evento richeista nuovo valore (mostra footer, ...) + /// + /// + /// + protected void btnNew_Click(object sender, EventArgs e) + { + // reset selezione... + resetSelezione(); + // mostro il footer oppure la riga dei dettagli x nuovo... + if (grView.FooterRow != null) + { + grView.FooterRow.Visible = true; + } + // sollevo evento nuovo valore... + if (eh_nuovoValore != null) + { + eh_nuovoValore(this, new EventArgs()); + } + } + /// + /// reset della selezione + /// + /// + /// + protected void btnReset_Click(object sender, EventArgs e) + { + resetSelezione(); + } + + #endregion + + #region gestione eventi + + //public event EventHandler eh_resetSelezione; + public event EventHandler eh_nuovoValore; + //public event EventHandler eh_selValore; + + #endregion + + #region public + + /// + /// definisce visibilità btnNew + /// + public bool showNewBtn + { + get + { + return _showNewBtn; + } + set + { + _showNewBtn = value; + } + } + /// + /// effettua update del modulo + /// + public void doUpdate() + { + resetSelezione(); + } + + #endregion + + #endregion + + /// + /// metodi al caricamento della pagina + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { +#if false + // controllo se ci sia richiesta x mostrare dettagli... + if (memLayer.ML.BoolSessionObj("showDetListaPre")) + { + memLayer.ML.emptySessionVal("showDetListaPre"); + showListDetails(memLayer.ML.StringSessionObj("CodListaAttiva")); + } +#endif + } + + /// + /// elenco colonne del datagrid + /// + /// + protected DataColumnCollection colonneObj() + { + DS_Utility.stp_ricercaFullTerminalinoDataTable tabella = new DS_Utility.stp_ricercaFullTerminalinoDataTable(); + DataColumnCollection colonne = tabella.Columns; + return colonne; + } + /// + /// inizializzazione valori di default + /// + /// + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + _idxGridView = "TipoSearch"; + + aggiornaControlliDataGL(); + } + /// + /// aggiorna controlli datagrid e numero righe in pagina + /// + protected void aggiornaControlliDataGL() + { + grView.PageSize = 3; + } + + /// + /// gestione cambio selezione valore + /// + /// + /// + protected void grView_SelectedIndexChanged(object sender, EventArgs e) + { + } + /// + /// resetta la selezione dei valori in caso di modifiche su altri controlli + /// + public void resetSelezione() + { + SteamWare.memLayer.ML.emptySessionVal(string.Format("{0}_sel", _idxGridView)); + grView.SelectedIndex = -1; + grView.DataBind(); + //lblWarning.Visible = false; + } + + /// + /// salvo in session che il prox comando è iniziare lista prelievo... + /// + /// + /// + protected void imgAzioneLista_Click(object sender, ImageClickEventArgs e) + { + ImageButton imgb = (ImageButton)sender; + SteamWare.memLayer.ML.setSessionVal("nextObjCommand", imgb.CommandArgument); + } + /// + /// in caso di aggiornamento verifico se sia salvato un comando inizia o completa lista prelievo... + /// + /// + /// + protected void grView_RowUpdating(object sender, GridViewUpdateEventArgs e) + { + // carico l'idx dell'oggetto + string tipo = e.Keys["tipo"].ToString(); + string valore = e.Keys["valore"].ToString(); + // quale comando? + string _comando = ""; + if (SteamWare.memLayer.ML.isInSessionObject("nextObjCommand")) + { + _comando = SteamWare.memLayer.ML.StringSessionObj("nextObjCommand"); + SteamWare.memLayer.ML.emptySessionVal("nextObjCommand"); + } + string CodSoggetto = MagClass.magazzino.CodSoggCurrUser; + switch (_comando) + { + case "UDC": + // salvo in sessione + memLayer.ML.setSessionVal("UDC_sel", valore); + // blocco update! + e.Cancel = true; + // faccio redirect + Response.Redirect("~/UDC.aspx"); + break; + case "Particolare": + // salvo in sessione + memLayer.ML.setSessionVal("Particolare_sel", valore); + // blocco update! + e.Cancel = true; + // faccio redirect + Response.Redirect("~/Particolare.aspx"); + break; + case "Cella": + // salvo in sessione + memLayer.ML.setSessionVal("IdxCella_sel", valore); + // blocco update! + e.Cancel = true; + // faccio redirect + Response.Redirect("~/Cella.aspx"); + break; + default: + // faccio update! + break; + } + } + + /// + /// chiamato post modifica valore check/selezione nel selettore filtro stato + /// + /// + /// + public void eh_selectedStato(object sender, EventArgs e) + { + checkFixOds(); + } + /// + /// ssitema visualizzazione dal filtraggi + /// + private void checkFixOds() + { + // chiamo procedura che aggiorna ods principale + grView.SelectedIndex = -1; + updateOds(); + } + /// + /// aggiorno il gridview + /// + protected void updateOds() + { + grView.DataBind(); + } + /// + /// chiamato post modifica valore check/selezione nel selettore filtro tipo + /// + /// + /// + public void eh_selectedTipo(object sender, EventArgs e) + { + checkFixOds(); + } + + /// + /// restituisce URL immagine del codice da mostrare x TIPO lista + /// + /// + /// + public string pathImgTipo(object codice) + { + string answ = ""; + string tipo = codice.ToString(); + switch (tipo) + { + case "UDC": + answ = string.Format("~/images/Udc.jpg", codice); + break; + case "Particolare": + answ = string.Format("~/images/Part.jpg", codice); + break; + case "Cella": + answ = string.Format("~/images/Cella.jpg", codice); + break; + default: + break; + } + return answ; + } + /// + /// restituisce tooltip da mostrare x TIPO lista + /// + /// + /// + public string tooltipTipo(object codice) + { + return traduci(codice.ToString()); + } + /// + /// wrapper per log con salvataggio dell'IP del chiamante + /// + /// + /// + public bool httpLog(string _testoPre) + { + bool answ = false; + string postazione_IP = ""; + try + { + postazione_IP = string.Format(" | {0} | ", Request.UserHostName); + } + catch + { } + logger.lg.scriviLog(postazione_IP + _testoPre); + return answ; + } + /// + /// wrapper per log con salvataggio dell'IP del chiamante + /// + /// + /// + public bool httpLog(string testoLog, tipoLog tipo) + { + bool answ = false; + string postazione_IP = ""; + try + { + postazione_IP = string.Format(" | {0} | ", Request.UserHostName); + } + catch + { } + logger.lg.scriviLog(postazione_IP + testoLog, tipo); + return answ; + } + /// + /// formatta una stringa di descrizione a aprtire dal tipo oggetto + /// + /// + /// + /// + public string descOggetto(object _tipo, object _valore) + { + string tipo = _tipo.ToString(); + string valore = _valore.ToString(); + string answ = ""; + switch (tipo) + { + case "UDC": + try + { + DS_magazzino.v_UdcDetailRow rigaUdc = MagClass.magazzino.taDettUDC.getByFullUdc(valore, memLayer.ML.StringSessionObj("CodCS"))[0]; + answ = string.Format("{0} {1:##} pz M:{2} C:{3}", rigaUdc.Particolare, rigaUdc.Qta, rigaUdc.CodMag, rigaUdc.CodCella); + } + catch (Exception e) + { + httpLog(string.Format("Eccezione {0}", e), tipoLog.EXCEPTION); + answ = string.Format("{0} - {1}", tipo, valore); + } + break; + case "Particolare": + try + { + DS_magazzino.V_ParticolariOverviewRow rigaPart = MagClass.magazzino.taVParticolariOverwiew.getByParticolareFull(valore, memLayer.ML.StringSessionObj("CodCS"))[0]; + answ = string.Format("UDC: {0} ({2} a mag.) - {1:##} pz", rigaPart.NumUDC, rigaPart.TotQta, rigaPart.NumInMag); + } + catch (Exception e) + { + httpLog(string.Format("Eccezione {0}", e), tipoLog.EXCEPTION); + answ = string.Format("{0} - {1}", tipo, valore); + } + break; + case "Cella": + try + { + DS_magazzino.V_statoCelleCapienzaAssegnatiRow rigaCelle = MagClass.magazzino.taStatoCelle.getByIdxCella(Convert.ToInt32(valore))[0]; + answ = string.Format("{0} / {1}", rigaCelle.UdcAssegnati, rigaCelle.Capienza); + } + catch (Exception e) + { + httpLog(string.Format("Eccezione {0}", e), tipoLog.EXCEPTION); + answ = string.Format("{0} - {1}", tipo, valore); + } + break; + default: + break; + } + return answ; + } + + } +} \ No newline at end of file diff --git a/GMW_Term/WebUserControls/mod_searchResults.ascx.designer.cs b/GMW_Term/WebUserControls/mod_searchResults.ascx.designer.cs new file mode 100644 index 00000000..cc247d87 --- /dev/null +++ b/GMW_Term/WebUserControls/mod_searchResults.ascx.designer.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4927 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW_Term.WebUserControls { + + + public partial class mod_searchResults { + + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; + } +} diff --git a/GMW_Term/WebUserControls/mod_smartList.ascx b/GMW_Term/WebUserControls/mod_smartList.ascx new file mode 100644 index 00000000..c50ff099 --- /dev/null +++ b/GMW_Term/WebUserControls/mod_smartList.ascx @@ -0,0 +1,55 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_smartList.ascx.cs" + Inherits="GMW_Term.WebUserControls.mod_smartList" %> +
+ + + + + + + + + + + + + +
+
+ +
+
+ + + +
+
+
+ +
+
+ +
+
+
+ +
+
+
+ + + + +
+
+ + + + +
+
+
diff --git a/GMW_Term/WebUserControls/mod_smartList.ascx.cs b/GMW_Term/WebUserControls/mod_smartList.ascx.cs new file mode 100644 index 00000000..3359e7d8 --- /dev/null +++ b/GMW_Term/WebUserControls/mod_smartList.ascx.cs @@ -0,0 +1,187 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; +using GMW_data; + +namespace GMW_Term.WebUserControls +{ + public partial class mod_smartList : System.Web.UI.UserControl + { + /// + /// wrapper traduzione termini + /// + /// + /// + public string traduci(string lemma) + { + return user_std.UtSn.Traduci(lemma); + } + /// + /// chiamata principale + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + updatePackListStatus(); + // resetto! + resetAndUpdate(); + } + /// + /// aggiorna lo stato della packing list corrente + /// + private void updatePackListStatus() + { + // recupero barcode e controllo sia valido + string barcode = memLayer.ML.StringSessionObj("UDC_sel"); + string particolare = ""; + bool barcodeOk = MagClass.magazzino.checkUDC(barcode); + bool udcPrelevabile = (MagClass.magazzino.taRigheListePrelievo.getPrelevateByUdc(barcode).Rows.Count == 0); + if (barcodeOk && udcPrelevabile) + { + try + { + // calcolo particolare + particolare = MagClass.magazzino.getParticolareByUDC(barcode); + } + catch + { } + if (particolare != "") + { + /* *************************************************** + * Ricalcola e salva: + * - elenco UDC + * - elenco particolari + * - crea LDP e relative righe x ogni UDC + * ***************************************************/ + + // lista di prelievo + string currLDP = ""; + // cerco la LDP dato utente, tipo e particolare... + try + { + currLDP = MagClass.magazzino.taElencoListePrelievo.getOpenByUserTipoPart(MagClass.magazzino.CodSoggCurrUser, "00-Smart", particolare)[0].CodLista; + } + catch + { } + // controllo se vada aggiunto particolare + if (currLDP == "") + { + // creo nuova LDP smart + currLDP = MagClass.magazzino.creaListaPrelievoSmart(memLayer.ML.confReadString("CodCS"), "00-Smart", particolare, "*", "*", 1, "*", "", ""); + // imposto ad iniziata + MagClass.magazzino.attivaListaPrelievo(memLayer.ML.confReadString("CodCS"), currLDP, MagClass.magazzino.CodSoggCurrUser); + MagClass.magazzino.iniziaListaPrelievo(memLayer.ML.confReadString("CodCS"), currLDP, MagClass.magazzino.CodSoggCurrUser); + } + // controllo se vada aggiunto UDC: lo cerco nelle RLP prelevate + if (MagClass.magazzino.taRigheListePrelievo.getPrelevateByUdc(barcode).Rows.Count < 1) + { + if (currLDP != "") + { + // aggiungo particolare a LDP Smart esistente + MagClass.magazzino.confermaUdcPrelevatoPerLista(currLDP, barcode); + } + lblErrore.Visible = false; + } + else + { + // indico barcode già caricato + lblErrore.Visible = true; + lblErrore.Text = string.Format("{0}: {1}", barcode, traduci("udcGiaPrelevato")); + } + } + } + else + { + if (barcode != "") + { + // indico barcode già caricato + lblErrore.Visible = true; + lblErrore.Text = string.Format("{0}: {1}", barcode, traduci("udcGiaPrelevato")); + } + } + /* *************************************************** + * update visualizzazione, aggiorna: + * - tot UDC + * - tot particolari + * ***************************************************/ + lblGeneraListe.Text = traduci("lblGeneraListe"); + lblResetListe.Text = traduci("lblResetListe"); + lblTotColli.Text = traduci("lblTotColli"); + lblNumColli.Text = string.Format("{0} UDC", MagClass.magazzino.taRigheListePrelievo.getOpenByUserTipo(MagClass.magazzino.CodSoggCurrUser, "00-Smart").Rows.Count); + lblParticolari.Text = traduci("lblParticolari"); + lblNumPart.Text = string.Format("{0} {1}", MagClass.magazzino.taElencoListePrelievo.getOpenByUserTipo(MagClass.magazzino.CodSoggCurrUser, "00-Smart").Rows.Count, traduci("Particolari")); + } + /// + /// Generazione delle liste di prelievo + /// + /// + /// + protected void btnGeneraListe_Click(object sender, EventArgs e) + { + // prendo le liste smart e le completo + foreach (DS_magazzino.ElencoListePrelievoRow riga in MagClass.magazzino.taElencoListePrelievo.getOpenByUserTipo(MagClass.magazzino.CodSoggCurrUser, "00-Smart")) + { + try + { + // indico completata + MagClass.magazzino.completaListaPrelievo(memLayer.ML.confReadString("CodCS"), riga.CodLista, MagClass.magazzino.CodSoggCurrUser, Request.UserHostName); + } + catch + { } + } + resetAndUpdate(); + } + /// + /// aggiorna visualizzazioni e resetta + /// + private void resetAndUpdate() + { + //memLayer.ML.emptySessionVal("UDC_sel"); + GMW_data.TermClass.Ter.resetScanBarcode(true, false, false); + // aggiorno visualizzazione + updatePackListStatus(); + //lblErrore.Visible = false; + } + /// + /// reset UDC x le liste di prelievo + /// + /// + /// + protected void btnResetListe_Click(object sender, EventArgs e) + { + // prendo le liste smart e le completo + foreach (DS_magazzino.ElencoListePrelievoRow riga in MagClass.magazzino.taElencoListePrelievo.getOpenByUserTipo(MagClass.magazzino.CodSoggCurrUser, "00-Smart")) + { + try + { + // elimino righe + MagClass.magazzino.taRigheListePrelievo.stp_RLP_deleteFromCodLista(riga.CodLista); + // elimino lista + MagClass.magazzino.taElencoListePrelievo.DeleteQuery(riga.CodLista); + // elimino task attivo e cod lista attuale + memLayer.ML.emptySessionVal("CodListaAttiva"); + memLayer.ML.emptySessionVal("activeTask"); + lblErrore.Visible = false; + } + catch + { } + } + resetAndUpdate(); + } + /// + /// fornisce verifica se l'udc sia già stato prelevato altrove... + /// + /// + /// + public bool udcPrelevato(object udc) + { + return GMW_data.MagClass.magazzino.taRigheListePrelievo.getPrelevateByUdc(udc.ToString()).Rows.Count > 0; + } + + } +} \ No newline at end of file diff --git a/GMW_Term/WebUserControls/mod_smartList.ascx.designer.cs b/GMW_Term/WebUserControls/mod_smartList.ascx.designer.cs new file mode 100644 index 00000000..37a8d5cf --- /dev/null +++ b/GMW_Term/WebUserControls/mod_smartList.ascx.designer.cs @@ -0,0 +1,97 @@ +//------------------------------------------------------------------------------ +// +// 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_Term.WebUserControls { + + + public partial class mod_smartList { + + /// + /// lblTotColli control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblTotColli; + + /// + /// lblNumColli control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumColli; + + /// + /// lblParticolari control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblParticolari; + + /// + /// lblNumPart control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumPart; + + /// + /// lblErrore control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblErrore; + + /// + /// btnGeneraListe control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.LinkButton btnGeneraListe; + + /// + /// lblGeneraListe control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblGeneraListe; + + /// + /// btnResetListe control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.LinkButton btnResetListe; + + /// + /// lblResetListe control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblResetListe; + } +} diff --git a/GMW_Term/images/ArrowDownRed_l.jpg b/GMW_Term/images/ArrowDownRed_l.jpg new file mode 100644 index 00000000..3b0947ab Binary files /dev/null and b/GMW_Term/images/ArrowDownRed_l.jpg differ diff --git a/GMW_Term/images/ArrowDownRed_l.png b/GMW_Term/images/ArrowDownRed_l.png new file mode 100644 index 00000000..c7ee0a67 Binary files /dev/null and b/GMW_Term/images/ArrowDownRed_l.png differ diff --git a/GMW_Term/images/ArrowDownRed_m.jpg b/GMW_Term/images/ArrowDownRed_m.jpg new file mode 100644 index 00000000..fb50ba5e Binary files /dev/null and b/GMW_Term/images/ArrowDownRed_m.jpg differ diff --git a/GMW_Term/images/ArrowDownRed_m.png b/GMW_Term/images/ArrowDownRed_m.png new file mode 100644 index 00000000..6946ea21 Binary files /dev/null and b/GMW_Term/images/ArrowDownRed_m.png differ diff --git a/GMW_Term/images/ArrowDownRed_s.jpg b/GMW_Term/images/ArrowDownRed_s.jpg new file mode 100644 index 00000000..04370609 Binary files /dev/null and b/GMW_Term/images/ArrowDownRed_s.jpg differ diff --git a/GMW_Term/images/ArrowDownRed_s.png b/GMW_Term/images/ArrowDownRed_s.png new file mode 100644 index 00000000..1973ace5 Binary files /dev/null and b/GMW_Term/images/ArrowDownRed_s.png differ diff --git a/GMW_Term/images/ArrowDownRed_xl.jpg b/GMW_Term/images/ArrowDownRed_xl.jpg new file mode 100644 index 00000000..251fb0c6 Binary files /dev/null and b/GMW_Term/images/ArrowDownRed_xl.jpg differ diff --git a/GMW_Term/images/ArrowDownRed_xl.png b/GMW_Term/images/ArrowDownRed_xl.png new file mode 100644 index 00000000..bc95def6 Binary files /dev/null and b/GMW_Term/images/ArrowDownRed_xl.png differ diff --git a/GMW_Term/images/ArrowUpGreen_l.jpg b/GMW_Term/images/ArrowUpGreen_l.jpg new file mode 100644 index 00000000..dc32d7a0 Binary files /dev/null and b/GMW_Term/images/ArrowUpGreen_l.jpg differ diff --git a/GMW_Term/images/ArrowUpGreen_l.png b/GMW_Term/images/ArrowUpGreen_l.png new file mode 100644 index 00000000..7c9a815b Binary files /dev/null and b/GMW_Term/images/ArrowUpGreen_l.png differ diff --git a/GMW_Term/images/ArrowUpGreen_m.jpg b/GMW_Term/images/ArrowUpGreen_m.jpg new file mode 100644 index 00000000..cd033221 Binary files /dev/null and b/GMW_Term/images/ArrowUpGreen_m.jpg differ diff --git a/GMW_Term/images/ArrowUpGreen_m.png b/GMW_Term/images/ArrowUpGreen_m.png new file mode 100644 index 00000000..c6a17c17 Binary files /dev/null and b/GMW_Term/images/ArrowUpGreen_m.png differ diff --git a/GMW_Term/images/ArrowUpGreen_s.jpg b/GMW_Term/images/ArrowUpGreen_s.jpg new file mode 100644 index 00000000..a3821901 Binary files /dev/null and b/GMW_Term/images/ArrowUpGreen_s.jpg differ diff --git a/GMW_Term/images/ArrowUpGreen_s.png b/GMW_Term/images/ArrowUpGreen_s.png new file mode 100644 index 00000000..1d5c6aaf Binary files /dev/null and b/GMW_Term/images/ArrowUpGreen_s.png differ diff --git a/GMW_Term/images/Cella.jpg b/GMW_Term/images/Cella.jpg new file mode 100644 index 00000000..7a51b94f Binary files /dev/null and b/GMW_Term/images/Cella.jpg differ diff --git a/GMW_Term/images/Part.jpg b/GMW_Term/images/Part.jpg new file mode 100644 index 00000000..46d5bbe6 Binary files /dev/null and b/GMW_Term/images/Part.jpg differ diff --git a/GMW_Term/images/Udc.jpg b/GMW_Term/images/Udc.jpg new file mode 100644 index 00000000..44cab89d Binary files /dev/null and b/GMW_Term/images/Udc.jpg differ diff --git a/GMW_Term/images/WIP.png b/GMW_Term/images/WIP.png new file mode 100644 index 00000000..f06e6d05 Binary files /dev/null and b/GMW_Term/images/WIP.png differ diff --git a/GMW_Term/images/apply_l.jpg b/GMW_Term/images/apply_l.jpg new file mode 100644 index 00000000..fbf5025a Binary files /dev/null and b/GMW_Term/images/apply_l.jpg differ diff --git a/GMW_Term/images/apply_l.png b/GMW_Term/images/apply_l.png new file mode 100644 index 00000000..592ce6f4 Binary files /dev/null and b/GMW_Term/images/apply_l.png differ diff --git a/GMW_Term/images/apply_m.jpg b/GMW_Term/images/apply_m.jpg new file mode 100644 index 00000000..587cf2be Binary files /dev/null and b/GMW_Term/images/apply_m.jpg differ diff --git a/GMW_Term/images/apply_m.png b/GMW_Term/images/apply_m.png new file mode 100644 index 00000000..2166fdff Binary files /dev/null and b/GMW_Term/images/apply_m.png differ diff --git a/GMW_Term/images/apply_s.jpg b/GMW_Term/images/apply_s.jpg new file mode 100644 index 00000000..4e8b35e6 Binary files /dev/null and b/GMW_Term/images/apply_s.jpg differ diff --git a/GMW_Term/images/apply_s.png b/GMW_Term/images/apply_s.png new file mode 100644 index 00000000..57900174 Binary files /dev/null and b/GMW_Term/images/apply_s.png differ diff --git a/GMW_Term/images/cancel_l.jpg b/GMW_Term/images/cancel_l.jpg new file mode 100644 index 00000000..3deceed9 Binary files /dev/null and b/GMW_Term/images/cancel_l.jpg differ diff --git a/GMW_Term/images/cancel_l.png b/GMW_Term/images/cancel_l.png new file mode 100644 index 00000000..2d5e260a Binary files /dev/null and b/GMW_Term/images/cancel_l.png differ diff --git a/GMW_Term/images/cancel_m.jpg b/GMW_Term/images/cancel_m.jpg new file mode 100644 index 00000000..7fa15d61 Binary files /dev/null and b/GMW_Term/images/cancel_m.jpg differ diff --git a/GMW_Term/images/cancel_m.png b/GMW_Term/images/cancel_m.png new file mode 100644 index 00000000..816e06ac Binary files /dev/null and b/GMW_Term/images/cancel_m.png differ diff --git a/GMW_Term/images/cancel_s.jpg b/GMW_Term/images/cancel_s.jpg new file mode 100644 index 00000000..2e81aac0 Binary files /dev/null and b/GMW_Term/images/cancel_s.jpg differ diff --git a/GMW_Term/images/cancel_s.png b/GMW_Term/images/cancel_s.png new file mode 100644 index 00000000..d9333943 Binary files /dev/null and b/GMW_Term/images/cancel_s.png differ diff --git a/GMW_Term/images/desktop.ini b/GMW_Term/images/desktop.ini new file mode 100644 index 00000000..32e4c7ed --- /dev/null +++ b/GMW_Term/images/desktop.ini @@ -0,0 +1,4 @@ +[ViewState] +Mode= +Vid= +FolderType=Pictures diff --git a/GMW_Term/images/lista_01-PreFus_s.jpg b/GMW_Term/images/lista_01-PreFus_s.jpg new file mode 100644 index 00000000..09b36c18 Binary files /dev/null and b/GMW_Term/images/lista_01-PreFus_s.jpg differ diff --git a/GMW_Term/images/lista_02-PreCli_s.jpg b/GMW_Term/images/lista_02-PreCli_s.jpg new file mode 100644 index 00000000..914ef0da Binary files /dev/null and b/GMW_Term/images/lista_02-PreCli_s.jpg differ diff --git a/GMW_Term/images/lista_02-TerFus_s.jpg b/GMW_Term/images/lista_02-TerFus_s.jpg new file mode 100644 index 00000000..612ab7e7 Binary files /dev/null and b/GMW_Term/images/lista_02-TerFus_s.jpg differ diff --git a/GMW_Term/images/lista_03-TerWip_s.jpg b/GMW_Term/images/lista_03-TerWip_s.jpg new file mode 100644 index 00000000..ed107f8a Binary files /dev/null and b/GMW_Term/images/lista_03-TerWip_s.jpg differ diff --git a/GMW_Term/images/logo_sw.jpg b/GMW_Term/images/logo_sw.jpg new file mode 100644 index 00000000..2693f9f6 Binary files /dev/null and b/GMW_Term/images/logo_sw.jpg differ diff --git a/GMW_Term/images/new_l.png b/GMW_Term/images/new_l.png new file mode 100644 index 00000000..90fec1df Binary files /dev/null and b/GMW_Term/images/new_l.png differ diff --git a/GMW_Term/images/new_m.png b/GMW_Term/images/new_m.png new file mode 100644 index 00000000..e2823bac Binary files /dev/null and b/GMW_Term/images/new_m.png differ diff --git a/GMW_Term/images/new_s.png b/GMW_Term/images/new_s.png new file mode 100644 index 00000000..e9485082 Binary files /dev/null and b/GMW_Term/images/new_s.png differ diff --git a/GMW_Term/images/squareDis_m_0.jpg b/GMW_Term/images/squareDis_m_0.jpg new file mode 100644 index 00000000..0aca4531 Binary files /dev/null and b/GMW_Term/images/squareDis_m_0.jpg differ diff --git a/GMW_Term/images/squareDis_m_1.jpg b/GMW_Term/images/squareDis_m_1.jpg new file mode 100644 index 00000000..0eeb17e0 Binary files /dev/null and b/GMW_Term/images/squareDis_m_1.jpg differ diff --git a/GMW_Term/images/squareDis_m_2.jpg b/GMW_Term/images/squareDis_m_2.jpg new file mode 100644 index 00000000..bd5adf3e Binary files /dev/null and b/GMW_Term/images/squareDis_m_2.jpg differ diff --git a/GMW_Term/images/squareDis_m_3.jpg b/GMW_Term/images/squareDis_m_3.jpg new file mode 100644 index 00000000..78a1ee02 Binary files /dev/null and b/GMW_Term/images/squareDis_m_3.jpg differ diff --git a/GMW_Term/images/squareDis_m_4.jpg b/GMW_Term/images/squareDis_m_4.jpg new file mode 100644 index 00000000..5e59a51a Binary files /dev/null and b/GMW_Term/images/squareDis_m_4.jpg differ diff --git a/GMW_Term/images/squareDis_s_0.jpg b/GMW_Term/images/squareDis_s_0.jpg new file mode 100644 index 00000000..8f7a84ed Binary files /dev/null and b/GMW_Term/images/squareDis_s_0.jpg differ diff --git a/GMW_Term/images/squareDis_s_1.jpg b/GMW_Term/images/squareDis_s_1.jpg new file mode 100644 index 00000000..5320c38d Binary files /dev/null and b/GMW_Term/images/squareDis_s_1.jpg differ diff --git a/GMW_Term/images/squareDis_s_2.jpg b/GMW_Term/images/squareDis_s_2.jpg new file mode 100644 index 00000000..a6fb80d9 Binary files /dev/null and b/GMW_Term/images/squareDis_s_2.jpg differ diff --git a/GMW_Term/images/squareDis_s_3.jpg b/GMW_Term/images/squareDis_s_3.jpg new file mode 100644 index 00000000..5061fb41 Binary files /dev/null and b/GMW_Term/images/squareDis_s_3.jpg differ diff --git a/GMW_Term/images/squareDis_s_4.jpg b/GMW_Term/images/squareDis_s_4.jpg new file mode 100644 index 00000000..e75982e5 Binary files /dev/null and b/GMW_Term/images/squareDis_s_4.jpg differ diff --git a/GMW_Term/images/square_m_0.jpg b/GMW_Term/images/square_m_0.jpg new file mode 100644 index 00000000..e0320e2a Binary files /dev/null and b/GMW_Term/images/square_m_0.jpg differ diff --git a/GMW_Term/images/square_m_1.jpg b/GMW_Term/images/square_m_1.jpg new file mode 100644 index 00000000..9aad3238 Binary files /dev/null and b/GMW_Term/images/square_m_1.jpg differ diff --git a/GMW_Term/images/square_m_2.jpg b/GMW_Term/images/square_m_2.jpg new file mode 100644 index 00000000..b8f01199 Binary files /dev/null and b/GMW_Term/images/square_m_2.jpg differ diff --git a/GMW_Term/images/square_m_3.jpg b/GMW_Term/images/square_m_3.jpg new file mode 100644 index 00000000..b17fd8ae Binary files /dev/null and b/GMW_Term/images/square_m_3.jpg differ diff --git a/GMW_Term/images/square_m_4.jpg b/GMW_Term/images/square_m_4.jpg new file mode 100644 index 00000000..aae31f17 Binary files /dev/null and b/GMW_Term/images/square_m_4.jpg differ diff --git a/GMW_Term/images/square_s_0.jpg b/GMW_Term/images/square_s_0.jpg new file mode 100644 index 00000000..3d3dc561 Binary files /dev/null and b/GMW_Term/images/square_s_0.jpg differ diff --git a/GMW_Term/images/square_s_1.jpg b/GMW_Term/images/square_s_1.jpg new file mode 100644 index 00000000..0be53ccd Binary files /dev/null and b/GMW_Term/images/square_s_1.jpg differ diff --git a/GMW_Term/images/square_s_2.jpg b/GMW_Term/images/square_s_2.jpg new file mode 100644 index 00000000..62407625 Binary files /dev/null and b/GMW_Term/images/square_s_2.jpg differ diff --git a/GMW_Term/images/square_s_3.jpg b/GMW_Term/images/square_s_3.jpg new file mode 100644 index 00000000..27e05b8b Binary files /dev/null and b/GMW_Term/images/square_s_3.jpg differ diff --git a/GMW_Term/images/square_s_4.jpg b/GMW_Term/images/square_s_4.jpg new file mode 100644 index 00000000..c485c8db Binary files /dev/null and b/GMW_Term/images/square_s_4.jpg differ diff --git a/GMW_Term/images/ui-bg_diagonals-thick_18_b81900_40x40.png b/GMW_Term/images/ui-bg_diagonals-thick_18_b81900_40x40.png new file mode 100644 index 00000000..954e22db Binary files /dev/null and b/GMW_Term/images/ui-bg_diagonals-thick_18_b81900_40x40.png differ diff --git a/GMW_Term/images/ui-bg_diagonals-thick_20_666666_40x40.png b/GMW_Term/images/ui-bg_diagonals-thick_20_666666_40x40.png new file mode 100644 index 00000000..64ece570 Binary files /dev/null and b/GMW_Term/images/ui-bg_diagonals-thick_20_666666_40x40.png differ diff --git a/GMW_Term/images/ui-bg_flat_10_000000_40x100.png b/GMW_Term/images/ui-bg_flat_10_000000_40x100.png new file mode 100644 index 00000000..abdc0108 Binary files /dev/null and b/GMW_Term/images/ui-bg_flat_10_000000_40x100.png differ diff --git a/GMW_Term/images/ui-bg_glass_100_f6f6f6_1x400.png b/GMW_Term/images/ui-bg_glass_100_f6f6f6_1x400.png new file mode 100644 index 00000000..9b383f4d Binary files /dev/null and b/GMW_Term/images/ui-bg_glass_100_f6f6f6_1x400.png differ diff --git a/GMW_Term/images/ui-bg_glass_100_fdf5ce_1x400.png b/GMW_Term/images/ui-bg_glass_100_fdf5ce_1x400.png new file mode 100644 index 00000000..a23baad2 Binary files /dev/null and b/GMW_Term/images/ui-bg_glass_100_fdf5ce_1x400.png differ diff --git a/GMW_Term/images/ui-bg_glass_65_ffffff_1x400.png b/GMW_Term/images/ui-bg_glass_65_ffffff_1x400.png new file mode 100644 index 00000000..42ccba26 Binary files /dev/null and b/GMW_Term/images/ui-bg_glass_65_ffffff_1x400.png differ diff --git a/GMW_Term/images/ui-bg_gloss-wave_35_f6a828_500x100.png b/GMW_Term/images/ui-bg_gloss-wave_35_f6a828_500x100.png new file mode 100644 index 00000000..39d5824d Binary files /dev/null and b/GMW_Term/images/ui-bg_gloss-wave_35_f6a828_500x100.png differ diff --git a/GMW_Term/images/ui-bg_highlight-soft_100_eeeeee_1x100.png b/GMW_Term/images/ui-bg_highlight-soft_100_eeeeee_1x100.png new file mode 100644 index 00000000..f1273672 Binary files /dev/null and b/GMW_Term/images/ui-bg_highlight-soft_100_eeeeee_1x100.png differ diff --git a/GMW_Term/images/ui-bg_highlight-soft_75_ffe45c_1x100.png b/GMW_Term/images/ui-bg_highlight-soft_75_ffe45c_1x100.png new file mode 100644 index 00000000..359397ac Binary files /dev/null and b/GMW_Term/images/ui-bg_highlight-soft_75_ffe45c_1x100.png differ diff --git a/GMW_Term/images/ui-icons_222222_256x240.png b/GMW_Term/images/ui-icons_222222_256x240.png new file mode 100644 index 00000000..b273ff11 Binary files /dev/null and b/GMW_Term/images/ui-icons_222222_256x240.png differ diff --git a/GMW_Term/images/ui-icons_228ef1_256x240.png b/GMW_Term/images/ui-icons_228ef1_256x240.png new file mode 100644 index 00000000..a641a371 Binary files /dev/null and b/GMW_Term/images/ui-icons_228ef1_256x240.png differ diff --git a/GMW_Term/images/ui-icons_ef8c08_256x240.png b/GMW_Term/images/ui-icons_ef8c08_256x240.png new file mode 100644 index 00000000..85e63e9f Binary files /dev/null and b/GMW_Term/images/ui-icons_ef8c08_256x240.png differ diff --git a/GMW_Term/images/ui-icons_ffd27a_256x240.png b/GMW_Term/images/ui-icons_ffd27a_256x240.png new file mode 100644 index 00000000..d9dc5093 Binary files /dev/null and b/GMW_Term/images/ui-icons_ffd27a_256x240.png differ diff --git a/GMW_Term/images/ui-icons_ffffff_256x240.png b/GMW_Term/images/ui-icons_ffffff_256x240.png new file mode 100644 index 00000000..42f8f992 Binary files /dev/null and b/GMW_Term/images/ui-icons_ffffff_256x240.png differ diff --git a/GMW_Term/images/view_l.png b/GMW_Term/images/view_l.png new file mode 100644 index 00000000..de5ef3a1 Binary files /dev/null and b/GMW_Term/images/view_l.png differ diff --git a/GMW_Term/images/view_m.png b/GMW_Term/images/view_m.png new file mode 100644 index 00000000..e845f6d5 Binary files /dev/null and b/GMW_Term/images/view_m.png differ diff --git a/GMW_Term/images/view_s.png b/GMW_Term/images/view_s.png new file mode 100644 index 00000000..2833b7a0 Binary files /dev/null and b/GMW_Term/images/view_s.png differ diff --git a/GMW_Term/interrMov.aspx b/GMW_Term/interrMov.aspx new file mode 100644 index 00000000..fea00fe9 --- /dev/null +++ b/GMW_Term/interrMov.aspx @@ -0,0 +1,9 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/CompactBCode.Master" AutoEventWireup="true" CodeBehind="interrMov.aspx.cs" Inherits="GMW_Term.interrMov" %> +<%@ Register src="WebUserControls/mod_interrMov.ascx" tagname="mod_interrMov" tagprefix="uc1" %> +<%@ Register src="WebUserControls/mod_barcode.ascx" tagname="mod_barcode" tagprefix="uc2" %> + + + + + + diff --git a/GMW_Term/interrMov.aspx.cs b/GMW_Term/interrMov.aspx.cs new file mode 100644 index 00000000..c9db6dd6 --- /dev/null +++ b/GMW_Term/interrMov.aspx.cs @@ -0,0 +1,67 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +namespace GMW_Term +{ + public partial class interrMov : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + // imposto valori visibilità barcode specifici (nascondo testo...) + mod_barcode1.valoreScan = ""; + mod_barcode1.showHeaderText = true; + mod_barcode1.showNoteText = true; + // imposto controllo valori scansionati + mod_barcode1.eh_scannedUdc += new EventHandler(mod_barcode1_eh_scannedUdc); + mod_barcode1.eh_scannedCella += new EventHandler(mod_barcode1_eh_scannedCella); + checkVisibility(); + // imposto btnHome + mod_barcode1.homeBtnText = "btnTermMenuMov"; + mod_barcode1.homeBtnLink = "~/MenuMov.aspx"; + } + /// + /// controllo visibilità dati valori in sessione + /// + private void checkVisibility() + { + bool filtUdc = memLayer.ML.isInSessionObject("UDC4det_sel"); + bool filtCella = memLayer.ML.isInSessionObject("codCella4det_sel"); + if (filtCella || filtUdc) + { + mod_barcode1.Visible = false; + } + else + { + mod_barcode1.Visible = true; + } + } + /// + /// mostro dettaglio UDC + /// + /// + /// + void mod_barcode1_eh_scannedUdc(object sender, EventArgs e) + { + memLayer.ML.emptySessionVal("IdxCella_sel"); + memLayer.ML.emptySessionVal("codCella_sel"); + mod_barcode1.Visible = false; + mod_interrMov1.showUdcDetail(mod_barcode1.valoreScan); + } + /// + /// mostro dettaglio cella + /// + /// + /// + void mod_barcode1_eh_scannedCella(object sender, EventArgs e) + { + //memLayer.ML.emptySessionVal("UDC_sel"); + GMW_data.TermClass.Ter.resetScanBarcode(true, false, false); + mod_barcode1.Visible = false; + mod_interrMov1.showCellaDetail(mod_barcode1.valoreScan); + } + } +} diff --git a/GMW_Term/interrMov.aspx.designer.cs b/GMW_Term/interrMov.aspx.designer.cs new file mode 100644 index 00000000..b5eae56e --- /dev/null +++ b/GMW_Term/interrMov.aspx.designer.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// 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_Term { + + + public partial class interrMov { + + /// + /// mod_barcode1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW_Term.WebUserControls.mod_barcode mod_barcode1; + + /// + /// mod_interrMov1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW_Term.WebUserControls.mod_interrMov mod_interrMov1; + } +} diff --git a/GMW_Term/logs/20120823.txt b/GMW_Term/logs/20120823.txt new file mode 100644 index 00000000..1fa79498 --- /dev/null +++ b/GMW_Term/logs/20120823.txt @@ -0,0 +1,6 @@ +14.05.34 5236 [ERROR] - | ::1 | Errore: perso user da sessione: IP ::1, user-barcode '' +14.08.42 0825 [ERROR] - | ::1 | Errore: perso user da sessione: IP ::1, user-barcode '' +14.17.35 4593 [ERROR] - | ::1 | Errore: perso user da sessione: IP ::1, user-barcode '' +14.22.44 0602 [ERROR] - | ::1 | Errore: perso user da sessione: IP ::1, user-barcode '' +14.22.57 0180 [ERROR] - | ::1 | Errore: perso user da sessione: IP ::1, user-barcode '' +14.23.59 7193 [ERROR] - | ::1 | Errore: perso user da sessione: IP ::1, user-barcode '' diff --git a/GMW_Term/makeMov.aspx b/GMW_Term/makeMov.aspx new file mode 100644 index 00000000..d95cf74a --- /dev/null +++ b/GMW_Term/makeMov.aspx @@ -0,0 +1,9 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/CompactBCode.Master" AutoEventWireup="true" CodeBehind="makeMov.aspx.cs" Inherits="GMW_Term.makeMov" %> +<%@ Register src="WebUserControls/mod_makeMov.ascx" tagname="mod_makeMov" tagprefix="uc1" %> +<%@ Register src="WebUserControls/mod_barcode.ascx" tagname="mod_barcode" tagprefix="uc2" %> + + + + + + diff --git a/GMW_Term/makeMov.aspx.cs b/GMW_Term/makeMov.aspx.cs new file mode 100644 index 00000000..a5d3e8e1 --- /dev/null +++ b/GMW_Term/makeMov.aspx.cs @@ -0,0 +1,33 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace GMW_Term +{ + public partial class makeMov : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + // imposto valori visibilità barcode specifici (nascondo testo...) + mod_barcode1.showHeaderText = true; + mod_barcode1.showNoteText = true; + // imposto controllo valori scansionati + mod_barcode1.eh_scannedUdc += new EventHandler(mod_barcode1_eh_scannedUdc); + mod_barcode1.eh_scannedCella += new EventHandler(mod_barcode1_eh_scannedCella); + // imposto btnHome + mod_barcode1.homeBtnText = "btnTermMenuMov"; + mod_barcode1.homeBtnLink = "~/MenuMov.aspx"; + } + void mod_barcode1_eh_scannedCella(object sender, EventArgs e) + { + Response.Redirect("~/makeMov.aspx"); + } + void mod_barcode1_eh_scannedUdc(object sender, EventArgs e) + { + Response.Redirect("~/makeMov.aspx"); + } + } +} diff --git a/GMW_Term/makeMov.aspx.designer.cs b/GMW_Term/makeMov.aspx.designer.cs new file mode 100644 index 00000000..2512f5fc --- /dev/null +++ b/GMW_Term/makeMov.aspx.designer.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// 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_Term { + + + public partial class makeMov { + + /// + /// mod_barcode1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW_Term.WebUserControls.mod_barcode mod_barcode1; + + /// + /// mod_makeMov1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW_Term.WebUserControls.mod_makeMov mod_makeMov1; + } +} diff --git a/GMW_Term/menuLDP.aspx b/GMW_Term/menuLDP.aspx new file mode 100644 index 00000000..ff3caaa0 --- /dev/null +++ b/GMW_Term/menuLDP.aspx @@ -0,0 +1,7 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/Compact.Master" AutoEventWireup="true" CodeBehind="menuLDP.aspx.cs" Inherits="GMW_Term.menuLDP" %> +<%@ Register src="WebUserControls/mod_menuLDP.ascx" tagname="mod_menuLDP" tagprefix="uc1" %> + + + + + diff --git a/GMW_Term/menuLDP.aspx.cs b/GMW_Term/menuLDP.aspx.cs new file mode 100644 index 00000000..a2a01619 --- /dev/null +++ b/GMW_Term/menuLDP.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace GMW_Term +{ + public partial class menuLDP : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} diff --git a/GMW_Term/menuLDP.aspx.designer.cs b/GMW_Term/menuLDP.aspx.designer.cs new file mode 100644 index 00000000..52619cca --- /dev/null +++ b/GMW_Term/menuLDP.aspx.designer.cs @@ -0,0 +1,25 @@ +//------------------------------------------------------------------------------ +// +// 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_Term { + + + public partial class menuLDP { + + /// + /// mod_menuLDP1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW_Term.WebUserControls.mod_menuLDP mod_menuLDP1; + } +} diff --git a/GMW_Term/menuMov.aspx b/GMW_Term/menuMov.aspx new file mode 100644 index 00000000..7d20566e --- /dev/null +++ b/GMW_Term/menuMov.aspx @@ -0,0 +1,7 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/Compact.Master" AutoEventWireup="true" CodeBehind="menuMov.aspx.cs" Inherits="GMW_Term.menuMov" %> +<%@ Register src="WebUserControls/mod_menuMov.ascx" tagname="mod_menuMov" tagprefix="uc1" %> + + + + + diff --git a/GMW_Term/menuMov.aspx.cs b/GMW_Term/menuMov.aspx.cs new file mode 100644 index 00000000..1ef6dab2 --- /dev/null +++ b/GMW_Term/menuMov.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace GMW_Term +{ + public partial class menuMov : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} diff --git a/GMW_Term/menuMov.aspx.designer.cs b/GMW_Term/menuMov.aspx.designer.cs new file mode 100644 index 00000000..ba53405c --- /dev/null +++ b/GMW_Term/menuMov.aspx.designer.cs @@ -0,0 +1,25 @@ +//------------------------------------------------------------------------------ +// +// 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_Term { + + + public partial class menuMov { + + /// + /// mod_menuMov1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW_Term.WebUserControls.mod_menuMov mod_menuMov1; + } +} diff --git a/GMW_Term/setupTgt.bat b/GMW_Term/setupTgt.bat new file mode 100644 index 00000000..605e466b --- /dev/null +++ b/GMW_Term/setupTgt.bat @@ -0,0 +1,44 @@ +@echo off +echo Effettua setup dei file specifici per i 2 ambienti SP/TK pre build installer: verifica da nome configurazione %1 + +if %1 == "Release" goto Release +if %1 == "Debug" goto Debug +if %1 == "SP_prod" goto SP_prod +if %1 == "TK_prod" goto TK_prod +if %1 == "SP_test" goto SP_test +if %1 == "TK_test" goto TK_test + +:Release +echo Release: non devo copiare nulla +goto END + +:Debug +echo Debug: non devo copiare nulla +goto END + +:Installer +echo Installer: non devo copiare nulla +goto END + +:SP_prod +echo SP_prod: copio files San Possidonio +copy %2"Style_prod.css" %2"Style.css" +goto END + +:TK_prod +echo TK_prod: copio files Tekal +copy %2"Style_prod.css" %2"Style.css" +goto END + +:SP_test +echo SP_test: copio files San Possidonio +copy %2"Style_test.css" %2"Style.css" +goto END + +:TK_test +echo TK_test: copio files Tekal +copy %2"Style_test.css" %2"Style.css" +goto END + +:END +echo Fatto! \ No newline at end of file diff --git a/GMW_Terminus.sln b/GMW_Terminus.sln new file mode 100644 index 00000000..bd814756 --- /dev/null +++ b/GMW_Terminus.sln @@ -0,0 +1,60 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SteamWare", "..\SteamWare\SteamWare.csproj", "{2872DCFE-8B46-43B2-BAA0-842A816A2DD5}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GMW_data", "GMW_data\GMW_data.csproj", "{47143721-A018-4BDA-B544-EC3E10BC87A2}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GMW_Term", "GMW_Term\GMW_Term.csproj", "{E6F8C94F-4D3D-4457-8FC4-848490EA1972}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + SP_prod|Any CPU = SP_prod|Any CPU + SP_test|Any CPU = SP_test|Any CPU + TK_prod|Any CPU = TK_prod|Any CPU + TK_test|Any CPU = TK_test|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.Release|Any CPU.Build.0 = Release|Any CPU + {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.SP_prod|Any CPU.ActiveCfg = SP_prod|Any CPU + {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.SP_prod|Any CPU.Build.0 = SP_prod|Any CPU + {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.SP_test|Any CPU.ActiveCfg = SP_test|Any CPU + {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.SP_test|Any CPU.Build.0 = SP_test|Any CPU + {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.TK_prod|Any CPU.ActiveCfg = TK_prod|Any CPU + {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.TK_prod|Any CPU.Build.0 = TK_prod|Any CPU + {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.TK_test|Any CPU.ActiveCfg = TK_test|Any CPU + {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.TK_test|Any CPU.Build.0 = TK_test|Any CPU + {47143721-A018-4BDA-B544-EC3E10BC87A2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {47143721-A018-4BDA-B544-EC3E10BC87A2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {47143721-A018-4BDA-B544-EC3E10BC87A2}.Release|Any CPU.ActiveCfg = Release|Any CPU + {47143721-A018-4BDA-B544-EC3E10BC87A2}.Release|Any CPU.Build.0 = Release|Any CPU + {47143721-A018-4BDA-B544-EC3E10BC87A2}.SP_prod|Any CPU.ActiveCfg = SP_prod|Any CPU + {47143721-A018-4BDA-B544-EC3E10BC87A2}.SP_prod|Any CPU.Build.0 = SP_prod|Any CPU + {47143721-A018-4BDA-B544-EC3E10BC87A2}.SP_test|Any CPU.ActiveCfg = SP_test|Any CPU + {47143721-A018-4BDA-B544-EC3E10BC87A2}.SP_test|Any CPU.Build.0 = SP_test|Any CPU + {47143721-A018-4BDA-B544-EC3E10BC87A2}.TK_prod|Any CPU.ActiveCfg = TK_prod|Any CPU + {47143721-A018-4BDA-B544-EC3E10BC87A2}.TK_prod|Any CPU.Build.0 = TK_prod|Any CPU + {47143721-A018-4BDA-B544-EC3E10BC87A2}.TK_test|Any CPU.ActiveCfg = TK_test|Any CPU + {47143721-A018-4BDA-B544-EC3E10BC87A2}.TK_test|Any CPU.Build.0 = TK_test|Any CPU + {E6F8C94F-4D3D-4457-8FC4-848490EA1972}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E6F8C94F-4D3D-4457-8FC4-848490EA1972}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E6F8C94F-4D3D-4457-8FC4-848490EA1972}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E6F8C94F-4D3D-4457-8FC4-848490EA1972}.Release|Any CPU.Build.0 = Release|Any CPU + {E6F8C94F-4D3D-4457-8FC4-848490EA1972}.SP_prod|Any CPU.ActiveCfg = SP_prod|Any CPU + {E6F8C94F-4D3D-4457-8FC4-848490EA1972}.SP_prod|Any CPU.Build.0 = SP_prod|Any CPU + {E6F8C94F-4D3D-4457-8FC4-848490EA1972}.SP_test|Any CPU.ActiveCfg = SP_test|Any CPU + {E6F8C94F-4D3D-4457-8FC4-848490EA1972}.SP_test|Any CPU.Build.0 = SP_test|Any CPU + {E6F8C94F-4D3D-4457-8FC4-848490EA1972}.TK_prod|Any CPU.ActiveCfg = TK_prod|Any CPU + {E6F8C94F-4D3D-4457-8FC4-848490EA1972}.TK_prod|Any CPU.Build.0 = TK_prod|Any CPU + {E6F8C94F-4D3D-4457-8FC4-848490EA1972}.TK_test|Any CPU.ActiveCfg = TK_Test|Any CPU + {E6F8C94F-4D3D-4457-8FC4-848490EA1972}.TK_test|Any CPU.Build.0 = TK_Test|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/GMW_data/DS_Applicazione.Designer.cs b/GMW_data/DS_Applicazione.Designer.cs new file mode 100644 index 00000000..178a1748 --- /dev/null +++ b/GMW_data/DS_Applicazione.Designer.cs @@ -0,0 +1,24794 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.17626 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +#pragma warning disable 1591 + +namespace GMW_data { + + + /// + ///Represents a strongly typed in-memory cache of data. + /// + [global::System.Serializable()] + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")] + [global::System.Xml.Serialization.XmlRootAttribute("DS_Applicazione")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")] + public partial class DS_Applicazione : global::System.Data.DataSet { + + private AnagStatiDataTable tableAnagStati; + + private AnagTipoDichiarazDataTable tableAnagTipoDichiaraz; + + private AnagStatiProdottoDataTable tableAnagStatiProdotto; + + private RelazUDCDataTable tableRelazUDC; + + private AnagImpiantiDataTable tableAnagImpianti; + + private AnagCompanySitoDataTable tableAnagCompanySito; + + private AnagBilanceDataTable tableAnagBilance; + + private ElencoCartelliniDataTable tableElencoCartellini; + + private AnagImballiDataTable tableAnagImballi; + + private v_ArtInProdDataTable tablev_ArtInProd; + + private AnagOperatoriDataTable tableAnagOperatori; + + private AnagClientiDataTable tableAnagClienti; + + private AnagParticolariDataTable tableAnagParticolari; + + private AnagFamiglieDataTable tableAnagFamiglie; + + private Soggetti2UtenteDataTable tableSoggetti2Utente; + + private v_specParticolariDataTable tablev_specParticolari; + + private ElencoPostazioniDataTable tableElencoPostazioni; + + private stp_prtCartLiquidiF10ByUDCDataTable tablestp_prtCartLiquidiF10ByUDC; + + private stp_prtCartLiquidiF18ByUDCDataTable tablestp_prtCartLiquidiF18ByUDC; + + private v_RapQualNoteDataTable tablev_RapQualNote; + + private global::System.Data.DataRelation relationFK_AnagImpianti_AnagCompanySito; + + private global::System.Data.DataRelation relationFK_ElencoCartellini_AnagCompanySito; + + private global::System.Data.DataRelation relationFK_ElencoCartellini_AnagStatiProdotto; + + private global::System.Data.DataRelation relationFK_AnagOperatori_AnagCompanySito; + + private global::System.Data.DataRelation relationFK_AnagParticolari_AnagCompanySito; + + private global::System.Data.DataRelation relationFK_Soggetti2Utente_AnagOperatori; + + private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public DS_Applicazione() { + this.BeginInit(); + this.InitClass(); + global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); + base.Tables.CollectionChanged += schemaChangedHandler; + base.Relations.CollectionChanged += schemaChangedHandler; + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected DS_Applicazione(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context, false) { + if ((this.IsBinarySerialized(info, context) == true)) { + this.InitVars(false); + global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); + this.Tables.CollectionChanged += schemaChangedHandler1; + this.Relations.CollectionChanged += schemaChangedHandler1; + return; + } + string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string)))); + if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { + global::System.Data.DataSet ds = new global::System.Data.DataSet(); + ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); + if ((ds.Tables["AnagStati"] != null)) { + base.Tables.Add(new AnagStatiDataTable(ds.Tables["AnagStati"])); + } + if ((ds.Tables["AnagTipoDichiaraz"] != null)) { + base.Tables.Add(new AnagTipoDichiarazDataTable(ds.Tables["AnagTipoDichiaraz"])); + } + if ((ds.Tables["AnagStatiProdotto"] != null)) { + base.Tables.Add(new AnagStatiProdottoDataTable(ds.Tables["AnagStatiProdotto"])); + } + if ((ds.Tables["RelazUDC"] != null)) { + base.Tables.Add(new RelazUDCDataTable(ds.Tables["RelazUDC"])); + } + if ((ds.Tables["AnagImpianti"] != null)) { + base.Tables.Add(new AnagImpiantiDataTable(ds.Tables["AnagImpianti"])); + } + if ((ds.Tables["AnagCompanySito"] != null)) { + base.Tables.Add(new AnagCompanySitoDataTable(ds.Tables["AnagCompanySito"])); + } + if ((ds.Tables["AnagBilance"] != null)) { + base.Tables.Add(new AnagBilanceDataTable(ds.Tables["AnagBilance"])); + } + if ((ds.Tables["ElencoCartellini"] != null)) { + base.Tables.Add(new ElencoCartelliniDataTable(ds.Tables["ElencoCartellini"])); + } + if ((ds.Tables["AnagImballi"] != null)) { + base.Tables.Add(new AnagImballiDataTable(ds.Tables["AnagImballi"])); + } + if ((ds.Tables["v_ArtInProd"] != null)) { + base.Tables.Add(new v_ArtInProdDataTable(ds.Tables["v_ArtInProd"])); + } + if ((ds.Tables["AnagOperatori"] != null)) { + base.Tables.Add(new AnagOperatoriDataTable(ds.Tables["AnagOperatori"])); + } + if ((ds.Tables["AnagClienti"] != null)) { + base.Tables.Add(new AnagClientiDataTable(ds.Tables["AnagClienti"])); + } + if ((ds.Tables["AnagParticolari"] != null)) { + base.Tables.Add(new AnagParticolariDataTable(ds.Tables["AnagParticolari"])); + } + if ((ds.Tables["AnagFamiglie"] != null)) { + base.Tables.Add(new AnagFamiglieDataTable(ds.Tables["AnagFamiglie"])); + } + if ((ds.Tables["Soggetti2Utente"] != null)) { + base.Tables.Add(new Soggetti2UtenteDataTable(ds.Tables["Soggetti2Utente"])); + } + if ((ds.Tables["v_specParticolari"] != null)) { + base.Tables.Add(new v_specParticolariDataTable(ds.Tables["v_specParticolari"])); + } + if ((ds.Tables["ElencoPostazioni"] != null)) { + base.Tables.Add(new ElencoPostazioniDataTable(ds.Tables["ElencoPostazioni"])); + } + if ((ds.Tables["stp_prtCartLiquidiF10ByUDC"] != null)) { + base.Tables.Add(new stp_prtCartLiquidiF10ByUDCDataTable(ds.Tables["stp_prtCartLiquidiF10ByUDC"])); + } + if ((ds.Tables["stp_prtCartLiquidiF18ByUDC"] != null)) { + base.Tables.Add(new stp_prtCartLiquidiF18ByUDCDataTable(ds.Tables["stp_prtCartLiquidiF18ByUDC"])); + } + if ((ds.Tables["v_RapQualNote"] != null)) { + base.Tables.Add(new v_RapQualNoteDataTable(ds.Tables["v_RapQualNote"])); + } + this.DataSetName = ds.DataSetName; + this.Prefix = ds.Prefix; + this.Namespace = ds.Namespace; + this.Locale = ds.Locale; + this.CaseSensitive = ds.CaseSensitive; + this.EnforceConstraints = ds.EnforceConstraints; + this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add); + this.InitVars(); + } + else { + this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); + } + this.GetSerializationData(info, context); + global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); + base.Tables.CollectionChanged += schemaChangedHandler; + this.Relations.CollectionChanged += schemaChangedHandler; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public AnagStatiDataTable AnagStati { + get { + return this.tableAnagStati; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public AnagTipoDichiarazDataTable AnagTipoDichiaraz { + get { + return this.tableAnagTipoDichiaraz; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public AnagStatiProdottoDataTable AnagStatiProdotto { + get { + return this.tableAnagStatiProdotto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public RelazUDCDataTable RelazUDC { + get { + return this.tableRelazUDC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public AnagImpiantiDataTable AnagImpianti { + get { + return this.tableAnagImpianti; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public AnagCompanySitoDataTable AnagCompanySito { + get { + return this.tableAnagCompanySito; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public AnagBilanceDataTable AnagBilance { + get { + return this.tableAnagBilance; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public ElencoCartelliniDataTable ElencoCartellini { + get { + return this.tableElencoCartellini; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public AnagImballiDataTable AnagImballi { + get { + return this.tableAnagImballi; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_ArtInProdDataTable v_ArtInProd { + get { + return this.tablev_ArtInProd; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public AnagOperatoriDataTable AnagOperatori { + get { + return this.tableAnagOperatori; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public AnagClientiDataTable AnagClienti { + get { + return this.tableAnagClienti; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public AnagParticolariDataTable AnagParticolari { + get { + return this.tableAnagParticolari; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public AnagFamiglieDataTable AnagFamiglie { + get { + return this.tableAnagFamiglie; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public Soggetti2UtenteDataTable Soggetti2Utente { + get { + return this.tableSoggetti2Utente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_specParticolariDataTable v_specParticolari { + get { + return this.tablev_specParticolari; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public ElencoPostazioniDataTable ElencoPostazioni { + get { + return this.tableElencoPostazioni; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public stp_prtCartLiquidiF10ByUDCDataTable stp_prtCartLiquidiF10ByUDC { + get { + return this.tablestp_prtCartLiquidiF10ByUDC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public stp_prtCartLiquidiF18ByUDCDataTable stp_prtCartLiquidiF18ByUDC { + get { + return this.tablestp_prtCartLiquidiF18ByUDC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_RapQualNoteDataTable v_RapQualNote { + get { + return this.tablev_RapQualNote; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.BrowsableAttribute(true)] + [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)] + public override global::System.Data.SchemaSerializationMode SchemaSerializationMode { + get { + return this._schemaSerializationMode; + } + set { + this._schemaSerializationMode = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public new global::System.Data.DataTableCollection Tables { + get { + return base.Tables; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public new global::System.Data.DataRelationCollection Relations { + get { + return base.Relations; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void InitializeDerivedDataSet() { + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataSet Clone() { + DS_Applicazione cln = ((DS_Applicazione)(base.Clone())); + cln.InitVars(); + cln.SchemaSerializationMode = this.SchemaSerializationMode; + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override bool ShouldSerializeTables() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override bool ShouldSerializeRelations() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) { + if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { + this.Reset(); + global::System.Data.DataSet ds = new global::System.Data.DataSet(); + ds.ReadXml(reader); + if ((ds.Tables["AnagStati"] != null)) { + base.Tables.Add(new AnagStatiDataTable(ds.Tables["AnagStati"])); + } + if ((ds.Tables["AnagTipoDichiaraz"] != null)) { + base.Tables.Add(new AnagTipoDichiarazDataTable(ds.Tables["AnagTipoDichiaraz"])); + } + if ((ds.Tables["AnagStatiProdotto"] != null)) { + base.Tables.Add(new AnagStatiProdottoDataTable(ds.Tables["AnagStatiProdotto"])); + } + if ((ds.Tables["RelazUDC"] != null)) { + base.Tables.Add(new RelazUDCDataTable(ds.Tables["RelazUDC"])); + } + if ((ds.Tables["AnagImpianti"] != null)) { + base.Tables.Add(new AnagImpiantiDataTable(ds.Tables["AnagImpianti"])); + } + if ((ds.Tables["AnagCompanySito"] != null)) { + base.Tables.Add(new AnagCompanySitoDataTable(ds.Tables["AnagCompanySito"])); + } + if ((ds.Tables["AnagBilance"] != null)) { + base.Tables.Add(new AnagBilanceDataTable(ds.Tables["AnagBilance"])); + } + if ((ds.Tables["ElencoCartellini"] != null)) { + base.Tables.Add(new ElencoCartelliniDataTable(ds.Tables["ElencoCartellini"])); + } + if ((ds.Tables["AnagImballi"] != null)) { + base.Tables.Add(new AnagImballiDataTable(ds.Tables["AnagImballi"])); + } + if ((ds.Tables["v_ArtInProd"] != null)) { + base.Tables.Add(new v_ArtInProdDataTable(ds.Tables["v_ArtInProd"])); + } + if ((ds.Tables["AnagOperatori"] != null)) { + base.Tables.Add(new AnagOperatoriDataTable(ds.Tables["AnagOperatori"])); + } + if ((ds.Tables["AnagClienti"] != null)) { + base.Tables.Add(new AnagClientiDataTable(ds.Tables["AnagClienti"])); + } + if ((ds.Tables["AnagParticolari"] != null)) { + base.Tables.Add(new AnagParticolariDataTable(ds.Tables["AnagParticolari"])); + } + if ((ds.Tables["AnagFamiglie"] != null)) { + base.Tables.Add(new AnagFamiglieDataTable(ds.Tables["AnagFamiglie"])); + } + if ((ds.Tables["Soggetti2Utente"] != null)) { + base.Tables.Add(new Soggetti2UtenteDataTable(ds.Tables["Soggetti2Utente"])); + } + if ((ds.Tables["v_specParticolari"] != null)) { + base.Tables.Add(new v_specParticolariDataTable(ds.Tables["v_specParticolari"])); + } + if ((ds.Tables["ElencoPostazioni"] != null)) { + base.Tables.Add(new ElencoPostazioniDataTable(ds.Tables["ElencoPostazioni"])); + } + if ((ds.Tables["stp_prtCartLiquidiF10ByUDC"] != null)) { + base.Tables.Add(new stp_prtCartLiquidiF10ByUDCDataTable(ds.Tables["stp_prtCartLiquidiF10ByUDC"])); + } + if ((ds.Tables["stp_prtCartLiquidiF18ByUDC"] != null)) { + base.Tables.Add(new stp_prtCartLiquidiF18ByUDCDataTable(ds.Tables["stp_prtCartLiquidiF18ByUDC"])); + } + if ((ds.Tables["v_RapQualNote"] != null)) { + base.Tables.Add(new v_RapQualNoteDataTable(ds.Tables["v_RapQualNote"])); + } + this.DataSetName = ds.DataSetName; + this.Prefix = ds.Prefix; + this.Namespace = ds.Namespace; + this.Locale = ds.Locale; + this.CaseSensitive = ds.CaseSensitive; + this.EnforceConstraints = ds.EnforceConstraints; + this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add); + this.InitVars(); + } + else { + this.ReadXml(reader); + this.InitVars(); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() { + global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream(); + this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null)); + stream.Position = 0; + return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.InitVars(true); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars(bool initTable) { + this.tableAnagStati = ((AnagStatiDataTable)(base.Tables["AnagStati"])); + if ((initTable == true)) { + if ((this.tableAnagStati != null)) { + this.tableAnagStati.InitVars(); + } + } + this.tableAnagTipoDichiaraz = ((AnagTipoDichiarazDataTable)(base.Tables["AnagTipoDichiaraz"])); + if ((initTable == true)) { + if ((this.tableAnagTipoDichiaraz != null)) { + this.tableAnagTipoDichiaraz.InitVars(); + } + } + this.tableAnagStatiProdotto = ((AnagStatiProdottoDataTable)(base.Tables["AnagStatiProdotto"])); + if ((initTable == true)) { + if ((this.tableAnagStatiProdotto != null)) { + this.tableAnagStatiProdotto.InitVars(); + } + } + this.tableRelazUDC = ((RelazUDCDataTable)(base.Tables["RelazUDC"])); + if ((initTable == true)) { + if ((this.tableRelazUDC != null)) { + this.tableRelazUDC.InitVars(); + } + } + this.tableAnagImpianti = ((AnagImpiantiDataTable)(base.Tables["AnagImpianti"])); + if ((initTable == true)) { + if ((this.tableAnagImpianti != null)) { + this.tableAnagImpianti.InitVars(); + } + } + this.tableAnagCompanySito = ((AnagCompanySitoDataTable)(base.Tables["AnagCompanySito"])); + if ((initTable == true)) { + if ((this.tableAnagCompanySito != null)) { + this.tableAnagCompanySito.InitVars(); + } + } + this.tableAnagBilance = ((AnagBilanceDataTable)(base.Tables["AnagBilance"])); + if ((initTable == true)) { + if ((this.tableAnagBilance != null)) { + this.tableAnagBilance.InitVars(); + } + } + this.tableElencoCartellini = ((ElencoCartelliniDataTable)(base.Tables["ElencoCartellini"])); + if ((initTable == true)) { + if ((this.tableElencoCartellini != null)) { + this.tableElencoCartellini.InitVars(); + } + } + this.tableAnagImballi = ((AnagImballiDataTable)(base.Tables["AnagImballi"])); + if ((initTable == true)) { + if ((this.tableAnagImballi != null)) { + this.tableAnagImballi.InitVars(); + } + } + this.tablev_ArtInProd = ((v_ArtInProdDataTable)(base.Tables["v_ArtInProd"])); + if ((initTable == true)) { + if ((this.tablev_ArtInProd != null)) { + this.tablev_ArtInProd.InitVars(); + } + } + this.tableAnagOperatori = ((AnagOperatoriDataTable)(base.Tables["AnagOperatori"])); + if ((initTable == true)) { + if ((this.tableAnagOperatori != null)) { + this.tableAnagOperatori.InitVars(); + } + } + this.tableAnagClienti = ((AnagClientiDataTable)(base.Tables["AnagClienti"])); + if ((initTable == true)) { + if ((this.tableAnagClienti != null)) { + this.tableAnagClienti.InitVars(); + } + } + this.tableAnagParticolari = ((AnagParticolariDataTable)(base.Tables["AnagParticolari"])); + if ((initTable == true)) { + if ((this.tableAnagParticolari != null)) { + this.tableAnagParticolari.InitVars(); + } + } + this.tableAnagFamiglie = ((AnagFamiglieDataTable)(base.Tables["AnagFamiglie"])); + if ((initTable == true)) { + if ((this.tableAnagFamiglie != null)) { + this.tableAnagFamiglie.InitVars(); + } + } + this.tableSoggetti2Utente = ((Soggetti2UtenteDataTable)(base.Tables["Soggetti2Utente"])); + if ((initTable == true)) { + if ((this.tableSoggetti2Utente != null)) { + this.tableSoggetti2Utente.InitVars(); + } + } + this.tablev_specParticolari = ((v_specParticolariDataTable)(base.Tables["v_specParticolari"])); + if ((initTable == true)) { + if ((this.tablev_specParticolari != null)) { + this.tablev_specParticolari.InitVars(); + } + } + this.tableElencoPostazioni = ((ElencoPostazioniDataTable)(base.Tables["ElencoPostazioni"])); + if ((initTable == true)) { + if ((this.tableElencoPostazioni != null)) { + this.tableElencoPostazioni.InitVars(); + } + } + this.tablestp_prtCartLiquidiF10ByUDC = ((stp_prtCartLiquidiF10ByUDCDataTable)(base.Tables["stp_prtCartLiquidiF10ByUDC"])); + if ((initTable == true)) { + if ((this.tablestp_prtCartLiquidiF10ByUDC != null)) { + this.tablestp_prtCartLiquidiF10ByUDC.InitVars(); + } + } + this.tablestp_prtCartLiquidiF18ByUDC = ((stp_prtCartLiquidiF18ByUDCDataTable)(base.Tables["stp_prtCartLiquidiF18ByUDC"])); + if ((initTable == true)) { + if ((this.tablestp_prtCartLiquidiF18ByUDC != null)) { + this.tablestp_prtCartLiquidiF18ByUDC.InitVars(); + } + } + this.tablev_RapQualNote = ((v_RapQualNoteDataTable)(base.Tables["v_RapQualNote"])); + if ((initTable == true)) { + if ((this.tablev_RapQualNote != null)) { + this.tablev_RapQualNote.InitVars(); + } + } + this.relationFK_AnagImpianti_AnagCompanySito = this.Relations["FK_AnagImpianti_AnagCompanySito"]; + this.relationFK_ElencoCartellini_AnagCompanySito = this.Relations["FK_ElencoCartellini_AnagCompanySito"]; + this.relationFK_ElencoCartellini_AnagStatiProdotto = this.Relations["FK_ElencoCartellini_AnagStatiProdotto"]; + this.relationFK_AnagOperatori_AnagCompanySito = this.Relations["FK_AnagOperatori_AnagCompanySito"]; + this.relationFK_AnagParticolari_AnagCompanySito = this.Relations["FK_AnagParticolari_AnagCompanySito"]; + this.relationFK_Soggetti2Utente_AnagOperatori = this.Relations["FK_Soggetti2Utente_AnagOperatori"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.DataSetName = "DS_Applicazione"; + this.Prefix = ""; + this.Namespace = "http://tempuri.org/DS_Applicazione.xsd"; + this.EnforceConstraints = true; + this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; + this.tableAnagStati = new AnagStatiDataTable(); + base.Tables.Add(this.tableAnagStati); + this.tableAnagTipoDichiaraz = new AnagTipoDichiarazDataTable(); + base.Tables.Add(this.tableAnagTipoDichiaraz); + this.tableAnagStatiProdotto = new AnagStatiProdottoDataTable(); + base.Tables.Add(this.tableAnagStatiProdotto); + this.tableRelazUDC = new RelazUDCDataTable(); + base.Tables.Add(this.tableRelazUDC); + this.tableAnagImpianti = new AnagImpiantiDataTable(); + base.Tables.Add(this.tableAnagImpianti); + this.tableAnagCompanySito = new AnagCompanySitoDataTable(); + base.Tables.Add(this.tableAnagCompanySito); + this.tableAnagBilance = new AnagBilanceDataTable(); + base.Tables.Add(this.tableAnagBilance); + this.tableElencoCartellini = new ElencoCartelliniDataTable(); + base.Tables.Add(this.tableElencoCartellini); + this.tableAnagImballi = new AnagImballiDataTable(); + base.Tables.Add(this.tableAnagImballi); + this.tablev_ArtInProd = new v_ArtInProdDataTable(); + base.Tables.Add(this.tablev_ArtInProd); + this.tableAnagOperatori = new AnagOperatoriDataTable(); + base.Tables.Add(this.tableAnagOperatori); + this.tableAnagClienti = new AnagClientiDataTable(); + base.Tables.Add(this.tableAnagClienti); + this.tableAnagParticolari = new AnagParticolariDataTable(); + base.Tables.Add(this.tableAnagParticolari); + this.tableAnagFamiglie = new AnagFamiglieDataTable(); + base.Tables.Add(this.tableAnagFamiglie); + this.tableSoggetti2Utente = new Soggetti2UtenteDataTable(); + base.Tables.Add(this.tableSoggetti2Utente); + this.tablev_specParticolari = new v_specParticolariDataTable(); + base.Tables.Add(this.tablev_specParticolari); + this.tableElencoPostazioni = new ElencoPostazioniDataTable(); + base.Tables.Add(this.tableElencoPostazioni); + this.tablestp_prtCartLiquidiF10ByUDC = new stp_prtCartLiquidiF10ByUDCDataTable(); + base.Tables.Add(this.tablestp_prtCartLiquidiF10ByUDC); + this.tablestp_prtCartLiquidiF18ByUDC = new stp_prtCartLiquidiF18ByUDCDataTable(); + base.Tables.Add(this.tablestp_prtCartLiquidiF18ByUDC); + this.tablev_RapQualNote = new v_RapQualNoteDataTable(); + base.Tables.Add(this.tablev_RapQualNote); + this.relationFK_AnagImpianti_AnagCompanySito = new global::System.Data.DataRelation("FK_AnagImpianti_AnagCompanySito", new global::System.Data.DataColumn[] { + this.tableAnagCompanySito.CodCSColumn}, new global::System.Data.DataColumn[] { + this.tableAnagImpianti.CodCSColumn}, false); + this.Relations.Add(this.relationFK_AnagImpianti_AnagCompanySito); + this.relationFK_ElencoCartellini_AnagCompanySito = new global::System.Data.DataRelation("FK_ElencoCartellini_AnagCompanySito", new global::System.Data.DataColumn[] { + this.tableAnagCompanySito.CodCSColumn}, new global::System.Data.DataColumn[] { + this.tableElencoCartellini.CodCSColumn}, false); + this.Relations.Add(this.relationFK_ElencoCartellini_AnagCompanySito); + this.relationFK_ElencoCartellini_AnagStatiProdotto = new global::System.Data.DataRelation("FK_ElencoCartellini_AnagStatiProdotto", new global::System.Data.DataColumn[] { + this.tableAnagStatiProdotto.CodStatoColumn}, new global::System.Data.DataColumn[] { + this.tableElencoCartellini.CodStatoColumn}, false); + this.Relations.Add(this.relationFK_ElencoCartellini_AnagStatiProdotto); + this.relationFK_AnagOperatori_AnagCompanySito = new global::System.Data.DataRelation("FK_AnagOperatori_AnagCompanySito", new global::System.Data.DataColumn[] { + this.tableAnagCompanySito.CodCSColumn}, new global::System.Data.DataColumn[] { + this.tableAnagOperatori.CodCSColumn}, false); + this.Relations.Add(this.relationFK_AnagOperatori_AnagCompanySito); + this.relationFK_AnagParticolari_AnagCompanySito = new global::System.Data.DataRelation("FK_AnagParticolari_AnagCompanySito", new global::System.Data.DataColumn[] { + this.tableAnagCompanySito.CodCSColumn}, new global::System.Data.DataColumn[] { + this.tableAnagParticolari.CodCSColumn}, false); + this.Relations.Add(this.relationFK_AnagParticolari_AnagCompanySito); + this.relationFK_Soggetti2Utente_AnagOperatori = new global::System.Data.DataRelation("FK_Soggetti2Utente_AnagOperatori", new global::System.Data.DataColumn[] { + this.tableAnagOperatori.CodSoggettoColumn}, new global::System.Data.DataColumn[] { + this.tableSoggetti2Utente.CodSoggettoColumn}, false); + this.Relations.Add(this.relationFK_Soggetti2Utente_AnagOperatori); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeAnagStati() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeAnagTipoDichiaraz() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeAnagStatiProdotto() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeRelazUDC() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeAnagImpianti() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeAnagCompanySito() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeAnagBilance() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeElencoCartellini() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeAnagImballi() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializev_ArtInProd() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeAnagOperatori() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeAnagClienti() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeAnagParticolari() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeAnagFamiglie() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeSoggetti2Utente() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializev_specParticolari() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeElencoPostazioni() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializestp_prtCartLiquidiF10ByUDC() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializestp_prtCartLiquidiF18ByUDC() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializev_RapQualNote() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { + if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) { + this.InitVars(); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + DS_Applicazione ds = new DS_Applicazione(); + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny(); + any.Namespace = ds.Namespace; + sequence.Items.Add(any); + 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; + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void AnagStatiRowChangeEventHandler(object sender, AnagStatiRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void AnagTipoDichiarazRowChangeEventHandler(object sender, AnagTipoDichiarazRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void AnagStatiProdottoRowChangeEventHandler(object sender, AnagStatiProdottoRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void RelazUDCRowChangeEventHandler(object sender, RelazUDCRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void AnagImpiantiRowChangeEventHandler(object sender, AnagImpiantiRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void AnagCompanySitoRowChangeEventHandler(object sender, AnagCompanySitoRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void AnagBilanceRowChangeEventHandler(object sender, AnagBilanceRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void ElencoCartelliniRowChangeEventHandler(object sender, ElencoCartelliniRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void AnagImballiRowChangeEventHandler(object sender, AnagImballiRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void v_ArtInProdRowChangeEventHandler(object sender, v_ArtInProdRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void AnagOperatoriRowChangeEventHandler(object sender, AnagOperatoriRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void AnagClientiRowChangeEventHandler(object sender, AnagClientiRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void AnagParticolariRowChangeEventHandler(object sender, AnagParticolariRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void AnagFamiglieRowChangeEventHandler(object sender, AnagFamiglieRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void Soggetti2UtenteRowChangeEventHandler(object sender, Soggetti2UtenteRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void v_specParticolariRowChangeEventHandler(object sender, v_specParticolariRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void ElencoPostazioniRowChangeEventHandler(object sender, ElencoPostazioniRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void stp_prtCartLiquidiF10ByUDCRowChangeEventHandler(object sender, stp_prtCartLiquidiF10ByUDCRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void stp_prtCartLiquidiF18ByUDCRowChangeEventHandler(object sender, stp_prtCartLiquidiF18ByUDCRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void v_RapQualNoteRowChangeEventHandler(object sender, v_RapQualNoteRowChangeEvent e); + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class AnagStatiDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnIdxStato; + + private global::System.Data.DataColumn columnDescrStato; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagStatiDataTable() { + this.TableName = "AnagStati"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AnagStatiDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected AnagStatiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn IdxStatoColumn { + get { + return this.columnIdxStato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescrStatoColumn { + get { + return this.columnDescrStato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagStatiRow this[int index] { + get { + return ((AnagStatiRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagStatiRowChangeEventHandler AnagStatiRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagStatiRowChangeEventHandler AnagStatiRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagStatiRowChangeEventHandler AnagStatiRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagStatiRowChangeEventHandler AnagStatiRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddAnagStatiRow(AnagStatiRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagStatiRow AddAnagStatiRow(int IdxStato, string DescrStato) { + AnagStatiRow rowAnagStatiRow = ((AnagStatiRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + IdxStato, + DescrStato}; + rowAnagStatiRow.ItemArray = columnValuesArray; + this.Rows.Add(rowAnagStatiRow); + return rowAnagStatiRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagStatiRow FindByIdxStato(int IdxStato) { + return ((AnagStatiRow)(this.Rows.Find(new object[] { + IdxStato}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + AnagStatiDataTable cln = ((AnagStatiDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new AnagStatiDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnIdxStato = base.Columns["IdxStato"]; + this.columnDescrStato = base.Columns["DescrStato"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnIdxStato = new global::System.Data.DataColumn("IdxStato", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnIdxStato); + this.columnDescrStato = new global::System.Data.DataColumn("DescrStato", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescrStato); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnIdxStato}, true)); + this.columnIdxStato.AllowDBNull = false; + this.columnIdxStato.Unique = true; + this.columnDescrStato.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagStatiRow NewAnagStatiRow() { + return ((AnagStatiRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new AnagStatiRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(AnagStatiRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.AnagStatiRowChanged != null)) { + this.AnagStatiRowChanged(this, new AnagStatiRowChangeEvent(((AnagStatiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.AnagStatiRowChanging != null)) { + this.AnagStatiRowChanging(this, new AnagStatiRowChangeEvent(((AnagStatiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.AnagStatiRowDeleted != null)) { + this.AnagStatiRowDeleted(this, new AnagStatiRowChangeEvent(((AnagStatiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.AnagStatiRowDeleting != null)) { + this.AnagStatiRowDeleting(this, new AnagStatiRowChangeEvent(((AnagStatiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveAnagStatiRow(AnagStatiRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_Applicazione ds = new DS_Applicazione(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "AnagStatiDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class AnagTipoDichiarazDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodTipoDichiaraz; + + private global::System.Data.DataColumn columnDescrTipoDichiaraz; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagTipoDichiarazDataTable() { + this.TableName = "AnagTipoDichiaraz"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AnagTipoDichiarazDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected AnagTipoDichiarazDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodTipoDichiarazColumn { + get { + return this.columnCodTipoDichiaraz; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescrTipoDichiarazColumn { + get { + return this.columnDescrTipoDichiaraz; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagTipoDichiarazRow this[int index] { + get { + return ((AnagTipoDichiarazRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagTipoDichiarazRowChangeEventHandler AnagTipoDichiarazRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagTipoDichiarazRowChangeEventHandler AnagTipoDichiarazRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagTipoDichiarazRowChangeEventHandler AnagTipoDichiarazRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagTipoDichiarazRowChangeEventHandler AnagTipoDichiarazRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddAnagTipoDichiarazRow(AnagTipoDichiarazRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagTipoDichiarazRow AddAnagTipoDichiarazRow(string CodTipoDichiaraz, string DescrTipoDichiaraz) { + AnagTipoDichiarazRow rowAnagTipoDichiarazRow = ((AnagTipoDichiarazRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CodTipoDichiaraz, + DescrTipoDichiaraz}; + rowAnagTipoDichiarazRow.ItemArray = columnValuesArray; + this.Rows.Add(rowAnagTipoDichiarazRow); + return rowAnagTipoDichiarazRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagTipoDichiarazRow FindByCodTipoDichiaraz(string CodTipoDichiaraz) { + return ((AnagTipoDichiarazRow)(this.Rows.Find(new object[] { + CodTipoDichiaraz}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + AnagTipoDichiarazDataTable cln = ((AnagTipoDichiarazDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new AnagTipoDichiarazDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnCodTipoDichiaraz = base.Columns["CodTipoDichiaraz"]; + this.columnDescrTipoDichiaraz = base.Columns["DescrTipoDichiaraz"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnCodTipoDichiaraz = new global::System.Data.DataColumn("CodTipoDichiaraz", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodTipoDichiaraz); + this.columnDescrTipoDichiaraz = new global::System.Data.DataColumn("DescrTipoDichiaraz", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescrTipoDichiaraz); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodTipoDichiaraz}, true)); + this.columnCodTipoDichiaraz.AllowDBNull = false; + this.columnCodTipoDichiaraz.Unique = true; + this.columnCodTipoDichiaraz.MaxLength = 1; + this.columnDescrTipoDichiaraz.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagTipoDichiarazRow NewAnagTipoDichiarazRow() { + return ((AnagTipoDichiarazRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new AnagTipoDichiarazRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(AnagTipoDichiarazRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.AnagTipoDichiarazRowChanged != null)) { + this.AnagTipoDichiarazRowChanged(this, new AnagTipoDichiarazRowChangeEvent(((AnagTipoDichiarazRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.AnagTipoDichiarazRowChanging != null)) { + this.AnagTipoDichiarazRowChanging(this, new AnagTipoDichiarazRowChangeEvent(((AnagTipoDichiarazRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.AnagTipoDichiarazRowDeleted != null)) { + this.AnagTipoDichiarazRowDeleted(this, new AnagTipoDichiarazRowChangeEvent(((AnagTipoDichiarazRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.AnagTipoDichiarazRowDeleting != null)) { + this.AnagTipoDichiarazRowDeleting(this, new AnagTipoDichiarazRowChangeEvent(((AnagTipoDichiarazRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveAnagTipoDichiarazRow(AnagTipoDichiarazRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_Applicazione ds = new DS_Applicazione(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "AnagTipoDichiarazDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class AnagStatiProdottoDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodStato; + + private global::System.Data.DataColumn columnDescStato; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagStatiProdottoDataTable() { + this.TableName = "AnagStatiProdotto"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AnagStatiProdottoDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected AnagStatiProdottoDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodStatoColumn { + get { + return this.columnCodStato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescStatoColumn { + get { + return this.columnDescStato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagStatiProdottoRow this[int index] { + get { + return ((AnagStatiProdottoRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagStatiProdottoRowChangeEventHandler AnagStatiProdottoRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagStatiProdottoRowChangeEventHandler AnagStatiProdottoRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagStatiProdottoRowChangeEventHandler AnagStatiProdottoRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagStatiProdottoRowChangeEventHandler AnagStatiProdottoRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddAnagStatiProdottoRow(AnagStatiProdottoRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagStatiProdottoRow AddAnagStatiProdottoRow(string CodStato, string DescStato) { + AnagStatiProdottoRow rowAnagStatiProdottoRow = ((AnagStatiProdottoRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CodStato, + DescStato}; + rowAnagStatiProdottoRow.ItemArray = columnValuesArray; + this.Rows.Add(rowAnagStatiProdottoRow); + return rowAnagStatiProdottoRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagStatiProdottoRow FindByCodStato(string CodStato) { + return ((AnagStatiProdottoRow)(this.Rows.Find(new object[] { + CodStato}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + AnagStatiProdottoDataTable cln = ((AnagStatiProdottoDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new AnagStatiProdottoDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnCodStato = base.Columns["CodStato"]; + this.columnDescStato = base.Columns["DescStato"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnCodStato = new global::System.Data.DataColumn("CodStato", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodStato); + this.columnDescStato = new global::System.Data.DataColumn("DescStato", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescStato); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodStato}, true)); + this.columnCodStato.AllowDBNull = false; + this.columnCodStato.Unique = true; + this.columnCodStato.MaxLength = 50; + this.columnDescStato.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagStatiProdottoRow NewAnagStatiProdottoRow() { + return ((AnagStatiProdottoRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new AnagStatiProdottoRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(AnagStatiProdottoRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.AnagStatiProdottoRowChanged != null)) { + this.AnagStatiProdottoRowChanged(this, new AnagStatiProdottoRowChangeEvent(((AnagStatiProdottoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.AnagStatiProdottoRowChanging != null)) { + this.AnagStatiProdottoRowChanging(this, new AnagStatiProdottoRowChangeEvent(((AnagStatiProdottoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.AnagStatiProdottoRowDeleted != null)) { + this.AnagStatiProdottoRowDeleted(this, new AnagStatiProdottoRowChangeEvent(((AnagStatiProdottoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.AnagStatiProdottoRowDeleting != null)) { + this.AnagStatiProdottoRowDeleting(this, new AnagStatiProdottoRowChangeEvent(((AnagStatiProdottoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveAnagStatiProdottoRow(AnagStatiProdottoRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_Applicazione ds = new DS_Applicazione(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "AnagStatiProdottoDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class RelazUDCDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnUDC_parent; + + private global::System.Data.DataColumn columnUDC_child; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public RelazUDCDataTable() { + this.TableName = "RelazUDC"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal RelazUDCDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected RelazUDCDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn UDC_parentColumn { + get { + return this.columnUDC_parent; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn UDC_childColumn { + get { + return this.columnUDC_child; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public RelazUDCRow this[int index] { + get { + return ((RelazUDCRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event RelazUDCRowChangeEventHandler RelazUDCRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event RelazUDCRowChangeEventHandler RelazUDCRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event RelazUDCRowChangeEventHandler RelazUDCRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event RelazUDCRowChangeEventHandler RelazUDCRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddRelazUDCRow(RelazUDCRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public RelazUDCRow AddRelazUDCRow(string UDC_parent, string UDC_child) { + RelazUDCRow rowRelazUDCRow = ((RelazUDCRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + UDC_parent, + UDC_child}; + rowRelazUDCRow.ItemArray = columnValuesArray; + this.Rows.Add(rowRelazUDCRow); + return rowRelazUDCRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public RelazUDCRow FindByUDC_parentUDC_child(string UDC_parent, string UDC_child) { + return ((RelazUDCRow)(this.Rows.Find(new object[] { + UDC_parent, + UDC_child}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + RelazUDCDataTable cln = ((RelazUDCDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new RelazUDCDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnUDC_parent = base.Columns["UDC_parent"]; + this.columnUDC_child = base.Columns["UDC_child"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnUDC_parent = new global::System.Data.DataColumn("UDC_parent", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnUDC_parent); + this.columnUDC_child = new global::System.Data.DataColumn("UDC_child", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnUDC_child); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnUDC_parent, + this.columnUDC_child}, true)); + this.columnUDC_parent.AllowDBNull = false; + this.columnUDC_parent.MaxLength = 50; + this.columnUDC_child.AllowDBNull = false; + this.columnUDC_child.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public RelazUDCRow NewRelazUDCRow() { + return ((RelazUDCRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new RelazUDCRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(RelazUDCRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.RelazUDCRowChanged != null)) { + this.RelazUDCRowChanged(this, new RelazUDCRowChangeEvent(((RelazUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.RelazUDCRowChanging != null)) { + this.RelazUDCRowChanging(this, new RelazUDCRowChangeEvent(((RelazUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.RelazUDCRowDeleted != null)) { + this.RelazUDCRowDeleted(this, new RelazUDCRowChangeEvent(((RelazUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.RelazUDCRowDeleting != null)) { + this.RelazUDCRowDeleting(this, new RelazUDCRowChangeEvent(((RelazUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveRelazUDCRow(RelazUDCRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_Applicazione ds = new DS_Applicazione(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "RelazUDCDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class AnagImpiantiDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodImpianto; + + private global::System.Data.DataColumn columnCodCS; + + private global::System.Data.DataColumn columnDescImpianto; + + private global::System.Data.DataColumn columnCampionatura; + + private global::System.Data.DataColumn columnTipoLinea; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagImpiantiDataTable() { + this.TableName = "AnagImpianti"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AnagImpiantiDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected AnagImpiantiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodImpiantoColumn { + get { + return this.columnCodImpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodCSColumn { + get { + return this.columnCodCS; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescImpiantoColumn { + get { + return this.columnDescImpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CampionaturaColumn { + get { + return this.columnCampionatura; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn TipoLineaColumn { + get { + return this.columnTipoLinea; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagImpiantiRow this[int index] { + get { + return ((AnagImpiantiRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagImpiantiRowChangeEventHandler AnagImpiantiRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagImpiantiRowChangeEventHandler AnagImpiantiRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagImpiantiRowChangeEventHandler AnagImpiantiRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagImpiantiRowChangeEventHandler AnagImpiantiRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddAnagImpiantiRow(AnagImpiantiRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagImpiantiRow AddAnagImpiantiRow(string CodImpianto, AnagCompanySitoRow parentAnagCompanySitoRowByFK_AnagImpianti_AnagCompanySito, string DescImpianto, string Campionatura, string TipoLinea) { + AnagImpiantiRow rowAnagImpiantiRow = ((AnagImpiantiRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CodImpianto, + null, + DescImpianto, + Campionatura, + TipoLinea}; + if ((parentAnagCompanySitoRowByFK_AnagImpianti_AnagCompanySito != null)) { + columnValuesArray[1] = parentAnagCompanySitoRowByFK_AnagImpianti_AnagCompanySito[0]; + } + rowAnagImpiantiRow.ItemArray = columnValuesArray; + this.Rows.Add(rowAnagImpiantiRow); + return rowAnagImpiantiRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagImpiantiRow FindByCodImpianto(string CodImpianto) { + return ((AnagImpiantiRow)(this.Rows.Find(new object[] { + CodImpianto}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + AnagImpiantiDataTable cln = ((AnagImpiantiDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new AnagImpiantiDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnCodImpianto = base.Columns["CodImpianto"]; + this.columnCodCS = base.Columns["CodCS"]; + this.columnDescImpianto = base.Columns["DescImpianto"]; + this.columnCampionatura = base.Columns["Campionatura"]; + this.columnTipoLinea = base.Columns["TipoLinea"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnCodImpianto = new global::System.Data.DataColumn("CodImpianto", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodImpianto); + this.columnCodCS = new global::System.Data.DataColumn("CodCS", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCS); + this.columnDescImpianto = new global::System.Data.DataColumn("DescImpianto", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescImpianto); + this.columnCampionatura = new global::System.Data.DataColumn("Campionatura", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampionatura); + this.columnTipoLinea = new global::System.Data.DataColumn("TipoLinea", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnTipoLinea); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodImpianto}, true)); + this.columnCodImpianto.AllowDBNull = false; + this.columnCodImpianto.Unique = true; + this.columnCodImpianto.MaxLength = 50; + this.columnCodCS.AllowDBNull = false; + this.columnCodCS.MaxLength = 2; + this.columnDescImpianto.MaxLength = 50; + this.columnCampionatura.MaxLength = 1; + this.columnTipoLinea.MaxLength = 6; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagImpiantiRow NewAnagImpiantiRow() { + return ((AnagImpiantiRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new AnagImpiantiRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(AnagImpiantiRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.AnagImpiantiRowChanged != null)) { + this.AnagImpiantiRowChanged(this, new AnagImpiantiRowChangeEvent(((AnagImpiantiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.AnagImpiantiRowChanging != null)) { + this.AnagImpiantiRowChanging(this, new AnagImpiantiRowChangeEvent(((AnagImpiantiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.AnagImpiantiRowDeleted != null)) { + this.AnagImpiantiRowDeleted(this, new AnagImpiantiRowChangeEvent(((AnagImpiantiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.AnagImpiantiRowDeleting != null)) { + this.AnagImpiantiRowDeleting(this, new AnagImpiantiRowChangeEvent(((AnagImpiantiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveAnagImpiantiRow(AnagImpiantiRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_Applicazione ds = new DS_Applicazione(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "AnagImpiantiDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class AnagCompanySitoDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodCS; + + private global::System.Data.DataColumn columnCodCompany; + + private global::System.Data.DataColumn columnDescCompany; + + private global::System.Data.DataColumn columnCodSito; + + private global::System.Data.DataColumn columnDescSito; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagCompanySitoDataTable() { + this.TableName = "AnagCompanySito"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AnagCompanySitoDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected AnagCompanySitoDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodCSColumn { + get { + return this.columnCodCS; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodCompanyColumn { + get { + return this.columnCodCompany; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescCompanyColumn { + get { + return this.columnDescCompany; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodSitoColumn { + get { + return this.columnCodSito; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescSitoColumn { + get { + return this.columnDescSito; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagCompanySitoRow this[int index] { + get { + return ((AnagCompanySitoRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagCompanySitoRowChangeEventHandler AnagCompanySitoRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagCompanySitoRowChangeEventHandler AnagCompanySitoRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagCompanySitoRowChangeEventHandler AnagCompanySitoRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagCompanySitoRowChangeEventHandler AnagCompanySitoRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddAnagCompanySitoRow(AnagCompanySitoRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagCompanySitoRow AddAnagCompanySitoRow(string CodCS, string CodCompany, string DescCompany, string CodSito, string DescSito) { + AnagCompanySitoRow rowAnagCompanySitoRow = ((AnagCompanySitoRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CodCS, + CodCompany, + DescCompany, + CodSito, + DescSito}; + rowAnagCompanySitoRow.ItemArray = columnValuesArray; + this.Rows.Add(rowAnagCompanySitoRow); + return rowAnagCompanySitoRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagCompanySitoRow FindByCodCS(string CodCS) { + return ((AnagCompanySitoRow)(this.Rows.Find(new object[] { + CodCS}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + AnagCompanySitoDataTable cln = ((AnagCompanySitoDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new AnagCompanySitoDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnCodCS = base.Columns["CodCS"]; + this.columnCodCompany = base.Columns["CodCompany"]; + this.columnDescCompany = base.Columns["DescCompany"]; + this.columnCodSito = base.Columns["CodSito"]; + this.columnDescSito = base.Columns["DescSito"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnCodCS = new global::System.Data.DataColumn("CodCS", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCS); + this.columnCodCompany = new global::System.Data.DataColumn("CodCompany", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCompany); + this.columnDescCompany = new global::System.Data.DataColumn("DescCompany", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescCompany); + this.columnCodSito = new global::System.Data.DataColumn("CodSito", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodSito); + this.columnDescSito = new global::System.Data.DataColumn("DescSito", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescSito); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodCS}, true)); + this.columnCodCS.AllowDBNull = false; + this.columnCodCS.Unique = true; + this.columnCodCS.MaxLength = 2; + this.columnCodCompany.MaxLength = 50; + this.columnDescCompany.MaxLength = 50; + this.columnCodSito.MaxLength = 50; + this.columnDescSito.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagCompanySitoRow NewAnagCompanySitoRow() { + return ((AnagCompanySitoRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new AnagCompanySitoRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(AnagCompanySitoRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.AnagCompanySitoRowChanged != null)) { + this.AnagCompanySitoRowChanged(this, new AnagCompanySitoRowChangeEvent(((AnagCompanySitoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.AnagCompanySitoRowChanging != null)) { + this.AnagCompanySitoRowChanging(this, new AnagCompanySitoRowChangeEvent(((AnagCompanySitoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.AnagCompanySitoRowDeleted != null)) { + this.AnagCompanySitoRowDeleted(this, new AnagCompanySitoRowChangeEvent(((AnagCompanySitoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.AnagCompanySitoRowDeleting != null)) { + this.AnagCompanySitoRowDeleting(this, new AnagCompanySitoRowChangeEvent(((AnagCompanySitoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveAnagCompanySitoRow(AnagCompanySitoRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_Applicazione ds = new DS_Applicazione(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "AnagCompanySitoDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class AnagBilanceDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodBilancia; + + private global::System.Data.DataColumn columnDescrImpianto; + + private global::System.Data.DataColumn columnCodCS; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagBilanceDataTable() { + this.TableName = "AnagBilance"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AnagBilanceDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected AnagBilanceDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodBilanciaColumn { + get { + return this.columnCodBilancia; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescrImpiantoColumn { + get { + return this.columnDescrImpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodCSColumn { + get { + return this.columnCodCS; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagBilanceRow this[int index] { + get { + return ((AnagBilanceRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagBilanceRowChangeEventHandler AnagBilanceRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagBilanceRowChangeEventHandler AnagBilanceRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagBilanceRowChangeEventHandler AnagBilanceRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagBilanceRowChangeEventHandler AnagBilanceRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddAnagBilanceRow(AnagBilanceRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagBilanceRow AddAnagBilanceRow(string CodBilancia, string DescrImpianto, string CodCS) { + AnagBilanceRow rowAnagBilanceRow = ((AnagBilanceRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CodBilancia, + DescrImpianto, + CodCS}; + rowAnagBilanceRow.ItemArray = columnValuesArray; + this.Rows.Add(rowAnagBilanceRow); + return rowAnagBilanceRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagBilanceRow FindByCodBilancia(string CodBilancia) { + return ((AnagBilanceRow)(this.Rows.Find(new object[] { + CodBilancia}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + AnagBilanceDataTable cln = ((AnagBilanceDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new AnagBilanceDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnCodBilancia = base.Columns["CodBilancia"]; + this.columnDescrImpianto = base.Columns["DescrImpianto"]; + this.columnCodCS = base.Columns["CodCS"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnCodBilancia = new global::System.Data.DataColumn("CodBilancia", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodBilancia); + this.columnDescrImpianto = new global::System.Data.DataColumn("DescrImpianto", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescrImpianto); + this.columnCodCS = new global::System.Data.DataColumn("CodCS", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCS); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodBilancia}, true)); + this.columnCodBilancia.AllowDBNull = false; + this.columnCodBilancia.Unique = true; + this.columnCodBilancia.MaxLength = 50; + this.columnDescrImpianto.MaxLength = 50; + this.columnCodCS.MaxLength = 2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagBilanceRow NewAnagBilanceRow() { + return ((AnagBilanceRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new AnagBilanceRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(AnagBilanceRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.AnagBilanceRowChanged != null)) { + this.AnagBilanceRowChanged(this, new AnagBilanceRowChangeEvent(((AnagBilanceRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.AnagBilanceRowChanging != null)) { + this.AnagBilanceRowChanging(this, new AnagBilanceRowChangeEvent(((AnagBilanceRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.AnagBilanceRowDeleted != null)) { + this.AnagBilanceRowDeleted(this, new AnagBilanceRowChangeEvent(((AnagBilanceRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.AnagBilanceRowDeleting != null)) { + this.AnagBilanceRowDeleting(this, new AnagBilanceRowChangeEvent(((AnagBilanceRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveAnagBilanceRow(AnagBilanceRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_Applicazione ds = new DS_Applicazione(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "AnagBilanceDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class ElencoCartelliniDataTable : 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 columnNote; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoCartelliniDataTable() { + this.TableName = "ElencoCartellini"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal ElencoCartelliniDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected ElencoCartelliniDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn UDCColumn { + get { + return this.columnUDC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodCSColumn { + get { + return this.columnCodCS; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodClienteColumn { + get { + return this.columnCodCliente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn RagSocialeColumn { + get { + return this.columnRagSociale; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ParticolareColumn { + get { + return this.columnParticolare; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescParticolareColumn { + get { + return this.columnDescParticolare; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DisegnoGrezzoColumn { + get { + return this.columnDisegnoGrezzo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn EsponenteColumn { + get { + return this.columnEsponente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodImpiantoColumn { + get { + return this.columnCodImpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescImpiantoColumn { + get { + return this.columnDescImpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodStampoColumn { + get { + return this.columnCodStampo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn FiguraColumn { + get { + return this.columnFigura; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DataFusColumn { + get { + return this.columnDataFus; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn TurnoFusColumn { + get { + return this.columnTurnoFus; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodImballoColumn { + get { + return this.columnCodImballo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodSoggettoColumn { + get { + return this.columnCodSoggetto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NumContColumn { + get { + return this.columnNumCont; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn TaraColumn { + get { + return this.columnTara; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn QtaColumn { + get { + return this.columnQta; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodStatoColumn { + get { + return this.columnCodStato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn IdxPosizioneColumn { + get { + return this.columnIdxPosizione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn PesoTotColumn { + get { + return this.columnPesoTot; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn PesoCadColumn { + get { + return this.columnPesoCad; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CreateDateColumn { + get { + return this.columnCreateDate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ModDateColumn { + get { + return this.columnModDate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NoteColumn { + get { + return this.columnNote; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoCartelliniRow this[int index] { + get { + return ((ElencoCartelliniRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event ElencoCartelliniRowChangeEventHandler ElencoCartelliniRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event ElencoCartelliniRowChangeEventHandler ElencoCartelliniRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event ElencoCartelliniRowChangeEventHandler ElencoCartelliniRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event ElencoCartelliniRowChangeEventHandler ElencoCartelliniRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddElencoCartelliniRow(ElencoCartelliniRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoCartelliniRow AddElencoCartelliniRow( + string UDC, + AnagCompanySitoRow parentAnagCompanySitoRowByFK_ElencoCartellini_AnagCompanySito, + 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, + AnagStatiProdottoRow parentAnagStatiProdottoRowByFK_ElencoCartellini_AnagStatiProdotto, + int IdxPosizione, + double PesoTot, + double PesoCad, + System.DateTime CreateDate, + System.DateTime ModDate, + string Note) { + ElencoCartelliniRow rowElencoCartelliniRow = ((ElencoCartelliniRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + UDC, + null, + CodCliente, + RagSociale, + Particolare, + DescParticolare, + DisegnoGrezzo, + Esponente, + CodImpianto, + DescImpianto, + CodStampo, + Figura, + DataFus, + TurnoFus, + CodImballo, + CodSoggetto, + NumCont, + Tara, + Qta, + null, + IdxPosizione, + PesoTot, + PesoCad, + CreateDate, + ModDate, + Note}; + if ((parentAnagCompanySitoRowByFK_ElencoCartellini_AnagCompanySito != null)) { + columnValuesArray[1] = parentAnagCompanySitoRowByFK_ElencoCartellini_AnagCompanySito[0]; + } + if ((parentAnagStatiProdottoRowByFK_ElencoCartellini_AnagStatiProdotto != null)) { + columnValuesArray[19] = parentAnagStatiProdottoRowByFK_ElencoCartellini_AnagStatiProdotto[0]; + } + rowElencoCartelliniRow.ItemArray = columnValuesArray; + this.Rows.Add(rowElencoCartelliniRow); + return rowElencoCartelliniRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoCartelliniRow FindByUDC(string UDC) { + return ((ElencoCartelliniRow)(this.Rows.Find(new object[] { + UDC}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + ElencoCartelliniDataTable cln = ((ElencoCartelliniDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new ElencoCartelliniDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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.columnNote = base.Columns["Note"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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.columnNote = new global::System.Data.DataColumn("Note", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNote); + 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.MaxLength = 6; + this.columnRagSociale.MaxLength = 35; + this.columnParticolare.MaxLength = 15; + this.columnDescParticolare.MaxLength = 30; + this.columnDisegnoGrezzo.MaxLength = 30; + this.columnEsponente.MaxLength = 6; + this.columnCodImpianto.MaxLength = 50; + this.columnDescImpianto.MaxLength = 50; + this.columnCodStampo.MaxLength = 8; + this.columnFigura.MaxLength = 4; + this.columnCodImballo.MaxLength = 15; + this.columnCodSoggetto.MaxLength = 17; + this.columnCodStato.MaxLength = 50; + this.columnNote.MaxLength = 500; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoCartelliniRow NewElencoCartelliniRow() { + return ((ElencoCartelliniRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new ElencoCartelliniRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(ElencoCartelliniRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.ElencoCartelliniRowChanged != null)) { + this.ElencoCartelliniRowChanged(this, new ElencoCartelliniRowChangeEvent(((ElencoCartelliniRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.ElencoCartelliniRowChanging != null)) { + this.ElencoCartelliniRowChanging(this, new ElencoCartelliniRowChangeEvent(((ElencoCartelliniRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.ElencoCartelliniRowDeleted != null)) { + this.ElencoCartelliniRowDeleted(this, new ElencoCartelliniRowChangeEvent(((ElencoCartelliniRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.ElencoCartelliniRowDeleting != null)) { + this.ElencoCartelliniRowDeleting(this, new ElencoCartelliniRowChangeEvent(((ElencoCartelliniRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveElencoCartelliniRow(ElencoCartelliniRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_Applicazione ds = new DS_Applicazione(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "ElencoCartelliniDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class AnagImballiDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodImballo; + + private global::System.Data.DataColumn columnClasseArticolo; + + private global::System.Data.DataColumn columnDescImballo; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagImballiDataTable() { + this.TableName = "AnagImballi"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AnagImballiDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected AnagImballiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodImballoColumn { + get { + return this.columnCodImballo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ClasseArticoloColumn { + get { + return this.columnClasseArticolo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescImballoColumn { + get { + return this.columnDescImballo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagImballiRow this[int index] { + get { + return ((AnagImballiRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagImballiRowChangeEventHandler AnagImballiRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagImballiRowChangeEventHandler AnagImballiRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagImballiRowChangeEventHandler AnagImballiRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagImballiRowChangeEventHandler AnagImballiRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddAnagImballiRow(AnagImballiRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagImballiRow AddAnagImballiRow(string CodImballo, string ClasseArticolo, string DescImballo) { + AnagImballiRow rowAnagImballiRow = ((AnagImballiRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CodImballo, + ClasseArticolo, + DescImballo}; + rowAnagImballiRow.ItemArray = columnValuesArray; + this.Rows.Add(rowAnagImballiRow); + return rowAnagImballiRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagImballiRow FindByCodImballo(string CodImballo) { + return ((AnagImballiRow)(this.Rows.Find(new object[] { + CodImballo}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + AnagImballiDataTable cln = ((AnagImballiDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new AnagImballiDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnCodImballo = base.Columns["CodImballo"]; + this.columnClasseArticolo = base.Columns["ClasseArticolo"]; + this.columnDescImballo = base.Columns["DescImballo"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnCodImballo = new global::System.Data.DataColumn("CodImballo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodImballo); + this.columnClasseArticolo = new global::System.Data.DataColumn("ClasseArticolo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnClasseArticolo); + this.columnDescImballo = new global::System.Data.DataColumn("DescImballo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescImballo); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodImballo}, true)); + this.columnCodImballo.AllowDBNull = false; + this.columnCodImballo.Unique = true; + this.columnCodImballo.MaxLength = 15; + this.columnClasseArticolo.MaxLength = 1; + this.columnDescImballo.MaxLength = 30; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagImballiRow NewAnagImballiRow() { + return ((AnagImballiRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new AnagImballiRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(AnagImballiRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.AnagImballiRowChanged != null)) { + this.AnagImballiRowChanged(this, new AnagImballiRowChangeEvent(((AnagImballiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.AnagImballiRowChanging != null)) { + this.AnagImballiRowChanging(this, new AnagImballiRowChangeEvent(((AnagImballiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.AnagImballiRowDeleted != null)) { + this.AnagImballiRowDeleted(this, new AnagImballiRowChangeEvent(((AnagImballiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.AnagImballiRowDeleting != null)) { + this.AnagImballiRowDeleting(this, new AnagImballiRowChangeEvent(((AnagImballiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveAnagImballiRow(AnagImballiRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_Applicazione ds = new DS_Applicazione(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "AnagImballiDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_ArtInProdDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodImpianto; + + private global::System.Data.DataColumn columnCodStampo; + + private global::System.Data.DataColumn columnNumStampate; + + private global::System.Data.DataColumn columnDataInizio; + + private global::System.Data.DataColumn columnTurnoInizio; + + private global::System.Data.DataColumn columnInizioValidita; + + private global::System.Data.DataColumn columnFineValidita; + + private global::System.Data.DataColumn columnNumFigure; + + private global::System.Data.DataColumn columnCodCliente; + + private global::System.Data.DataColumn columnRagSociale; + + private global::System.Data.DataColumn columnCodArticolo; + + private global::System.Data.DataColumn columnParticolare; + + private global::System.Data.DataColumn columnDescParticolare; + + private global::System.Data.DataColumn columnDisegnoGrezzo; + + private global::System.Data.DataColumn columnCodFamiglia; + + private global::System.Data.DataColumn columnDescFamiglia; + + private global::System.Data.DataColumn columnFigura; + + private global::System.Data.DataColumn columnEsponente; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_ArtInProdDataTable() { + this.TableName = "v_ArtInProd"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_ArtInProdDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected v_ArtInProdDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodImpiantoColumn { + get { + return this.columnCodImpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodStampoColumn { + get { + return this.columnCodStampo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NumStampateColumn { + get { + return this.columnNumStampate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DataInizioColumn { + get { + return this.columnDataInizio; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn TurnoInizioColumn { + get { + return this.columnTurnoInizio; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn InizioValiditaColumn { + get { + return this.columnInizioValidita; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn FineValiditaColumn { + get { + return this.columnFineValidita; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NumFigureColumn { + get { + return this.columnNumFigure; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodClienteColumn { + get { + return this.columnCodCliente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn RagSocialeColumn { + get { + return this.columnRagSociale; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodArticoloColumn { + get { + return this.columnCodArticolo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ParticolareColumn { + get { + return this.columnParticolare; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescParticolareColumn { + get { + return this.columnDescParticolare; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DisegnoGrezzoColumn { + get { + return this.columnDisegnoGrezzo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodFamigliaColumn { + get { + return this.columnCodFamiglia; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescFamigliaColumn { + get { + return this.columnDescFamiglia; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn FiguraColumn { + get { + return this.columnFigura; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn EsponenteColumn { + get { + return this.columnEsponente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_ArtInProdRow this[int index] { + get { + return ((v_ArtInProdRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_ArtInProdRowChangeEventHandler v_ArtInProdRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_ArtInProdRowChangeEventHandler v_ArtInProdRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_ArtInProdRowChangeEventHandler v_ArtInProdRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_ArtInProdRowChangeEventHandler v_ArtInProdRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addv_ArtInProdRow(v_ArtInProdRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_ArtInProdRow Addv_ArtInProdRow( + string CodImpianto, + string CodStampo, + decimal NumStampate, + System.DateTime DataInizio, + string TurnoInizio, + System.DateTime InizioValidita, + System.DateTime FineValidita, + decimal NumFigure, + string CodCliente, + string RagSociale, + string CodArticolo, + string Particolare, + string DescParticolare, + string DisegnoGrezzo, + string CodFamiglia, + string DescFamiglia, + string Figura, + string Esponente) { + v_ArtInProdRow rowv_ArtInProdRow = ((v_ArtInProdRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CodImpianto, + CodStampo, + NumStampate, + DataInizio, + TurnoInizio, + InizioValidita, + FineValidita, + NumFigure, + CodCliente, + RagSociale, + CodArticolo, + Particolare, + DescParticolare, + DisegnoGrezzo, + CodFamiglia, + DescFamiglia, + Figura, + Esponente}; + rowv_ArtInProdRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_ArtInProdRow); + return rowv_ArtInProdRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + v_ArtInProdDataTable cln = ((v_ArtInProdDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new v_ArtInProdDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnCodImpianto = base.Columns["CodImpianto"]; + this.columnCodStampo = base.Columns["CodStampo"]; + this.columnNumStampate = base.Columns["NumStampate"]; + this.columnDataInizio = base.Columns["DataInizio"]; + this.columnTurnoInizio = base.Columns["TurnoInizio"]; + this.columnInizioValidita = base.Columns["InizioValidita"]; + this.columnFineValidita = base.Columns["FineValidita"]; + this.columnNumFigure = base.Columns["NumFigure"]; + this.columnCodCliente = base.Columns["CodCliente"]; + this.columnRagSociale = base.Columns["RagSociale"]; + this.columnCodArticolo = base.Columns["CodArticolo"]; + this.columnParticolare = base.Columns["Particolare"]; + this.columnDescParticolare = base.Columns["DescParticolare"]; + this.columnDisegnoGrezzo = base.Columns["DisegnoGrezzo"]; + this.columnCodFamiglia = base.Columns["CodFamiglia"]; + this.columnDescFamiglia = base.Columns["DescFamiglia"]; + this.columnFigura = base.Columns["Figura"]; + this.columnEsponente = base.Columns["Esponente"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnCodImpianto = new global::System.Data.DataColumn("CodImpianto", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodImpianto); + this.columnCodStampo = new global::System.Data.DataColumn("CodStampo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodStampo); + this.columnNumStampate = new global::System.Data.DataColumn("NumStampate", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNumStampate); + this.columnDataInizio = new global::System.Data.DataColumn("DataInizio", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDataInizio); + this.columnTurnoInizio = new global::System.Data.DataColumn("TurnoInizio", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnTurnoInizio); + this.columnInizioValidita = new global::System.Data.DataColumn("InizioValidita", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnInizioValidita); + this.columnFineValidita = new global::System.Data.DataColumn("FineValidita", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnFineValidita); + this.columnNumFigure = new global::System.Data.DataColumn("NumFigure", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNumFigure); + 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.columnCodArticolo = new global::System.Data.DataColumn("CodArticolo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodArticolo); + 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.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.columnFigura = new global::System.Data.DataColumn("Figura", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnFigura); + this.columnEsponente = new global::System.Data.DataColumn("Esponente", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnEsponente); + this.columnCodImpianto.AllowDBNull = false; + this.columnCodImpianto.MaxLength = 50; + this.columnCodStampo.AllowDBNull = false; + this.columnCodStampo.MaxLength = 8; + this.columnNumStampate.AllowDBNull = false; + this.columnTurnoInizio.AllowDBNull = false; + this.columnTurnoInizio.MaxLength = 6; + this.columnInizioValidita.AllowDBNull = false; + this.columnCodCliente.ReadOnly = true; + this.columnCodCliente.MaxLength = 50; + this.columnRagSociale.MaxLength = 35; + this.columnCodArticolo.ReadOnly = true; + this.columnCodArticolo.MaxLength = 50; + this.columnParticolare.AllowDBNull = false; + this.columnParticolare.MaxLength = 15; + this.columnDescParticolare.MaxLength = 30; + this.columnDisegnoGrezzo.MaxLength = 30; + this.columnCodFamiglia.MaxLength = 4; + this.columnDescFamiglia.MaxLength = 100; + this.columnFigura.MaxLength = 4; + this.columnEsponente.MaxLength = 6; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_ArtInProdRow Newv_ArtInProdRow() { + return ((v_ArtInProdRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_ArtInProdRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(v_ArtInProdRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_ArtInProdRowChanged != null)) { + this.v_ArtInProdRowChanged(this, new v_ArtInProdRowChangeEvent(((v_ArtInProdRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_ArtInProdRowChanging != null)) { + this.v_ArtInProdRowChanging(this, new v_ArtInProdRowChangeEvent(((v_ArtInProdRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_ArtInProdRowDeleted != null)) { + this.v_ArtInProdRowDeleted(this, new v_ArtInProdRowChangeEvent(((v_ArtInProdRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_ArtInProdRowDeleting != null)) { + this.v_ArtInProdRowDeleting(this, new v_ArtInProdRowChangeEvent(((v_ArtInProdRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removev_ArtInProdRow(v_ArtInProdRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_Applicazione ds = new DS_Applicazione(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "v_ArtInProdDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class AnagOperatoriDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodSoggetto; + + private global::System.Data.DataColumn columnCodCS; + + private global::System.Data.DataColumn columnCodDipendente; + + private global::System.Data.DataColumn columnCodAziendaOp; + + private global::System.Data.DataColumn columnDescAziendaOp; + + private global::System.Data.DataColumn columnCodFilialeOp; + + private global::System.Data.DataColumn columnDescFilialeOp; + + private global::System.Data.DataColumn columnCognome; + + private global::System.Data.DataColumn columnNome; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagOperatoriDataTable() { + this.TableName = "AnagOperatori"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AnagOperatoriDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected AnagOperatoriDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodSoggettoColumn { + get { + return this.columnCodSoggetto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodCSColumn { + get { + return this.columnCodCS; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodDipendenteColumn { + get { + return this.columnCodDipendente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodAziendaOpColumn { + get { + return this.columnCodAziendaOp; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescAziendaOpColumn { + get { + return this.columnDescAziendaOp; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodFilialeOpColumn { + get { + return this.columnCodFilialeOp; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescFilialeOpColumn { + get { + return this.columnDescFilialeOp; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CognomeColumn { + get { + return this.columnCognome; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NomeColumn { + get { + return this.columnNome; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagOperatoriRow this[int index] { + get { + return ((AnagOperatoriRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagOperatoriRowChangeEventHandler AnagOperatoriRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagOperatoriRowChangeEventHandler AnagOperatoriRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagOperatoriRowChangeEventHandler AnagOperatoriRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagOperatoriRowChangeEventHandler AnagOperatoriRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddAnagOperatoriRow(AnagOperatoriRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagOperatoriRow AddAnagOperatoriRow(string CodSoggetto, AnagCompanySitoRow parentAnagCompanySitoRowByFK_AnagOperatori_AnagCompanySito, string CodDipendente, string CodAziendaOp, string DescAziendaOp, string CodFilialeOp, string DescFilialeOp, string Cognome, string Nome) { + AnagOperatoriRow rowAnagOperatoriRow = ((AnagOperatoriRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CodSoggetto, + null, + CodDipendente, + CodAziendaOp, + DescAziendaOp, + CodFilialeOp, + DescFilialeOp, + Cognome, + Nome}; + if ((parentAnagCompanySitoRowByFK_AnagOperatori_AnagCompanySito != null)) { + columnValuesArray[1] = parentAnagCompanySitoRowByFK_AnagOperatori_AnagCompanySito[0]; + } + rowAnagOperatoriRow.ItemArray = columnValuesArray; + this.Rows.Add(rowAnagOperatoriRow); + return rowAnagOperatoriRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagOperatoriRow FindByCodSoggetto(string CodSoggetto) { + return ((AnagOperatoriRow)(this.Rows.Find(new object[] { + CodSoggetto}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + AnagOperatoriDataTable cln = ((AnagOperatoriDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new AnagOperatoriDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnCodSoggetto = base.Columns["CodSoggetto"]; + this.columnCodCS = base.Columns["CodCS"]; + this.columnCodDipendente = base.Columns["CodDipendente"]; + this.columnCodAziendaOp = base.Columns["CodAziendaOp"]; + this.columnDescAziendaOp = base.Columns["DescAziendaOp"]; + this.columnCodFilialeOp = base.Columns["CodFilialeOp"]; + this.columnDescFilialeOp = base.Columns["DescFilialeOp"]; + this.columnCognome = base.Columns["Cognome"]; + this.columnNome = base.Columns["Nome"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnCodSoggetto = new global::System.Data.DataColumn("CodSoggetto", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodSoggetto); + this.columnCodCS = new global::System.Data.DataColumn("CodCS", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCS); + this.columnCodDipendente = new global::System.Data.DataColumn("CodDipendente", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodDipendente); + this.columnCodAziendaOp = new global::System.Data.DataColumn("CodAziendaOp", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodAziendaOp); + this.columnDescAziendaOp = new global::System.Data.DataColumn("DescAziendaOp", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescAziendaOp); + this.columnCodFilialeOp = new global::System.Data.DataColumn("CodFilialeOp", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodFilialeOp); + this.columnDescFilialeOp = new global::System.Data.DataColumn("DescFilialeOp", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescFilialeOp); + 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.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodSoggetto}, true)); + this.columnCodSoggetto.AllowDBNull = false; + this.columnCodSoggetto.Unique = true; + this.columnCodSoggetto.MaxLength = 17; + this.columnCodCS.AllowDBNull = false; + this.columnCodCS.MaxLength = 2; + this.columnCodDipendente.MaxLength = 7; + this.columnCodAziendaOp.AllowDBNull = false; + this.columnCodAziendaOp.MaxLength = 6; + this.columnDescAziendaOp.MaxLength = 40; + this.columnCodFilialeOp.AllowDBNull = false; + this.columnCodFilialeOp.MaxLength = 10; + this.columnDescFilialeOp.MaxLength = 40; + this.columnCognome.AllowDBNull = false; + this.columnCognome.MaxLength = 40; + this.columnNome.AllowDBNull = false; + this.columnNome.MaxLength = 40; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagOperatoriRow NewAnagOperatoriRow() { + return ((AnagOperatoriRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new AnagOperatoriRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(AnagOperatoriRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.AnagOperatoriRowChanged != null)) { + this.AnagOperatoriRowChanged(this, new AnagOperatoriRowChangeEvent(((AnagOperatoriRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.AnagOperatoriRowChanging != null)) { + this.AnagOperatoriRowChanging(this, new AnagOperatoriRowChangeEvent(((AnagOperatoriRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.AnagOperatoriRowDeleted != null)) { + this.AnagOperatoriRowDeleted(this, new AnagOperatoriRowChangeEvent(((AnagOperatoriRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.AnagOperatoriRowDeleting != null)) { + this.AnagOperatoriRowDeleting(this, new AnagOperatoriRowChangeEvent(((AnagOperatoriRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveAnagOperatoriRow(AnagOperatoriRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_Applicazione ds = new DS_Applicazione(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "AnagOperatoriDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class AnagClientiDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodCliente; + + private global::System.Data.DataColumn columnRagSociale; + + private global::System.Data.DataColumn columnLingua; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagClientiDataTable() { + this.TableName = "AnagClienti"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AnagClientiDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected AnagClientiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodClienteColumn { + get { + return this.columnCodCliente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn RagSocialeColumn { + get { + return this.columnRagSociale; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn LinguaColumn { + get { + return this.columnLingua; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagClientiRow this[int index] { + get { + return ((AnagClientiRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagClientiRowChangeEventHandler AnagClientiRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagClientiRowChangeEventHandler AnagClientiRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagClientiRowChangeEventHandler AnagClientiRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagClientiRowChangeEventHandler AnagClientiRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddAnagClientiRow(AnagClientiRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagClientiRow AddAnagClientiRow(string CodCliente, string RagSociale, string Lingua) { + AnagClientiRow rowAnagClientiRow = ((AnagClientiRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CodCliente, + RagSociale, + Lingua}; + rowAnagClientiRow.ItemArray = columnValuesArray; + this.Rows.Add(rowAnagClientiRow); + return rowAnagClientiRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagClientiRow FindByCodCliente(string CodCliente) { + return ((AnagClientiRow)(this.Rows.Find(new object[] { + CodCliente}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + AnagClientiDataTable cln = ((AnagClientiDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new AnagClientiDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnCodCliente = base.Columns["CodCliente"]; + this.columnRagSociale = base.Columns["RagSociale"]; + this.columnLingua = base.Columns["Lingua"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + 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.columnLingua = new global::System.Data.DataColumn("Lingua", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnLingua); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodCliente}, true)); + this.columnCodCliente.AllowDBNull = false; + this.columnCodCliente.Unique = true; + this.columnCodCliente.MaxLength = 6; + this.columnRagSociale.AllowDBNull = false; + this.columnRagSociale.MaxLength = 35; + this.columnLingua.MaxLength = 2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagClientiRow NewAnagClientiRow() { + return ((AnagClientiRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new AnagClientiRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(AnagClientiRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.AnagClientiRowChanged != null)) { + this.AnagClientiRowChanged(this, new AnagClientiRowChangeEvent(((AnagClientiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.AnagClientiRowChanging != null)) { + this.AnagClientiRowChanging(this, new AnagClientiRowChangeEvent(((AnagClientiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.AnagClientiRowDeleted != null)) { + this.AnagClientiRowDeleted(this, new AnagClientiRowChangeEvent(((AnagClientiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.AnagClientiRowDeleting != null)) { + this.AnagClientiRowDeleting(this, new AnagClientiRowChangeEvent(((AnagClientiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveAnagClientiRow(AnagClientiRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_Applicazione ds = new DS_Applicazione(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "AnagClientiDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class AnagParticolariDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnParticolare; + + private global::System.Data.DataColumn columnCodCS; + + private global::System.Data.DataColumn columnCodCliente; + + private global::System.Data.DataColumn columnDisegnoGrezzo; + + private global::System.Data.DataColumn columnCodFamiglia; + + private global::System.Data.DataColumn columnDescParticolare; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagParticolariDataTable() { + this.TableName = "AnagParticolari"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AnagParticolariDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected AnagParticolariDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ParticolareColumn { + get { + return this.columnParticolare; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodCSColumn { + get { + return this.columnCodCS; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodClienteColumn { + get { + return this.columnCodCliente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DisegnoGrezzoColumn { + get { + return this.columnDisegnoGrezzo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodFamigliaColumn { + get { + return this.columnCodFamiglia; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescParticolareColumn { + get { + return this.columnDescParticolare; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagParticolariRow this[int index] { + get { + return ((AnagParticolariRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagParticolariRowChangeEventHandler AnagParticolariRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagParticolariRowChangeEventHandler AnagParticolariRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagParticolariRowChangeEventHandler AnagParticolariRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagParticolariRowChangeEventHandler AnagParticolariRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddAnagParticolariRow(AnagParticolariRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagParticolariRow AddAnagParticolariRow(string Particolare, AnagCompanySitoRow parentAnagCompanySitoRowByFK_AnagParticolari_AnagCompanySito, string CodCliente, string DisegnoGrezzo, string CodFamiglia, string DescParticolare) { + AnagParticolariRow rowAnagParticolariRow = ((AnagParticolariRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + Particolare, + null, + CodCliente, + DisegnoGrezzo, + CodFamiglia, + DescParticolare}; + if ((parentAnagCompanySitoRowByFK_AnagParticolari_AnagCompanySito != null)) { + columnValuesArray[1] = parentAnagCompanySitoRowByFK_AnagParticolari_AnagCompanySito[0]; + } + rowAnagParticolariRow.ItemArray = columnValuesArray; + this.Rows.Add(rowAnagParticolariRow); + return rowAnagParticolariRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagParticolariRow FindByParticolare(string Particolare) { + return ((AnagParticolariRow)(this.Rows.Find(new object[] { + Particolare}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + AnagParticolariDataTable cln = ((AnagParticolariDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new AnagParticolariDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnParticolare = base.Columns["Particolare"]; + this.columnCodCS = base.Columns["CodCS"]; + this.columnCodCliente = base.Columns["CodCliente"]; + this.columnDisegnoGrezzo = base.Columns["DisegnoGrezzo"]; + this.columnCodFamiglia = base.Columns["CodFamiglia"]; + this.columnDescParticolare = base.Columns["DescParticolare"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnParticolare = new global::System.Data.DataColumn("Particolare", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnParticolare); + 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.columnDisegnoGrezzo = new global::System.Data.DataColumn("DisegnoGrezzo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDisegnoGrezzo); + this.columnCodFamiglia = new global::System.Data.DataColumn("CodFamiglia", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodFamiglia); + this.columnDescParticolare = new global::System.Data.DataColumn("DescParticolare", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescParticolare); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnParticolare}, true)); + this.columnParticolare.AllowDBNull = false; + this.columnParticolare.Unique = true; + this.columnParticolare.MaxLength = 15; + this.columnCodCS.AllowDBNull = false; + this.columnCodCS.MaxLength = 2; + this.columnCodCliente.AllowDBNull = false; + this.columnCodCliente.MaxLength = 6; + this.columnDisegnoGrezzo.AllowDBNull = false; + this.columnDisegnoGrezzo.MaxLength = 30; + this.columnCodFamiglia.MaxLength = 4; + this.columnDescParticolare.MaxLength = 30; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagParticolariRow NewAnagParticolariRow() { + return ((AnagParticolariRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new AnagParticolariRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(AnagParticolariRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.AnagParticolariRowChanged != null)) { + this.AnagParticolariRowChanged(this, new AnagParticolariRowChangeEvent(((AnagParticolariRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.AnagParticolariRowChanging != null)) { + this.AnagParticolariRowChanging(this, new AnagParticolariRowChangeEvent(((AnagParticolariRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.AnagParticolariRowDeleted != null)) { + this.AnagParticolariRowDeleted(this, new AnagParticolariRowChangeEvent(((AnagParticolariRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.AnagParticolariRowDeleting != null)) { + this.AnagParticolariRowDeleting(this, new AnagParticolariRowChangeEvent(((AnagParticolariRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveAnagParticolariRow(AnagParticolariRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_Applicazione ds = new DS_Applicazione(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "AnagParticolariDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class AnagFamiglieDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodFamiglia; + + private global::System.Data.DataColumn columnDescFamiglia; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagFamiglieDataTable() { + this.TableName = "AnagFamiglie"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AnagFamiglieDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected AnagFamiglieDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodFamigliaColumn { + get { + return this.columnCodFamiglia; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescFamigliaColumn { + get { + return this.columnDescFamiglia; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagFamiglieRow this[int index] { + get { + return ((AnagFamiglieRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagFamiglieRowChangeEventHandler AnagFamiglieRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagFamiglieRowChangeEventHandler AnagFamiglieRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagFamiglieRowChangeEventHandler AnagFamiglieRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagFamiglieRowChangeEventHandler AnagFamiglieRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddAnagFamiglieRow(AnagFamiglieRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagFamiglieRow AddAnagFamiglieRow(string CodFamiglia, string DescFamiglia) { + AnagFamiglieRow rowAnagFamiglieRow = ((AnagFamiglieRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CodFamiglia, + DescFamiglia}; + rowAnagFamiglieRow.ItemArray = columnValuesArray; + this.Rows.Add(rowAnagFamiglieRow); + return rowAnagFamiglieRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagFamiglieRow FindByCodFamiglia(string CodFamiglia) { + return ((AnagFamiglieRow)(this.Rows.Find(new object[] { + CodFamiglia}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + AnagFamiglieDataTable cln = ((AnagFamiglieDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new AnagFamiglieDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnCodFamiglia = base.Columns["CodFamiglia"]; + this.columnDescFamiglia = base.Columns["DescFamiglia"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnCodFamiglia = new global::System.Data.DataColumn("CodFamiglia", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodFamiglia); + this.columnDescFamiglia = new global::System.Data.DataColumn("DescFamiglia", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescFamiglia); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodFamiglia}, true)); + this.columnCodFamiglia.AllowDBNull = false; + this.columnCodFamiglia.Unique = true; + this.columnCodFamiglia.MaxLength = 4; + this.columnDescFamiglia.MaxLength = 100; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagFamiglieRow NewAnagFamiglieRow() { + return ((AnagFamiglieRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new AnagFamiglieRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(AnagFamiglieRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.AnagFamiglieRowChanged != null)) { + this.AnagFamiglieRowChanged(this, new AnagFamiglieRowChangeEvent(((AnagFamiglieRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.AnagFamiglieRowChanging != null)) { + this.AnagFamiglieRowChanging(this, new AnagFamiglieRowChangeEvent(((AnagFamiglieRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.AnagFamiglieRowDeleted != null)) { + this.AnagFamiglieRowDeleted(this, new AnagFamiglieRowChangeEvent(((AnagFamiglieRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.AnagFamiglieRowDeleting != null)) { + this.AnagFamiglieRowDeleting(this, new AnagFamiglieRowChangeEvent(((AnagFamiglieRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveAnagFamiglieRow(AnagFamiglieRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_Applicazione ds = new DS_Applicazione(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "AnagFamiglieDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class Soggetti2UtenteDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodSoggetto; + + private global::System.Data.DataColumn columnUSER_NAME; + + private global::System.Data.DataColumn columnDOMINIO; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public Soggetti2UtenteDataTable() { + this.TableName = "Soggetti2Utente"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal Soggetti2UtenteDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected Soggetti2UtenteDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodSoggettoColumn { + get { + return this.columnCodSoggetto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn USER_NAMEColumn { + get { + return this.columnUSER_NAME; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DOMINIOColumn { + get { + return this.columnDOMINIO; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public Soggetti2UtenteRow this[int index] { + get { + return ((Soggetti2UtenteRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event Soggetti2UtenteRowChangeEventHandler Soggetti2UtenteRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event Soggetti2UtenteRowChangeEventHandler Soggetti2UtenteRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event Soggetti2UtenteRowChangeEventHandler Soggetti2UtenteRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event Soggetti2UtenteRowChangeEventHandler Soggetti2UtenteRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddSoggetti2UtenteRow(Soggetti2UtenteRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public Soggetti2UtenteRow AddSoggetti2UtenteRow(AnagOperatoriRow parentAnagOperatoriRowByFK_Soggetti2Utente_AnagOperatori, string USER_NAME, string DOMINIO) { + Soggetti2UtenteRow rowSoggetti2UtenteRow = ((Soggetti2UtenteRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + USER_NAME, + DOMINIO}; + if ((parentAnagOperatoriRowByFK_Soggetti2Utente_AnagOperatori != null)) { + columnValuesArray[0] = parentAnagOperatoriRowByFK_Soggetti2Utente_AnagOperatori[0]; + } + rowSoggetti2UtenteRow.ItemArray = columnValuesArray; + this.Rows.Add(rowSoggetti2UtenteRow); + return rowSoggetti2UtenteRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public Soggetti2UtenteRow FindByCodSoggettoUSER_NAME(string CodSoggetto, string USER_NAME) { + return ((Soggetti2UtenteRow)(this.Rows.Find(new object[] { + CodSoggetto, + USER_NAME}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + Soggetti2UtenteDataTable cln = ((Soggetti2UtenteDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new Soggetti2UtenteDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnCodSoggetto = base.Columns["CodSoggetto"]; + this.columnUSER_NAME = base.Columns["USER_NAME"]; + this.columnDOMINIO = base.Columns["DOMINIO"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnCodSoggetto = new global::System.Data.DataColumn("CodSoggetto", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodSoggetto); + this.columnUSER_NAME = new global::System.Data.DataColumn("USER_NAME", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnUSER_NAME); + this.columnDOMINIO = new global::System.Data.DataColumn("DOMINIO", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDOMINIO); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodSoggetto, + this.columnUSER_NAME}, true)); + this.columnCodSoggetto.AllowDBNull = false; + this.columnCodSoggetto.MaxLength = 17; + this.columnUSER_NAME.AllowDBNull = false; + this.columnUSER_NAME.MaxLength = 50; + this.columnDOMINIO.MaxLength = 30; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public Soggetti2UtenteRow NewSoggetti2UtenteRow() { + return ((Soggetti2UtenteRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new Soggetti2UtenteRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(Soggetti2UtenteRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.Soggetti2UtenteRowChanged != null)) { + this.Soggetti2UtenteRowChanged(this, new Soggetti2UtenteRowChangeEvent(((Soggetti2UtenteRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.Soggetti2UtenteRowChanging != null)) { + this.Soggetti2UtenteRowChanging(this, new Soggetti2UtenteRowChangeEvent(((Soggetti2UtenteRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.Soggetti2UtenteRowDeleted != null)) { + this.Soggetti2UtenteRowDeleted(this, new Soggetti2UtenteRowChangeEvent(((Soggetti2UtenteRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.Soggetti2UtenteRowDeleting != null)) { + this.Soggetti2UtenteRowDeleting(this, new Soggetti2UtenteRowChangeEvent(((Soggetti2UtenteRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveSoggetti2UtenteRow(Soggetti2UtenteRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_Applicazione ds = new DS_Applicazione(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "Soggetti2UtenteDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_specParticolariDataTable : global::System.Data.TypedTableBase { + + 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 columnCodStampo; + + private global::System.Data.DataColumn columnFigura; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_specParticolariDataTable() { + this.TableName = "v_specParticolari"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_specParticolariDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected v_specParticolariDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodClienteColumn { + get { + return this.columnCodCliente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn RagSocialeColumn { + get { + return this.columnRagSociale; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ParticolareColumn { + get { + return this.columnParticolare; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescParticolareColumn { + get { + return this.columnDescParticolare; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DisegnoGrezzoColumn { + get { + return this.columnDisegnoGrezzo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn EsponenteColumn { + get { + return this.columnEsponente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodStampoColumn { + get { + return this.columnCodStampo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn FiguraColumn { + get { + return this.columnFigura; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_specParticolariRow this[int index] { + get { + return ((v_specParticolariRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_specParticolariRowChangeEventHandler v_specParticolariRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_specParticolariRowChangeEventHandler v_specParticolariRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_specParticolariRowChangeEventHandler v_specParticolariRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_specParticolariRowChangeEventHandler v_specParticolariRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addv_specParticolariRow(v_specParticolariRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_specParticolariRow Addv_specParticolariRow(string CodCliente, string RagSociale, string Particolare, string DescParticolare, string DisegnoGrezzo, string Esponente, string CodStampo, string Figura) { + v_specParticolariRow rowv_specParticolariRow = ((v_specParticolariRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CodCliente, + RagSociale, + Particolare, + DescParticolare, + DisegnoGrezzo, + Esponente, + CodStampo, + Figura}; + rowv_specParticolariRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_specParticolariRow); + return rowv_specParticolariRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + v_specParticolariDataTable cln = ((v_specParticolariDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new v_specParticolariDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + 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.columnCodStampo = base.Columns["CodStampo"]; + this.columnFigura = base.Columns["Figura"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + 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.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.columnCodCliente.MaxLength = 6; + this.columnRagSociale.MaxLength = 35; + this.columnParticolare.MaxLength = 15; + this.columnDescParticolare.MaxLength = 30; + this.columnDisegnoGrezzo.MaxLength = 30; + this.columnEsponente.MaxLength = 6; + this.columnCodStampo.MaxLength = 8; + this.columnFigura.MaxLength = 4; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_specParticolariRow Newv_specParticolariRow() { + return ((v_specParticolariRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_specParticolariRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(v_specParticolariRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_specParticolariRowChanged != null)) { + this.v_specParticolariRowChanged(this, new v_specParticolariRowChangeEvent(((v_specParticolariRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_specParticolariRowChanging != null)) { + this.v_specParticolariRowChanging(this, new v_specParticolariRowChangeEvent(((v_specParticolariRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_specParticolariRowDeleted != null)) { + this.v_specParticolariRowDeleted(this, new v_specParticolariRowChangeEvent(((v_specParticolariRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_specParticolariRowDeleting != null)) { + this.v_specParticolariRowDeleting(this, new v_specParticolariRowChangeEvent(((v_specParticolariRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removev_specParticolariRow(v_specParticolariRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_Applicazione ds = new DS_Applicazione(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "v_specParticolariDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class ElencoPostazioniDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columncodPostazione; + + private global::System.Data.DataColumn columnstampante; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoPostazioniDataTable() { + this.TableName = "ElencoPostazioni"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal ElencoPostazioniDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected ElencoPostazioniDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn codPostazioneColumn { + get { + return this.columncodPostazione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn stampanteColumn { + get { + return this.columnstampante; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoPostazioniRow this[int index] { + get { + return ((ElencoPostazioniRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event ElencoPostazioniRowChangeEventHandler ElencoPostazioniRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event ElencoPostazioniRowChangeEventHandler ElencoPostazioniRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event ElencoPostazioniRowChangeEventHandler ElencoPostazioniRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event ElencoPostazioniRowChangeEventHandler ElencoPostazioniRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddElencoPostazioniRow(ElencoPostazioniRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoPostazioniRow AddElencoPostazioniRow(string codPostazione, string stampante) { + ElencoPostazioniRow rowElencoPostazioniRow = ((ElencoPostazioniRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + codPostazione, + stampante}; + rowElencoPostazioniRow.ItemArray = columnValuesArray; + this.Rows.Add(rowElencoPostazioniRow); + return rowElencoPostazioniRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoPostazioniRow FindBycodPostazione(string codPostazione) { + return ((ElencoPostazioniRow)(this.Rows.Find(new object[] { + codPostazione}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + ElencoPostazioniDataTable cln = ((ElencoPostazioniDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new ElencoPostazioniDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columncodPostazione = base.Columns["codPostazione"]; + this.columnstampante = base.Columns["stampante"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columncodPostazione = new global::System.Data.DataColumn("codPostazione", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncodPostazione); + this.columnstampante = new global::System.Data.DataColumn("stampante", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnstampante); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columncodPostazione}, true)); + this.columncodPostazione.AllowDBNull = false; + this.columncodPostazione.Unique = true; + this.columncodPostazione.MaxLength = 250; + this.columnstampante.MaxLength = 250; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoPostazioniRow NewElencoPostazioniRow() { + return ((ElencoPostazioniRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new ElencoPostazioniRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(ElencoPostazioniRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.ElencoPostazioniRowChanged != null)) { + this.ElencoPostazioniRowChanged(this, new ElencoPostazioniRowChangeEvent(((ElencoPostazioniRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.ElencoPostazioniRowChanging != null)) { + this.ElencoPostazioniRowChanging(this, new ElencoPostazioniRowChangeEvent(((ElencoPostazioniRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.ElencoPostazioniRowDeleted != null)) { + this.ElencoPostazioniRowDeleted(this, new ElencoPostazioniRowChangeEvent(((ElencoPostazioniRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.ElencoPostazioniRowDeleting != null)) { + this.ElencoPostazioniRowDeleting(this, new ElencoPostazioniRowChangeEvent(((ElencoPostazioniRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveElencoPostazioniRow(ElencoPostazioniRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_Applicazione ds = new DS_Applicazione(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "ElencoPostazioniDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class stp_prtCartLiquidiF10ByUDCDataTable : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartLiquidiF10ByUDCDataTable() { + this.TableName = "stp_prtCartLiquidiF10ByUDC"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal stp_prtCartLiquidiF10ByUDCDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected stp_prtCartLiquidiF10ByUDCDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn UDCColumn { + get { + return this.columnUDC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodCSColumn { + get { + return this.columnCodCS; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn codclienteColumn { + get { + return this.columncodcliente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ragsocialeColumn { + get { + return this.columnragsociale; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn particolareColumn { + get { + return this.columnparticolare; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn descparticolareColumn { + get { + return this.columndescparticolare; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn disegnogrezzoColumn { + get { + return this.columndisegnogrezzo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn esponenteColumn { + get { + return this.columnesponente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn codimpiantoColumn { + get { + return this.columncodimpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn descimpiantoColumn { + get { + return this.columndescimpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn codstampoColumn { + get { + return this.columncodstampo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn figuraColumn { + get { + return this.columnfigura; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn datafusColumn { + get { + return this.columndatafus; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn turnofusColumn { + get { + return this.columnturnofus; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn codimballoColumn { + get { + return this.columncodimballo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn codsoggettoColumn { + get { + return this.columncodsoggetto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn numcontColumn { + get { + return this.columnnumcont; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn taraColumn { + get { + return this.columntara; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn qtaColumn { + get { + return this.columnqta; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn codstatoColumn { + get { + return this.columncodstato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn idxposizioneColumn { + get { + return this.columnidxposizione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn pesototColumn { + get { + return this.columnpesotot; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn pesocadColumn { + get { + return this.columnpesocad; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CreateDateColumn { + get { + return this.columnCreateDate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ModDateColumn { + get { + return this.columnModDate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn cognomeColumn { + get { + return this.columncognome; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn nomeColumn { + get { + return this.columnnome; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn descstatoColumn { + get { + return this.columndescstato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn descimballoColumn { + get { + return this.columndescimballo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodFamigliaColumn { + get { + return this.columnCodFamiglia; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescFamigliaColumn { + get { + return this.columnDescFamiglia; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NoteColumn { + get { + return this.columnNote; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NoteTrattColumn { + get { + return this.columnNoteTratt; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartLiquidiF10ByUDCRow this[int index] { + get { + return ((stp_prtCartLiquidiF10ByUDCRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event stp_prtCartLiquidiF10ByUDCRowChangeEventHandler stp_prtCartLiquidiF10ByUDCRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event stp_prtCartLiquidiF10ByUDCRowChangeEventHandler stp_prtCartLiquidiF10ByUDCRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event stp_prtCartLiquidiF10ByUDCRowChangeEventHandler stp_prtCartLiquidiF10ByUDCRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event stp_prtCartLiquidiF10ByUDCRowChangeEventHandler stp_prtCartLiquidiF10ByUDCRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addstp_prtCartLiquidiF10ByUDCRow(stp_prtCartLiquidiF10ByUDCRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartLiquidiF10ByUDCRow Addstp_prtCartLiquidiF10ByUDCRow( + 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_prtCartLiquidiF10ByUDCRow rowstp_prtCartLiquidiF10ByUDCRow = ((stp_prtCartLiquidiF10ByUDCRow)(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_prtCartLiquidiF10ByUDCRow.ItemArray = columnValuesArray; + this.Rows.Add(rowstp_prtCartLiquidiF10ByUDCRow); + return rowstp_prtCartLiquidiF10ByUDCRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartLiquidiF10ByUDCRow FindByUDC(string UDC) { + return ((stp_prtCartLiquidiF10ByUDCRow)(this.Rows.Find(new object[] { + UDC}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + stp_prtCartLiquidiF10ByUDCDataTable cln = ((stp_prtCartLiquidiF10ByUDCDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new stp_prtCartLiquidiF10ByUDCDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartLiquidiF10ByUDCRow Newstp_prtCartLiquidiF10ByUDCRow() { + return ((stp_prtCartLiquidiF10ByUDCRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new stp_prtCartLiquidiF10ByUDCRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(stp_prtCartLiquidiF10ByUDCRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.stp_prtCartLiquidiF10ByUDCRowChanged != null)) { + this.stp_prtCartLiquidiF10ByUDCRowChanged(this, new stp_prtCartLiquidiF10ByUDCRowChangeEvent(((stp_prtCartLiquidiF10ByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.stp_prtCartLiquidiF10ByUDCRowChanging != null)) { + this.stp_prtCartLiquidiF10ByUDCRowChanging(this, new stp_prtCartLiquidiF10ByUDCRowChangeEvent(((stp_prtCartLiquidiF10ByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.stp_prtCartLiquidiF10ByUDCRowDeleted != null)) { + this.stp_prtCartLiquidiF10ByUDCRowDeleted(this, new stp_prtCartLiquidiF10ByUDCRowChangeEvent(((stp_prtCartLiquidiF10ByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.stp_prtCartLiquidiF10ByUDCRowDeleting != null)) { + this.stp_prtCartLiquidiF10ByUDCRowDeleting(this, new stp_prtCartLiquidiF10ByUDCRowChangeEvent(((stp_prtCartLiquidiF10ByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removestp_prtCartLiquidiF10ByUDCRow(stp_prtCartLiquidiF10ByUDCRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_Applicazione ds = new DS_Applicazione(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "stp_prtCartLiquidiF10ByUDCDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class stp_prtCartLiquidiF18ByUDCDataTable : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartLiquidiF18ByUDCDataTable() { + this.TableName = "stp_prtCartLiquidiF18ByUDC"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal stp_prtCartLiquidiF18ByUDCDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected stp_prtCartLiquidiF18ByUDCDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn UDCColumn { + get { + return this.columnUDC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodCSColumn { + get { + return this.columnCodCS; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn codclienteColumn { + get { + return this.columncodcliente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ragsocialeColumn { + get { + return this.columnragsociale; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn particolareColumn { + get { + return this.columnparticolare; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn descparticolareColumn { + get { + return this.columndescparticolare; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn disegnogrezzoColumn { + get { + return this.columndisegnogrezzo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn esponenteColumn { + get { + return this.columnesponente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn codimpiantoColumn { + get { + return this.columncodimpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn descimpiantoColumn { + get { + return this.columndescimpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn codstampoColumn { + get { + return this.columncodstampo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn figuraColumn { + get { + return this.columnfigura; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn datafusColumn { + get { + return this.columndatafus; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn turnofusColumn { + get { + return this.columnturnofus; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn codimballoColumn { + get { + return this.columncodimballo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn codsoggettoColumn { + get { + return this.columncodsoggetto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn numcontColumn { + get { + return this.columnnumcont; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn taraColumn { + get { + return this.columntara; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn qtaColumn { + get { + return this.columnqta; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn codstatoColumn { + get { + return this.columncodstato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn idxposizioneColumn { + get { + return this.columnidxposizione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn pesototColumn { + get { + return this.columnpesotot; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn pesocadColumn { + get { + return this.columnpesocad; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CreateDateColumn { + get { + return this.columnCreateDate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ModDateColumn { + get { + return this.columnModDate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn cognomeColumn { + get { + return this.columncognome; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn nomeColumn { + get { + return this.columnnome; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn descstatoColumn { + get { + return this.columndescstato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn descimballoColumn { + get { + return this.columndescimballo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodFamigliaColumn { + get { + return this.columnCodFamiglia; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescFamigliaColumn { + get { + return this.columnDescFamiglia; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NoteColumn { + get { + return this.columnNote; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NoteTrattColumn { + get { + return this.columnNoteTratt; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartLiquidiF18ByUDCRow this[int index] { + get { + return ((stp_prtCartLiquidiF18ByUDCRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event stp_prtCartLiquidiF18ByUDCRowChangeEventHandler stp_prtCartLiquidiF18ByUDCRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event stp_prtCartLiquidiF18ByUDCRowChangeEventHandler stp_prtCartLiquidiF18ByUDCRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event stp_prtCartLiquidiF18ByUDCRowChangeEventHandler stp_prtCartLiquidiF18ByUDCRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event stp_prtCartLiquidiF18ByUDCRowChangeEventHandler stp_prtCartLiquidiF18ByUDCRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addstp_prtCartLiquidiF18ByUDCRow(stp_prtCartLiquidiF18ByUDCRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartLiquidiF18ByUDCRow Addstp_prtCartLiquidiF18ByUDCRow( + 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_prtCartLiquidiF18ByUDCRow rowstp_prtCartLiquidiF18ByUDCRow = ((stp_prtCartLiquidiF18ByUDCRow)(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_prtCartLiquidiF18ByUDCRow.ItemArray = columnValuesArray; + this.Rows.Add(rowstp_prtCartLiquidiF18ByUDCRow); + return rowstp_prtCartLiquidiF18ByUDCRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartLiquidiF18ByUDCRow FindByUDC(string UDC) { + return ((stp_prtCartLiquidiF18ByUDCRow)(this.Rows.Find(new object[] { + UDC}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + stp_prtCartLiquidiF18ByUDCDataTable cln = ((stp_prtCartLiquidiF18ByUDCDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new stp_prtCartLiquidiF18ByUDCDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartLiquidiF18ByUDCRow Newstp_prtCartLiquidiF18ByUDCRow() { + return ((stp_prtCartLiquidiF18ByUDCRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new stp_prtCartLiquidiF18ByUDCRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(stp_prtCartLiquidiF18ByUDCRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.stp_prtCartLiquidiF18ByUDCRowChanged != null)) { + this.stp_prtCartLiquidiF18ByUDCRowChanged(this, new stp_prtCartLiquidiF18ByUDCRowChangeEvent(((stp_prtCartLiquidiF18ByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.stp_prtCartLiquidiF18ByUDCRowChanging != null)) { + this.stp_prtCartLiquidiF18ByUDCRowChanging(this, new stp_prtCartLiquidiF18ByUDCRowChangeEvent(((stp_prtCartLiquidiF18ByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.stp_prtCartLiquidiF18ByUDCRowDeleted != null)) { + this.stp_prtCartLiquidiF18ByUDCRowDeleted(this, new stp_prtCartLiquidiF18ByUDCRowChangeEvent(((stp_prtCartLiquidiF18ByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.stp_prtCartLiquidiF18ByUDCRowDeleting != null)) { + this.stp_prtCartLiquidiF18ByUDCRowDeleting(this, new stp_prtCartLiquidiF18ByUDCRowChangeEvent(((stp_prtCartLiquidiF18ByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removestp_prtCartLiquidiF18ByUDCRow(stp_prtCartLiquidiF18ByUDCRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_Applicazione ds = new DS_Applicazione(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "stp_prtCartLiquidiF18ByUDCDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_RapQualNoteDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnnRapQual; + + private global::System.Data.DataColumn columnDataRapQual; + + private global::System.Data.DataColumn columnProgUDC; + + private global::System.Data.DataColumn columnCodFor; + + private global::System.Data.DataColumn columnDestTerz; + + private global::System.Data.DataColumn columnCodLega; + + private global::System.Data.DataColumn columnDataPrelFus; + + private global::System.Data.DataColumn columnTurnoPrelFus; + + private global::System.Data.DataColumn columnQta; + + private global::System.Data.DataColumn columnDestLega; + + private global::System.Data.DataColumn columnLegaScaric; + + private global::System.Data.DataColumn columnBenesQual; + + private global::System.Data.DataColumn columnUDC; + + private global::System.Data.DataColumn columnNote; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_RapQualNoteDataTable() { + this.TableName = "v_RapQualNote"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_RapQualNoteDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected v_RapQualNoteDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn nRapQualColumn { + get { + return this.columnnRapQual; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DataRapQualColumn { + get { + return this.columnDataRapQual; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ProgUDCColumn { + get { + return this.columnProgUDC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodForColumn { + get { + return this.columnCodFor; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DestTerzColumn { + get { + return this.columnDestTerz; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodLegaColumn { + get { + return this.columnCodLega; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DataPrelFusColumn { + get { + return this.columnDataPrelFus; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn TurnoPrelFusColumn { + get { + return this.columnTurnoPrelFus; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn QtaColumn { + get { + return this.columnQta; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DestLegaColumn { + get { + return this.columnDestLega; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn LegaScaricColumn { + get { + return this.columnLegaScaric; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn BenesQualColumn { + get { + return this.columnBenesQual; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn UDCColumn { + get { + return this.columnUDC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NoteColumn { + get { + return this.columnNote; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_RapQualNoteRow this[int index] { + get { + return ((v_RapQualNoteRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_RapQualNoteRowChangeEventHandler v_RapQualNoteRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_RapQualNoteRowChangeEventHandler v_RapQualNoteRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_RapQualNoteRowChangeEventHandler v_RapQualNoteRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_RapQualNoteRowChangeEventHandler v_RapQualNoteRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addv_RapQualNoteRow(v_RapQualNoteRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_RapQualNoteRow Addv_RapQualNoteRow(decimal nRapQual, decimal DataRapQual, string ProgUDC, string CodFor, string DestTerz, string CodLega, decimal DataPrelFus, string TurnoPrelFus, decimal Qta, string DestLega, string LegaScaric, string BenesQual, string UDC, string Note) { + v_RapQualNoteRow rowv_RapQualNoteRow = ((v_RapQualNoteRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + nRapQual, + DataRapQual, + ProgUDC, + CodFor, + DestTerz, + CodLega, + DataPrelFus, + TurnoPrelFus, + Qta, + DestLega, + LegaScaric, + BenesQual, + UDC, + Note}; + rowv_RapQualNoteRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_RapQualNoteRow); + return rowv_RapQualNoteRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_RapQualNoteRow FindByProgUDC(string ProgUDC) { + return ((v_RapQualNoteRow)(this.Rows.Find(new object[] { + ProgUDC}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + v_RapQualNoteDataTable cln = ((v_RapQualNoteDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new v_RapQualNoteDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnnRapQual = base.Columns["nRapQual"]; + this.columnDataRapQual = base.Columns["DataRapQual"]; + this.columnProgUDC = base.Columns["ProgUDC"]; + this.columnCodFor = base.Columns["CodFor"]; + this.columnDestTerz = base.Columns["DestTerz"]; + this.columnCodLega = base.Columns["CodLega"]; + this.columnDataPrelFus = base.Columns["DataPrelFus"]; + this.columnTurnoPrelFus = base.Columns["TurnoPrelFus"]; + this.columnQta = base.Columns["Qta"]; + this.columnDestLega = base.Columns["DestLega"]; + this.columnLegaScaric = base.Columns["LegaScaric"]; + this.columnBenesQual = base.Columns["BenesQual"]; + this.columnUDC = base.Columns["UDC"]; + this.columnNote = base.Columns["Note"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnnRapQual = new global::System.Data.DataColumn("nRapQual", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnnRapQual); + this.columnDataRapQual = new global::System.Data.DataColumn("DataRapQual", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDataRapQual); + this.columnProgUDC = new global::System.Data.DataColumn("ProgUDC", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnProgUDC); + this.columnCodFor = new global::System.Data.DataColumn("CodFor", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodFor); + this.columnDestTerz = new global::System.Data.DataColumn("DestTerz", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDestTerz); + this.columnCodLega = new global::System.Data.DataColumn("CodLega", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodLega); + this.columnDataPrelFus = new global::System.Data.DataColumn("DataPrelFus", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDataPrelFus); + this.columnTurnoPrelFus = new global::System.Data.DataColumn("TurnoPrelFus", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnTurnoPrelFus); + this.columnQta = new global::System.Data.DataColumn("Qta", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnQta); + this.columnDestLega = new global::System.Data.DataColumn("DestLega", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDestLega); + this.columnLegaScaric = new global::System.Data.DataColumn("LegaScaric", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnLegaScaric); + this.columnBenesQual = new global::System.Data.DataColumn("BenesQual", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnBenesQual); + this.columnUDC = new global::System.Data.DataColumn("UDC", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnUDC); + this.columnNote = new global::System.Data.DataColumn("Note", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNote); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnProgUDC}, true)); + this.columnnRapQual.AllowDBNull = false; + this.columnDataRapQual.AllowDBNull = false; + this.columnProgUDC.AllowDBNull = false; + this.columnProgUDC.Unique = true; + this.columnProgUDC.MaxLength = 10; + this.columnCodFor.AllowDBNull = false; + this.columnCodFor.MaxLength = 6; + this.columnDestTerz.AllowDBNull = false; + this.columnDestTerz.MaxLength = 6; + this.columnCodLega.AllowDBNull = false; + this.columnCodLega.MaxLength = 15; + this.columnDataPrelFus.AllowDBNull = false; + this.columnTurnoPrelFus.AllowDBNull = false; + this.columnTurnoPrelFus.MaxLength = 5; + this.columnQta.AllowDBNull = false; + this.columnDestLega.AllowDBNull = false; + this.columnDestLega.MaxLength = 3; + this.columnLegaScaric.AllowDBNull = false; + this.columnLegaScaric.MaxLength = 1; + this.columnBenesQual.AllowDBNull = false; + this.columnBenesQual.MaxLength = 1; + this.columnUDC.MaxLength = 50; + this.columnNote.ReadOnly = true; + this.columnNote.MaxLength = 500; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_RapQualNoteRow Newv_RapQualNoteRow() { + return ((v_RapQualNoteRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_RapQualNoteRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(v_RapQualNoteRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_RapQualNoteRowChanged != null)) { + this.v_RapQualNoteRowChanged(this, new v_RapQualNoteRowChangeEvent(((v_RapQualNoteRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_RapQualNoteRowChanging != null)) { + this.v_RapQualNoteRowChanging(this, new v_RapQualNoteRowChangeEvent(((v_RapQualNoteRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_RapQualNoteRowDeleted != null)) { + this.v_RapQualNoteRowDeleted(this, new v_RapQualNoteRowChangeEvent(((v_RapQualNoteRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_RapQualNoteRowDeleting != null)) { + this.v_RapQualNoteRowDeleting(this, new v_RapQualNoteRowChangeEvent(((v_RapQualNoteRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removev_RapQualNoteRow(v_RapQualNoteRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_Applicazione ds = new DS_Applicazione(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "v_RapQualNoteDataTable"; + 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. + /// + public partial class AnagStatiRow : global::System.Data.DataRow { + + private AnagStatiDataTable tableAnagStati; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AnagStatiRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableAnagStati = ((AnagStatiDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int IdxStato { + get { + return ((int)(this[this.tableAnagStati.IdxStatoColumn])); + } + set { + this[this.tableAnagStati.IdxStatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescrStato { + get { + try { + return ((string)(this[this.tableAnagStati.DescrStatoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescrStato\' in table \'AnagStati\' is DBNull.", e); + } + } + set { + this[this.tableAnagStati.DescrStatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescrStatoNull() { + return this.IsNull(this.tableAnagStati.DescrStatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescrStatoNull() { + this[this.tableAnagStati.DescrStatoColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class AnagTipoDichiarazRow : global::System.Data.DataRow { + + private AnagTipoDichiarazDataTable tableAnagTipoDichiaraz; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AnagTipoDichiarazRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableAnagTipoDichiaraz = ((AnagTipoDichiarazDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodTipoDichiaraz { + get { + return ((string)(this[this.tableAnagTipoDichiaraz.CodTipoDichiarazColumn])); + } + set { + this[this.tableAnagTipoDichiaraz.CodTipoDichiarazColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescrTipoDichiaraz { + get { + try { + return ((string)(this[this.tableAnagTipoDichiaraz.DescrTipoDichiarazColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescrTipoDichiaraz\' in table \'AnagTipoDichiaraz\' is DBNull." + + "", e); + } + } + set { + this[this.tableAnagTipoDichiaraz.DescrTipoDichiarazColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescrTipoDichiarazNull() { + return this.IsNull(this.tableAnagTipoDichiaraz.DescrTipoDichiarazColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescrTipoDichiarazNull() { + this[this.tableAnagTipoDichiaraz.DescrTipoDichiarazColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class AnagStatiProdottoRow : global::System.Data.DataRow { + + private AnagStatiProdottoDataTable tableAnagStatiProdotto; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AnagStatiProdottoRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableAnagStatiProdotto = ((AnagStatiProdottoDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodStato { + get { + return ((string)(this[this.tableAnagStatiProdotto.CodStatoColumn])); + } + set { + this[this.tableAnagStatiProdotto.CodStatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescStato { + get { + try { + return ((string)(this[this.tableAnagStatiProdotto.DescStatoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescStato\' in table \'AnagStatiProdotto\' is DBNull.", e); + } + } + set { + this[this.tableAnagStatiProdotto.DescStatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescStatoNull() { + return this.IsNull(this.tableAnagStatiProdotto.DescStatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescStatoNull() { + this[this.tableAnagStatiProdotto.DescStatoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoCartelliniRow[] GetElencoCartelliniRows() { + if ((this.Table.ChildRelations["FK_ElencoCartellini_AnagStatiProdotto"] == null)) { + return new ElencoCartelliniRow[0]; + } + else { + return ((ElencoCartelliniRow[])(base.GetChildRows(this.Table.ChildRelations["FK_ElencoCartellini_AnagStatiProdotto"]))); + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class RelazUDCRow : global::System.Data.DataRow { + + private RelazUDCDataTable tableRelazUDC; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal RelazUDCRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableRelazUDC = ((RelazUDCDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string UDC_parent { + get { + return ((string)(this[this.tableRelazUDC.UDC_parentColumn])); + } + set { + this[this.tableRelazUDC.UDC_parentColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string UDC_child { + get { + return ((string)(this[this.tableRelazUDC.UDC_childColumn])); + } + set { + this[this.tableRelazUDC.UDC_childColumn] = value; + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class AnagImpiantiRow : global::System.Data.DataRow { + + private AnagImpiantiDataTable tableAnagImpianti; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AnagImpiantiRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableAnagImpianti = ((AnagImpiantiDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodImpianto { + get { + return ((string)(this[this.tableAnagImpianti.CodImpiantoColumn])); + } + set { + this[this.tableAnagImpianti.CodImpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCS { + get { + return ((string)(this[this.tableAnagImpianti.CodCSColumn])); + } + set { + this[this.tableAnagImpianti.CodCSColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescImpianto { + get { + try { + return ((string)(this[this.tableAnagImpianti.DescImpiantoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescImpianto\' in table \'AnagImpianti\' is DBNull.", e); + } + } + set { + this[this.tableAnagImpianti.DescImpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campionatura { + get { + try { + return ((string)(this[this.tableAnagImpianti.CampionaturaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Campionatura\' in table \'AnagImpianti\' is DBNull.", e); + } + } + set { + this[this.tableAnagImpianti.CampionaturaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string TipoLinea { + get { + try { + return ((string)(this[this.tableAnagImpianti.TipoLineaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'TipoLinea\' in table \'AnagImpianti\' is DBNull.", e); + } + } + set { + this[this.tableAnagImpianti.TipoLineaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagCompanySitoRow AnagCompanySitoRow { + get { + return ((AnagCompanySitoRow)(this.GetParentRow(this.Table.ParentRelations["FK_AnagImpianti_AnagCompanySito"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["FK_AnagImpianti_AnagCompanySito"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescImpiantoNull() { + return this.IsNull(this.tableAnagImpianti.DescImpiantoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescImpiantoNull() { + this[this.tableAnagImpianti.DescImpiantoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCampionaturaNull() { + return this.IsNull(this.tableAnagImpianti.CampionaturaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCampionaturaNull() { + this[this.tableAnagImpianti.CampionaturaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsTipoLineaNull() { + return this.IsNull(this.tableAnagImpianti.TipoLineaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetTipoLineaNull() { + this[this.tableAnagImpianti.TipoLineaColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class AnagCompanySitoRow : global::System.Data.DataRow { + + private AnagCompanySitoDataTable tableAnagCompanySito; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AnagCompanySitoRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableAnagCompanySito = ((AnagCompanySitoDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCS { + get { + return ((string)(this[this.tableAnagCompanySito.CodCSColumn])); + } + set { + this[this.tableAnagCompanySito.CodCSColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCompany { + get { + try { + return ((string)(this[this.tableAnagCompanySito.CodCompanyColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodCompany\' in table \'AnagCompanySito\' is DBNull.", e); + } + } + set { + this[this.tableAnagCompanySito.CodCompanyColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescCompany { + get { + try { + return ((string)(this[this.tableAnagCompanySito.DescCompanyColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescCompany\' in table \'AnagCompanySito\' is DBNull.", e); + } + } + set { + this[this.tableAnagCompanySito.DescCompanyColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodSito { + get { + try { + return ((string)(this[this.tableAnagCompanySito.CodSitoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodSito\' in table \'AnagCompanySito\' is DBNull.", e); + } + } + set { + this[this.tableAnagCompanySito.CodSitoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescSito { + get { + try { + return ((string)(this[this.tableAnagCompanySito.DescSitoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescSito\' in table \'AnagCompanySito\' is DBNull.", e); + } + } + set { + this[this.tableAnagCompanySito.DescSitoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodCompanyNull() { + return this.IsNull(this.tableAnagCompanySito.CodCompanyColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodCompanyNull() { + this[this.tableAnagCompanySito.CodCompanyColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescCompanyNull() { + return this.IsNull(this.tableAnagCompanySito.DescCompanyColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescCompanyNull() { + this[this.tableAnagCompanySito.DescCompanyColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodSitoNull() { + return this.IsNull(this.tableAnagCompanySito.CodSitoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodSitoNull() { + this[this.tableAnagCompanySito.CodSitoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescSitoNull() { + return this.IsNull(this.tableAnagCompanySito.DescSitoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescSitoNull() { + this[this.tableAnagCompanySito.DescSitoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagImpiantiRow[] GetAnagImpiantiRows() { + if ((this.Table.ChildRelations["FK_AnagImpianti_AnagCompanySito"] == null)) { + return new AnagImpiantiRow[0]; + } + else { + return ((AnagImpiantiRow[])(base.GetChildRows(this.Table.ChildRelations["FK_AnagImpianti_AnagCompanySito"]))); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoCartelliniRow[] GetElencoCartelliniRows() { + if ((this.Table.ChildRelations["FK_ElencoCartellini_AnagCompanySito"] == null)) { + return new ElencoCartelliniRow[0]; + } + else { + return ((ElencoCartelliniRow[])(base.GetChildRows(this.Table.ChildRelations["FK_ElencoCartellini_AnagCompanySito"]))); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagOperatoriRow[] GetAnagOperatoriRows() { + if ((this.Table.ChildRelations["FK_AnagOperatori_AnagCompanySito"] == null)) { + return new AnagOperatoriRow[0]; + } + else { + return ((AnagOperatoriRow[])(base.GetChildRows(this.Table.ChildRelations["FK_AnagOperatori_AnagCompanySito"]))); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagParticolariRow[] GetAnagParticolariRows() { + if ((this.Table.ChildRelations["FK_AnagParticolari_AnagCompanySito"] == null)) { + return new AnagParticolariRow[0]; + } + else { + return ((AnagParticolariRow[])(base.GetChildRows(this.Table.ChildRelations["FK_AnagParticolari_AnagCompanySito"]))); + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class AnagBilanceRow : global::System.Data.DataRow { + + private AnagBilanceDataTable tableAnagBilance; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AnagBilanceRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableAnagBilance = ((AnagBilanceDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodBilancia { + get { + return ((string)(this[this.tableAnagBilance.CodBilanciaColumn])); + } + set { + this[this.tableAnagBilance.CodBilanciaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescrImpianto { + get { + try { + return ((string)(this[this.tableAnagBilance.DescrImpiantoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescrImpianto\' in table \'AnagBilance\' is DBNull.", e); + } + } + set { + this[this.tableAnagBilance.DescrImpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCS { + get { + try { + return ((string)(this[this.tableAnagBilance.CodCSColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodCS\' in table \'AnagBilance\' is DBNull.", e); + } + } + set { + this[this.tableAnagBilance.CodCSColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescrImpiantoNull() { + return this.IsNull(this.tableAnagBilance.DescrImpiantoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescrImpiantoNull() { + this[this.tableAnagBilance.DescrImpiantoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodCSNull() { + return this.IsNull(this.tableAnagBilance.CodCSColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodCSNull() { + this[this.tableAnagBilance.CodCSColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class ElencoCartelliniRow : global::System.Data.DataRow { + + private ElencoCartelliniDataTable tableElencoCartellini; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal ElencoCartelliniRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableElencoCartellini = ((ElencoCartelliniDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string UDC { + get { + return ((string)(this[this.tableElencoCartellini.UDCColumn])); + } + set { + this[this.tableElencoCartellini.UDCColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCS { + get { + try { + return ((string)(this[this.tableElencoCartellini.CodCSColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodCS\' in table \'ElencoCartellini\' is DBNull.", e); + } + } + set { + this[this.tableElencoCartellini.CodCSColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCliente { + get { + try { + return ((string)(this[this.tableElencoCartellini.CodClienteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodCliente\' in table \'ElencoCartellini\' is DBNull.", e); + } + } + set { + this[this.tableElencoCartellini.CodClienteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string RagSociale { + get { + try { + return ((string)(this[this.tableElencoCartellini.RagSocialeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'RagSociale\' in table \'ElencoCartellini\' is DBNull.", e); + } + } + set { + this[this.tableElencoCartellini.RagSocialeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Particolare { + get { + try { + return ((string)(this[this.tableElencoCartellini.ParticolareColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Particolare\' in table \'ElencoCartellini\' is DBNull.", e); + } + } + set { + this[this.tableElencoCartellini.ParticolareColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescParticolare { + get { + try { + return ((string)(this[this.tableElencoCartellini.DescParticolareColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescParticolare\' in table \'ElencoCartellini\' is DBNull.", e); + } + } + set { + this[this.tableElencoCartellini.DescParticolareColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DisegnoGrezzo { + get { + try { + return ((string)(this[this.tableElencoCartellini.DisegnoGrezzoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DisegnoGrezzo\' in table \'ElencoCartellini\' is DBNull.", e); + } + } + set { + this[this.tableElencoCartellini.DisegnoGrezzoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Esponente { + get { + try { + return ((string)(this[this.tableElencoCartellini.EsponenteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Esponente\' in table \'ElencoCartellini\' is DBNull.", e); + } + } + set { + this[this.tableElencoCartellini.EsponenteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodImpianto { + get { + try { + return ((string)(this[this.tableElencoCartellini.CodImpiantoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodImpianto\' in table \'ElencoCartellini\' is DBNull.", e); + } + } + set { + this[this.tableElencoCartellini.CodImpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescImpianto { + get { + try { + return ((string)(this[this.tableElencoCartellini.DescImpiantoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescImpianto\' in table \'ElencoCartellini\' is DBNull.", e); + } + } + set { + this[this.tableElencoCartellini.DescImpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodStampo { + get { + try { + return ((string)(this[this.tableElencoCartellini.CodStampoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodStampo\' in table \'ElencoCartellini\' is DBNull.", e); + } + } + set { + this[this.tableElencoCartellini.CodStampoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Figura { + get { + try { + return ((string)(this[this.tableElencoCartellini.FiguraColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Figura\' in table \'ElencoCartellini\' is DBNull.", e); + } + } + set { + this[this.tableElencoCartellini.FiguraColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime DataFus { + get { + try { + return ((global::System.DateTime)(this[this.tableElencoCartellini.DataFusColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DataFus\' in table \'ElencoCartellini\' is DBNull.", e); + } + } + set { + this[this.tableElencoCartellini.DataFusColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int TurnoFus { + get { + try { + return ((int)(this[this.tableElencoCartellini.TurnoFusColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'TurnoFus\' in table \'ElencoCartellini\' is DBNull.", e); + } + } + set { + this[this.tableElencoCartellini.TurnoFusColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodImballo { + get { + try { + return ((string)(this[this.tableElencoCartellini.CodImballoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodImballo\' in table \'ElencoCartellini\' is DBNull.", e); + } + } + set { + this[this.tableElencoCartellini.CodImballoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodSoggetto { + get { + if (this.IsCodSoggettoNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableElencoCartellini.CodSoggettoColumn])); + } + } + set { + this[this.tableElencoCartellini.CodSoggettoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int NumCont { + get { + try { + return ((int)(this[this.tableElencoCartellini.NumContColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'NumCont\' in table \'ElencoCartellini\' is DBNull.", e); + } + } + set { + this[this.tableElencoCartellini.NumContColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public double Tara { + get { + try { + return ((double)(this[this.tableElencoCartellini.TaraColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Tara\' in table \'ElencoCartellini\' is DBNull.", e); + } + } + set { + this[this.tableElencoCartellini.TaraColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal Qta { + get { + try { + return ((decimal)(this[this.tableElencoCartellini.QtaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Qta\' in table \'ElencoCartellini\' is DBNull.", e); + } + } + set { + this[this.tableElencoCartellini.QtaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodStato { + get { + try { + return ((string)(this[this.tableElencoCartellini.CodStatoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodStato\' in table \'ElencoCartellini\' is DBNull.", e); + } + } + set { + this[this.tableElencoCartellini.CodStatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int IdxPosizione { + get { + try { + return ((int)(this[this.tableElencoCartellini.IdxPosizioneColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'IdxPosizione\' in table \'ElencoCartellini\' is DBNull.", e); + } + } + set { + this[this.tableElencoCartellini.IdxPosizioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public double PesoTot { + get { + try { + return ((double)(this[this.tableElencoCartellini.PesoTotColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'PesoTot\' in table \'ElencoCartellini\' is DBNull.", e); + } + } + set { + this[this.tableElencoCartellini.PesoTotColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public double PesoCad { + get { + try { + return ((double)(this[this.tableElencoCartellini.PesoCadColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'PesoCad\' in table \'ElencoCartellini\' is DBNull.", e); + } + } + set { + this[this.tableElencoCartellini.PesoCadColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime CreateDate { + get { + try { + return ((global::System.DateTime)(this[this.tableElencoCartellini.CreateDateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CreateDate\' in table \'ElencoCartellini\' is DBNull.", e); + } + } + set { + this[this.tableElencoCartellini.CreateDateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime ModDate { + get { + try { + return ((global::System.DateTime)(this[this.tableElencoCartellini.ModDateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'ModDate\' in table \'ElencoCartellini\' is DBNull.", e); + } + } + set { + this[this.tableElencoCartellini.ModDateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Note { + get { + try { + return ((string)(this[this.tableElencoCartellini.NoteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Note\' in table \'ElencoCartellini\' is DBNull.", e); + } + } + set { + this[this.tableElencoCartellini.NoteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagCompanySitoRow AnagCompanySitoRow { + get { + return ((AnagCompanySitoRow)(this.GetParentRow(this.Table.ParentRelations["FK_ElencoCartellini_AnagCompanySito"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["FK_ElencoCartellini_AnagCompanySito"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagStatiProdottoRow AnagStatiProdottoRow { + get { + return ((AnagStatiProdottoRow)(this.GetParentRow(this.Table.ParentRelations["FK_ElencoCartellini_AnagStatiProdotto"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["FK_ElencoCartellini_AnagStatiProdotto"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodCSNull() { + return this.IsNull(this.tableElencoCartellini.CodCSColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodCSNull() { + this[this.tableElencoCartellini.CodCSColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodClienteNull() { + return this.IsNull(this.tableElencoCartellini.CodClienteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodClienteNull() { + this[this.tableElencoCartellini.CodClienteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsRagSocialeNull() { + return this.IsNull(this.tableElencoCartellini.RagSocialeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetRagSocialeNull() { + this[this.tableElencoCartellini.RagSocialeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsParticolareNull() { + return this.IsNull(this.tableElencoCartellini.ParticolareColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetParticolareNull() { + this[this.tableElencoCartellini.ParticolareColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescParticolareNull() { + return this.IsNull(this.tableElencoCartellini.DescParticolareColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescParticolareNull() { + this[this.tableElencoCartellini.DescParticolareColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDisegnoGrezzoNull() { + return this.IsNull(this.tableElencoCartellini.DisegnoGrezzoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDisegnoGrezzoNull() { + this[this.tableElencoCartellini.DisegnoGrezzoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsEsponenteNull() { + return this.IsNull(this.tableElencoCartellini.EsponenteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetEsponenteNull() { + this[this.tableElencoCartellini.EsponenteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodImpiantoNull() { + return this.IsNull(this.tableElencoCartellini.CodImpiantoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodImpiantoNull() { + this[this.tableElencoCartellini.CodImpiantoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescImpiantoNull() { + return this.IsNull(this.tableElencoCartellini.DescImpiantoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescImpiantoNull() { + this[this.tableElencoCartellini.DescImpiantoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodStampoNull() { + return this.IsNull(this.tableElencoCartellini.CodStampoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodStampoNull() { + this[this.tableElencoCartellini.CodStampoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsFiguraNull() { + return this.IsNull(this.tableElencoCartellini.FiguraColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetFiguraNull() { + this[this.tableElencoCartellini.FiguraColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDataFusNull() { + return this.IsNull(this.tableElencoCartellini.DataFusColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDataFusNull() { + this[this.tableElencoCartellini.DataFusColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsTurnoFusNull() { + return this.IsNull(this.tableElencoCartellini.TurnoFusColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetTurnoFusNull() { + this[this.tableElencoCartellini.TurnoFusColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodImballoNull() { + return this.IsNull(this.tableElencoCartellini.CodImballoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodImballoNull() { + this[this.tableElencoCartellini.CodImballoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodSoggettoNull() { + return this.IsNull(this.tableElencoCartellini.CodSoggettoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodSoggettoNull() { + this[this.tableElencoCartellini.CodSoggettoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsNumContNull() { + return this.IsNull(this.tableElencoCartellini.NumContColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetNumContNull() { + this[this.tableElencoCartellini.NumContColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsTaraNull() { + return this.IsNull(this.tableElencoCartellini.TaraColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetTaraNull() { + this[this.tableElencoCartellini.TaraColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsQtaNull() { + return this.IsNull(this.tableElencoCartellini.QtaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetQtaNull() { + this[this.tableElencoCartellini.QtaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodStatoNull() { + return this.IsNull(this.tableElencoCartellini.CodStatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodStatoNull() { + this[this.tableElencoCartellini.CodStatoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsIdxPosizioneNull() { + return this.IsNull(this.tableElencoCartellini.IdxPosizioneColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetIdxPosizioneNull() { + this[this.tableElencoCartellini.IdxPosizioneColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsPesoTotNull() { + return this.IsNull(this.tableElencoCartellini.PesoTotColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetPesoTotNull() { + this[this.tableElencoCartellini.PesoTotColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsPesoCadNull() { + return this.IsNull(this.tableElencoCartellini.PesoCadColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetPesoCadNull() { + this[this.tableElencoCartellini.PesoCadColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCreateDateNull() { + return this.IsNull(this.tableElencoCartellini.CreateDateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCreateDateNull() { + this[this.tableElencoCartellini.CreateDateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsModDateNull() { + return this.IsNull(this.tableElencoCartellini.ModDateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetModDateNull() { + this[this.tableElencoCartellini.ModDateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsNoteNull() { + return this.IsNull(this.tableElencoCartellini.NoteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetNoteNull() { + this[this.tableElencoCartellini.NoteColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class AnagImballiRow : global::System.Data.DataRow { + + private AnagImballiDataTable tableAnagImballi; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AnagImballiRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableAnagImballi = ((AnagImballiDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodImballo { + get { + return ((string)(this[this.tableAnagImballi.CodImballoColumn])); + } + set { + this[this.tableAnagImballi.CodImballoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string ClasseArticolo { + get { + if (this.IsClasseArticoloNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableAnagImballi.ClasseArticoloColumn])); + } + } + set { + this[this.tableAnagImballi.ClasseArticoloColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescImballo { + get { + if (this.IsDescImballoNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableAnagImballi.DescImballoColumn])); + } + } + set { + this[this.tableAnagImballi.DescImballoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsClasseArticoloNull() { + return this.IsNull(this.tableAnagImballi.ClasseArticoloColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetClasseArticoloNull() { + this[this.tableAnagImballi.ClasseArticoloColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescImballoNull() { + return this.IsNull(this.tableAnagImballi.DescImballoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescImballoNull() { + this[this.tableAnagImballi.DescImballoColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class v_ArtInProdRow : global::System.Data.DataRow { + + private v_ArtInProdDataTable tablev_ArtInProd; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_ArtInProdRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_ArtInProd = ((v_ArtInProdDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodImpianto { + get { + return ((string)(this[this.tablev_ArtInProd.CodImpiantoColumn])); + } + set { + this[this.tablev_ArtInProd.CodImpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodStampo { + get { + return ((string)(this[this.tablev_ArtInProd.CodStampoColumn])); + } + set { + this[this.tablev_ArtInProd.CodStampoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal NumStampate { + get { + return ((decimal)(this[this.tablev_ArtInProd.NumStampateColumn])); + } + set { + this[this.tablev_ArtInProd.NumStampateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime DataInizio { + get { + try { + return ((global::System.DateTime)(this[this.tablev_ArtInProd.DataInizioColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DataInizio\' in table \'v_ArtInProd\' is DBNull.", e); + } + } + set { + this[this.tablev_ArtInProd.DataInizioColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string TurnoInizio { + get { + return ((string)(this[this.tablev_ArtInProd.TurnoInizioColumn])); + } + set { + this[this.tablev_ArtInProd.TurnoInizioColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime InizioValidita { + get { + return ((global::System.DateTime)(this[this.tablev_ArtInProd.InizioValiditaColumn])); + } + set { + this[this.tablev_ArtInProd.InizioValiditaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime FineValidita { + get { + try { + return ((global::System.DateTime)(this[this.tablev_ArtInProd.FineValiditaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'FineValidita\' in table \'v_ArtInProd\' is DBNull.", e); + } + } + set { + this[this.tablev_ArtInProd.FineValiditaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal NumFigure { + get { + try { + return ((decimal)(this[this.tablev_ArtInProd.NumFigureColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'NumFigure\' in table \'v_ArtInProd\' is DBNull.", e); + } + } + set { + this[this.tablev_ArtInProd.NumFigureColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCliente { + get { + try { + return ((string)(this[this.tablev_ArtInProd.CodClienteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodCliente\' in table \'v_ArtInProd\' is DBNull.", e); + } + } + set { + this[this.tablev_ArtInProd.CodClienteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string RagSociale { + get { + try { + return ((string)(this[this.tablev_ArtInProd.RagSocialeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'RagSociale\' in table \'v_ArtInProd\' is DBNull.", e); + } + } + set { + this[this.tablev_ArtInProd.RagSocialeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodArticolo { + get { + try { + return ((string)(this[this.tablev_ArtInProd.CodArticoloColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodArticolo\' in table \'v_ArtInProd\' is DBNull.", e); + } + } + set { + this[this.tablev_ArtInProd.CodArticoloColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Particolare { + get { + return ((string)(this[this.tablev_ArtInProd.ParticolareColumn])); + } + set { + this[this.tablev_ArtInProd.ParticolareColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescParticolare { + get { + try { + return ((string)(this[this.tablev_ArtInProd.DescParticolareColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescParticolare\' in table \'v_ArtInProd\' is DBNull.", e); + } + } + set { + this[this.tablev_ArtInProd.DescParticolareColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DisegnoGrezzo { + get { + try { + return ((string)(this[this.tablev_ArtInProd.DisegnoGrezzoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DisegnoGrezzo\' in table \'v_ArtInProd\' is DBNull.", e); + } + } + set { + this[this.tablev_ArtInProd.DisegnoGrezzoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodFamiglia { + get { + try { + return ((string)(this[this.tablev_ArtInProd.CodFamigliaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodFamiglia\' in table \'v_ArtInProd\' is DBNull.", e); + } + } + set { + this[this.tablev_ArtInProd.CodFamigliaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescFamiglia { + get { + try { + return ((string)(this[this.tablev_ArtInProd.DescFamigliaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescFamiglia\' in table \'v_ArtInProd\' is DBNull.", e); + } + } + set { + this[this.tablev_ArtInProd.DescFamigliaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Figura { + get { + try { + return ((string)(this[this.tablev_ArtInProd.FiguraColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Figura\' in table \'v_ArtInProd\' is DBNull.", e); + } + } + set { + this[this.tablev_ArtInProd.FiguraColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Esponente { + get { + try { + return ((string)(this[this.tablev_ArtInProd.EsponenteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Esponente\' in table \'v_ArtInProd\' is DBNull.", e); + } + } + set { + this[this.tablev_ArtInProd.EsponenteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDataInizioNull() { + return this.IsNull(this.tablev_ArtInProd.DataInizioColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDataInizioNull() { + this[this.tablev_ArtInProd.DataInizioColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsFineValiditaNull() { + return this.IsNull(this.tablev_ArtInProd.FineValiditaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetFineValiditaNull() { + this[this.tablev_ArtInProd.FineValiditaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsNumFigureNull() { + return this.IsNull(this.tablev_ArtInProd.NumFigureColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetNumFigureNull() { + this[this.tablev_ArtInProd.NumFigureColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodClienteNull() { + return this.IsNull(this.tablev_ArtInProd.CodClienteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodClienteNull() { + this[this.tablev_ArtInProd.CodClienteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsRagSocialeNull() { + return this.IsNull(this.tablev_ArtInProd.RagSocialeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetRagSocialeNull() { + this[this.tablev_ArtInProd.RagSocialeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodArticoloNull() { + return this.IsNull(this.tablev_ArtInProd.CodArticoloColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodArticoloNull() { + this[this.tablev_ArtInProd.CodArticoloColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescParticolareNull() { + return this.IsNull(this.tablev_ArtInProd.DescParticolareColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescParticolareNull() { + this[this.tablev_ArtInProd.DescParticolareColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDisegnoGrezzoNull() { + return this.IsNull(this.tablev_ArtInProd.DisegnoGrezzoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDisegnoGrezzoNull() { + this[this.tablev_ArtInProd.DisegnoGrezzoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodFamigliaNull() { + return this.IsNull(this.tablev_ArtInProd.CodFamigliaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodFamigliaNull() { + this[this.tablev_ArtInProd.CodFamigliaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescFamigliaNull() { + return this.IsNull(this.tablev_ArtInProd.DescFamigliaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescFamigliaNull() { + this[this.tablev_ArtInProd.DescFamigliaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsFiguraNull() { + return this.IsNull(this.tablev_ArtInProd.FiguraColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetFiguraNull() { + this[this.tablev_ArtInProd.FiguraColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsEsponenteNull() { + return this.IsNull(this.tablev_ArtInProd.EsponenteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetEsponenteNull() { + this[this.tablev_ArtInProd.EsponenteColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class AnagOperatoriRow : global::System.Data.DataRow { + + private AnagOperatoriDataTable tableAnagOperatori; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AnagOperatoriRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableAnagOperatori = ((AnagOperatoriDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodSoggetto { + get { + return ((string)(this[this.tableAnagOperatori.CodSoggettoColumn])); + } + set { + this[this.tableAnagOperatori.CodSoggettoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCS { + get { + return ((string)(this[this.tableAnagOperatori.CodCSColumn])); + } + set { + this[this.tableAnagOperatori.CodCSColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodDipendente { + get { + if (this.IsCodDipendenteNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableAnagOperatori.CodDipendenteColumn])); + } + } + set { + this[this.tableAnagOperatori.CodDipendenteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodAziendaOp { + get { + return ((string)(this[this.tableAnagOperatori.CodAziendaOpColumn])); + } + set { + this[this.tableAnagOperatori.CodAziendaOpColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescAziendaOp { + get { + if (this.IsDescAziendaOpNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableAnagOperatori.DescAziendaOpColumn])); + } + } + set { + this[this.tableAnagOperatori.DescAziendaOpColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodFilialeOp { + get { + return ((string)(this[this.tableAnagOperatori.CodFilialeOpColumn])); + } + set { + this[this.tableAnagOperatori.CodFilialeOpColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescFilialeOp { + get { + if (this.IsDescFilialeOpNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableAnagOperatori.DescFilialeOpColumn])); + } + } + set { + this[this.tableAnagOperatori.DescFilialeOpColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Cognome { + get { + return ((string)(this[this.tableAnagOperatori.CognomeColumn])); + } + set { + this[this.tableAnagOperatori.CognomeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Nome { + get { + return ((string)(this[this.tableAnagOperatori.NomeColumn])); + } + set { + this[this.tableAnagOperatori.NomeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagCompanySitoRow AnagCompanySitoRow { + get { + return ((AnagCompanySitoRow)(this.GetParentRow(this.Table.ParentRelations["FK_AnagOperatori_AnagCompanySito"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["FK_AnagOperatori_AnagCompanySito"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodDipendenteNull() { + return this.IsNull(this.tableAnagOperatori.CodDipendenteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodDipendenteNull() { + this[this.tableAnagOperatori.CodDipendenteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescAziendaOpNull() { + return this.IsNull(this.tableAnagOperatori.DescAziendaOpColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescAziendaOpNull() { + this[this.tableAnagOperatori.DescAziendaOpColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescFilialeOpNull() { + return this.IsNull(this.tableAnagOperatori.DescFilialeOpColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescFilialeOpNull() { + this[this.tableAnagOperatori.DescFilialeOpColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public Soggetti2UtenteRow[] GetSoggetti2UtenteRows() { + if ((this.Table.ChildRelations["FK_Soggetti2Utente_AnagOperatori"] == null)) { + return new Soggetti2UtenteRow[0]; + } + else { + return ((Soggetti2UtenteRow[])(base.GetChildRows(this.Table.ChildRelations["FK_Soggetti2Utente_AnagOperatori"]))); + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class AnagClientiRow : global::System.Data.DataRow { + + private AnagClientiDataTable tableAnagClienti; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AnagClientiRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableAnagClienti = ((AnagClientiDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCliente { + get { + return ((string)(this[this.tableAnagClienti.CodClienteColumn])); + } + set { + this[this.tableAnagClienti.CodClienteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string RagSociale { + get { + return ((string)(this[this.tableAnagClienti.RagSocialeColumn])); + } + set { + this[this.tableAnagClienti.RagSocialeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Lingua { + get { + try { + return ((string)(this[this.tableAnagClienti.LinguaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Lingua\' in table \'AnagClienti\' is DBNull.", e); + } + } + set { + this[this.tableAnagClienti.LinguaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsLinguaNull() { + return this.IsNull(this.tableAnagClienti.LinguaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetLinguaNull() { + this[this.tableAnagClienti.LinguaColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class AnagParticolariRow : global::System.Data.DataRow { + + private AnagParticolariDataTable tableAnagParticolari; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AnagParticolariRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableAnagParticolari = ((AnagParticolariDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Particolare { + get { + return ((string)(this[this.tableAnagParticolari.ParticolareColumn])); + } + set { + this[this.tableAnagParticolari.ParticolareColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCS { + get { + return ((string)(this[this.tableAnagParticolari.CodCSColumn])); + } + set { + this[this.tableAnagParticolari.CodCSColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCliente { + get { + return ((string)(this[this.tableAnagParticolari.CodClienteColumn])); + } + set { + this[this.tableAnagParticolari.CodClienteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DisegnoGrezzo { + get { + return ((string)(this[this.tableAnagParticolari.DisegnoGrezzoColumn])); + } + set { + this[this.tableAnagParticolari.DisegnoGrezzoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodFamiglia { + get { + try { + return ((string)(this[this.tableAnagParticolari.CodFamigliaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodFamiglia\' in table \'AnagParticolari\' is DBNull.", e); + } + } + set { + this[this.tableAnagParticolari.CodFamigliaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescParticolare { + get { + try { + return ((string)(this[this.tableAnagParticolari.DescParticolareColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescParticolare\' in table \'AnagParticolari\' is DBNull.", e); + } + } + set { + this[this.tableAnagParticolari.DescParticolareColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagCompanySitoRow AnagCompanySitoRow { + get { + return ((AnagCompanySitoRow)(this.GetParentRow(this.Table.ParentRelations["FK_AnagParticolari_AnagCompanySito"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["FK_AnagParticolari_AnagCompanySito"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodFamigliaNull() { + return this.IsNull(this.tableAnagParticolari.CodFamigliaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodFamigliaNull() { + this[this.tableAnagParticolari.CodFamigliaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescParticolareNull() { + return this.IsNull(this.tableAnagParticolari.DescParticolareColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescParticolareNull() { + this[this.tableAnagParticolari.DescParticolareColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class AnagFamiglieRow : global::System.Data.DataRow { + + private AnagFamiglieDataTable tableAnagFamiglie; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AnagFamiglieRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableAnagFamiglie = ((AnagFamiglieDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodFamiglia { + get { + return ((string)(this[this.tableAnagFamiglie.CodFamigliaColumn])); + } + set { + this[this.tableAnagFamiglie.CodFamigliaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescFamiglia { + get { + try { + return ((string)(this[this.tableAnagFamiglie.DescFamigliaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescFamiglia\' in table \'AnagFamiglie\' is DBNull.", e); + } + } + set { + this[this.tableAnagFamiglie.DescFamigliaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescFamigliaNull() { + return this.IsNull(this.tableAnagFamiglie.DescFamigliaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescFamigliaNull() { + this[this.tableAnagFamiglie.DescFamigliaColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class Soggetti2UtenteRow : global::System.Data.DataRow { + + private Soggetti2UtenteDataTable tableSoggetti2Utente; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal Soggetti2UtenteRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableSoggetti2Utente = ((Soggetti2UtenteDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodSoggetto { + get { + return ((string)(this[this.tableSoggetti2Utente.CodSoggettoColumn])); + } + set { + this[this.tableSoggetti2Utente.CodSoggettoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string USER_NAME { + get { + return ((string)(this[this.tableSoggetti2Utente.USER_NAMEColumn])); + } + set { + this[this.tableSoggetti2Utente.USER_NAMEColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DOMINIO { + get { + try { + return ((string)(this[this.tableSoggetti2Utente.DOMINIOColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DOMINIO\' in table \'Soggetti2Utente\' is DBNull.", e); + } + } + set { + this[this.tableSoggetti2Utente.DOMINIOColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagOperatoriRow AnagOperatoriRow { + get { + return ((AnagOperatoriRow)(this.GetParentRow(this.Table.ParentRelations["FK_Soggetti2Utente_AnagOperatori"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["FK_Soggetti2Utente_AnagOperatori"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDOMINIONull() { + return this.IsNull(this.tableSoggetti2Utente.DOMINIOColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDOMINIONull() { + this[this.tableSoggetti2Utente.DOMINIOColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class v_specParticolariRow : global::System.Data.DataRow { + + private v_specParticolariDataTable tablev_specParticolari; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_specParticolariRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_specParticolari = ((v_specParticolariDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCliente { + get { + try { + return ((string)(this[this.tablev_specParticolari.CodClienteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodCliente\' in table \'v_specParticolari\' is DBNull.", e); + } + } + set { + this[this.tablev_specParticolari.CodClienteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string RagSociale { + get { + try { + return ((string)(this[this.tablev_specParticolari.RagSocialeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'RagSociale\' in table \'v_specParticolari\' is DBNull.", e); + } + } + set { + this[this.tablev_specParticolari.RagSocialeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Particolare { + get { + try { + return ((string)(this[this.tablev_specParticolari.ParticolareColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Particolare\' in table \'v_specParticolari\' is DBNull.", e); + } + } + set { + this[this.tablev_specParticolari.ParticolareColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescParticolare { + get { + try { + return ((string)(this[this.tablev_specParticolari.DescParticolareColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescParticolare\' in table \'v_specParticolari\' is DBNull.", e); + } + } + set { + this[this.tablev_specParticolari.DescParticolareColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DisegnoGrezzo { + get { + try { + return ((string)(this[this.tablev_specParticolari.DisegnoGrezzoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DisegnoGrezzo\' in table \'v_specParticolari\' is DBNull.", e); + } + } + set { + this[this.tablev_specParticolari.DisegnoGrezzoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Esponente { + get { + try { + return ((string)(this[this.tablev_specParticolari.EsponenteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Esponente\' in table \'v_specParticolari\' is DBNull.", e); + } + } + set { + this[this.tablev_specParticolari.EsponenteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodStampo { + get { + try { + return ((string)(this[this.tablev_specParticolari.CodStampoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodStampo\' in table \'v_specParticolari\' is DBNull.", e); + } + } + set { + this[this.tablev_specParticolari.CodStampoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Figura { + get { + try { + return ((string)(this[this.tablev_specParticolari.FiguraColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Figura\' in table \'v_specParticolari\' is DBNull.", e); + } + } + set { + this[this.tablev_specParticolari.FiguraColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodClienteNull() { + return this.IsNull(this.tablev_specParticolari.CodClienteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodClienteNull() { + this[this.tablev_specParticolari.CodClienteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsRagSocialeNull() { + return this.IsNull(this.tablev_specParticolari.RagSocialeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetRagSocialeNull() { + this[this.tablev_specParticolari.RagSocialeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsParticolareNull() { + return this.IsNull(this.tablev_specParticolari.ParticolareColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetParticolareNull() { + this[this.tablev_specParticolari.ParticolareColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescParticolareNull() { + return this.IsNull(this.tablev_specParticolari.DescParticolareColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescParticolareNull() { + this[this.tablev_specParticolari.DescParticolareColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDisegnoGrezzoNull() { + return this.IsNull(this.tablev_specParticolari.DisegnoGrezzoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDisegnoGrezzoNull() { + this[this.tablev_specParticolari.DisegnoGrezzoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsEsponenteNull() { + return this.IsNull(this.tablev_specParticolari.EsponenteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetEsponenteNull() { + this[this.tablev_specParticolari.EsponenteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodStampoNull() { + return this.IsNull(this.tablev_specParticolari.CodStampoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodStampoNull() { + this[this.tablev_specParticolari.CodStampoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsFiguraNull() { + return this.IsNull(this.tablev_specParticolari.FiguraColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetFiguraNull() { + this[this.tablev_specParticolari.FiguraColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class ElencoPostazioniRow : global::System.Data.DataRow { + + private ElencoPostazioniDataTable tableElencoPostazioni; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal ElencoPostazioniRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableElencoPostazioni = ((ElencoPostazioniDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string codPostazione { + get { + return ((string)(this[this.tableElencoPostazioni.codPostazioneColumn])); + } + set { + this[this.tableElencoPostazioni.codPostazioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string stampante { + get { + try { + return ((string)(this[this.tableElencoPostazioni.stampanteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'stampante\' in table \'ElencoPostazioni\' is DBNull.", e); + } + } + set { + this[this.tableElencoPostazioni.stampanteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsstampanteNull() { + return this.IsNull(this.tableElencoPostazioni.stampanteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetstampanteNull() { + this[this.tableElencoPostazioni.stampanteColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class stp_prtCartLiquidiF10ByUDCRow : global::System.Data.DataRow { + + private stp_prtCartLiquidiF10ByUDCDataTable tablestp_prtCartLiquidiF10ByUDC; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal stp_prtCartLiquidiF10ByUDCRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablestp_prtCartLiquidiF10ByUDC = ((stp_prtCartLiquidiF10ByUDCDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string UDC { + get { + return ((string)(this[this.tablestp_prtCartLiquidiF10ByUDC.UDCColumn])); + } + set { + this[this.tablestp_prtCartLiquidiF10ByUDC.UDCColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCS { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidiF10ByUDC.CodCSColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodCS\' in table \'stp_prtCartLiquidiF10ByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF10ByUDC.CodCSColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string codcliente { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidiF10ByUDC.codclienteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codcliente\' in table \'stp_prtCartLiquidiF10ByUDC\' is DBNull" + + ".", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF10ByUDC.codclienteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string ragsociale { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidiF10ByUDC.ragsocialeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'ragsociale\' in table \'stp_prtCartLiquidiF10ByUDC\' is DBNull" + + ".", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF10ByUDC.ragsocialeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string particolare { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidiF10ByUDC.particolareColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'particolare\' in table \'stp_prtCartLiquidiF10ByUDC\' is DBNul" + + "l.", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF10ByUDC.particolareColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string descparticolare { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidiF10ByUDC.descparticolareColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descparticolare\' in table \'stp_prtCartLiquidiF10ByUDC\' is D" + + "BNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF10ByUDC.descparticolareColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string disegnogrezzo { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidiF10ByUDC.disegnogrezzoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'disegnogrezzo\' in table \'stp_prtCartLiquidiF10ByUDC\' is DBN" + + "ull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF10ByUDC.disegnogrezzoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string esponente { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidiF10ByUDC.esponenteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'esponente\' in table \'stp_prtCartLiquidiF10ByUDC\' is DBNull." + + "", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF10ByUDC.esponenteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string codimpianto { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidiF10ByUDC.codimpiantoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codimpianto\' in table \'stp_prtCartLiquidiF10ByUDC\' is DBNul" + + "l.", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF10ByUDC.codimpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string descimpianto { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidiF10ByUDC.descimpiantoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descimpianto\' in table \'stp_prtCartLiquidiF10ByUDC\' is DBNu" + + "ll.", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF10ByUDC.descimpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string codstampo { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidiF10ByUDC.codstampoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codstampo\' in table \'stp_prtCartLiquidiF10ByUDC\' is DBNull." + + "", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF10ByUDC.codstampoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string figura { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidiF10ByUDC.figuraColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'figura\' in table \'stp_prtCartLiquidiF10ByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF10ByUDC.figuraColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime datafus { + get { + try { + return ((global::System.DateTime)(this[this.tablestp_prtCartLiquidiF10ByUDC.datafusColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'datafus\' in table \'stp_prtCartLiquidiF10ByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF10ByUDC.datafusColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int turnofus { + get { + try { + return ((int)(this[this.tablestp_prtCartLiquidiF10ByUDC.turnofusColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'turnofus\' in table \'stp_prtCartLiquidiF10ByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF10ByUDC.turnofusColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string codimballo { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidiF10ByUDC.codimballoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codimballo\' in table \'stp_prtCartLiquidiF10ByUDC\' is DBNull" + + ".", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF10ByUDC.codimballoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string codsoggetto { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidiF10ByUDC.codsoggettoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codsoggetto\' in table \'stp_prtCartLiquidiF10ByUDC\' is DBNul" + + "l.", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF10ByUDC.codsoggettoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int numcont { + get { + try { + return ((int)(this[this.tablestp_prtCartLiquidiF10ByUDC.numcontColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'numcont\' in table \'stp_prtCartLiquidiF10ByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF10ByUDC.numcontColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public double tara { + get { + try { + return ((double)(this[this.tablestp_prtCartLiquidiF10ByUDC.taraColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'tara\' in table \'stp_prtCartLiquidiF10ByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF10ByUDC.taraColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal qta { + get { + try { + return ((decimal)(this[this.tablestp_prtCartLiquidiF10ByUDC.qtaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'qta\' in table \'stp_prtCartLiquidiF10ByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF10ByUDC.qtaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string codstato { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidiF10ByUDC.codstatoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codstato\' in table \'stp_prtCartLiquidiF10ByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF10ByUDC.codstatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int idxposizione { + get { + try { + return ((int)(this[this.tablestp_prtCartLiquidiF10ByUDC.idxposizioneColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'idxposizione\' in table \'stp_prtCartLiquidiF10ByUDC\' is DBNu" + + "ll.", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF10ByUDC.idxposizioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public double pesotot { + get { + try { + return ((double)(this[this.tablestp_prtCartLiquidiF10ByUDC.pesototColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'pesotot\' in table \'stp_prtCartLiquidiF10ByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF10ByUDC.pesototColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public double pesocad { + get { + try { + return ((double)(this[this.tablestp_prtCartLiquidiF10ByUDC.pesocadColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'pesocad\' in table \'stp_prtCartLiquidiF10ByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF10ByUDC.pesocadColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime CreateDate { + get { + try { + return ((global::System.DateTime)(this[this.tablestp_prtCartLiquidiF10ByUDC.CreateDateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CreateDate\' in table \'stp_prtCartLiquidiF10ByUDC\' is DBNull" + + ".", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF10ByUDC.CreateDateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime ModDate { + get { + try { + return ((global::System.DateTime)(this[this.tablestp_prtCartLiquidiF10ByUDC.ModDateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'ModDate\' in table \'stp_prtCartLiquidiF10ByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF10ByUDC.ModDateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string cognome { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidiF10ByUDC.cognomeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'cognome\' in table \'stp_prtCartLiquidiF10ByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF10ByUDC.cognomeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string nome { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidiF10ByUDC.nomeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'nome\' in table \'stp_prtCartLiquidiF10ByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF10ByUDC.nomeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string descstato { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidiF10ByUDC.descstatoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descstato\' in table \'stp_prtCartLiquidiF10ByUDC\' is DBNull." + + "", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF10ByUDC.descstatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string descimballo { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidiF10ByUDC.descimballoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descimballo\' in table \'stp_prtCartLiquidiF10ByUDC\' is DBNul" + + "l.", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF10ByUDC.descimballoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodFamiglia { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidiF10ByUDC.CodFamigliaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodFamiglia\' in table \'stp_prtCartLiquidiF10ByUDC\' is DBNul" + + "l.", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF10ByUDC.CodFamigliaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescFamiglia { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidiF10ByUDC.DescFamigliaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescFamiglia\' in table \'stp_prtCartLiquidiF10ByUDC\' is DBNu" + + "ll.", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF10ByUDC.DescFamigliaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Note { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidiF10ByUDC.NoteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Note\' in table \'stp_prtCartLiquidiF10ByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF10ByUDC.NoteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string NoteTratt { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidiF10ByUDC.NoteTrattColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'NoteTratt\' in table \'stp_prtCartLiquidiF10ByUDC\' is DBNull." + + "", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF10ByUDC.NoteTrattColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodCSNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF10ByUDC.CodCSColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodCSNull() { + this[this.tablestp_prtCartLiquidiF10ByUDC.CodCSColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscodclienteNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF10ByUDC.codclienteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcodclienteNull() { + this[this.tablestp_prtCartLiquidiF10ByUDC.codclienteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsragsocialeNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF10ByUDC.ragsocialeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetragsocialeNull() { + this[this.tablestp_prtCartLiquidiF10ByUDC.ragsocialeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsparticolareNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF10ByUDC.particolareColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetparticolareNull() { + this[this.tablestp_prtCartLiquidiF10ByUDC.particolareColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsdescparticolareNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF10ByUDC.descparticolareColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetdescparticolareNull() { + this[this.tablestp_prtCartLiquidiF10ByUDC.descparticolareColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsdisegnogrezzoNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF10ByUDC.disegnogrezzoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetdisegnogrezzoNull() { + this[this.tablestp_prtCartLiquidiF10ByUDC.disegnogrezzoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsesponenteNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF10ByUDC.esponenteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetesponenteNull() { + this[this.tablestp_prtCartLiquidiF10ByUDC.esponenteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscodimpiantoNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF10ByUDC.codimpiantoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcodimpiantoNull() { + this[this.tablestp_prtCartLiquidiF10ByUDC.codimpiantoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsdescimpiantoNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF10ByUDC.descimpiantoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetdescimpiantoNull() { + this[this.tablestp_prtCartLiquidiF10ByUDC.descimpiantoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscodstampoNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF10ByUDC.codstampoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcodstampoNull() { + this[this.tablestp_prtCartLiquidiF10ByUDC.codstampoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsfiguraNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF10ByUDC.figuraColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetfiguraNull() { + this[this.tablestp_prtCartLiquidiF10ByUDC.figuraColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsdatafusNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF10ByUDC.datafusColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetdatafusNull() { + this[this.tablestp_prtCartLiquidiF10ByUDC.datafusColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsturnofusNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF10ByUDC.turnofusColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetturnofusNull() { + this[this.tablestp_prtCartLiquidiF10ByUDC.turnofusColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscodimballoNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF10ByUDC.codimballoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcodimballoNull() { + this[this.tablestp_prtCartLiquidiF10ByUDC.codimballoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscodsoggettoNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF10ByUDC.codsoggettoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcodsoggettoNull() { + this[this.tablestp_prtCartLiquidiF10ByUDC.codsoggettoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsnumcontNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF10ByUDC.numcontColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetnumcontNull() { + this[this.tablestp_prtCartLiquidiF10ByUDC.numcontColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IstaraNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF10ByUDC.taraColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SettaraNull() { + this[this.tablestp_prtCartLiquidiF10ByUDC.taraColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsqtaNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF10ByUDC.qtaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetqtaNull() { + this[this.tablestp_prtCartLiquidiF10ByUDC.qtaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscodstatoNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF10ByUDC.codstatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcodstatoNull() { + this[this.tablestp_prtCartLiquidiF10ByUDC.codstatoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsidxposizioneNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF10ByUDC.idxposizioneColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetidxposizioneNull() { + this[this.tablestp_prtCartLiquidiF10ByUDC.idxposizioneColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IspesototNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF10ByUDC.pesototColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetpesototNull() { + this[this.tablestp_prtCartLiquidiF10ByUDC.pesototColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IspesocadNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF10ByUDC.pesocadColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetpesocadNull() { + this[this.tablestp_prtCartLiquidiF10ByUDC.pesocadColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCreateDateNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF10ByUDC.CreateDateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCreateDateNull() { + this[this.tablestp_prtCartLiquidiF10ByUDC.CreateDateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsModDateNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF10ByUDC.ModDateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetModDateNull() { + this[this.tablestp_prtCartLiquidiF10ByUDC.ModDateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscognomeNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF10ByUDC.cognomeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcognomeNull() { + this[this.tablestp_prtCartLiquidiF10ByUDC.cognomeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsnomeNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF10ByUDC.nomeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetnomeNull() { + this[this.tablestp_prtCartLiquidiF10ByUDC.nomeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsdescstatoNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF10ByUDC.descstatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetdescstatoNull() { + this[this.tablestp_prtCartLiquidiF10ByUDC.descstatoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsdescimballoNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF10ByUDC.descimballoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetdescimballoNull() { + this[this.tablestp_prtCartLiquidiF10ByUDC.descimballoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodFamigliaNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF10ByUDC.CodFamigliaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodFamigliaNull() { + this[this.tablestp_prtCartLiquidiF10ByUDC.CodFamigliaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescFamigliaNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF10ByUDC.DescFamigliaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescFamigliaNull() { + this[this.tablestp_prtCartLiquidiF10ByUDC.DescFamigliaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsNoteNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF10ByUDC.NoteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetNoteNull() { + this[this.tablestp_prtCartLiquidiF10ByUDC.NoteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsNoteTrattNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF10ByUDC.NoteTrattColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetNoteTrattNull() { + this[this.tablestp_prtCartLiquidiF10ByUDC.NoteTrattColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class stp_prtCartLiquidiF18ByUDCRow : global::System.Data.DataRow { + + private stp_prtCartLiquidiF18ByUDCDataTable tablestp_prtCartLiquidiF18ByUDC; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal stp_prtCartLiquidiF18ByUDCRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablestp_prtCartLiquidiF18ByUDC = ((stp_prtCartLiquidiF18ByUDCDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string UDC { + get { + return ((string)(this[this.tablestp_prtCartLiquidiF18ByUDC.UDCColumn])); + } + set { + this[this.tablestp_prtCartLiquidiF18ByUDC.UDCColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCS { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidiF18ByUDC.CodCSColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodCS\' in table \'stp_prtCartLiquidiF18ByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF18ByUDC.CodCSColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string codcliente { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidiF18ByUDC.codclienteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codcliente\' in table \'stp_prtCartLiquidiF18ByUDC\' is DBNull" + + ".", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF18ByUDC.codclienteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string ragsociale { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidiF18ByUDC.ragsocialeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'ragsociale\' in table \'stp_prtCartLiquidiF18ByUDC\' is DBNull" + + ".", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF18ByUDC.ragsocialeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string particolare { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidiF18ByUDC.particolareColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'particolare\' in table \'stp_prtCartLiquidiF18ByUDC\' is DBNul" + + "l.", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF18ByUDC.particolareColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string descparticolare { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidiF18ByUDC.descparticolareColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descparticolare\' in table \'stp_prtCartLiquidiF18ByUDC\' is D" + + "BNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF18ByUDC.descparticolareColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string disegnogrezzo { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidiF18ByUDC.disegnogrezzoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'disegnogrezzo\' in table \'stp_prtCartLiquidiF18ByUDC\' is DBN" + + "ull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF18ByUDC.disegnogrezzoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string esponente { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidiF18ByUDC.esponenteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'esponente\' in table \'stp_prtCartLiquidiF18ByUDC\' is DBNull." + + "", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF18ByUDC.esponenteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string codimpianto { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidiF18ByUDC.codimpiantoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codimpianto\' in table \'stp_prtCartLiquidiF18ByUDC\' is DBNul" + + "l.", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF18ByUDC.codimpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string descimpianto { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidiF18ByUDC.descimpiantoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descimpianto\' in table \'stp_prtCartLiquidiF18ByUDC\' is DBNu" + + "ll.", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF18ByUDC.descimpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string codstampo { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidiF18ByUDC.codstampoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codstampo\' in table \'stp_prtCartLiquidiF18ByUDC\' is DBNull." + + "", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF18ByUDC.codstampoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string figura { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidiF18ByUDC.figuraColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'figura\' in table \'stp_prtCartLiquidiF18ByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF18ByUDC.figuraColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime datafus { + get { + try { + return ((global::System.DateTime)(this[this.tablestp_prtCartLiquidiF18ByUDC.datafusColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'datafus\' in table \'stp_prtCartLiquidiF18ByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF18ByUDC.datafusColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int turnofus { + get { + try { + return ((int)(this[this.tablestp_prtCartLiquidiF18ByUDC.turnofusColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'turnofus\' in table \'stp_prtCartLiquidiF18ByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF18ByUDC.turnofusColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string codimballo { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidiF18ByUDC.codimballoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codimballo\' in table \'stp_prtCartLiquidiF18ByUDC\' is DBNull" + + ".", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF18ByUDC.codimballoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string codsoggetto { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidiF18ByUDC.codsoggettoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codsoggetto\' in table \'stp_prtCartLiquidiF18ByUDC\' is DBNul" + + "l.", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF18ByUDC.codsoggettoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int numcont { + get { + try { + return ((int)(this[this.tablestp_prtCartLiquidiF18ByUDC.numcontColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'numcont\' in table \'stp_prtCartLiquidiF18ByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF18ByUDC.numcontColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public double tara { + get { + try { + return ((double)(this[this.tablestp_prtCartLiquidiF18ByUDC.taraColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'tara\' in table \'stp_prtCartLiquidiF18ByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF18ByUDC.taraColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal qta { + get { + try { + return ((decimal)(this[this.tablestp_prtCartLiquidiF18ByUDC.qtaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'qta\' in table \'stp_prtCartLiquidiF18ByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF18ByUDC.qtaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string codstato { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidiF18ByUDC.codstatoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codstato\' in table \'stp_prtCartLiquidiF18ByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF18ByUDC.codstatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int idxposizione { + get { + try { + return ((int)(this[this.tablestp_prtCartLiquidiF18ByUDC.idxposizioneColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'idxposizione\' in table \'stp_prtCartLiquidiF18ByUDC\' is DBNu" + + "ll.", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF18ByUDC.idxposizioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public double pesotot { + get { + try { + return ((double)(this[this.tablestp_prtCartLiquidiF18ByUDC.pesototColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'pesotot\' in table \'stp_prtCartLiquidiF18ByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF18ByUDC.pesototColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public double pesocad { + get { + try { + return ((double)(this[this.tablestp_prtCartLiquidiF18ByUDC.pesocadColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'pesocad\' in table \'stp_prtCartLiquidiF18ByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF18ByUDC.pesocadColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime CreateDate { + get { + try { + return ((global::System.DateTime)(this[this.tablestp_prtCartLiquidiF18ByUDC.CreateDateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CreateDate\' in table \'stp_prtCartLiquidiF18ByUDC\' is DBNull" + + ".", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF18ByUDC.CreateDateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime ModDate { + get { + try { + return ((global::System.DateTime)(this[this.tablestp_prtCartLiquidiF18ByUDC.ModDateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'ModDate\' in table \'stp_prtCartLiquidiF18ByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF18ByUDC.ModDateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string cognome { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidiF18ByUDC.cognomeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'cognome\' in table \'stp_prtCartLiquidiF18ByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF18ByUDC.cognomeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string nome { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidiF18ByUDC.nomeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'nome\' in table \'stp_prtCartLiquidiF18ByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF18ByUDC.nomeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string descstato { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidiF18ByUDC.descstatoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descstato\' in table \'stp_prtCartLiquidiF18ByUDC\' is DBNull." + + "", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF18ByUDC.descstatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string descimballo { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidiF18ByUDC.descimballoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descimballo\' in table \'stp_prtCartLiquidiF18ByUDC\' is DBNul" + + "l.", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF18ByUDC.descimballoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodFamiglia { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidiF18ByUDC.CodFamigliaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodFamiglia\' in table \'stp_prtCartLiquidiF18ByUDC\' is DBNul" + + "l.", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF18ByUDC.CodFamigliaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescFamiglia { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidiF18ByUDC.DescFamigliaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescFamiglia\' in table \'stp_prtCartLiquidiF18ByUDC\' is DBNu" + + "ll.", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF18ByUDC.DescFamigliaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Note { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidiF18ByUDC.NoteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Note\' in table \'stp_prtCartLiquidiF18ByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF18ByUDC.NoteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string NoteTratt { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidiF18ByUDC.NoteTrattColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'NoteTratt\' in table \'stp_prtCartLiquidiF18ByUDC\' is DBNull." + + "", e); + } + } + set { + this[this.tablestp_prtCartLiquidiF18ByUDC.NoteTrattColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodCSNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF18ByUDC.CodCSColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodCSNull() { + this[this.tablestp_prtCartLiquidiF18ByUDC.CodCSColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscodclienteNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF18ByUDC.codclienteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcodclienteNull() { + this[this.tablestp_prtCartLiquidiF18ByUDC.codclienteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsragsocialeNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF18ByUDC.ragsocialeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetragsocialeNull() { + this[this.tablestp_prtCartLiquidiF18ByUDC.ragsocialeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsparticolareNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF18ByUDC.particolareColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetparticolareNull() { + this[this.tablestp_prtCartLiquidiF18ByUDC.particolareColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsdescparticolareNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF18ByUDC.descparticolareColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetdescparticolareNull() { + this[this.tablestp_prtCartLiquidiF18ByUDC.descparticolareColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsdisegnogrezzoNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF18ByUDC.disegnogrezzoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetdisegnogrezzoNull() { + this[this.tablestp_prtCartLiquidiF18ByUDC.disegnogrezzoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsesponenteNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF18ByUDC.esponenteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetesponenteNull() { + this[this.tablestp_prtCartLiquidiF18ByUDC.esponenteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscodimpiantoNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF18ByUDC.codimpiantoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcodimpiantoNull() { + this[this.tablestp_prtCartLiquidiF18ByUDC.codimpiantoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsdescimpiantoNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF18ByUDC.descimpiantoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetdescimpiantoNull() { + this[this.tablestp_prtCartLiquidiF18ByUDC.descimpiantoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscodstampoNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF18ByUDC.codstampoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcodstampoNull() { + this[this.tablestp_prtCartLiquidiF18ByUDC.codstampoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsfiguraNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF18ByUDC.figuraColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetfiguraNull() { + this[this.tablestp_prtCartLiquidiF18ByUDC.figuraColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsdatafusNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF18ByUDC.datafusColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetdatafusNull() { + this[this.tablestp_prtCartLiquidiF18ByUDC.datafusColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsturnofusNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF18ByUDC.turnofusColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetturnofusNull() { + this[this.tablestp_prtCartLiquidiF18ByUDC.turnofusColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscodimballoNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF18ByUDC.codimballoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcodimballoNull() { + this[this.tablestp_prtCartLiquidiF18ByUDC.codimballoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscodsoggettoNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF18ByUDC.codsoggettoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcodsoggettoNull() { + this[this.tablestp_prtCartLiquidiF18ByUDC.codsoggettoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsnumcontNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF18ByUDC.numcontColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetnumcontNull() { + this[this.tablestp_prtCartLiquidiF18ByUDC.numcontColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IstaraNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF18ByUDC.taraColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SettaraNull() { + this[this.tablestp_prtCartLiquidiF18ByUDC.taraColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsqtaNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF18ByUDC.qtaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetqtaNull() { + this[this.tablestp_prtCartLiquidiF18ByUDC.qtaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscodstatoNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF18ByUDC.codstatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcodstatoNull() { + this[this.tablestp_prtCartLiquidiF18ByUDC.codstatoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsidxposizioneNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF18ByUDC.idxposizioneColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetidxposizioneNull() { + this[this.tablestp_prtCartLiquidiF18ByUDC.idxposizioneColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IspesototNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF18ByUDC.pesototColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetpesototNull() { + this[this.tablestp_prtCartLiquidiF18ByUDC.pesototColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IspesocadNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF18ByUDC.pesocadColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetpesocadNull() { + this[this.tablestp_prtCartLiquidiF18ByUDC.pesocadColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCreateDateNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF18ByUDC.CreateDateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCreateDateNull() { + this[this.tablestp_prtCartLiquidiF18ByUDC.CreateDateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsModDateNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF18ByUDC.ModDateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetModDateNull() { + this[this.tablestp_prtCartLiquidiF18ByUDC.ModDateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscognomeNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF18ByUDC.cognomeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcognomeNull() { + this[this.tablestp_prtCartLiquidiF18ByUDC.cognomeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsnomeNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF18ByUDC.nomeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetnomeNull() { + this[this.tablestp_prtCartLiquidiF18ByUDC.nomeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsdescstatoNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF18ByUDC.descstatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetdescstatoNull() { + this[this.tablestp_prtCartLiquidiF18ByUDC.descstatoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsdescimballoNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF18ByUDC.descimballoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetdescimballoNull() { + this[this.tablestp_prtCartLiquidiF18ByUDC.descimballoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodFamigliaNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF18ByUDC.CodFamigliaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodFamigliaNull() { + this[this.tablestp_prtCartLiquidiF18ByUDC.CodFamigliaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescFamigliaNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF18ByUDC.DescFamigliaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescFamigliaNull() { + this[this.tablestp_prtCartLiquidiF18ByUDC.DescFamigliaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsNoteNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF18ByUDC.NoteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetNoteNull() { + this[this.tablestp_prtCartLiquidiF18ByUDC.NoteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsNoteTrattNull() { + return this.IsNull(this.tablestp_prtCartLiquidiF18ByUDC.NoteTrattColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetNoteTrattNull() { + this[this.tablestp_prtCartLiquidiF18ByUDC.NoteTrattColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class v_RapQualNoteRow : global::System.Data.DataRow { + + private v_RapQualNoteDataTable tablev_RapQualNote; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_RapQualNoteRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_RapQualNote = ((v_RapQualNoteDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal nRapQual { + get { + return ((decimal)(this[this.tablev_RapQualNote.nRapQualColumn])); + } + set { + this[this.tablev_RapQualNote.nRapQualColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal DataRapQual { + get { + return ((decimal)(this[this.tablev_RapQualNote.DataRapQualColumn])); + } + set { + this[this.tablev_RapQualNote.DataRapQualColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string ProgUDC { + get { + return ((string)(this[this.tablev_RapQualNote.ProgUDCColumn])); + } + set { + this[this.tablev_RapQualNote.ProgUDCColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodFor { + get { + return ((string)(this[this.tablev_RapQualNote.CodForColumn])); + } + set { + this[this.tablev_RapQualNote.CodForColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DestTerz { + get { + return ((string)(this[this.tablev_RapQualNote.DestTerzColumn])); + } + set { + this[this.tablev_RapQualNote.DestTerzColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodLega { + get { + return ((string)(this[this.tablev_RapQualNote.CodLegaColumn])); + } + set { + this[this.tablev_RapQualNote.CodLegaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal DataPrelFus { + get { + return ((decimal)(this[this.tablev_RapQualNote.DataPrelFusColumn])); + } + set { + this[this.tablev_RapQualNote.DataPrelFusColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string TurnoPrelFus { + get { + return ((string)(this[this.tablev_RapQualNote.TurnoPrelFusColumn])); + } + set { + this[this.tablev_RapQualNote.TurnoPrelFusColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal Qta { + get { + return ((decimal)(this[this.tablev_RapQualNote.QtaColumn])); + } + set { + this[this.tablev_RapQualNote.QtaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DestLega { + get { + return ((string)(this[this.tablev_RapQualNote.DestLegaColumn])); + } + set { + this[this.tablev_RapQualNote.DestLegaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string LegaScaric { + get { + return ((string)(this[this.tablev_RapQualNote.LegaScaricColumn])); + } + set { + this[this.tablev_RapQualNote.LegaScaricColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string BenesQual { + get { + return ((string)(this[this.tablev_RapQualNote.BenesQualColumn])); + } + set { + this[this.tablev_RapQualNote.BenesQualColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string UDC { + get { + try { + return ((string)(this[this.tablev_RapQualNote.UDCColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'UDC\' in table \'v_RapQualNote\' is DBNull.", e); + } + } + set { + this[this.tablev_RapQualNote.UDCColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Note { + get { + try { + return ((string)(this[this.tablev_RapQualNote.NoteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Note\' in table \'v_RapQualNote\' is DBNull.", e); + } + } + set { + this[this.tablev_RapQualNote.NoteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsUDCNull() { + return this.IsNull(this.tablev_RapQualNote.UDCColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetUDCNull() { + this[this.tablev_RapQualNote.UDCColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsNoteNull() { + return this.IsNull(this.tablev_RapQualNote.NoteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetNoteNull() { + this[this.tablev_RapQualNote.NoteColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class AnagStatiRowChangeEvent : global::System.EventArgs { + + private AnagStatiRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagStatiRowChangeEvent(AnagStatiRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagStatiRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class AnagTipoDichiarazRowChangeEvent : global::System.EventArgs { + + private AnagTipoDichiarazRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagTipoDichiarazRowChangeEvent(AnagTipoDichiarazRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagTipoDichiarazRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class AnagStatiProdottoRowChangeEvent : global::System.EventArgs { + + private AnagStatiProdottoRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagStatiProdottoRowChangeEvent(AnagStatiProdottoRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagStatiProdottoRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class RelazUDCRowChangeEvent : global::System.EventArgs { + + private RelazUDCRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public RelazUDCRowChangeEvent(RelazUDCRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public RelazUDCRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class AnagImpiantiRowChangeEvent : global::System.EventArgs { + + private AnagImpiantiRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagImpiantiRowChangeEvent(AnagImpiantiRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagImpiantiRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class AnagCompanySitoRowChangeEvent : global::System.EventArgs { + + private AnagCompanySitoRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagCompanySitoRowChangeEvent(AnagCompanySitoRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagCompanySitoRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class AnagBilanceRowChangeEvent : global::System.EventArgs { + + private AnagBilanceRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagBilanceRowChangeEvent(AnagBilanceRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagBilanceRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class ElencoCartelliniRowChangeEvent : global::System.EventArgs { + + private ElencoCartelliniRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoCartelliniRowChangeEvent(ElencoCartelliniRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoCartelliniRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class AnagImballiRowChangeEvent : global::System.EventArgs { + + private AnagImballiRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagImballiRowChangeEvent(AnagImballiRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagImballiRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class v_ArtInProdRowChangeEvent : global::System.EventArgs { + + private v_ArtInProdRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_ArtInProdRowChangeEvent(v_ArtInProdRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_ArtInProdRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class AnagOperatoriRowChangeEvent : global::System.EventArgs { + + private AnagOperatoriRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagOperatoriRowChangeEvent(AnagOperatoriRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagOperatoriRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class AnagClientiRowChangeEvent : global::System.EventArgs { + + private AnagClientiRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagClientiRowChangeEvent(AnagClientiRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagClientiRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class AnagParticolariRowChangeEvent : global::System.EventArgs { + + private AnagParticolariRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagParticolariRowChangeEvent(AnagParticolariRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagParticolariRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class AnagFamiglieRowChangeEvent : global::System.EventArgs { + + private AnagFamiglieRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagFamiglieRowChangeEvent(AnagFamiglieRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagFamiglieRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class Soggetti2UtenteRowChangeEvent : global::System.EventArgs { + + private Soggetti2UtenteRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public Soggetti2UtenteRowChangeEvent(Soggetti2UtenteRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public Soggetti2UtenteRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class v_specParticolariRowChangeEvent : global::System.EventArgs { + + private v_specParticolariRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_specParticolariRowChangeEvent(v_specParticolariRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_specParticolariRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class ElencoPostazioniRowChangeEvent : global::System.EventArgs { + + private ElencoPostazioniRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoPostazioniRowChangeEvent(ElencoPostazioniRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoPostazioniRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class stp_prtCartLiquidiF10ByUDCRowChangeEvent : global::System.EventArgs { + + private stp_prtCartLiquidiF10ByUDCRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartLiquidiF10ByUDCRowChangeEvent(stp_prtCartLiquidiF10ByUDCRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartLiquidiF10ByUDCRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class stp_prtCartLiquidiF18ByUDCRowChangeEvent : global::System.EventArgs { + + private stp_prtCartLiquidiF18ByUDCRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartLiquidiF18ByUDCRowChangeEvent(stp_prtCartLiquidiF18ByUDCRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartLiquidiF18ByUDCRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class v_RapQualNoteRowChangeEvent : global::System.EventArgs { + + private v_RapQualNoteRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_RapQualNoteRowChangeEvent(v_RapQualNoteRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_RapQualNoteRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + } +} +namespace GMW_data.DS_ApplicazioneTableAdapters { + + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class AnagStatiTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagStatiTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "AnagStati"; + tableMapping.ColumnMappings.Add("IdxStato", "IdxStato"); + tableMapping.ColumnMappings.Add("DescrStato", "DescrStato"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = "DELETE FROM [dbo].[AnagStati] WHERE (([IdxStato] = @Original_IdxStato) AND ((@IsN" + + "ull_DescrStato = 1 AND [DescrStato] IS NULL) OR ([DescrStato] = @Original_DescrS" + + "tato)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxStato", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrStato", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrStato", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[AnagStati] ([IdxStato], [DescrStato]) VALUES (@IdxStato, @Desc" + + "rStato);\r\nSELECT IdxStato, DescrStato FROM AnagStati WHERE (IdxStato = @IdxStato" + + ")"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxStato", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrStato", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[AnagStati] SET [IdxStato] = @IdxStato, [DescrStato] = @DescrStato WHERE (([IdxStato] = @Original_IdxStato) AND ((@IsNull_DescrStato = 1 AND [DescrStato] IS NULL) OR ([DescrStato] = @Original_DescrStato))); +SELECT IdxStato, DescrStato FROM AnagStati WHERE (IdxStato = @IdxStato)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxStato", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrStato", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxStato", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrStato", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrStato", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "SELECT IdxStato, DescrStato FROM dbo.AnagStati"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_Applicazione.AnagStatiDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_Applicazione.AnagStatiDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_Applicazione.AnagStatiDataTable dataTable = new DS_Applicazione.AnagStatiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_Applicazione.AnagStatiDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_Applicazione dataSet) { + return this.Adapter.Update(dataSet, "AnagStati"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(int Original_IdxStato, string Original_DescrStato) { + this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_IdxStato)); + if ((Original_DescrStato == null)) { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_DescrStato)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(int IdxStato, string DescrStato) { + this.Adapter.InsertCommand.Parameters[0].Value = ((int)(IdxStato)); + if ((DescrStato == null)) { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(DescrStato)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(int IdxStato, string DescrStato, int Original_IdxStato, string Original_DescrStato) { + this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(IdxStato)); + if ((DescrStato == null)) { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(DescrStato)); + } + this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(Original_IdxStato)); + if ((Original_DescrStato == null)) { + this.Adapter.UpdateCommand.Parameters[3].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_DescrStato)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string DescrStato, int Original_IdxStato, string Original_DescrStato) { + return this.Update(Original_IdxStato, DescrStato, Original_IdxStato, Original_DescrStato); + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class AnagTipoDichiarazTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagTipoDichiarazTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "AnagTipoDichiaraz"; + tableMapping.ColumnMappings.Add("CodTipoDichiaraz", "CodTipoDichiaraz"); + tableMapping.ColumnMappings.Add("DescrTipoDichiaraz", "DescrTipoDichiaraz"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = "DELETE FROM [dbo].[AnagTipoDichiaraz] WHERE (([CodTipoDichiaraz] = @Original_CodT" + + "ipoDichiaraz) AND ((@IsNull_DescrTipoDichiaraz = 1 AND [DescrTipoDichiaraz] IS N" + + "ULL) OR ([DescrTipoDichiaraz] = @Original_DescrTipoDichiaraz)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodTipoDichiaraz", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoDichiaraz", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrTipoDichiaraz", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrTipoDichiaraz", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrTipoDichiaraz", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrTipoDichiaraz", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[AnagTipoDichiaraz] ([CodTipoDichiaraz], [DescrTipoDichiaraz]) " + + "VALUES (@CodTipoDichiaraz, @DescrTipoDichiaraz);\r\nSELECT CodTipoDichiaraz, Descr" + + "TipoDichiaraz FROM AnagTipoDichiaraz WHERE (CodTipoDichiaraz = @CodTipoDichiaraz" + + ")"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoDichiaraz", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoDichiaraz", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrTipoDichiaraz", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrTipoDichiaraz", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[AnagTipoDichiaraz] SET [CodTipoDichiaraz] = @CodTipoDichiaraz, [DescrTipoDichiaraz] = @DescrTipoDichiaraz WHERE (([CodTipoDichiaraz] = @Original_CodTipoDichiaraz) AND ((@IsNull_DescrTipoDichiaraz = 1 AND [DescrTipoDichiaraz] IS NULL) OR ([DescrTipoDichiaraz] = @Original_DescrTipoDichiaraz))); +SELECT CodTipoDichiaraz, DescrTipoDichiaraz FROM AnagTipoDichiaraz WHERE (CodTipoDichiaraz = @CodTipoDichiaraz)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoDichiaraz", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoDichiaraz", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrTipoDichiaraz", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrTipoDichiaraz", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodTipoDichiaraz", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoDichiaraz", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrTipoDichiaraz", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrTipoDichiaraz", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrTipoDichiaraz", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrTipoDichiaraz", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "SELECT CodTipoDichiaraz, DescrTipoDichiaraz FROM dbo.AnagTipoDichiaraz"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_Applicazione.AnagTipoDichiarazDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_Applicazione.AnagTipoDichiarazDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_Applicazione.AnagTipoDichiarazDataTable dataTable = new DS_Applicazione.AnagTipoDichiarazDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_Applicazione.AnagTipoDichiarazDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_Applicazione dataSet) { + return this.Adapter.Update(dataSet, "AnagTipoDichiaraz"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_CodTipoDichiaraz, string Original_DescrTipoDichiaraz) { + if ((Original_CodTipoDichiaraz == null)) { + throw new global::System.ArgumentNullException("Original_CodTipoDichiaraz"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodTipoDichiaraz)); + } + if ((Original_DescrTipoDichiaraz == null)) { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_DescrTipoDichiaraz)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string CodTipoDichiaraz, string DescrTipoDichiaraz) { + if ((CodTipoDichiaraz == null)) { + throw new global::System.ArgumentNullException("CodTipoDichiaraz"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodTipoDichiaraz)); + } + if ((DescrTipoDichiaraz == null)) { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(DescrTipoDichiaraz)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string CodTipoDichiaraz, string DescrTipoDichiaraz, string Original_CodTipoDichiaraz, string Original_DescrTipoDichiaraz) { + if ((CodTipoDichiaraz == null)) { + throw new global::System.ArgumentNullException("CodTipoDichiaraz"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodTipoDichiaraz)); + } + if ((DescrTipoDichiaraz == null)) { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(DescrTipoDichiaraz)); + } + if ((Original_CodTipoDichiaraz == null)) { + throw new global::System.ArgumentNullException("Original_CodTipoDichiaraz"); + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Original_CodTipoDichiaraz)); + } + if ((Original_DescrTipoDichiaraz == null)) { + this.Adapter.UpdateCommand.Parameters[3].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_DescrTipoDichiaraz)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string DescrTipoDichiaraz, string Original_CodTipoDichiaraz, string Original_DescrTipoDichiaraz) { + return this.Update(Original_CodTipoDichiaraz, DescrTipoDichiaraz, Original_CodTipoDichiaraz, Original_DescrTipoDichiaraz); + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class AnagStatiProdottoTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagStatiProdottoTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "AnagStatiProdotto"; + tableMapping.ColumnMappings.Add("CodStato", "CodStato"); + tableMapping.ColumnMappings.Add("DescStato", "DescStato"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = "DELETE FROM [dbo].[AnagStatiProdotto] WHERE (([CodStato] = @Original_CodStato) AN" + + "D ((@IsNull_DescStato = 1 AND [DescStato] IS NULL) OR ([DescStato] = @Original_D" + + "escStato)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStato", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescStato", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescStato", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[AnagStatiProdotto] ([CodStato], [DescStato]) VALUES (@CodStato" + + ", @DescStato);\r\nSELECT CodStato, DescStato FROM AnagStatiProdotto WHERE (CodStat" + + "o = @CodStato)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStato", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescStato", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[AnagStatiProdotto] SET [CodStato] = @CodStato, [DescStato] = @DescStato WHERE (([CodStato] = @Original_CodStato) AND ((@IsNull_DescStato = 1 AND [DescStato] IS NULL) OR ([DescStato] = @Original_DescStato))); +SELECT CodStato, DescStato FROM AnagStatiProdotto WHERE (CodStato = @CodStato)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStato", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescStato", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStato", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescStato", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescStato", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT CodStato, DescStato FROM dbo.AnagStatiProdotto"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "SELECT CodStato, DescStato FROM dbo.AnagStatiProdotto\r\nwhere CodStato=@CodStato"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodStato", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "CodStato", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_Applicazione.AnagStatiProdottoDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_Applicazione.AnagStatiProdottoDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_Applicazione.AnagStatiProdottoDataTable dataTable = new DS_Applicazione.AnagStatiProdottoDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_Applicazione.AnagStatiProdottoDataTable getByCodStato(string CodStato) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((CodStato == null)) { + throw new global::System.ArgumentNullException("CodStato"); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(CodStato)); + } + DS_Applicazione.AnagStatiProdottoDataTable dataTable = new DS_Applicazione.AnagStatiProdottoDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_Applicazione.AnagStatiProdottoDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_Applicazione dataSet) { + return this.Adapter.Update(dataSet, "AnagStatiProdotto"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_CodStato, string Original_DescStato) { + if ((Original_CodStato == null)) { + throw new global::System.ArgumentNullException("Original_CodStato"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodStato)); + } + if ((Original_DescStato == null)) { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_DescStato)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string CodStato, string DescStato) { + if ((CodStato == null)) { + throw new global::System.ArgumentNullException("CodStato"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodStato)); + } + if ((DescStato == null)) { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(DescStato)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string CodStato, string DescStato, string Original_CodStato, string Original_DescStato) { + if ((CodStato == null)) { + throw new global::System.ArgumentNullException("CodStato"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodStato)); + } + if ((DescStato == null)) { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(DescStato)); + } + if ((Original_CodStato == null)) { + throw new global::System.ArgumentNullException("Original_CodStato"); + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Original_CodStato)); + } + if ((Original_DescStato == null)) { + this.Adapter.UpdateCommand.Parameters[3].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_DescStato)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string DescStato, string Original_CodStato, string Original_DescStato) { + return this.Update(Original_CodStato, DescStato, Original_CodStato, Original_DescStato); + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class RelazUDCTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public RelazUDCTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "RelazUDC"; + tableMapping.ColumnMappings.Add("UDC_parent", "UDC_parent"); + tableMapping.ColumnMappings.Add("UDC_child", "UDC_child"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = "DELETE FROM [dbo].[RelazUDC] WHERE (([UDC_parent] = @Original_UDC_parent) AND ([U" + + "DC_child] = @Original_UDC_child))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UDC_parent", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC_parent", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UDC_child", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC_child", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[RelazUDC] ([UDC_parent], [UDC_child]) VALUES (@UDC_parent, @UD" + + "C_child);\r\nSELECT UDC_parent, UDC_child FROM RelazUDC WHERE (UDC_child = @UDC_ch" + + "ild) AND (UDC_parent = @UDC_parent)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC_parent", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC_parent", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC_child", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC_child", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[RelazUDC] SET [UDC_parent] = @UDC_parent, [UDC_child] = @UDC_child WHERE (([UDC_parent] = @Original_UDC_parent) AND ([UDC_child] = @Original_UDC_child)); +SELECT UDC_parent, UDC_child FROM RelazUDC WHERE (UDC_child = @UDC_child) AND (UDC_parent = @UDC_parent)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC_parent", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC_parent", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC_child", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC_child", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UDC_parent", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC_parent", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UDC_child", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC_child", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT UDC_parent, UDC_child FROM dbo.RelazUDC"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "dbo.stp_getUDC_Child"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[1].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[1].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[2] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[2].Connection = this.Connection; + this._commandCollection[2].CommandText = "dbo.stp_getUDC_Parent"; + this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[2].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[2].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.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_Applicazione.RelazUDCDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_Applicazione.RelazUDCDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_Applicazione.RelazUDCDataTable dataTable = new DS_Applicazione.RelazUDCDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_Applicazione.RelazUDCDataTable stp_getChild(string UDC) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((UDC == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(UDC)); + } + DS_Applicazione.RelazUDCDataTable dataTable = new DS_Applicazione.RelazUDCDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_Applicazione.RelazUDCDataTable stp_getParent(string UDC) { + this.Adapter.SelectCommand = this.CommandCollection[2]; + if ((UDC == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(UDC)); + } + DS_Applicazione.RelazUDCDataTable dataTable = new DS_Applicazione.RelazUDCDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_Applicazione.RelazUDCDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_Applicazione dataSet) { + return this.Adapter.Update(dataSet, "RelazUDC"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_UDC_parent, string Original_UDC_child) { + if ((Original_UDC_parent == null)) { + throw new global::System.ArgumentNullException("Original_UDC_parent"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_UDC_parent)); + } + if ((Original_UDC_child == null)) { + throw new global::System.ArgumentNullException("Original_UDC_child"); + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_UDC_child)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string UDC_parent, string UDC_child) { + if ((UDC_parent == null)) { + throw new global::System.ArgumentNullException("UDC_parent"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(UDC_parent)); + } + if ((UDC_child == null)) { + throw new global::System.ArgumentNullException("UDC_child"); + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(UDC_child)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string UDC_parent, string UDC_child, string Original_UDC_parent, string Original_UDC_child) { + if ((UDC_parent == null)) { + throw new global::System.ArgumentNullException("UDC_parent"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(UDC_parent)); + } + if ((UDC_child == null)) { + throw new global::System.ArgumentNullException("UDC_child"); + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(UDC_child)); + } + if ((Original_UDC_parent == null)) { + throw new global::System.ArgumentNullException("Original_UDC_parent"); + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Original_UDC_parent)); + } + if ((Original_UDC_child == null)) { + throw new global::System.ArgumentNullException("Original_UDC_child"); + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Original_UDC_child)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string Original_UDC_parent, string Original_UDC_child) { + return this.Update(Original_UDC_parent, Original_UDC_child, Original_UDC_parent, Original_UDC_child); + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class AnagImpiantiTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagImpiantiTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "AnagImpianti"; + tableMapping.ColumnMappings.Add("CodImpianto", "CodImpianto"); + tableMapping.ColumnMappings.Add("CodCS", "CodCS"); + tableMapping.ColumnMappings.Add("DescImpianto", "DescImpianto"); + tableMapping.ColumnMappings.Add("Campionatura", "Campionatura"); + tableMapping.ColumnMappings.Add("TipoLinea", "TipoLinea"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[AnagImpianti] WHERE (([CodImpianto] = @Original_CodImpianto) AND ([CodCS] = @Original_CodCS) AND ((@IsNull_DescImpianto = 1 AND [DescImpianto] IS NULL) OR ([DescImpianto] = @Original_DescImpianto)) AND ((@IsNull_Campionatura = 1 AND [Campionatura] IS NULL) OR ([Campionatura] = @Original_Campionatura)) AND ((@IsNull_TipoLinea = 1 AND [TipoLinea] IS NULL) OR ([TipoLinea] = @Original_TipoLinea)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImpianto", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescImpianto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescImpianto", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescImpianto", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Campionatura", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campionatura", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campionatura", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campionatura", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TipoLinea", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TipoLinea", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TipoLinea", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TipoLinea", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[AnagImpianti] ([CodImpianto], [CodCS], [DescImpianto], [Campionatura], [TipoLinea]) VALUES (@CodImpianto, @CodCS, @DescImpianto, @Campionatura, @TipoLinea); +SELECT CodImpianto, CodCS, DescImpianto, Campionatura, TipoLinea FROM AnagImpianti WHERE (CodImpianto = @CodImpianto)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImpianto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescImpianto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campionatura", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campionatura", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TipoLinea", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TipoLinea", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[AnagImpianti] SET [CodImpianto] = @CodImpianto, [CodCS] = @CodCS, [DescImpianto] = @DescImpianto, [Campionatura] = @Campionatura, [TipoLinea] = @TipoLinea WHERE (([CodImpianto] = @Original_CodImpianto) AND ([CodCS] = @Original_CodCS) AND ((@IsNull_DescImpianto = 1 AND [DescImpianto] IS NULL) OR ([DescImpianto] = @Original_DescImpianto)) AND ((@IsNull_Campionatura = 1 AND [Campionatura] IS NULL) OR ([Campionatura] = @Original_Campionatura)) AND ((@IsNull_TipoLinea = 1 AND [TipoLinea] IS NULL) OR ([TipoLinea] = @Original_TipoLinea))); +SELECT CodImpianto, CodCS, DescImpianto, Campionatura, TipoLinea FROM AnagImpianti WHERE (CodImpianto = @CodImpianto)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImpianto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescImpianto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campionatura", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campionatura", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TipoLinea", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TipoLinea", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImpianto", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescImpianto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescImpianto", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescImpianto", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Campionatura", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campionatura", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campionatura", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campionatura", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TipoLinea", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TipoLinea", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TipoLinea", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TipoLinea", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT CodImpianto, CodCS, DescImpianto, Campionatura, TipoLinea FROM dbo.AnagImp" + + "ianti"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "dbo.stp_getImpiantiByCodCS"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[1].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[1].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, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_Applicazione.AnagImpiantiDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_Applicazione.AnagImpiantiDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_Applicazione.AnagImpiantiDataTable dataTable = new DS_Applicazione.AnagImpiantiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_Applicazione.AnagImpiantiDataTable stp_getByCodCS(string CodCS) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((CodCS == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodCS)); + } + DS_Applicazione.AnagImpiantiDataTable dataTable = new DS_Applicazione.AnagImpiantiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_Applicazione.AnagImpiantiDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_Applicazione dataSet) { + return this.Adapter.Update(dataSet, "AnagImpianti"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_CodImpianto, string Original_CodCS, string Original_DescImpianto, string Original_Campionatura, string Original_TipoLinea) { + if ((Original_CodImpianto == null)) { + throw new global::System.ArgumentNullException("Original_CodImpianto"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodImpianto)); + } + if ((Original_CodCS == null)) { + throw new global::System.ArgumentNullException("Original_CodCS"); + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_CodCS)); + } + if ((Original_DescImpianto == null)) { + this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_DescImpianto)); + } + if ((Original_Campionatura == null)) { + this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(Original_Campionatura)); + } + if ((Original_TipoLinea == null)) { + this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(Original_TipoLinea)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string CodImpianto, string CodCS, string DescImpianto, string Campionatura, string TipoLinea) { + if ((CodImpianto == null)) { + throw new global::System.ArgumentNullException("CodImpianto"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodImpianto)); + } + if ((CodCS == null)) { + throw new global::System.ArgumentNullException("CodCS"); + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(CodCS)); + } + if ((DescImpianto == null)) { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(DescImpianto)); + } + if ((Campionatura == null)) { + this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = ((string)(Campionatura)); + } + if ((TipoLinea == null)) { + this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[4].Value = ((string)(TipoLinea)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string CodImpianto, string CodCS, string DescImpianto, string Campionatura, string TipoLinea, string Original_CodImpianto, string Original_CodCS, string Original_DescImpianto, string Original_Campionatura, string Original_TipoLinea) { + if ((CodImpianto == null)) { + throw new global::System.ArgumentNullException("CodImpianto"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodImpianto)); + } + if ((CodCS == null)) { + throw new global::System.ArgumentNullException("CodCS"); + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(CodCS)); + } + if ((DescImpianto == null)) { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(DescImpianto)); + } + if ((Campionatura == null)) { + this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Campionatura)); + } + if ((TipoLinea == null)) { + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(TipoLinea)); + } + if ((Original_CodImpianto == null)) { + throw new global::System.ArgumentNullException("Original_CodImpianto"); + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Original_CodImpianto)); + } + if ((Original_CodCS == null)) { + throw new global::System.ArgumentNullException("Original_CodCS"); + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_CodCS)); + } + if ((Original_DescImpianto == null)) { + this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_DescImpianto)); + } + if ((Original_Campionatura == null)) { + this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Original_Campionatura)); + } + if ((Original_TipoLinea == null)) { + this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Original_TipoLinea)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string CodCS, string DescImpianto, string Campionatura, string TipoLinea, string Original_CodImpianto, string Original_CodCS, string Original_DescImpianto, string Original_Campionatura, string Original_TipoLinea) { + return this.Update(Original_CodImpianto, CodCS, DescImpianto, Campionatura, TipoLinea, Original_CodImpianto, Original_CodCS, Original_DescImpianto, Original_Campionatura, Original_TipoLinea); + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class AnagCompanySitoTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagCompanySitoTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "AnagCompanySito"; + tableMapping.ColumnMappings.Add("CodCS", "CodCS"); + tableMapping.ColumnMappings.Add("CodCompany", "CodCompany"); + tableMapping.ColumnMappings.Add("DescCompany", "DescCompany"); + tableMapping.ColumnMappings.Add("CodSito", "CodSito"); + tableMapping.ColumnMappings.Add("DescSito", "DescSito"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[AnagCompanySito] WHERE (([CodCS] = @Original_CodCS) AND ((@IsNull_CodCompany = 1 AND [CodCompany] IS NULL) OR ([CodCompany] = @Original_CodCompany)) AND ((@IsNull_DescCompany = 1 AND [DescCompany] IS NULL) OR ([DescCompany] = @Original_DescCompany)) AND ((@IsNull_CodSito = 1 AND [CodSito] IS NULL) OR ([CodSito] = @Original_CodSito)) AND ((@IsNull_DescSito = 1 AND [DescSito] IS NULL) OR ([DescSito] = @Original_DescSito)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodCompany", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCompany", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCompany", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCompany", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescCompany", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescCompany", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescCompany", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescCompany", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodSito", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSito", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSito", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSito", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescSito", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescSito", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescSito", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescSito", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[AnagCompanySito] ([CodCS], [CodCompany], [DescCompany], [CodSito], [DescSito]) VALUES (@CodCS, @CodCompany, @DescCompany, @CodSito, @DescSito); +SELECT CodCS, CodCompany, DescCompany, CodSito, DescSito FROM AnagCompanySito WHERE (CodCS = @CodCS)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCompany", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCompany", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescCompany", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescCompany", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSito", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSito", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescSito", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescSito", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[AnagCompanySito] SET [CodCS] = @CodCS, [CodCompany] = @CodCompany, [DescCompany] = @DescCompany, [CodSito] = @CodSito, [DescSito] = @DescSito WHERE (([CodCS] = @Original_CodCS) AND ((@IsNull_CodCompany = 1 AND [CodCompany] IS NULL) OR ([CodCompany] = @Original_CodCompany)) AND ((@IsNull_DescCompany = 1 AND [DescCompany] IS NULL) OR ([DescCompany] = @Original_DescCompany)) AND ((@IsNull_CodSito = 1 AND [CodSito] IS NULL) OR ([CodSito] = @Original_CodSito)) AND ((@IsNull_DescSito = 1 AND [DescSito] IS NULL) OR ([DescSito] = @Original_DescSito))); +SELECT CodCS, CodCompany, DescCompany, CodSito, DescSito FROM AnagCompanySito WHERE (CodCS = @CodCS)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCompany", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCompany", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescCompany", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescCompany", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSito", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSito", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescSito", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescSito", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodCompany", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCompany", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCompany", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCompany", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescCompany", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescCompany", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescCompany", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescCompany", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodSito", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSito", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSito", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSito", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescSito", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescSito", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescSito", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescSito", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "SELECT CodCS, CodCompany, DescCompany, CodSito, DescSito FROM dbo.AnagCompanySito" + + ""; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_Applicazione.AnagCompanySitoDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_Applicazione.AnagCompanySitoDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_Applicazione.AnagCompanySitoDataTable dataTable = new DS_Applicazione.AnagCompanySitoDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_Applicazione.AnagCompanySitoDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_Applicazione dataSet) { + return this.Adapter.Update(dataSet, "AnagCompanySito"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_CodCS, string Original_CodCompany, string Original_DescCompany, string Original_CodSito, string Original_DescSito) { + if ((Original_CodCS == null)) { + throw new global::System.ArgumentNullException("Original_CodCS"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodCS)); + } + if ((Original_CodCompany == null)) { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_CodCompany)); + } + if ((Original_DescCompany == null)) { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_DescCompany)); + } + if ((Original_CodSito == null)) { + this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_CodSito)); + } + if ((Original_DescSito == null)) { + this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_DescSito)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string CodCS, string CodCompany, string DescCompany, string CodSito, string DescSito) { + if ((CodCS == null)) { + throw new global::System.ArgumentNullException("CodCS"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodCS)); + } + if ((CodCompany == null)) { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(CodCompany)); + } + if ((DescCompany == null)) { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(DescCompany)); + } + if ((CodSito == null)) { + this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = ((string)(CodSito)); + } + if ((DescSito == null)) { + this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[4].Value = ((string)(DescSito)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string CodCS, string CodCompany, string DescCompany, string CodSito, string DescSito, string Original_CodCS, string Original_CodCompany, string Original_DescCompany, string Original_CodSito, string Original_DescSito) { + if ((CodCS == null)) { + throw new global::System.ArgumentNullException("CodCS"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodCS)); + } + if ((CodCompany == null)) { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(CodCompany)); + } + if ((DescCompany == null)) { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(DescCompany)); + } + if ((CodSito == null)) { + this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(CodSito)); + } + if ((DescSito == null)) { + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(DescSito)); + } + if ((Original_CodCS == null)) { + throw new global::System.ArgumentNullException("Original_CodCS"); + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Original_CodCS)); + } + if ((Original_CodCompany == null)) { + this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Original_CodCompany)); + } + if ((Original_DescCompany == null)) { + this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_DescCompany)); + } + if ((Original_CodSito == null)) { + this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Original_CodSito)); + } + if ((Original_DescSito == null)) { + this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(Original_DescSito)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string CodCompany, string DescCompany, string CodSito, string DescSito, string Original_CodCS, string Original_CodCompany, string Original_DescCompany, string Original_CodSito, string Original_DescSito) { + return this.Update(Original_CodCS, CodCompany, DescCompany, CodSito, DescSito, Original_CodCS, Original_CodCompany, Original_DescCompany, Original_CodSito, Original_DescSito); + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class AnagBilanceTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagBilanceTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "AnagBilance"; + tableMapping.ColumnMappings.Add("CodBilancia", "CodBilancia"); + tableMapping.ColumnMappings.Add("DescrImpianto", "DescrImpianto"); + tableMapping.ColumnMappings.Add("CodCS", "CodCS"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[AnagBilance] WHERE (([CodBilancia] = @Original_CodBilancia) AND ((@IsNull_DescrImpianto = 1 AND [DescrImpianto] IS NULL) OR ([DescrImpianto] = @Original_DescrImpianto)) AND ((@IsNull_CodCS = 1 AND [CodCS] IS NULL) OR ([CodCS] = @Original_CodCS)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodBilancia", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodBilancia", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrImpianto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrImpianto", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrImpianto", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodCS", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[AnagBilance] ([CodBilancia], [DescrImpianto], [CodCS]) VALUES " + + "(@CodBilancia, @DescrImpianto, @CodCS);\r\nSELECT CodBilancia, DescrImpianto, CodC" + + "S FROM AnagBilance WHERE (CodBilancia = @CodBilancia)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodBilancia", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodBilancia", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrImpianto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[AnagBilance] SET [CodBilancia] = @CodBilancia, [DescrImpianto] = @DescrImpianto, [CodCS] = @CodCS WHERE (([CodBilancia] = @Original_CodBilancia) AND ((@IsNull_DescrImpianto = 1 AND [DescrImpianto] IS NULL) OR ([DescrImpianto] = @Original_DescrImpianto)) AND ((@IsNull_CodCS = 1 AND [CodCS] IS NULL) OR ([CodCS] = @Original_CodCS))); +SELECT CodBilancia, DescrImpianto, CodCS FROM AnagBilance WHERE (CodBilancia = @CodBilancia)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodBilancia", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodBilancia", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrImpianto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodBilancia", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodBilancia", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrImpianto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrImpianto", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrImpianto", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodCS", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT CodBilancia, DescrImpianto, CodCS FROM dbo.AnagBilance"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "dbo.stp_getBilanceByCodBilancia"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[1].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[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodBilancia", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[2].Connection = this.Connection; + this._commandCollection[2].CommandText = "dbo.stp_getBilanceByCodCS"; + this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[2].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[2].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, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_Applicazione.AnagBilanceDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_Applicazione.AnagBilanceDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_Applicazione.AnagBilanceDataTable dataTable = new DS_Applicazione.AnagBilanceDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_Applicazione.AnagBilanceDataTable stp_getByCodBilancia(string CodBilancia) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((CodBilancia == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodBilancia)); + } + DS_Applicazione.AnagBilanceDataTable dataTable = new DS_Applicazione.AnagBilanceDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_Applicazione.AnagBilanceDataTable stp_getByCodCS(string CodCS) { + this.Adapter.SelectCommand = this.CommandCollection[2]; + if ((CodCS == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodCS)); + } + DS_Applicazione.AnagBilanceDataTable dataTable = new DS_Applicazione.AnagBilanceDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_Applicazione.AnagBilanceDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_Applicazione dataSet) { + return this.Adapter.Update(dataSet, "AnagBilance"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_CodBilancia, string Original_DescrImpianto, string Original_CodCS) { + if ((Original_CodBilancia == null)) { + throw new global::System.ArgumentNullException("Original_CodBilancia"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodBilancia)); + } + if ((Original_DescrImpianto == null)) { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_DescrImpianto)); + } + if ((Original_CodCS == null)) { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_CodCS)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string CodBilancia, string DescrImpianto, string CodCS) { + if ((CodBilancia == null)) { + throw new global::System.ArgumentNullException("CodBilancia"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodBilancia)); + } + if ((DescrImpianto == null)) { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(DescrImpianto)); + } + if ((CodCS == null)) { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(CodCS)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string CodBilancia, string DescrImpianto, string CodCS, string Original_CodBilancia, string Original_DescrImpianto, string Original_CodCS) { + if ((CodBilancia == null)) { + throw new global::System.ArgumentNullException("CodBilancia"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodBilancia)); + } + if ((DescrImpianto == null)) { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(DescrImpianto)); + } + if ((CodCS == null)) { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(CodCS)); + } + if ((Original_CodBilancia == null)) { + throw new global::System.ArgumentNullException("Original_CodBilancia"); + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Original_CodBilancia)); + } + if ((Original_DescrImpianto == null)) { + this.Adapter.UpdateCommand.Parameters[4].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Original_DescrImpianto)); + } + if ((Original_CodCS == null)) { + this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Original_CodCS)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string DescrImpianto, string CodCS, string Original_CodBilancia, string Original_DescrImpianto, string Original_CodCS) { + return this.Update(Original_CodBilancia, DescrImpianto, CodCS, Original_CodBilancia, Original_DescrImpianto, Original_CodCS); + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class ElencoCartelliniTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoCartelliniTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "ElencoCartellini"; + 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("Note", "Note"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = "DELETE FROM [dbo].[ElencoCartellini] WHERE (([UDC] = @Original_UDC) AND ((@IsNull" + + "_CodCS = 1 AND [CodCS] IS NULL) OR ([CodCS] = @Original_CodCS)) AND ((@IsNull_Co" + + "dCliente = 1 AND [CodCliente] IS NULL) OR ([CodCliente] = @Original_CodCliente))" + + " AND ((@IsNull_RagSociale = 1 AND [RagSociale] IS NULL) OR ([RagSociale] = @Orig" + + "inal_RagSociale)) AND ((@IsNull_Particolare = 1 AND [Particolare] IS NULL) OR ([" + + "Particolare] = @Original_Particolare)) AND ((@IsNull_DescParticolare = 1 AND [De" + + "scParticolare] IS NULL) OR ([DescParticolare] = @Original_DescParticolare)) AND " + + "((@IsNull_DisegnoGrezzo = 1 AND [DisegnoGrezzo] IS NULL) OR ([DisegnoGrezzo] = @" + + "Original_DisegnoGrezzo)) AND ((@IsNull_Esponente = 1 AND [Esponente] IS NULL) OR" + + " ([Esponente] = @Original_Esponente)) AND ((@IsNull_CodImpianto = 1 AND [CodImpi" + + "anto] IS NULL) OR ([CodImpianto] = @Original_CodImpianto)) AND ((@IsNull_DescImp" + + "ianto = 1 AND [DescImpianto] IS NULL) OR ([DescImpianto] = @Original_DescImpiant" + + "o)) AND ((@IsNull_CodStampo = 1 AND [CodStampo] IS NULL) OR ([CodStampo] = @Orig" + + "inal_CodStampo)) AND ((@IsNull_Figura = 1 AND [Figura] IS NULL) OR ([Figura] = @" + + "Original_Figura)) AND ((@IsNull_DataFus = 1 AND [DataFus] IS NULL) OR ([DataFus]" + + " = @Original_DataFus)) AND ((@IsNull_TurnoFus = 1 AND [TurnoFus] IS NULL) OR ([T" + + "urnoFus] = @Original_TurnoFus)) AND ((@IsNull_CodImballo = 1 AND [CodImballo] IS" + + " NULL) OR ([CodImballo] = @Original_CodImballo)) AND ((@IsNull_CodSoggetto = 1 A" + + "ND [CodSoggetto] IS NULL) OR ([CodSoggetto] = @Original_CodSoggetto)) AND ((@IsN" + + "ull_NumCont = 1 AND [NumCont] IS NULL) OR ([NumCont] = @Original_NumCont)) AND (" + + "(@IsNull_Tara = 1 AND [Tara] IS NULL) OR ([Tara] = @Original_Tara)) AND ((@IsNul" + + "l_Qta = 1 AND [Qta] IS NULL) OR ([Qta] = @Original_Qta)) AND ((@IsNull_CodStato " + + "= 1 AND [CodStato] IS NULL) OR ([CodStato] = @Original_CodStato)) AND ((@IsNull_" + + "IdxPosizione = 1 AND [IdxPosizione] IS NULL) OR ([IdxPosizione] = @Original_IdxP" + + "osizione)) AND ((@IsNull_PesoTot = 1 AND [PesoTot] IS NULL) OR ([PesoTot] = @Ori" + + "ginal_PesoTot)) AND ((@IsNull_PesoCad = 1 AND [PesoCad] IS NULL) OR ([PesoCad] =" + + " @Original_PesoCad)) AND ((@IsNull_CreateDate = 1 AND [CreateDate] IS NULL) OR (" + + "[CreateDate] = @Original_CreateDate)) AND ((@IsNull_ModDate = 1 AND [ModDate] IS" + + " NULL) OR ([ModDate] = @Original_ModDate)) AND ((@IsNull_Note = 1 AND [Note] IS " + + "NULL) OR ([Note] = @Original_Note)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodCS", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodCliente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_RagSociale", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagSociale", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RagSociale", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagSociale", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Particolare", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Particolare", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Particolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Particolare", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescParticolare", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescParticolare", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescParticolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescParticolare", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DisegnoGrezzo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DisegnoGrezzo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DisegnoGrezzo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DisegnoGrezzo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Esponente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Esponente", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Esponente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Esponente", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodImpianto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImpianto", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImpianto", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescImpianto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescImpianto", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescImpianto", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodStampo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStampo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodStampo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStampo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Figura", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Figura", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Figura", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Figura", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DataFus", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataFus", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataFus", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataFus", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TurnoFus", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TurnoFus", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TurnoFus", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TurnoFus", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodImballo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImballo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodImballo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImballo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodSoggetto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSoggetto", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_NumCont", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumCont", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumCont", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumCont", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Tara", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tara", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Tara", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tara", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Qta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Qta", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Qta", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 10, 2, "Qta", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStato", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStato", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_IdxPosizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPosizione", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxPosizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPosizione", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_PesoTot", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PesoTot", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PesoTot", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PesoTot", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_PesoCad", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PesoCad", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PesoCad", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PesoCad", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CreateDate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CreateDate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CreateDate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CreateDate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ModDate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ModDate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ModDate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ModDate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Note", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[ElencoCartellini] ([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], [Note]) VALUES (@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, @Note); +SELECT 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, Note FROM ElencoCartellini WHERE (UDC = @UDC)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RagSociale", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagSociale", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Particolare", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescParticolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescParticolare", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DisegnoGrezzo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DisegnoGrezzo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Esponente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Esponente", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImpianto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescImpianto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodStampo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStampo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Figura", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Figura", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataFus", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataFus", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TurnoFus", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TurnoFus", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImballo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImballo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumCont", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumCont", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Tara", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tara", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Qta", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 10, 2, "Qta", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStato", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxPosizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPosizione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PesoTot", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PesoTot", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PesoCad", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PesoCad", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CreateDate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CreateDate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ModDate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ModDate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = "UPDATE [dbo].[ElencoCartellini] SET [UDC] = @UDC, [CodCS] = @CodCS, [CodCliente] " + + "= @CodCliente, [RagSociale] = @RagSociale, [Particolare] = @Particolare, [DescPa" + + "rticolare] = @DescParticolare, [DisegnoGrezzo] = @DisegnoGrezzo, [Esponente] = @" + + "Esponente, [CodImpianto] = @CodImpianto, [DescImpianto] = @DescImpianto, [CodSta" + + "mpo] = @CodStampo, [Figura] = @Figura, [DataFus] = @DataFus, [TurnoFus] = @Turno" + + "Fus, [CodImballo] = @CodImballo, [CodSoggetto] = @CodSoggetto, [NumCont] = @NumC" + + "ont, [Tara] = @Tara, [Qta] = @Qta, [CodStato] = @CodStato, [IdxPosizione] = @Idx" + + "Posizione, [PesoTot] = @PesoTot, [PesoCad] = @PesoCad, [CreateDate] = @CreateDat" + + "e, [ModDate] = @ModDate, [Note] = @Note WHERE (([UDC] = @Original_UDC) AND ((@Is" + + "Null_CodCS = 1 AND [CodCS] IS NULL) OR ([CodCS] = @Original_CodCS)) AND ((@IsNul" + + "l_CodCliente = 1 AND [CodCliente] IS NULL) OR ([CodCliente] = @Original_CodClien" + + "te)) AND ((@IsNull_RagSociale = 1 AND [RagSociale] IS NULL) OR ([RagSociale] = @" + + "Original_RagSociale)) AND ((@IsNull_Particolare = 1 AND [Particolare] IS NULL) O" + + "R ([Particolare] = @Original_Particolare)) AND ((@IsNull_DescParticolare = 1 AND" + + " [DescParticolare] IS NULL) OR ([DescParticolare] = @Original_DescParticolare)) " + + "AND ((@IsNull_DisegnoGrezzo = 1 AND [DisegnoGrezzo] IS NULL) OR ([DisegnoGrezzo]" + + " = @Original_DisegnoGrezzo)) AND ((@IsNull_Esponente = 1 AND [Esponente] IS NULL" + + ") OR ([Esponente] = @Original_Esponente)) AND ((@IsNull_CodImpianto = 1 AND [Cod" + + "Impianto] IS NULL) OR ([CodImpianto] = @Original_CodImpianto)) AND ((@IsNull_Des" + + "cImpianto = 1 AND [DescImpianto] IS NULL) OR ([DescImpianto] = @Original_DescImp" + + "ianto)) AND ((@IsNull_CodStampo = 1 AND [CodStampo] IS NULL) OR ([CodStampo] = @" + + "Original_CodStampo)) AND ((@IsNull_Figura = 1 AND [Figura] IS NULL) OR ([Figura]" + + " = @Original_Figura)) AND ((@IsNull_DataFus = 1 AND [DataFus] IS NULL) OR ([Data" + + "Fus] = @Original_DataFus)) AND ((@IsNull_TurnoFus = 1 AND [TurnoFus] IS NULL) OR" + + " ([TurnoFus] = @Original_TurnoFus)) AND ((@IsNull_CodImballo = 1 AND [CodImballo" + + "] IS NULL) OR ([CodImballo] = @Original_CodImballo)) AND ((@IsNull_CodSoggetto =" + + " 1 AND [CodSoggetto] IS NULL) OR ([CodSoggetto] = @Original_CodSoggetto)) AND ((" + + "@IsNull_NumCont = 1 AND [NumCont] IS NULL) OR ([NumCont] = @Original_NumCont)) A" + + "ND ((@IsNull_Tara = 1 AND [Tara] IS NULL) OR ([Tara] = @Original_Tara)) AND ((@I" + + "sNull_Qta = 1 AND [Qta] IS NULL) OR ([Qta] = @Original_Qta)) AND ((@IsNull_CodSt" + + "ato = 1 AND [CodStato] IS NULL) OR ([CodStato] = @Original_CodStato)) AND ((@IsN" + + "ull_IdxPosizione = 1 AND [IdxPosizione] IS NULL) OR ([IdxPosizione] = @Original_" + + "IdxPosizione)) AND ((@IsNull_PesoTot = 1 AND [PesoTot] IS NULL) OR ([PesoTot] = " + + "@Original_PesoTot)) AND ((@IsNull_PesoCad = 1 AND [PesoCad] IS NULL) OR ([PesoCa" + + "d] = @Original_PesoCad)) AND ((@IsNull_CreateDate = 1 AND [CreateDate] IS NULL) " + + "OR ([CreateDate] = @Original_CreateDate)) AND ((@IsNull_ModDate = 1 AND [ModDate" + + "] IS NULL) OR ([ModDate] = @Original_ModDate)) AND ((@IsNull_Note = 1 AND [Note]" + + " IS NULL) OR ([Note] = @Original_Note)));\r\nSELECT UDC, CodCS, CodCliente, RagSoc" + + "iale, Particolare, DescParticolare, DisegnoGrezzo, Esponente, CodImpianto, DescI" + + "mpianto, CodStampo, Figura, DataFus, TurnoFus, CodImballo, CodSoggetto, NumCont," + + " Tara, Qta, CodStato, IdxPosizione, PesoTot, PesoCad, CreateDate, ModDate, Note " + + "FROM ElencoCartellini WHERE (UDC = @UDC)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RagSociale", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagSociale", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Particolare", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescParticolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescParticolare", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DisegnoGrezzo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DisegnoGrezzo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Esponente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Esponente", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImpianto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescImpianto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodStampo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStampo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Figura", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Figura", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataFus", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataFus", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TurnoFus", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TurnoFus", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImballo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImballo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumCont", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumCont", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Tara", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tara", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Qta", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 10, 2, "Qta", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStato", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxPosizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPosizione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PesoTot", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PesoTot", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PesoCad", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PesoCad", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CreateDate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CreateDate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ModDate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ModDate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodCS", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodCliente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_RagSociale", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagSociale", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RagSociale", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagSociale", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Particolare", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Particolare", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Particolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Particolare", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescParticolare", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescParticolare", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescParticolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescParticolare", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DisegnoGrezzo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DisegnoGrezzo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DisegnoGrezzo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DisegnoGrezzo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Esponente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Esponente", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Esponente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Esponente", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodImpianto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImpianto", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImpianto", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescImpianto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescImpianto", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescImpianto", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodStampo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStampo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodStampo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStampo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Figura", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Figura", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Figura", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Figura", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DataFus", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataFus", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataFus", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataFus", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TurnoFus", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TurnoFus", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TurnoFus", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TurnoFus", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodImballo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImballo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodImballo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImballo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodSoggetto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSoggetto", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_NumCont", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumCont", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumCont", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumCont", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Tara", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tara", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Tara", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tara", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Qta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Qta", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Qta", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 10, 2, "Qta", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStato", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStato", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_IdxPosizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPosizione", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxPosizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPosizione", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_PesoTot", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PesoTot", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PesoTot", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PesoTot", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_PesoCad", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PesoCad", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PesoCad", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PesoCad", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CreateDate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CreateDate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CreateDate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CreateDate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ModDate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ModDate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ModDate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ModDate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Note", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[11]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT *\r\nFROM dbo.ElencoCartellini"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "dbo.stp_UDC_getByFlussoDate"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[1].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[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.NVarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Flusso", global::System.Data.SqlDbType.NVarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataFrom", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataTo", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[2].Connection = this.Connection; + this._commandCollection[2].CommandText = "dbo.stp_UDC_getLast_ByDataTurnoLineaParticolare"; + this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[2].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[2].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[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.VarChar, 15, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImpianto", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataFus", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TurnoFus", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[3].Connection = this.Connection; + this._commandCollection[3].CommandText = "dbo.stp_getCartellinoByUdc"; + this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[3].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[3].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[4] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[4].Connection = this.Connection; + this._commandCollection[4].CommandText = "dbo.stp_UDC_insNewFull"; + this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[4].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[4].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[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Flusso", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Anno", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.VarChar, 6, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.VarChar, 15, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImpianto", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodStampo", global::System.Data.SqlDbType.VarChar, 8, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Esponente", global::System.Data.SqlDbType.VarChar, 6, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Figura", global::System.Data.SqlDbType.VarChar, 4, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataFus", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TurnoFus", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImballo", global::System.Data.SqlDbType.VarChar, 15, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.VarChar, 17, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Tara", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxPosizione", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoDichiaraz", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodEvento", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Qta", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 10, 2, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PesoTot", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PesoCad", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodStato", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC_parent", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DoDeleteUdcParent", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[5].Connection = this.Connection; + this._commandCollection[5].CommandText = "dbo.stp_UDC_insNewFull_fixUDC"; + this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Flusso", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Anno", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.VarChar, 6, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.VarChar, 15, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImpianto", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodStampo", global::System.Data.SqlDbType.VarChar, 8, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Esponente", global::System.Data.SqlDbType.VarChar, 6, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Figura", global::System.Data.SqlDbType.VarChar, 4, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataFus", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TurnoFus", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImballo", global::System.Data.SqlDbType.VarChar, 15, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.VarChar, 17, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Tara", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxPosizione", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoDichiaraz", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodEvento", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Qta", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 10, 2, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PesoTot", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PesoCad", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodStato", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC_parent", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DoDeleteUdcParent", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[6].Connection = this.Connection; + this._commandCollection[6].CommandText = "dbo.stp_riattivaUdc"; + this._commandCollection[6].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[6].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[6].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[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.NVarChar, 17, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[7].Connection = this.Connection; + this._commandCollection[7].CommandText = "dbo.stp_sbloccaUdc"; + this._commandCollection[7].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[7].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[7].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[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.NVarChar, 17, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[8] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[8].Connection = this.Connection; + this._commandCollection[8].CommandText = "dbo.stp_UDC_associaParent"; + this._commandCollection[8].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[8].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[8].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[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC_parent", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[9] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[9].Connection = this.Connection; + this._commandCollection[9].CommandText = "dbo.stp_UDC_delete_byRdQ"; + 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("@nRapQual", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 6, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ExecBatchInter", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[10] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[10].Connection = this.Connection; + this._commandCollection[10].CommandText = "dbo.stp_UDC_update"; + this._commandCollection[10].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[10].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[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC_edit", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[10].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[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Flusso", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Anno", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.VarChar, 6, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.VarChar, 15, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImpianto", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodStampo", global::System.Data.SqlDbType.VarChar, 8, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Esponente", global::System.Data.SqlDbType.VarChar, 6, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Figura", global::System.Data.SqlDbType.VarChar, 4, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataFus", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TurnoFus", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImballo", global::System.Data.SqlDbType.VarChar, 15, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.VarChar, 17, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Tara", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxPosizione", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoDichiaraz", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodEvento", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Qta", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 10, 2, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PesoTot", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PesoCad", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodStato", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC_parent", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_Applicazione.ElencoCartelliniDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_Applicazione.ElencoCartelliniDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_Applicazione.ElencoCartelliniDataTable dataTable = new DS_Applicazione.ElencoCartelliniDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_Applicazione.ElencoCartelliniDataTable getByFlussoDate(string CodCS, string Flusso, global::System.Nullable DataFrom, global::System.Nullable DataTo) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((CodCS == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodCS)); + } + if ((Flusso == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(Flusso)); + } + if ((DataFrom.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(DataFrom.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; + } + if ((DataTo.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[4].Value = ((System.DateTime)(DataTo.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value; + } + DS_Applicazione.ElencoCartelliniDataTable dataTable = new DS_Applicazione.ElencoCartelliniDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_Applicazione.ElencoCartelliniDataTable getLast_byDataTurnoParticolare(string CodCS, string Particolare, string CodImpianto, global::System.Nullable DataFus, global::System.Nullable TurnoFus) { + this.Adapter.SelectCommand = this.CommandCollection[2]; + if ((CodCS == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodCS)); + } + if ((Particolare == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(Particolare)); + } + if ((CodImpianto == null)) { + this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[3].Value = ((string)(CodImpianto)); + } + if ((DataFus.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[4].Value = ((System.DateTime)(DataFus.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value; + } + if ((TurnoFus.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[5].Value = ((int)(TurnoFus.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value; + } + DS_Applicazione.ElencoCartelliniDataTable dataTable = new DS_Applicazione.ElencoCartelliniDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_Applicazione.ElencoCartelliniDataTable stp_getByUdc(string UDC) { + this.Adapter.SelectCommand = this.CommandCollection[3]; + if ((UDC == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(UDC)); + } + DS_Applicazione.ElencoCartelliniDataTable dataTable = new DS_Applicazione.ElencoCartelliniDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_Applicazione.ElencoCartelliniDataTable stp_insNewFull( + string CodCS, + string Flusso, + string Anno, + string CodCliente, + string Particolare, + string CodImpianto, + string CodStampo, + string Esponente, + string Figura, + global::System.Nullable DataFus, + global::System.Nullable TurnoFus, + string CodImballo, + string CodSoggetto, + global::System.Nullable Tara, + global::System.Nullable IdxPosizione, + string CodTipoDichiaraz, + string CodEvento, + global::System.Nullable Qta, + global::System.Nullable PesoTot, + global::System.Nullable PesoCad, + string CodStato, + string UDC_parent, + global::System.Nullable DoDeleteUdcParent, + string Note) { + this.Adapter.SelectCommand = this.CommandCollection[4]; + if ((CodCS == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodCS)); + } + if ((Flusso == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(Flusso)); + } + if ((Anno == null)) { + this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[3].Value = ((string)(Anno)); + } + if ((CodCliente == null)) { + this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[4].Value = ((string)(CodCliente)); + } + if ((Particolare == null)) { + this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[5].Value = ((string)(Particolare)); + } + if ((CodImpianto == null)) { + this.Adapter.SelectCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[6].Value = ((string)(CodImpianto)); + } + if ((CodStampo == null)) { + this.Adapter.SelectCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[7].Value = ((string)(CodStampo)); + } + if ((Esponente == null)) { + this.Adapter.SelectCommand.Parameters[8].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[8].Value = ((string)(Esponente)); + } + if ((Figura == null)) { + this.Adapter.SelectCommand.Parameters[9].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[9].Value = ((string)(Figura)); + } + if ((DataFus.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[10].Value = ((System.DateTime)(DataFus.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[10].Value = global::System.DBNull.Value; + } + if ((TurnoFus.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[11].Value = ((int)(TurnoFus.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[11].Value = global::System.DBNull.Value; + } + if ((CodImballo == null)) { + this.Adapter.SelectCommand.Parameters[12].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[12].Value = ((string)(CodImballo)); + } + if ((CodSoggetto == null)) { + this.Adapter.SelectCommand.Parameters[13].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[13].Value = ((string)(CodSoggetto)); + } + if ((Tara.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[14].Value = ((double)(Tara.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[14].Value = global::System.DBNull.Value; + } + if ((IdxPosizione.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[15].Value = ((int)(IdxPosizione.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[15].Value = global::System.DBNull.Value; + } + if ((CodTipoDichiaraz == null)) { + this.Adapter.SelectCommand.Parameters[16].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[16].Value = ((string)(CodTipoDichiaraz)); + } + if ((CodEvento == null)) { + this.Adapter.SelectCommand.Parameters[17].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[17].Value = ((string)(CodEvento)); + } + if ((Qta.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[18].Value = ((decimal)(Qta.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[18].Value = global::System.DBNull.Value; + } + if ((PesoTot.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[19].Value = ((double)(PesoTot.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[19].Value = global::System.DBNull.Value; + } + if ((PesoCad.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[20].Value = ((double)(PesoCad.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[20].Value = global::System.DBNull.Value; + } + if ((CodStato == null)) { + this.Adapter.SelectCommand.Parameters[21].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[21].Value = ((string)(CodStato)); + } + if ((UDC_parent == null)) { + this.Adapter.SelectCommand.Parameters[22].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[22].Value = ((string)(UDC_parent)); + } + if ((DoDeleteUdcParent.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[23].Value = ((bool)(DoDeleteUdcParent.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[23].Value = global::System.DBNull.Value; + } + if ((Note == null)) { + this.Adapter.SelectCommand.Parameters[24].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[24].Value = ((string)(Note)); + } + DS_Applicazione.ElencoCartelliniDataTable dataTable = new DS_Applicazione.ElencoCartelliniDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_Applicazione.ElencoCartelliniDataTable stp_insNewFull_fixUDC( + string UDC, + string CodCS, + string Flusso, + string Anno, + string CodCliente, + string Particolare, + string CodImpianto, + string CodStampo, + string Esponente, + string Figura, + global::System.Nullable DataFus, + global::System.Nullable TurnoFus, + string CodImballo, + string CodSoggetto, + global::System.Nullable Tara, + global::System.Nullable IdxPosizione, + string CodTipoDichiaraz, + string CodEvento, + global::System.Nullable Qta, + global::System.Nullable PesoTot, + global::System.Nullable PesoCad, + string CodStato, + string UDC_parent, + global::System.Nullable DoDeleteUdcParent, + string Note) { + this.Adapter.SelectCommand = this.CommandCollection[5]; + if ((UDC == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(UDC)); + } + if ((CodCS == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodCS)); + } + if ((Flusso == null)) { + this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[3].Value = ((string)(Flusso)); + } + if ((Anno == null)) { + this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[4].Value = ((string)(Anno)); + } + if ((CodCliente == null)) { + this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[5].Value = ((string)(CodCliente)); + } + if ((Particolare == null)) { + this.Adapter.SelectCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[6].Value = ((string)(Particolare)); + } + if ((CodImpianto == null)) { + this.Adapter.SelectCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[7].Value = ((string)(CodImpianto)); + } + if ((CodStampo == null)) { + this.Adapter.SelectCommand.Parameters[8].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[8].Value = ((string)(CodStampo)); + } + if ((Esponente == null)) { + this.Adapter.SelectCommand.Parameters[9].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[9].Value = ((string)(Esponente)); + } + if ((Figura == null)) { + this.Adapter.SelectCommand.Parameters[10].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[10].Value = ((string)(Figura)); + } + if ((DataFus.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[11].Value = ((System.DateTime)(DataFus.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[11].Value = global::System.DBNull.Value; + } + if ((TurnoFus.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[12].Value = ((int)(TurnoFus.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[12].Value = global::System.DBNull.Value; + } + if ((CodImballo == null)) { + this.Adapter.SelectCommand.Parameters[13].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[13].Value = ((string)(CodImballo)); + } + if ((CodSoggetto == null)) { + this.Adapter.SelectCommand.Parameters[14].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[14].Value = ((string)(CodSoggetto)); + } + if ((Tara.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[15].Value = ((double)(Tara.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[15].Value = global::System.DBNull.Value; + } + if ((IdxPosizione.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[16].Value = ((int)(IdxPosizione.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[16].Value = global::System.DBNull.Value; + } + if ((CodTipoDichiaraz == null)) { + this.Adapter.SelectCommand.Parameters[17].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[17].Value = ((string)(CodTipoDichiaraz)); + } + if ((CodEvento == null)) { + this.Adapter.SelectCommand.Parameters[18].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[18].Value = ((string)(CodEvento)); + } + if ((Qta.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[19].Value = ((decimal)(Qta.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[19].Value = global::System.DBNull.Value; + } + if ((PesoTot.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[20].Value = ((double)(PesoTot.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[20].Value = global::System.DBNull.Value; + } + if ((PesoCad.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[21].Value = ((double)(PesoCad.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[21].Value = global::System.DBNull.Value; + } + if ((CodStato == null)) { + this.Adapter.SelectCommand.Parameters[22].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[22].Value = ((string)(CodStato)); + } + if ((UDC_parent == null)) { + this.Adapter.SelectCommand.Parameters[23].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[23].Value = ((string)(UDC_parent)); + } + if ((DoDeleteUdcParent.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[24].Value = ((bool)(DoDeleteUdcParent.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[24].Value = global::System.DBNull.Value; + } + if ((Note == null)) { + this.Adapter.SelectCommand.Parameters[25].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[25].Value = ((string)(Note)); + } + DS_Applicazione.ElencoCartelliniDataTable dataTable = new DS_Applicazione.ElencoCartelliniDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_Applicazione.ElencoCartelliniDataTable stp_updateUDC( + string UDC_edit, + string CodCS, + string Flusso, + string Anno, + string CodCliente, + string Particolare, + string CodImpianto, + string CodStampo, + string Esponente, + string Figura, + global::System.Nullable DataFus, + global::System.Nullable TurnoFus, + string CodImballo, + string CodSoggetto, + global::System.Nullable Tara, + global::System.Nullable IdxPosizione, + string CodTipoDichiaraz, + string CodEvento, + global::System.Nullable Qta, + global::System.Nullable PesoTot, + global::System.Nullable PesoCad, + string CodStato, + string UDC_parent, + string Note) { + this.Adapter.SelectCommand = this.CommandCollection[10]; + if ((UDC_edit == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(UDC_edit)); + } + if ((CodCS == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodCS)); + } + if ((Flusso == null)) { + this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[3].Value = ((string)(Flusso)); + } + if ((Anno == null)) { + this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[4].Value = ((string)(Anno)); + } + if ((CodCliente == null)) { + this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[5].Value = ((string)(CodCliente)); + } + if ((Particolare == null)) { + this.Adapter.SelectCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[6].Value = ((string)(Particolare)); + } + if ((CodImpianto == null)) { + this.Adapter.SelectCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[7].Value = ((string)(CodImpianto)); + } + if ((CodStampo == null)) { + this.Adapter.SelectCommand.Parameters[8].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[8].Value = ((string)(CodStampo)); + } + if ((Esponente == null)) { + this.Adapter.SelectCommand.Parameters[9].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[9].Value = ((string)(Esponente)); + } + if ((Figura == null)) { + this.Adapter.SelectCommand.Parameters[10].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[10].Value = ((string)(Figura)); + } + if ((DataFus.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[11].Value = ((System.DateTime)(DataFus.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[11].Value = global::System.DBNull.Value; + } + if ((TurnoFus.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[12].Value = ((int)(TurnoFus.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[12].Value = global::System.DBNull.Value; + } + if ((CodImballo == null)) { + this.Adapter.SelectCommand.Parameters[13].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[13].Value = ((string)(CodImballo)); + } + if ((CodSoggetto == null)) { + this.Adapter.SelectCommand.Parameters[14].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[14].Value = ((string)(CodSoggetto)); + } + if ((Tara.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[15].Value = ((double)(Tara.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[15].Value = global::System.DBNull.Value; + } + if ((IdxPosizione.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[16].Value = ((int)(IdxPosizione.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[16].Value = global::System.DBNull.Value; + } + if ((CodTipoDichiaraz == null)) { + this.Adapter.SelectCommand.Parameters[17].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[17].Value = ((string)(CodTipoDichiaraz)); + } + if ((CodEvento == null)) { + this.Adapter.SelectCommand.Parameters[18].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[18].Value = ((string)(CodEvento)); + } + if ((Qta.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[19].Value = ((decimal)(Qta.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[19].Value = global::System.DBNull.Value; + } + if ((PesoTot.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[20].Value = ((double)(PesoTot.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[20].Value = global::System.DBNull.Value; + } + if ((PesoCad.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[21].Value = ((double)(PesoCad.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[21].Value = global::System.DBNull.Value; + } + if ((CodStato == null)) { + this.Adapter.SelectCommand.Parameters[22].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[22].Value = ((string)(CodStato)); + } + if ((UDC_parent == null)) { + this.Adapter.SelectCommand.Parameters[23].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[23].Value = ((string)(UDC_parent)); + } + if ((Note == null)) { + this.Adapter.SelectCommand.Parameters[24].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[24].Value = ((string)(Note)); + } + DS_Applicazione.ElencoCartelliniDataTable dataTable = new DS_Applicazione.ElencoCartelliniDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_Applicazione.ElencoCartelliniDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_Applicazione dataSet) { + return this.Adapter.Update(dataSet, "ElencoCartellini"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete( + string Original_UDC, + string Original_CodCS, + string Original_CodCliente, + string Original_RagSociale, + string Original_Particolare, + string Original_DescParticolare, + string Original_DisegnoGrezzo, + string Original_Esponente, + string Original_CodImpianto, + string Original_DescImpianto, + string Original_CodStampo, + string Original_Figura, + global::System.Nullable Original_DataFus, + global::System.Nullable Original_TurnoFus, + string Original_CodImballo, + string Original_CodSoggetto, + global::System.Nullable Original_NumCont, + global::System.Nullable Original_Tara, + global::System.Nullable Original_Qta, + string Original_CodStato, + global::System.Nullable Original_IdxPosizione, + global::System.Nullable Original_PesoTot, + global::System.Nullable Original_PesoCad, + global::System.Nullable Original_CreateDate, + global::System.Nullable Original_ModDate, + string Original_Note) { + if ((Original_UDC == null)) { + throw new global::System.ArgumentNullException("Original_UDC"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_UDC)); + } + if ((Original_CodCS == null)) { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_CodCS)); + } + if ((Original_CodCliente == null)) { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_CodCliente)); + } + if ((Original_RagSociale == null)) { + this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_RagSociale)); + } + if ((Original_Particolare == null)) { + this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_Particolare)); + } + if ((Original_DescParticolare == null)) { + this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[10].Value = ((string)(Original_DescParticolare)); + } + if ((Original_DisegnoGrezzo == null)) { + this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[12].Value = ((string)(Original_DisegnoGrezzo)); + } + if ((Original_Esponente == null)) { + this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[14].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[14].Value = ((string)(Original_Esponente)); + } + if ((Original_CodImpianto == null)) { + this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[16].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[16].Value = ((string)(Original_CodImpianto)); + } + if ((Original_DescImpianto == null)) { + this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[18].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[18].Value = ((string)(Original_DescImpianto)); + } + if ((Original_CodStampo == null)) { + this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[20].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[20].Value = ((string)(Original_CodStampo)); + } + if ((Original_Figura == null)) { + this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[22].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[22].Value = ((string)(Original_Figura)); + } + if ((Original_DataFus.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[24].Value = ((System.DateTime)(Original_DataFus.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[24].Value = global::System.DBNull.Value; + } + if ((Original_TurnoFus.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[26].Value = ((int)(Original_TurnoFus.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[26].Value = global::System.DBNull.Value; + } + if ((Original_CodImballo == null)) { + this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[28].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[28].Value = ((string)(Original_CodImballo)); + } + if ((Original_CodSoggetto == null)) { + this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[30].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[30].Value = ((string)(Original_CodSoggetto)); + } + if ((Original_NumCont.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[31].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[32].Value = ((int)(Original_NumCont.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[31].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[32].Value = global::System.DBNull.Value; + } + if ((Original_Tara.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[33].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[34].Value = ((double)(Original_Tara.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[33].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[34].Value = global::System.DBNull.Value; + } + if ((Original_Qta.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[36].Value = ((decimal)(Original_Qta.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[36].Value = global::System.DBNull.Value; + } + if ((Original_CodStato == null)) { + this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[38].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[38].Value = ((string)(Original_CodStato)); + } + if ((Original_IdxPosizione.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[39].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[40].Value = ((int)(Original_IdxPosizione.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[39].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[40].Value = global::System.DBNull.Value; + } + if ((Original_PesoTot.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[41].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[42].Value = ((double)(Original_PesoTot.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[41].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[42].Value = global::System.DBNull.Value; + } + if ((Original_PesoCad.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[43].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[44].Value = ((double)(Original_PesoCad.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[43].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[44].Value = global::System.DBNull.Value; + } + if ((Original_CreateDate.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[45].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[46].Value = ((System.DateTime)(Original_CreateDate.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[45].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[46].Value = global::System.DBNull.Value; + } + if ((Original_ModDate.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[47].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[48].Value = ((System.DateTime)(Original_ModDate.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[47].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[48].Value = global::System.DBNull.Value; + } + if ((Original_Note == null)) { + this.Adapter.DeleteCommand.Parameters[49].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[50].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[49].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[50].Value = ((string)(Original_Note)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert( + string UDC, + string CodCS, + string CodCliente, + string RagSociale, + string Particolare, + string DescParticolare, + string DisegnoGrezzo, + string Esponente, + string CodImpianto, + string DescImpianto, + string CodStampo, + string Figura, + global::System.Nullable DataFus, + global::System.Nullable TurnoFus, + string CodImballo, + string CodSoggetto, + global::System.Nullable NumCont, + global::System.Nullable Tara, + global::System.Nullable Qta, + string CodStato, + global::System.Nullable IdxPosizione, + global::System.Nullable PesoTot, + global::System.Nullable PesoCad, + global::System.Nullable CreateDate, + global::System.Nullable ModDate, + string Note) { + if ((UDC == null)) { + throw new global::System.ArgumentNullException("UDC"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(UDC)); + } + if ((CodCS == null)) { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(CodCS)); + } + if ((CodCliente == null)) { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(CodCliente)); + } + if ((RagSociale == null)) { + this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = ((string)(RagSociale)); + } + if ((Particolare == null)) { + this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[4].Value = ((string)(Particolare)); + } + if ((DescParticolare == null)) { + this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[5].Value = ((string)(DescParticolare)); + } + if ((DisegnoGrezzo == null)) { + this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[6].Value = ((string)(DisegnoGrezzo)); + } + if ((Esponente == null)) { + this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[7].Value = ((string)(Esponente)); + } + if ((CodImpianto == null)) { + this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[8].Value = ((string)(CodImpianto)); + } + if ((DescImpianto == null)) { + this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[9].Value = ((string)(DescImpianto)); + } + if ((CodStampo == null)) { + this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[10].Value = ((string)(CodStampo)); + } + if ((Figura == null)) { + this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[11].Value = ((string)(Figura)); + } + if ((DataFus.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[12].Value = ((System.DateTime)(DataFus.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value; + } + if ((TurnoFus.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[13].Value = ((int)(TurnoFus.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value; + } + if ((CodImballo == null)) { + this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[14].Value = ((string)(CodImballo)); + } + if ((CodSoggetto == null)) { + this.Adapter.InsertCommand.Parameters[15].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[15].Value = ((string)(CodSoggetto)); + } + if ((NumCont.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[16].Value = ((int)(NumCont.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[16].Value = global::System.DBNull.Value; + } + if ((Tara.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[17].Value = ((double)(Tara.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[17].Value = global::System.DBNull.Value; + } + if ((Qta.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[18].Value = ((decimal)(Qta.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[18].Value = global::System.DBNull.Value; + } + if ((CodStato == null)) { + this.Adapter.InsertCommand.Parameters[19].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[19].Value = ((string)(CodStato)); + } + if ((IdxPosizione.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[20].Value = ((int)(IdxPosizione.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[20].Value = global::System.DBNull.Value; + } + if ((PesoTot.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[21].Value = ((double)(PesoTot.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[21].Value = global::System.DBNull.Value; + } + if ((PesoCad.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[22].Value = ((double)(PesoCad.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[22].Value = global::System.DBNull.Value; + } + if ((CreateDate.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[23].Value = ((System.DateTime)(CreateDate.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[23].Value = global::System.DBNull.Value; + } + if ((ModDate.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[24].Value = ((System.DateTime)(ModDate.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[24].Value = global::System.DBNull.Value; + } + if ((Note == null)) { + this.Adapter.InsertCommand.Parameters[25].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[25].Value = ((string)(Note)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update( + string UDC, + string CodCS, + string CodCliente, + string RagSociale, + string Particolare, + string DescParticolare, + string DisegnoGrezzo, + string Esponente, + string CodImpianto, + string DescImpianto, + string CodStampo, + string Figura, + global::System.Nullable DataFus, + global::System.Nullable TurnoFus, + string CodImballo, + string CodSoggetto, + global::System.Nullable NumCont, + global::System.Nullable Tara, + global::System.Nullable Qta, + string CodStato, + global::System.Nullable IdxPosizione, + global::System.Nullable PesoTot, + global::System.Nullable PesoCad, + global::System.Nullable CreateDate, + global::System.Nullable ModDate, + string Note, + string Original_UDC, + string Original_CodCS, + string Original_CodCliente, + string Original_RagSociale, + string Original_Particolare, + string Original_DescParticolare, + string Original_DisegnoGrezzo, + string Original_Esponente, + string Original_CodImpianto, + string Original_DescImpianto, + string Original_CodStampo, + string Original_Figura, + global::System.Nullable Original_DataFus, + global::System.Nullable Original_TurnoFus, + string Original_CodImballo, + string Original_CodSoggetto, + global::System.Nullable Original_NumCont, + global::System.Nullable Original_Tara, + global::System.Nullable Original_Qta, + string Original_CodStato, + global::System.Nullable Original_IdxPosizione, + global::System.Nullable Original_PesoTot, + global::System.Nullable Original_PesoCad, + global::System.Nullable Original_CreateDate, + global::System.Nullable Original_ModDate, + string Original_Note) { + if ((UDC == null)) { + throw new global::System.ArgumentNullException("UDC"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(UDC)); + } + if ((CodCS == null)) { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(CodCS)); + } + if ((CodCliente == null)) { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(CodCliente)); + } + if ((RagSociale == null)) { + this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(RagSociale)); + } + if ((Particolare == null)) { + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Particolare)); + } + if ((DescParticolare == null)) { + this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(DescParticolare)); + } + if ((DisegnoGrezzo == null)) { + this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(DisegnoGrezzo)); + } + if ((Esponente == null)) { + this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Esponente)); + } + if ((CodImpianto == null)) { + this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(CodImpianto)); + } + if ((DescImpianto == null)) { + this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(DescImpianto)); + } + if ((CodStampo == null)) { + this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(CodStampo)); + } + if ((Figura == null)) { + this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Figura)); + } + if ((DataFus.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[12].Value = ((System.DateTime)(DataFus.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value; + } + if ((TurnoFus.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[13].Value = ((int)(TurnoFus.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value; + } + if ((CodImballo == null)) { + this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(CodImballo)); + } + if ((CodSoggetto == null)) { + this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(CodSoggetto)); + } + if ((NumCont.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[16].Value = ((int)(NumCont.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value; + } + if ((Tara.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[17].Value = ((double)(Tara.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value; + } + if ((Qta.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[18].Value = ((decimal)(Qta.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value; + } + if ((CodStato == null)) { + this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(CodStato)); + } + if ((IdxPosizione.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[20].Value = ((int)(IdxPosizione.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value; + } + if ((PesoTot.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[21].Value = ((double)(PesoTot.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value; + } + if ((PesoCad.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[22].Value = ((double)(PesoCad.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value; + } + if ((CreateDate.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[23].Value = ((System.DateTime)(CreateDate.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value; + } + if ((ModDate.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[24].Value = ((System.DateTime)(ModDate.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value; + } + if ((Note == null)) { + this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[25].Value = ((string)(Note)); + } + if ((Original_UDC == null)) { + throw new global::System.ArgumentNullException("Original_UDC"); + } + else { + this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(Original_UDC)); + } + if ((Original_CodCS == null)) { + this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[28].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(Original_CodCS)); + } + if ((Original_CodCliente == null)) { + this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[30].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(Original_CodCliente)); + } + if ((Original_RagSociale == null)) { + this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[32].Value = ((string)(Original_RagSociale)); + } + if ((Original_Particolare == null)) { + this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[34].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[34].Value = ((string)(Original_Particolare)); + } + if ((Original_DescParticolare == null)) { + this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[36].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[36].Value = ((string)(Original_DescParticolare)); + } + if ((Original_DisegnoGrezzo == null)) { + this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[38].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[38].Value = ((string)(Original_DisegnoGrezzo)); + } + if ((Original_Esponente == null)) { + this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[40].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[40].Value = ((string)(Original_Esponente)); + } + if ((Original_CodImpianto == null)) { + this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[42].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[42].Value = ((string)(Original_CodImpianto)); + } + if ((Original_DescImpianto == null)) { + this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[44].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[44].Value = ((string)(Original_DescImpianto)); + } + if ((Original_CodStampo == null)) { + this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[46].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[46].Value = ((string)(Original_CodStampo)); + } + if ((Original_Figura == null)) { + this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[48].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[48].Value = ((string)(Original_Figura)); + } + if ((Original_DataFus.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[50].Value = ((System.DateTime)(Original_DataFus.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[50].Value = global::System.DBNull.Value; + } + if ((Original_TurnoFus.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[52].Value = ((int)(Original_TurnoFus.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[52].Value = global::System.DBNull.Value; + } + if ((Original_CodImballo == null)) { + this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[54].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[54].Value = ((string)(Original_CodImballo)); + } + if ((Original_CodSoggetto == null)) { + this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[56].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[56].Value = ((string)(Original_CodSoggetto)); + } + if ((Original_NumCont.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[58].Value = ((int)(Original_NumCont.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[58].Value = global::System.DBNull.Value; + } + if ((Original_Tara.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[59].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[60].Value = ((double)(Original_Tara.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[59].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[60].Value = global::System.DBNull.Value; + } + if ((Original_Qta.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[61].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[62].Value = ((decimal)(Original_Qta.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[61].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[62].Value = global::System.DBNull.Value; + } + if ((Original_CodStato == null)) { + this.Adapter.UpdateCommand.Parameters[63].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[64].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[63].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[64].Value = ((string)(Original_CodStato)); + } + if ((Original_IdxPosizione.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[65].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[66].Value = ((int)(Original_IdxPosizione.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[65].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[66].Value = global::System.DBNull.Value; + } + if ((Original_PesoTot.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[67].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[68].Value = ((double)(Original_PesoTot.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[67].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[68].Value = global::System.DBNull.Value; + } + if ((Original_PesoCad.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[69].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[70].Value = ((double)(Original_PesoCad.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[69].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[70].Value = global::System.DBNull.Value; + } + if ((Original_CreateDate.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[71].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[72].Value = ((System.DateTime)(Original_CreateDate.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[71].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[72].Value = global::System.DBNull.Value; + } + if ((Original_ModDate.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[73].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[74].Value = ((System.DateTime)(Original_ModDate.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[73].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[74].Value = global::System.DBNull.Value; + } + if ((Original_Note == null)) { + this.Adapter.UpdateCommand.Parameters[75].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[76].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[75].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[76].Value = ((string)(Original_Note)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update( + string CodCS, + string CodCliente, + string RagSociale, + string Particolare, + string DescParticolare, + string DisegnoGrezzo, + string Esponente, + string CodImpianto, + string DescImpianto, + string CodStampo, + string Figura, + global::System.Nullable DataFus, + global::System.Nullable TurnoFus, + string CodImballo, + string CodSoggetto, + global::System.Nullable NumCont, + global::System.Nullable Tara, + global::System.Nullable Qta, + string CodStato, + global::System.Nullable IdxPosizione, + global::System.Nullable PesoTot, + global::System.Nullable PesoCad, + global::System.Nullable CreateDate, + global::System.Nullable ModDate, + string Note, + string Original_UDC, + string Original_CodCS, + string Original_CodCliente, + string Original_RagSociale, + string Original_Particolare, + string Original_DescParticolare, + string Original_DisegnoGrezzo, + string Original_Esponente, + string Original_CodImpianto, + string Original_DescImpianto, + string Original_CodStampo, + string Original_Figura, + global::System.Nullable Original_DataFus, + global::System.Nullable Original_TurnoFus, + string Original_CodImballo, + string Original_CodSoggetto, + global::System.Nullable Original_NumCont, + global::System.Nullable Original_Tara, + global::System.Nullable Original_Qta, + string Original_CodStato, + global::System.Nullable Original_IdxPosizione, + global::System.Nullable Original_PesoTot, + global::System.Nullable Original_PesoCad, + global::System.Nullable Original_CreateDate, + global::System.Nullable Original_ModDate, + string Original_Note) { + return this.Update(Original_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, Note, Original_UDC, Original_CodCS, Original_CodCliente, Original_RagSociale, Original_Particolare, Original_DescParticolare, Original_DisegnoGrezzo, Original_Esponente, Original_CodImpianto, Original_DescImpianto, Original_CodStampo, Original_Figura, Original_DataFus, Original_TurnoFus, Original_CodImballo, Original_CodSoggetto, Original_NumCont, Original_Tara, Original_Qta, Original_CodStato, Original_IdxPosizione, Original_PesoTot, Original_PesoCad, Original_CreateDate, Original_ModDate, Original_Note); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int stp_riattivaUdc(string UDC, string CodSoggetto) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[6]; + if ((UDC == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(UDC)); + } + if ((CodSoggetto == null)) { + command.Parameters[2].Value = global::System.DBNull.Value; + } + else { + command.Parameters[2].Value = ((string)(CodSoggetto)); + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int stp_sbloccaUdc(string UDC, string CodSoggetto) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[7]; + if ((UDC == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(UDC)); + } + if ((CodSoggetto == null)) { + command.Parameters[2].Value = global::System.DBNull.Value; + } + else { + command.Parameters[2].Value = ((string)(CodSoggetto)); + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int stp_UDC_associaParent(string UDC, string UDC_parent) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[8]; + if ((UDC == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(UDC)); + } + if ((UDC_parent == null)) { + command.Parameters[2].Value = global::System.DBNull.Value; + } + else { + command.Parameters[2].Value = ((string)(UDC_parent)); + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int stp_UDC_delete_byRdQ(global::System.Nullable nRapQual, global::System.Nullable ExecBatchInter) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[9]; + if ((nRapQual.HasValue == true)) { + command.Parameters[1].Value = ((decimal)(nRapQual.Value)); + } + else { + command.Parameters[1].Value = global::System.DBNull.Value; + } + if ((ExecBatchInter.HasValue == true)) { + command.Parameters[2].Value = ((bool)(ExecBatchInter.Value)); + } + else { + command.Parameters[2].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class AnagImballiTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagImballiTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "AnagImballi"; + tableMapping.ColumnMappings.Add("CodImballo", "CodImballo"); + tableMapping.ColumnMappings.Add("ClasseArticolo", "ClasseArticolo"); + tableMapping.ColumnMappings.Add("DescImballo", "DescImballo"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = @"DELETE FROM [RilPro].[AnagImballi] WHERE (([CodImballo] = @Original_CodImballo) AND ((@IsNull_ClasseArticolo = 1 AND [ClasseArticolo] IS NULL) OR ([ClasseArticolo] = @Original_ClasseArticolo)) AND ((@IsNull_DescImballo = 1 AND [DescImballo] IS NULL) OR ([DescImballo] = @Original_DescImballo)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodImballo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImballo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ClasseArticolo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ClasseArticolo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ClasseArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ClasseArticolo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescImballo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescImballo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescImballo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescImballo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = "INSERT INTO [RilPro].[AnagImballi] ([CodImballo], [ClasseArticolo], [DescImballo]" + + ") VALUES (@CodImballo, @ClasseArticolo, @DescImballo);\r\nSELECT CodImballo, Class" + + "eArticolo, DescImballo FROM RilPro.AnagImballi WHERE (CodImballo = @CodImballo)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImballo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImballo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ClasseArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ClasseArticolo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescImballo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescImballo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [RilPro].[AnagImballi] SET [CodImballo] = @CodImballo, [ClasseArticolo] = @ClasseArticolo, [DescImballo] = @DescImballo WHERE (([CodImballo] = @Original_CodImballo) AND ((@IsNull_ClasseArticolo = 1 AND [ClasseArticolo] IS NULL) OR ([ClasseArticolo] = @Original_ClasseArticolo)) AND ((@IsNull_DescImballo = 1 AND [DescImballo] IS NULL) OR ([DescImballo] = @Original_DescImballo))); +SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi WHERE (CodImballo = @CodImballo)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImballo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImballo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ClasseArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ClasseArticolo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescImballo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescImballo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodImballo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImballo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ClasseArticolo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ClasseArticolo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ClasseArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ClasseArticolo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescImballo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescImballo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescImballo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescImballo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "dbo.stp_getImballoByCod"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[1].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[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImballo", 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.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_Applicazione.AnagImballiDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_Applicazione.AnagImballiDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_Applicazione.AnagImballiDataTable dataTable = new DS_Applicazione.AnagImballiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_Applicazione.AnagImballiDataTable stp_getImballoByCod(string CodImballo) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((CodImballo == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodImballo)); + } + DS_Applicazione.AnagImballiDataTable dataTable = new DS_Applicazione.AnagImballiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_Applicazione.AnagImballiDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_Applicazione dataSet) { + return this.Adapter.Update(dataSet, "AnagImballi"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_CodImballo, string Original_ClasseArticolo, string Original_DescImballo) { + if ((Original_CodImballo == null)) { + throw new global::System.ArgumentNullException("Original_CodImballo"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodImballo)); + } + if ((Original_ClasseArticolo == null)) { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_ClasseArticolo)); + } + if ((Original_DescImballo == null)) { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_DescImballo)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string CodImballo, string ClasseArticolo, string DescImballo) { + if ((CodImballo == null)) { + throw new global::System.ArgumentNullException("CodImballo"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodImballo)); + } + if ((ClasseArticolo == null)) { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(ClasseArticolo)); + } + if ((DescImballo == null)) { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(DescImballo)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string CodImballo, string ClasseArticolo, string DescImballo, string Original_CodImballo, string Original_ClasseArticolo, string Original_DescImballo) { + if ((CodImballo == null)) { + throw new global::System.ArgumentNullException("CodImballo"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodImballo)); + } + if ((ClasseArticolo == null)) { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(ClasseArticolo)); + } + if ((DescImballo == null)) { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(DescImballo)); + } + if ((Original_CodImballo == null)) { + throw new global::System.ArgumentNullException("Original_CodImballo"); + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Original_CodImballo)); + } + if ((Original_ClasseArticolo == null)) { + this.Adapter.UpdateCommand.Parameters[4].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Original_ClasseArticolo)); + } + if ((Original_DescImballo == null)) { + this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Original_DescImballo)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string ClasseArticolo, string DescImballo, string Original_CodImballo, string Original_ClasseArticolo, string Original_DescImballo) { + return this.Update(Original_CodImballo, ClasseArticolo, DescImballo, Original_CodImballo, Original_ClasseArticolo, Original_DescImballo); + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class v_ArtInProdTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_ArtInProdTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "v_ArtInProd"; + tableMapping.ColumnMappings.Add("CodImpianto", "CodImpianto"); + tableMapping.ColumnMappings.Add("CodStampo", "CodStampo"); + tableMapping.ColumnMappings.Add("NumStampate", "NumStampate"); + tableMapping.ColumnMappings.Add("DataInizio", "DataInizio"); + tableMapping.ColumnMappings.Add("TurnoInizio", "TurnoInizio"); + tableMapping.ColumnMappings.Add("InizioValidita", "InizioValidita"); + tableMapping.ColumnMappings.Add("FineValidita", "FineValidita"); + tableMapping.ColumnMappings.Add("NumFigure", "NumFigure"); + tableMapping.ColumnMappings.Add("CodCliente", "CodCliente"); + tableMapping.ColumnMappings.Add("RagSociale", "RagSociale"); + tableMapping.ColumnMappings.Add("CodArticolo", "CodArticolo"); + tableMapping.ColumnMappings.Add("Particolare", "Particolare"); + tableMapping.ColumnMappings.Add("DescParticolare", "DescParticolare"); + tableMapping.ColumnMappings.Add("DisegnoGrezzo", "DisegnoGrezzo"); + tableMapping.ColumnMappings.Add("CodFamiglia", "CodFamiglia"); + tableMapping.ColumnMappings.Add("DescFamiglia", "DescFamiglia"); + tableMapping.ColumnMappings.Add("Figura", "Figura"); + tableMapping.ColumnMappings.Add("Esponente", "Esponente"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = @"SELECT CodImpianto, CodStampo, NumStampate, DataInizio, TurnoInizio, InizioValidita, FineValidita, NumFigure, CodCliente, RagSociale, CodArticolo, Particolare, DescParticolare, DisegnoGrezzo, CodFamiglia, DescFamiglia, Figura, Esponente FROM dbo.v_ArtInProd"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "dbo.stp_ArtiInProd_ByImpData"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[1].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[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImpianto", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataRif", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_Applicazione.v_ArtInProdDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_Applicazione.v_ArtInProdDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_Applicazione.v_ArtInProdDataTable dataTable = new DS_Applicazione.v_ArtInProdDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_Applicazione.v_ArtInProdDataTable stp_byImpData(string CodImpianto, global::System.Nullable DataRif) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((CodImpianto == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodImpianto)); + } + if ((DataRif.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(DataRif.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + DS_Applicazione.v_ArtInProdDataTable dataTable = new DS_Applicazione.v_ArtInProdDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class AnagOperatoriTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagOperatoriTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "AnagOperatori"; + tableMapping.ColumnMappings.Add("CodSoggetto", "CodSoggetto"); + tableMapping.ColumnMappings.Add("CodCS", "CodCS"); + tableMapping.ColumnMappings.Add("CodDipendente", "CodDipendente"); + tableMapping.ColumnMappings.Add("CodAziendaOp", "CodAziendaOp"); + tableMapping.ColumnMappings.Add("DescAziendaOp", "DescAziendaOp"); + tableMapping.ColumnMappings.Add("CodFilialeOp", "CodFilialeOp"); + tableMapping.ColumnMappings.Add("DescFilialeOp", "DescFilialeOp"); + tableMapping.ColumnMappings.Add("Cognome", "Cognome"); + tableMapping.ColumnMappings.Add("Nome", "Nome"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = @"DELETE FROM [RilPro].[AnagOperatori] WHERE (([CodSoggetto] = @Original_CodSoggetto) AND ([CodCS] = @Original_CodCS) AND ((@IsNull_CodDipendente = 1 AND [CodDipendente] IS NULL) OR ([CodDipendente] = @Original_CodDipendente)) AND ([CodAziendaOp] = @Original_CodAziendaOp) AND ((@IsNull_DescAziendaOp = 1 AND [DescAziendaOp] IS NULL) OR ([DescAziendaOp] = @Original_DescAziendaOp)) AND ([CodFilialeOp] = @Original_CodFilialeOp) AND ((@IsNull_DescFilialeOp = 1 AND [DescFilialeOp] IS NULL) OR ([DescFilialeOp] = @Original_DescFilialeOp)) AND ([Cognome] = @Original_Cognome) AND ([Nome] = @Original_Nome))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSoggetto", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodDipendente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodDipendente", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodDipendente", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodDipendente", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodAziendaOp", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodAziendaOp", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescAziendaOp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescAziendaOp", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescAziendaOp", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescAziendaOp", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodFilialeOp", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFilialeOp", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescFilialeOp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescFilialeOp", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescFilialeOp", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescFilialeOp", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Cognome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cognome", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Nome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nome", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = @"INSERT INTO [RilPro].[AnagOperatori] ([CodSoggetto], [CodCS], [CodDipendente], [CodAziendaOp], [DescAziendaOp], [CodFilialeOp], [DescFilialeOp], [Cognome], [Nome]) VALUES (@CodSoggetto, @CodCS, @CodDipendente, @CodAziendaOp, @DescAziendaOp, @CodFilialeOp, @DescFilialeOp, @Cognome, @Nome); +SELECT CodSoggetto, CodCS, CodDipendente, CodAziendaOp, DescAziendaOp, CodFilialeOp, DescFilialeOp, Cognome, Nome FROM RilPro.AnagOperatori WHERE (CodSoggetto = @CodSoggetto)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodDipendente", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodDipendente", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodAziendaOp", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodAziendaOp", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescAziendaOp", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescAziendaOp", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodFilialeOp", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFilialeOp", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescFilialeOp", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescFilialeOp", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cognome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cognome", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Nome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nome", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [RilPro].[AnagOperatori] SET [CodSoggetto] = @CodSoggetto, [CodCS] = @CodCS, [CodDipendente] = @CodDipendente, [CodAziendaOp] = @CodAziendaOp, [DescAziendaOp] = @DescAziendaOp, [CodFilialeOp] = @CodFilialeOp, [DescFilialeOp] = @DescFilialeOp, [Cognome] = @Cognome, [Nome] = @Nome WHERE (([CodSoggetto] = @Original_CodSoggetto) AND ([CodCS] = @Original_CodCS) AND ((@IsNull_CodDipendente = 1 AND [CodDipendente] IS NULL) OR ([CodDipendente] = @Original_CodDipendente)) AND ([CodAziendaOp] = @Original_CodAziendaOp) AND ((@IsNull_DescAziendaOp = 1 AND [DescAziendaOp] IS NULL) OR ([DescAziendaOp] = @Original_DescAziendaOp)) AND ([CodFilialeOp] = @Original_CodFilialeOp) AND ((@IsNull_DescFilialeOp = 1 AND [DescFilialeOp] IS NULL) OR ([DescFilialeOp] = @Original_DescFilialeOp)) AND ([Cognome] = @Original_Cognome) AND ([Nome] = @Original_Nome)); +SELECT CodSoggetto, CodCS, CodDipendente, CodAziendaOp, DescAziendaOp, CodFilialeOp, DescFilialeOp, Cognome, Nome FROM RilPro.AnagOperatori WHERE (CodSoggetto = @CodSoggetto)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodDipendente", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodDipendente", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodAziendaOp", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodAziendaOp", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescAziendaOp", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescAziendaOp", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodFilialeOp", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFilialeOp", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescFilialeOp", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescFilialeOp", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cognome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cognome", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Nome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nome", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSoggetto", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodDipendente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodDipendente", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodDipendente", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodDipendente", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodAziendaOp", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodAziendaOp", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescAziendaOp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescAziendaOp", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescAziendaOp", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescAziendaOp", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodFilialeOp", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFilialeOp", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescFilialeOp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescFilialeOp", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescFilialeOp", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescFilialeOp", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Cognome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cognome", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Nome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nome", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT CodSoggetto, CodCS, CodDipendente, CodAziendaOp, DescAziendaOp, CodFiliale" + + "Op, DescFilialeOp, Cognome, Nome FROM RilPro.AnagOperatori"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "dbo.stp_anagOperatoriGetByCodSogg"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[1].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[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.VarChar, 17, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_Applicazione.AnagOperatoriDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_Applicazione.AnagOperatoriDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_Applicazione.AnagOperatoriDataTable dataTable = new DS_Applicazione.AnagOperatoriDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_Applicazione.AnagOperatoriDataTable getByCodSoggetto(string CodSoggetto) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((CodSoggetto == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodSoggetto)); + } + DS_Applicazione.AnagOperatoriDataTable dataTable = new DS_Applicazione.AnagOperatoriDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_Applicazione.AnagOperatoriDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_Applicazione dataSet) { + return this.Adapter.Update(dataSet, "AnagOperatori"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_CodSoggetto, string Original_CodCS, string Original_CodDipendente, string Original_CodAziendaOp, string Original_DescAziendaOp, string Original_CodFilialeOp, string Original_DescFilialeOp, string Original_Cognome, string Original_Nome) { + if ((Original_CodSoggetto == null)) { + throw new global::System.ArgumentNullException("Original_CodSoggetto"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodSoggetto)); + } + if ((Original_CodCS == null)) { + throw new global::System.ArgumentNullException("Original_CodCS"); + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_CodCS)); + } + if ((Original_CodDipendente == null)) { + this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_CodDipendente)); + } + if ((Original_CodAziendaOp == null)) { + throw new global::System.ArgumentNullException("Original_CodAziendaOp"); + } + else { + this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_CodAziendaOp)); + } + if ((Original_DescAziendaOp == null)) { + this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_DescAziendaOp)); + } + if ((Original_CodFilialeOp == null)) { + throw new global::System.ArgumentNullException("Original_CodFilialeOp"); + } + else { + this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(Original_CodFilialeOp)); + } + if ((Original_DescFilialeOp == null)) { + this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[9].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[9].Value = ((string)(Original_DescFilialeOp)); + } + if ((Original_Cognome == null)) { + throw new global::System.ArgumentNullException("Original_Cognome"); + } + else { + this.Adapter.DeleteCommand.Parameters[10].Value = ((string)(Original_Cognome)); + } + if ((Original_Nome == null)) { + throw new global::System.ArgumentNullException("Original_Nome"); + } + else { + this.Adapter.DeleteCommand.Parameters[11].Value = ((string)(Original_Nome)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string CodSoggetto, string CodCS, string CodDipendente, string CodAziendaOp, string DescAziendaOp, string CodFilialeOp, string DescFilialeOp, string Cognome, string Nome) { + if ((CodSoggetto == null)) { + throw new global::System.ArgumentNullException("CodSoggetto"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodSoggetto)); + } + if ((CodCS == null)) { + throw new global::System.ArgumentNullException("CodCS"); + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(CodCS)); + } + if ((CodDipendente == null)) { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(CodDipendente)); + } + if ((CodAziendaOp == null)) { + throw new global::System.ArgumentNullException("CodAziendaOp"); + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = ((string)(CodAziendaOp)); + } + if ((DescAziendaOp == null)) { + this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[4].Value = ((string)(DescAziendaOp)); + } + if ((CodFilialeOp == null)) { + throw new global::System.ArgumentNullException("CodFilialeOp"); + } + else { + this.Adapter.InsertCommand.Parameters[5].Value = ((string)(CodFilialeOp)); + } + if ((DescFilialeOp == null)) { + this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[6].Value = ((string)(DescFilialeOp)); + } + if ((Cognome == null)) { + throw new global::System.ArgumentNullException("Cognome"); + } + else { + this.Adapter.InsertCommand.Parameters[7].Value = ((string)(Cognome)); + } + if ((Nome == null)) { + throw new global::System.ArgumentNullException("Nome"); + } + else { + this.Adapter.InsertCommand.Parameters[8].Value = ((string)(Nome)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update( + string CodSoggetto, + string CodCS, + string CodDipendente, + string CodAziendaOp, + string DescAziendaOp, + string CodFilialeOp, + string DescFilialeOp, + string Cognome, + string Nome, + string Original_CodSoggetto, + string Original_CodCS, + string Original_CodDipendente, + string Original_CodAziendaOp, + string Original_DescAziendaOp, + string Original_CodFilialeOp, + string Original_DescFilialeOp, + string Original_Cognome, + string Original_Nome) { + if ((CodSoggetto == null)) { + throw new global::System.ArgumentNullException("CodSoggetto"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodSoggetto)); + } + if ((CodCS == null)) { + throw new global::System.ArgumentNullException("CodCS"); + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(CodCS)); + } + if ((CodDipendente == null)) { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(CodDipendente)); + } + if ((CodAziendaOp == null)) { + throw new global::System.ArgumentNullException("CodAziendaOp"); + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(CodAziendaOp)); + } + if ((DescAziendaOp == null)) { + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(DescAziendaOp)); + } + if ((CodFilialeOp == null)) { + throw new global::System.ArgumentNullException("CodFilialeOp"); + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(CodFilialeOp)); + } + if ((DescFilialeOp == null)) { + this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(DescFilialeOp)); + } + if ((Cognome == null)) { + throw new global::System.ArgumentNullException("Cognome"); + } + else { + this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Cognome)); + } + if ((Nome == null)) { + throw new global::System.ArgumentNullException("Nome"); + } + else { + this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Nome)); + } + if ((Original_CodSoggetto == null)) { + throw new global::System.ArgumentNullException("Original_CodSoggetto"); + } + else { + this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_CodSoggetto)); + } + if ((Original_CodCS == null)) { + throw new global::System.ArgumentNullException("Original_CodCS"); + } + else { + this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Original_CodCS)); + } + if ((Original_CodDipendente == null)) { + this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Original_CodDipendente)); + } + if ((Original_CodAziendaOp == null)) { + throw new global::System.ArgumentNullException("Original_CodAziendaOp"); + } + else { + this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(Original_CodAziendaOp)); + } + if ((Original_DescAziendaOp == null)) { + this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Original_DescAziendaOp)); + } + if ((Original_CodFilialeOp == null)) { + throw new global::System.ArgumentNullException("Original_CodFilialeOp"); + } + else { + this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(Original_CodFilialeOp)); + } + if ((Original_DescFilialeOp == null)) { + this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(Original_DescFilialeOp)); + } + if ((Original_Cognome == null)) { + throw new global::System.ArgumentNullException("Original_Cognome"); + } + else { + this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(Original_Cognome)); + } + if ((Original_Nome == null)) { + throw new global::System.ArgumentNullException("Original_Nome"); + } + else { + this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(Original_Nome)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update( + string CodCS, + string CodDipendente, + string CodAziendaOp, + string DescAziendaOp, + string CodFilialeOp, + string DescFilialeOp, + string Cognome, + string Nome, + string Original_CodSoggetto, + string Original_CodCS, + string Original_CodDipendente, + string Original_CodAziendaOp, + string Original_DescAziendaOp, + string Original_CodFilialeOp, + string Original_DescFilialeOp, + string Original_Cognome, + string Original_Nome) { + return this.Update(Original_CodSoggetto, CodCS, CodDipendente, CodAziendaOp, DescAziendaOp, CodFilialeOp, DescFilialeOp, Cognome, Nome, Original_CodSoggetto, Original_CodCS, Original_CodDipendente, Original_CodAziendaOp, Original_DescAziendaOp, Original_CodFilialeOp, Original_DescFilialeOp, Original_Cognome, Original_Nome); + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class AnagClientiTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagClientiTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "AnagClienti"; + tableMapping.ColumnMappings.Add("CodCliente", "CodCliente"); + tableMapping.ColumnMappings.Add("RagSociale", "RagSociale"); + tableMapping.ColumnMappings.Add("Lingua", "Lingua"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = "DELETE FROM [RilPro].[AnagClienti] WHERE (([CodCliente] = @Original_CodCliente) A" + + "ND ([RagSociale] = @Original_RagSociale) AND ((@IsNull_Lingua = 1 AND [Lingua] I" + + "S NULL) OR ([Lingua] = @Original_Lingua)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RagSociale", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagSociale", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Lingua", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Lingua", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Lingua", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Lingua", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = "INSERT INTO [RilPro].[AnagClienti] ([CodCliente], [RagSociale], [Lingua]) VALUES " + + "(@CodCliente, @RagSociale, @Lingua);\r\nSELECT CodCliente, RagSociale, Lingua FROM" + + " RilPro.AnagClienti WHERE (CodCliente = @CodCliente)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RagSociale", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagSociale", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Lingua", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Lingua", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [RilPro].[AnagClienti] SET [CodCliente] = @CodCliente, [RagSociale] = @RagSociale, [Lingua] = @Lingua WHERE (([CodCliente] = @Original_CodCliente) AND ([RagSociale] = @Original_RagSociale) AND ((@IsNull_Lingua = 1 AND [Lingua] IS NULL) OR ([Lingua] = @Original_Lingua))); +SELECT CodCliente, RagSociale, Lingua FROM RilPro.AnagClienti WHERE (CodCliente = @CodCliente)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RagSociale", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagSociale", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Lingua", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Lingua", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RagSociale", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagSociale", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Lingua", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Lingua", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Lingua", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Lingua", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT * FROM RilPro.AnagClienti"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "dbo.stp_getRagioneSocialeByCodCliente"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[1].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[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.NVarChar, 6, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_Applicazione.AnagClientiDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_Applicazione.AnagClientiDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_Applicazione.AnagClientiDataTable dataTable = new DS_Applicazione.AnagClientiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_Applicazione.AnagClientiDataTable getRagioneSocialeByCodCliente(string CodCliente) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((CodCliente == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodCliente)); + } + DS_Applicazione.AnagClientiDataTable dataTable = new DS_Applicazione.AnagClientiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_Applicazione.AnagClientiDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_Applicazione dataSet) { + return this.Adapter.Update(dataSet, "AnagClienti"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_CodCliente, string Original_RagSociale, string Original_Lingua) { + if ((Original_CodCliente == null)) { + throw new global::System.ArgumentNullException("Original_CodCliente"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodCliente)); + } + if ((Original_RagSociale == null)) { + throw new global::System.ArgumentNullException("Original_RagSociale"); + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_RagSociale)); + } + if ((Original_Lingua == null)) { + this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_Lingua)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string CodCliente, string RagSociale, string Lingua) { + if ((CodCliente == null)) { + throw new global::System.ArgumentNullException("CodCliente"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodCliente)); + } + if ((RagSociale == null)) { + throw new global::System.ArgumentNullException("RagSociale"); + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(RagSociale)); + } + if ((Lingua == null)) { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(Lingua)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string CodCliente, string RagSociale, string Lingua, string Original_CodCliente, string Original_RagSociale, string Original_Lingua) { + if ((CodCliente == null)) { + throw new global::System.ArgumentNullException("CodCliente"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodCliente)); + } + if ((RagSociale == null)) { + throw new global::System.ArgumentNullException("RagSociale"); + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(RagSociale)); + } + if ((Lingua == null)) { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Lingua)); + } + if ((Original_CodCliente == null)) { + throw new global::System.ArgumentNullException("Original_CodCliente"); + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Original_CodCliente)); + } + if ((Original_RagSociale == null)) { + throw new global::System.ArgumentNullException("Original_RagSociale"); + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_RagSociale)); + } + if ((Original_Lingua == null)) { + this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_Lingua)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string RagSociale, string Lingua, string Original_CodCliente, string Original_RagSociale, string Original_Lingua) { + return this.Update(Original_CodCliente, RagSociale, Lingua, Original_CodCliente, Original_RagSociale, Original_Lingua); + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class AnagParticolariTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagParticolariTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "AnagParticolari"; + tableMapping.ColumnMappings.Add("Particolare", "Particolare"); + tableMapping.ColumnMappings.Add("CodCS", "CodCS"); + tableMapping.ColumnMappings.Add("CodCliente", "CodCliente"); + tableMapping.ColumnMappings.Add("DisegnoGrezzo", "DisegnoGrezzo"); + tableMapping.ColumnMappings.Add("CodFamiglia", "CodFamiglia"); + tableMapping.ColumnMappings.Add("DescParticolare", "DescParticolare"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = @"DELETE FROM [RilPro].[AnagParticolari] WHERE (([Particolare] = @Original_Particolare) AND ([CodCS] = @Original_CodCS) AND ([CodCliente] = @Original_CodCliente) AND ([DisegnoGrezzo] = @Original_DisegnoGrezzo) AND ((@IsNull_CodFamiglia = 1 AND [CodFamiglia] IS NULL) OR ([CodFamiglia] = @Original_CodFamiglia)) AND ((@IsNull_DescParticolare = 1 AND [DescParticolare] IS NULL) OR ([DescParticolare] = @Original_DescParticolare)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Particolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Particolare", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DisegnoGrezzo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DisegnoGrezzo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodFamiglia", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFamiglia", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodFamiglia", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFamiglia", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescParticolare", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescParticolare", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescParticolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescParticolare", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = @"INSERT INTO [RilPro].[AnagParticolari] ([Particolare], [CodCS], [CodCliente], [DisegnoGrezzo], [CodFamiglia], [DescParticolare]) VALUES (@Particolare, @CodCS, @CodCliente, @DisegnoGrezzo, @CodFamiglia, @DescParticolare); +SELECT Particolare, CodCS, CodCliente, DisegnoGrezzo, CodFamiglia, DescParticolare FROM RilPro.AnagParticolari WHERE (Particolare = @Particolare)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Particolare", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DisegnoGrezzo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DisegnoGrezzo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodFamiglia", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFamiglia", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescParticolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescParticolare", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [RilPro].[AnagParticolari] SET [Particolare] = @Particolare, [CodCS] = @CodCS, [CodCliente] = @CodCliente, [DisegnoGrezzo] = @DisegnoGrezzo, [CodFamiglia] = @CodFamiglia, [DescParticolare] = @DescParticolare WHERE (([Particolare] = @Original_Particolare) AND ([CodCS] = @Original_CodCS) AND ([CodCliente] = @Original_CodCliente) AND ([DisegnoGrezzo] = @Original_DisegnoGrezzo) AND ((@IsNull_CodFamiglia = 1 AND [CodFamiglia] IS NULL) OR ([CodFamiglia] = @Original_CodFamiglia)) AND ((@IsNull_DescParticolare = 1 AND [DescParticolare] IS NULL) OR ([DescParticolare] = @Original_DescParticolare))); +SELECT Particolare, CodCS, CodCliente, DisegnoGrezzo, CodFamiglia, DescParticolare FROM RilPro.AnagParticolari WHERE (Particolare = @Particolare)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Particolare", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DisegnoGrezzo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DisegnoGrezzo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodFamiglia", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFamiglia", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescParticolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescParticolare", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Particolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Particolare", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DisegnoGrezzo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DisegnoGrezzo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodFamiglia", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFamiglia", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodFamiglia", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFamiglia", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescParticolare", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescParticolare", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescParticolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescParticolare", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT Particolare, CodCS, CodCliente, DisegnoGrezzo, CodFamiglia, DescParticolar" + + "e FROM RilPro.AnagParticolari"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "SELECT Particolare, CodCS, CodCliente, DisegnoGrezzo, CodFamiglia, DescParticolar" + + "e FROM RilPro.AnagParticolari\r\nwhere Particolare = @Particolare"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.NVarChar, 15, global::System.Data.ParameterDirection.Input, 0, 0, "Particolare", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_Applicazione.AnagParticolariDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_Applicazione.AnagParticolariDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_Applicazione.AnagParticolariDataTable dataTable = new DS_Applicazione.AnagParticolariDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_Applicazione.AnagParticolariDataTable getByParticolare(string Particolare) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((Particolare == null)) { + throw new global::System.ArgumentNullException("Particolare"); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(Particolare)); + } + DS_Applicazione.AnagParticolariDataTable dataTable = new DS_Applicazione.AnagParticolariDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_Applicazione.AnagParticolariDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_Applicazione dataSet) { + return this.Adapter.Update(dataSet, "AnagParticolari"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_Particolare, string Original_CodCS, string Original_CodCliente, string Original_DisegnoGrezzo, string Original_CodFamiglia, string Original_DescParticolare) { + if ((Original_Particolare == null)) { + throw new global::System.ArgumentNullException("Original_Particolare"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_Particolare)); + } + if ((Original_CodCS == null)) { + throw new global::System.ArgumentNullException("Original_CodCS"); + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_CodCS)); + } + if ((Original_CodCliente == null)) { + throw new global::System.ArgumentNullException("Original_CodCliente"); + } + else { + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_CodCliente)); + } + if ((Original_DisegnoGrezzo == null)) { + throw new global::System.ArgumentNullException("Original_DisegnoGrezzo"); + } + else { + this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_DisegnoGrezzo)); + } + if ((Original_CodFamiglia == null)) { + this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(Original_CodFamiglia)); + } + if ((Original_DescParticolare == null)) { + this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(Original_DescParticolare)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string Particolare, string CodCS, string CodCliente, string DisegnoGrezzo, string CodFamiglia, string DescParticolare) { + if ((Particolare == null)) { + throw new global::System.ArgumentNullException("Particolare"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(Particolare)); + } + if ((CodCS == null)) { + throw new global::System.ArgumentNullException("CodCS"); + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(CodCS)); + } + if ((CodCliente == null)) { + throw new global::System.ArgumentNullException("CodCliente"); + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(CodCliente)); + } + if ((DisegnoGrezzo == null)) { + throw new global::System.ArgumentNullException("DisegnoGrezzo"); + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = ((string)(DisegnoGrezzo)); + } + if ((CodFamiglia == null)) { + this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[4].Value = ((string)(CodFamiglia)); + } + if ((DescParticolare == null)) { + this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[5].Value = ((string)(DescParticolare)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string Particolare, string CodCS, string CodCliente, string DisegnoGrezzo, string CodFamiglia, string DescParticolare, string Original_Particolare, string Original_CodCS, string Original_CodCliente, string Original_DisegnoGrezzo, string Original_CodFamiglia, string Original_DescParticolare) { + if ((Particolare == null)) { + throw new global::System.ArgumentNullException("Particolare"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(Particolare)); + } + if ((CodCS == null)) { + throw new global::System.ArgumentNullException("CodCS"); + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(CodCS)); + } + if ((CodCliente == null)) { + throw new global::System.ArgumentNullException("CodCliente"); + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(CodCliente)); + } + if ((DisegnoGrezzo == null)) { + throw new global::System.ArgumentNullException("DisegnoGrezzo"); + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(DisegnoGrezzo)); + } + if ((CodFamiglia == null)) { + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(CodFamiglia)); + } + if ((DescParticolare == null)) { + this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(DescParticolare)); + } + if ((Original_Particolare == null)) { + throw new global::System.ArgumentNullException("Original_Particolare"); + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_Particolare)); + } + if ((Original_CodCS == null)) { + throw new global::System.ArgumentNullException("Original_CodCS"); + } + else { + this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Original_CodCS)); + } + if ((Original_CodCliente == null)) { + throw new global::System.ArgumentNullException("Original_CodCliente"); + } + else { + this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_CodCliente)); + } + if ((Original_DisegnoGrezzo == null)) { + throw new global::System.ArgumentNullException("Original_DisegnoGrezzo"); + } + else { + this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_DisegnoGrezzo)); + } + if ((Original_CodFamiglia == null)) { + this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Original_CodFamiglia)); + } + if ((Original_DescParticolare == null)) { + this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(Original_DescParticolare)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string CodCS, string CodCliente, string DisegnoGrezzo, string CodFamiglia, string DescParticolare, string Original_Particolare, string Original_CodCS, string Original_CodCliente, string Original_DisegnoGrezzo, string Original_CodFamiglia, string Original_DescParticolare) { + return this.Update(Original_Particolare, CodCS, CodCliente, DisegnoGrezzo, CodFamiglia, DescParticolare, Original_Particolare, Original_CodCS, Original_CodCliente, Original_DisegnoGrezzo, Original_CodFamiglia, Original_DescParticolare); + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class AnagFamiglieTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagFamiglieTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "AnagFamiglie"; + tableMapping.ColumnMappings.Add("CodFamiglia", "CodFamiglia"); + tableMapping.ColumnMappings.Add("DescFamiglia", "DescFamiglia"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = "DELETE FROM [RilPro].[AnagFamiglie] WHERE (([CodFamiglia] = @Original_CodFamiglia" + + ") AND ((@IsNull_DescFamiglia = 1 AND [DescFamiglia] IS NULL) OR ([DescFamiglia] " + + "= @Original_DescFamiglia)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodFamiglia", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFamiglia", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescFamiglia", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescFamiglia", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescFamiglia", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescFamiglia", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = "INSERT INTO [RilPro].[AnagFamiglie] ([CodFamiglia], [DescFamiglia]) VALUES (@CodF" + + "amiglia, @DescFamiglia);\r\nSELECT CodFamiglia, DescFamiglia FROM RilPro.AnagFamig" + + "lie WHERE (CodFamiglia = @CodFamiglia)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodFamiglia", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFamiglia", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescFamiglia", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescFamiglia", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [RilPro].[AnagFamiglie] SET [CodFamiglia] = @CodFamiglia, [DescFamiglia] = @DescFamiglia WHERE (([CodFamiglia] = @Original_CodFamiglia) AND ((@IsNull_DescFamiglia = 1 AND [DescFamiglia] IS NULL) OR ([DescFamiglia] = @Original_DescFamiglia))); +SELECT CodFamiglia, DescFamiglia FROM RilPro.AnagFamiglie WHERE (CodFamiglia = @CodFamiglia)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodFamiglia", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFamiglia", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescFamiglia", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescFamiglia", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodFamiglia", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFamiglia", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescFamiglia", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescFamiglia", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescFamiglia", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescFamiglia", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT CodFamiglia, DescFamiglia FROM RilPro.AnagFamiglie"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "SELECT CodFamiglia, DescFamiglia FROM RilPro.AnagFamiglie\r\nwhere CodFamiglia=@Cod" + + "Famiglia"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodFamiglia", global::System.Data.SqlDbType.NChar, 4, global::System.Data.ParameterDirection.Input, 0, 0, "CodFamiglia", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_Applicazione.AnagFamiglieDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_Applicazione.AnagFamiglieDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_Applicazione.AnagFamiglieDataTable dataTable = new DS_Applicazione.AnagFamiglieDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_Applicazione.AnagFamiglieDataTable getByCodFamiglia(string CodFamiglia) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((CodFamiglia == null)) { + throw new global::System.ArgumentNullException("CodFamiglia"); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(CodFamiglia)); + } + DS_Applicazione.AnagFamiglieDataTable dataTable = new DS_Applicazione.AnagFamiglieDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_Applicazione.AnagFamiglieDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_Applicazione dataSet) { + return this.Adapter.Update(dataSet, "AnagFamiglie"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_CodFamiglia, string Original_DescFamiglia) { + if ((Original_CodFamiglia == null)) { + throw new global::System.ArgumentNullException("Original_CodFamiglia"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodFamiglia)); + } + if ((Original_DescFamiglia == null)) { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_DescFamiglia)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string CodFamiglia, string DescFamiglia) { + if ((CodFamiglia == null)) { + throw new global::System.ArgumentNullException("CodFamiglia"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodFamiglia)); + } + if ((DescFamiglia == null)) { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(DescFamiglia)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string CodFamiglia, string DescFamiglia, string Original_CodFamiglia, string Original_DescFamiglia) { + if ((CodFamiglia == null)) { + throw new global::System.ArgumentNullException("CodFamiglia"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodFamiglia)); + } + if ((DescFamiglia == null)) { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(DescFamiglia)); + } + if ((Original_CodFamiglia == null)) { + throw new global::System.ArgumentNullException("Original_CodFamiglia"); + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Original_CodFamiglia)); + } + if ((Original_DescFamiglia == null)) { + this.Adapter.UpdateCommand.Parameters[3].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_DescFamiglia)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string DescFamiglia, string Original_CodFamiglia, string Original_DescFamiglia) { + return this.Update(Original_CodFamiglia, DescFamiglia, Original_CodFamiglia, Original_DescFamiglia); + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class Soggetti2UtenteTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public Soggetti2UtenteTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "Soggetti2Utente"; + tableMapping.ColumnMappings.Add("CodSoggetto", "CodSoggetto"); + tableMapping.ColumnMappings.Add("USER_NAME", "USER_NAME"); + tableMapping.ColumnMappings.Add("DOMINIO", "DOMINIO"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = "DELETE FROM [dbo].[Soggetti2Utente] WHERE (([CodSoggetto] = @Original_CodSoggetto" + + ") AND ([USER_NAME] = @Original_USER_NAME) AND ((@IsNull_DOMINIO = 1 AND [DOMINIO" + + "] IS NULL) OR ([DOMINIO] = @Original_DOMINIO)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSoggetto", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_USER_NAME", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "USER_NAME", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DOMINIO", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DOMINIO", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DOMINIO", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DOMINIO", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[Soggetti2Utente] ([CodSoggetto], [USER_NAME], [DOMINIO]) VALUE" + + "S (@CodSoggetto, @USER_NAME, @DOMINIO);\r\nSELECT CodSoggetto, USER_NAME, DOMINIO " + + "FROM Soggetti2Utente WHERE (CodSoggetto = @CodSoggetto) AND (USER_NAME = @USER_N" + + "AME)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@USER_NAME", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "USER_NAME", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DOMINIO", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DOMINIO", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[Soggetti2Utente] SET [CodSoggetto] = @CodSoggetto, [USER_NAME] = @USER_NAME, [DOMINIO] = @DOMINIO WHERE (([CodSoggetto] = @Original_CodSoggetto) AND ([USER_NAME] = @Original_USER_NAME) AND ((@IsNull_DOMINIO = 1 AND [DOMINIO] IS NULL) OR ([DOMINIO] = @Original_DOMINIO))); +SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = @CodSoggetto) AND (USER_NAME = @USER_NAME)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@USER_NAME", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "USER_NAME", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DOMINIO", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DOMINIO", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSoggetto", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_USER_NAME", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "USER_NAME", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DOMINIO", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DOMINIO", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DOMINIO", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DOMINIO", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT CodSoggetto, USER_NAME, DOMINIO FROM dbo.Soggetti2Utente"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "dbo.stp_S2U_getByCodSogg"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[1].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[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.VarChar, 17, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[2].Connection = this.Connection; + this._commandCollection[2].CommandText = "dbo.stp_S2U_getByUtente"; + this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[2].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[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@USER_NAME", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DOMINIO", global::System.Data.SqlDbType.VarChar, 30, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_Applicazione.Soggetti2UtenteDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_Applicazione.Soggetti2UtenteDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_Applicazione.Soggetti2UtenteDataTable dataTable = new DS_Applicazione.Soggetti2UtenteDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_Applicazione.Soggetti2UtenteDataTable getByCodSoggetto(string CodSoggetto) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((CodSoggetto == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodSoggetto)); + } + DS_Applicazione.Soggetti2UtenteDataTable dataTable = new DS_Applicazione.Soggetti2UtenteDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_Applicazione.Soggetti2UtenteDataTable getByUserDominio(string USER_NAME, string DOMINIO) { + this.Adapter.SelectCommand = this.CommandCollection[2]; + if ((USER_NAME == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(USER_NAME)); + } + if ((DOMINIO == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(DOMINIO)); + } + DS_Applicazione.Soggetti2UtenteDataTable dataTable = new DS_Applicazione.Soggetti2UtenteDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_Applicazione.Soggetti2UtenteDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_Applicazione dataSet) { + return this.Adapter.Update(dataSet, "Soggetti2Utente"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_CodSoggetto, string Original_USER_NAME, string Original_DOMINIO) { + if ((Original_CodSoggetto == null)) { + throw new global::System.ArgumentNullException("Original_CodSoggetto"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodSoggetto)); + } + if ((Original_USER_NAME == null)) { + throw new global::System.ArgumentNullException("Original_USER_NAME"); + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_USER_NAME)); + } + if ((Original_DOMINIO == null)) { + this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_DOMINIO)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string CodSoggetto, string USER_NAME, string DOMINIO) { + if ((CodSoggetto == null)) { + throw new global::System.ArgumentNullException("CodSoggetto"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodSoggetto)); + } + if ((USER_NAME == null)) { + throw new global::System.ArgumentNullException("USER_NAME"); + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(USER_NAME)); + } + if ((DOMINIO == null)) { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(DOMINIO)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string CodSoggetto, string USER_NAME, string DOMINIO, string Original_CodSoggetto, string Original_USER_NAME, string Original_DOMINIO) { + if ((CodSoggetto == null)) { + throw new global::System.ArgumentNullException("CodSoggetto"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodSoggetto)); + } + if ((USER_NAME == null)) { + throw new global::System.ArgumentNullException("USER_NAME"); + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(USER_NAME)); + } + if ((DOMINIO == null)) { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(DOMINIO)); + } + if ((Original_CodSoggetto == null)) { + throw new global::System.ArgumentNullException("Original_CodSoggetto"); + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Original_CodSoggetto)); + } + if ((Original_USER_NAME == null)) { + throw new global::System.ArgumentNullException("Original_USER_NAME"); + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_USER_NAME)); + } + if ((Original_DOMINIO == null)) { + this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_DOMINIO)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string DOMINIO, string Original_CodSoggetto, string Original_USER_NAME, string Original_DOMINIO) { + return this.Update(Original_CodSoggetto, Original_USER_NAME, DOMINIO, Original_CodSoggetto, Original_USER_NAME, Original_DOMINIO); + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class v_specParticolariTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_specParticolariTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "v_specParticolari"; + 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("CodStampo", "CodStampo"); + tableMapping.ColumnMappings.Add("Figura", "Figura"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT CodCliente, RagSociale, Particolare, DescParticolare, DisegnoGrezzo, Espon" + + "ente, CodStampo, Figura FROM dbo.v_specParticolari"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "dbo.stp_SpecParticolare"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[1].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[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.NVarChar, 15, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[2].Connection = this.Connection; + this._commandCollection[2].CommandText = "dbo.stp_anagFullParticolare"; + this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[2].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[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.NVarChar, 15, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_Applicazione.v_specParticolariDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_Applicazione.v_specParticolariDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_Applicazione.v_specParticolariDataTable dataTable = new DS_Applicazione.v_specParticolariDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_Applicazione.v_specParticolariDataTable getByParticolareDaCartellini(string Particolare) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((Particolare == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(Particolare)); + } + DS_Applicazione.v_specParticolariDataTable dataTable = new DS_Applicazione.v_specParticolariDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_Applicazione.v_specParticolariDataTable getByParticolareRilPro(string Particolare) { + this.Adapter.SelectCommand = this.CommandCollection[2]; + if ((Particolare == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(Particolare)); + } + DS_Applicazione.v_specParticolariDataTable dataTable = new DS_Applicazione.v_specParticolariDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class ElencoPostazioniTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoPostazioniTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "ElencoPostazioni"; + tableMapping.ColumnMappings.Add("codPostazione", "codPostazione"); + tableMapping.ColumnMappings.Add("stampante", "stampante"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = "DELETE FROM [dbo].[ElencoPostazioni] WHERE (([codPostazione] = @Original_codPosta" + + "zione) AND ((@IsNull_stampante = 1 AND [stampante] IS NULL) OR ([stampante] = @O" + + "riginal_stampante)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_codPostazione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "codPostazione", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_stampante", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "stampante", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_stampante", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "stampante", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[ElencoPostazioni] ([codPostazione], [stampante]) VALUES (@codP" + + "ostazione, @stampante);\r\nSELECT codPostazione, stampante FROM ElencoPostazioni W" + + "HERE (codPostazione = @codPostazione)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@codPostazione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "codPostazione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@stampante", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "stampante", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[ElencoPostazioni] SET [codPostazione] = @codPostazione, [stampante] = @stampante WHERE (([codPostazione] = @Original_codPostazione) AND ((@IsNull_stampante = 1 AND [stampante] IS NULL) OR ([stampante] = @Original_stampante))); +SELECT codPostazione, stampante FROM ElencoPostazioni WHERE (codPostazione = @codPostazione)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@codPostazione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "codPostazione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@stampante", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "stampante", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_codPostazione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "codPostazione", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_stampante", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "stampante", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_stampante", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "stampante", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT codPostazione, stampante FROM dbo.ElencoPostazioni"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "dbo.stp_elencoPostaziont_getByCod"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[1].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[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@codPostazione", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_Applicazione.ElencoPostazioniDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_Applicazione.ElencoPostazioniDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_Applicazione.ElencoPostazioniDataTable dataTable = new DS_Applicazione.ElencoPostazioniDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_Applicazione.ElencoPostazioniDataTable getByCod(string codPostazione) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((codPostazione == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(codPostazione)); + } + DS_Applicazione.ElencoPostazioniDataTable dataTable = new DS_Applicazione.ElencoPostazioniDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_Applicazione.ElencoPostazioniDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_Applicazione dataSet) { + return this.Adapter.Update(dataSet, "ElencoPostazioni"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_codPostazione, string Original_stampante) { + if ((Original_codPostazione == null)) { + throw new global::System.ArgumentNullException("Original_codPostazione"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_codPostazione)); + } + if ((Original_stampante == null)) { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_stampante)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string codPostazione, string stampante) { + if ((codPostazione == null)) { + throw new global::System.ArgumentNullException("codPostazione"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(codPostazione)); + } + if ((stampante == null)) { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(stampante)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string codPostazione, string stampante, string Original_codPostazione, string Original_stampante) { + if ((codPostazione == null)) { + throw new global::System.ArgumentNullException("codPostazione"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(codPostazione)); + } + if ((stampante == null)) { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(stampante)); + } + if ((Original_codPostazione == null)) { + throw new global::System.ArgumentNullException("Original_codPostazione"); + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Original_codPostazione)); + } + if ((Original_stampante == null)) { + this.Adapter.UpdateCommand.Parameters[3].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_stampante)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string stampante, string Original_codPostazione, string Original_stampante) { + return this.Update(Original_codPostazione, stampante, Original_codPostazione, Original_stampante); + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class stp_prtCartLiquidiF10ByUDCTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartLiquidiF10ByUDCTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_prtCartLiquidiF10ByUDC"; + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_prtCartLiquidiF10ByUDC"; + 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.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_Applicazione.stp_prtCartLiquidiF10ByUDCDataTable 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.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_Applicazione.stp_prtCartLiquidiF10ByUDCDataTable GetData(string UDC) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((UDC == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(UDC)); + } + DS_Applicazione.stp_prtCartLiquidiF10ByUDCDataTable dataTable = new DS_Applicazione.stp_prtCartLiquidiF10ByUDCDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class stp_prtCartLiquidiF18ByUDCTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartLiquidiF18ByUDCTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_prtCartLiquidiF18ByUDC"; + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_prtCartLiquidiF18ByUDC"; + 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.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_Applicazione.stp_prtCartLiquidiF18ByUDCDataTable 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.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_Applicazione.stp_prtCartLiquidiF18ByUDCDataTable GetData(string UDC) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((UDC == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(UDC)); + } + DS_Applicazione.stp_prtCartLiquidiF18ByUDCDataTable dataTable = new DS_Applicazione.stp_prtCartLiquidiF18ByUDCDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class v_RapQualNoteTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_RapQualNoteTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "v_RapQualNote"; + tableMapping.ColumnMappings.Add("nRapQual", "nRapQual"); + tableMapping.ColumnMappings.Add("DataRapQual", "DataRapQual"); + tableMapping.ColumnMappings.Add("ProgUDC", "ProgUDC"); + tableMapping.ColumnMappings.Add("CodFor", "CodFor"); + tableMapping.ColumnMappings.Add("DestTerz", "DestTerz"); + tableMapping.ColumnMappings.Add("CodLega", "CodLega"); + tableMapping.ColumnMappings.Add("DataPrelFus", "DataPrelFus"); + tableMapping.ColumnMappings.Add("TurnoPrelFus", "TurnoPrelFus"); + tableMapping.ColumnMappings.Add("Qta", "Qta"); + tableMapping.ColumnMappings.Add("DestLega", "DestLega"); + tableMapping.ColumnMappings.Add("LegaScaric", "LegaScaric"); + tableMapping.ColumnMappings.Add("BenesQual", "BenesQual"); + tableMapping.ColumnMappings.Add("UDC", "UDC"); + tableMapping.ColumnMappings.Add("Note", "Note"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT nRapQual, DataRapQual, ProgUDC, CodFor, DestTerz, CodLega, DataPrelFus, Tu" + + "rnoPrelFus, Qta, DestLega, LegaScaric, BenesQual, UDC, Note FROM dbo.v_RapQualNo" + + "te"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "dbo.stp_RQN_getByRQ"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[1].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[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nRapQual", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 6, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[2].Connection = this.Connection; + this._commandCollection[2].CommandText = "dbo.stp_UDC_updateNoteByRQ"; + this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[2].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[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nRapQual", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 6, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@note", global::System.Data.SqlDbType.NVarChar, 500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.NVarChar, 17, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_Applicazione.v_RapQualNoteDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_Applicazione.v_RapQualNoteDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_Applicazione.v_RapQualNoteDataTable dataTable = new DS_Applicazione.v_RapQualNoteDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_Applicazione.v_RapQualNoteDataTable getByNRapQual(global::System.Nullable nRapQual) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((nRapQual.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[1].Value = ((decimal)(nRapQual.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + DS_Applicazione.v_RapQualNoteDataTable dataTable = new DS_Applicazione.v_RapQualNoteDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int stp_UDC_updateNoteByRQ(global::System.Nullable nRapQual, string note, string CodSoggetto) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2]; + if ((nRapQual.HasValue == true)) { + command.Parameters[1].Value = ((decimal)(nRapQual.Value)); + } + else { + command.Parameters[1].Value = global::System.DBNull.Value; + } + if ((note == null)) { + command.Parameters[2].Value = global::System.DBNull.Value; + } + else { + command.Parameters[2].Value = ((string)(note)); + } + if ((CodSoggetto == null)) { + command.Parameters[3].Value = global::System.DBNull.Value; + } + else { + command.Parameters[3].Value = ((string)(CodSoggetto)); + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + } + + /// + ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios + /// + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" + + "esigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")] + public partial class TableAdapterManager : global::System.ComponentModel.Component { + + private UpdateOrderOption _updateOrder; + + private AnagStatiTableAdapter _anagStatiTableAdapter; + + private AnagTipoDichiarazTableAdapter _anagTipoDichiarazTableAdapter; + + private AnagStatiProdottoTableAdapter _anagStatiProdottoTableAdapter; + + private RelazUDCTableAdapter _relazUDCTableAdapter; + + private AnagImpiantiTableAdapter _anagImpiantiTableAdapter; + + private AnagCompanySitoTableAdapter _anagCompanySitoTableAdapter; + + private AnagBilanceTableAdapter _anagBilanceTableAdapter; + + private ElencoCartelliniTableAdapter _elencoCartelliniTableAdapter; + + private AnagImballiTableAdapter _anagImballiTableAdapter; + + private AnagOperatoriTableAdapter _anagOperatoriTableAdapter; + + private AnagClientiTableAdapter _anagClientiTableAdapter; + + private AnagParticolariTableAdapter _anagParticolariTableAdapter; + + private AnagFamiglieTableAdapter _anagFamiglieTableAdapter; + + private Soggetti2UtenteTableAdapter _soggetti2UtenteTableAdapter; + + private ElencoPostazioniTableAdapter _elencoPostazioniTableAdapter; + + private bool _backupDataSetBeforeUpdate; + + private global::System.Data.IDbConnection _connection; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public UpdateOrderOption UpdateOrder { + get { + return this._updateOrder; + } + set { + this._updateOrder = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public AnagStatiTableAdapter AnagStatiTableAdapter { + get { + return this._anagStatiTableAdapter; + } + set { + this._anagStatiTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public AnagTipoDichiarazTableAdapter AnagTipoDichiarazTableAdapter { + get { + return this._anagTipoDichiarazTableAdapter; + } + set { + this._anagTipoDichiarazTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public AnagStatiProdottoTableAdapter AnagStatiProdottoTableAdapter { + get { + return this._anagStatiProdottoTableAdapter; + } + set { + this._anagStatiProdottoTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public RelazUDCTableAdapter RelazUDCTableAdapter { + get { + return this._relazUDCTableAdapter; + } + set { + this._relazUDCTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public AnagImpiantiTableAdapter AnagImpiantiTableAdapter { + get { + return this._anagImpiantiTableAdapter; + } + set { + this._anagImpiantiTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public AnagCompanySitoTableAdapter AnagCompanySitoTableAdapter { + get { + return this._anagCompanySitoTableAdapter; + } + set { + this._anagCompanySitoTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public AnagBilanceTableAdapter AnagBilanceTableAdapter { + get { + return this._anagBilanceTableAdapter; + } + set { + this._anagBilanceTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public ElencoCartelliniTableAdapter ElencoCartelliniTableAdapter { + get { + return this._elencoCartelliniTableAdapter; + } + set { + this._elencoCartelliniTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public AnagImballiTableAdapter AnagImballiTableAdapter { + get { + return this._anagImballiTableAdapter; + } + set { + this._anagImballiTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public AnagOperatoriTableAdapter AnagOperatoriTableAdapter { + get { + return this._anagOperatoriTableAdapter; + } + set { + this._anagOperatoriTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public AnagClientiTableAdapter AnagClientiTableAdapter { + get { + return this._anagClientiTableAdapter; + } + set { + this._anagClientiTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public AnagParticolariTableAdapter AnagParticolariTableAdapter { + get { + return this._anagParticolariTableAdapter; + } + set { + this._anagParticolariTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public AnagFamiglieTableAdapter AnagFamiglieTableAdapter { + get { + return this._anagFamiglieTableAdapter; + } + set { + this._anagFamiglieTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public Soggetti2UtenteTableAdapter Soggetti2UtenteTableAdapter { + get { + return this._soggetti2UtenteTableAdapter; + } + set { + this._soggetti2UtenteTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public ElencoPostazioniTableAdapter ElencoPostazioniTableAdapter { + get { + return this._elencoPostazioniTableAdapter; + } + set { + this._elencoPostazioniTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool BackupDataSetBeforeUpdate { + get { + return this._backupDataSetBeforeUpdate; + } + set { + this._backupDataSetBeforeUpdate = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public global::System.Data.IDbConnection Connection { + get { + if ((this._connection != null)) { + return this._connection; + } + if (((this._anagStatiTableAdapter != null) + && (this._anagStatiTableAdapter.Connection != null))) { + return this._anagStatiTableAdapter.Connection; + } + if (((this._anagTipoDichiarazTableAdapter != null) + && (this._anagTipoDichiarazTableAdapter.Connection != null))) { + return this._anagTipoDichiarazTableAdapter.Connection; + } + if (((this._anagStatiProdottoTableAdapter != null) + && (this._anagStatiProdottoTableAdapter.Connection != null))) { + return this._anagStatiProdottoTableAdapter.Connection; + } + if (((this._relazUDCTableAdapter != null) + && (this._relazUDCTableAdapter.Connection != null))) { + return this._relazUDCTableAdapter.Connection; + } + if (((this._anagImpiantiTableAdapter != null) + && (this._anagImpiantiTableAdapter.Connection != null))) { + return this._anagImpiantiTableAdapter.Connection; + } + if (((this._anagCompanySitoTableAdapter != null) + && (this._anagCompanySitoTableAdapter.Connection != null))) { + return this._anagCompanySitoTableAdapter.Connection; + } + if (((this._anagBilanceTableAdapter != null) + && (this._anagBilanceTableAdapter.Connection != null))) { + return this._anagBilanceTableAdapter.Connection; + } + if (((this._elencoCartelliniTableAdapter != null) + && (this._elencoCartelliniTableAdapter.Connection != null))) { + return this._elencoCartelliniTableAdapter.Connection; + } + if (((this._anagImballiTableAdapter != null) + && (this._anagImballiTableAdapter.Connection != null))) { + return this._anagImballiTableAdapter.Connection; + } + if (((this._anagOperatoriTableAdapter != null) + && (this._anagOperatoriTableAdapter.Connection != null))) { + return this._anagOperatoriTableAdapter.Connection; + } + if (((this._anagClientiTableAdapter != null) + && (this._anagClientiTableAdapter.Connection != null))) { + return this._anagClientiTableAdapter.Connection; + } + if (((this._anagParticolariTableAdapter != null) + && (this._anagParticolariTableAdapter.Connection != null))) { + return this._anagParticolariTableAdapter.Connection; + } + if (((this._anagFamiglieTableAdapter != null) + && (this._anagFamiglieTableAdapter.Connection != null))) { + return this._anagFamiglieTableAdapter.Connection; + } + if (((this._soggetti2UtenteTableAdapter != null) + && (this._soggetti2UtenteTableAdapter.Connection != null))) { + return this._soggetti2UtenteTableAdapter.Connection; + } + if (((this._elencoPostazioniTableAdapter != null) + && (this._elencoPostazioniTableAdapter.Connection != null))) { + return this._elencoPostazioniTableAdapter.Connection; + } + return null; + } + set { + this._connection = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int TableAdapterInstanceCount { + get { + int count = 0; + if ((this._anagStatiTableAdapter != null)) { + count = (count + 1); + } + if ((this._anagTipoDichiarazTableAdapter != null)) { + count = (count + 1); + } + if ((this._anagStatiProdottoTableAdapter != null)) { + count = (count + 1); + } + if ((this._relazUDCTableAdapter != null)) { + count = (count + 1); + } + if ((this._anagImpiantiTableAdapter != null)) { + count = (count + 1); + } + if ((this._anagCompanySitoTableAdapter != null)) { + count = (count + 1); + } + if ((this._anagBilanceTableAdapter != null)) { + count = (count + 1); + } + if ((this._elencoCartelliniTableAdapter != null)) { + count = (count + 1); + } + if ((this._anagImballiTableAdapter != null)) { + count = (count + 1); + } + if ((this._anagOperatoriTableAdapter != null)) { + count = (count + 1); + } + if ((this._anagClientiTableAdapter != null)) { + count = (count + 1); + } + if ((this._anagParticolariTableAdapter != null)) { + count = (count + 1); + } + if ((this._anagFamiglieTableAdapter != null)) { + count = (count + 1); + } + if ((this._soggetti2UtenteTableAdapter != null)) { + count = (count + 1); + } + if ((this._elencoPostazioniTableAdapter != null)) { + count = (count + 1); + } + return count; + } + } + + /// + ///Update rows in top-down order. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private int UpdateUpdatedRows(DS_Applicazione dataSet, global::System.Collections.Generic.List allChangedRows, global::System.Collections.Generic.List allAddedRows) { + int result = 0; + if ((this._anagCompanySitoTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.AnagCompanySito.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._anagCompanySitoTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._anagStatiProdottoTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.AnagStatiProdotto.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._anagStatiProdottoTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._anagOperatoriTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.AnagOperatori.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._anagOperatoriTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._anagStatiTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.AnagStati.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._anagStatiTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._elencoPostazioniTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.ElencoPostazioni.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._elencoPostazioniTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._soggetti2UtenteTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.Soggetti2Utente.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._soggetti2UtenteTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._anagFamiglieTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.AnagFamiglie.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._anagFamiglieTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._anagParticolariTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.AnagParticolari.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._anagParticolariTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._anagClientiTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.AnagClienti.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._anagClientiTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._anagImballiTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.AnagImballi.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._anagImballiTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._elencoCartelliniTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.ElencoCartellini.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._elencoCartelliniTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._anagBilanceTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.AnagBilance.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._anagBilanceTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._anagImpiantiTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.AnagImpianti.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._anagImpiantiTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._relazUDCTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.RelazUDC.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._relazUDCTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._anagTipoDichiarazTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.AnagTipoDichiaraz.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._anagTipoDichiarazTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + return result; + } + + /// + ///Insert rows in top-down order. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private int UpdateInsertedRows(DS_Applicazione dataSet, global::System.Collections.Generic.List allAddedRows) { + int result = 0; + if ((this._anagCompanySitoTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.AnagCompanySito.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._anagCompanySitoTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._anagStatiProdottoTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.AnagStatiProdotto.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._anagStatiProdottoTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._anagOperatoriTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.AnagOperatori.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._anagOperatoriTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._anagStatiTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.AnagStati.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._anagStatiTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._elencoPostazioniTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.ElencoPostazioni.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._elencoPostazioniTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._soggetti2UtenteTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.Soggetti2Utente.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._soggetti2UtenteTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._anagFamiglieTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.AnagFamiglie.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._anagFamiglieTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._anagParticolariTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.AnagParticolari.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._anagParticolariTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._anagClientiTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.AnagClienti.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._anagClientiTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._anagImballiTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.AnagImballi.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._anagImballiTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._elencoCartelliniTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.ElencoCartellini.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._elencoCartelliniTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._anagBilanceTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.AnagBilance.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._anagBilanceTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._anagImpiantiTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.AnagImpianti.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._anagImpiantiTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._relazUDCTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.RelazUDC.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._relazUDCTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._anagTipoDichiarazTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.AnagTipoDichiaraz.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._anagTipoDichiarazTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + return result; + } + + /// + ///Delete rows in bottom-up order. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private int UpdateDeletedRows(DS_Applicazione dataSet, global::System.Collections.Generic.List allChangedRows) { + int result = 0; + if ((this._anagTipoDichiarazTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.AnagTipoDichiaraz.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._anagTipoDichiarazTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._relazUDCTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.RelazUDC.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._relazUDCTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._anagImpiantiTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.AnagImpianti.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._anagImpiantiTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._anagBilanceTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.AnagBilance.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._anagBilanceTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._elencoCartelliniTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.ElencoCartellini.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._elencoCartelliniTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._anagImballiTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.AnagImballi.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._anagImballiTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._anagClientiTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.AnagClienti.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._anagClientiTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._anagParticolariTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.AnagParticolari.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._anagParticolariTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._anagFamiglieTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.AnagFamiglie.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._anagFamiglieTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._soggetti2UtenteTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.Soggetti2Utente.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._soggetti2UtenteTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._elencoPostazioniTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.ElencoPostazioni.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._elencoPostazioniTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._anagStatiTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.AnagStati.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._anagStatiTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._anagOperatoriTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.AnagOperatori.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._anagOperatoriTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._anagStatiProdottoTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.AnagStatiProdotto.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._anagStatiProdottoTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._anagCompanySitoTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.AnagCompanySito.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._anagCompanySitoTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + return result; + } + + /// + ///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private global::System.Data.DataRow[] GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List allAddedRows) { + if (((updatedRows == null) + || (updatedRows.Length < 1))) { + return updatedRows; + } + if (((allAddedRows == null) + || (allAddedRows.Count < 1))) { + return updatedRows; + } + global::System.Collections.Generic.List realUpdatedRows = new global::System.Collections.Generic.List(); + for (int i = 0; (i < updatedRows.Length); i = (i + 1)) { + global::System.Data.DataRow row = updatedRows[i]; + if ((allAddedRows.Contains(row) == false)) { + realUpdatedRows.Add(row); + } + } + return realUpdatedRows.ToArray(); + } + + /// + ///Update all changes to the dataset. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public virtual int UpdateAll(DS_Applicazione dataSet) { + if ((dataSet == null)) { + throw new global::System.ArgumentNullException("dataSet"); + } + if ((dataSet.HasChanges() == false)) { + return 0; + } + if (((this._anagStatiTableAdapter != null) + && (this.MatchTableAdapterConnection(this._anagStatiTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._anagTipoDichiarazTableAdapter != null) + && (this.MatchTableAdapterConnection(this._anagTipoDichiarazTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._anagStatiProdottoTableAdapter != null) + && (this.MatchTableAdapterConnection(this._anagStatiProdottoTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._relazUDCTableAdapter != null) + && (this.MatchTableAdapterConnection(this._relazUDCTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._anagImpiantiTableAdapter != null) + && (this.MatchTableAdapterConnection(this._anagImpiantiTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._anagCompanySitoTableAdapter != null) + && (this.MatchTableAdapterConnection(this._anagCompanySitoTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._anagBilanceTableAdapter != null) + && (this.MatchTableAdapterConnection(this._anagBilanceTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._elencoCartelliniTableAdapter != null) + && (this.MatchTableAdapterConnection(this._elencoCartelliniTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._anagImballiTableAdapter != null) + && (this.MatchTableAdapterConnection(this._anagImballiTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._anagOperatoriTableAdapter != null) + && (this.MatchTableAdapterConnection(this._anagOperatoriTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._anagClientiTableAdapter != null) + && (this.MatchTableAdapterConnection(this._anagClientiTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._anagParticolariTableAdapter != null) + && (this.MatchTableAdapterConnection(this._anagParticolariTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._anagFamiglieTableAdapter != null) + && (this.MatchTableAdapterConnection(this._anagFamiglieTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._soggetti2UtenteTableAdapter != null) + && (this.MatchTableAdapterConnection(this._soggetti2UtenteTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._elencoPostazioniTableAdapter != null) + && (this.MatchTableAdapterConnection(this._elencoPostazioniTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + global::System.Data.IDbConnection workConnection = this.Connection; + if ((workConnection == null)) { + throw new global::System.ApplicationException("TableAdapterManager contains no connection information. Set each TableAdapterMana" + + "ger TableAdapter property to a valid TableAdapter instance."); + } + bool workConnOpened = false; + if (((workConnection.State & global::System.Data.ConnectionState.Broken) + == global::System.Data.ConnectionState.Broken)) { + workConnection.Close(); + } + if ((workConnection.State == global::System.Data.ConnectionState.Closed)) { + workConnection.Open(); + workConnOpened = true; + } + global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction(); + if ((workTransaction == null)) { + throw new global::System.ApplicationException("The transaction cannot begin. The current data connection does not support transa" + + "ctions or the current state is not allowing the transaction to begin."); + } + global::System.Collections.Generic.List allChangedRows = new global::System.Collections.Generic.List(); + global::System.Collections.Generic.List allAddedRows = new global::System.Collections.Generic.List(); + global::System.Collections.Generic.List adaptersWithAcceptChangesDuringUpdate = new global::System.Collections.Generic.List(); + global::System.Collections.Generic.Dictionary revertConnections = new global::System.Collections.Generic.Dictionary(); + int result = 0; + global::System.Data.DataSet backupDataSet = null; + if (this.BackupDataSetBeforeUpdate) { + backupDataSet = new global::System.Data.DataSet(); + backupDataSet.Merge(dataSet); + } + try { + // ---- Prepare for update ----------- + // + if ((this._anagStatiTableAdapter != null)) { + revertConnections.Add(this._anagStatiTableAdapter, this._anagStatiTableAdapter.Connection); + this._anagStatiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._anagStatiTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._anagStatiTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._anagStatiTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._anagStatiTableAdapter.Adapter); + } + } + if ((this._anagTipoDichiarazTableAdapter != null)) { + revertConnections.Add(this._anagTipoDichiarazTableAdapter, this._anagTipoDichiarazTableAdapter.Connection); + this._anagTipoDichiarazTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._anagTipoDichiarazTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._anagTipoDichiarazTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._anagTipoDichiarazTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._anagTipoDichiarazTableAdapter.Adapter); + } + } + if ((this._anagStatiProdottoTableAdapter != null)) { + revertConnections.Add(this._anagStatiProdottoTableAdapter, this._anagStatiProdottoTableAdapter.Connection); + this._anagStatiProdottoTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._anagStatiProdottoTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._anagStatiProdottoTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._anagStatiProdottoTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._anagStatiProdottoTableAdapter.Adapter); + } + } + if ((this._relazUDCTableAdapter != null)) { + revertConnections.Add(this._relazUDCTableAdapter, this._relazUDCTableAdapter.Connection); + this._relazUDCTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._relazUDCTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._relazUDCTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._relazUDCTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._relazUDCTableAdapter.Adapter); + } + } + if ((this._anagImpiantiTableAdapter != null)) { + revertConnections.Add(this._anagImpiantiTableAdapter, this._anagImpiantiTableAdapter.Connection); + this._anagImpiantiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._anagImpiantiTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._anagImpiantiTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._anagImpiantiTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._anagImpiantiTableAdapter.Adapter); + } + } + if ((this._anagCompanySitoTableAdapter != null)) { + revertConnections.Add(this._anagCompanySitoTableAdapter, this._anagCompanySitoTableAdapter.Connection); + this._anagCompanySitoTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._anagCompanySitoTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._anagCompanySitoTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._anagCompanySitoTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._anagCompanySitoTableAdapter.Adapter); + } + } + if ((this._anagBilanceTableAdapter != null)) { + revertConnections.Add(this._anagBilanceTableAdapter, this._anagBilanceTableAdapter.Connection); + this._anagBilanceTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._anagBilanceTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._anagBilanceTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._anagBilanceTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._anagBilanceTableAdapter.Adapter); + } + } + if ((this._elencoCartelliniTableAdapter != null)) { + revertConnections.Add(this._elencoCartelliniTableAdapter, this._elencoCartelliniTableAdapter.Connection); + this._elencoCartelliniTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._elencoCartelliniTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._elencoCartelliniTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._elencoCartelliniTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._elencoCartelliniTableAdapter.Adapter); + } + } + if ((this._anagImballiTableAdapter != null)) { + revertConnections.Add(this._anagImballiTableAdapter, this._anagImballiTableAdapter.Connection); + this._anagImballiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._anagImballiTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._anagImballiTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._anagImballiTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._anagImballiTableAdapter.Adapter); + } + } + if ((this._anagOperatoriTableAdapter != null)) { + revertConnections.Add(this._anagOperatoriTableAdapter, this._anagOperatoriTableAdapter.Connection); + this._anagOperatoriTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._anagOperatoriTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._anagOperatoriTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._anagOperatoriTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._anagOperatoriTableAdapter.Adapter); + } + } + if ((this._anagClientiTableAdapter != null)) { + revertConnections.Add(this._anagClientiTableAdapter, this._anagClientiTableAdapter.Connection); + this._anagClientiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._anagClientiTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._anagClientiTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._anagClientiTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._anagClientiTableAdapter.Adapter); + } + } + if ((this._anagParticolariTableAdapter != null)) { + revertConnections.Add(this._anagParticolariTableAdapter, this._anagParticolariTableAdapter.Connection); + this._anagParticolariTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._anagParticolariTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._anagParticolariTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._anagParticolariTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._anagParticolariTableAdapter.Adapter); + } + } + if ((this._anagFamiglieTableAdapter != null)) { + revertConnections.Add(this._anagFamiglieTableAdapter, this._anagFamiglieTableAdapter.Connection); + this._anagFamiglieTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._anagFamiglieTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._anagFamiglieTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._anagFamiglieTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._anagFamiglieTableAdapter.Adapter); + } + } + if ((this._soggetti2UtenteTableAdapter != null)) { + revertConnections.Add(this._soggetti2UtenteTableAdapter, this._soggetti2UtenteTableAdapter.Connection); + this._soggetti2UtenteTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._soggetti2UtenteTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._soggetti2UtenteTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._soggetti2UtenteTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._soggetti2UtenteTableAdapter.Adapter); + } + } + if ((this._elencoPostazioniTableAdapter != null)) { + revertConnections.Add(this._elencoPostazioniTableAdapter, this._elencoPostazioniTableAdapter.Connection); + this._elencoPostazioniTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._elencoPostazioniTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._elencoPostazioniTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._elencoPostazioniTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._elencoPostazioniTableAdapter.Adapter); + } + } + // + //---- Perform updates ----------- + // + if ((this.UpdateOrder == UpdateOrderOption.UpdateInsertDelete)) { + result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows)); + result = (result + this.UpdateInsertedRows(dataSet, allAddedRows)); + } + else { + result = (result + this.UpdateInsertedRows(dataSet, allAddedRows)); + result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows)); + } + result = (result + this.UpdateDeletedRows(dataSet, allChangedRows)); + // + //---- Commit updates ----------- + // + workTransaction.Commit(); + if ((0 < allAddedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count]; + allAddedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + } + } + if ((0 < allChangedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allChangedRows.Count]; + allChangedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + } + } + } + catch (global::System.Exception ex) { + workTransaction.Rollback(); + // ---- Restore the dataset ----------- + if (this.BackupDataSetBeforeUpdate) { + global::System.Diagnostics.Debug.Assert((backupDataSet != null)); + dataSet.Clear(); + dataSet.Merge(backupDataSet); + } + else { + if ((0 < allAddedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count]; + allAddedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + row.SetAdded(); + } + } + } + throw ex; + } + finally { + if (workConnOpened) { + workConnection.Close(); + } + if ((this._anagStatiTableAdapter != null)) { + this._anagStatiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagStatiTableAdapter])); + this._anagStatiTableAdapter.Transaction = null; + } + if ((this._anagTipoDichiarazTableAdapter != null)) { + this._anagTipoDichiarazTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagTipoDichiarazTableAdapter])); + this._anagTipoDichiarazTableAdapter.Transaction = null; + } + if ((this._anagStatiProdottoTableAdapter != null)) { + this._anagStatiProdottoTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagStatiProdottoTableAdapter])); + this._anagStatiProdottoTableAdapter.Transaction = null; + } + if ((this._relazUDCTableAdapter != null)) { + this._relazUDCTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._relazUDCTableAdapter])); + this._relazUDCTableAdapter.Transaction = null; + } + if ((this._anagImpiantiTableAdapter != null)) { + this._anagImpiantiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagImpiantiTableAdapter])); + this._anagImpiantiTableAdapter.Transaction = null; + } + if ((this._anagCompanySitoTableAdapter != null)) { + this._anagCompanySitoTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagCompanySitoTableAdapter])); + this._anagCompanySitoTableAdapter.Transaction = null; + } + if ((this._anagBilanceTableAdapter != null)) { + this._anagBilanceTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagBilanceTableAdapter])); + this._anagBilanceTableAdapter.Transaction = null; + } + if ((this._elencoCartelliniTableAdapter != null)) { + this._elencoCartelliniTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._elencoCartelliniTableAdapter])); + this._elencoCartelliniTableAdapter.Transaction = null; + } + if ((this._anagImballiTableAdapter != null)) { + this._anagImballiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagImballiTableAdapter])); + this._anagImballiTableAdapter.Transaction = null; + } + if ((this._anagOperatoriTableAdapter != null)) { + this._anagOperatoriTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagOperatoriTableAdapter])); + this._anagOperatoriTableAdapter.Transaction = null; + } + if ((this._anagClientiTableAdapter != null)) { + this._anagClientiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagClientiTableAdapter])); + this._anagClientiTableAdapter.Transaction = null; + } + if ((this._anagParticolariTableAdapter != null)) { + this._anagParticolariTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagParticolariTableAdapter])); + this._anagParticolariTableAdapter.Transaction = null; + } + if ((this._anagFamiglieTableAdapter != null)) { + this._anagFamiglieTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagFamiglieTableAdapter])); + this._anagFamiglieTableAdapter.Transaction = null; + } + if ((this._soggetti2UtenteTableAdapter != null)) { + this._soggetti2UtenteTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._soggetti2UtenteTableAdapter])); + this._soggetti2UtenteTableAdapter.Transaction = null; + } + if ((this._elencoPostazioniTableAdapter != null)) { + this._elencoPostazioniTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._elencoPostazioniTableAdapter])); + this._elencoPostazioniTableAdapter.Transaction = null; + } + if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) { + global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count]; + adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters); + for (int i = 0; (i < adapters.Length); i = (i + 1)) { + global::System.Data.Common.DataAdapter adapter = adapters[i]; + adapter.AcceptChangesDuringUpdate = true; + } + } + } + return result; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected virtual void SortSelfReferenceRows(global::System.Data.DataRow[] rows, global::System.Data.DataRelation relation, bool childFirst) { + global::System.Array.Sort(rows, new SelfReferenceComparer(relation, childFirst)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected virtual bool MatchTableAdapterConnection(global::System.Data.IDbConnection inputConnection) { + if ((this._connection != null)) { + return true; + } + if (((this.Connection == null) + || (inputConnection == null))) { + return true; + } + if (string.Equals(this.Connection.ConnectionString, inputConnection.ConnectionString, global::System.StringComparison.Ordinal)) { + return true; + } + return false; + } + + /// + ///Update Order Option + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public enum UpdateOrderOption { + + InsertUpdateDelete = 0, + + UpdateInsertDelete = 1, + } + + /// + ///Used to sort self-referenced table's rows + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private class SelfReferenceComparer : object, global::System.Collections.Generic.IComparer { + + private global::System.Data.DataRelation _relation; + + private int _childFirst; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal SelfReferenceComparer(global::System.Data.DataRelation relation, bool childFirst) { + this._relation = relation; + if (childFirst) { + this._childFirst = -1; + } + else { + this._childFirst = 1; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private global::System.Data.DataRow GetRoot(global::System.Data.DataRow row, out int distance) { + global::System.Diagnostics.Debug.Assert((row != null)); + global::System.Data.DataRow root = row; + distance = 0; + + global::System.Collections.Generic.IDictionary traversedRows = new global::System.Collections.Generic.Dictionary(); + traversedRows[row] = row; + + global::System.Data.DataRow parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default); + for ( + ; ((parent != null) + && (traversedRows.ContainsKey(parent) == false)); + ) { + distance = (distance + 1); + root = parent; + traversedRows[parent] = parent; + parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default); + } + + if ((distance == 0)) { + traversedRows.Clear(); + traversedRows[row] = row; + parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original); + for ( + ; ((parent != null) + && (traversedRows.ContainsKey(parent) == false)); + ) { + distance = (distance + 1); + root = parent; + traversedRows[parent] = parent; + parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original); + } + } + + return root; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int Compare(global::System.Data.DataRow row1, global::System.Data.DataRow row2) { + if (object.ReferenceEquals(row1, row2)) { + return 0; + } + if ((row1 == null)) { + return -1; + } + if ((row2 == null)) { + return 1; + } + + int distance1 = 0; + global::System.Data.DataRow root1 = this.GetRoot(row1, out distance1); + + int distance2 = 0; + global::System.Data.DataRow root2 = this.GetRoot(row2, out distance2); + + if (object.ReferenceEquals(root1, root2)) { + return (this._childFirst * distance1.CompareTo(distance2)); + } + else { + global::System.Diagnostics.Debug.Assert(((root1.Table != null) + && (root2.Table != null))); + if ((root1.Table.Rows.IndexOf(root1) < root2.Table.Rows.IndexOf(root2))) { + return -1; + } + else { + return 1; + } + } + } + } + } +} + +#pragma warning restore 1591 \ No newline at end of file diff --git a/GMW_data/DS_Applicazione.xsc b/GMW_data/DS_Applicazione.xsc new file mode 100644 index 00000000..551fc56f --- /dev/null +++ b/GMW_data/DS_Applicazione.xsc @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/GMW_data/DS_Applicazione.xsd b/GMW_data/DS_Applicazione.xsd new file mode 100644 index 00000000..04afb679 --- /dev/null +++ b/GMW_data/DS_Applicazione.xsd @@ -0,0 +1,2900 @@ + + + + + + + + + + + + + + + DELETE FROM [dbo].[AnagStati] WHERE (([IdxStato] = @Original_IdxStato) AND ((@IsNull_DescrStato = 1 AND [DescrStato] IS NULL) OR ([DescrStato] = @Original_DescrStato))) + + + + + + + + + + INSERT INTO [dbo].[AnagStati] ([IdxStato], [DescrStato]) VALUES (@IdxStato, @DescrStato); +SELECT IdxStato, DescrStato FROM AnagStati WHERE (IdxStato = @IdxStato) + + + + + + + + + SELECT IdxStato, DescrStato FROM dbo.AnagStati + + + + + + UPDATE [dbo].[AnagStati] SET [IdxStato] = @IdxStato, [DescrStato] = @DescrStato WHERE (([IdxStato] = @Original_IdxStato) AND ((@IsNull_DescrStato = 1 AND [DescrStato] IS NULL) OR ([DescrStato] = @Original_DescrStato))); +SELECT IdxStato, DescrStato FROM AnagStati WHERE (IdxStato = @IdxStato) + + + + + + + + + + + + + + + + + + + + + + + DELETE FROM [dbo].[AnagTipoDichiaraz] WHERE (([CodTipoDichiaraz] = @Original_CodTipoDichiaraz) AND ((@IsNull_DescrTipoDichiaraz = 1 AND [DescrTipoDichiaraz] IS NULL) OR ([DescrTipoDichiaraz] = @Original_DescrTipoDichiaraz))) + + + + + + + + + + INSERT INTO [dbo].[AnagTipoDichiaraz] ([CodTipoDichiaraz], [DescrTipoDichiaraz]) VALUES (@CodTipoDichiaraz, @DescrTipoDichiaraz); +SELECT CodTipoDichiaraz, DescrTipoDichiaraz FROM AnagTipoDichiaraz WHERE (CodTipoDichiaraz = @CodTipoDichiaraz) + + + + + + + + + SELECT CodTipoDichiaraz, DescrTipoDichiaraz FROM dbo.AnagTipoDichiaraz + + + + + + UPDATE [dbo].[AnagTipoDichiaraz] SET [CodTipoDichiaraz] = @CodTipoDichiaraz, [DescrTipoDichiaraz] = @DescrTipoDichiaraz WHERE (([CodTipoDichiaraz] = @Original_CodTipoDichiaraz) AND ((@IsNull_DescrTipoDichiaraz = 1 AND [DescrTipoDichiaraz] IS NULL) OR ([DescrTipoDichiaraz] = @Original_DescrTipoDichiaraz))); +SELECT CodTipoDichiaraz, DescrTipoDichiaraz FROM AnagTipoDichiaraz WHERE (CodTipoDichiaraz = @CodTipoDichiaraz) + + + + + + + + + + + + + + + + + + + + + + + DELETE FROM [dbo].[AnagStatiProdotto] WHERE (([CodStato] = @Original_CodStato) AND ((@IsNull_DescStato = 1 AND [DescStato] IS NULL) OR ([DescStato] = @Original_DescStato))) + + + + + + + + + + INSERT INTO [dbo].[AnagStatiProdotto] ([CodStato], [DescStato]) VALUES (@CodStato, @DescStato); +SELECT CodStato, DescStato FROM AnagStatiProdotto WHERE (CodStato = @CodStato) + + + + + + + + + SELECT CodStato, DescStato FROM dbo.AnagStatiProdotto + + + + + + UPDATE [dbo].[AnagStatiProdotto] SET [CodStato] = @CodStato, [DescStato] = @DescStato WHERE (([CodStato] = @Original_CodStato) AND ((@IsNull_DescStato = 1 AND [DescStato] IS NULL) OR ([DescStato] = @Original_DescStato))); +SELECT CodStato, DescStato FROM AnagStatiProdotto WHERE (CodStato = @CodStato) + + + + + + + + + + + + + + + + + + + + SELECT CodStato, DescStato FROM dbo.AnagStatiProdotto +where CodStato=@CodStato + + + + + + + + + + + + + + DELETE FROM [dbo].[RelazUDC] WHERE (([UDC_parent] = @Original_UDC_parent) AND ([UDC_child] = @Original_UDC_child)) + + + + + + + + + INSERT INTO [dbo].[RelazUDC] ([UDC_parent], [UDC_child]) VALUES (@UDC_parent, @UDC_child); +SELECT UDC_parent, UDC_child FROM RelazUDC WHERE (UDC_child = @UDC_child) AND (UDC_parent = @UDC_parent) + + + + + + + + + SELECT UDC_parent, UDC_child FROM dbo.RelazUDC + + + + + + UPDATE [dbo].[RelazUDC] SET [UDC_parent] = @UDC_parent, [UDC_child] = @UDC_child WHERE (([UDC_parent] = @Original_UDC_parent) AND ([UDC_child] = @Original_UDC_child)); +SELECT UDC_parent, UDC_child FROM RelazUDC WHERE (UDC_child = @UDC_child) AND (UDC_parent = @UDC_parent) + + + + + + + + + + + + + + + + + + + dbo.stp_getUDC_Child + + + + + + + + + + + dbo.stp_getUDC_Parent + + + + + + + + + + + + + + + DELETE FROM [dbo].[AnagImpianti] WHERE (([CodImpianto] = @Original_CodImpianto) AND ([CodCS] = @Original_CodCS) AND ((@IsNull_DescImpianto = 1 AND [DescImpianto] IS NULL) OR ([DescImpianto] = @Original_DescImpianto)) AND ((@IsNull_Campionatura = 1 AND [Campionatura] IS NULL) OR ([Campionatura] = @Original_Campionatura)) AND ((@IsNull_TipoLinea = 1 AND [TipoLinea] IS NULL) OR ([TipoLinea] = @Original_TipoLinea))) + + + + + + + + + + + + + + + INSERT INTO [dbo].[AnagImpianti] ([CodImpianto], [CodCS], [DescImpianto], [Campionatura], [TipoLinea]) VALUES (@CodImpianto, @CodCS, @DescImpianto, @Campionatura, @TipoLinea); +SELECT CodImpianto, CodCS, DescImpianto, Campionatura, TipoLinea FROM AnagImpianti WHERE (CodImpianto = @CodImpianto) + + + + + + + + + + + + SELECT CodImpianto, CodCS, DescImpianto, Campionatura, TipoLinea FROM dbo.AnagImpianti + + + + + + UPDATE [dbo].[AnagImpianti] SET [CodImpianto] = @CodImpianto, [CodCS] = @CodCS, [DescImpianto] = @DescImpianto, [Campionatura] = @Campionatura, [TipoLinea] = @TipoLinea WHERE (([CodImpianto] = @Original_CodImpianto) AND ([CodCS] = @Original_CodCS) AND ((@IsNull_DescImpianto = 1 AND [DescImpianto] IS NULL) OR ([DescImpianto] = @Original_DescImpianto)) AND ((@IsNull_Campionatura = 1 AND [Campionatura] IS NULL) OR ([Campionatura] = @Original_Campionatura)) AND ((@IsNull_TipoLinea = 1 AND [TipoLinea] IS NULL) OR ([TipoLinea] = @Original_TipoLinea))); +SELECT CodImpianto, CodCS, DescImpianto, Campionatura, TipoLinea FROM AnagImpianti WHERE (CodImpianto = @CodImpianto) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_getImpiantiByCodCS + + + + + + + + + + + + + + + DELETE FROM [dbo].[AnagCompanySito] WHERE (([CodCS] = @Original_CodCS) AND ((@IsNull_CodCompany = 1 AND [CodCompany] IS NULL) OR ([CodCompany] = @Original_CodCompany)) AND ((@IsNull_DescCompany = 1 AND [DescCompany] IS NULL) OR ([DescCompany] = @Original_DescCompany)) AND ((@IsNull_CodSito = 1 AND [CodSito] IS NULL) OR ([CodSito] = @Original_CodSito)) AND ((@IsNull_DescSito = 1 AND [DescSito] IS NULL) OR ([DescSito] = @Original_DescSito))) + + + + + + + + + + + + + + + + INSERT INTO [dbo].[AnagCompanySito] ([CodCS], [CodCompany], [DescCompany], [CodSito], [DescSito]) VALUES (@CodCS, @CodCompany, @DescCompany, @CodSito, @DescSito); +SELECT CodCS, CodCompany, DescCompany, CodSito, DescSito FROM AnagCompanySito WHERE (CodCS = @CodCS) + + + + + + + + + + + + SELECT CodCS, CodCompany, DescCompany, CodSito, DescSito FROM dbo.AnagCompanySito + + + + + + UPDATE [dbo].[AnagCompanySito] SET [CodCS] = @CodCS, [CodCompany] = @CodCompany, [DescCompany] = @DescCompany, [CodSito] = @CodSito, [DescSito] = @DescSito WHERE (([CodCS] = @Original_CodCS) AND ((@IsNull_CodCompany = 1 AND [CodCompany] IS NULL) OR ([CodCompany] = @Original_CodCompany)) AND ((@IsNull_DescCompany = 1 AND [DescCompany] IS NULL) OR ([DescCompany] = @Original_DescCompany)) AND ((@IsNull_CodSito = 1 AND [CodSito] IS NULL) OR ([CodSito] = @Original_CodSito)) AND ((@IsNull_DescSito = 1 AND [DescSito] IS NULL) OR ([DescSito] = @Original_DescSito))); +SELECT CodCS, CodCompany, DescCompany, CodSito, DescSito FROM AnagCompanySito WHERE (CodCS = @CodCS) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DELETE FROM [dbo].[AnagBilance] WHERE (([CodBilancia] = @Original_CodBilancia) AND ((@IsNull_DescrImpianto = 1 AND [DescrImpianto] IS NULL) OR ([DescrImpianto] = @Original_DescrImpianto)) AND ((@IsNull_CodCS = 1 AND [CodCS] IS NULL) OR ([CodCS] = @Original_CodCS))) + + + + + + + + + + + + INSERT INTO [dbo].[AnagBilance] ([CodBilancia], [DescrImpianto], [CodCS]) VALUES (@CodBilancia, @DescrImpianto, @CodCS); +SELECT CodBilancia, DescrImpianto, CodCS FROM AnagBilance WHERE (CodBilancia = @CodBilancia) + + + + + + + + + + SELECT CodBilancia, DescrImpianto, CodCS FROM dbo.AnagBilance + + + + + + UPDATE [dbo].[AnagBilance] SET [CodBilancia] = @CodBilancia, [DescrImpianto] = @DescrImpianto, [CodCS] = @CodCS WHERE (([CodBilancia] = @Original_CodBilancia) AND ((@IsNull_DescrImpianto = 1 AND [DescrImpianto] IS NULL) OR ([DescrImpianto] = @Original_DescrImpianto)) AND ((@IsNull_CodCS = 1 AND [CodCS] IS NULL) OR ([CodCS] = @Original_CodCS))); +SELECT CodBilancia, DescrImpianto, CodCS FROM AnagBilance WHERE (CodBilancia = @CodBilancia) + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_getBilanceByCodBilancia + + + + + + + + + + + dbo.stp_getBilanceByCodCS + + + + + + + + + + + + + + + DELETE FROM [dbo].[ElencoCartellini] WHERE (([UDC] = @Original_UDC) AND ((@IsNull_CodCS = 1 AND [CodCS] IS NULL) OR ([CodCS] = @Original_CodCS)) AND ((@IsNull_CodCliente = 1 AND [CodCliente] IS NULL) OR ([CodCliente] = @Original_CodCliente)) AND ((@IsNull_RagSociale = 1 AND [RagSociale] IS NULL) OR ([RagSociale] = @Original_RagSociale)) AND ((@IsNull_Particolare = 1 AND [Particolare] IS NULL) OR ([Particolare] = @Original_Particolare)) AND ((@IsNull_DescParticolare = 1 AND [DescParticolare] IS NULL) OR ([DescParticolare] = @Original_DescParticolare)) AND ((@IsNull_DisegnoGrezzo = 1 AND [DisegnoGrezzo] IS NULL) OR ([DisegnoGrezzo] = @Original_DisegnoGrezzo)) AND ((@IsNull_Esponente = 1 AND [Esponente] IS NULL) OR ([Esponente] = @Original_Esponente)) AND ((@IsNull_CodImpianto = 1 AND [CodImpianto] IS NULL) OR ([CodImpianto] = @Original_CodImpianto)) AND ((@IsNull_DescImpianto = 1 AND [DescImpianto] IS NULL) OR ([DescImpianto] = @Original_DescImpianto)) AND ((@IsNull_CodStampo = 1 AND [CodStampo] IS NULL) OR ([CodStampo] = @Original_CodStampo)) AND ((@IsNull_Figura = 1 AND [Figura] IS NULL) OR ([Figura] = @Original_Figura)) AND ((@IsNull_DataFus = 1 AND [DataFus] IS NULL) OR ([DataFus] = @Original_DataFus)) AND ((@IsNull_TurnoFus = 1 AND [TurnoFus] IS NULL) OR ([TurnoFus] = @Original_TurnoFus)) AND ((@IsNull_CodImballo = 1 AND [CodImballo] IS NULL) OR ([CodImballo] = @Original_CodImballo)) AND ((@IsNull_CodSoggetto = 1 AND [CodSoggetto] IS NULL) OR ([CodSoggetto] = @Original_CodSoggetto)) AND ((@IsNull_NumCont = 1 AND [NumCont] IS NULL) OR ([NumCont] = @Original_NumCont)) AND ((@IsNull_Tara = 1 AND [Tara] IS NULL) OR ([Tara] = @Original_Tara)) AND ((@IsNull_Qta = 1 AND [Qta] IS NULL) OR ([Qta] = @Original_Qta)) AND ((@IsNull_CodStato = 1 AND [CodStato] IS NULL) OR ([CodStato] = @Original_CodStato)) AND ((@IsNull_IdxPosizione = 1 AND [IdxPosizione] IS NULL) OR ([IdxPosizione] = @Original_IdxPosizione)) AND ((@IsNull_PesoTot = 1 AND [PesoTot] IS NULL) OR ([PesoTot] = @Original_PesoTot)) AND ((@IsNull_PesoCad = 1 AND [PesoCad] IS NULL) OR ([PesoCad] = @Original_PesoCad)) AND ((@IsNull_CreateDate = 1 AND [CreateDate] IS NULL) OR ([CreateDate] = @Original_CreateDate)) AND ((@IsNull_ModDate = 1 AND [ModDate] IS NULL) OR ([ModDate] = @Original_ModDate)) AND ((@IsNull_Note = 1 AND [Note] IS NULL) OR ([Note] = @Original_Note))) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + INSERT INTO [dbo].[ElencoCartellini] ([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], [Note]) VALUES (@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, @Note); +SELECT 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, Note FROM ElencoCartellini WHERE (UDC = @UDC) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SELECT * +FROM dbo.ElencoCartellini + + + + + + UPDATE [dbo].[ElencoCartellini] SET [UDC] = @UDC, [CodCS] = @CodCS, [CodCliente] = @CodCliente, [RagSociale] = @RagSociale, [Particolare] = @Particolare, [DescParticolare] = @DescParticolare, [DisegnoGrezzo] = @DisegnoGrezzo, [Esponente] = @Esponente, [CodImpianto] = @CodImpianto, [DescImpianto] = @DescImpianto, [CodStampo] = @CodStampo, [Figura] = @Figura, [DataFus] = @DataFus, [TurnoFus] = @TurnoFus, [CodImballo] = @CodImballo, [CodSoggetto] = @CodSoggetto, [NumCont] = @NumCont, [Tara] = @Tara, [Qta] = @Qta, [CodStato] = @CodStato, [IdxPosizione] = @IdxPosizione, [PesoTot] = @PesoTot, [PesoCad] = @PesoCad, [CreateDate] = @CreateDate, [ModDate] = @ModDate, [Note] = @Note WHERE (([UDC] = @Original_UDC) AND ((@IsNull_CodCS = 1 AND [CodCS] IS NULL) OR ([CodCS] = @Original_CodCS)) AND ((@IsNull_CodCliente = 1 AND [CodCliente] IS NULL) OR ([CodCliente] = @Original_CodCliente)) AND ((@IsNull_RagSociale = 1 AND [RagSociale] IS NULL) OR ([RagSociale] = @Original_RagSociale)) AND ((@IsNull_Particolare = 1 AND [Particolare] IS NULL) OR ([Particolare] = @Original_Particolare)) AND ((@IsNull_DescParticolare = 1 AND [DescParticolare] IS NULL) OR ([DescParticolare] = @Original_DescParticolare)) AND ((@IsNull_DisegnoGrezzo = 1 AND [DisegnoGrezzo] IS NULL) OR ([DisegnoGrezzo] = @Original_DisegnoGrezzo)) AND ((@IsNull_Esponente = 1 AND [Esponente] IS NULL) OR ([Esponente] = @Original_Esponente)) AND ((@IsNull_CodImpianto = 1 AND [CodImpianto] IS NULL) OR ([CodImpianto] = @Original_CodImpianto)) AND ((@IsNull_DescImpianto = 1 AND [DescImpianto] IS NULL) OR ([DescImpianto] = @Original_DescImpianto)) AND ((@IsNull_CodStampo = 1 AND [CodStampo] IS NULL) OR ([CodStampo] = @Original_CodStampo)) AND ((@IsNull_Figura = 1 AND [Figura] IS NULL) OR ([Figura] = @Original_Figura)) AND ((@IsNull_DataFus = 1 AND [DataFus] IS NULL) OR ([DataFus] = @Original_DataFus)) AND ((@IsNull_TurnoFus = 1 AND [TurnoFus] IS NULL) OR ([TurnoFus] = @Original_TurnoFus)) AND ((@IsNull_CodImballo = 1 AND [CodImballo] IS NULL) OR ([CodImballo] = @Original_CodImballo)) AND ((@IsNull_CodSoggetto = 1 AND [CodSoggetto] IS NULL) OR ([CodSoggetto] = @Original_CodSoggetto)) AND ((@IsNull_NumCont = 1 AND [NumCont] IS NULL) OR ([NumCont] = @Original_NumCont)) AND ((@IsNull_Tara = 1 AND [Tara] IS NULL) OR ([Tara] = @Original_Tara)) AND ((@IsNull_Qta = 1 AND [Qta] IS NULL) OR ([Qta] = @Original_Qta)) AND ((@IsNull_CodStato = 1 AND [CodStato] IS NULL) OR ([CodStato] = @Original_CodStato)) AND ((@IsNull_IdxPosizione = 1 AND [IdxPosizione] IS NULL) OR ([IdxPosizione] = @Original_IdxPosizione)) AND ((@IsNull_PesoTot = 1 AND [PesoTot] IS NULL) OR ([PesoTot] = @Original_PesoTot)) AND ((@IsNull_PesoCad = 1 AND [PesoCad] IS NULL) OR ([PesoCad] = @Original_PesoCad)) AND ((@IsNull_CreateDate = 1 AND [CreateDate] IS NULL) OR ([CreateDate] = @Original_CreateDate)) AND ((@IsNull_ModDate = 1 AND [ModDate] IS NULL) OR ([ModDate] = @Original_ModDate)) AND ((@IsNull_Note = 1 AND [Note] IS NULL) OR ([Note] = @Original_Note))); +SELECT 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, Note FROM ElencoCartellini WHERE (UDC = @UDC) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_UDC_getByFlussoDate + + + + + + + + + + + + + + dbo.stp_UDC_getLast_ByDataTurnoLineaParticolare + + + + + + + + + + + + + + + dbo.stp_getCartellinoByUdc + + + + + + + + + + + dbo.stp_UDC_insNewFull + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_UDC_insNewFull_fixUDC + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_riattivaUdc + + + + + + + + + + + + dbo.stp_sbloccaUdc + + + + + + + + + + + + dbo.stp_UDC_associaParent + + + + + + + + + + + + dbo.stp_UDC_delete_byRdQ + + + + + + + + + + + + dbo.stp_UDC_update + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DELETE FROM [RilPro].[AnagImballi] WHERE (([CodImballo] = @Original_CodImballo) AND ((@IsNull_ClasseArticolo = 1 AND [ClasseArticolo] IS NULL) OR ([ClasseArticolo] = @Original_ClasseArticolo)) AND ((@IsNull_DescImballo = 1 AND [DescImballo] IS NULL) OR ([DescImballo] = @Original_DescImballo))) + + + + + + + + + + + + INSERT INTO [RilPro].[AnagImballi] ([CodImballo], [ClasseArticolo], [DescImballo]) VALUES (@CodImballo, @ClasseArticolo, @DescImballo); +SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi WHERE (CodImballo = @CodImballo) + + + + + + + + + + SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi + + + + + + UPDATE [RilPro].[AnagImballi] SET [CodImballo] = @CodImballo, [ClasseArticolo] = @ClasseArticolo, [DescImballo] = @DescImballo WHERE (([CodImballo] = @Original_CodImballo) AND ((@IsNull_ClasseArticolo = 1 AND [ClasseArticolo] IS NULL) OR ([ClasseArticolo] = @Original_ClasseArticolo)) AND ((@IsNull_DescImballo = 1 AND [DescImballo] IS NULL) OR ([DescImballo] = @Original_DescImballo))); +SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi WHERE (CodImballo = @CodImballo) + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_getImballoByCod + + + + + + + + + + + + + + + SELECT CodImpianto, CodStampo, NumStampate, DataInizio, TurnoInizio, InizioValidita, FineValidita, NumFigure, CodCliente, RagSociale, CodArticolo, Particolare, DescParticolare, DisegnoGrezzo, CodFamiglia, DescFamiglia, Figura, Esponente FROM dbo.v_ArtInProd + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_ArtiInProd_ByImpData + + + + + + + + + + + + + + + + DELETE FROM [RilPro].[AnagOperatori] WHERE (([CodSoggetto] = @Original_CodSoggetto) AND ([CodCS] = @Original_CodCS) AND ((@IsNull_CodDipendente = 1 AND [CodDipendente] IS NULL) OR ([CodDipendente] = @Original_CodDipendente)) AND ([CodAziendaOp] = @Original_CodAziendaOp) AND ((@IsNull_DescAziendaOp = 1 AND [DescAziendaOp] IS NULL) OR ([DescAziendaOp] = @Original_DescAziendaOp)) AND ([CodFilialeOp] = @Original_CodFilialeOp) AND ((@IsNull_DescFilialeOp = 1 AND [DescFilialeOp] IS NULL) OR ([DescFilialeOp] = @Original_DescFilialeOp)) AND ([Cognome] = @Original_Cognome) AND ([Nome] = @Original_Nome)) + + + + + + + + + + + + + + + + + + + INSERT INTO [RilPro].[AnagOperatori] ([CodSoggetto], [CodCS], [CodDipendente], [CodAziendaOp], [DescAziendaOp], [CodFilialeOp], [DescFilialeOp], [Cognome], [Nome]) VALUES (@CodSoggetto, @CodCS, @CodDipendente, @CodAziendaOp, @DescAziendaOp, @CodFilialeOp, @DescFilialeOp, @Cognome, @Nome); +SELECT CodSoggetto, CodCS, CodDipendente, CodAziendaOp, DescAziendaOp, CodFilialeOp, DescFilialeOp, Cognome, Nome FROM RilPro.AnagOperatori WHERE (CodSoggetto = @CodSoggetto) + + + + + + + + + + + + + + + + SELECT CodSoggetto, CodCS, CodDipendente, CodAziendaOp, DescAziendaOp, CodFilialeOp, DescFilialeOp, Cognome, Nome FROM RilPro.AnagOperatori + + + + + + UPDATE [RilPro].[AnagOperatori] SET [CodSoggetto] = @CodSoggetto, [CodCS] = @CodCS, [CodDipendente] = @CodDipendente, [CodAziendaOp] = @CodAziendaOp, [DescAziendaOp] = @DescAziendaOp, [CodFilialeOp] = @CodFilialeOp, [DescFilialeOp] = @DescFilialeOp, [Cognome] = @Cognome, [Nome] = @Nome WHERE (([CodSoggetto] = @Original_CodSoggetto) AND ([CodCS] = @Original_CodCS) AND ((@IsNull_CodDipendente = 1 AND [CodDipendente] IS NULL) OR ([CodDipendente] = @Original_CodDipendente)) AND ([CodAziendaOp] = @Original_CodAziendaOp) AND ((@IsNull_DescAziendaOp = 1 AND [DescAziendaOp] IS NULL) OR ([DescAziendaOp] = @Original_DescAziendaOp)) AND ([CodFilialeOp] = @Original_CodFilialeOp) AND ((@IsNull_DescFilialeOp = 1 AND [DescFilialeOp] IS NULL) OR ([DescFilialeOp] = @Original_DescFilialeOp)) AND ([Cognome] = @Original_Cognome) AND ([Nome] = @Original_Nome)); +SELECT CodSoggetto, CodCS, CodDipendente, CodAziendaOp, DescAziendaOp, CodFilialeOp, DescFilialeOp, Cognome, Nome FROM RilPro.AnagOperatori WHERE (CodSoggetto = @CodSoggetto) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_anagOperatoriGetByCodSogg + + + + + + + + + + + + + + + DELETE FROM [RilPro].[AnagClienti] WHERE (([CodCliente] = @Original_CodCliente) AND ([RagSociale] = @Original_RagSociale) AND ((@IsNull_Lingua = 1 AND [Lingua] IS NULL) OR ([Lingua] = @Original_Lingua))) + + + + + + + + + + + INSERT INTO [RilPro].[AnagClienti] ([CodCliente], [RagSociale], [Lingua]) VALUES (@CodCliente, @RagSociale, @Lingua); +SELECT CodCliente, RagSociale, Lingua FROM RilPro.AnagClienti WHERE (CodCliente = @CodCliente) + + + + + + + + + + SELECT * FROM RilPro.AnagClienti + + + + + + UPDATE [RilPro].[AnagClienti] SET [CodCliente] = @CodCliente, [RagSociale] = @RagSociale, [Lingua] = @Lingua WHERE (([CodCliente] = @Original_CodCliente) AND ([RagSociale] = @Original_RagSociale) AND ((@IsNull_Lingua = 1 AND [Lingua] IS NULL) OR ([Lingua] = @Original_Lingua))); +SELECT CodCliente, RagSociale, Lingua FROM RilPro.AnagClienti WHERE (CodCliente = @CodCliente) + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_getRagioneSocialeByCodCliente + + + + + + + + + + + + + + + DELETE FROM [RilPro].[AnagParticolari] WHERE (([Particolare] = @Original_Particolare) AND ([CodCS] = @Original_CodCS) AND ([CodCliente] = @Original_CodCliente) AND ([DisegnoGrezzo] = @Original_DisegnoGrezzo) AND ((@IsNull_CodFamiglia = 1 AND [CodFamiglia] IS NULL) OR ([CodFamiglia] = @Original_CodFamiglia)) AND ((@IsNull_DescParticolare = 1 AND [DescParticolare] IS NULL) OR ([DescParticolare] = @Original_DescParticolare))) + + + + + + + + + + + + + + + INSERT INTO [RilPro].[AnagParticolari] ([Particolare], [CodCS], [CodCliente], [DisegnoGrezzo], [CodFamiglia], [DescParticolare]) VALUES (@Particolare, @CodCS, @CodCliente, @DisegnoGrezzo, @CodFamiglia, @DescParticolare); +SELECT Particolare, CodCS, CodCliente, DisegnoGrezzo, CodFamiglia, DescParticolare FROM RilPro.AnagParticolari WHERE (Particolare = @Particolare) + + + + + + + + + + + + + SELECT Particolare, CodCS, CodCliente, DisegnoGrezzo, CodFamiglia, DescParticolare FROM RilPro.AnagParticolari + + + + + + UPDATE [RilPro].[AnagParticolari] SET [Particolare] = @Particolare, [CodCS] = @CodCS, [CodCliente] = @CodCliente, [DisegnoGrezzo] = @DisegnoGrezzo, [CodFamiglia] = @CodFamiglia, [DescParticolare] = @DescParticolare WHERE (([Particolare] = @Original_Particolare) AND ([CodCS] = @Original_CodCS) AND ([CodCliente] = @Original_CodCliente) AND ([DisegnoGrezzo] = @Original_DisegnoGrezzo) AND ((@IsNull_CodFamiglia = 1 AND [CodFamiglia] IS NULL) OR ([CodFamiglia] = @Original_CodFamiglia)) AND ((@IsNull_DescParticolare = 1 AND [DescParticolare] IS NULL) OR ([DescParticolare] = @Original_DescParticolare))); +SELECT Particolare, CodCS, CodCliente, DisegnoGrezzo, CodFamiglia, DescParticolare FROM RilPro.AnagParticolari WHERE (Particolare = @Particolare) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SELECT Particolare, CodCS, CodCliente, DisegnoGrezzo, CodFamiglia, DescParticolare FROM RilPro.AnagParticolari +where Particolare = @Particolare + + + + + + + + + + + + + + DELETE FROM [RilPro].[AnagFamiglie] WHERE (([CodFamiglia] = @Original_CodFamiglia) AND ((@IsNull_DescFamiglia = 1 AND [DescFamiglia] IS NULL) OR ([DescFamiglia] = @Original_DescFamiglia))) + + + + + + + + + + INSERT INTO [RilPro].[AnagFamiglie] ([CodFamiglia], [DescFamiglia]) VALUES (@CodFamiglia, @DescFamiglia); +SELECT CodFamiglia, DescFamiglia FROM RilPro.AnagFamiglie WHERE (CodFamiglia = @CodFamiglia) + + + + + + + + + SELECT CodFamiglia, DescFamiglia FROM RilPro.AnagFamiglie + + + + + + UPDATE [RilPro].[AnagFamiglie] SET [CodFamiglia] = @CodFamiglia, [DescFamiglia] = @DescFamiglia WHERE (([CodFamiglia] = @Original_CodFamiglia) AND ((@IsNull_DescFamiglia = 1 AND [DescFamiglia] IS NULL) OR ([DescFamiglia] = @Original_DescFamiglia))); +SELECT CodFamiglia, DescFamiglia FROM RilPro.AnagFamiglie WHERE (CodFamiglia = @CodFamiglia) + + + + + + + + + + + + + + + + + + + + SELECT CodFamiglia, DescFamiglia FROM RilPro.AnagFamiglie +where CodFamiglia=@CodFamiglia + + + + + + + + + + + + + + DELETE FROM [dbo].[Soggetti2Utente] WHERE (([CodSoggetto] = @Original_CodSoggetto) AND ([USER_NAME] = @Original_USER_NAME) AND ((@IsNull_DOMINIO = 1 AND [DOMINIO] IS NULL) OR ([DOMINIO] = @Original_DOMINIO))) + + + + + + + + + + + INSERT INTO [dbo].[Soggetti2Utente] ([CodSoggetto], [USER_NAME], [DOMINIO]) VALUES (@CodSoggetto, @USER_NAME, @DOMINIO); +SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = @CodSoggetto) AND (USER_NAME = @USER_NAME) + + + + + + + + + + SELECT CodSoggetto, USER_NAME, DOMINIO FROM dbo.Soggetti2Utente + + + + + + UPDATE [dbo].[Soggetti2Utente] SET [CodSoggetto] = @CodSoggetto, [USER_NAME] = @USER_NAME, [DOMINIO] = @DOMINIO WHERE (([CodSoggetto] = @Original_CodSoggetto) AND ([USER_NAME] = @Original_USER_NAME) AND ((@IsNull_DOMINIO = 1 AND [DOMINIO] IS NULL) OR ([DOMINIO] = @Original_DOMINIO))); +SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = @CodSoggetto) AND (USER_NAME = @USER_NAME) + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_S2U_getByCodSogg + + + + + + + + + + + dbo.stp_S2U_getByUtente + + + + + + + + + + + + + + + + SELECT CodCliente, RagSociale, Particolare, DescParticolare, DisegnoGrezzo, Esponente, CodStampo, Figura FROM dbo.v_specParticolari + + + + + + + + + + + + + + + + + + + + dbo.stp_SpecParticolare + + + + + + + + + + + dbo.stp_anagFullParticolare + + + + + + + + + + + + + + + DELETE FROM [dbo].[ElencoPostazioni] WHERE (([codPostazione] = @Original_codPostazione) AND ((@IsNull_stampante = 1 AND [stampante] IS NULL) OR ([stampante] = @Original_stampante))) + + + + + + + + + + INSERT INTO [dbo].[ElencoPostazioni] ([codPostazione], [stampante]) VALUES (@codPostazione, @stampante); +SELECT codPostazione, stampante FROM ElencoPostazioni WHERE (codPostazione = @codPostazione) + + + + + + + + + SELECT codPostazione, stampante FROM dbo.ElencoPostazioni + + + + + + UPDATE [dbo].[ElencoPostazioni] SET [codPostazione] = @codPostazione, [stampante] = @stampante WHERE (([codPostazione] = @Original_codPostazione) AND ((@IsNull_stampante = 1 AND [stampante] IS NULL) OR ([stampante] = @Original_stampante))); +SELECT codPostazione, stampante FROM ElencoPostazioni WHERE (codPostazione = @codPostazione) + + + + + + + + + + + + + + + + + + + + dbo.stp_elencoPostaziont_getByCod + + + + + + + + + + + + + + + dbo.stp_prtCartLiquidiF10ByUDC + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_prtCartLiquidiF18ByUDC + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SELECT nRapQual, DataRapQual, ProgUDC, CodFor, DestTerz, CodLega, DataPrelFus, TurnoPrelFus, Qta, DestLega, LegaScaric, BenesQual, UDC, Note FROM dbo.v_RapQualNote + + + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_RQN_getByRQ + + + + + + + + + + + dbo.stp_UDC_updateNoteByRQ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/GMW_data/DS_Applicazione.xss b/GMW_data/DS_Applicazione.xss new file mode 100644 index 00000000..af4b60fe --- /dev/null +++ b/GMW_data/DS_Applicazione.xss @@ -0,0 +1,116 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1129 + 118 + + + 1077 + 118 + + + + + + + 1170 + 255 + + + 1170 + 466 + + + 764 + 466 + + + + + + + 336 + 722 + + + 336 + 466 + + + 464 + 466 + + + + + + + 1154 + 255 + + + 1154 + 882 + + + 725 + 882 + + + + + + + 1248 + 255 + + + 1248 + 331 + + + + + + + 488 + 934 + + + 305 + 934 + + + + + \ No newline at end of file diff --git a/GMW_data/DS_DataMatrix.Designer.cs b/GMW_data/DS_DataMatrix.Designer.cs new file mode 100644 index 00000000..05f1d99d --- /dev/null +++ b/GMW_data/DS_DataMatrix.Designer.cs @@ -0,0 +1,4220 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.17626 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +#pragma warning disable 1591 + +namespace GMW_data { + + + /// + ///Represents a strongly typed in-memory cache of data. + /// + [global::System.Serializable()] + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")] + [global::System.Xml.Serialization.XmlRootAttribute("DS_DataMatrix")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")] + public partial class DS_DataMatrix : global::System.Data.DataSet { + + private TranscodificaParticolariDataTable tableTranscodificaParticolari; + + private ElencoDataMatrixDataTable tableElencoDataMatrix; + + private v_trasfDataMatrixDataTable tablev_trasfDataMatrix; + + private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public DS_DataMatrix() { + this.BeginInit(); + this.InitClass(); + global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); + base.Tables.CollectionChanged += schemaChangedHandler; + base.Relations.CollectionChanged += schemaChangedHandler; + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected DS_DataMatrix(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context, false) { + if ((this.IsBinarySerialized(info, context) == true)) { + this.InitVars(false); + global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); + this.Tables.CollectionChanged += schemaChangedHandler1; + this.Relations.CollectionChanged += schemaChangedHandler1; + return; + } + string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string)))); + if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { + global::System.Data.DataSet ds = new global::System.Data.DataSet(); + ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); + if ((ds.Tables["TranscodificaParticolari"] != null)) { + base.Tables.Add(new TranscodificaParticolariDataTable(ds.Tables["TranscodificaParticolari"])); + } + if ((ds.Tables["ElencoDataMatrix"] != null)) { + base.Tables.Add(new ElencoDataMatrixDataTable(ds.Tables["ElencoDataMatrix"])); + } + if ((ds.Tables["v_trasfDataMatrix"] != null)) { + base.Tables.Add(new v_trasfDataMatrixDataTable(ds.Tables["v_trasfDataMatrix"])); + } + this.DataSetName = ds.DataSetName; + this.Prefix = ds.Prefix; + this.Namespace = ds.Namespace; + this.Locale = ds.Locale; + this.CaseSensitive = ds.CaseSensitive; + this.EnforceConstraints = ds.EnforceConstraints; + this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add); + this.InitVars(); + } + else { + this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); + } + this.GetSerializationData(info, context); + global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); + base.Tables.CollectionChanged += schemaChangedHandler; + this.Relations.CollectionChanged += schemaChangedHandler; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public TranscodificaParticolariDataTable TranscodificaParticolari { + get { + return this.tableTranscodificaParticolari; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public ElencoDataMatrixDataTable ElencoDataMatrix { + get { + return this.tableElencoDataMatrix; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_trasfDataMatrixDataTable v_trasfDataMatrix { + get { + return this.tablev_trasfDataMatrix; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.BrowsableAttribute(true)] + [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)] + public override global::System.Data.SchemaSerializationMode SchemaSerializationMode { + get { + return this._schemaSerializationMode; + } + set { + this._schemaSerializationMode = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public new global::System.Data.DataTableCollection Tables { + get { + return base.Tables; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public new global::System.Data.DataRelationCollection Relations { + get { + return base.Relations; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void InitializeDerivedDataSet() { + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataSet Clone() { + DS_DataMatrix cln = ((DS_DataMatrix)(base.Clone())); + cln.InitVars(); + cln.SchemaSerializationMode = this.SchemaSerializationMode; + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override bool ShouldSerializeTables() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override bool ShouldSerializeRelations() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) { + if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { + this.Reset(); + global::System.Data.DataSet ds = new global::System.Data.DataSet(); + ds.ReadXml(reader); + if ((ds.Tables["TranscodificaParticolari"] != null)) { + base.Tables.Add(new TranscodificaParticolariDataTable(ds.Tables["TranscodificaParticolari"])); + } + if ((ds.Tables["ElencoDataMatrix"] != null)) { + base.Tables.Add(new ElencoDataMatrixDataTable(ds.Tables["ElencoDataMatrix"])); + } + if ((ds.Tables["v_trasfDataMatrix"] != null)) { + base.Tables.Add(new v_trasfDataMatrixDataTable(ds.Tables["v_trasfDataMatrix"])); + } + this.DataSetName = ds.DataSetName; + this.Prefix = ds.Prefix; + this.Namespace = ds.Namespace; + this.Locale = ds.Locale; + this.CaseSensitive = ds.CaseSensitive; + this.EnforceConstraints = ds.EnforceConstraints; + this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add); + this.InitVars(); + } + else { + this.ReadXml(reader); + this.InitVars(); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() { + global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream(); + this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null)); + stream.Position = 0; + return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.InitVars(true); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars(bool initTable) { + this.tableTranscodificaParticolari = ((TranscodificaParticolariDataTable)(base.Tables["TranscodificaParticolari"])); + if ((initTable == true)) { + if ((this.tableTranscodificaParticolari != null)) { + this.tableTranscodificaParticolari.InitVars(); + } + } + this.tableElencoDataMatrix = ((ElencoDataMatrixDataTable)(base.Tables["ElencoDataMatrix"])); + if ((initTable == true)) { + if ((this.tableElencoDataMatrix != null)) { + this.tableElencoDataMatrix.InitVars(); + } + } + this.tablev_trasfDataMatrix = ((v_trasfDataMatrixDataTable)(base.Tables["v_trasfDataMatrix"])); + if ((initTable == true)) { + if ((this.tablev_trasfDataMatrix != null)) { + this.tablev_trasfDataMatrix.InitVars(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.DataSetName = "DS_DataMatrix"; + this.Prefix = ""; + this.Namespace = "http://tempuri.org/DS_DataMatrix.xsd"; + this.EnforceConstraints = true; + this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; + this.tableTranscodificaParticolari = new TranscodificaParticolariDataTable(); + base.Tables.Add(this.tableTranscodificaParticolari); + this.tableElencoDataMatrix = new ElencoDataMatrixDataTable(); + base.Tables.Add(this.tableElencoDataMatrix); + this.tablev_trasfDataMatrix = new v_trasfDataMatrixDataTable(); + base.Tables.Add(this.tablev_trasfDataMatrix); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeTranscodificaParticolari() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeElencoDataMatrix() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializev_trasfDataMatrix() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { + if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) { + this.InitVars(); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + DS_DataMatrix ds = new DS_DataMatrix(); + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny(); + any.Namespace = ds.Namespace; + sequence.Items.Add(any); + 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; + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void TranscodificaParticolariRowChangeEventHandler(object sender, TranscodificaParticolariRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void ElencoDataMatrixRowChangeEventHandler(object sender, ElencoDataMatrixRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void v_trasfDataMatrixRowChangeEventHandler(object sender, v_trasfDataMatrixRowChangeEvent e); + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class TranscodificaParticolariDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnNumDisegno; + + private global::System.Data.DataColumn columnEsponenteDisegno; + + private global::System.Data.DataColumn columnParticolare; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TranscodificaParticolariDataTable() { + this.TableName = "TranscodificaParticolari"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal TranscodificaParticolariDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected TranscodificaParticolariDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NumDisegnoColumn { + get { + return this.columnNumDisegno; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn EsponenteDisegnoColumn { + get { + return this.columnEsponenteDisegno; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ParticolareColumn { + get { + return this.columnParticolare; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TranscodificaParticolariRow this[int index] { + get { + return ((TranscodificaParticolariRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event TranscodificaParticolariRowChangeEventHandler TranscodificaParticolariRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event TranscodificaParticolariRowChangeEventHandler TranscodificaParticolariRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event TranscodificaParticolariRowChangeEventHandler TranscodificaParticolariRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event TranscodificaParticolariRowChangeEventHandler TranscodificaParticolariRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddTranscodificaParticolariRow(TranscodificaParticolariRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TranscodificaParticolariRow AddTranscodificaParticolariRow(decimal NumDisegno, byte EsponenteDisegno, string Particolare) { + TranscodificaParticolariRow rowTranscodificaParticolariRow = ((TranscodificaParticolariRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + NumDisegno, + EsponenteDisegno, + Particolare}; + rowTranscodificaParticolariRow.ItemArray = columnValuesArray; + this.Rows.Add(rowTranscodificaParticolariRow); + return rowTranscodificaParticolariRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TranscodificaParticolariRow FindByNumDisegnoEsponenteDisegno(decimal NumDisegno, byte EsponenteDisegno) { + return ((TranscodificaParticolariRow)(this.Rows.Find(new object[] { + NumDisegno, + EsponenteDisegno}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + TranscodificaParticolariDataTable cln = ((TranscodificaParticolariDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new TranscodificaParticolariDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnNumDisegno = base.Columns["NumDisegno"]; + this.columnEsponenteDisegno = base.Columns["EsponenteDisegno"]; + this.columnParticolare = base.Columns["Particolare"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnNumDisegno = new global::System.Data.DataColumn("NumDisegno", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNumDisegno); + this.columnEsponenteDisegno = new global::System.Data.DataColumn("EsponenteDisegno", typeof(byte), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnEsponenteDisegno); + this.columnParticolare = new global::System.Data.DataColumn("Particolare", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnParticolare); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnNumDisegno, + this.columnEsponenteDisegno}, true)); + this.columnNumDisegno.AllowDBNull = false; + this.columnEsponenteDisegno.AllowDBNull = false; + this.columnParticolare.AllowDBNull = false; + this.columnParticolare.MaxLength = 15; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TranscodificaParticolariRow NewTranscodificaParticolariRow() { + return ((TranscodificaParticolariRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new TranscodificaParticolariRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(TranscodificaParticolariRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.TranscodificaParticolariRowChanged != null)) { + this.TranscodificaParticolariRowChanged(this, new TranscodificaParticolariRowChangeEvent(((TranscodificaParticolariRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.TranscodificaParticolariRowChanging != null)) { + this.TranscodificaParticolariRowChanging(this, new TranscodificaParticolariRowChangeEvent(((TranscodificaParticolariRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.TranscodificaParticolariRowDeleted != null)) { + this.TranscodificaParticolariRowDeleted(this, new TranscodificaParticolariRowChangeEvent(((TranscodificaParticolariRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.TranscodificaParticolariRowDeleting != null)) { + this.TranscodificaParticolariRowDeleting(this, new TranscodificaParticolariRowChangeEvent(((TranscodificaParticolariRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveTranscodificaParticolariRow(TranscodificaParticolariRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_DataMatrix ds = new DS_DataMatrix(); + 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 = "TranscodificaParticolariDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class ElencoDataMatrixDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodDataMatrix; + + private global::System.Data.DataColumn columnCodGitterbox; + + private global::System.Data.DataColumn columnNumConchiglia; + + private global::System.Data.DataColumn columnNumDisegno; + + private global::System.Data.DataColumn columnEsponenteDisegno; + + private global::System.Data.DataColumn columnCodDifettoScarto; + + private global::System.Data.DataColumn columnInizioPreparazione; + + private global::System.Data.DataColumn columnFinePreparazione; + + private global::System.Data.DataColumn columnInizioIniezione; + + private global::System.Data.DataColumn columnFineIniezione; + + private global::System.Data.DataColumn columnMagDestinazione; + + private global::System.Data.DataColumn columnDataImport; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoDataMatrixDataTable() { + this.TableName = "ElencoDataMatrix"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal ElencoDataMatrixDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected ElencoDataMatrixDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodDataMatrixColumn { + get { + return this.columnCodDataMatrix; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodGitterboxColumn { + get { + return this.columnCodGitterbox; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NumConchigliaColumn { + get { + return this.columnNumConchiglia; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NumDisegnoColumn { + get { + return this.columnNumDisegno; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn EsponenteDisegnoColumn { + get { + return this.columnEsponenteDisegno; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodDifettoScartoColumn { + get { + return this.columnCodDifettoScarto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn InizioPreparazioneColumn { + get { + return this.columnInizioPreparazione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn FinePreparazioneColumn { + get { + return this.columnFinePreparazione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn InizioIniezioneColumn { + get { + return this.columnInizioIniezione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn FineIniezioneColumn { + get { + return this.columnFineIniezione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn MagDestinazioneColumn { + get { + return this.columnMagDestinazione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DataImportColumn { + get { + return this.columnDataImport; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoDataMatrixRow this[int index] { + get { + return ((ElencoDataMatrixRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event ElencoDataMatrixRowChangeEventHandler ElencoDataMatrixRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event ElencoDataMatrixRowChangeEventHandler ElencoDataMatrixRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event ElencoDataMatrixRowChangeEventHandler ElencoDataMatrixRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event ElencoDataMatrixRowChangeEventHandler ElencoDataMatrixRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddElencoDataMatrixRow(ElencoDataMatrixRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoDataMatrixRow AddElencoDataMatrixRow(decimal CodDataMatrix, string CodGitterbox, int NumConchiglia, decimal NumDisegno, byte EsponenteDisegno, string CodDifettoScarto, System.DateTime InizioPreparazione, System.DateTime FinePreparazione, System.DateTime InizioIniezione, System.DateTime FineIniezione, string MagDestinazione, System.DateTime DataImport) { + ElencoDataMatrixRow rowElencoDataMatrixRow = ((ElencoDataMatrixRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CodDataMatrix, + CodGitterbox, + NumConchiglia, + NumDisegno, + EsponenteDisegno, + CodDifettoScarto, + InizioPreparazione, + FinePreparazione, + InizioIniezione, + FineIniezione, + MagDestinazione, + DataImport}; + rowElencoDataMatrixRow.ItemArray = columnValuesArray; + this.Rows.Add(rowElencoDataMatrixRow); + return rowElencoDataMatrixRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoDataMatrixRow FindByCodDataMatrix(decimal CodDataMatrix) { + return ((ElencoDataMatrixRow)(this.Rows.Find(new object[] { + CodDataMatrix}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + ElencoDataMatrixDataTable cln = ((ElencoDataMatrixDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new ElencoDataMatrixDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnCodDataMatrix = base.Columns["CodDataMatrix"]; + this.columnCodGitterbox = base.Columns["CodGitterbox"]; + this.columnNumConchiglia = base.Columns["NumConchiglia"]; + this.columnNumDisegno = base.Columns["NumDisegno"]; + this.columnEsponenteDisegno = base.Columns["EsponenteDisegno"]; + this.columnCodDifettoScarto = base.Columns["CodDifettoScarto"]; + this.columnInizioPreparazione = base.Columns["InizioPreparazione"]; + this.columnFinePreparazione = base.Columns["FinePreparazione"]; + this.columnInizioIniezione = base.Columns["InizioIniezione"]; + this.columnFineIniezione = base.Columns["FineIniezione"]; + this.columnMagDestinazione = base.Columns["MagDestinazione"]; + this.columnDataImport = base.Columns["DataImport"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnCodDataMatrix = new global::System.Data.DataColumn("CodDataMatrix", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodDataMatrix); + this.columnCodGitterbox = new global::System.Data.DataColumn("CodGitterbox", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodGitterbox); + this.columnNumConchiglia = new global::System.Data.DataColumn("NumConchiglia", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNumConchiglia); + this.columnNumDisegno = new global::System.Data.DataColumn("NumDisegno", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNumDisegno); + this.columnEsponenteDisegno = new global::System.Data.DataColumn("EsponenteDisegno", typeof(byte), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnEsponenteDisegno); + this.columnCodDifettoScarto = new global::System.Data.DataColumn("CodDifettoScarto", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodDifettoScarto); + this.columnInizioPreparazione = new global::System.Data.DataColumn("InizioPreparazione", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnInizioPreparazione); + this.columnFinePreparazione = new global::System.Data.DataColumn("FinePreparazione", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnFinePreparazione); + this.columnInizioIniezione = new global::System.Data.DataColumn("InizioIniezione", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnInizioIniezione); + this.columnFineIniezione = new global::System.Data.DataColumn("FineIniezione", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnFineIniezione); + this.columnMagDestinazione = new global::System.Data.DataColumn("MagDestinazione", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnMagDestinazione); + this.columnDataImport = new global::System.Data.DataColumn("DataImport", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDataImport); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodDataMatrix}, true)); + this.columnCodDataMatrix.AllowDBNull = false; + this.columnCodDataMatrix.Unique = true; + this.columnCodGitterbox.AllowDBNull = false; + this.columnCodGitterbox.MaxLength = 10; + this.columnCodDifettoScarto.MaxLength = 5; + this.columnMagDestinazione.MaxLength = 2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoDataMatrixRow NewElencoDataMatrixRow() { + return ((ElencoDataMatrixRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new ElencoDataMatrixRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(ElencoDataMatrixRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.ElencoDataMatrixRowChanged != null)) { + this.ElencoDataMatrixRowChanged(this, new ElencoDataMatrixRowChangeEvent(((ElencoDataMatrixRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.ElencoDataMatrixRowChanging != null)) { + this.ElencoDataMatrixRowChanging(this, new ElencoDataMatrixRowChangeEvent(((ElencoDataMatrixRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.ElencoDataMatrixRowDeleted != null)) { + this.ElencoDataMatrixRowDeleted(this, new ElencoDataMatrixRowChangeEvent(((ElencoDataMatrixRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.ElencoDataMatrixRowDeleting != null)) { + this.ElencoDataMatrixRowDeleting(this, new ElencoDataMatrixRowChangeEvent(((ElencoDataMatrixRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveElencoDataMatrixRow(ElencoDataMatrixRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_DataMatrix ds = new DS_DataMatrix(); + 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 = "ElencoDataMatrixDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_trasfDataMatrixDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodDataMatrix; + + private global::System.Data.DataColumn columnCodGitterbox; + + private global::System.Data.DataColumn columnNumConchiglia; + + private global::System.Data.DataColumn columnNumDisegno; + + private global::System.Data.DataColumn columnEsponenteDisegno; + + private global::System.Data.DataColumn columnCodDifettoScarto; + + private global::System.Data.DataColumn columnInizioPreparazione; + + private global::System.Data.DataColumn columnFinePreparazione; + + private global::System.Data.DataColumn columnInizioIniezione; + + private global::System.Data.DataColumn columnFineIniezione; + + private global::System.Data.DataColumn columnMagDestinazione; + + private global::System.Data.DataColumn columnDataImport; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_trasfDataMatrixDataTable() { + this.TableName = "v_trasfDataMatrix"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_trasfDataMatrixDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected v_trasfDataMatrixDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodDataMatrixColumn { + get { + return this.columnCodDataMatrix; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodGitterboxColumn { + get { + return this.columnCodGitterbox; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NumConchigliaColumn { + get { + return this.columnNumConchiglia; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NumDisegnoColumn { + get { + return this.columnNumDisegno; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn EsponenteDisegnoColumn { + get { + return this.columnEsponenteDisegno; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodDifettoScartoColumn { + get { + return this.columnCodDifettoScarto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn InizioPreparazioneColumn { + get { + return this.columnInizioPreparazione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn FinePreparazioneColumn { + get { + return this.columnFinePreparazione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn InizioIniezioneColumn { + get { + return this.columnInizioIniezione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn FineIniezioneColumn { + get { + return this.columnFineIniezione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn MagDestinazioneColumn { + get { + return this.columnMagDestinazione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DataImportColumn { + get { + return this.columnDataImport; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_trasfDataMatrixRow this[int index] { + get { + return ((v_trasfDataMatrixRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_trasfDataMatrixRowChangeEventHandler v_trasfDataMatrixRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_trasfDataMatrixRowChangeEventHandler v_trasfDataMatrixRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_trasfDataMatrixRowChangeEventHandler v_trasfDataMatrixRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_trasfDataMatrixRowChangeEventHandler v_trasfDataMatrixRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addv_trasfDataMatrixRow(v_trasfDataMatrixRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_trasfDataMatrixRow Addv_trasfDataMatrixRow(string CodDataMatrix, string CodGitterbox, int NumConchiglia, decimal NumDisegno, byte EsponenteDisegno, string CodDifettoScarto, System.DateTime InizioPreparazione, System.DateTime FinePreparazione, System.DateTime InizioIniezione, System.DateTime FineIniezione, string MagDestinazione, System.DateTime DataImport) { + v_trasfDataMatrixRow rowv_trasfDataMatrixRow = ((v_trasfDataMatrixRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CodDataMatrix, + CodGitterbox, + NumConchiglia, + NumDisegno, + EsponenteDisegno, + CodDifettoScarto, + InizioPreparazione, + FinePreparazione, + InizioIniezione, + FineIniezione, + MagDestinazione, + DataImport}; + rowv_trasfDataMatrixRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_trasfDataMatrixRow); + return rowv_trasfDataMatrixRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + v_trasfDataMatrixDataTable cln = ((v_trasfDataMatrixDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new v_trasfDataMatrixDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnCodDataMatrix = base.Columns["CodDataMatrix"]; + this.columnCodGitterbox = base.Columns["CodGitterbox"]; + this.columnNumConchiglia = base.Columns["NumConchiglia"]; + this.columnNumDisegno = base.Columns["NumDisegno"]; + this.columnEsponenteDisegno = base.Columns["EsponenteDisegno"]; + this.columnCodDifettoScarto = base.Columns["CodDifettoScarto"]; + this.columnInizioPreparazione = base.Columns["InizioPreparazione"]; + this.columnFinePreparazione = base.Columns["FinePreparazione"]; + this.columnInizioIniezione = base.Columns["InizioIniezione"]; + this.columnFineIniezione = base.Columns["FineIniezione"]; + this.columnMagDestinazione = base.Columns["MagDestinazione"]; + this.columnDataImport = base.Columns["DataImport"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnCodDataMatrix = new global::System.Data.DataColumn("CodDataMatrix", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodDataMatrix); + this.columnCodGitterbox = new global::System.Data.DataColumn("CodGitterbox", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodGitterbox); + this.columnNumConchiglia = new global::System.Data.DataColumn("NumConchiglia", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNumConchiglia); + this.columnNumDisegno = new global::System.Data.DataColumn("NumDisegno", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNumDisegno); + this.columnEsponenteDisegno = new global::System.Data.DataColumn("EsponenteDisegno", typeof(byte), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnEsponenteDisegno); + this.columnCodDifettoScarto = new global::System.Data.DataColumn("CodDifettoScarto", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodDifettoScarto); + this.columnInizioPreparazione = new global::System.Data.DataColumn("InizioPreparazione", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnInizioPreparazione); + this.columnFinePreparazione = new global::System.Data.DataColumn("FinePreparazione", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnFinePreparazione); + this.columnInizioIniezione = new global::System.Data.DataColumn("InizioIniezione", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnInizioIniezione); + this.columnFineIniezione = new global::System.Data.DataColumn("FineIniezione", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnFineIniezione); + this.columnMagDestinazione = new global::System.Data.DataColumn("MagDestinazione", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnMagDestinazione); + this.columnDataImport = new global::System.Data.DataColumn("DataImport", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDataImport); + this.columnCodDataMatrix.ReadOnly = true; + this.columnCodDataMatrix.MaxLength = 41; + this.columnCodGitterbox.ReadOnly = true; + this.columnCodGitterbox.MaxLength = 10; + this.columnCodDifettoScarto.MaxLength = 5; + this.columnMagDestinazione.MaxLength = 2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_trasfDataMatrixRow Newv_trasfDataMatrixRow() { + return ((v_trasfDataMatrixRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_trasfDataMatrixRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(v_trasfDataMatrixRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_trasfDataMatrixRowChanged != null)) { + this.v_trasfDataMatrixRowChanged(this, new v_trasfDataMatrixRowChangeEvent(((v_trasfDataMatrixRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_trasfDataMatrixRowChanging != null)) { + this.v_trasfDataMatrixRowChanging(this, new v_trasfDataMatrixRowChangeEvent(((v_trasfDataMatrixRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_trasfDataMatrixRowDeleted != null)) { + this.v_trasfDataMatrixRowDeleted(this, new v_trasfDataMatrixRowChangeEvent(((v_trasfDataMatrixRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_trasfDataMatrixRowDeleting != null)) { + this.v_trasfDataMatrixRowDeleting(this, new v_trasfDataMatrixRowChangeEvent(((v_trasfDataMatrixRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removev_trasfDataMatrixRow(v_trasfDataMatrixRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_DataMatrix ds = new DS_DataMatrix(); + 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 = "v_trasfDataMatrixDataTable"; + 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. + /// + public partial class TranscodificaParticolariRow : global::System.Data.DataRow { + + private TranscodificaParticolariDataTable tableTranscodificaParticolari; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal TranscodificaParticolariRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableTranscodificaParticolari = ((TranscodificaParticolariDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal NumDisegno { + get { + return ((decimal)(this[this.tableTranscodificaParticolari.NumDisegnoColumn])); + } + set { + this[this.tableTranscodificaParticolari.NumDisegnoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public byte EsponenteDisegno { + get { + return ((byte)(this[this.tableTranscodificaParticolari.EsponenteDisegnoColumn])); + } + set { + this[this.tableTranscodificaParticolari.EsponenteDisegnoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Particolare { + get { + return ((string)(this[this.tableTranscodificaParticolari.ParticolareColumn])); + } + set { + this[this.tableTranscodificaParticolari.ParticolareColumn] = value; + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class ElencoDataMatrixRow : global::System.Data.DataRow { + + private ElencoDataMatrixDataTable tableElencoDataMatrix; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal ElencoDataMatrixRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableElencoDataMatrix = ((ElencoDataMatrixDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal CodDataMatrix { + get { + return ((decimal)(this[this.tableElencoDataMatrix.CodDataMatrixColumn])); + } + set { + this[this.tableElencoDataMatrix.CodDataMatrixColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodGitterbox { + get { + return ((string)(this[this.tableElencoDataMatrix.CodGitterboxColumn])); + } + set { + this[this.tableElencoDataMatrix.CodGitterboxColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int NumConchiglia { + get { + try { + return ((int)(this[this.tableElencoDataMatrix.NumConchigliaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'NumConchiglia\' in table \'ElencoDataMatrix\' is DBNull.", e); + } + } + set { + this[this.tableElencoDataMatrix.NumConchigliaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal NumDisegno { + get { + try { + return ((decimal)(this[this.tableElencoDataMatrix.NumDisegnoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'NumDisegno\' in table \'ElencoDataMatrix\' is DBNull.", e); + } + } + set { + this[this.tableElencoDataMatrix.NumDisegnoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public byte EsponenteDisegno { + get { + try { + return ((byte)(this[this.tableElencoDataMatrix.EsponenteDisegnoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'EsponenteDisegno\' in table \'ElencoDataMatrix\' is DBNull.", e); + } + } + set { + this[this.tableElencoDataMatrix.EsponenteDisegnoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodDifettoScarto { + get { + try { + return ((string)(this[this.tableElencoDataMatrix.CodDifettoScartoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodDifettoScarto\' in table \'ElencoDataMatrix\' is DBNull.", e); + } + } + set { + this[this.tableElencoDataMatrix.CodDifettoScartoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime InizioPreparazione { + get { + try { + return ((global::System.DateTime)(this[this.tableElencoDataMatrix.InizioPreparazioneColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'InizioPreparazione\' in table \'ElencoDataMatrix\' is DBNull.", e); + } + } + set { + this[this.tableElencoDataMatrix.InizioPreparazioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime FinePreparazione { + get { + try { + return ((global::System.DateTime)(this[this.tableElencoDataMatrix.FinePreparazioneColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'FinePreparazione\' in table \'ElencoDataMatrix\' is DBNull.", e); + } + } + set { + this[this.tableElencoDataMatrix.FinePreparazioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime InizioIniezione { + get { + try { + return ((global::System.DateTime)(this[this.tableElencoDataMatrix.InizioIniezioneColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'InizioIniezione\' in table \'ElencoDataMatrix\' is DBNull.", e); + } + } + set { + this[this.tableElencoDataMatrix.InizioIniezioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime FineIniezione { + get { + try { + return ((global::System.DateTime)(this[this.tableElencoDataMatrix.FineIniezioneColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'FineIniezione\' in table \'ElencoDataMatrix\' is DBNull.", e); + } + } + set { + this[this.tableElencoDataMatrix.FineIniezioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string MagDestinazione { + get { + try { + return ((string)(this[this.tableElencoDataMatrix.MagDestinazioneColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'MagDestinazione\' in table \'ElencoDataMatrix\' is DBNull.", e); + } + } + set { + this[this.tableElencoDataMatrix.MagDestinazioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime DataImport { + get { + try { + return ((global::System.DateTime)(this[this.tableElencoDataMatrix.DataImportColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DataImport\' in table \'ElencoDataMatrix\' is DBNull.", e); + } + } + set { + this[this.tableElencoDataMatrix.DataImportColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsNumConchigliaNull() { + return this.IsNull(this.tableElencoDataMatrix.NumConchigliaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetNumConchigliaNull() { + this[this.tableElencoDataMatrix.NumConchigliaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsNumDisegnoNull() { + return this.IsNull(this.tableElencoDataMatrix.NumDisegnoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetNumDisegnoNull() { + this[this.tableElencoDataMatrix.NumDisegnoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsEsponenteDisegnoNull() { + return this.IsNull(this.tableElencoDataMatrix.EsponenteDisegnoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetEsponenteDisegnoNull() { + this[this.tableElencoDataMatrix.EsponenteDisegnoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodDifettoScartoNull() { + return this.IsNull(this.tableElencoDataMatrix.CodDifettoScartoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodDifettoScartoNull() { + this[this.tableElencoDataMatrix.CodDifettoScartoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsInizioPreparazioneNull() { + return this.IsNull(this.tableElencoDataMatrix.InizioPreparazioneColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetInizioPreparazioneNull() { + this[this.tableElencoDataMatrix.InizioPreparazioneColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsFinePreparazioneNull() { + return this.IsNull(this.tableElencoDataMatrix.FinePreparazioneColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetFinePreparazioneNull() { + this[this.tableElencoDataMatrix.FinePreparazioneColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsInizioIniezioneNull() { + return this.IsNull(this.tableElencoDataMatrix.InizioIniezioneColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetInizioIniezioneNull() { + this[this.tableElencoDataMatrix.InizioIniezioneColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsFineIniezioneNull() { + return this.IsNull(this.tableElencoDataMatrix.FineIniezioneColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetFineIniezioneNull() { + this[this.tableElencoDataMatrix.FineIniezioneColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsMagDestinazioneNull() { + return this.IsNull(this.tableElencoDataMatrix.MagDestinazioneColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetMagDestinazioneNull() { + this[this.tableElencoDataMatrix.MagDestinazioneColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDataImportNull() { + return this.IsNull(this.tableElencoDataMatrix.DataImportColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDataImportNull() { + this[this.tableElencoDataMatrix.DataImportColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class v_trasfDataMatrixRow : global::System.Data.DataRow { + + private v_trasfDataMatrixDataTable tablev_trasfDataMatrix; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_trasfDataMatrixRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_trasfDataMatrix = ((v_trasfDataMatrixDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodDataMatrix { + get { + try { + return ((string)(this[this.tablev_trasfDataMatrix.CodDataMatrixColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodDataMatrix\' in table \'v_trasfDataMatrix\' is DBNull.", e); + } + } + set { + this[this.tablev_trasfDataMatrix.CodDataMatrixColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodGitterbox { + get { + try { + return ((string)(this[this.tablev_trasfDataMatrix.CodGitterboxColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodGitterbox\' in table \'v_trasfDataMatrix\' is DBNull.", e); + } + } + set { + this[this.tablev_trasfDataMatrix.CodGitterboxColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int NumConchiglia { + get { + try { + return ((int)(this[this.tablev_trasfDataMatrix.NumConchigliaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'NumConchiglia\' in table \'v_trasfDataMatrix\' is DBNull.", e); + } + } + set { + this[this.tablev_trasfDataMatrix.NumConchigliaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal NumDisegno { + get { + try { + return ((decimal)(this[this.tablev_trasfDataMatrix.NumDisegnoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'NumDisegno\' in table \'v_trasfDataMatrix\' is DBNull.", e); + } + } + set { + this[this.tablev_trasfDataMatrix.NumDisegnoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public byte EsponenteDisegno { + get { + try { + return ((byte)(this[this.tablev_trasfDataMatrix.EsponenteDisegnoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'EsponenteDisegno\' in table \'v_trasfDataMatrix\' is DBNull.", e); + } + } + set { + this[this.tablev_trasfDataMatrix.EsponenteDisegnoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodDifettoScarto { + get { + try { + return ((string)(this[this.tablev_trasfDataMatrix.CodDifettoScartoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodDifettoScarto\' in table \'v_trasfDataMatrix\' is DBNull.", e); + } + } + set { + this[this.tablev_trasfDataMatrix.CodDifettoScartoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime InizioPreparazione { + get { + try { + return ((global::System.DateTime)(this[this.tablev_trasfDataMatrix.InizioPreparazioneColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'InizioPreparazione\' in table \'v_trasfDataMatrix\' is DBNull." + + "", e); + } + } + set { + this[this.tablev_trasfDataMatrix.InizioPreparazioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime FinePreparazione { + get { + try { + return ((global::System.DateTime)(this[this.tablev_trasfDataMatrix.FinePreparazioneColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'FinePreparazione\' in table \'v_trasfDataMatrix\' is DBNull.", e); + } + } + set { + this[this.tablev_trasfDataMatrix.FinePreparazioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime InizioIniezione { + get { + try { + return ((global::System.DateTime)(this[this.tablev_trasfDataMatrix.InizioIniezioneColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'InizioIniezione\' in table \'v_trasfDataMatrix\' is DBNull.", e); + } + } + set { + this[this.tablev_trasfDataMatrix.InizioIniezioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime FineIniezione { + get { + try { + return ((global::System.DateTime)(this[this.tablev_trasfDataMatrix.FineIniezioneColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'FineIniezione\' in table \'v_trasfDataMatrix\' is DBNull.", e); + } + } + set { + this[this.tablev_trasfDataMatrix.FineIniezioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string MagDestinazione { + get { + try { + return ((string)(this[this.tablev_trasfDataMatrix.MagDestinazioneColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'MagDestinazione\' in table \'v_trasfDataMatrix\' is DBNull.", e); + } + } + set { + this[this.tablev_trasfDataMatrix.MagDestinazioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime DataImport { + get { + try { + return ((global::System.DateTime)(this[this.tablev_trasfDataMatrix.DataImportColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DataImport\' in table \'v_trasfDataMatrix\' is DBNull.", e); + } + } + set { + this[this.tablev_trasfDataMatrix.DataImportColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodDataMatrixNull() { + return this.IsNull(this.tablev_trasfDataMatrix.CodDataMatrixColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodDataMatrixNull() { + this[this.tablev_trasfDataMatrix.CodDataMatrixColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodGitterboxNull() { + return this.IsNull(this.tablev_trasfDataMatrix.CodGitterboxColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodGitterboxNull() { + this[this.tablev_trasfDataMatrix.CodGitterboxColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsNumConchigliaNull() { + return this.IsNull(this.tablev_trasfDataMatrix.NumConchigliaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetNumConchigliaNull() { + this[this.tablev_trasfDataMatrix.NumConchigliaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsNumDisegnoNull() { + return this.IsNull(this.tablev_trasfDataMatrix.NumDisegnoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetNumDisegnoNull() { + this[this.tablev_trasfDataMatrix.NumDisegnoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsEsponenteDisegnoNull() { + return this.IsNull(this.tablev_trasfDataMatrix.EsponenteDisegnoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetEsponenteDisegnoNull() { + this[this.tablev_trasfDataMatrix.EsponenteDisegnoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodDifettoScartoNull() { + return this.IsNull(this.tablev_trasfDataMatrix.CodDifettoScartoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodDifettoScartoNull() { + this[this.tablev_trasfDataMatrix.CodDifettoScartoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsInizioPreparazioneNull() { + return this.IsNull(this.tablev_trasfDataMatrix.InizioPreparazioneColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetInizioPreparazioneNull() { + this[this.tablev_trasfDataMatrix.InizioPreparazioneColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsFinePreparazioneNull() { + return this.IsNull(this.tablev_trasfDataMatrix.FinePreparazioneColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetFinePreparazioneNull() { + this[this.tablev_trasfDataMatrix.FinePreparazioneColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsInizioIniezioneNull() { + return this.IsNull(this.tablev_trasfDataMatrix.InizioIniezioneColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetInizioIniezioneNull() { + this[this.tablev_trasfDataMatrix.InizioIniezioneColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsFineIniezioneNull() { + return this.IsNull(this.tablev_trasfDataMatrix.FineIniezioneColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetFineIniezioneNull() { + this[this.tablev_trasfDataMatrix.FineIniezioneColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsMagDestinazioneNull() { + return this.IsNull(this.tablev_trasfDataMatrix.MagDestinazioneColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetMagDestinazioneNull() { + this[this.tablev_trasfDataMatrix.MagDestinazioneColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDataImportNull() { + return this.IsNull(this.tablev_trasfDataMatrix.DataImportColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDataImportNull() { + this[this.tablev_trasfDataMatrix.DataImportColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class TranscodificaParticolariRowChangeEvent : global::System.EventArgs { + + private TranscodificaParticolariRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TranscodificaParticolariRowChangeEvent(TranscodificaParticolariRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TranscodificaParticolariRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class ElencoDataMatrixRowChangeEvent : global::System.EventArgs { + + private ElencoDataMatrixRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoDataMatrixRowChangeEvent(ElencoDataMatrixRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoDataMatrixRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class v_trasfDataMatrixRowChangeEvent : global::System.EventArgs { + + private v_trasfDataMatrixRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_trasfDataMatrixRowChangeEvent(v_trasfDataMatrixRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_trasfDataMatrixRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + } +} +namespace GMW_data.DS_DataMatrixTableAdapters { + + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class TranscodificaParticolariTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TranscodificaParticolariTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "TranscodificaParticolari"; + tableMapping.ColumnMappings.Add("NumDisegno", "NumDisegno"); + tableMapping.ColumnMappings.Add("EsponenteDisegno", "EsponenteDisegno"); + tableMapping.ColumnMappings.Add("Particolare", "Particolare"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = "DELETE FROM [dbo].[TranscodificaParticolari] WHERE (([NumDisegno] = @Original_Num" + + "Disegno) AND ([EsponenteDisegno] = @Original_EsponenteDisegno) AND ([Particolare" + + "] = @Original_Particolare))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumDisegno", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 7, 0, "NumDisegno", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EsponenteDisegno", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EsponenteDisegno", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Particolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Particolare", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[TranscodificaParticolari] ([NumDisegno], [EsponenteDisegno], [Particolare]) VALUES (@NumDisegno, @EsponenteDisegno, @Particolare); +SELECT NumDisegno, EsponenteDisegno, Particolare FROM TranscodificaParticolari WHERE (EsponenteDisegno = @EsponenteDisegno) AND (NumDisegno = @NumDisegno)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumDisegno", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 7, 0, "NumDisegno", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EsponenteDisegno", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EsponenteDisegno", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Particolare", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[TranscodificaParticolari] SET [NumDisegno] = @NumDisegno, [EsponenteDisegno] = @EsponenteDisegno, [Particolare] = @Particolare WHERE (([NumDisegno] = @Original_NumDisegno) AND ([EsponenteDisegno] = @Original_EsponenteDisegno) AND ([Particolare] = @Original_Particolare)); +SELECT NumDisegno, EsponenteDisegno, Particolare FROM TranscodificaParticolari WHERE (EsponenteDisegno = @EsponenteDisegno) AND (NumDisegno = @NumDisegno)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumDisegno", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 7, 0, "NumDisegno", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EsponenteDisegno", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EsponenteDisegno", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Particolare", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumDisegno", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 7, 0, "NumDisegno", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EsponenteDisegno", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EsponenteDisegno", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Particolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Particolare", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::GMW_data.Properties.Settings.Default.SP_produzioneConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "SELECT NumDisegno, EsponenteDisegno, Particolare FROM dbo.TranscodificaParticolar" + + "i"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_DataMatrix.TranscodificaParticolariDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_DataMatrix.TranscodificaParticolariDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_DataMatrix.TranscodificaParticolariDataTable dataTable = new DS_DataMatrix.TranscodificaParticolariDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_DataMatrix.TranscodificaParticolariDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_DataMatrix dataSet) { + return this.Adapter.Update(dataSet, "TranscodificaParticolari"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(decimal Original_NumDisegno, byte Original_EsponenteDisegno, string Original_Particolare) { + this.Adapter.DeleteCommand.Parameters[0].Value = ((decimal)(Original_NumDisegno)); + this.Adapter.DeleteCommand.Parameters[1].Value = ((byte)(Original_EsponenteDisegno)); + if ((Original_Particolare == null)) { + throw new global::System.ArgumentNullException("Original_Particolare"); + } + else { + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_Particolare)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(decimal NumDisegno, byte EsponenteDisegno, string Particolare) { + this.Adapter.InsertCommand.Parameters[0].Value = ((decimal)(NumDisegno)); + this.Adapter.InsertCommand.Parameters[1].Value = ((byte)(EsponenteDisegno)); + if ((Particolare == null)) { + throw new global::System.ArgumentNullException("Particolare"); + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(Particolare)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(decimal NumDisegno, byte EsponenteDisegno, string Particolare, decimal Original_NumDisegno, byte Original_EsponenteDisegno, string Original_Particolare) { + this.Adapter.UpdateCommand.Parameters[0].Value = ((decimal)(NumDisegno)); + this.Adapter.UpdateCommand.Parameters[1].Value = ((byte)(EsponenteDisegno)); + if ((Particolare == null)) { + throw new global::System.ArgumentNullException("Particolare"); + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Particolare)); + } + this.Adapter.UpdateCommand.Parameters[3].Value = ((decimal)(Original_NumDisegno)); + this.Adapter.UpdateCommand.Parameters[4].Value = ((byte)(Original_EsponenteDisegno)); + if ((Original_Particolare == null)) { + throw new global::System.ArgumentNullException("Original_Particolare"); + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Original_Particolare)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string Particolare, decimal Original_NumDisegno, byte Original_EsponenteDisegno, string Original_Particolare) { + return this.Update(Original_NumDisegno, Original_EsponenteDisegno, Particolare, Original_NumDisegno, Original_EsponenteDisegno, Original_Particolare); + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class ElencoDataMatrixTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoDataMatrixTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "ElencoDataMatrix"; + tableMapping.ColumnMappings.Add("CodDataMatrix", "CodDataMatrix"); + tableMapping.ColumnMappings.Add("CodGitterbox", "CodGitterbox"); + tableMapping.ColumnMappings.Add("NumConchiglia", "NumConchiglia"); + tableMapping.ColumnMappings.Add("NumDisegno", "NumDisegno"); + tableMapping.ColumnMappings.Add("EsponenteDisegno", "EsponenteDisegno"); + tableMapping.ColumnMappings.Add("CodDifettoScarto", "CodDifettoScarto"); + tableMapping.ColumnMappings.Add("InizioPreparazione", "InizioPreparazione"); + tableMapping.ColumnMappings.Add("FinePreparazione", "FinePreparazione"); + tableMapping.ColumnMappings.Add("InizioIniezione", "InizioIniezione"); + tableMapping.ColumnMappings.Add("FineIniezione", "FineIniezione"); + tableMapping.ColumnMappings.Add("MagDestinazione", "MagDestinazione"); + tableMapping.ColumnMappings.Add("DataImport", "DataImport"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[ElencoDataMatrix] WHERE (([CodDataMatrix] = @Original_CodDataMatrix) AND ([CodGitterbox] = @Original_CodGitterbox) AND ((@IsNull_NumConchiglia = 1 AND [NumConchiglia] IS NULL) OR ([NumConchiglia] = @Original_NumConchiglia)) AND ((@IsNull_NumDisegno = 1 AND [NumDisegno] IS NULL) OR ([NumDisegno] = @Original_NumDisegno)) AND ((@IsNull_EsponenteDisegno = 1 AND [EsponenteDisegno] IS NULL) OR ([EsponenteDisegno] = @Original_EsponenteDisegno)) AND ((@IsNull_CodDifettoScarto = 1 AND [CodDifettoScarto] IS NULL) OR ([CodDifettoScarto] = @Original_CodDifettoScarto)) AND ((@IsNull_InizioPreparazione = 1 AND [InizioPreparazione] IS NULL) OR ([InizioPreparazione] = @Original_InizioPreparazione)) AND ((@IsNull_FinePreparazione = 1 AND [FinePreparazione] IS NULL) OR ([FinePreparazione] = @Original_FinePreparazione)) AND ((@IsNull_InizioIniezione = 1 AND [InizioIniezione] IS NULL) OR ([InizioIniezione] = @Original_InizioIniezione)) AND ((@IsNull_FineIniezione = 1 AND [FineIniezione] IS NULL) OR ([FineIniezione] = @Original_FineIniezione)) AND ((@IsNull_MagDestinazione = 1 AND [MagDestinazione] IS NULL) OR ([MagDestinazione] = @Original_MagDestinazione)) AND ((@IsNull_DataImport = 1 AND [DataImport] IS NULL) OR ([DataImport] = @Original_DataImport)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodDataMatrix", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 23, 0, "CodDataMatrix", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodGitterbox", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodGitterbox", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_NumConchiglia", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumConchiglia", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumConchiglia", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumConchiglia", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_NumDisegno", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumDisegno", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumDisegno", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 7, 0, "NumDisegno", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_EsponenteDisegno", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EsponenteDisegno", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EsponenteDisegno", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EsponenteDisegno", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodDifettoScarto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodDifettoScarto", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodDifettoScarto", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodDifettoScarto", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_InizioPreparazione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "InizioPreparazione", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_InizioPreparazione", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "InizioPreparazione", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_FinePreparazione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FinePreparazione", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FinePreparazione", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FinePreparazione", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_InizioIniezione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "InizioIniezione", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_InizioIniezione", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "InizioIniezione", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_FineIniezione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FineIniezione", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FineIniezione", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FineIniezione", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_MagDestinazione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MagDestinazione", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MagDestinazione", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MagDestinazione", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DataImport", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataImport", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataImport", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataImport", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[ElencoDataMatrix] ([CodDataMatrix], [CodGitterbox], [NumConchiglia], [NumDisegno], [EsponenteDisegno], [CodDifettoScarto], [InizioPreparazione], [FinePreparazione], [InizioIniezione], [FineIniezione], [MagDestinazione], [DataImport]) VALUES (@CodDataMatrix, @CodGitterbox, @NumConchiglia, @NumDisegno, @EsponenteDisegno, @CodDifettoScarto, @InizioPreparazione, @FinePreparazione, @InizioIniezione, @FineIniezione, @MagDestinazione, @DataImport); +SELECT CodDataMatrix, CodGitterbox, NumConchiglia, NumDisegno, EsponenteDisegno, CodDifettoScarto, InizioPreparazione, FinePreparazione, InizioIniezione, FineIniezione, MagDestinazione, DataImport FROM ElencoDataMatrix WHERE (CodDataMatrix = @CodDataMatrix)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodDataMatrix", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 23, 0, "CodDataMatrix", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodGitterbox", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodGitterbox", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumConchiglia", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumConchiglia", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumDisegno", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 7, 0, "NumDisegno", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EsponenteDisegno", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EsponenteDisegno", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodDifettoScarto", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodDifettoScarto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@InizioPreparazione", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "InizioPreparazione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FinePreparazione", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FinePreparazione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@InizioIniezione", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "InizioIniezione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FineIniezione", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FineIniezione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MagDestinazione", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MagDestinazione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataImport", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataImport", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = "UPDATE [dbo].[ElencoDataMatrix] SET [CodDataMatrix] = @CodDataMatrix, [CodGitterb" + + "ox] = @CodGitterbox, [NumConchiglia] = @NumConchiglia, [NumDisegno] = @NumDisegn" + + "o, [EsponenteDisegno] = @EsponenteDisegno, [CodDifettoScarto] = @CodDifettoScart" + + "o, [InizioPreparazione] = @InizioPreparazione, [FinePreparazione] = @FinePrepara" + + "zione, [InizioIniezione] = @InizioIniezione, [FineIniezione] = @FineIniezione, [" + + "MagDestinazione] = @MagDestinazione, [DataImport] = @DataImport WHERE (([CodData" + + "Matrix] = @Original_CodDataMatrix) AND ([CodGitterbox] = @Original_CodGitterbox)" + + " AND ((@IsNull_NumConchiglia = 1 AND [NumConchiglia] IS NULL) OR ([NumConchiglia" + + "] = @Original_NumConchiglia)) AND ((@IsNull_NumDisegno = 1 AND [NumDisegno] IS N" + + "ULL) OR ([NumDisegno] = @Original_NumDisegno)) AND ((@IsNull_EsponenteDisegno = " + + "1 AND [EsponenteDisegno] IS NULL) OR ([EsponenteDisegno] = @Original_EsponenteDi" + + "segno)) AND ((@IsNull_CodDifettoScarto = 1 AND [CodDifettoScarto] IS NULL) OR ([" + + "CodDifettoScarto] = @Original_CodDifettoScarto)) AND ((@IsNull_InizioPreparazion" + + "e = 1 AND [InizioPreparazione] IS NULL) OR ([InizioPreparazione] = @Original_Ini" + + "zioPreparazione)) AND ((@IsNull_FinePreparazione = 1 AND [FinePreparazione] IS N" + + "ULL) OR ([FinePreparazione] = @Original_FinePreparazione)) AND ((@IsNull_InizioI" + + "niezione = 1 AND [InizioIniezione] IS NULL) OR ([InizioIniezione] = @Original_In" + + "izioIniezione)) AND ((@IsNull_FineIniezione = 1 AND [FineIniezione] IS NULL) OR " + + "([FineIniezione] = @Original_FineIniezione)) AND ((@IsNull_MagDestinazione = 1 A" + + "ND [MagDestinazione] IS NULL) OR ([MagDestinazione] = @Original_MagDestinazione)" + + ") AND ((@IsNull_DataImport = 1 AND [DataImport] IS NULL) OR ([DataImport] = @Ori" + + "ginal_DataImport)));\r\nSELECT CodDataMatrix, CodGitterbox, NumConchiglia, NumDise" + + "gno, EsponenteDisegno, CodDifettoScarto, InizioPreparazione, FinePreparazione, I" + + "nizioIniezione, FineIniezione, MagDestinazione, DataImport FROM ElencoDataMatrix" + + " WHERE (CodDataMatrix = @CodDataMatrix)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodDataMatrix", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 23, 0, "CodDataMatrix", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodGitterbox", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodGitterbox", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumConchiglia", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumConchiglia", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumDisegno", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 7, 0, "NumDisegno", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EsponenteDisegno", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EsponenteDisegno", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodDifettoScarto", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodDifettoScarto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@InizioPreparazione", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "InizioPreparazione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FinePreparazione", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FinePreparazione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@InizioIniezione", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "InizioIniezione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FineIniezione", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FineIniezione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MagDestinazione", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MagDestinazione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataImport", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataImport", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodDataMatrix", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 23, 0, "CodDataMatrix", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodGitterbox", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodGitterbox", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_NumConchiglia", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumConchiglia", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumConchiglia", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumConchiglia", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_NumDisegno", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumDisegno", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumDisegno", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 7, 0, "NumDisegno", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_EsponenteDisegno", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EsponenteDisegno", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EsponenteDisegno", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EsponenteDisegno", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodDifettoScarto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodDifettoScarto", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodDifettoScarto", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodDifettoScarto", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_InizioPreparazione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "InizioPreparazione", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_InizioPreparazione", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "InizioPreparazione", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_FinePreparazione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FinePreparazione", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FinePreparazione", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FinePreparazione", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_InizioIniezione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "InizioIniezione", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_InizioIniezione", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "InizioIniezione", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_FineIniezione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FineIniezione", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FineIniezione", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FineIniezione", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_MagDestinazione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MagDestinazione", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MagDestinazione", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MagDestinazione", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DataImport", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataImport", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataImport", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataImport", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[6]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT CodDataMatrix, CodGitterbox, NumConchiglia, NumDisegno, EsponenteDisegno, " + + "CodDifettoScarto, InizioPreparazione, FinePreparazione, InizioIniezione, FineIni" + + "ezione, MagDestinazione, DataImport FROM dbo.ElencoDataMatrix"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "dbo.stp_EDM_getByCode"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[1].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[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodDataMatrix", global::System.Data.SqlDbType.Decimal, 13, global::System.Data.ParameterDirection.Input, 23, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[2].Connection = this.Connection; + this._commandCollection[2].CommandText = "dbo.stp_EDM_getByGitterBox"; + this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[2].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[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodGitterbox", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[3].Connection = this.Connection; + this._commandCollection[3].CommandText = "dbo.stp_EDM_spostaDataMtx"; + this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[3].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[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodDataMatrix", global::System.Data.SqlDbType.Decimal, 13, global::System.Data.ParameterDirection.Input, 23, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodGitterbox", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.VarChar, 17, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[4].Connection = this.Connection; + this._commandCollection[4].CommandText = "dbo.stp_DtMtrx_import"; + this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[4].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[4].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[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxPosizione", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.VarChar, 17, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[5].Connection = this.Connection; + this._commandCollection[5].CommandText = "dbo.stp_EDM_svuotaGitterbox"; + this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodGitterbox", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.VarChar, 17, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_DataMatrix.ElencoDataMatrixDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_DataMatrix.ElencoDataMatrixDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_DataMatrix.ElencoDataMatrixDataTable dataTable = new DS_DataMatrix.ElencoDataMatrixDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_DataMatrix.ElencoDataMatrixDataTable getByCode(global::System.Nullable CodDataMatrix) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((CodDataMatrix.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[1].Value = ((decimal)(CodDataMatrix.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + DS_DataMatrix.ElencoDataMatrixDataTable dataTable = new DS_DataMatrix.ElencoDataMatrixDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_DataMatrix.ElencoDataMatrixDataTable getByGitterbox(string CodGitterbox) { + this.Adapter.SelectCommand = this.CommandCollection[2]; + if ((CodGitterbox == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodGitterbox)); + } + DS_DataMatrix.ElencoDataMatrixDataTable dataTable = new DS_DataMatrix.ElencoDataMatrixDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_DataMatrix.ElencoDataMatrixDataTable spostaInGitterbox(global::System.Nullable CodDataMatrix, string CodGitterbox, string CodSoggetto) { + this.Adapter.SelectCommand = this.CommandCollection[3]; + if ((CodDataMatrix.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[1].Value = ((decimal)(CodDataMatrix.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + if ((CodGitterbox == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodGitterbox)); + } + if ((CodSoggetto == null)) { + this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[3].Value = ((string)(CodSoggetto)); + } + DS_DataMatrix.ElencoDataMatrixDataTable dataTable = new DS_DataMatrix.ElencoDataMatrixDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_DataMatrix.ElencoDataMatrixDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_DataMatrix dataSet) { + return this.Adapter.Update(dataSet, "ElencoDataMatrix"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(decimal Original_CodDataMatrix, string Original_CodGitterbox, global::System.Nullable Original_NumConchiglia, global::System.Nullable Original_NumDisegno, global::System.Nullable Original_EsponenteDisegno, string Original_CodDifettoScarto, global::System.Nullable Original_InizioPreparazione, global::System.Nullable Original_FinePreparazione, global::System.Nullable Original_InizioIniezione, global::System.Nullable Original_FineIniezione, string Original_MagDestinazione, global::System.Nullable Original_DataImport) { + this.Adapter.DeleteCommand.Parameters[0].Value = ((decimal)(Original_CodDataMatrix)); + if ((Original_CodGitterbox == null)) { + throw new global::System.ArgumentNullException("Original_CodGitterbox"); + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_CodGitterbox)); + } + if ((Original_NumConchiglia.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[3].Value = ((int)(Original_NumConchiglia.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[3].Value = global::System.DBNull.Value; + } + if ((Original_NumDisegno.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[5].Value = ((decimal)(Original_NumDisegno.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[5].Value = global::System.DBNull.Value; + } + if ((Original_EsponenteDisegno.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[7].Value = ((byte)(Original_EsponenteDisegno.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[7].Value = global::System.DBNull.Value; + } + if ((Original_CodDifettoScarto == null)) { + this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[9].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[9].Value = ((string)(Original_CodDifettoScarto)); + } + if ((Original_InizioPreparazione.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[10].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[11].Value = ((System.DateTime)(Original_InizioPreparazione.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[10].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[11].Value = global::System.DBNull.Value; + } + if ((Original_FinePreparazione.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[12].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[13].Value = ((System.DateTime)(Original_FinePreparazione.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[12].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[13].Value = global::System.DBNull.Value; + } + if ((Original_InizioIniezione.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[14].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[15].Value = ((System.DateTime)(Original_InizioIniezione.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[14].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[15].Value = global::System.DBNull.Value; + } + if ((Original_FineIniezione.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[16].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[17].Value = ((System.DateTime)(Original_FineIniezione.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[16].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[17].Value = global::System.DBNull.Value; + } + if ((Original_MagDestinazione == null)) { + this.Adapter.DeleteCommand.Parameters[18].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[19].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[18].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[19].Value = ((string)(Original_MagDestinazione)); + } + if ((Original_DataImport.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[20].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[21].Value = ((System.DateTime)(Original_DataImport.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[20].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[21].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(decimal CodDataMatrix, string CodGitterbox, global::System.Nullable NumConchiglia, global::System.Nullable NumDisegno, global::System.Nullable EsponenteDisegno, string CodDifettoScarto, global::System.Nullable InizioPreparazione, global::System.Nullable FinePreparazione, global::System.Nullable InizioIniezione, global::System.Nullable FineIniezione, string MagDestinazione, global::System.Nullable DataImport) { + this.Adapter.InsertCommand.Parameters[0].Value = ((decimal)(CodDataMatrix)); + if ((CodGitterbox == null)) { + throw new global::System.ArgumentNullException("CodGitterbox"); + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(CodGitterbox)); + } + if ((NumConchiglia.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[2].Value = ((int)(NumConchiglia.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + if ((NumDisegno.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[3].Value = ((decimal)(NumDisegno.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; + } + if ((EsponenteDisegno.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[4].Value = ((byte)(EsponenteDisegno.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; + } + if ((CodDifettoScarto == null)) { + this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[5].Value = ((string)(CodDifettoScarto)); + } + if ((InizioPreparazione.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[6].Value = ((System.DateTime)(InizioPreparazione.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; + } + if ((FinePreparazione.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[7].Value = ((System.DateTime)(FinePreparazione.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; + } + if ((InizioIniezione.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[8].Value = ((System.DateTime)(InizioIniezione.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value; + } + if ((FineIniezione.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[9].Value = ((System.DateTime)(FineIniezione.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value; + } + if ((MagDestinazione == null)) { + this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[10].Value = ((string)(MagDestinazione)); + } + if ((DataImport.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[11].Value = ((System.DateTime)(DataImport.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update( + decimal CodDataMatrix, + string CodGitterbox, + global::System.Nullable NumConchiglia, + global::System.Nullable NumDisegno, + global::System.Nullable EsponenteDisegno, + string CodDifettoScarto, + global::System.Nullable InizioPreparazione, + global::System.Nullable FinePreparazione, + global::System.Nullable InizioIniezione, + global::System.Nullable FineIniezione, + string MagDestinazione, + global::System.Nullable DataImport, + decimal Original_CodDataMatrix, + string Original_CodGitterbox, + global::System.Nullable Original_NumConchiglia, + global::System.Nullable Original_NumDisegno, + global::System.Nullable Original_EsponenteDisegno, + string Original_CodDifettoScarto, + global::System.Nullable Original_InizioPreparazione, + global::System.Nullable Original_FinePreparazione, + global::System.Nullable Original_InizioIniezione, + global::System.Nullable Original_FineIniezione, + string Original_MagDestinazione, + global::System.Nullable Original_DataImport) { + this.Adapter.UpdateCommand.Parameters[0].Value = ((decimal)(CodDataMatrix)); + if ((CodGitterbox == null)) { + throw new global::System.ArgumentNullException("CodGitterbox"); + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(CodGitterbox)); + } + if ((NumConchiglia.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(NumConchiglia.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + if ((NumDisegno.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[3].Value = ((decimal)(NumDisegno.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; + } + if ((EsponenteDisegno.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[4].Value = ((byte)(EsponenteDisegno.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + if ((CodDifettoScarto == null)) { + this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(CodDifettoScarto)); + } + if ((InizioPreparazione.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[6].Value = ((System.DateTime)(InizioPreparazione.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; + } + if ((FinePreparazione.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[7].Value = ((System.DateTime)(FinePreparazione.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; + } + if ((InizioIniezione.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[8].Value = ((System.DateTime)(InizioIniezione.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; + } + if ((FineIniezione.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[9].Value = ((System.DateTime)(FineIniezione.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value; + } + if ((MagDestinazione == null)) { + this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(MagDestinazione)); + } + if ((DataImport.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[11].Value = ((System.DateTime)(DataImport.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value; + } + this.Adapter.UpdateCommand.Parameters[12].Value = ((decimal)(Original_CodDataMatrix)); + if ((Original_CodGitterbox == null)) { + throw new global::System.ArgumentNullException("Original_CodGitterbox"); + } + else { + this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(Original_CodGitterbox)); + } + if ((Original_NumConchiglia.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[15].Value = ((int)(Original_NumConchiglia.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value; + } + if ((Original_NumDisegno.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[17].Value = ((decimal)(Original_NumDisegno.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value; + } + if ((Original_EsponenteDisegno.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[19].Value = ((byte)(Original_EsponenteDisegno.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value; + } + if ((Original_CodDifettoScarto == null)) { + this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(Original_CodDifettoScarto)); + } + if ((Original_InizioPreparazione.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[23].Value = ((System.DateTime)(Original_InizioPreparazione.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value; + } + if ((Original_FinePreparazione.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[25].Value = ((System.DateTime)(Original_FinePreparazione.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value; + } + if ((Original_InizioIniezione.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[27].Value = ((System.DateTime)(Original_InizioIniezione.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[27].Value = global::System.DBNull.Value; + } + if ((Original_FineIniezione.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[29].Value = ((System.DateTime)(Original_FineIniezione.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[29].Value = global::System.DBNull.Value; + } + if ((Original_MagDestinazione == null)) { + this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[31].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[31].Value = ((string)(Original_MagDestinazione)); + } + if ((Original_DataImport.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[33].Value = ((System.DateTime)(Original_DataImport.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[33].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update( + string CodGitterbox, + global::System.Nullable NumConchiglia, + global::System.Nullable NumDisegno, + global::System.Nullable EsponenteDisegno, + string CodDifettoScarto, + global::System.Nullable InizioPreparazione, + global::System.Nullable FinePreparazione, + global::System.Nullable InizioIniezione, + global::System.Nullable FineIniezione, + string MagDestinazione, + global::System.Nullable DataImport, + decimal Original_CodDataMatrix, + string Original_CodGitterbox, + global::System.Nullable Original_NumConchiglia, + global::System.Nullable Original_NumDisegno, + global::System.Nullable Original_EsponenteDisegno, + string Original_CodDifettoScarto, + global::System.Nullable Original_InizioPreparazione, + global::System.Nullable Original_FinePreparazione, + global::System.Nullable Original_InizioIniezione, + global::System.Nullable Original_FineIniezione, + string Original_MagDestinazione, + global::System.Nullable Original_DataImport) { + return this.Update(Original_CodDataMatrix, CodGitterbox, NumConchiglia, NumDisegno, EsponenteDisegno, CodDifettoScarto, InizioPreparazione, FinePreparazione, InizioIniezione, FineIniezione, MagDestinazione, DataImport, Original_CodDataMatrix, Original_CodGitterbox, Original_NumConchiglia, Original_NumDisegno, Original_EsponenteDisegno, Original_CodDifettoScarto, Original_InizioPreparazione, Original_FinePreparazione, Original_InizioIniezione, Original_FineIniezione, Original_MagDestinazione, Original_DataImport); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int stp_DtMtrx_import(string CodCS, global::System.Nullable IdxPosizione, string CodSoggetto) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4]; + if ((CodCS == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(CodCS)); + } + if ((IdxPosizione.HasValue == true)) { + command.Parameters[2].Value = ((int)(IdxPosizione.Value)); + } + else { + command.Parameters[2].Value = global::System.DBNull.Value; + } + if ((CodSoggetto == null)) { + command.Parameters[3].Value = global::System.DBNull.Value; + } + else { + command.Parameters[3].Value = ((string)(CodSoggetto)); + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int svuotaGitterbox(string CodGitterbox, string CodSoggetto) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5]; + if ((CodGitterbox == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(CodGitterbox)); + } + if ((CodSoggetto == null)) { + command.Parameters[2].Value = global::System.DBNull.Value; + } + else { + command.Parameters[2].Value = ((string)(CodSoggetto)); + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class v_trasfDataMatrixTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_trasfDataMatrixTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "v_trasfDataMatrix"; + tableMapping.ColumnMappings.Add("CodDataMatrix", "CodDataMatrix"); + tableMapping.ColumnMappings.Add("CodGitterbox", "CodGitterbox"); + tableMapping.ColumnMappings.Add("NumConchiglia", "NumConchiglia"); + tableMapping.ColumnMappings.Add("NumDisegno", "NumDisegno"); + tableMapping.ColumnMappings.Add("EsponenteDisegno", "EsponenteDisegno"); + tableMapping.ColumnMappings.Add("CodDifettoScarto", "CodDifettoScarto"); + tableMapping.ColumnMappings.Add("InizioPreparazione", "InizioPreparazione"); + tableMapping.ColumnMappings.Add("FinePreparazione", "FinePreparazione"); + tableMapping.ColumnMappings.Add("InizioIniezione", "InizioIniezione"); + tableMapping.ColumnMappings.Add("FineIniezione", "FineIniezione"); + tableMapping.ColumnMappings.Add("MagDestinazione", "MagDestinazione"); + tableMapping.ColumnMappings.Add("DataImport", "DataImport"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT CodDataMatrix, CodGitterbox, NumConchiglia, NumDisegno, EsponenteDisegno, " + + "CodDifettoScarto, InizioPreparazione, FinePreparazione, InizioIniezione, FineIni" + + "ezione, MagDestinazione, DataImport FROM dbo.v_trasfDataMatrix"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "dbo.stp_DtMtx_getOrig"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[1].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[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodDataMatrix", 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.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_DataMatrix.v_trasfDataMatrixDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_DataMatrix.v_trasfDataMatrixDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_DataMatrix.v_trasfDataMatrixDataTable dataTable = new DS_DataMatrix.v_trasfDataMatrixDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_DataMatrix.v_trasfDataMatrixDataTable getByDtMtx(string CodDataMatrix) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((CodDataMatrix == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodDataMatrix)); + } + DS_DataMatrix.v_trasfDataMatrixDataTable dataTable = new DS_DataMatrix.v_trasfDataMatrixDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios + /// + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" + + "esigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")] + public partial class TableAdapterManager : global::System.ComponentModel.Component { + + private UpdateOrderOption _updateOrder; + + private TranscodificaParticolariTableAdapter _transcodificaParticolariTableAdapter; + + private ElencoDataMatrixTableAdapter _elencoDataMatrixTableAdapter; + + private bool _backupDataSetBeforeUpdate; + + private global::System.Data.IDbConnection _connection; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public UpdateOrderOption UpdateOrder { + get { + return this._updateOrder; + } + set { + this._updateOrder = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public TranscodificaParticolariTableAdapter TranscodificaParticolariTableAdapter { + get { + return this._transcodificaParticolariTableAdapter; + } + set { + this._transcodificaParticolariTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public ElencoDataMatrixTableAdapter ElencoDataMatrixTableAdapter { + get { + return this._elencoDataMatrixTableAdapter; + } + set { + this._elencoDataMatrixTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool BackupDataSetBeforeUpdate { + get { + return this._backupDataSetBeforeUpdate; + } + set { + this._backupDataSetBeforeUpdate = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public global::System.Data.IDbConnection Connection { + get { + if ((this._connection != null)) { + return this._connection; + } + if (((this._transcodificaParticolariTableAdapter != null) + && (this._transcodificaParticolariTableAdapter.Connection != null))) { + return this._transcodificaParticolariTableAdapter.Connection; + } + if (((this._elencoDataMatrixTableAdapter != null) + && (this._elencoDataMatrixTableAdapter.Connection != null))) { + return this._elencoDataMatrixTableAdapter.Connection; + } + return null; + } + set { + this._connection = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int TableAdapterInstanceCount { + get { + int count = 0; + if ((this._transcodificaParticolariTableAdapter != null)) { + count = (count + 1); + } + if ((this._elencoDataMatrixTableAdapter != null)) { + count = (count + 1); + } + return count; + } + } + + /// + ///Update rows in top-down order. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private int UpdateUpdatedRows(DS_DataMatrix dataSet, global::System.Collections.Generic.List allChangedRows, global::System.Collections.Generic.List allAddedRows) { + int result = 0; + if ((this._transcodificaParticolariTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.TranscodificaParticolari.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._transcodificaParticolariTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._elencoDataMatrixTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.ElencoDataMatrix.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._elencoDataMatrixTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + return result; + } + + /// + ///Insert rows in top-down order. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private int UpdateInsertedRows(DS_DataMatrix dataSet, global::System.Collections.Generic.List allAddedRows) { + int result = 0; + if ((this._transcodificaParticolariTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.TranscodificaParticolari.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._transcodificaParticolariTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._elencoDataMatrixTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.ElencoDataMatrix.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._elencoDataMatrixTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + return result; + } + + /// + ///Delete rows in bottom-up order. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private int UpdateDeletedRows(DS_DataMatrix dataSet, global::System.Collections.Generic.List allChangedRows) { + int result = 0; + if ((this._elencoDataMatrixTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.ElencoDataMatrix.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._elencoDataMatrixTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._transcodificaParticolariTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.TranscodificaParticolari.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._transcodificaParticolariTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + return result; + } + + /// + ///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private global::System.Data.DataRow[] GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List allAddedRows) { + if (((updatedRows == null) + || (updatedRows.Length < 1))) { + return updatedRows; + } + if (((allAddedRows == null) + || (allAddedRows.Count < 1))) { + return updatedRows; + } + global::System.Collections.Generic.List realUpdatedRows = new global::System.Collections.Generic.List(); + for (int i = 0; (i < updatedRows.Length); i = (i + 1)) { + global::System.Data.DataRow row = updatedRows[i]; + if ((allAddedRows.Contains(row) == false)) { + realUpdatedRows.Add(row); + } + } + return realUpdatedRows.ToArray(); + } + + /// + ///Update all changes to the dataset. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public virtual int UpdateAll(DS_DataMatrix dataSet) { + if ((dataSet == null)) { + throw new global::System.ArgumentNullException("dataSet"); + } + if ((dataSet.HasChanges() == false)) { + return 0; + } + if (((this._transcodificaParticolariTableAdapter != null) + && (this.MatchTableAdapterConnection(this._transcodificaParticolariTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._elencoDataMatrixTableAdapter != null) + && (this.MatchTableAdapterConnection(this._elencoDataMatrixTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + global::System.Data.IDbConnection workConnection = this.Connection; + if ((workConnection == null)) { + throw new global::System.ApplicationException("TableAdapterManager contains no connection information. Set each TableAdapterMana" + + "ger TableAdapter property to a valid TableAdapter instance."); + } + bool workConnOpened = false; + if (((workConnection.State & global::System.Data.ConnectionState.Broken) + == global::System.Data.ConnectionState.Broken)) { + workConnection.Close(); + } + if ((workConnection.State == global::System.Data.ConnectionState.Closed)) { + workConnection.Open(); + workConnOpened = true; + } + global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction(); + if ((workTransaction == null)) { + throw new global::System.ApplicationException("The transaction cannot begin. The current data connection does not support transa" + + "ctions or the current state is not allowing the transaction to begin."); + } + global::System.Collections.Generic.List allChangedRows = new global::System.Collections.Generic.List(); + global::System.Collections.Generic.List allAddedRows = new global::System.Collections.Generic.List(); + global::System.Collections.Generic.List adaptersWithAcceptChangesDuringUpdate = new global::System.Collections.Generic.List(); + global::System.Collections.Generic.Dictionary revertConnections = new global::System.Collections.Generic.Dictionary(); + int result = 0; + global::System.Data.DataSet backupDataSet = null; + if (this.BackupDataSetBeforeUpdate) { + backupDataSet = new global::System.Data.DataSet(); + backupDataSet.Merge(dataSet); + } + try { + // ---- Prepare for update ----------- + // + if ((this._transcodificaParticolariTableAdapter != null)) { + revertConnections.Add(this._transcodificaParticolariTableAdapter, this._transcodificaParticolariTableAdapter.Connection); + this._transcodificaParticolariTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._transcodificaParticolariTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._transcodificaParticolariTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._transcodificaParticolariTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._transcodificaParticolariTableAdapter.Adapter); + } + } + if ((this._elencoDataMatrixTableAdapter != null)) { + revertConnections.Add(this._elencoDataMatrixTableAdapter, this._elencoDataMatrixTableAdapter.Connection); + this._elencoDataMatrixTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._elencoDataMatrixTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._elencoDataMatrixTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._elencoDataMatrixTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._elencoDataMatrixTableAdapter.Adapter); + } + } + // + //---- Perform updates ----------- + // + if ((this.UpdateOrder == UpdateOrderOption.UpdateInsertDelete)) { + result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows)); + result = (result + this.UpdateInsertedRows(dataSet, allAddedRows)); + } + else { + result = (result + this.UpdateInsertedRows(dataSet, allAddedRows)); + result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows)); + } + result = (result + this.UpdateDeletedRows(dataSet, allChangedRows)); + // + //---- Commit updates ----------- + // + workTransaction.Commit(); + if ((0 < allAddedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count]; + allAddedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + } + } + if ((0 < allChangedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allChangedRows.Count]; + allChangedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + } + } + } + catch (global::System.Exception ex) { + workTransaction.Rollback(); + // ---- Restore the dataset ----------- + if (this.BackupDataSetBeforeUpdate) { + global::System.Diagnostics.Debug.Assert((backupDataSet != null)); + dataSet.Clear(); + dataSet.Merge(backupDataSet); + } + else { + if ((0 < allAddedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count]; + allAddedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + row.SetAdded(); + } + } + } + throw ex; + } + finally { + if (workConnOpened) { + workConnection.Close(); + } + if ((this._transcodificaParticolariTableAdapter != null)) { + this._transcodificaParticolariTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._transcodificaParticolariTableAdapter])); + this._transcodificaParticolariTableAdapter.Transaction = null; + } + if ((this._elencoDataMatrixTableAdapter != null)) { + this._elencoDataMatrixTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._elencoDataMatrixTableAdapter])); + this._elencoDataMatrixTableAdapter.Transaction = null; + } + if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) { + global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count]; + adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters); + for (int i = 0; (i < adapters.Length); i = (i + 1)) { + global::System.Data.Common.DataAdapter adapter = adapters[i]; + adapter.AcceptChangesDuringUpdate = true; + } + } + } + return result; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected virtual void SortSelfReferenceRows(global::System.Data.DataRow[] rows, global::System.Data.DataRelation relation, bool childFirst) { + global::System.Array.Sort(rows, new SelfReferenceComparer(relation, childFirst)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected virtual bool MatchTableAdapterConnection(global::System.Data.IDbConnection inputConnection) { + if ((this._connection != null)) { + return true; + } + if (((this.Connection == null) + || (inputConnection == null))) { + return true; + } + if (string.Equals(this.Connection.ConnectionString, inputConnection.ConnectionString, global::System.StringComparison.Ordinal)) { + return true; + } + return false; + } + + /// + ///Update Order Option + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public enum UpdateOrderOption { + + InsertUpdateDelete = 0, + + UpdateInsertDelete = 1, + } + + /// + ///Used to sort self-referenced table's rows + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private class SelfReferenceComparer : object, global::System.Collections.Generic.IComparer { + + private global::System.Data.DataRelation _relation; + + private int _childFirst; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal SelfReferenceComparer(global::System.Data.DataRelation relation, bool childFirst) { + this._relation = relation; + if (childFirst) { + this._childFirst = -1; + } + else { + this._childFirst = 1; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private global::System.Data.DataRow GetRoot(global::System.Data.DataRow row, out int distance) { + global::System.Diagnostics.Debug.Assert((row != null)); + global::System.Data.DataRow root = row; + distance = 0; + + global::System.Collections.Generic.IDictionary traversedRows = new global::System.Collections.Generic.Dictionary(); + traversedRows[row] = row; + + global::System.Data.DataRow parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default); + for ( + ; ((parent != null) + && (traversedRows.ContainsKey(parent) == false)); + ) { + distance = (distance + 1); + root = parent; + traversedRows[parent] = parent; + parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default); + } + + if ((distance == 0)) { + traversedRows.Clear(); + traversedRows[row] = row; + parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original); + for ( + ; ((parent != null) + && (traversedRows.ContainsKey(parent) == false)); + ) { + distance = (distance + 1); + root = parent; + traversedRows[parent] = parent; + parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original); + } + } + + return root; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int Compare(global::System.Data.DataRow row1, global::System.Data.DataRow row2) { + if (object.ReferenceEquals(row1, row2)) { + return 0; + } + if ((row1 == null)) { + return -1; + } + if ((row2 == null)) { + return 1; + } + + int distance1 = 0; + global::System.Data.DataRow root1 = this.GetRoot(row1, out distance1); + + int distance2 = 0; + global::System.Data.DataRow root2 = this.GetRoot(row2, out distance2); + + if (object.ReferenceEquals(root1, root2)) { + return (this._childFirst * distance1.CompareTo(distance2)); + } + else { + global::System.Diagnostics.Debug.Assert(((root1.Table != null) + && (root2.Table != null))); + if ((root1.Table.Rows.IndexOf(root1) < root2.Table.Rows.IndexOf(root2))) { + return -1; + } + else { + return 1; + } + } + } + } + } +} + +#pragma warning restore 1591 \ No newline at end of file diff --git a/GMW_data/DS_DataMatrix.xsc b/GMW_data/DS_DataMatrix.xsc new file mode 100644 index 00000000..551fc56f --- /dev/null +++ b/GMW_data/DS_DataMatrix.xsc @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/GMW_data/DS_DataMatrix.xsd b/GMW_data/DS_DataMatrix.xsd new file mode 100644 index 00000000..7407c055 --- /dev/null +++ b/GMW_data/DS_DataMatrix.xsd @@ -0,0 +1,395 @@ + + + + + + + + + + + + + + + + DELETE FROM [dbo].[TranscodificaParticolari] WHERE (([NumDisegno] = @Original_NumDisegno) AND ([EsponenteDisegno] = @Original_EsponenteDisegno) AND ([Particolare] = @Original_Particolare)) + + + + + + + + + + INSERT INTO [dbo].[TranscodificaParticolari] ([NumDisegno], [EsponenteDisegno], [Particolare]) VALUES (@NumDisegno, @EsponenteDisegno, @Particolare); +SELECT NumDisegno, EsponenteDisegno, Particolare FROM TranscodificaParticolari WHERE (EsponenteDisegno = @EsponenteDisegno) AND (NumDisegno = @NumDisegno) + + + + + + + + + + SELECT NumDisegno, EsponenteDisegno, Particolare FROM dbo.TranscodificaParticolari + + + + + + UPDATE [dbo].[TranscodificaParticolari] SET [NumDisegno] = @NumDisegno, [EsponenteDisegno] = @EsponenteDisegno, [Particolare] = @Particolare WHERE (([NumDisegno] = @Original_NumDisegno) AND ([EsponenteDisegno] = @Original_EsponenteDisegno) AND ([Particolare] = @Original_Particolare)); +SELECT NumDisegno, EsponenteDisegno, Particolare FROM TranscodificaParticolari WHERE (EsponenteDisegno = @EsponenteDisegno) AND (NumDisegno = @NumDisegno) + + + + + + + + + + + + + + + + + + + + + + + + + DELETE FROM [dbo].[ElencoDataMatrix] WHERE (([CodDataMatrix] = @Original_CodDataMatrix) AND ([CodGitterbox] = @Original_CodGitterbox) AND ((@IsNull_NumConchiglia = 1 AND [NumConchiglia] IS NULL) OR ([NumConchiglia] = @Original_NumConchiglia)) AND ((@IsNull_NumDisegno = 1 AND [NumDisegno] IS NULL) OR ([NumDisegno] = @Original_NumDisegno)) AND ((@IsNull_EsponenteDisegno = 1 AND [EsponenteDisegno] IS NULL) OR ([EsponenteDisegno] = @Original_EsponenteDisegno)) AND ((@IsNull_CodDifettoScarto = 1 AND [CodDifettoScarto] IS NULL) OR ([CodDifettoScarto] = @Original_CodDifettoScarto)) AND ((@IsNull_InizioPreparazione = 1 AND [InizioPreparazione] IS NULL) OR ([InizioPreparazione] = @Original_InizioPreparazione)) AND ((@IsNull_FinePreparazione = 1 AND [FinePreparazione] IS NULL) OR ([FinePreparazione] = @Original_FinePreparazione)) AND ((@IsNull_InizioIniezione = 1 AND [InizioIniezione] IS NULL) OR ([InizioIniezione] = @Original_InizioIniezione)) AND ((@IsNull_FineIniezione = 1 AND [FineIniezione] IS NULL) OR ([FineIniezione] = @Original_FineIniezione)) AND ((@IsNull_MagDestinazione = 1 AND [MagDestinazione] IS NULL) OR ([MagDestinazione] = @Original_MagDestinazione)) AND ((@IsNull_DataImport = 1 AND [DataImport] IS NULL) OR ([DataImport] = @Original_DataImport))) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + INSERT INTO [dbo].[ElencoDataMatrix] ([CodDataMatrix], [CodGitterbox], [NumConchiglia], [NumDisegno], [EsponenteDisegno], [CodDifettoScarto], [InizioPreparazione], [FinePreparazione], [InizioIniezione], [FineIniezione], [MagDestinazione], [DataImport]) VALUES (@CodDataMatrix, @CodGitterbox, @NumConchiglia, @NumDisegno, @EsponenteDisegno, @CodDifettoScarto, @InizioPreparazione, @FinePreparazione, @InizioIniezione, @FineIniezione, @MagDestinazione, @DataImport); +SELECT CodDataMatrix, CodGitterbox, NumConchiglia, NumDisegno, EsponenteDisegno, CodDifettoScarto, InizioPreparazione, FinePreparazione, InizioIniezione, FineIniezione, MagDestinazione, DataImport FROM ElencoDataMatrix WHERE (CodDataMatrix = @CodDataMatrix) + + + + + + + + + + + + + + + + + + + SELECT CodDataMatrix, CodGitterbox, NumConchiglia, NumDisegno, EsponenteDisegno, CodDifettoScarto, InizioPreparazione, FinePreparazione, InizioIniezione, FineIniezione, MagDestinazione, DataImport FROM dbo.ElencoDataMatrix + + + + + + UPDATE [dbo].[ElencoDataMatrix] SET [CodDataMatrix] = @CodDataMatrix, [CodGitterbox] = @CodGitterbox, [NumConchiglia] = @NumConchiglia, [NumDisegno] = @NumDisegno, [EsponenteDisegno] = @EsponenteDisegno, [CodDifettoScarto] = @CodDifettoScarto, [InizioPreparazione] = @InizioPreparazione, [FinePreparazione] = @FinePreparazione, [InizioIniezione] = @InizioIniezione, [FineIniezione] = @FineIniezione, [MagDestinazione] = @MagDestinazione, [DataImport] = @DataImport WHERE (([CodDataMatrix] = @Original_CodDataMatrix) AND ([CodGitterbox] = @Original_CodGitterbox) AND ((@IsNull_NumConchiglia = 1 AND [NumConchiglia] IS NULL) OR ([NumConchiglia] = @Original_NumConchiglia)) AND ((@IsNull_NumDisegno = 1 AND [NumDisegno] IS NULL) OR ([NumDisegno] = @Original_NumDisegno)) AND ((@IsNull_EsponenteDisegno = 1 AND [EsponenteDisegno] IS NULL) OR ([EsponenteDisegno] = @Original_EsponenteDisegno)) AND ((@IsNull_CodDifettoScarto = 1 AND [CodDifettoScarto] IS NULL) OR ([CodDifettoScarto] = @Original_CodDifettoScarto)) AND ((@IsNull_InizioPreparazione = 1 AND [InizioPreparazione] IS NULL) OR ([InizioPreparazione] = @Original_InizioPreparazione)) AND ((@IsNull_FinePreparazione = 1 AND [FinePreparazione] IS NULL) OR ([FinePreparazione] = @Original_FinePreparazione)) AND ((@IsNull_InizioIniezione = 1 AND [InizioIniezione] IS NULL) OR ([InizioIniezione] = @Original_InizioIniezione)) AND ((@IsNull_FineIniezione = 1 AND [FineIniezione] IS NULL) OR ([FineIniezione] = @Original_FineIniezione)) AND ((@IsNull_MagDestinazione = 1 AND [MagDestinazione] IS NULL) OR ([MagDestinazione] = @Original_MagDestinazione)) AND ((@IsNull_DataImport = 1 AND [DataImport] IS NULL) OR ([DataImport] = @Original_DataImport))); +SELECT CodDataMatrix, CodGitterbox, NumConchiglia, NumDisegno, EsponenteDisegno, CodDifettoScarto, InizioPreparazione, FinePreparazione, InizioIniezione, FineIniezione, MagDestinazione, DataImport FROM ElencoDataMatrix WHERE (CodDataMatrix = @CodDataMatrix) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_EDM_getByCode + + + + + + + + + + + dbo.stp_EDM_getByGitterBox + + + + + + + + + + + dbo.stp_EDM_spostaDataMtx + + + + + + + + + + + + + dbo.stp_DtMtrx_import + + + + + + + + + + + + + dbo.stp_EDM_svuotaGitterbox + + + + + + + + + + + + + + + + SELECT CodDataMatrix, CodGitterbox, NumConchiglia, NumDisegno, EsponenteDisegno, CodDifettoScarto, InizioPreparazione, FinePreparazione, InizioIniezione, FineIniezione, MagDestinazione, DataImport FROM dbo.v_trasfDataMatrix + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_DtMtx_getOrig + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/GMW_data/DS_DataMatrix.xss b/GMW_data/DS_DataMatrix.xss new file mode 100644 index 00000000..df682cac --- /dev/null +++ b/GMW_data/DS_DataMatrix.xss @@ -0,0 +1,14 @@ + + + + + + + + + + \ No newline at end of file diff --git a/GMW_data/DS_Odette.Designer.cs b/GMW_data/DS_Odette.Designer.cs new file mode 100644 index 00000000..79e0024c --- /dev/null +++ b/GMW_data/DS_Odette.Designer.cs @@ -0,0 +1,10999 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.17626 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +#pragma warning disable 1591 + +namespace GMW_data { + + + /// + ///Represents a strongly typed in-memory cache of data. + /// + [global::System.Serializable()] + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")] + [global::System.Xml.Serialization.XmlRootAttribute("DS_Odette")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")] + public partial class DS_Odette : global::System.Data.DataSet { + + private BORI202JDataTable tableBORI202J; + + private OdetteDataTable tableOdette; + + private stp_OdetteStatoCreateDataTable tablestp_OdetteStatoCreate; + + private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public DS_Odette() { + this.BeginInit(); + this.InitClass(); + global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); + base.Tables.CollectionChanged += schemaChangedHandler; + base.Relations.CollectionChanged += schemaChangedHandler; + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected DS_Odette(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context, false) { + if ((this.IsBinarySerialized(info, context) == true)) { + this.InitVars(false); + global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); + this.Tables.CollectionChanged += schemaChangedHandler1; + this.Relations.CollectionChanged += schemaChangedHandler1; + return; + } + string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string)))); + if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { + global::System.Data.DataSet ds = new global::System.Data.DataSet(); + ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); + if ((ds.Tables["BORI202J"] != null)) { + base.Tables.Add(new BORI202JDataTable(ds.Tables["BORI202J"])); + } + if ((ds.Tables["Odette"] != null)) { + base.Tables.Add(new OdetteDataTable(ds.Tables["Odette"])); + } + if ((ds.Tables["stp_OdetteStatoCreate"] != null)) { + base.Tables.Add(new stp_OdetteStatoCreateDataTable(ds.Tables["stp_OdetteStatoCreate"])); + } + this.DataSetName = ds.DataSetName; + this.Prefix = ds.Prefix; + this.Namespace = ds.Namespace; + this.Locale = ds.Locale; + this.CaseSensitive = ds.CaseSensitive; + this.EnforceConstraints = ds.EnforceConstraints; + this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add); + this.InitVars(); + } + else { + this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); + } + this.GetSerializationData(info, context); + global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); + base.Tables.CollectionChanged += schemaChangedHandler; + this.Relations.CollectionChanged += schemaChangedHandler; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public BORI202JDataTable BORI202J { + get { + return this.tableBORI202J; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public OdetteDataTable Odette { + get { + return this.tableOdette; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public stp_OdetteStatoCreateDataTable stp_OdetteStatoCreate { + get { + return this.tablestp_OdetteStatoCreate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.BrowsableAttribute(true)] + [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)] + public override global::System.Data.SchemaSerializationMode SchemaSerializationMode { + get { + return this._schemaSerializationMode; + } + set { + this._schemaSerializationMode = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public new global::System.Data.DataTableCollection Tables { + get { + return base.Tables; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public new global::System.Data.DataRelationCollection Relations { + get { + return base.Relations; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void InitializeDerivedDataSet() { + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataSet Clone() { + DS_Odette cln = ((DS_Odette)(base.Clone())); + cln.InitVars(); + cln.SchemaSerializationMode = this.SchemaSerializationMode; + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override bool ShouldSerializeTables() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override bool ShouldSerializeRelations() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) { + if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { + this.Reset(); + global::System.Data.DataSet ds = new global::System.Data.DataSet(); + ds.ReadXml(reader); + if ((ds.Tables["BORI202J"] != null)) { + base.Tables.Add(new BORI202JDataTable(ds.Tables["BORI202J"])); + } + if ((ds.Tables["Odette"] != null)) { + base.Tables.Add(new OdetteDataTable(ds.Tables["Odette"])); + } + if ((ds.Tables["stp_OdetteStatoCreate"] != null)) { + base.Tables.Add(new stp_OdetteStatoCreateDataTable(ds.Tables["stp_OdetteStatoCreate"])); + } + this.DataSetName = ds.DataSetName; + this.Prefix = ds.Prefix; + this.Namespace = ds.Namespace; + this.Locale = ds.Locale; + this.CaseSensitive = ds.CaseSensitive; + this.EnforceConstraints = ds.EnforceConstraints; + this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add); + this.InitVars(); + } + else { + this.ReadXml(reader); + this.InitVars(); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() { + global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream(); + this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null)); + stream.Position = 0; + return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.InitVars(true); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars(bool initTable) { + this.tableBORI202J = ((BORI202JDataTable)(base.Tables["BORI202J"])); + if ((initTable == true)) { + if ((this.tableBORI202J != null)) { + this.tableBORI202J.InitVars(); + } + } + this.tableOdette = ((OdetteDataTable)(base.Tables["Odette"])); + if ((initTable == true)) { + if ((this.tableOdette != null)) { + this.tableOdette.InitVars(); + } + } + this.tablestp_OdetteStatoCreate = ((stp_OdetteStatoCreateDataTable)(base.Tables["stp_OdetteStatoCreate"])); + if ((initTable == true)) { + if ((this.tablestp_OdetteStatoCreate != null)) { + this.tablestp_OdetteStatoCreate.InitVars(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.DataSetName = "DS_Odette"; + this.Prefix = ""; + this.Namespace = "http://tempuri.org/DS_Odette.xsd"; + this.EnforceConstraints = true; + this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; + this.tableBORI202J = new BORI202JDataTable(); + base.Tables.Add(this.tableBORI202J); + this.tableOdette = new OdetteDataTable(); + base.Tables.Add(this.tableOdette); + this.tablestp_OdetteStatoCreate = new stp_OdetteStatoCreateDataTable(); + base.Tables.Add(this.tablestp_OdetteStatoCreate); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeBORI202J() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeOdette() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializestp_OdetteStatoCreate() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { + if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) { + this.InitVars(); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + DS_Odette ds = new DS_Odette(); + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny(); + any.Namespace = ds.Namespace; + sequence.Items.Add(any); + 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; + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void BORI202JRowChangeEventHandler(object sender, BORI202JRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void OdetteRowChangeEventHandler(object sender, OdetteRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void stp_OdetteStatoCreateRowChangeEventHandler(object sender, stp_OdetteStatoCreateRowChangeEvent e); + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class BORI202JDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCDMFS; + + private global::System.Data.DataColumn columnGRBOS; + + private global::System.Data.DataColumn columnDTBOS; + + private global::System.Data.DataColumn columnNRBOS; + + private global::System.Data.DataColumn columnCDARS; + + private global::System.Data.DataColumn columnNRRGS; + + private global::System.Data.DataColumn columnCDINB; + + private global::System.Data.DataColumn columnRA1ND; + + private global::System.Data.DataColumn columnRA2ND; + + private global::System.Data.DataColumn columnCAPND; + + private global::System.Data.DataColumn columnCITND; + + private global::System.Data.DataColumn columnRASCL; + + private global::System.Data.DataColumn columnINDCL; + + private global::System.Data.DataColumn columnCAPCL; + + private global::System.Data.DataColumn columnLOCCL; + + private global::System.Data.DataColumn columnPROCL; + + private global::System.Data.DataColumn columnINEND; + + private global::System.Data.DataColumn columnCRAGCL; + + private global::System.Data.DataColumn columnTELND; + + private global::System.Data.DataColumn columnCCDMOL; + + private global::System.Data.DataColumn columnCCDPTR; + + private global::System.Data.DataColumn columnEPLAVO; + + private global::System.Data.DataColumn columnNRC1B; + + private global::System.Data.DataColumn columnECMM01; + + private global::System.Data.DataColumn columnDEPAR; + + private global::System.Data.DataColumn columnRCARTC; + + private global::System.Data.DataColumn columnPERND; + + private global::System.Data.DataColumn columnCCDET1; + + private global::System.Data.DataColumn columnECDNAE; + + private global::System.Data.DataColumn columnECDNA1; + + private global::System.Data.DataColumn columnEESPMD; + + private global::System.Data.DataColumn columnPELDB; + + private global::System.Data.DataColumn columnQTCNS; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public BORI202JDataTable() { + this.TableName = "BORI202J"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal BORI202JDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected BORI202JDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CDMFSColumn { + get { + return this.columnCDMFS; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn GRBOSColumn { + get { + return this.columnGRBOS; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DTBOSColumn { + get { + return this.columnDTBOS; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NRBOSColumn { + get { + return this.columnNRBOS; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CDARSColumn { + get { + return this.columnCDARS; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NRRGSColumn { + get { + return this.columnNRRGS; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CDINBColumn { + get { + return this.columnCDINB; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn RA1NDColumn { + get { + return this.columnRA1ND; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn RA2NDColumn { + get { + return this.columnRA2ND; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CAPNDColumn { + get { + return this.columnCAPND; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CITNDColumn { + get { + return this.columnCITND; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn RASCLColumn { + get { + return this.columnRASCL; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn INDCLColumn { + get { + return this.columnINDCL; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CAPCLColumn { + get { + return this.columnCAPCL; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn LOCCLColumn { + get { + return this.columnLOCCL; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn PROCLColumn { + get { + return this.columnPROCL; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn INENDColumn { + get { + return this.columnINEND; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CRAGCLColumn { + get { + return this.columnCRAGCL; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn TELNDColumn { + get { + return this.columnTELND; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CCDMOLColumn { + get { + return this.columnCCDMOL; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CCDPTRColumn { + get { + return this.columnCCDPTR; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn EPLAVOColumn { + get { + return this.columnEPLAVO; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NRC1BColumn { + get { + return this.columnNRC1B; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ECMM01Column { + get { + return this.columnECMM01; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DEPARColumn { + get { + return this.columnDEPAR; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn RCARTCColumn { + get { + return this.columnRCARTC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn PERNDColumn { + get { + return this.columnPERND; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CCDET1Column { + get { + return this.columnCCDET1; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ECDNAEColumn { + get { + return this.columnECDNAE; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ECDNA1Column { + get { + return this.columnECDNA1; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn EESPMDColumn { + get { + return this.columnEESPMD; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn PELDBColumn { + get { + return this.columnPELDB; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn QTCNSColumn { + get { + return this.columnQTCNS; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public BORI202JRow this[int index] { + get { + return ((BORI202JRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event BORI202JRowChangeEventHandler BORI202JRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event BORI202JRowChangeEventHandler BORI202JRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event BORI202JRowChangeEventHandler BORI202JRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event BORI202JRowChangeEventHandler BORI202JRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddBORI202JRow(BORI202JRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public BORI202JRow AddBORI202JRow( + string CDMFS, + string GRBOS, + decimal DTBOS, + decimal NRBOS, + string CDARS, + decimal NRRGS, + string CDINB, + string RA1ND, + string RA2ND, + string CAPND, + string CITND, + string RASCL, + string INDCL, + string CAPCL, + string LOCCL, + string PROCL, + string INEND, + string CRAGCL, + string TELND, + string CCDMOL, + string CCDPTR, + decimal EPLAVO, + decimal NRC1B, + string ECMM01, + string DEPAR, + string RCARTC, + string PERND, + string CCDET1, + string ECDNAE, + string ECDNA1, + string EESPMD, + decimal PELDB, + decimal QTCNS) { + BORI202JRow rowBORI202JRow = ((BORI202JRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CDMFS, + GRBOS, + DTBOS, + NRBOS, + CDARS, + NRRGS, + CDINB, + RA1ND, + RA2ND, + CAPND, + CITND, + RASCL, + INDCL, + CAPCL, + LOCCL, + PROCL, + INEND, + CRAGCL, + TELND, + CCDMOL, + CCDPTR, + EPLAVO, + NRC1B, + ECMM01, + DEPAR, + RCARTC, + PERND, + CCDET1, + ECDNAE, + ECDNA1, + EESPMD, + PELDB, + QTCNS}; + rowBORI202JRow.ItemArray = columnValuesArray; + this.Rows.Add(rowBORI202JRow); + return rowBORI202JRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public BORI202JRow FindByCDMFSGRBOSDTBOSNRBOSCDARSNRRGS(string CDMFS, string GRBOS, decimal DTBOS, decimal NRBOS, string CDARS, decimal NRRGS) { + return ((BORI202JRow)(this.Rows.Find(new object[] { + CDMFS, + GRBOS, + DTBOS, + NRBOS, + CDARS, + NRRGS}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + BORI202JDataTable cln = ((BORI202JDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new BORI202JDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnCDMFS = base.Columns["CDMFS"]; + this.columnGRBOS = base.Columns["GRBOS"]; + this.columnDTBOS = base.Columns["DTBOS"]; + this.columnNRBOS = base.Columns["NRBOS"]; + this.columnCDARS = base.Columns["CDARS"]; + this.columnNRRGS = base.Columns["NRRGS"]; + this.columnCDINB = base.Columns["CDINB"]; + this.columnRA1ND = base.Columns["RA1ND"]; + this.columnRA2ND = base.Columns["RA2ND"]; + this.columnCAPND = base.Columns["CAPND"]; + this.columnCITND = base.Columns["CITND"]; + this.columnRASCL = base.Columns["RASCL"]; + this.columnINDCL = base.Columns["INDCL"]; + this.columnCAPCL = base.Columns["CAPCL"]; + this.columnLOCCL = base.Columns["LOCCL"]; + this.columnPROCL = base.Columns["PROCL"]; + this.columnINEND = base.Columns["INEND"]; + this.columnCRAGCL = base.Columns["CRAGCL"]; + this.columnTELND = base.Columns["TELND"]; + this.columnCCDMOL = base.Columns["CCDMOL"]; + this.columnCCDPTR = base.Columns["CCDPTR"]; + this.columnEPLAVO = base.Columns["EPLAVO"]; + this.columnNRC1B = base.Columns["NRC1B"]; + this.columnECMM01 = base.Columns["ECMM01"]; + this.columnDEPAR = base.Columns["DEPAR"]; + this.columnRCARTC = base.Columns["RCARTC"]; + this.columnPERND = base.Columns["PERND"]; + this.columnCCDET1 = base.Columns["CCDET1"]; + this.columnECDNAE = base.Columns["ECDNAE"]; + this.columnECDNA1 = base.Columns["ECDNA1"]; + this.columnEESPMD = base.Columns["EESPMD"]; + this.columnPELDB = base.Columns["PELDB"]; + this.columnQTCNS = base.Columns["QTCNS"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnCDMFS = new global::System.Data.DataColumn("CDMFS", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCDMFS); + this.columnGRBOS = new global::System.Data.DataColumn("GRBOS", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnGRBOS); + this.columnDTBOS = new global::System.Data.DataColumn("DTBOS", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDTBOS); + this.columnNRBOS = new global::System.Data.DataColumn("NRBOS", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNRBOS); + this.columnCDARS = new global::System.Data.DataColumn("CDARS", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCDARS); + this.columnNRRGS = new global::System.Data.DataColumn("NRRGS", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNRRGS); + this.columnCDINB = new global::System.Data.DataColumn("CDINB", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCDINB); + this.columnRA1ND = new global::System.Data.DataColumn("RA1ND", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnRA1ND); + this.columnRA2ND = new global::System.Data.DataColumn("RA2ND", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnRA2ND); + this.columnCAPND = new global::System.Data.DataColumn("CAPND", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCAPND); + this.columnCITND = new global::System.Data.DataColumn("CITND", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCITND); + this.columnRASCL = new global::System.Data.DataColumn("RASCL", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnRASCL); + this.columnINDCL = new global::System.Data.DataColumn("INDCL", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnINDCL); + this.columnCAPCL = new global::System.Data.DataColumn("CAPCL", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCAPCL); + this.columnLOCCL = new global::System.Data.DataColumn("LOCCL", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnLOCCL); + this.columnPROCL = new global::System.Data.DataColumn("PROCL", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPROCL); + this.columnINEND = new global::System.Data.DataColumn("INEND", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnINEND); + this.columnCRAGCL = new global::System.Data.DataColumn("CRAGCL", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCRAGCL); + this.columnTELND = new global::System.Data.DataColumn("TELND", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnTELND); + this.columnCCDMOL = new global::System.Data.DataColumn("CCDMOL", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCCDMOL); + this.columnCCDPTR = new global::System.Data.DataColumn("CCDPTR", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCCDPTR); + this.columnEPLAVO = new global::System.Data.DataColumn("EPLAVO", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnEPLAVO); + this.columnNRC1B = new global::System.Data.DataColumn("NRC1B", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNRC1B); + this.columnECMM01 = new global::System.Data.DataColumn("ECMM01", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnECMM01); + this.columnDEPAR = new global::System.Data.DataColumn("DEPAR", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDEPAR); + this.columnRCARTC = new global::System.Data.DataColumn("RCARTC", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnRCARTC); + this.columnPERND = new global::System.Data.DataColumn("PERND", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPERND); + this.columnCCDET1 = new global::System.Data.DataColumn("CCDET1", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCCDET1); + this.columnECDNAE = new global::System.Data.DataColumn("ECDNAE", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnECDNAE); + this.columnECDNA1 = new global::System.Data.DataColumn("ECDNA1", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnECDNA1); + this.columnEESPMD = new global::System.Data.DataColumn("EESPMD", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnEESPMD); + this.columnPELDB = new global::System.Data.DataColumn("PELDB", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPELDB); + this.columnQTCNS = new global::System.Data.DataColumn("QTCNS", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnQTCNS); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCDMFS, + this.columnGRBOS, + this.columnDTBOS, + this.columnNRBOS, + this.columnCDARS, + this.columnNRRGS}, true)); + this.columnCDMFS.AllowDBNull = false; + this.columnCDMFS.MaxLength = 2; + this.columnGRBOS.AllowDBNull = false; + this.columnGRBOS.MaxLength = 1; + this.columnDTBOS.AllowDBNull = false; + this.columnNRBOS.AllowDBNull = false; + this.columnCDARS.AllowDBNull = false; + this.columnCDARS.MaxLength = 15; + this.columnNRRGS.AllowDBNull = false; + this.columnCDINB.AllowDBNull = false; + this.columnCDINB.MaxLength = 6; + this.columnRA1ND.AllowDBNull = false; + this.columnRA1ND.MaxLength = 35; + this.columnRA2ND.AllowDBNull = false; + this.columnRA2ND.MaxLength = 35; + this.columnCAPND.AllowDBNull = false; + this.columnCAPND.MaxLength = 9; + this.columnCITND.AllowDBNull = false; + this.columnCITND.MaxLength = 25; + this.columnRASCL.AllowDBNull = false; + this.columnRASCL.MaxLength = 35; + this.columnINDCL.AllowDBNull = false; + this.columnINDCL.MaxLength = 35; + this.columnCAPCL.AllowDBNull = false; + this.columnCAPCL.MaxLength = 9; + this.columnLOCCL.AllowDBNull = false; + this.columnLOCCL.MaxLength = 25; + this.columnPROCL.AllowDBNull = false; + this.columnPROCL.MaxLength = 2; + this.columnINEND.AllowDBNull = false; + this.columnINEND.MaxLength = 50; + this.columnCRAGCL.AllowDBNull = false; + this.columnCRAGCL.MaxLength = 4; + this.columnTELND.AllowDBNull = false; + this.columnTELND.MaxLength = 20; + this.columnCCDMOL.AllowDBNull = false; + this.columnCCDMOL.MaxLength = 15; + this.columnCCDPTR.AllowDBNull = false; + this.columnCCDPTR.MaxLength = 15; + this.columnEPLAVO.AllowDBNull = false; + this.columnNRC1B.AllowDBNull = false; + this.columnECMM01.AllowDBNull = false; + this.columnECMM01.MaxLength = 30; + this.columnDEPAR.AllowDBNull = false; + this.columnDEPAR.MaxLength = 30; + this.columnRCARTC.AllowDBNull = false; + this.columnRCARTC.MaxLength = 30; + this.columnPERND.AllowDBNull = false; + this.columnPERND.MaxLength = 20; + this.columnCCDET1.AllowDBNull = false; + this.columnCCDET1.MaxLength = 15; + this.columnECDNAE.AllowDBNull = false; + this.columnECDNAE.MaxLength = 6; + this.columnECDNA1.AllowDBNull = false; + this.columnECDNA1.MaxLength = 1; + this.columnEESPMD.AllowDBNull = false; + this.columnEESPMD.MaxLength = 6; + this.columnPELDB.AllowDBNull = false; + this.columnQTCNS.AllowDBNull = false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public BORI202JRow NewBORI202JRow() { + return ((BORI202JRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new BORI202JRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(BORI202JRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.BORI202JRowChanged != null)) { + this.BORI202JRowChanged(this, new BORI202JRowChangeEvent(((BORI202JRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.BORI202JRowChanging != null)) { + this.BORI202JRowChanging(this, new BORI202JRowChangeEvent(((BORI202JRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.BORI202JRowDeleted != null)) { + this.BORI202JRowDeleted(this, new BORI202JRowChangeEvent(((BORI202JRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.BORI202JRowDeleting != null)) { + this.BORI202JRowDeleting(this, new BORI202JRowChangeEvent(((BORI202JRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveBORI202JRow(BORI202JRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_Odette ds = new DS_Odette(); + 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 = "BORI202JDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class OdetteDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCampoUDC; + + private global::System.Data.DataColumn columnCampo1_1; + + private global::System.Data.DataColumn columnCampo1_2; + + private global::System.Data.DataColumn columnCampo1_3; + + private global::System.Data.DataColumn columnCampo1_4; + + private global::System.Data.DataColumn columnCampo1_5; + + private global::System.Data.DataColumn columnCampo2_1; + + private global::System.Data.DataColumn columnCampo2_2; + + private global::System.Data.DataColumn columnCampo2_3; + + private global::System.Data.DataColumn columnCampo2_4; + + private global::System.Data.DataColumn columnCampo2_5; + + private global::System.Data.DataColumn columnCampo3_1; + + private global::System.Data.DataColumn columnCampo3_2; + + private global::System.Data.DataColumn columnCampo3_3; + + private global::System.Data.DataColumn columnCampo3_4; + + private global::System.Data.DataColumn columnCampo3_5; + + private global::System.Data.DataColumn columnCampo4_1; + + private global::System.Data.DataColumn columnCampo4_2; + + private global::System.Data.DataColumn columnCampo4_3; + + private global::System.Data.DataColumn columnCampo4_4; + + private global::System.Data.DataColumn columnCampo4_5; + + private global::System.Data.DataColumn columnCampo5_1; + + private global::System.Data.DataColumn columnCampo5_2; + + private global::System.Data.DataColumn columnCampo5_3; + + private global::System.Data.DataColumn columnCampo5_4; + + private global::System.Data.DataColumn columnCampo5_5; + + private global::System.Data.DataColumn columnCampo6_1; + + private global::System.Data.DataColumn columnCampo6_2; + + private global::System.Data.DataColumn columnCampo6_3; + + private global::System.Data.DataColumn columnCampo6_4; + + private global::System.Data.DataColumn columnCampo6_5; + + private global::System.Data.DataColumn columnCampo7_1; + + private global::System.Data.DataColumn columnCampo7_2; + + private global::System.Data.DataColumn columnCampo7_3; + + private global::System.Data.DataColumn columnCampo7_4; + + private global::System.Data.DataColumn columnCampo7_5; + + private global::System.Data.DataColumn columnCampo8_1; + + private global::System.Data.DataColumn columnCampo8_2; + + private global::System.Data.DataColumn columnCampo8_3; + + private global::System.Data.DataColumn columnCampo8_4; + + private global::System.Data.DataColumn columnCampo8_5; + + private global::System.Data.DataColumn columnCampo9_1; + + private global::System.Data.DataColumn columnCampo9_2; + + private global::System.Data.DataColumn columnCampo9_3; + + private global::System.Data.DataColumn columnCampo9_4; + + private global::System.Data.DataColumn columnCampo9_5; + + private global::System.Data.DataColumn columnCampo10_1; + + private global::System.Data.DataColumn columnCampo10_2; + + private global::System.Data.DataColumn columnCampo10_3; + + private global::System.Data.DataColumn columnCampo10_4; + + private global::System.Data.DataColumn columnCampo10_5; + + private global::System.Data.DataColumn columnCampo11_1_1; + + private global::System.Data.DataColumn columnCampo11_1_2; + + private global::System.Data.DataColumn columnCampo11_1_3; + + private global::System.Data.DataColumn columnCampo11_1_4; + + private global::System.Data.DataColumn columnCampo11_1_5; + + private global::System.Data.DataColumn columnCampo11_2_1; + + private global::System.Data.DataColumn columnCampo11_2_2; + + private global::System.Data.DataColumn columnCampo11_2_3; + + private global::System.Data.DataColumn columnCampo11_2_4; + + private global::System.Data.DataColumn columnCampo11_2_5; + + private global::System.Data.DataColumn columnCampo12_1; + + private global::System.Data.DataColumn columnCampo12_2; + + private global::System.Data.DataColumn columnCampo12_3; + + private global::System.Data.DataColumn columnCampo12_4; + + private global::System.Data.DataColumn columnCampo12_5; + + private global::System.Data.DataColumn columnCampo13_1; + + private global::System.Data.DataColumn columnCampo13_2; + + private global::System.Data.DataColumn columnCampo13_3; + + private global::System.Data.DataColumn columnCampo13_4; + + private global::System.Data.DataColumn columnCampo13_5; + + private global::System.Data.DataColumn columnCampo14_1; + + private global::System.Data.DataColumn columnCampo14_2; + + private global::System.Data.DataColumn columnCampo14_3; + + private global::System.Data.DataColumn columnCampo14_4; + + private global::System.Data.DataColumn columnCampo14_5; + + private global::System.Data.DataColumn columnCampo15_1; + + private global::System.Data.DataColumn columnCampo15_2; + + private global::System.Data.DataColumn columnCampo15_3; + + private global::System.Data.DataColumn columnCampo15_4; + + private global::System.Data.DataColumn columnCampo15_5; + + private global::System.Data.DataColumn columnCampo16_1; + + private global::System.Data.DataColumn columnCampo16_2; + + private global::System.Data.DataColumn columnCampo16_3; + + private global::System.Data.DataColumn columnCampo16_4; + + private global::System.Data.DataColumn columnCampo16_5; + + private global::System.Data.DataColumn columnStatoOk; + + private global::System.Data.DataColumn columnCodCS; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public OdetteDataTable() { + this.TableName = "Odette"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal OdetteDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected OdetteDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CampoUDCColumn { + get { + return this.columnCampoUDC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo1_1Column { + get { + return this.columnCampo1_1; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo1_2Column { + get { + return this.columnCampo1_2; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo1_3Column { + get { + return this.columnCampo1_3; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo1_4Column { + get { + return this.columnCampo1_4; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo1_5Column { + get { + return this.columnCampo1_5; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo2_1Column { + get { + return this.columnCampo2_1; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo2_2Column { + get { + return this.columnCampo2_2; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo2_3Column { + get { + return this.columnCampo2_3; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo2_4Column { + get { + return this.columnCampo2_4; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo2_5Column { + get { + return this.columnCampo2_5; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo3_1Column { + get { + return this.columnCampo3_1; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo3_2Column { + get { + return this.columnCampo3_2; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo3_3Column { + get { + return this.columnCampo3_3; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo3_4Column { + get { + return this.columnCampo3_4; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo3_5Column { + get { + return this.columnCampo3_5; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo4_1Column { + get { + return this.columnCampo4_1; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo4_2Column { + get { + return this.columnCampo4_2; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo4_3Column { + get { + return this.columnCampo4_3; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo4_4Column { + get { + return this.columnCampo4_4; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo4_5Column { + get { + return this.columnCampo4_5; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo5_1Column { + get { + return this.columnCampo5_1; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo5_2Column { + get { + return this.columnCampo5_2; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo5_3Column { + get { + return this.columnCampo5_3; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo5_4Column { + get { + return this.columnCampo5_4; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo5_5Column { + get { + return this.columnCampo5_5; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo6_1Column { + get { + return this.columnCampo6_1; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo6_2Column { + get { + return this.columnCampo6_2; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo6_3Column { + get { + return this.columnCampo6_3; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo6_4Column { + get { + return this.columnCampo6_4; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo6_5Column { + get { + return this.columnCampo6_5; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo7_1Column { + get { + return this.columnCampo7_1; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo7_2Column { + get { + return this.columnCampo7_2; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo7_3Column { + get { + return this.columnCampo7_3; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo7_4Column { + get { + return this.columnCampo7_4; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo7_5Column { + get { + return this.columnCampo7_5; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo8_1Column { + get { + return this.columnCampo8_1; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo8_2Column { + get { + return this.columnCampo8_2; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo8_3Column { + get { + return this.columnCampo8_3; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo8_4Column { + get { + return this.columnCampo8_4; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo8_5Column { + get { + return this.columnCampo8_5; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo9_1Column { + get { + return this.columnCampo9_1; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo9_2Column { + get { + return this.columnCampo9_2; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo9_3Column { + get { + return this.columnCampo9_3; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo9_4Column { + get { + return this.columnCampo9_4; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo9_5Column { + get { + return this.columnCampo9_5; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo10_1Column { + get { + return this.columnCampo10_1; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo10_2Column { + get { + return this.columnCampo10_2; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo10_3Column { + get { + return this.columnCampo10_3; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo10_4Column { + get { + return this.columnCampo10_4; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo10_5Column { + get { + return this.columnCampo10_5; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo11_1_1Column { + get { + return this.columnCampo11_1_1; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo11_1_2Column { + get { + return this.columnCampo11_1_2; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo11_1_3Column { + get { + return this.columnCampo11_1_3; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo11_1_4Column { + get { + return this.columnCampo11_1_4; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo11_1_5Column { + get { + return this.columnCampo11_1_5; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo11_2_1Column { + get { + return this.columnCampo11_2_1; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo11_2_2Column { + get { + return this.columnCampo11_2_2; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo11_2_3Column { + get { + return this.columnCampo11_2_3; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo11_2_4Column { + get { + return this.columnCampo11_2_4; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo11_2_5Column { + get { + return this.columnCampo11_2_5; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo12_1Column { + get { + return this.columnCampo12_1; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo12_2Column { + get { + return this.columnCampo12_2; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo12_3Column { + get { + return this.columnCampo12_3; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo12_4Column { + get { + return this.columnCampo12_4; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo12_5Column { + get { + return this.columnCampo12_5; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo13_1Column { + get { + return this.columnCampo13_1; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo13_2Column { + get { + return this.columnCampo13_2; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo13_3Column { + get { + return this.columnCampo13_3; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo13_4Column { + get { + return this.columnCampo13_4; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo13_5Column { + get { + return this.columnCampo13_5; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo14_1Column { + get { + return this.columnCampo14_1; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo14_2Column { + get { + return this.columnCampo14_2; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo14_3Column { + get { + return this.columnCampo14_3; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo14_4Column { + get { + return this.columnCampo14_4; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo14_5Column { + get { + return this.columnCampo14_5; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo15_1Column { + get { + return this.columnCampo15_1; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo15_2Column { + get { + return this.columnCampo15_2; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo15_3Column { + get { + return this.columnCampo15_3; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo15_4Column { + get { + return this.columnCampo15_4; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo15_5Column { + get { + return this.columnCampo15_5; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo16_1Column { + get { + return this.columnCampo16_1; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo16_2Column { + get { + return this.columnCampo16_2; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo16_3Column { + get { + return this.columnCampo16_3; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo16_4Column { + get { + return this.columnCampo16_4; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Campo16_5Column { + get { + return this.columnCampo16_5; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn StatoOkColumn { + get { + return this.columnStatoOk; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodCSColumn { + get { + return this.columnCodCS; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public OdetteRow this[int index] { + get { + return ((OdetteRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event OdetteRowChangeEventHandler OdetteRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event OdetteRowChangeEventHandler OdetteRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event OdetteRowChangeEventHandler OdetteRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event OdetteRowChangeEventHandler OdetteRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddOdetteRow(OdetteRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public OdetteRow AddOdetteRow( + string CampoUDC, + string Campo1_1, + string Campo1_2, + string Campo1_3, + string Campo1_4, + string Campo1_5, + string Campo2_1, + string Campo2_2, + string Campo2_3, + string Campo2_4, + string Campo2_5, + string Campo3_1, + string Campo3_2, + string Campo3_3, + string Campo3_4, + string Campo3_5, + string Campo4_1, + string Campo4_2, + string Campo4_3, + string Campo4_4, + string Campo4_5, + string Campo5_1, + string Campo5_2, + string Campo5_3, + string Campo5_4, + string Campo5_5, + string Campo6_1, + string Campo6_2, + string Campo6_3, + string Campo6_4, + string Campo6_5, + string Campo7_1, + string Campo7_2, + string Campo7_3, + string Campo7_4, + string Campo7_5, + string Campo8_1, + string Campo8_2, + string Campo8_3, + string Campo8_4, + string Campo8_5, + string Campo9_1, + string Campo9_2, + string Campo9_3, + string Campo9_4, + string Campo9_5, + string Campo10_1, + string Campo10_2, + string Campo10_3, + string Campo10_4, + string Campo10_5, + string Campo11_1_1, + string Campo11_1_2, + string Campo11_1_3, + string Campo11_1_4, + string Campo11_1_5, + string Campo11_2_1, + string Campo11_2_2, + string Campo11_2_3, + string Campo11_2_4, + string Campo11_2_5, + string Campo12_1, + string Campo12_2, + string Campo12_3, + string Campo12_4, + string Campo12_5, + string Campo13_1, + string Campo13_2, + string Campo13_3, + string Campo13_4, + string Campo13_5, + string Campo14_1, + string Campo14_2, + string Campo14_3, + string Campo14_4, + string Campo14_5, + string Campo15_1, + string Campo15_2, + string Campo15_3, + string Campo15_4, + string Campo15_5, + string Campo16_1, + string Campo16_2, + string Campo16_3, + string Campo16_4, + string Campo16_5, + bool StatoOk, + string CodCS) { + OdetteRow rowOdetteRow = ((OdetteRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CampoUDC, + Campo1_1, + Campo1_2, + Campo1_3, + Campo1_4, + Campo1_5, + Campo2_1, + Campo2_2, + Campo2_3, + Campo2_4, + Campo2_5, + Campo3_1, + Campo3_2, + Campo3_3, + Campo3_4, + Campo3_5, + Campo4_1, + Campo4_2, + Campo4_3, + Campo4_4, + Campo4_5, + Campo5_1, + Campo5_2, + Campo5_3, + Campo5_4, + Campo5_5, + Campo6_1, + Campo6_2, + Campo6_3, + Campo6_4, + Campo6_5, + Campo7_1, + Campo7_2, + Campo7_3, + Campo7_4, + Campo7_5, + Campo8_1, + Campo8_2, + Campo8_3, + Campo8_4, + Campo8_5, + Campo9_1, + Campo9_2, + Campo9_3, + Campo9_4, + Campo9_5, + Campo10_1, + Campo10_2, + Campo10_3, + Campo10_4, + Campo10_5, + Campo11_1_1, + Campo11_1_2, + Campo11_1_3, + Campo11_1_4, + Campo11_1_5, + Campo11_2_1, + Campo11_2_2, + Campo11_2_3, + Campo11_2_4, + Campo11_2_5, + Campo12_1, + Campo12_2, + Campo12_3, + Campo12_4, + Campo12_5, + Campo13_1, + Campo13_2, + Campo13_3, + Campo13_4, + Campo13_5, + Campo14_1, + Campo14_2, + Campo14_3, + Campo14_4, + Campo14_5, + Campo15_1, + Campo15_2, + Campo15_3, + Campo15_4, + Campo15_5, + Campo16_1, + Campo16_2, + Campo16_3, + Campo16_4, + Campo16_5, + StatoOk, + CodCS}; + rowOdetteRow.ItemArray = columnValuesArray; + this.Rows.Add(rowOdetteRow); + return rowOdetteRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public OdetteRow FindByCampoUDC(string CampoUDC) { + return ((OdetteRow)(this.Rows.Find(new object[] { + CampoUDC}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + OdetteDataTable cln = ((OdetteDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new OdetteDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnCampoUDC = base.Columns["CampoUDC"]; + this.columnCampo1_1 = base.Columns["Campo1_1"]; + this.columnCampo1_2 = base.Columns["Campo1_2"]; + this.columnCampo1_3 = base.Columns["Campo1_3"]; + this.columnCampo1_4 = base.Columns["Campo1_4"]; + this.columnCampo1_5 = base.Columns["Campo1_5"]; + this.columnCampo2_1 = base.Columns["Campo2_1"]; + this.columnCampo2_2 = base.Columns["Campo2_2"]; + this.columnCampo2_3 = base.Columns["Campo2_3"]; + this.columnCampo2_4 = base.Columns["Campo2_4"]; + this.columnCampo2_5 = base.Columns["Campo2_5"]; + this.columnCampo3_1 = base.Columns["Campo3_1"]; + this.columnCampo3_2 = base.Columns["Campo3_2"]; + this.columnCampo3_3 = base.Columns["Campo3_3"]; + this.columnCampo3_4 = base.Columns["Campo3_4"]; + this.columnCampo3_5 = base.Columns["Campo3_5"]; + this.columnCampo4_1 = base.Columns["Campo4_1"]; + this.columnCampo4_2 = base.Columns["Campo4_2"]; + this.columnCampo4_3 = base.Columns["Campo4_3"]; + this.columnCampo4_4 = base.Columns["Campo4_4"]; + this.columnCampo4_5 = base.Columns["Campo4_5"]; + this.columnCampo5_1 = base.Columns["Campo5_1"]; + this.columnCampo5_2 = base.Columns["Campo5_2"]; + this.columnCampo5_3 = base.Columns["Campo5_3"]; + this.columnCampo5_4 = base.Columns["Campo5_4"]; + this.columnCampo5_5 = base.Columns["Campo5_5"]; + this.columnCampo6_1 = base.Columns["Campo6_1"]; + this.columnCampo6_2 = base.Columns["Campo6_2"]; + this.columnCampo6_3 = base.Columns["Campo6_3"]; + this.columnCampo6_4 = base.Columns["Campo6_4"]; + this.columnCampo6_5 = base.Columns["Campo6_5"]; + this.columnCampo7_1 = base.Columns["Campo7_1"]; + this.columnCampo7_2 = base.Columns["Campo7_2"]; + this.columnCampo7_3 = base.Columns["Campo7_3"]; + this.columnCampo7_4 = base.Columns["Campo7_4"]; + this.columnCampo7_5 = base.Columns["Campo7_5"]; + this.columnCampo8_1 = base.Columns["Campo8_1"]; + this.columnCampo8_2 = base.Columns["Campo8_2"]; + this.columnCampo8_3 = base.Columns["Campo8_3"]; + this.columnCampo8_4 = base.Columns["Campo8_4"]; + this.columnCampo8_5 = base.Columns["Campo8_5"]; + this.columnCampo9_1 = base.Columns["Campo9_1"]; + this.columnCampo9_2 = base.Columns["Campo9_2"]; + this.columnCampo9_3 = base.Columns["Campo9_3"]; + this.columnCampo9_4 = base.Columns["Campo9_4"]; + this.columnCampo9_5 = base.Columns["Campo9_5"]; + this.columnCampo10_1 = base.Columns["Campo10_1"]; + this.columnCampo10_2 = base.Columns["Campo10_2"]; + this.columnCampo10_3 = base.Columns["Campo10_3"]; + this.columnCampo10_4 = base.Columns["Campo10_4"]; + this.columnCampo10_5 = base.Columns["Campo10_5"]; + this.columnCampo11_1_1 = base.Columns["Campo11_1_1"]; + this.columnCampo11_1_2 = base.Columns["Campo11_1_2"]; + this.columnCampo11_1_3 = base.Columns["Campo11_1_3"]; + this.columnCampo11_1_4 = base.Columns["Campo11_1_4"]; + this.columnCampo11_1_5 = base.Columns["Campo11_1_5"]; + this.columnCampo11_2_1 = base.Columns["Campo11_2_1"]; + this.columnCampo11_2_2 = base.Columns["Campo11_2_2"]; + this.columnCampo11_2_3 = base.Columns["Campo11_2_3"]; + this.columnCampo11_2_4 = base.Columns["Campo11_2_4"]; + this.columnCampo11_2_5 = base.Columns["Campo11_2_5"]; + this.columnCampo12_1 = base.Columns["Campo12_1"]; + this.columnCampo12_2 = base.Columns["Campo12_2"]; + this.columnCampo12_3 = base.Columns["Campo12_3"]; + this.columnCampo12_4 = base.Columns["Campo12_4"]; + this.columnCampo12_5 = base.Columns["Campo12_5"]; + this.columnCampo13_1 = base.Columns["Campo13_1"]; + this.columnCampo13_2 = base.Columns["Campo13_2"]; + this.columnCampo13_3 = base.Columns["Campo13_3"]; + this.columnCampo13_4 = base.Columns["Campo13_4"]; + this.columnCampo13_5 = base.Columns["Campo13_5"]; + this.columnCampo14_1 = base.Columns["Campo14_1"]; + this.columnCampo14_2 = base.Columns["Campo14_2"]; + this.columnCampo14_3 = base.Columns["Campo14_3"]; + this.columnCampo14_4 = base.Columns["Campo14_4"]; + this.columnCampo14_5 = base.Columns["Campo14_5"]; + this.columnCampo15_1 = base.Columns["Campo15_1"]; + this.columnCampo15_2 = base.Columns["Campo15_2"]; + this.columnCampo15_3 = base.Columns["Campo15_3"]; + this.columnCampo15_4 = base.Columns["Campo15_4"]; + this.columnCampo15_5 = base.Columns["Campo15_5"]; + this.columnCampo16_1 = base.Columns["Campo16_1"]; + this.columnCampo16_2 = base.Columns["Campo16_2"]; + this.columnCampo16_3 = base.Columns["Campo16_3"]; + this.columnCampo16_4 = base.Columns["Campo16_4"]; + this.columnCampo16_5 = base.Columns["Campo16_5"]; + this.columnStatoOk = base.Columns["StatoOk"]; + this.columnCodCS = base.Columns["CodCS"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnCampoUDC = new global::System.Data.DataColumn("CampoUDC", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampoUDC); + this.columnCampo1_1 = new global::System.Data.DataColumn("Campo1_1", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo1_1); + this.columnCampo1_2 = new global::System.Data.DataColumn("Campo1_2", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo1_2); + this.columnCampo1_3 = new global::System.Data.DataColumn("Campo1_3", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo1_3); + this.columnCampo1_4 = new global::System.Data.DataColumn("Campo1_4", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo1_4); + this.columnCampo1_5 = new global::System.Data.DataColumn("Campo1_5", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo1_5); + this.columnCampo2_1 = new global::System.Data.DataColumn("Campo2_1", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo2_1); + this.columnCampo2_2 = new global::System.Data.DataColumn("Campo2_2", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo2_2); + this.columnCampo2_3 = new global::System.Data.DataColumn("Campo2_3", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo2_3); + this.columnCampo2_4 = new global::System.Data.DataColumn("Campo2_4", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo2_4); + this.columnCampo2_5 = new global::System.Data.DataColumn("Campo2_5", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo2_5); + this.columnCampo3_1 = new global::System.Data.DataColumn("Campo3_1", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo3_1); + this.columnCampo3_2 = new global::System.Data.DataColumn("Campo3_2", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo3_2); + this.columnCampo3_3 = new global::System.Data.DataColumn("Campo3_3", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo3_3); + this.columnCampo3_4 = new global::System.Data.DataColumn("Campo3_4", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo3_4); + this.columnCampo3_5 = new global::System.Data.DataColumn("Campo3_5", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo3_5); + this.columnCampo4_1 = new global::System.Data.DataColumn("Campo4_1", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo4_1); + this.columnCampo4_2 = new global::System.Data.DataColumn("Campo4_2", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo4_2); + this.columnCampo4_3 = new global::System.Data.DataColumn("Campo4_3", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo4_3); + this.columnCampo4_4 = new global::System.Data.DataColumn("Campo4_4", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo4_4); + this.columnCampo4_5 = new global::System.Data.DataColumn("Campo4_5", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo4_5); + this.columnCampo5_1 = new global::System.Data.DataColumn("Campo5_1", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo5_1); + this.columnCampo5_2 = new global::System.Data.DataColumn("Campo5_2", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo5_2); + this.columnCampo5_3 = new global::System.Data.DataColumn("Campo5_3", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo5_3); + this.columnCampo5_4 = new global::System.Data.DataColumn("Campo5_4", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo5_4); + this.columnCampo5_5 = new global::System.Data.DataColumn("Campo5_5", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo5_5); + this.columnCampo6_1 = new global::System.Data.DataColumn("Campo6_1", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo6_1); + this.columnCampo6_2 = new global::System.Data.DataColumn("Campo6_2", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo6_2); + this.columnCampo6_3 = new global::System.Data.DataColumn("Campo6_3", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo6_3); + this.columnCampo6_4 = new global::System.Data.DataColumn("Campo6_4", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo6_4); + this.columnCampo6_5 = new global::System.Data.DataColumn("Campo6_5", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo6_5); + this.columnCampo7_1 = new global::System.Data.DataColumn("Campo7_1", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo7_1); + this.columnCampo7_2 = new global::System.Data.DataColumn("Campo7_2", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo7_2); + this.columnCampo7_3 = new global::System.Data.DataColumn("Campo7_3", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo7_3); + this.columnCampo7_4 = new global::System.Data.DataColumn("Campo7_4", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo7_4); + this.columnCampo7_5 = new global::System.Data.DataColumn("Campo7_5", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo7_5); + this.columnCampo8_1 = new global::System.Data.DataColumn("Campo8_1", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo8_1); + this.columnCampo8_2 = new global::System.Data.DataColumn("Campo8_2", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo8_2); + this.columnCampo8_3 = new global::System.Data.DataColumn("Campo8_3", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo8_3); + this.columnCampo8_4 = new global::System.Data.DataColumn("Campo8_4", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo8_4); + this.columnCampo8_5 = new global::System.Data.DataColumn("Campo8_5", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo8_5); + this.columnCampo9_1 = new global::System.Data.DataColumn("Campo9_1", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo9_1); + this.columnCampo9_2 = new global::System.Data.DataColumn("Campo9_2", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo9_2); + this.columnCampo9_3 = new global::System.Data.DataColumn("Campo9_3", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo9_3); + this.columnCampo9_4 = new global::System.Data.DataColumn("Campo9_4", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo9_4); + this.columnCampo9_5 = new global::System.Data.DataColumn("Campo9_5", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo9_5); + this.columnCampo10_1 = new global::System.Data.DataColumn("Campo10_1", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo10_1); + this.columnCampo10_2 = new global::System.Data.DataColumn("Campo10_2", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo10_2); + this.columnCampo10_3 = new global::System.Data.DataColumn("Campo10_3", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo10_3); + this.columnCampo10_4 = new global::System.Data.DataColumn("Campo10_4", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo10_4); + this.columnCampo10_5 = new global::System.Data.DataColumn("Campo10_5", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo10_5); + this.columnCampo11_1_1 = new global::System.Data.DataColumn("Campo11_1_1", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo11_1_1); + this.columnCampo11_1_2 = new global::System.Data.DataColumn("Campo11_1_2", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo11_1_2); + this.columnCampo11_1_3 = new global::System.Data.DataColumn("Campo11_1_3", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo11_1_3); + this.columnCampo11_1_4 = new global::System.Data.DataColumn("Campo11_1_4", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo11_1_4); + this.columnCampo11_1_5 = new global::System.Data.DataColumn("Campo11_1_5", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo11_1_5); + this.columnCampo11_2_1 = new global::System.Data.DataColumn("Campo11_2_1", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo11_2_1); + this.columnCampo11_2_2 = new global::System.Data.DataColumn("Campo11_2_2", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo11_2_2); + this.columnCampo11_2_3 = new global::System.Data.DataColumn("Campo11_2_3", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo11_2_3); + this.columnCampo11_2_4 = new global::System.Data.DataColumn("Campo11_2_4", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo11_2_4); + this.columnCampo11_2_5 = new global::System.Data.DataColumn("Campo11_2_5", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo11_2_5); + this.columnCampo12_1 = new global::System.Data.DataColumn("Campo12_1", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo12_1); + this.columnCampo12_2 = new global::System.Data.DataColumn("Campo12_2", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo12_2); + this.columnCampo12_3 = new global::System.Data.DataColumn("Campo12_3", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo12_3); + this.columnCampo12_4 = new global::System.Data.DataColumn("Campo12_4", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo12_4); + this.columnCampo12_5 = new global::System.Data.DataColumn("Campo12_5", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo12_5); + this.columnCampo13_1 = new global::System.Data.DataColumn("Campo13_1", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo13_1); + this.columnCampo13_2 = new global::System.Data.DataColumn("Campo13_2", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo13_2); + this.columnCampo13_3 = new global::System.Data.DataColumn("Campo13_3", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo13_3); + this.columnCampo13_4 = new global::System.Data.DataColumn("Campo13_4", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo13_4); + this.columnCampo13_5 = new global::System.Data.DataColumn("Campo13_5", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo13_5); + this.columnCampo14_1 = new global::System.Data.DataColumn("Campo14_1", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo14_1); + this.columnCampo14_2 = new global::System.Data.DataColumn("Campo14_2", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo14_2); + this.columnCampo14_3 = new global::System.Data.DataColumn("Campo14_3", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo14_3); + this.columnCampo14_4 = new global::System.Data.DataColumn("Campo14_4", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo14_4); + this.columnCampo14_5 = new global::System.Data.DataColumn("Campo14_5", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo14_5); + this.columnCampo15_1 = new global::System.Data.DataColumn("Campo15_1", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo15_1); + this.columnCampo15_2 = new global::System.Data.DataColumn("Campo15_2", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo15_2); + this.columnCampo15_3 = new global::System.Data.DataColumn("Campo15_3", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo15_3); + this.columnCampo15_4 = new global::System.Data.DataColumn("Campo15_4", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo15_4); + this.columnCampo15_5 = new global::System.Data.DataColumn("Campo15_5", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo15_5); + this.columnCampo16_1 = new global::System.Data.DataColumn("Campo16_1", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo16_1); + this.columnCampo16_2 = new global::System.Data.DataColumn("Campo16_2", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo16_2); + this.columnCampo16_3 = new global::System.Data.DataColumn("Campo16_3", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo16_3); + this.columnCampo16_4 = new global::System.Data.DataColumn("Campo16_4", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo16_4); + this.columnCampo16_5 = new global::System.Data.DataColumn("Campo16_5", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampo16_5); + this.columnStatoOk = new global::System.Data.DataColumn("StatoOk", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnStatoOk); + this.columnCodCS = new global::System.Data.DataColumn("CodCS", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCS); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCampoUDC}, true)); + this.columnCampoUDC.AllowDBNull = false; + this.columnCampoUDC.Unique = true; + this.columnCampoUDC.MaxLength = 50; + this.columnCampo1_1.AllowDBNull = false; + this.columnCampo1_1.MaxLength = 50; + this.columnCampo1_2.AllowDBNull = false; + this.columnCampo1_2.MaxLength = 50; + this.columnCampo1_3.AllowDBNull = false; + this.columnCampo1_3.MaxLength = 50; + this.columnCampo1_4.AllowDBNull = false; + this.columnCampo1_4.MaxLength = 50; + this.columnCampo1_5.AllowDBNull = false; + this.columnCampo1_5.MaxLength = 50; + this.columnCampo2_1.AllowDBNull = false; + this.columnCampo2_1.MaxLength = 50; + this.columnCampo2_2.AllowDBNull = false; + this.columnCampo2_2.MaxLength = 50; + this.columnCampo2_3.AllowDBNull = false; + this.columnCampo2_3.MaxLength = 50; + this.columnCampo2_4.AllowDBNull = false; + this.columnCampo2_4.MaxLength = 50; + this.columnCampo2_5.AllowDBNull = false; + this.columnCampo2_5.MaxLength = 50; + this.columnCampo3_1.AllowDBNull = false; + this.columnCampo3_1.MaxLength = 50; + this.columnCampo3_2.AllowDBNull = false; + this.columnCampo3_2.MaxLength = 50; + this.columnCampo3_3.AllowDBNull = false; + this.columnCampo3_3.MaxLength = 50; + this.columnCampo3_4.AllowDBNull = false; + this.columnCampo3_4.MaxLength = 50; + this.columnCampo3_5.AllowDBNull = false; + this.columnCampo3_5.MaxLength = 50; + this.columnCampo4_1.AllowDBNull = false; + this.columnCampo4_1.MaxLength = 50; + this.columnCampo4_2.AllowDBNull = false; + this.columnCampo4_2.MaxLength = 50; + this.columnCampo4_3.AllowDBNull = false; + this.columnCampo4_3.MaxLength = 50; + this.columnCampo4_4.AllowDBNull = false; + this.columnCampo4_4.MaxLength = 50; + this.columnCampo4_5.AllowDBNull = false; + this.columnCampo4_5.MaxLength = 50; + this.columnCampo5_1.AllowDBNull = false; + this.columnCampo5_1.MaxLength = 50; + this.columnCampo5_2.AllowDBNull = false; + this.columnCampo5_2.MaxLength = 50; + this.columnCampo5_3.AllowDBNull = false; + this.columnCampo5_3.MaxLength = 50; + this.columnCampo5_4.AllowDBNull = false; + this.columnCampo5_4.MaxLength = 50; + this.columnCampo5_5.AllowDBNull = false; + this.columnCampo5_5.MaxLength = 50; + this.columnCampo6_1.AllowDBNull = false; + this.columnCampo6_1.MaxLength = 50; + this.columnCampo6_2.AllowDBNull = false; + this.columnCampo6_2.MaxLength = 50; + this.columnCampo6_3.AllowDBNull = false; + this.columnCampo6_3.MaxLength = 50; + this.columnCampo6_4.AllowDBNull = false; + this.columnCampo6_4.MaxLength = 50; + this.columnCampo6_5.AllowDBNull = false; + this.columnCampo6_5.MaxLength = 50; + this.columnCampo7_1.AllowDBNull = false; + this.columnCampo7_1.MaxLength = 50; + this.columnCampo7_2.AllowDBNull = false; + this.columnCampo7_2.MaxLength = 50; + this.columnCampo7_3.AllowDBNull = false; + this.columnCampo7_3.MaxLength = 50; + this.columnCampo7_4.AllowDBNull = false; + this.columnCampo7_4.MaxLength = 50; + this.columnCampo7_5.AllowDBNull = false; + this.columnCampo7_5.MaxLength = 50; + this.columnCampo8_1.AllowDBNull = false; + this.columnCampo8_1.MaxLength = 50; + this.columnCampo8_2.AllowDBNull = false; + this.columnCampo8_2.MaxLength = 50; + this.columnCampo8_3.AllowDBNull = false; + this.columnCampo8_3.MaxLength = 50; + this.columnCampo8_4.AllowDBNull = false; + this.columnCampo8_4.MaxLength = 50; + this.columnCampo8_5.AllowDBNull = false; + this.columnCampo8_5.MaxLength = 50; + this.columnCampo9_1.AllowDBNull = false; + this.columnCampo9_1.MaxLength = 50; + this.columnCampo9_2.AllowDBNull = false; + this.columnCampo9_2.MaxLength = 50; + this.columnCampo9_3.AllowDBNull = false; + this.columnCampo9_3.MaxLength = 50; + this.columnCampo9_4.AllowDBNull = false; + this.columnCampo9_4.MaxLength = 50; + this.columnCampo9_5.AllowDBNull = false; + this.columnCampo9_5.MaxLength = 50; + this.columnCampo10_1.AllowDBNull = false; + this.columnCampo10_1.MaxLength = 50; + this.columnCampo10_2.AllowDBNull = false; + this.columnCampo10_2.MaxLength = 50; + this.columnCampo10_3.AllowDBNull = false; + this.columnCampo10_3.MaxLength = 50; + this.columnCampo10_4.AllowDBNull = false; + this.columnCampo10_4.MaxLength = 50; + this.columnCampo10_5.AllowDBNull = false; + this.columnCampo10_5.MaxLength = 50; + this.columnCampo11_1_1.AllowDBNull = false; + this.columnCampo11_1_1.MaxLength = 50; + this.columnCampo11_1_2.AllowDBNull = false; + this.columnCampo11_1_2.MaxLength = 50; + this.columnCampo11_1_3.AllowDBNull = false; + this.columnCampo11_1_3.MaxLength = 50; + this.columnCampo11_1_4.AllowDBNull = false; + this.columnCampo11_1_4.MaxLength = 50; + this.columnCampo11_1_5.AllowDBNull = false; + this.columnCampo11_1_5.MaxLength = 50; + this.columnCampo11_2_1.AllowDBNull = false; + this.columnCampo11_2_1.MaxLength = 50; + this.columnCampo11_2_2.AllowDBNull = false; + this.columnCampo11_2_2.MaxLength = 50; + this.columnCampo11_2_3.AllowDBNull = false; + this.columnCampo11_2_3.MaxLength = 50; + this.columnCampo11_2_4.AllowDBNull = false; + this.columnCampo11_2_4.MaxLength = 50; + this.columnCampo11_2_5.AllowDBNull = false; + this.columnCampo11_2_5.MaxLength = 50; + this.columnCampo12_1.AllowDBNull = false; + this.columnCampo12_1.MaxLength = 50; + this.columnCampo12_2.AllowDBNull = false; + this.columnCampo12_2.MaxLength = 50; + this.columnCampo12_3.AllowDBNull = false; + this.columnCampo12_3.MaxLength = 50; + this.columnCampo12_4.AllowDBNull = false; + this.columnCampo12_4.MaxLength = 50; + this.columnCampo12_5.AllowDBNull = false; + this.columnCampo12_5.MaxLength = 50; + this.columnCampo13_1.AllowDBNull = false; + this.columnCampo13_1.MaxLength = 50; + this.columnCampo13_2.AllowDBNull = false; + this.columnCampo13_2.MaxLength = 50; + this.columnCampo13_3.AllowDBNull = false; + this.columnCampo13_3.MaxLength = 50; + this.columnCampo13_4.AllowDBNull = false; + this.columnCampo13_4.MaxLength = 50; + this.columnCampo13_5.AllowDBNull = false; + this.columnCampo13_5.MaxLength = 50; + this.columnCampo14_1.AllowDBNull = false; + this.columnCampo14_1.MaxLength = 50; + this.columnCampo14_2.AllowDBNull = false; + this.columnCampo14_2.MaxLength = 50; + this.columnCampo14_3.AllowDBNull = false; + this.columnCampo14_3.MaxLength = 50; + this.columnCampo14_4.AllowDBNull = false; + this.columnCampo14_4.MaxLength = 50; + this.columnCampo14_5.AllowDBNull = false; + this.columnCampo14_5.MaxLength = 50; + this.columnCampo15_1.AllowDBNull = false; + this.columnCampo15_1.MaxLength = 50; + this.columnCampo15_2.AllowDBNull = false; + this.columnCampo15_2.MaxLength = 50; + this.columnCampo15_3.AllowDBNull = false; + this.columnCampo15_3.MaxLength = 50; + this.columnCampo15_4.AllowDBNull = false; + this.columnCampo15_4.MaxLength = 50; + this.columnCampo15_5.AllowDBNull = false; + this.columnCampo15_5.MaxLength = 50; + this.columnCampo16_1.AllowDBNull = false; + this.columnCampo16_1.MaxLength = 50; + this.columnCampo16_2.AllowDBNull = false; + this.columnCampo16_2.MaxLength = 50; + this.columnCampo16_3.AllowDBNull = false; + this.columnCampo16_3.MaxLength = 50; + this.columnCampo16_4.AllowDBNull = false; + this.columnCampo16_4.MaxLength = 50; + this.columnCampo16_5.AllowDBNull = false; + this.columnCampo16_5.MaxLength = 50; + this.columnStatoOk.AllowDBNull = false; + this.columnCodCS.AllowDBNull = false; + this.columnCodCS.MaxLength = 2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public OdetteRow NewOdetteRow() { + return ((OdetteRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new OdetteRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(OdetteRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.OdetteRowChanged != null)) { + this.OdetteRowChanged(this, new OdetteRowChangeEvent(((OdetteRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.OdetteRowChanging != null)) { + this.OdetteRowChanging(this, new OdetteRowChangeEvent(((OdetteRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.OdetteRowDeleted != null)) { + this.OdetteRowDeleted(this, new OdetteRowChangeEvent(((OdetteRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.OdetteRowDeleting != null)) { + this.OdetteRowDeleting(this, new OdetteRowChangeEvent(((OdetteRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveOdetteRow(OdetteRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_Odette ds = new DS_Odette(); + 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 = "OdetteDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class stp_OdetteStatoCreateDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnOdetteCreate; + + private global::System.Data.DataColumn columnOdetteDaCreare; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_OdetteStatoCreateDataTable() { + this.TableName = "stp_OdetteStatoCreate"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal stp_OdetteStatoCreateDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected stp_OdetteStatoCreateDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn OdetteCreateColumn { + get { + return this.columnOdetteCreate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn OdetteDaCreareColumn { + get { + return this.columnOdetteDaCreare; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_OdetteStatoCreateRow this[int index] { + get { + return ((stp_OdetteStatoCreateRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event stp_OdetteStatoCreateRowChangeEventHandler stp_OdetteStatoCreateRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event stp_OdetteStatoCreateRowChangeEventHandler stp_OdetteStatoCreateRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event stp_OdetteStatoCreateRowChangeEventHandler stp_OdetteStatoCreateRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event stp_OdetteStatoCreateRowChangeEventHandler stp_OdetteStatoCreateRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addstp_OdetteStatoCreateRow(stp_OdetteStatoCreateRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_OdetteStatoCreateRow Addstp_OdetteStatoCreateRow(int OdetteCreate, int OdetteDaCreare) { + stp_OdetteStatoCreateRow rowstp_OdetteStatoCreateRow = ((stp_OdetteStatoCreateRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + OdetteCreate, + OdetteDaCreare}; + rowstp_OdetteStatoCreateRow.ItemArray = columnValuesArray; + this.Rows.Add(rowstp_OdetteStatoCreateRow); + return rowstp_OdetteStatoCreateRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + stp_OdetteStatoCreateDataTable cln = ((stp_OdetteStatoCreateDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new stp_OdetteStatoCreateDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnOdetteCreate = base.Columns["OdetteCreate"]; + this.columnOdetteDaCreare = base.Columns["OdetteDaCreare"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnOdetteCreate = new global::System.Data.DataColumn("OdetteCreate", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOdetteCreate); + this.columnOdetteDaCreare = new global::System.Data.DataColumn("OdetteDaCreare", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOdetteDaCreare); + this.columnOdetteCreate.ReadOnly = true; + this.columnOdetteDaCreare.ReadOnly = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_OdetteStatoCreateRow Newstp_OdetteStatoCreateRow() { + return ((stp_OdetteStatoCreateRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new stp_OdetteStatoCreateRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(stp_OdetteStatoCreateRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.stp_OdetteStatoCreateRowChanged != null)) { + this.stp_OdetteStatoCreateRowChanged(this, new stp_OdetteStatoCreateRowChangeEvent(((stp_OdetteStatoCreateRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.stp_OdetteStatoCreateRowChanging != null)) { + this.stp_OdetteStatoCreateRowChanging(this, new stp_OdetteStatoCreateRowChangeEvent(((stp_OdetteStatoCreateRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.stp_OdetteStatoCreateRowDeleted != null)) { + this.stp_OdetteStatoCreateRowDeleted(this, new stp_OdetteStatoCreateRowChangeEvent(((stp_OdetteStatoCreateRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.stp_OdetteStatoCreateRowDeleting != null)) { + this.stp_OdetteStatoCreateRowDeleting(this, new stp_OdetteStatoCreateRowChangeEvent(((stp_OdetteStatoCreateRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removestp_OdetteStatoCreateRow(stp_OdetteStatoCreateRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_Odette ds = new DS_Odette(); + 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_OdetteStatoCreateDataTable"; + 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. + /// + public partial class BORI202JRow : global::System.Data.DataRow { + + private BORI202JDataTable tableBORI202J; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal BORI202JRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableBORI202J = ((BORI202JDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CDMFS { + get { + return ((string)(this[this.tableBORI202J.CDMFSColumn])); + } + set { + this[this.tableBORI202J.CDMFSColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string GRBOS { + get { + return ((string)(this[this.tableBORI202J.GRBOSColumn])); + } + set { + this[this.tableBORI202J.GRBOSColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal DTBOS { + get { + return ((decimal)(this[this.tableBORI202J.DTBOSColumn])); + } + set { + this[this.tableBORI202J.DTBOSColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal NRBOS { + get { + return ((decimal)(this[this.tableBORI202J.NRBOSColumn])); + } + set { + this[this.tableBORI202J.NRBOSColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CDARS { + get { + return ((string)(this[this.tableBORI202J.CDARSColumn])); + } + set { + this[this.tableBORI202J.CDARSColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal NRRGS { + get { + return ((decimal)(this[this.tableBORI202J.NRRGSColumn])); + } + set { + this[this.tableBORI202J.NRRGSColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CDINB { + get { + return ((string)(this[this.tableBORI202J.CDINBColumn])); + } + set { + this[this.tableBORI202J.CDINBColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string RA1ND { + get { + return ((string)(this[this.tableBORI202J.RA1NDColumn])); + } + set { + this[this.tableBORI202J.RA1NDColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string RA2ND { + get { + return ((string)(this[this.tableBORI202J.RA2NDColumn])); + } + set { + this[this.tableBORI202J.RA2NDColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CAPND { + get { + return ((string)(this[this.tableBORI202J.CAPNDColumn])); + } + set { + this[this.tableBORI202J.CAPNDColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CITND { + get { + return ((string)(this[this.tableBORI202J.CITNDColumn])); + } + set { + this[this.tableBORI202J.CITNDColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string RASCL { + get { + return ((string)(this[this.tableBORI202J.RASCLColumn])); + } + set { + this[this.tableBORI202J.RASCLColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string INDCL { + get { + return ((string)(this[this.tableBORI202J.INDCLColumn])); + } + set { + this[this.tableBORI202J.INDCLColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CAPCL { + get { + return ((string)(this[this.tableBORI202J.CAPCLColumn])); + } + set { + this[this.tableBORI202J.CAPCLColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string LOCCL { + get { + return ((string)(this[this.tableBORI202J.LOCCLColumn])); + } + set { + this[this.tableBORI202J.LOCCLColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string PROCL { + get { + return ((string)(this[this.tableBORI202J.PROCLColumn])); + } + set { + this[this.tableBORI202J.PROCLColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string INEND { + get { + return ((string)(this[this.tableBORI202J.INENDColumn])); + } + set { + this[this.tableBORI202J.INENDColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CRAGCL { + get { + return ((string)(this[this.tableBORI202J.CRAGCLColumn])); + } + set { + this[this.tableBORI202J.CRAGCLColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string TELND { + get { + return ((string)(this[this.tableBORI202J.TELNDColumn])); + } + set { + this[this.tableBORI202J.TELNDColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CCDMOL { + get { + return ((string)(this[this.tableBORI202J.CCDMOLColumn])); + } + set { + this[this.tableBORI202J.CCDMOLColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CCDPTR { + get { + return ((string)(this[this.tableBORI202J.CCDPTRColumn])); + } + set { + this[this.tableBORI202J.CCDPTRColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal EPLAVO { + get { + return ((decimal)(this[this.tableBORI202J.EPLAVOColumn])); + } + set { + this[this.tableBORI202J.EPLAVOColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal NRC1B { + get { + return ((decimal)(this[this.tableBORI202J.NRC1BColumn])); + } + set { + this[this.tableBORI202J.NRC1BColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string ECMM01 { + get { + return ((string)(this[this.tableBORI202J.ECMM01Column])); + } + set { + this[this.tableBORI202J.ECMM01Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DEPAR { + get { + return ((string)(this[this.tableBORI202J.DEPARColumn])); + } + set { + this[this.tableBORI202J.DEPARColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string RCARTC { + get { + return ((string)(this[this.tableBORI202J.RCARTCColumn])); + } + set { + this[this.tableBORI202J.RCARTCColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string PERND { + get { + return ((string)(this[this.tableBORI202J.PERNDColumn])); + } + set { + this[this.tableBORI202J.PERNDColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CCDET1 { + get { + return ((string)(this[this.tableBORI202J.CCDET1Column])); + } + set { + this[this.tableBORI202J.CCDET1Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string ECDNAE { + get { + return ((string)(this[this.tableBORI202J.ECDNAEColumn])); + } + set { + this[this.tableBORI202J.ECDNAEColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string ECDNA1 { + get { + return ((string)(this[this.tableBORI202J.ECDNA1Column])); + } + set { + this[this.tableBORI202J.ECDNA1Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string EESPMD { + get { + return ((string)(this[this.tableBORI202J.EESPMDColumn])); + } + set { + this[this.tableBORI202J.EESPMDColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal PELDB { + get { + return ((decimal)(this[this.tableBORI202J.PELDBColumn])); + } + set { + this[this.tableBORI202J.PELDBColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal QTCNS { + get { + return ((decimal)(this[this.tableBORI202J.QTCNSColumn])); + } + set { + this[this.tableBORI202J.QTCNSColumn] = value; + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class OdetteRow : global::System.Data.DataRow { + + private OdetteDataTable tableOdette; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal OdetteRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableOdette = ((OdetteDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CampoUDC { + get { + return ((string)(this[this.tableOdette.CampoUDCColumn])); + } + set { + this[this.tableOdette.CampoUDCColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo1_1 { + get { + return ((string)(this[this.tableOdette.Campo1_1Column])); + } + set { + this[this.tableOdette.Campo1_1Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo1_2 { + get { + return ((string)(this[this.tableOdette.Campo1_2Column])); + } + set { + this[this.tableOdette.Campo1_2Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo1_3 { + get { + return ((string)(this[this.tableOdette.Campo1_3Column])); + } + set { + this[this.tableOdette.Campo1_3Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo1_4 { + get { + return ((string)(this[this.tableOdette.Campo1_4Column])); + } + set { + this[this.tableOdette.Campo1_4Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo1_5 { + get { + return ((string)(this[this.tableOdette.Campo1_5Column])); + } + set { + this[this.tableOdette.Campo1_5Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo2_1 { + get { + return ((string)(this[this.tableOdette.Campo2_1Column])); + } + set { + this[this.tableOdette.Campo2_1Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo2_2 { + get { + return ((string)(this[this.tableOdette.Campo2_2Column])); + } + set { + this[this.tableOdette.Campo2_2Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo2_3 { + get { + return ((string)(this[this.tableOdette.Campo2_3Column])); + } + set { + this[this.tableOdette.Campo2_3Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo2_4 { + get { + return ((string)(this[this.tableOdette.Campo2_4Column])); + } + set { + this[this.tableOdette.Campo2_4Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo2_5 { + get { + return ((string)(this[this.tableOdette.Campo2_5Column])); + } + set { + this[this.tableOdette.Campo2_5Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo3_1 { + get { + return ((string)(this[this.tableOdette.Campo3_1Column])); + } + set { + this[this.tableOdette.Campo3_1Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo3_2 { + get { + return ((string)(this[this.tableOdette.Campo3_2Column])); + } + set { + this[this.tableOdette.Campo3_2Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo3_3 { + get { + return ((string)(this[this.tableOdette.Campo3_3Column])); + } + set { + this[this.tableOdette.Campo3_3Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo3_4 { + get { + return ((string)(this[this.tableOdette.Campo3_4Column])); + } + set { + this[this.tableOdette.Campo3_4Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo3_5 { + get { + return ((string)(this[this.tableOdette.Campo3_5Column])); + } + set { + this[this.tableOdette.Campo3_5Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo4_1 { + get { + return ((string)(this[this.tableOdette.Campo4_1Column])); + } + set { + this[this.tableOdette.Campo4_1Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo4_2 { + get { + return ((string)(this[this.tableOdette.Campo4_2Column])); + } + set { + this[this.tableOdette.Campo4_2Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo4_3 { + get { + return ((string)(this[this.tableOdette.Campo4_3Column])); + } + set { + this[this.tableOdette.Campo4_3Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo4_4 { + get { + return ((string)(this[this.tableOdette.Campo4_4Column])); + } + set { + this[this.tableOdette.Campo4_4Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo4_5 { + get { + return ((string)(this[this.tableOdette.Campo4_5Column])); + } + set { + this[this.tableOdette.Campo4_5Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo5_1 { + get { + return ((string)(this[this.tableOdette.Campo5_1Column])); + } + set { + this[this.tableOdette.Campo5_1Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo5_2 { + get { + return ((string)(this[this.tableOdette.Campo5_2Column])); + } + set { + this[this.tableOdette.Campo5_2Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo5_3 { + get { + return ((string)(this[this.tableOdette.Campo5_3Column])); + } + set { + this[this.tableOdette.Campo5_3Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo5_4 { + get { + return ((string)(this[this.tableOdette.Campo5_4Column])); + } + set { + this[this.tableOdette.Campo5_4Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo5_5 { + get { + return ((string)(this[this.tableOdette.Campo5_5Column])); + } + set { + this[this.tableOdette.Campo5_5Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo6_1 { + get { + return ((string)(this[this.tableOdette.Campo6_1Column])); + } + set { + this[this.tableOdette.Campo6_1Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo6_2 { + get { + return ((string)(this[this.tableOdette.Campo6_2Column])); + } + set { + this[this.tableOdette.Campo6_2Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo6_3 { + get { + return ((string)(this[this.tableOdette.Campo6_3Column])); + } + set { + this[this.tableOdette.Campo6_3Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo6_4 { + get { + return ((string)(this[this.tableOdette.Campo6_4Column])); + } + set { + this[this.tableOdette.Campo6_4Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo6_5 { + get { + return ((string)(this[this.tableOdette.Campo6_5Column])); + } + set { + this[this.tableOdette.Campo6_5Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo7_1 { + get { + return ((string)(this[this.tableOdette.Campo7_1Column])); + } + set { + this[this.tableOdette.Campo7_1Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo7_2 { + get { + return ((string)(this[this.tableOdette.Campo7_2Column])); + } + set { + this[this.tableOdette.Campo7_2Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo7_3 { + get { + return ((string)(this[this.tableOdette.Campo7_3Column])); + } + set { + this[this.tableOdette.Campo7_3Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo7_4 { + get { + return ((string)(this[this.tableOdette.Campo7_4Column])); + } + set { + this[this.tableOdette.Campo7_4Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo7_5 { + get { + return ((string)(this[this.tableOdette.Campo7_5Column])); + } + set { + this[this.tableOdette.Campo7_5Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo8_1 { + get { + return ((string)(this[this.tableOdette.Campo8_1Column])); + } + set { + this[this.tableOdette.Campo8_1Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo8_2 { + get { + return ((string)(this[this.tableOdette.Campo8_2Column])); + } + set { + this[this.tableOdette.Campo8_2Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo8_3 { + get { + return ((string)(this[this.tableOdette.Campo8_3Column])); + } + set { + this[this.tableOdette.Campo8_3Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo8_4 { + get { + return ((string)(this[this.tableOdette.Campo8_4Column])); + } + set { + this[this.tableOdette.Campo8_4Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo8_5 { + get { + return ((string)(this[this.tableOdette.Campo8_5Column])); + } + set { + this[this.tableOdette.Campo8_5Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo9_1 { + get { + return ((string)(this[this.tableOdette.Campo9_1Column])); + } + set { + this[this.tableOdette.Campo9_1Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo9_2 { + get { + return ((string)(this[this.tableOdette.Campo9_2Column])); + } + set { + this[this.tableOdette.Campo9_2Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo9_3 { + get { + return ((string)(this[this.tableOdette.Campo9_3Column])); + } + set { + this[this.tableOdette.Campo9_3Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo9_4 { + get { + return ((string)(this[this.tableOdette.Campo9_4Column])); + } + set { + this[this.tableOdette.Campo9_4Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo9_5 { + get { + return ((string)(this[this.tableOdette.Campo9_5Column])); + } + set { + this[this.tableOdette.Campo9_5Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo10_1 { + get { + return ((string)(this[this.tableOdette.Campo10_1Column])); + } + set { + this[this.tableOdette.Campo10_1Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo10_2 { + get { + return ((string)(this[this.tableOdette.Campo10_2Column])); + } + set { + this[this.tableOdette.Campo10_2Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo10_3 { + get { + return ((string)(this[this.tableOdette.Campo10_3Column])); + } + set { + this[this.tableOdette.Campo10_3Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo10_4 { + get { + return ((string)(this[this.tableOdette.Campo10_4Column])); + } + set { + this[this.tableOdette.Campo10_4Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo10_5 { + get { + return ((string)(this[this.tableOdette.Campo10_5Column])); + } + set { + this[this.tableOdette.Campo10_5Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo11_1_1 { + get { + return ((string)(this[this.tableOdette.Campo11_1_1Column])); + } + set { + this[this.tableOdette.Campo11_1_1Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo11_1_2 { + get { + return ((string)(this[this.tableOdette.Campo11_1_2Column])); + } + set { + this[this.tableOdette.Campo11_1_2Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo11_1_3 { + get { + return ((string)(this[this.tableOdette.Campo11_1_3Column])); + } + set { + this[this.tableOdette.Campo11_1_3Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo11_1_4 { + get { + return ((string)(this[this.tableOdette.Campo11_1_4Column])); + } + set { + this[this.tableOdette.Campo11_1_4Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo11_1_5 { + get { + return ((string)(this[this.tableOdette.Campo11_1_5Column])); + } + set { + this[this.tableOdette.Campo11_1_5Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo11_2_1 { + get { + return ((string)(this[this.tableOdette.Campo11_2_1Column])); + } + set { + this[this.tableOdette.Campo11_2_1Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo11_2_2 { + get { + return ((string)(this[this.tableOdette.Campo11_2_2Column])); + } + set { + this[this.tableOdette.Campo11_2_2Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo11_2_3 { + get { + return ((string)(this[this.tableOdette.Campo11_2_3Column])); + } + set { + this[this.tableOdette.Campo11_2_3Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo11_2_4 { + get { + return ((string)(this[this.tableOdette.Campo11_2_4Column])); + } + set { + this[this.tableOdette.Campo11_2_4Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo11_2_5 { + get { + return ((string)(this[this.tableOdette.Campo11_2_5Column])); + } + set { + this[this.tableOdette.Campo11_2_5Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo12_1 { + get { + return ((string)(this[this.tableOdette.Campo12_1Column])); + } + set { + this[this.tableOdette.Campo12_1Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo12_2 { + get { + return ((string)(this[this.tableOdette.Campo12_2Column])); + } + set { + this[this.tableOdette.Campo12_2Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo12_3 { + get { + return ((string)(this[this.tableOdette.Campo12_3Column])); + } + set { + this[this.tableOdette.Campo12_3Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo12_4 { + get { + return ((string)(this[this.tableOdette.Campo12_4Column])); + } + set { + this[this.tableOdette.Campo12_4Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo12_5 { + get { + return ((string)(this[this.tableOdette.Campo12_5Column])); + } + set { + this[this.tableOdette.Campo12_5Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo13_1 { + get { + return ((string)(this[this.tableOdette.Campo13_1Column])); + } + set { + this[this.tableOdette.Campo13_1Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo13_2 { + get { + return ((string)(this[this.tableOdette.Campo13_2Column])); + } + set { + this[this.tableOdette.Campo13_2Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo13_3 { + get { + return ((string)(this[this.tableOdette.Campo13_3Column])); + } + set { + this[this.tableOdette.Campo13_3Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo13_4 { + get { + return ((string)(this[this.tableOdette.Campo13_4Column])); + } + set { + this[this.tableOdette.Campo13_4Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo13_5 { + get { + return ((string)(this[this.tableOdette.Campo13_5Column])); + } + set { + this[this.tableOdette.Campo13_5Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo14_1 { + get { + return ((string)(this[this.tableOdette.Campo14_1Column])); + } + set { + this[this.tableOdette.Campo14_1Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo14_2 { + get { + return ((string)(this[this.tableOdette.Campo14_2Column])); + } + set { + this[this.tableOdette.Campo14_2Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo14_3 { + get { + return ((string)(this[this.tableOdette.Campo14_3Column])); + } + set { + this[this.tableOdette.Campo14_3Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo14_4 { + get { + return ((string)(this[this.tableOdette.Campo14_4Column])); + } + set { + this[this.tableOdette.Campo14_4Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo14_5 { + get { + return ((string)(this[this.tableOdette.Campo14_5Column])); + } + set { + this[this.tableOdette.Campo14_5Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo15_1 { + get { + return ((string)(this[this.tableOdette.Campo15_1Column])); + } + set { + this[this.tableOdette.Campo15_1Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo15_2 { + get { + return ((string)(this[this.tableOdette.Campo15_2Column])); + } + set { + this[this.tableOdette.Campo15_2Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo15_3 { + get { + return ((string)(this[this.tableOdette.Campo15_3Column])); + } + set { + this[this.tableOdette.Campo15_3Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo15_4 { + get { + return ((string)(this[this.tableOdette.Campo15_4Column])); + } + set { + this[this.tableOdette.Campo15_4Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo15_5 { + get { + return ((string)(this[this.tableOdette.Campo15_5Column])); + } + set { + this[this.tableOdette.Campo15_5Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo16_1 { + get { + return ((string)(this[this.tableOdette.Campo16_1Column])); + } + set { + this[this.tableOdette.Campo16_1Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo16_2 { + get { + return ((string)(this[this.tableOdette.Campo16_2Column])); + } + set { + this[this.tableOdette.Campo16_2Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo16_3 { + get { + return ((string)(this[this.tableOdette.Campo16_3Column])); + } + set { + this[this.tableOdette.Campo16_3Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo16_4 { + get { + return ((string)(this[this.tableOdette.Campo16_4Column])); + } + set { + this[this.tableOdette.Campo16_4Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campo16_5 { + get { + return ((string)(this[this.tableOdette.Campo16_5Column])); + } + set { + this[this.tableOdette.Campo16_5Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool StatoOk { + get { + return ((bool)(this[this.tableOdette.StatoOkColumn])); + } + set { + this[this.tableOdette.StatoOkColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCS { + get { + return ((string)(this[this.tableOdette.CodCSColumn])); + } + set { + this[this.tableOdette.CodCSColumn] = value; + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class stp_OdetteStatoCreateRow : global::System.Data.DataRow { + + private stp_OdetteStatoCreateDataTable tablestp_OdetteStatoCreate; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal stp_OdetteStatoCreateRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablestp_OdetteStatoCreate = ((stp_OdetteStatoCreateDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int OdetteCreate { + get { + try { + return ((int)(this[this.tablestp_OdetteStatoCreate.OdetteCreateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'OdetteCreate\' in table \'stp_OdetteStatoCreate\' is DBNull.", e); + } + } + set { + this[this.tablestp_OdetteStatoCreate.OdetteCreateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int OdetteDaCreare { + get { + try { + return ((int)(this[this.tablestp_OdetteStatoCreate.OdetteDaCreareColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'OdetteDaCreare\' in table \'stp_OdetteStatoCreate\' is DBNull." + + "", e); + } + } + set { + this[this.tablestp_OdetteStatoCreate.OdetteDaCreareColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsOdetteCreateNull() { + return this.IsNull(this.tablestp_OdetteStatoCreate.OdetteCreateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetOdetteCreateNull() { + this[this.tablestp_OdetteStatoCreate.OdetteCreateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsOdetteDaCreareNull() { + return this.IsNull(this.tablestp_OdetteStatoCreate.OdetteDaCreareColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetOdetteDaCreareNull() { + this[this.tablestp_OdetteStatoCreate.OdetteDaCreareColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class BORI202JRowChangeEvent : global::System.EventArgs { + + private BORI202JRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public BORI202JRowChangeEvent(BORI202JRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public BORI202JRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class OdetteRowChangeEvent : global::System.EventArgs { + + private OdetteRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public OdetteRowChangeEvent(OdetteRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public OdetteRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class stp_OdetteStatoCreateRowChangeEvent : global::System.EventArgs { + + private stp_OdetteStatoCreateRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_OdetteStatoCreateRowChangeEvent(stp_OdetteStatoCreateRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_OdetteStatoCreateRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + } +} +namespace GMW_data.DS_OdetteTableAdapters { + + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class BORI202JTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public BORI202JTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "BORI202J"; + tableMapping.ColumnMappings.Add("CDMFS", "CDMFS"); + tableMapping.ColumnMappings.Add("GRBOS", "GRBOS"); + tableMapping.ColumnMappings.Add("DTBOS", "DTBOS"); + tableMapping.ColumnMappings.Add("NRBOS", "NRBOS"); + tableMapping.ColumnMappings.Add("CDARS", "CDARS"); + tableMapping.ColumnMappings.Add("NRRGS", "NRRGS"); + tableMapping.ColumnMappings.Add("CDINB", "CDINB"); + tableMapping.ColumnMappings.Add("RA1ND", "RA1ND"); + tableMapping.ColumnMappings.Add("RA2ND", "RA2ND"); + tableMapping.ColumnMappings.Add("CAPND", "CAPND"); + tableMapping.ColumnMappings.Add("CITND", "CITND"); + tableMapping.ColumnMappings.Add("RASCL", "RASCL"); + tableMapping.ColumnMappings.Add("INDCL", "INDCL"); + tableMapping.ColumnMappings.Add("CAPCL", "CAPCL"); + tableMapping.ColumnMappings.Add("LOCCL", "LOCCL"); + tableMapping.ColumnMappings.Add("PROCL", "PROCL"); + tableMapping.ColumnMappings.Add("INEND", "INEND"); + tableMapping.ColumnMappings.Add("CRAGCL", "CRAGCL"); + tableMapping.ColumnMappings.Add("TELND", "TELND"); + tableMapping.ColumnMappings.Add("CCDMOL", "CCDMOL"); + tableMapping.ColumnMappings.Add("CCDPTR", "CCDPTR"); + tableMapping.ColumnMappings.Add("EPLAVO", "EPLAVO"); + tableMapping.ColumnMappings.Add("NRC1B", "NRC1B"); + tableMapping.ColumnMappings.Add("ECMM01", "ECMM01"); + tableMapping.ColumnMappings.Add("DEPAR", "DEPAR"); + tableMapping.ColumnMappings.Add("RCARTC", "RCARTC"); + tableMapping.ColumnMappings.Add("PERND", "PERND"); + tableMapping.ColumnMappings.Add("CCDET1", "CCDET1"); + tableMapping.ColumnMappings.Add("ECDNAE", "ECDNAE"); + tableMapping.ColumnMappings.Add("ECDNA1", "ECDNA1"); + tableMapping.ColumnMappings.Add("EESPMD", "EESPMD"); + tableMapping.ColumnMappings.Add("PELDB", "PELDB"); + tableMapping.ColumnMappings.Add("QTCNS", "QTCNS"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = @"DELETE FROM [RawData].[BORI202J] WHERE (([CDMFS] = @Original_CDMFS) AND ([GRBOS] = @Original_GRBOS) AND ([DTBOS] = @Original_DTBOS) AND ([NRBOS] = @Original_NRBOS) AND ([CDARS] = @Original_CDARS) AND ([NRRGS] = @Original_NRRGS) AND ([CDINB] = @Original_CDINB) AND ([RA1ND] = @Original_RA1ND) AND ([RA2ND] = @Original_RA2ND) AND ([CAPND] = @Original_CAPND) AND ([CITND] = @Original_CITND) AND ([RASCL] = @Original_RASCL) AND ([INDCL] = @Original_INDCL) AND ([CAPCL] = @Original_CAPCL) AND ([LOCCL] = @Original_LOCCL) AND ([PROCL] = @Original_PROCL) AND ([INEND] = @Original_INEND) AND ([CRAGCL] = @Original_CRAGCL) AND ([TELND] = @Original_TELND) AND ([CCDMOL] = @Original_CCDMOL) AND ([CCDPTR] = @Original_CCDPTR) AND ([EPLAVO] = @Original_EPLAVO) AND ([NRC1B] = @Original_NRC1B) AND ([ECMM01] = @Original_ECMM01) AND ([DEPAR] = @Original_DEPAR) AND ([RCARTC] = @Original_RCARTC) AND ([PERND] = @Original_PERND) AND ([CCDET1] = @Original_CCDET1) AND ([ECDNAE] = @Original_ECDNAE) AND ([ECDNA1] = @Original_ECDNA1) AND ([EESPMD] = @Original_EESPMD) AND ([PELDB] = @Original_PELDB) AND ([QTCNS] = @Original_QTCNS))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CDMFS", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CDMFS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_GRBOS", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "GRBOS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DTBOS", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 8, 0, "DTBOS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NRBOS", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 6, 0, "NRBOS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CDARS", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CDARS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NRRGS", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 5, 0, "NRRGS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CDINB", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CDINB", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RA1ND", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RA1ND", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RA2ND", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RA2ND", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CAPND", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CAPND", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CITND", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CITND", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RASCL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RASCL", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_INDCL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "INDCL", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CAPCL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CAPCL", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_LOCCL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LOCCL", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PROCL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PROCL", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_INEND", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "INEND", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CRAGCL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CRAGCL", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TELND", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TELND", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CCDMOL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CCDMOL", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CCDPTR", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CCDPTR", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EPLAVO", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 7, 3, "EPLAVO", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NRC1B", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 5, 0, "NRC1B", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ECMM01", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ECMM01", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DEPAR", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DEPAR", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RCARTC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RCARTC", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PERND", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PERND", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CCDET1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CCDET1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ECDNAE", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ECDNAE", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ECDNA1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ECDNA1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EESPMD", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EESPMD", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PELDB", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 7, 2, "PELDB", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QTCNS", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 2, "QTCNS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = @"INSERT INTO [RawData].[BORI202J] ([CDMFS], [GRBOS], [DTBOS], [NRBOS], [CDARS], [NRRGS], [CDINB], [RA1ND], [RA2ND], [CAPND], [CITND], [RASCL], [INDCL], [CAPCL], [LOCCL], [PROCL], [INEND], [CRAGCL], [TELND], [CCDMOL], [CCDPTR], [EPLAVO], [NRC1B], [ECMM01], [DEPAR], [RCARTC], [PERND], [CCDET1], [ECDNAE], [ECDNA1], [EESPMD], [PELDB], [QTCNS]) VALUES (@CDMFS, @GRBOS, @DTBOS, @NRBOS, @CDARS, @NRRGS, @CDINB, @RA1ND, @RA2ND, @CAPND, @CITND, @RASCL, @INDCL, @CAPCL, @LOCCL, @PROCL, @INEND, @CRAGCL, @TELND, @CCDMOL, @CCDPTR, @EPLAVO, @NRC1B, @ECMM01, @DEPAR, @RCARTC, @PERND, @CCDET1, @ECDNAE, @ECDNA1, @EESPMD, @PELDB, @QTCNS); +SELECT CDMFS, GRBOS, DTBOS, NRBOS, CDARS, NRRGS, CDINB, RA1ND, RA2ND, CAPND, CITND, RASCL, INDCL, CAPCL, LOCCL, PROCL, INEND, CRAGCL, TELND, CCDMOL, CCDPTR, EPLAVO, NRC1B, ECMM01, DEPAR, RCARTC, PERND, CCDET1, ECDNAE, ECDNA1, EESPMD, PELDB, QTCNS FROM RawData.BORI202J WHERE (CDARS = @CDARS) AND (CDMFS = @CDMFS) AND (DTBOS = @DTBOS) AND (GRBOS = @GRBOS) AND (NRBOS = @NRBOS) AND (NRRGS = @NRRGS)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CDMFS", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CDMFS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@GRBOS", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "GRBOS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DTBOS", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 8, 0, "DTBOS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NRBOS", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 6, 0, "NRBOS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CDARS", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CDARS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NRRGS", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 5, 0, "NRRGS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CDINB", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CDINB", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RA1ND", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RA1ND", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RA2ND", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RA2ND", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CAPND", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CAPND", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CITND", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CITND", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RASCL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RASCL", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@INDCL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "INDCL", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CAPCL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CAPCL", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LOCCL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LOCCL", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PROCL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PROCL", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@INEND", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "INEND", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CRAGCL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CRAGCL", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TELND", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TELND", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CCDMOL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CCDMOL", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CCDPTR", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CCDPTR", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EPLAVO", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 7, 3, "EPLAVO", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NRC1B", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 5, 0, "NRC1B", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ECMM01", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ECMM01", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DEPAR", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DEPAR", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RCARTC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RCARTC", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PERND", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PERND", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CCDET1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CCDET1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ECDNAE", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ECDNAE", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ECDNA1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ECDNA1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EESPMD", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EESPMD", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PELDB", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 7, 2, "PELDB", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QTCNS", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 2, "QTCNS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = "UPDATE [RawData].[BORI202J] SET [CDMFS] = @CDMFS, [GRBOS] = @GRBOS, [DTBOS] = @DT" + + "BOS, [NRBOS] = @NRBOS, [CDARS] = @CDARS, [NRRGS] = @NRRGS, [CDINB] = @CDINB, [RA" + + "1ND] = @RA1ND, [RA2ND] = @RA2ND, [CAPND] = @CAPND, [CITND] = @CITND, [RASCL] = @" + + "RASCL, [INDCL] = @INDCL, [CAPCL] = @CAPCL, [LOCCL] = @LOCCL, [PROCL] = @PROCL, [" + + "INEND] = @INEND, [CRAGCL] = @CRAGCL, [TELND] = @TELND, [CCDMOL] = @CCDMOL, [CCDP" + + "TR] = @CCDPTR, [EPLAVO] = @EPLAVO, [NRC1B] = @NRC1B, [ECMM01] = @ECMM01, [DEPAR]" + + " = @DEPAR, [RCARTC] = @RCARTC, [PERND] = @PERND, [CCDET1] = @CCDET1, [ECDNAE] = " + + "@ECDNAE, [ECDNA1] = @ECDNA1, [EESPMD] = @EESPMD, [PELDB] = @PELDB, [QTCNS] = @QT" + + "CNS WHERE (([CDMFS] = @Original_CDMFS) AND ([GRBOS] = @Original_GRBOS) AND ([DTB" + + "OS] = @Original_DTBOS) AND ([NRBOS] = @Original_NRBOS) AND ([CDARS] = @Original_" + + "CDARS) AND ([NRRGS] = @Original_NRRGS) AND ([CDINB] = @Original_CDINB) AND ([RA1" + + "ND] = @Original_RA1ND) AND ([RA2ND] = @Original_RA2ND) AND ([CAPND] = @Original_" + + "CAPND) AND ([CITND] = @Original_CITND) AND ([RASCL] = @Original_RASCL) AND ([IND" + + "CL] = @Original_INDCL) AND ([CAPCL] = @Original_CAPCL) AND ([LOCCL] = @Original_" + + "LOCCL) AND ([PROCL] = @Original_PROCL) AND ([INEND] = @Original_INEND) AND ([CRA" + + "GCL] = @Original_CRAGCL) AND ([TELND] = @Original_TELND) AND ([CCDMOL] = @Origin" + + "al_CCDMOL) AND ([CCDPTR] = @Original_CCDPTR) AND ([EPLAVO] = @Original_EPLAVO) A" + + "ND ([NRC1B] = @Original_NRC1B) AND ([ECMM01] = @Original_ECMM01) AND ([DEPAR] = " + + "@Original_DEPAR) AND ([RCARTC] = @Original_RCARTC) AND ([PERND] = @Original_PERN" + + "D) AND ([CCDET1] = @Original_CCDET1) AND ([ECDNAE] = @Original_ECDNAE) AND ([ECD" + + "NA1] = @Original_ECDNA1) AND ([EESPMD] = @Original_EESPMD) AND ([PELDB] = @Origi" + + "nal_PELDB) AND ([QTCNS] = @Original_QTCNS));\r\nSELECT CDMFS, GRBOS, DTBOS, NRBOS," + + " CDARS, NRRGS, CDINB, RA1ND, RA2ND, CAPND, CITND, RASCL, INDCL, CAPCL, LOCCL, PR" + + "OCL, INEND, CRAGCL, TELND, CCDMOL, CCDPTR, EPLAVO, NRC1B, ECMM01, DEPAR, RCARTC," + + " PERND, CCDET1, ECDNAE, ECDNA1, EESPMD, PELDB, QTCNS FROM RawData.BORI202J WHERE" + + " (CDARS = @CDARS) AND (CDMFS = @CDMFS) AND (DTBOS = @DTBOS) AND (GRBOS = @GRBOS)" + + " AND (NRBOS = @NRBOS) AND (NRRGS = @NRRGS)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CDMFS", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CDMFS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@GRBOS", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "GRBOS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DTBOS", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 8, 0, "DTBOS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NRBOS", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 6, 0, "NRBOS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CDARS", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CDARS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NRRGS", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 5, 0, "NRRGS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CDINB", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CDINB", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RA1ND", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RA1ND", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RA2ND", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RA2ND", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CAPND", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CAPND", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CITND", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CITND", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RASCL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RASCL", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@INDCL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "INDCL", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CAPCL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CAPCL", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LOCCL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LOCCL", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PROCL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PROCL", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@INEND", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "INEND", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CRAGCL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CRAGCL", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TELND", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TELND", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CCDMOL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CCDMOL", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CCDPTR", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CCDPTR", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EPLAVO", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 7, 3, "EPLAVO", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NRC1B", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 5, 0, "NRC1B", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ECMM01", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ECMM01", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DEPAR", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DEPAR", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RCARTC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RCARTC", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PERND", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PERND", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CCDET1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CCDET1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ECDNAE", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ECDNAE", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ECDNA1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ECDNA1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EESPMD", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EESPMD", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PELDB", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 7, 2, "PELDB", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QTCNS", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 2, "QTCNS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CDMFS", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CDMFS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_GRBOS", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "GRBOS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DTBOS", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 8, 0, "DTBOS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NRBOS", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 6, 0, "NRBOS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CDARS", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CDARS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NRRGS", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 5, 0, "NRRGS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CDINB", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CDINB", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RA1ND", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RA1ND", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RA2ND", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RA2ND", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CAPND", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CAPND", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CITND", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CITND", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RASCL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RASCL", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_INDCL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "INDCL", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CAPCL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CAPCL", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_LOCCL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LOCCL", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PROCL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PROCL", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_INEND", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "INEND", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CRAGCL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CRAGCL", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TELND", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TELND", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CCDMOL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CCDMOL", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CCDPTR", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CCDPTR", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EPLAVO", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 7, 3, "EPLAVO", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NRC1B", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 5, 0, "NRC1B", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ECMM01", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ECMM01", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DEPAR", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DEPAR", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RCARTC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RCARTC", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PERND", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PERND", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CCDET1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CCDET1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ECDNAE", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ECDNAE", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ECDNA1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ECDNA1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EESPMD", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EESPMD", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PELDB", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 7, 2, "PELDB", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QTCNS", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 2, "QTCNS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[5]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = @"SELECT CDMFS, GRBOS, DTBOS, NRBOS, CDARS, NRRGS, CDINB, RA1ND, RA2ND, CAPND, CITND, RASCL, INDCL, CAPCL, LOCCL, PROCL, INEND, CRAGCL, TELND, CCDMOL, CCDPTR, EPLAVO, NRC1B, ECMM01, DEPAR, RCARTC, PERND, CCDET1, ECDNAE, ECDNA1, EESPMD, PELDB, QTCNS FROM RawData.BORI202J"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "dbo.stp_BORI_caricaDatiBolla"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[1].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[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RaggrMagazz", global::System.Data.SqlDbType.NVarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@GruppoBolle", global::System.Data.SqlDbType.NVarChar, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumeroBolla", global::System.Data.SqlDbType.NVarChar, 6, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].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, "", "", "")); + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.NVarChar, 15, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[2].Connection = this.Connection; + this._commandCollection[2].CommandText = "dbo.stp_BORI_getByBolla"; + this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[2].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[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@numB", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 6, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataB", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 8, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[3].Connection = this.Connection; + this._commandCollection[3].CommandText = "dbo.stp_BORI_getByBollaFull"; + this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[3].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[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RaggrMagazz", global::System.Data.SqlDbType.NVarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@GruppoBolle", global::System.Data.SqlDbType.NVarChar, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumeroBolla", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 6, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataBolla", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 8, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.NVarChar, 15, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[4].Connection = this.Connection; + this._commandCollection[4].CommandText = "dbo.stp_BORI_getByBollaPart"; + this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[4].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[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RaggrMagazz", global::System.Data.SqlDbType.NVarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@GruppoBolle", global::System.Data.SqlDbType.NVarChar, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumeroBolla", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 6, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataBolla", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 8, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_Odette.BORI202JDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_Odette.BORI202JDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_Odette.BORI202JDataTable dataTable = new DS_Odette.BORI202JDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_Odette.BORI202JDataTable getByBolla(global::System.Nullable numB, global::System.Nullable dataB) { + this.Adapter.SelectCommand = this.CommandCollection[2]; + if ((numB.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[1].Value = ((decimal)(numB.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + if ((dataB.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[2].Value = ((decimal)(dataB.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + DS_Odette.BORI202JDataTable dataTable = new DS_Odette.BORI202JDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_Odette.BORI202JDataTable getByKeyFull(string RaggrMagazz, string GruppoBolle, global::System.Nullable NumeroBolla, global::System.Nullable DataBolla, string Particolare) { + this.Adapter.SelectCommand = this.CommandCollection[3]; + if ((RaggrMagazz == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(RaggrMagazz)); + } + if ((GruppoBolle == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(GruppoBolle)); + } + if ((NumeroBolla.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[3].Value = ((decimal)(NumeroBolla.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; + } + if ((DataBolla.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[4].Value = ((decimal)(DataBolla.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value; + } + if ((Particolare == null)) { + this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[5].Value = ((string)(Particolare)); + } + DS_Odette.BORI202JDataTable dataTable = new DS_Odette.BORI202JDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_Odette.BORI202JDataTable getByKeyPart(string RaggrMagazz, string GruppoBolle, global::System.Nullable NumeroBolla, global::System.Nullable DataBolla) { + this.Adapter.SelectCommand = this.CommandCollection[4]; + if ((RaggrMagazz == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(RaggrMagazz)); + } + if ((GruppoBolle == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(GruppoBolle)); + } + if ((NumeroBolla.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[3].Value = ((decimal)(NumeroBolla.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; + } + if ((DataBolla.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[4].Value = ((decimal)(DataBolla.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value; + } + DS_Odette.BORI202JDataTable dataTable = new DS_Odette.BORI202JDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_Odette.BORI202JDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_Odette dataSet) { + return this.Adapter.Update(dataSet, "BORI202J"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete( + string Original_CDMFS, + string Original_GRBOS, + decimal Original_DTBOS, + decimal Original_NRBOS, + string Original_CDARS, + decimal Original_NRRGS, + string Original_CDINB, + string Original_RA1ND, + string Original_RA2ND, + string Original_CAPND, + string Original_CITND, + string Original_RASCL, + string Original_INDCL, + string Original_CAPCL, + string Original_LOCCL, + string Original_PROCL, + string Original_INEND, + string Original_CRAGCL, + string Original_TELND, + string Original_CCDMOL, + string Original_CCDPTR, + decimal Original_EPLAVO, + decimal Original_NRC1B, + string Original_ECMM01, + string Original_DEPAR, + string Original_RCARTC, + string Original_PERND, + string Original_CCDET1, + string Original_ECDNAE, + string Original_ECDNA1, + string Original_EESPMD, + decimal Original_PELDB, + decimal Original_QTCNS) { + if ((Original_CDMFS == null)) { + throw new global::System.ArgumentNullException("Original_CDMFS"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CDMFS)); + } + if ((Original_GRBOS == null)) { + throw new global::System.ArgumentNullException("Original_GRBOS"); + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_GRBOS)); + } + this.Adapter.DeleteCommand.Parameters[2].Value = ((decimal)(Original_DTBOS)); + this.Adapter.DeleteCommand.Parameters[3].Value = ((decimal)(Original_NRBOS)); + if ((Original_CDARS == null)) { + throw new global::System.ArgumentNullException("Original_CDARS"); + } + else { + this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_CDARS)); + } + this.Adapter.DeleteCommand.Parameters[5].Value = ((decimal)(Original_NRRGS)); + if ((Original_CDINB == null)) { + throw new global::System.ArgumentNullException("Original_CDINB"); + } + else { + this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_CDINB)); + } + if ((Original_RA1ND == null)) { + throw new global::System.ArgumentNullException("Original_RA1ND"); + } + else { + this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(Original_RA1ND)); + } + if ((Original_RA2ND == null)) { + throw new global::System.ArgumentNullException("Original_RA2ND"); + } + else { + this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_RA2ND)); + } + if ((Original_CAPND == null)) { + throw new global::System.ArgumentNullException("Original_CAPND"); + } + else { + this.Adapter.DeleteCommand.Parameters[9].Value = ((string)(Original_CAPND)); + } + if ((Original_CITND == null)) { + throw new global::System.ArgumentNullException("Original_CITND"); + } + else { + this.Adapter.DeleteCommand.Parameters[10].Value = ((string)(Original_CITND)); + } + if ((Original_RASCL == null)) { + throw new global::System.ArgumentNullException("Original_RASCL"); + } + else { + this.Adapter.DeleteCommand.Parameters[11].Value = ((string)(Original_RASCL)); + } + if ((Original_INDCL == null)) { + throw new global::System.ArgumentNullException("Original_INDCL"); + } + else { + this.Adapter.DeleteCommand.Parameters[12].Value = ((string)(Original_INDCL)); + } + if ((Original_CAPCL == null)) { + throw new global::System.ArgumentNullException("Original_CAPCL"); + } + else { + this.Adapter.DeleteCommand.Parameters[13].Value = ((string)(Original_CAPCL)); + } + if ((Original_LOCCL == null)) { + throw new global::System.ArgumentNullException("Original_LOCCL"); + } + else { + this.Adapter.DeleteCommand.Parameters[14].Value = ((string)(Original_LOCCL)); + } + if ((Original_PROCL == null)) { + throw new global::System.ArgumentNullException("Original_PROCL"); + } + else { + this.Adapter.DeleteCommand.Parameters[15].Value = ((string)(Original_PROCL)); + } + if ((Original_INEND == null)) { + throw new global::System.ArgumentNullException("Original_INEND"); + } + else { + this.Adapter.DeleteCommand.Parameters[16].Value = ((string)(Original_INEND)); + } + if ((Original_CRAGCL == null)) { + throw new global::System.ArgumentNullException("Original_CRAGCL"); + } + else { + this.Adapter.DeleteCommand.Parameters[17].Value = ((string)(Original_CRAGCL)); + } + if ((Original_TELND == null)) { + throw new global::System.ArgumentNullException("Original_TELND"); + } + else { + this.Adapter.DeleteCommand.Parameters[18].Value = ((string)(Original_TELND)); + } + if ((Original_CCDMOL == null)) { + throw new global::System.ArgumentNullException("Original_CCDMOL"); + } + else { + this.Adapter.DeleteCommand.Parameters[19].Value = ((string)(Original_CCDMOL)); + } + if ((Original_CCDPTR == null)) { + throw new global::System.ArgumentNullException("Original_CCDPTR"); + } + else { + this.Adapter.DeleteCommand.Parameters[20].Value = ((string)(Original_CCDPTR)); + } + this.Adapter.DeleteCommand.Parameters[21].Value = ((decimal)(Original_EPLAVO)); + this.Adapter.DeleteCommand.Parameters[22].Value = ((decimal)(Original_NRC1B)); + if ((Original_ECMM01 == null)) { + throw new global::System.ArgumentNullException("Original_ECMM01"); + } + else { + this.Adapter.DeleteCommand.Parameters[23].Value = ((string)(Original_ECMM01)); + } + if ((Original_DEPAR == null)) { + throw new global::System.ArgumentNullException("Original_DEPAR"); + } + else { + this.Adapter.DeleteCommand.Parameters[24].Value = ((string)(Original_DEPAR)); + } + if ((Original_RCARTC == null)) { + throw new global::System.ArgumentNullException("Original_RCARTC"); + } + else { + this.Adapter.DeleteCommand.Parameters[25].Value = ((string)(Original_RCARTC)); + } + if ((Original_PERND == null)) { + throw new global::System.ArgumentNullException("Original_PERND"); + } + else { + this.Adapter.DeleteCommand.Parameters[26].Value = ((string)(Original_PERND)); + } + if ((Original_CCDET1 == null)) { + throw new global::System.ArgumentNullException("Original_CCDET1"); + } + else { + this.Adapter.DeleteCommand.Parameters[27].Value = ((string)(Original_CCDET1)); + } + if ((Original_ECDNAE == null)) { + throw new global::System.ArgumentNullException("Original_ECDNAE"); + } + else { + this.Adapter.DeleteCommand.Parameters[28].Value = ((string)(Original_ECDNAE)); + } + if ((Original_ECDNA1 == null)) { + throw new global::System.ArgumentNullException("Original_ECDNA1"); + } + else { + this.Adapter.DeleteCommand.Parameters[29].Value = ((string)(Original_ECDNA1)); + } + if ((Original_EESPMD == null)) { + throw new global::System.ArgumentNullException("Original_EESPMD"); + } + else { + this.Adapter.DeleteCommand.Parameters[30].Value = ((string)(Original_EESPMD)); + } + this.Adapter.DeleteCommand.Parameters[31].Value = ((decimal)(Original_PELDB)); + this.Adapter.DeleteCommand.Parameters[32].Value = ((decimal)(Original_QTCNS)); + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert( + string CDMFS, + string GRBOS, + decimal DTBOS, + decimal NRBOS, + string CDARS, + decimal NRRGS, + string CDINB, + string RA1ND, + string RA2ND, + string CAPND, + string CITND, + string RASCL, + string INDCL, + string CAPCL, + string LOCCL, + string PROCL, + string INEND, + string CRAGCL, + string TELND, + string CCDMOL, + string CCDPTR, + decimal EPLAVO, + decimal NRC1B, + string ECMM01, + string DEPAR, + string RCARTC, + string PERND, + string CCDET1, + string ECDNAE, + string ECDNA1, + string EESPMD, + decimal PELDB, + decimal QTCNS) { + if ((CDMFS == null)) { + throw new global::System.ArgumentNullException("CDMFS"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CDMFS)); + } + if ((GRBOS == null)) { + throw new global::System.ArgumentNullException("GRBOS"); + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(GRBOS)); + } + this.Adapter.InsertCommand.Parameters[2].Value = ((decimal)(DTBOS)); + this.Adapter.InsertCommand.Parameters[3].Value = ((decimal)(NRBOS)); + if ((CDARS == null)) { + throw new global::System.ArgumentNullException("CDARS"); + } + else { + this.Adapter.InsertCommand.Parameters[4].Value = ((string)(CDARS)); + } + this.Adapter.InsertCommand.Parameters[5].Value = ((decimal)(NRRGS)); + if ((CDINB == null)) { + throw new global::System.ArgumentNullException("CDINB"); + } + else { + this.Adapter.InsertCommand.Parameters[6].Value = ((string)(CDINB)); + } + if ((RA1ND == null)) { + throw new global::System.ArgumentNullException("RA1ND"); + } + else { + this.Adapter.InsertCommand.Parameters[7].Value = ((string)(RA1ND)); + } + if ((RA2ND == null)) { + throw new global::System.ArgumentNullException("RA2ND"); + } + else { + this.Adapter.InsertCommand.Parameters[8].Value = ((string)(RA2ND)); + } + if ((CAPND == null)) { + throw new global::System.ArgumentNullException("CAPND"); + } + else { + this.Adapter.InsertCommand.Parameters[9].Value = ((string)(CAPND)); + } + if ((CITND == null)) { + throw new global::System.ArgumentNullException("CITND"); + } + else { + this.Adapter.InsertCommand.Parameters[10].Value = ((string)(CITND)); + } + if ((RASCL == null)) { + throw new global::System.ArgumentNullException("RASCL"); + } + else { + this.Adapter.InsertCommand.Parameters[11].Value = ((string)(RASCL)); + } + if ((INDCL == null)) { + throw new global::System.ArgumentNullException("INDCL"); + } + else { + this.Adapter.InsertCommand.Parameters[12].Value = ((string)(INDCL)); + } + if ((CAPCL == null)) { + throw new global::System.ArgumentNullException("CAPCL"); + } + else { + this.Adapter.InsertCommand.Parameters[13].Value = ((string)(CAPCL)); + } + if ((LOCCL == null)) { + throw new global::System.ArgumentNullException("LOCCL"); + } + else { + this.Adapter.InsertCommand.Parameters[14].Value = ((string)(LOCCL)); + } + if ((PROCL == null)) { + throw new global::System.ArgumentNullException("PROCL"); + } + else { + this.Adapter.InsertCommand.Parameters[15].Value = ((string)(PROCL)); + } + if ((INEND == null)) { + throw new global::System.ArgumentNullException("INEND"); + } + else { + this.Adapter.InsertCommand.Parameters[16].Value = ((string)(INEND)); + } + if ((CRAGCL == null)) { + throw new global::System.ArgumentNullException("CRAGCL"); + } + else { + this.Adapter.InsertCommand.Parameters[17].Value = ((string)(CRAGCL)); + } + if ((TELND == null)) { + throw new global::System.ArgumentNullException("TELND"); + } + else { + this.Adapter.InsertCommand.Parameters[18].Value = ((string)(TELND)); + } + if ((CCDMOL == null)) { + throw new global::System.ArgumentNullException("CCDMOL"); + } + else { + this.Adapter.InsertCommand.Parameters[19].Value = ((string)(CCDMOL)); + } + if ((CCDPTR == null)) { + throw new global::System.ArgumentNullException("CCDPTR"); + } + else { + this.Adapter.InsertCommand.Parameters[20].Value = ((string)(CCDPTR)); + } + this.Adapter.InsertCommand.Parameters[21].Value = ((decimal)(EPLAVO)); + this.Adapter.InsertCommand.Parameters[22].Value = ((decimal)(NRC1B)); + if ((ECMM01 == null)) { + throw new global::System.ArgumentNullException("ECMM01"); + } + else { + this.Adapter.InsertCommand.Parameters[23].Value = ((string)(ECMM01)); + } + if ((DEPAR == null)) { + throw new global::System.ArgumentNullException("DEPAR"); + } + else { + this.Adapter.InsertCommand.Parameters[24].Value = ((string)(DEPAR)); + } + if ((RCARTC == null)) { + throw new global::System.ArgumentNullException("RCARTC"); + } + else { + this.Adapter.InsertCommand.Parameters[25].Value = ((string)(RCARTC)); + } + if ((PERND == null)) { + throw new global::System.ArgumentNullException("PERND"); + } + else { + this.Adapter.InsertCommand.Parameters[26].Value = ((string)(PERND)); + } + if ((CCDET1 == null)) { + throw new global::System.ArgumentNullException("CCDET1"); + } + else { + this.Adapter.InsertCommand.Parameters[27].Value = ((string)(CCDET1)); + } + if ((ECDNAE == null)) { + throw new global::System.ArgumentNullException("ECDNAE"); + } + else { + this.Adapter.InsertCommand.Parameters[28].Value = ((string)(ECDNAE)); + } + if ((ECDNA1 == null)) { + throw new global::System.ArgumentNullException("ECDNA1"); + } + else { + this.Adapter.InsertCommand.Parameters[29].Value = ((string)(ECDNA1)); + } + if ((EESPMD == null)) { + throw new global::System.ArgumentNullException("EESPMD"); + } + else { + this.Adapter.InsertCommand.Parameters[30].Value = ((string)(EESPMD)); + } + this.Adapter.InsertCommand.Parameters[31].Value = ((decimal)(PELDB)); + this.Adapter.InsertCommand.Parameters[32].Value = ((decimal)(QTCNS)); + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update( + string CDMFS, + string GRBOS, + decimal DTBOS, + decimal NRBOS, + string CDARS, + decimal NRRGS, + string CDINB, + string RA1ND, + string RA2ND, + string CAPND, + string CITND, + string RASCL, + string INDCL, + string CAPCL, + string LOCCL, + string PROCL, + string INEND, + string CRAGCL, + string TELND, + string CCDMOL, + string CCDPTR, + decimal EPLAVO, + decimal NRC1B, + string ECMM01, + string DEPAR, + string RCARTC, + string PERND, + string CCDET1, + string ECDNAE, + string ECDNA1, + string EESPMD, + decimal PELDB, + decimal QTCNS, + string Original_CDMFS, + string Original_GRBOS, + decimal Original_DTBOS, + decimal Original_NRBOS, + string Original_CDARS, + decimal Original_NRRGS, + string Original_CDINB, + string Original_RA1ND, + string Original_RA2ND, + string Original_CAPND, + string Original_CITND, + string Original_RASCL, + string Original_INDCL, + string Original_CAPCL, + string Original_LOCCL, + string Original_PROCL, + string Original_INEND, + string Original_CRAGCL, + string Original_TELND, + string Original_CCDMOL, + string Original_CCDPTR, + decimal Original_EPLAVO, + decimal Original_NRC1B, + string Original_ECMM01, + string Original_DEPAR, + string Original_RCARTC, + string Original_PERND, + string Original_CCDET1, + string Original_ECDNAE, + string Original_ECDNA1, + string Original_EESPMD, + decimal Original_PELDB, + decimal Original_QTCNS) { + if ((CDMFS == null)) { + throw new global::System.ArgumentNullException("CDMFS"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CDMFS)); + } + if ((GRBOS == null)) { + throw new global::System.ArgumentNullException("GRBOS"); + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(GRBOS)); + } + this.Adapter.UpdateCommand.Parameters[2].Value = ((decimal)(DTBOS)); + this.Adapter.UpdateCommand.Parameters[3].Value = ((decimal)(NRBOS)); + if ((CDARS == null)) { + throw new global::System.ArgumentNullException("CDARS"); + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(CDARS)); + } + this.Adapter.UpdateCommand.Parameters[5].Value = ((decimal)(NRRGS)); + if ((CDINB == null)) { + throw new global::System.ArgumentNullException("CDINB"); + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(CDINB)); + } + if ((RA1ND == null)) { + throw new global::System.ArgumentNullException("RA1ND"); + } + else { + this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(RA1ND)); + } + if ((RA2ND == null)) { + throw new global::System.ArgumentNullException("RA2ND"); + } + else { + this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(RA2ND)); + } + if ((CAPND == null)) { + throw new global::System.ArgumentNullException("CAPND"); + } + else { + this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(CAPND)); + } + if ((CITND == null)) { + throw new global::System.ArgumentNullException("CITND"); + } + else { + this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(CITND)); + } + if ((RASCL == null)) { + throw new global::System.ArgumentNullException("RASCL"); + } + else { + this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(RASCL)); + } + if ((INDCL == null)) { + throw new global::System.ArgumentNullException("INDCL"); + } + else { + this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(INDCL)); + } + if ((CAPCL == null)) { + throw new global::System.ArgumentNullException("CAPCL"); + } + else { + this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(CAPCL)); + } + if ((LOCCL == null)) { + throw new global::System.ArgumentNullException("LOCCL"); + } + else { + this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(LOCCL)); + } + if ((PROCL == null)) { + throw new global::System.ArgumentNullException("PROCL"); + } + else { + this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(PROCL)); + } + if ((INEND == null)) { + throw new global::System.ArgumentNullException("INEND"); + } + else { + this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(INEND)); + } + if ((CRAGCL == null)) { + throw new global::System.ArgumentNullException("CRAGCL"); + } + else { + this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(CRAGCL)); + } + if ((TELND == null)) { + throw new global::System.ArgumentNullException("TELND"); + } + else { + this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(TELND)); + } + if ((CCDMOL == null)) { + throw new global::System.ArgumentNullException("CCDMOL"); + } + else { + this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(CCDMOL)); + } + if ((CCDPTR == null)) { + throw new global::System.ArgumentNullException("CCDPTR"); + } + else { + this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(CCDPTR)); + } + this.Adapter.UpdateCommand.Parameters[21].Value = ((decimal)(EPLAVO)); + this.Adapter.UpdateCommand.Parameters[22].Value = ((decimal)(NRC1B)); + if ((ECMM01 == null)) { + throw new global::System.ArgumentNullException("ECMM01"); + } + else { + this.Adapter.UpdateCommand.Parameters[23].Value = ((string)(ECMM01)); + } + if ((DEPAR == null)) { + throw new global::System.ArgumentNullException("DEPAR"); + } + else { + this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(DEPAR)); + } + if ((RCARTC == null)) { + throw new global::System.ArgumentNullException("RCARTC"); + } + else { + this.Adapter.UpdateCommand.Parameters[25].Value = ((string)(RCARTC)); + } + if ((PERND == null)) { + throw new global::System.ArgumentNullException("PERND"); + } + else { + this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(PERND)); + } + if ((CCDET1 == null)) { + throw new global::System.ArgumentNullException("CCDET1"); + } + else { + this.Adapter.UpdateCommand.Parameters[27].Value = ((string)(CCDET1)); + } + if ((ECDNAE == null)) { + throw new global::System.ArgumentNullException("ECDNAE"); + } + else { + this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(ECDNAE)); + } + if ((ECDNA1 == null)) { + throw new global::System.ArgumentNullException("ECDNA1"); + } + else { + this.Adapter.UpdateCommand.Parameters[29].Value = ((string)(ECDNA1)); + } + if ((EESPMD == null)) { + throw new global::System.ArgumentNullException("EESPMD"); + } + else { + this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(EESPMD)); + } + this.Adapter.UpdateCommand.Parameters[31].Value = ((decimal)(PELDB)); + this.Adapter.UpdateCommand.Parameters[32].Value = ((decimal)(QTCNS)); + if ((Original_CDMFS == null)) { + throw new global::System.ArgumentNullException("Original_CDMFS"); + } + else { + this.Adapter.UpdateCommand.Parameters[33].Value = ((string)(Original_CDMFS)); + } + if ((Original_GRBOS == null)) { + throw new global::System.ArgumentNullException("Original_GRBOS"); + } + else { + this.Adapter.UpdateCommand.Parameters[34].Value = ((string)(Original_GRBOS)); + } + this.Adapter.UpdateCommand.Parameters[35].Value = ((decimal)(Original_DTBOS)); + this.Adapter.UpdateCommand.Parameters[36].Value = ((decimal)(Original_NRBOS)); + if ((Original_CDARS == null)) { + throw new global::System.ArgumentNullException("Original_CDARS"); + } + else { + this.Adapter.UpdateCommand.Parameters[37].Value = ((string)(Original_CDARS)); + } + this.Adapter.UpdateCommand.Parameters[38].Value = ((decimal)(Original_NRRGS)); + if ((Original_CDINB == null)) { + throw new global::System.ArgumentNullException("Original_CDINB"); + } + else { + this.Adapter.UpdateCommand.Parameters[39].Value = ((string)(Original_CDINB)); + } + if ((Original_RA1ND == null)) { + throw new global::System.ArgumentNullException("Original_RA1ND"); + } + else { + this.Adapter.UpdateCommand.Parameters[40].Value = ((string)(Original_RA1ND)); + } + if ((Original_RA2ND == null)) { + throw new global::System.ArgumentNullException("Original_RA2ND"); + } + else { + this.Adapter.UpdateCommand.Parameters[41].Value = ((string)(Original_RA2ND)); + } + if ((Original_CAPND == null)) { + throw new global::System.ArgumentNullException("Original_CAPND"); + } + else { + this.Adapter.UpdateCommand.Parameters[42].Value = ((string)(Original_CAPND)); + } + if ((Original_CITND == null)) { + throw new global::System.ArgumentNullException("Original_CITND"); + } + else { + this.Adapter.UpdateCommand.Parameters[43].Value = ((string)(Original_CITND)); + } + if ((Original_RASCL == null)) { + throw new global::System.ArgumentNullException("Original_RASCL"); + } + else { + this.Adapter.UpdateCommand.Parameters[44].Value = ((string)(Original_RASCL)); + } + if ((Original_INDCL == null)) { + throw new global::System.ArgumentNullException("Original_INDCL"); + } + else { + this.Adapter.UpdateCommand.Parameters[45].Value = ((string)(Original_INDCL)); + } + if ((Original_CAPCL == null)) { + throw new global::System.ArgumentNullException("Original_CAPCL"); + } + else { + this.Adapter.UpdateCommand.Parameters[46].Value = ((string)(Original_CAPCL)); + } + if ((Original_LOCCL == null)) { + throw new global::System.ArgumentNullException("Original_LOCCL"); + } + else { + this.Adapter.UpdateCommand.Parameters[47].Value = ((string)(Original_LOCCL)); + } + if ((Original_PROCL == null)) { + throw new global::System.ArgumentNullException("Original_PROCL"); + } + else { + this.Adapter.UpdateCommand.Parameters[48].Value = ((string)(Original_PROCL)); + } + if ((Original_INEND == null)) { + throw new global::System.ArgumentNullException("Original_INEND"); + } + else { + this.Adapter.UpdateCommand.Parameters[49].Value = ((string)(Original_INEND)); + } + if ((Original_CRAGCL == null)) { + throw new global::System.ArgumentNullException("Original_CRAGCL"); + } + else { + this.Adapter.UpdateCommand.Parameters[50].Value = ((string)(Original_CRAGCL)); + } + if ((Original_TELND == null)) { + throw new global::System.ArgumentNullException("Original_TELND"); + } + else { + this.Adapter.UpdateCommand.Parameters[51].Value = ((string)(Original_TELND)); + } + if ((Original_CCDMOL == null)) { + throw new global::System.ArgumentNullException("Original_CCDMOL"); + } + else { + this.Adapter.UpdateCommand.Parameters[52].Value = ((string)(Original_CCDMOL)); + } + if ((Original_CCDPTR == null)) { + throw new global::System.ArgumentNullException("Original_CCDPTR"); + } + else { + this.Adapter.UpdateCommand.Parameters[53].Value = ((string)(Original_CCDPTR)); + } + this.Adapter.UpdateCommand.Parameters[54].Value = ((decimal)(Original_EPLAVO)); + this.Adapter.UpdateCommand.Parameters[55].Value = ((decimal)(Original_NRC1B)); + if ((Original_ECMM01 == null)) { + throw new global::System.ArgumentNullException("Original_ECMM01"); + } + else { + this.Adapter.UpdateCommand.Parameters[56].Value = ((string)(Original_ECMM01)); + } + if ((Original_DEPAR == null)) { + throw new global::System.ArgumentNullException("Original_DEPAR"); + } + else { + this.Adapter.UpdateCommand.Parameters[57].Value = ((string)(Original_DEPAR)); + } + if ((Original_RCARTC == null)) { + throw new global::System.ArgumentNullException("Original_RCARTC"); + } + else { + this.Adapter.UpdateCommand.Parameters[58].Value = ((string)(Original_RCARTC)); + } + if ((Original_PERND == null)) { + throw new global::System.ArgumentNullException("Original_PERND"); + } + else { + this.Adapter.UpdateCommand.Parameters[59].Value = ((string)(Original_PERND)); + } + if ((Original_CCDET1 == null)) { + throw new global::System.ArgumentNullException("Original_CCDET1"); + } + else { + this.Adapter.UpdateCommand.Parameters[60].Value = ((string)(Original_CCDET1)); + } + if ((Original_ECDNAE == null)) { + throw new global::System.ArgumentNullException("Original_ECDNAE"); + } + else { + this.Adapter.UpdateCommand.Parameters[61].Value = ((string)(Original_ECDNAE)); + } + if ((Original_ECDNA1 == null)) { + throw new global::System.ArgumentNullException("Original_ECDNA1"); + } + else { + this.Adapter.UpdateCommand.Parameters[62].Value = ((string)(Original_ECDNA1)); + } + if ((Original_EESPMD == null)) { + throw new global::System.ArgumentNullException("Original_EESPMD"); + } + else { + this.Adapter.UpdateCommand.Parameters[63].Value = ((string)(Original_EESPMD)); + } + this.Adapter.UpdateCommand.Parameters[64].Value = ((decimal)(Original_PELDB)); + this.Adapter.UpdateCommand.Parameters[65].Value = ((decimal)(Original_QTCNS)); + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update( + string CDINB, + string RA1ND, + string RA2ND, + string CAPND, + string CITND, + string RASCL, + string INDCL, + string CAPCL, + string LOCCL, + string PROCL, + string INEND, + string CRAGCL, + string TELND, + string CCDMOL, + string CCDPTR, + decimal EPLAVO, + decimal NRC1B, + string ECMM01, + string DEPAR, + string RCARTC, + string PERND, + string CCDET1, + string ECDNAE, + string ECDNA1, + string EESPMD, + decimal PELDB, + decimal QTCNS, + string Original_CDMFS, + string Original_GRBOS, + decimal Original_DTBOS, + decimal Original_NRBOS, + string Original_CDARS, + decimal Original_NRRGS, + string Original_CDINB, + string Original_RA1ND, + string Original_RA2ND, + string Original_CAPND, + string Original_CITND, + string Original_RASCL, + string Original_INDCL, + string Original_CAPCL, + string Original_LOCCL, + string Original_PROCL, + string Original_INEND, + string Original_CRAGCL, + string Original_TELND, + string Original_CCDMOL, + string Original_CCDPTR, + decimal Original_EPLAVO, + decimal Original_NRC1B, + string Original_ECMM01, + string Original_DEPAR, + string Original_RCARTC, + string Original_PERND, + string Original_CCDET1, + string Original_ECDNAE, + string Original_ECDNA1, + string Original_EESPMD, + decimal Original_PELDB, + decimal Original_QTCNS) { + return this.Update(Original_CDMFS, Original_GRBOS, Original_DTBOS, Original_NRBOS, Original_CDARS, Original_NRRGS, CDINB, RA1ND, RA2ND, CAPND, CITND, RASCL, INDCL, CAPCL, LOCCL, PROCL, INEND, CRAGCL, TELND, CCDMOL, CCDPTR, EPLAVO, NRC1B, ECMM01, DEPAR, RCARTC, PERND, CCDET1, ECDNAE, ECDNA1, EESPMD, PELDB, QTCNS, Original_CDMFS, Original_GRBOS, Original_DTBOS, Original_NRBOS, Original_CDARS, Original_NRRGS, Original_CDINB, Original_RA1ND, Original_RA2ND, Original_CAPND, Original_CITND, Original_RASCL, Original_INDCL, Original_CAPCL, Original_LOCCL, Original_PROCL, Original_INEND, Original_CRAGCL, Original_TELND, Original_CCDMOL, Original_CCDPTR, Original_EPLAVO, Original_NRC1B, Original_ECMM01, Original_DEPAR, Original_RCARTC, Original_PERND, Original_CCDET1, Original_ECDNAE, Original_ECDNA1, Original_EESPMD, Original_PELDB, Original_QTCNS); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int caricaDatiBolla(string RaggrMagazz, string GruppoBolle, string NumeroBolla, string DataBolla, string Particolare) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1]; + if ((RaggrMagazz == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(RaggrMagazz)); + } + if ((GruppoBolle == null)) { + command.Parameters[2].Value = global::System.DBNull.Value; + } + else { + command.Parameters[2].Value = ((string)(GruppoBolle)); + } + if ((NumeroBolla == null)) { + command.Parameters[3].Value = global::System.DBNull.Value; + } + else { + command.Parameters[3].Value = ((string)(NumeroBolla)); + } + if ((DataBolla == null)) { + command.Parameters[4].Value = global::System.DBNull.Value; + } + else { + command.Parameters[4].Value = ((string)(DataBolla)); + } + if ((Particolare == null)) { + command.Parameters[5].Value = global::System.DBNull.Value; + } + else { + command.Parameters[5].Value = ((string)(Particolare)); + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class OdetteTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public OdetteTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "Odette"; + tableMapping.ColumnMappings.Add("CampoUDC", "CampoUDC"); + tableMapping.ColumnMappings.Add("Campo1_1", "Campo1_1"); + tableMapping.ColumnMappings.Add("Campo1_2", "Campo1_2"); + tableMapping.ColumnMappings.Add("Campo1_3", "Campo1_3"); + tableMapping.ColumnMappings.Add("Campo1_4", "Campo1_4"); + tableMapping.ColumnMappings.Add("Campo1_5", "Campo1_5"); + tableMapping.ColumnMappings.Add("Campo2_1", "Campo2_1"); + tableMapping.ColumnMappings.Add("Campo2_2", "Campo2_2"); + tableMapping.ColumnMappings.Add("Campo2_3", "Campo2_3"); + tableMapping.ColumnMappings.Add("Campo2_4", "Campo2_4"); + tableMapping.ColumnMappings.Add("Campo2_5", "Campo2_5"); + tableMapping.ColumnMappings.Add("Campo3_1", "Campo3_1"); + tableMapping.ColumnMappings.Add("Campo3_2", "Campo3_2"); + tableMapping.ColumnMappings.Add("Campo3_3", "Campo3_3"); + tableMapping.ColumnMappings.Add("Campo3_4", "Campo3_4"); + tableMapping.ColumnMappings.Add("Campo3_5", "Campo3_5"); + tableMapping.ColumnMappings.Add("Campo4_1", "Campo4_1"); + tableMapping.ColumnMappings.Add("Campo4_2", "Campo4_2"); + tableMapping.ColumnMappings.Add("Campo4_3", "Campo4_3"); + tableMapping.ColumnMappings.Add("Campo4_4", "Campo4_4"); + tableMapping.ColumnMappings.Add("Campo4_5", "Campo4_5"); + tableMapping.ColumnMappings.Add("Campo5_1", "Campo5_1"); + tableMapping.ColumnMappings.Add("Campo5_2", "Campo5_2"); + tableMapping.ColumnMappings.Add("Campo5_3", "Campo5_3"); + tableMapping.ColumnMappings.Add("Campo5_4", "Campo5_4"); + tableMapping.ColumnMappings.Add("Campo5_5", "Campo5_5"); + tableMapping.ColumnMappings.Add("Campo6_1", "Campo6_1"); + tableMapping.ColumnMappings.Add("Campo6_2", "Campo6_2"); + tableMapping.ColumnMappings.Add("Campo6_3", "Campo6_3"); + tableMapping.ColumnMappings.Add("Campo6_4", "Campo6_4"); + tableMapping.ColumnMappings.Add("Campo6_5", "Campo6_5"); + tableMapping.ColumnMappings.Add("Campo7_1", "Campo7_1"); + tableMapping.ColumnMappings.Add("Campo7_2", "Campo7_2"); + tableMapping.ColumnMappings.Add("Campo7_3", "Campo7_3"); + tableMapping.ColumnMappings.Add("Campo7_4", "Campo7_4"); + tableMapping.ColumnMappings.Add("Campo7_5", "Campo7_5"); + tableMapping.ColumnMappings.Add("Campo8_1", "Campo8_1"); + tableMapping.ColumnMappings.Add("Campo8_2", "Campo8_2"); + tableMapping.ColumnMappings.Add("Campo8_3", "Campo8_3"); + tableMapping.ColumnMappings.Add("Campo8_4", "Campo8_4"); + tableMapping.ColumnMappings.Add("Campo8_5", "Campo8_5"); + tableMapping.ColumnMappings.Add("Campo9_1", "Campo9_1"); + tableMapping.ColumnMappings.Add("Campo9_2", "Campo9_2"); + tableMapping.ColumnMappings.Add("Campo9_3", "Campo9_3"); + tableMapping.ColumnMappings.Add("Campo9_4", "Campo9_4"); + tableMapping.ColumnMappings.Add("Campo9_5", "Campo9_5"); + tableMapping.ColumnMappings.Add("Campo10_1", "Campo10_1"); + tableMapping.ColumnMappings.Add("Campo10_2", "Campo10_2"); + tableMapping.ColumnMappings.Add("Campo10_3", "Campo10_3"); + tableMapping.ColumnMappings.Add("Campo10_4", "Campo10_4"); + tableMapping.ColumnMappings.Add("Campo10_5", "Campo10_5"); + tableMapping.ColumnMappings.Add("Campo11_1_1", "Campo11_1_1"); + tableMapping.ColumnMappings.Add("Campo11_1_2", "Campo11_1_2"); + tableMapping.ColumnMappings.Add("Campo11_1_3", "Campo11_1_3"); + tableMapping.ColumnMappings.Add("Campo11_1_4", "Campo11_1_4"); + tableMapping.ColumnMappings.Add("Campo11_1_5", "Campo11_1_5"); + tableMapping.ColumnMappings.Add("Campo11_2_1", "Campo11_2_1"); + tableMapping.ColumnMappings.Add("Campo11_2_2", "Campo11_2_2"); + tableMapping.ColumnMappings.Add("Campo11_2_3", "Campo11_2_3"); + tableMapping.ColumnMappings.Add("Campo11_2_4", "Campo11_2_4"); + tableMapping.ColumnMappings.Add("Campo11_2_5", "Campo11_2_5"); + tableMapping.ColumnMappings.Add("Campo12_1", "Campo12_1"); + tableMapping.ColumnMappings.Add("Campo12_2", "Campo12_2"); + tableMapping.ColumnMappings.Add("Campo12_3", "Campo12_3"); + tableMapping.ColumnMappings.Add("Campo12_4", "Campo12_4"); + tableMapping.ColumnMappings.Add("Campo12_5", "Campo12_5"); + tableMapping.ColumnMappings.Add("Campo13_1", "Campo13_1"); + tableMapping.ColumnMappings.Add("Campo13_2", "Campo13_2"); + tableMapping.ColumnMappings.Add("Campo13_3", "Campo13_3"); + tableMapping.ColumnMappings.Add("Campo13_4", "Campo13_4"); + tableMapping.ColumnMappings.Add("Campo13_5", "Campo13_5"); + tableMapping.ColumnMappings.Add("Campo14_1", "Campo14_1"); + tableMapping.ColumnMappings.Add("Campo14_2", "Campo14_2"); + tableMapping.ColumnMappings.Add("Campo14_3", "Campo14_3"); + tableMapping.ColumnMappings.Add("Campo14_4", "Campo14_4"); + tableMapping.ColumnMappings.Add("Campo14_5", "Campo14_5"); + tableMapping.ColumnMappings.Add("Campo15_1", "Campo15_1"); + tableMapping.ColumnMappings.Add("Campo15_2", "Campo15_2"); + tableMapping.ColumnMappings.Add("Campo15_3", "Campo15_3"); + tableMapping.ColumnMappings.Add("Campo15_4", "Campo15_4"); + tableMapping.ColumnMappings.Add("Campo15_5", "Campo15_5"); + tableMapping.ColumnMappings.Add("Campo16_1", "Campo16_1"); + tableMapping.ColumnMappings.Add("Campo16_2", "Campo16_2"); + tableMapping.ColumnMappings.Add("Campo16_3", "Campo16_3"); + tableMapping.ColumnMappings.Add("Campo16_4", "Campo16_4"); + tableMapping.ColumnMappings.Add("Campo16_5", "Campo16_5"); + tableMapping.ColumnMappings.Add("StatoOk", "StatoOk"); + tableMapping.ColumnMappings.Add("CodCS", "CodCS"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = "DELETE FROM [dbo].[Odette] WHERE (([CampoUDC] = @Original_CampoUDC) AND ([Campo1_" + + "1] = @Original_Campo1_1) AND ([Campo1_2] = @Original_Campo1_2) AND ([Campo1_3] =" + + " @Original_Campo1_3) AND ([Campo1_4] = @Original_Campo1_4) AND ([Campo1_5] = @Or" + + "iginal_Campo1_5) AND ([Campo2_1] = @Original_Campo2_1) AND ([Campo2_2] = @Origin" + + "al_Campo2_2) AND ([Campo2_3] = @Original_Campo2_3) AND ([Campo2_4] = @Original_C" + + "ampo2_4) AND ([Campo2_5] = @Original_Campo2_5) AND ([Campo3_1] = @Original_Campo" + + "3_1) AND ([Campo3_2] = @Original_Campo3_2) AND ([Campo3_3] = @Original_Campo3_3)" + + " AND ([Campo3_4] = @Original_Campo3_4) AND ([Campo3_5] = @Original_Campo3_5) AND" + + " ([Campo4_1] = @Original_Campo4_1) AND ([Campo4_2] = @Original_Campo4_2) AND ([C" + + "ampo4_3] = @Original_Campo4_3) AND ([Campo4_4] = @Original_Campo4_4) AND ([Campo" + + "4_5] = @Original_Campo4_5) AND ([Campo5_1] = @Original_Campo5_1) AND ([Campo5_2]" + + " = @Original_Campo5_2) AND ([Campo5_3] = @Original_Campo5_3) AND ([Campo5_4] = @" + + "Original_Campo5_4) AND ([Campo5_5] = @Original_Campo5_5) AND ([Campo6_1] = @Orig" + + "inal_Campo6_1) AND ([Campo6_2] = @Original_Campo6_2) AND ([Campo6_3] = @Original" + + "_Campo6_3) AND ([Campo6_4] = @Original_Campo6_4) AND ([Campo6_5] = @Original_Cam" + + "po6_5) AND ([Campo7_1] = @Original_Campo7_1) AND ([Campo7_2] = @Original_Campo7_" + + "2) AND ([Campo7_3] = @Original_Campo7_3) AND ([Campo7_4] = @Original_Campo7_4) A" + + "ND ([Campo7_5] = @Original_Campo7_5) AND ([Campo8_1] = @Original_Campo8_1) AND (" + + "[Campo8_2] = @Original_Campo8_2) AND ([Campo8_3] = @Original_Campo8_3) AND ([Cam" + + "po8_4] = @Original_Campo8_4) AND ([Campo8_5] = @Original_Campo8_5) AND ([Campo9_" + + "1] = @Original_Campo9_1) AND ([Campo9_2] = @Original_Campo9_2) AND ([Campo9_3] =" + + " @Original_Campo9_3) AND ([Campo9_4] = @Original_Campo9_4) AND ([Campo9_5] = @Or" + + "iginal_Campo9_5) AND ([Campo10_1] = @Original_Campo10_1) AND ([Campo10_2] = @Ori" + + "ginal_Campo10_2) AND ([Campo10_3] = @Original_Campo10_3) AND ([Campo10_4] = @Ori" + + "ginal_Campo10_4) AND ([Campo10_5] = @Original_Campo10_5) AND ([Campo11_1_1] = @O" + + "riginal_Campo11_1_1) AND ([Campo11_1_2] = @Original_Campo11_1_2) AND ([Campo11_1" + + "_3] = @Original_Campo11_1_3) AND ([Campo11_1_4] = @Original_Campo11_1_4) AND ([C" + + "ampo11_1_5] = @Original_Campo11_1_5) AND ([Campo11_2_1] = @Original_Campo11_2_1)" + + " AND ([Campo11_2_2] = @Original_Campo11_2_2) AND ([Campo11_2_3] = @Original_Camp" + + "o11_2_3) AND ([Campo11_2_4] = @Original_Campo11_2_4) AND ([Campo11_2_5] = @Origi" + + "nal_Campo11_2_5) AND ([Campo12_1] = @Original_Campo12_1) AND ([Campo12_2] = @Ori" + + "ginal_Campo12_2) AND ([Campo12_3] = @Original_Campo12_3) AND ([Campo12_4] = @Ori" + + "ginal_Campo12_4) AND ([Campo12_5] = @Original_Campo12_5) AND ([Campo13_1] = @Ori" + + "ginal_Campo13_1) AND ([Campo13_2] = @Original_Campo13_2) AND ([Campo13_3] = @Ori" + + "ginal_Campo13_3) AND ([Campo13_4] = @Original_Campo13_4) AND ([Campo13_5] = @Ori" + + "ginal_Campo13_5) AND ([Campo14_1] = @Original_Campo14_1) AND ([Campo14_2] = @Ori" + + "ginal_Campo14_2) AND ([Campo14_3] = @Original_Campo14_3) AND ([Campo14_4] = @Ori" + + "ginal_Campo14_4) AND ([Campo14_5] = @Original_Campo14_5) AND ([Campo15_1] = @Ori" + + "ginal_Campo15_1) AND ([Campo15_2] = @Original_Campo15_2) AND ([Campo15_3] = @Ori" + + "ginal_Campo15_3) AND ([Campo15_4] = @Original_Campo15_4) AND ([Campo15_5] = @Ori" + + "ginal_Campo15_5) AND ([Campo16_1] = @Original_Campo16_1) AND ([Campo16_2] = @Ori" + + "ginal_Campo16_2) AND ([Campo16_3] = @Original_Campo16_3) AND ([Campo16_4] = @Ori" + + "ginal_Campo16_4) AND ([Campo16_5] = @Original_Campo16_5) AND ([StatoOk] = @Origi" + + "nal_StatoOk) AND ([CodCS] = @Original_CodCS))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CampoUDC", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CampoUDC", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo1_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo1_1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo1_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo1_2", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo1_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo1_3", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo1_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo1_4", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo1_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo1_5", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo2_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo2_1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo2_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo2_2", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo2_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo2_3", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo2_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo2_4", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo2_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo2_5", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo3_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo3_1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo3_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo3_2", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo3_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo3_3", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo3_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo3_4", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo3_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo3_5", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo4_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo4_1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo4_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo4_2", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo4_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo4_3", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo4_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo4_4", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo4_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo4_5", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo5_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo5_1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo5_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo5_2", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo5_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo5_3", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo5_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo5_4", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo5_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo5_5", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo6_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo6_1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo6_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo6_2", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo6_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo6_3", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo6_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo6_4", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo6_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo6_5", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo7_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo7_1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo7_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo7_2", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo7_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo7_3", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo7_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo7_4", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo7_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo7_5", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo8_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo8_1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo8_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo8_2", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo8_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo8_3", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo8_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo8_4", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo8_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo8_5", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo9_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo9_1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo9_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo9_2", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo9_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo9_3", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo9_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo9_4", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo9_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo9_5", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo10_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo10_1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo10_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo10_2", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo10_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo10_3", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo10_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo10_4", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo10_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo10_5", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo11_1_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo11_1_1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo11_1_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo11_1_2", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo11_1_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo11_1_3", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo11_1_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo11_1_4", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo11_1_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo11_1_5", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo11_2_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo11_2_1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo11_2_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo11_2_2", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo11_2_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo11_2_3", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo11_2_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo11_2_4", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo11_2_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo11_2_5", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo12_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo12_1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo12_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo12_2", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo12_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo12_3", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo12_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo12_4", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo12_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo12_5", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo13_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo13_1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo13_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo13_2", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo13_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo13_3", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo13_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo13_4", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo13_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo13_5", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo14_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo14_1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo14_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo14_2", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo14_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo14_3", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo14_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo14_4", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo14_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo14_5", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo15_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo15_1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo15_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo15_2", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo15_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo15_3", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo15_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo15_4", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo15_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo15_5", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo16_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo16_1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo16_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo16_2", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo16_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo16_3", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo16_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo16_4", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo16_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo16_5", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_StatoOk", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "StatoOk", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[Odette] ([CampoUDC], [Campo1_1], [Campo1_2], [Campo1_3], [Camp" + + "o1_4], [Campo1_5], [Campo2_1], [Campo2_2], [Campo2_3], [Campo2_4], [Campo2_5], [" + + "Campo3_1], [Campo3_2], [Campo3_3], [Campo3_4], [Campo3_5], [Campo4_1], [Campo4_2" + + "], [Campo4_3], [Campo4_4], [Campo4_5], [Campo5_1], [Campo5_2], [Campo5_3], [Camp" + + "o5_4], [Campo5_5], [Campo6_1], [Campo6_2], [Campo6_3], [Campo6_4], [Campo6_5], [" + + "Campo7_1], [Campo7_2], [Campo7_3], [Campo7_4], [Campo7_5], [Campo8_1], [Campo8_2" + + "], [Campo8_3], [Campo8_4], [Campo8_5], [Campo9_1], [Campo9_2], [Campo9_3], [Camp" + + "o9_4], [Campo9_5], [Campo10_1], [Campo10_2], [Campo10_3], [Campo10_4], [Campo10_" + + "5], [Campo11_1_1], [Campo11_1_2], [Campo11_1_3], [Campo11_1_4], [Campo11_1_5], [" + + "Campo11_2_1], [Campo11_2_2], [Campo11_2_3], [Campo11_2_4], [Campo11_2_5], [Campo" + + "12_1], [Campo12_2], [Campo12_3], [Campo12_4], [Campo12_5], [Campo13_1], [Campo13" + + "_2], [Campo13_3], [Campo13_4], [Campo13_5], [Campo14_1], [Campo14_2], [Campo14_3" + + "], [Campo14_4], [Campo14_5], [Campo15_1], [Campo15_2], [Campo15_3], [Campo15_4]," + + " [Campo15_5], [Campo16_1], [Campo16_2], [Campo16_3], [Campo16_4], [Campo16_5], [" + + "StatoOk], [CodCS]) VALUES (@CampoUDC, @Campo1_1, @Campo1_2, @Campo1_3, @Campo1_4" + + ", @Campo1_5, @Campo2_1, @Campo2_2, @Campo2_3, @Campo2_4, @Campo2_5, @Campo3_1, @" + + "Campo3_2, @Campo3_3, @Campo3_4, @Campo3_5, @Campo4_1, @Campo4_2, @Campo4_3, @Cam" + + "po4_4, @Campo4_5, @Campo5_1, @Campo5_2, @Campo5_3, @Campo5_4, @Campo5_5, @Campo6" + + "_1, @Campo6_2, @Campo6_3, @Campo6_4, @Campo6_5, @Campo7_1, @Campo7_2, @Campo7_3," + + " @Campo7_4, @Campo7_5, @Campo8_1, @Campo8_2, @Campo8_3, @Campo8_4, @Campo8_5, @C" + + "ampo9_1, @Campo9_2, @Campo9_3, @Campo9_4, @Campo9_5, @Campo10_1, @Campo10_2, @Ca" + + "mpo10_3, @Campo10_4, @Campo10_5, @Campo11_1_1, @Campo11_1_2, @Campo11_1_3, @Camp" + + "o11_1_4, @Campo11_1_5, @Campo11_2_1, @Campo11_2_2, @Campo11_2_3, @Campo11_2_4, @" + + "Campo11_2_5, @Campo12_1, @Campo12_2, @Campo12_3, @Campo12_4, @Campo12_5, @Campo1" + + "3_1, @Campo13_2, @Campo13_3, @Campo13_4, @Campo13_5, @Campo14_1, @Campo14_2, @Ca" + + "mpo14_3, @Campo14_4, @Campo14_5, @Campo15_1, @Campo15_2, @Campo15_3, @Campo15_4," + + " @Campo15_5, @Campo16_1, @Campo16_2, @Campo16_3, @Campo16_4, @Campo16_5, @StatoO" + + "k, @CodCS);\r\nSELECT CampoUDC, Campo1_1, Campo1_2, Campo1_3, Campo1_4, Campo1_5, " + + "Campo2_1, Campo2_2, Campo2_3, Campo2_4, Campo2_5, Campo3_1, Campo3_2, Campo3_3, " + + "Campo3_4, Campo3_5, Campo4_1, Campo4_2, Campo4_3, Campo4_4, Campo4_5, Campo5_1, " + + "Campo5_2, Campo5_3, Campo5_4, Campo5_5, Campo6_1, Campo6_2, Campo6_3, Campo6_4, " + + "Campo6_5, Campo7_1, Campo7_2, Campo7_3, Campo7_4, Campo7_5, Campo8_1, Campo8_2, " + + "Campo8_3, Campo8_4, Campo8_5, Campo9_1, Campo9_2, Campo9_3, Campo9_4, Campo9_5, " + + "Campo10_1, Campo10_2, Campo10_3, Campo10_4, Campo10_5, Campo11_1_1, Campo11_1_2," + + " Campo11_1_3, Campo11_1_4, Campo11_1_5, Campo11_2_1, Campo11_2_2, Campo11_2_3, C" + + "ampo11_2_4, Campo11_2_5, Campo12_1, Campo12_2, Campo12_3, Campo12_4, Campo12_5, " + + "Campo13_1, Campo13_2, Campo13_3, Campo13_4, Campo13_5, Campo14_1, Campo14_2, Cam" + + "po14_3, Campo14_4, Campo14_5, Campo15_1, Campo15_2, Campo15_3, Campo15_4, Campo1" + + "5_5, Campo16_1, Campo16_2, Campo16_3, Campo16_4, Campo16_5, StatoOk, CodCS FROM " + + "Odette WHERE (CampoUDC = @CampoUDC)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CampoUDC", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CampoUDC", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo1_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo1_1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo1_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo1_2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo1_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo1_3", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo1_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo1_4", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo1_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo1_5", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo2_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo2_1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo2_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo2_2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo2_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo2_3", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo2_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo2_4", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo2_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo2_5", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo3_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo3_1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo3_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo3_2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo3_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo3_3", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo3_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo3_4", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo3_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo3_5", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo4_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo4_1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo4_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo4_2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo4_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo4_3", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo4_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo4_4", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo4_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo4_5", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo5_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo5_1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo5_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo5_2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo5_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo5_3", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo5_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo5_4", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo5_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo5_5", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo6_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo6_1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo6_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo6_2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo6_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo6_3", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo6_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo6_4", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo6_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo6_5", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo7_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo7_1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo7_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo7_2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo7_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo7_3", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo7_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo7_4", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo7_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo7_5", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo8_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo8_1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo8_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo8_2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo8_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo8_3", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo8_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo8_4", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo8_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo8_5", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo9_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo9_1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo9_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo9_2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo9_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo9_3", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo9_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo9_4", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo9_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo9_5", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo10_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo10_1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo10_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo10_2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo10_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo10_3", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo10_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo10_4", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo10_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo10_5", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo11_1_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo11_1_1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo11_1_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo11_1_2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo11_1_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo11_1_3", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo11_1_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo11_1_4", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo11_1_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo11_1_5", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo11_2_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo11_2_1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo11_2_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo11_2_2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo11_2_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo11_2_3", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo11_2_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo11_2_4", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo11_2_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo11_2_5", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo12_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo12_1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo12_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo12_2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo12_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo12_3", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo12_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo12_4", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo12_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo12_5", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo13_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo13_1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo13_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo13_2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo13_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo13_3", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo13_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo13_4", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo13_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo13_5", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo14_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo14_1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo14_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo14_2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo14_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo14_3", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo14_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo14_4", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo14_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo14_5", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo15_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo15_1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo15_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo15_2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo15_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo15_3", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo15_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo15_4", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo15_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo15_5", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo16_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo16_1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo16_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo16_2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo16_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo16_3", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo16_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo16_4", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo16_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo16_5", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@StatoOk", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "StatoOk", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = "UPDATE [dbo].[Odette] SET [CampoUDC] = @CampoUDC, [Campo1_1] = @Campo1_1, [Campo1" + + "_2] = @Campo1_2, [Campo1_3] = @Campo1_3, [Campo1_4] = @Campo1_4, [Campo1_5] = @C" + + "ampo1_5, [Campo2_1] = @Campo2_1, [Campo2_2] = @Campo2_2, [Campo2_3] = @Campo2_3," + + " [Campo2_4] = @Campo2_4, [Campo2_5] = @Campo2_5, [Campo3_1] = @Campo3_1, [Campo3" + + "_2] = @Campo3_2, [Campo3_3] = @Campo3_3, [Campo3_4] = @Campo3_4, [Campo3_5] = @C" + + "ampo3_5, [Campo4_1] = @Campo4_1, [Campo4_2] = @Campo4_2, [Campo4_3] = @Campo4_3," + + " [Campo4_4] = @Campo4_4, [Campo4_5] = @Campo4_5, [Campo5_1] = @Campo5_1, [Campo5" + + "_2] = @Campo5_2, [Campo5_3] = @Campo5_3, [Campo5_4] = @Campo5_4, [Campo5_5] = @C" + + "ampo5_5, [Campo6_1] = @Campo6_1, [Campo6_2] = @Campo6_2, [Campo6_3] = @Campo6_3," + + " [Campo6_4] = @Campo6_4, [Campo6_5] = @Campo6_5, [Campo7_1] = @Campo7_1, [Campo7" + + "_2] = @Campo7_2, [Campo7_3] = @Campo7_3, [Campo7_4] = @Campo7_4, [Campo7_5] = @C" + + "ampo7_5, [Campo8_1] = @Campo8_1, [Campo8_2] = @Campo8_2, [Campo8_3] = @Campo8_3," + + " [Campo8_4] = @Campo8_4, [Campo8_5] = @Campo8_5, [Campo9_1] = @Campo9_1, [Campo9" + + "_2] = @Campo9_2, [Campo9_3] = @Campo9_3, [Campo9_4] = @Campo9_4, [Campo9_5] = @C" + + "ampo9_5, [Campo10_1] = @Campo10_1, [Campo10_2] = @Campo10_2, [Campo10_3] = @Camp" + + "o10_3, [Campo10_4] = @Campo10_4, [Campo10_5] = @Campo10_5, [Campo11_1_1] = @Camp" + + "o11_1_1, [Campo11_1_2] = @Campo11_1_2, [Campo11_1_3] = @Campo11_1_3, [Campo11_1_" + + "4] = @Campo11_1_4, [Campo11_1_5] = @Campo11_1_5, [Campo11_2_1] = @Campo11_2_1, [" + + "Campo11_2_2] = @Campo11_2_2, [Campo11_2_3] = @Campo11_2_3, [Campo11_2_4] = @Camp" + + "o11_2_4, [Campo11_2_5] = @Campo11_2_5, [Campo12_1] = @Campo12_1, [Campo12_2] = @" + + "Campo12_2, [Campo12_3] = @Campo12_3, [Campo12_4] = @Campo12_4, [Campo12_5] = @Ca" + + "mpo12_5, [Campo13_1] = @Campo13_1, [Campo13_2] = @Campo13_2, [Campo13_3] = @Camp" + + "o13_3, [Campo13_4] = @Campo13_4, [Campo13_5] = @Campo13_5, [Campo14_1] = @Campo1" + + "4_1, [Campo14_2] = @Campo14_2, [Campo14_3] = @Campo14_3, [Campo14_4] = @Campo14_" + + "4, [Campo14_5] = @Campo14_5, [Campo15_1] = @Campo15_1, [Campo15_2] = @Campo15_2," + + " [Campo15_3] = @Campo15_3, [Campo15_4] = @Campo15_4, [Campo15_5] = @Campo15_5, [" + + "Campo16_1] = @Campo16_1, [Campo16_2] = @Campo16_2, [Campo16_3] = @Campo16_3, [Ca" + + "mpo16_4] = @Campo16_4, [Campo16_5] = @Campo16_5, [StatoOk] = @StatoOk, [CodCS] =" + + " @CodCS WHERE (([CampoUDC] = @Original_CampoUDC) AND ([Campo1_1] = @Original_Cam" + + "po1_1) AND ([Campo1_2] = @Original_Campo1_2) AND ([Campo1_3] = @Original_Campo1_" + + "3) AND ([Campo1_4] = @Original_Campo1_4) AND ([Campo1_5] = @Original_Campo1_5) A" + + "ND ([Campo2_1] = @Original_Campo2_1) AND ([Campo2_2] = @Original_Campo2_2) AND (" + + "[Campo2_3] = @Original_Campo2_3) AND ([Campo2_4] = @Original_Campo2_4) AND ([Cam" + + "po2_5] = @Original_Campo2_5) AND ([Campo3_1] = @Original_Campo3_1) AND ([Campo3_" + + "2] = @Original_Campo3_2) AND ([Campo3_3] = @Original_Campo3_3) AND ([Campo3_4] =" + + " @Original_Campo3_4) AND ([Campo3_5] = @Original_Campo3_5) AND ([Campo4_1] = @Or" + + "iginal_Campo4_1) AND ([Campo4_2] = @Original_Campo4_2) AND ([Campo4_3] = @Origin" + + "al_Campo4_3) AND ([Campo4_4] = @Original_Campo4_4) AND ([Campo4_5] = @Original_C" + + "ampo4_5) AND ([Campo5_1] = @Original_Campo5_1) AND ([Campo5_2] = @Original_Campo" + + "5_2) AND ([Campo5_3] = @Original_Campo5_3) AND ([Campo5_4] = @Original_Campo5_4)" + + " AND ([Campo5_5] = @Original_Campo5_5) AND ([Campo6_1] = @Original_Campo6_1) AND" + + " ([Campo6_2] = @Original_Campo6_2) AND ([Campo6_3] = @Original_Campo6_3) AND ([C" + + "ampo6_4] = @Original_Campo6_4) AND ([Campo6_5] = @Original_Campo6_5) AND ([Campo" + + "7_1] = @Original_Campo7_1) AND ([Campo7_2] = @Original_Campo7_2) AND ([Campo7_3]" + + " = @Original_Campo7_3) AND ([Campo7_4] = @Original_Campo7_4) AND ([Campo7_5] = @" + + "Original_Campo7_5) AND ([Campo8_1] = @Original_Campo8_1) AND ([Campo8_2] = @Orig" + + "inal_Campo8_2) AND ([Campo8_3] = @Original_Campo8_3) AND ([Campo8_4] = @Original" + + "_Campo8_4) AND ([Campo8_5] = @Original_Campo8_5) AND ([Campo9_1] = @Original_Cam" + + "po9_1) AND ([Campo9_2] = @Original_Campo9_2) AND ([Campo9_3] = @Original_Campo9_" + + "3) AND ([Campo9_4] = @Original_Campo9_4) AND ([Campo9_5] = @Original_Campo9_5) A" + + "ND ([Campo10_1] = @Original_Campo10_1) AND ([Campo10_2] = @Original_Campo10_2) A" + + "ND ([Campo10_3] = @Original_Campo10_3) AND ([Campo10_4] = @Original_Campo10_4) A" + + "ND ([Campo10_5] = @Original_Campo10_5) AND ([Campo11_1_1] = @Original_Campo11_1_" + + "1) AND ([Campo11_1_2] = @Original_Campo11_1_2) AND ([Campo11_1_3] = @Original_Ca" + + "mpo11_1_3) AND ([Campo11_1_4] = @Original_Campo11_1_4) AND ([Campo11_1_5] = @Ori" + + "ginal_Campo11_1_5) AND ([Campo11_2_1] = @Original_Campo11_2_1) AND ([Campo11_2_2" + + "] = @Original_Campo11_2_2) AND ([Campo11_2_3] = @Original_Campo11_2_3) AND ([Cam" + + "po11_2_4] = @Original_Campo11_2_4) AND ([Campo11_2_5] = @Original_Campo11_2_5) A" + + "ND ([Campo12_1] = @Original_Campo12_1) AND ([Campo12_2] = @Original_Campo12_2) A" + + "ND ([Campo12_3] = @Original_Campo12_3) AND ([Campo12_4] = @Original_Campo12_4) A" + + "ND ([Campo12_5] = @Original_Campo12_5) AND ([Campo13_1] = @Original_Campo13_1) A" + + "ND ([Campo13_2] = @Original_Campo13_2) AND ([Campo13_3] = @Original_Campo13_3) A" + + "ND ([Campo13_4] = @Original_Campo13_4) AND ([Campo13_5] = @Original_Campo13_5) A" + + "ND ([Campo14_1] = @Original_Campo14_1) AND ([Campo14_2] = @Original_Campo14_2) A" + + "ND ([Campo14_3] = @Original_Campo14_3) AND ([Campo14_4] = @Original_Campo14_4) A" + + "ND ([Campo14_5] = @Original_Campo14_5) AND ([Campo15_1] = @Original_Campo15_1) A" + + "ND ([Campo15_2] = @Original_Campo15_2) AND ([Campo15_3] = @Original_Campo15_3) A" + + "ND ([Campo15_4] = @Original_Campo15_4) AND ([Campo15_5] = @Original_Campo15_5) A" + + "ND ([Campo16_1] = @Original_Campo16_1) AND ([Campo16_2] = @Original_Campo16_2) A" + + "ND ([Campo16_3] = @Original_Campo16_3) AND ([Campo16_4] = @Original_Campo16_4) A" + + "ND ([Campo16_5] = @Original_Campo16_5) AND ([StatoOk] = @Original_StatoOk) AND (" + + "[CodCS] = @Original_CodCS));\r\nSELECT CampoUDC, Campo1_1, Campo1_2, Campo1_3, Cam" + + "po1_4, Campo1_5, Campo2_1, Campo2_2, Campo2_3, Campo2_4, Campo2_5, Campo3_1, Cam" + + "po3_2, Campo3_3, Campo3_4, Campo3_5, Campo4_1, Campo4_2, Campo4_3, Campo4_4, Cam" + + "po4_5, Campo5_1, Campo5_2, Campo5_3, Campo5_4, Campo5_5, Campo6_1, Campo6_2, Cam" + + "po6_3, Campo6_4, Campo6_5, Campo7_1, Campo7_2, Campo7_3, Campo7_4, Campo7_5, Cam" + + "po8_1, Campo8_2, Campo8_3, Campo8_4, Campo8_5, Campo9_1, Campo9_2, Campo9_3, Cam" + + "po9_4, Campo9_5, Campo10_1, Campo10_2, Campo10_3, Campo10_4, Campo10_5, Campo11_" + + "1_1, Campo11_1_2, Campo11_1_3, Campo11_1_4, Campo11_1_5, Campo11_2_1, Campo11_2_" + + "2, Campo11_2_3, Campo11_2_4, Campo11_2_5, Campo12_1, Campo12_2, Campo12_3, Campo" + + "12_4, Campo12_5, Campo13_1, Campo13_2, Campo13_3, Campo13_4, Campo13_5, Campo14_" + + "1, Campo14_2, Campo14_3, Campo14_4, Campo14_5, Campo15_1, Campo15_2, Campo15_3, " + + "Campo15_4, Campo15_5, Campo16_1, Campo16_2, Campo16_3, Campo16_4, Campo16_5, Sta" + + "toOk, CodCS FROM Odette WHERE (CampoUDC = @CampoUDC)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CampoUDC", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CampoUDC", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo1_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo1_1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo1_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo1_2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo1_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo1_3", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo1_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo1_4", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo1_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo1_5", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo2_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo2_1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo2_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo2_2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo2_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo2_3", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo2_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo2_4", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo2_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo2_5", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo3_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo3_1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo3_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo3_2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo3_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo3_3", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo3_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo3_4", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo3_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo3_5", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo4_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo4_1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo4_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo4_2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo4_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo4_3", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo4_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo4_4", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo4_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo4_5", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo5_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo5_1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo5_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo5_2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo5_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo5_3", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo5_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo5_4", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo5_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo5_5", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo6_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo6_1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo6_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo6_2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo6_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo6_3", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo6_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo6_4", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo6_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo6_5", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo7_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo7_1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo7_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo7_2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo7_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo7_3", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo7_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo7_4", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo7_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo7_5", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo8_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo8_1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo8_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo8_2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo8_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo8_3", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo8_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo8_4", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo8_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo8_5", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo9_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo9_1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo9_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo9_2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo9_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo9_3", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo9_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo9_4", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo9_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo9_5", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo10_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo10_1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo10_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo10_2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo10_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo10_3", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo10_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo10_4", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo10_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo10_5", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo11_1_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo11_1_1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo11_1_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo11_1_2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo11_1_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo11_1_3", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo11_1_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo11_1_4", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo11_1_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo11_1_5", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo11_2_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo11_2_1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo11_2_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo11_2_2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo11_2_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo11_2_3", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo11_2_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo11_2_4", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo11_2_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo11_2_5", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo12_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo12_1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo12_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo12_2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo12_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo12_3", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo12_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo12_4", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo12_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo12_5", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo13_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo13_1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo13_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo13_2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo13_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo13_3", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo13_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo13_4", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo13_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo13_5", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo14_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo14_1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo14_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo14_2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo14_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo14_3", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo14_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo14_4", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo14_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo14_5", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo15_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo15_1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo15_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo15_2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo15_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo15_3", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo15_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo15_4", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo15_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo15_5", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo16_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo16_1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo16_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo16_2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo16_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo16_3", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo16_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo16_4", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo16_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo16_5", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@StatoOk", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "StatoOk", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CampoUDC", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CampoUDC", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo1_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo1_1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo1_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo1_2", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo1_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo1_3", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo1_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo1_4", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo1_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo1_5", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo2_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo2_1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo2_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo2_2", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo2_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo2_3", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo2_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo2_4", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo2_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo2_5", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo3_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo3_1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo3_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo3_2", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo3_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo3_3", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo3_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo3_4", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo3_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo3_5", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo4_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo4_1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo4_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo4_2", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo4_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo4_3", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo4_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo4_4", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo4_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo4_5", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo5_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo5_1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo5_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo5_2", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo5_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo5_3", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo5_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo5_4", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo5_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo5_5", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo6_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo6_1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo6_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo6_2", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo6_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo6_3", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo6_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo6_4", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo6_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo6_5", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo7_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo7_1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo7_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo7_2", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo7_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo7_3", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo7_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo7_4", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo7_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo7_5", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo8_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo8_1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo8_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo8_2", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo8_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo8_3", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo8_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo8_4", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo8_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo8_5", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo9_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo9_1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo9_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo9_2", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo9_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo9_3", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo9_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo9_4", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo9_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo9_5", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo10_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo10_1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo10_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo10_2", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo10_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo10_3", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo10_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo10_4", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo10_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo10_5", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo11_1_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo11_1_1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo11_1_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo11_1_2", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo11_1_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo11_1_3", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo11_1_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo11_1_4", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo11_1_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo11_1_5", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo11_2_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo11_2_1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo11_2_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo11_2_2", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo11_2_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo11_2_3", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo11_2_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo11_2_4", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo11_2_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo11_2_5", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo12_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo12_1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo12_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo12_2", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo12_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo12_3", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo12_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo12_4", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo12_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo12_5", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo13_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo13_1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo13_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo13_2", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo13_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo13_3", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo13_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo13_4", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo13_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo13_5", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo14_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo14_1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo14_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo14_2", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo14_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo14_3", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo14_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo14_4", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo14_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo14_5", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo15_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo15_1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo15_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo15_2", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo15_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo15_3", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo15_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo15_4", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo15_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo15_5", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo16_1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo16_1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo16_2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo16_2", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo16_3", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo16_3", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo16_4", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo16_4", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Campo16_5", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Campo16_5", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_StatoOk", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "StatoOk", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[10]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT * FROM dbo.Odette"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "dbo.stp_ODETTE_deleteByLDP"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[1].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[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodLista", global::System.Data.SqlDbType.NVarChar, 12, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[2].Connection = this.Connection; + this._commandCollection[2].CommandText = "dbo.stp_ODETTE_delete"; + this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[2].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[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CampoUDC", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[3].Connection = this.Connection; + this._commandCollection[3].CommandText = "dbo.stp_ODETTE_getByBolla"; + this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[3].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[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMag", global::System.Data.SqlDbType.NVarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@GrpBolla", global::System.Data.SqlDbType.NVarChar, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumBolla", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 6, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataBolla", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 8, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.NVarChar, 15, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[4].Connection = this.Connection; + this._commandCollection[4].CommandText = "dbo.stp_ODETTE_getByListaPrelievo"; + this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[4].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[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodLista", global::System.Data.SqlDbType.NVarChar, 12, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[5].Connection = this.Connection; + this._commandCollection[5].CommandText = "dbo.stp_ODETTE_getByUDC"; + this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[6].Connection = this.Connection; + this._commandCollection[6].CommandText = "dbo.stp_ODETTE_setStato"; + this._commandCollection[6].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[6].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[6].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[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@StatoOk", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[7].Connection = this.Connection; + this._commandCollection[7].CommandText = "dbo.stp_ODETTE_updateLingua"; + this._commandCollection[7].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[7].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[7].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[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo1_1", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo2_1", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo3_1", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo4_1", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo5_1", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo6_1", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo7_1", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo8_1", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo9_1", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo10_1", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo11_1_1", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo11_2_1", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo12_1", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo13_1", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo14_1", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo15_1", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Campo16_1", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[8] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[8].Connection = this.Connection; + this._commandCollection[8].CommandText = "dbo.stp_ODETTE_updateVal"; + this._commandCollection[8].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[8].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[8].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[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ragSocCli", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@indirCli", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@capCittCli", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ragSocDest", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@indirDest", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@capCittDest", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pesoNetto", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pesoLordo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@numColli", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@disPart", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descPart", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@codPart", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@codImb", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@codMaz", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@codNael", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[9] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[9].Connection = this.Connection; + 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, 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, "", "", "")); + this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMag", global::System.Data.SqlDbType.NVarChar, 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("@GrpBolla", global::System.Data.SqlDbType.NVarChar, 1, 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("@Particolare", global::System.Data.SqlDbType.NVarChar, 15, 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("@CodLista", global::System.Data.SqlDbType.NVarChar, 12, 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("@IndStabFrom", 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("@qtaCont", 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.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_Odette.OdetteDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_Odette.OdetteDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_Odette.OdetteDataTable dataTable = new DS_Odette.OdetteDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_Odette.OdetteDataTable getByBolla(string CodMag, string GrpBolla, global::System.Nullable NumBolla, global::System.Nullable DataBolla, string Particolare) { + this.Adapter.SelectCommand = this.CommandCollection[3]; + if ((CodMag == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodMag)); + } + if ((GrpBolla == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(GrpBolla)); + } + if ((NumBolla.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[3].Value = ((decimal)(NumBolla.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; + } + if ((DataBolla.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[4].Value = ((decimal)(DataBolla.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value; + } + if ((Particolare == null)) { + this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[5].Value = ((string)(Particolare)); + } + DS_Odette.OdetteDataTable dataTable = new DS_Odette.OdetteDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_Odette.OdetteDataTable getByCodLista(string CodLista) { + this.Adapter.SelectCommand = this.CommandCollection[4]; + if ((CodLista == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodLista)); + } + DS_Odette.OdetteDataTable dataTable = new DS_Odette.OdetteDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_Odette.OdetteDataTable getByUdc(string UDC) { + this.Adapter.SelectCommand = this.CommandCollection[5]; + if ((UDC == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(UDC)); + } + DS_Odette.OdetteDataTable dataTable = new DS_Odette.OdetteDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_Odette.OdetteDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_Odette dataSet) { + return this.Adapter.Update(dataSet, "Odette"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete( + string Original_CampoUDC, + string Original_Campo1_1, + string Original_Campo1_2, + string Original_Campo1_3, + string Original_Campo1_4, + string Original_Campo1_5, + string Original_Campo2_1, + string Original_Campo2_2, + string Original_Campo2_3, + string Original_Campo2_4, + string Original_Campo2_5, + string Original_Campo3_1, + string Original_Campo3_2, + string Original_Campo3_3, + string Original_Campo3_4, + string Original_Campo3_5, + string Original_Campo4_1, + string Original_Campo4_2, + string Original_Campo4_3, + string Original_Campo4_4, + string Original_Campo4_5, + string Original_Campo5_1, + string Original_Campo5_2, + string Original_Campo5_3, + string Original_Campo5_4, + string Original_Campo5_5, + string Original_Campo6_1, + string Original_Campo6_2, + string Original_Campo6_3, + string Original_Campo6_4, + string Original_Campo6_5, + string Original_Campo7_1, + string Original_Campo7_2, + string Original_Campo7_3, + string Original_Campo7_4, + string Original_Campo7_5, + string Original_Campo8_1, + string Original_Campo8_2, + string Original_Campo8_3, + string Original_Campo8_4, + string Original_Campo8_5, + string Original_Campo9_1, + string Original_Campo9_2, + string Original_Campo9_3, + string Original_Campo9_4, + string Original_Campo9_5, + string Original_Campo10_1, + string Original_Campo10_2, + string Original_Campo10_3, + string Original_Campo10_4, + string Original_Campo10_5, + string Original_Campo11_1_1, + string Original_Campo11_1_2, + string Original_Campo11_1_3, + string Original_Campo11_1_4, + string Original_Campo11_1_5, + string Original_Campo11_2_1, + string Original_Campo11_2_2, + string Original_Campo11_2_3, + string Original_Campo11_2_4, + string Original_Campo11_2_5, + string Original_Campo12_1, + string Original_Campo12_2, + string Original_Campo12_3, + string Original_Campo12_4, + string Original_Campo12_5, + string Original_Campo13_1, + string Original_Campo13_2, + string Original_Campo13_3, + string Original_Campo13_4, + string Original_Campo13_5, + string Original_Campo14_1, + string Original_Campo14_2, + string Original_Campo14_3, + string Original_Campo14_4, + string Original_Campo14_5, + string Original_Campo15_1, + string Original_Campo15_2, + string Original_Campo15_3, + string Original_Campo15_4, + string Original_Campo15_5, + string Original_Campo16_1, + string Original_Campo16_2, + string Original_Campo16_3, + string Original_Campo16_4, + string Original_Campo16_5, + bool Original_StatoOk, + string Original_CodCS) { + if ((Original_CampoUDC == null)) { + throw new global::System.ArgumentNullException("Original_CampoUDC"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CampoUDC)); + } + if ((Original_Campo1_1 == null)) { + throw new global::System.ArgumentNullException("Original_Campo1_1"); + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_Campo1_1)); + } + if ((Original_Campo1_2 == null)) { + throw new global::System.ArgumentNullException("Original_Campo1_2"); + } + else { + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_Campo1_2)); + } + if ((Original_Campo1_3 == null)) { + throw new global::System.ArgumentNullException("Original_Campo1_3"); + } + else { + this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_Campo1_3)); + } + if ((Original_Campo1_4 == null)) { + throw new global::System.ArgumentNullException("Original_Campo1_4"); + } + else { + this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_Campo1_4)); + } + if ((Original_Campo1_5 == null)) { + throw new global::System.ArgumentNullException("Original_Campo1_5"); + } + else { + this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(Original_Campo1_5)); + } + if ((Original_Campo2_1 == null)) { + throw new global::System.ArgumentNullException("Original_Campo2_1"); + } + else { + this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_Campo2_1)); + } + if ((Original_Campo2_2 == null)) { + throw new global::System.ArgumentNullException("Original_Campo2_2"); + } + else { + this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(Original_Campo2_2)); + } + if ((Original_Campo2_3 == null)) { + throw new global::System.ArgumentNullException("Original_Campo2_3"); + } + else { + this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_Campo2_3)); + } + if ((Original_Campo2_4 == null)) { + throw new global::System.ArgumentNullException("Original_Campo2_4"); + } + else { + this.Adapter.DeleteCommand.Parameters[9].Value = ((string)(Original_Campo2_4)); + } + if ((Original_Campo2_5 == null)) { + throw new global::System.ArgumentNullException("Original_Campo2_5"); + } + else { + this.Adapter.DeleteCommand.Parameters[10].Value = ((string)(Original_Campo2_5)); + } + if ((Original_Campo3_1 == null)) { + throw new global::System.ArgumentNullException("Original_Campo3_1"); + } + else { + this.Adapter.DeleteCommand.Parameters[11].Value = ((string)(Original_Campo3_1)); + } + if ((Original_Campo3_2 == null)) { + throw new global::System.ArgumentNullException("Original_Campo3_2"); + } + else { + this.Adapter.DeleteCommand.Parameters[12].Value = ((string)(Original_Campo3_2)); + } + if ((Original_Campo3_3 == null)) { + throw new global::System.ArgumentNullException("Original_Campo3_3"); + } + else { + this.Adapter.DeleteCommand.Parameters[13].Value = ((string)(Original_Campo3_3)); + } + if ((Original_Campo3_4 == null)) { + throw new global::System.ArgumentNullException("Original_Campo3_4"); + } + else { + this.Adapter.DeleteCommand.Parameters[14].Value = ((string)(Original_Campo3_4)); + } + if ((Original_Campo3_5 == null)) { + throw new global::System.ArgumentNullException("Original_Campo3_5"); + } + else { + this.Adapter.DeleteCommand.Parameters[15].Value = ((string)(Original_Campo3_5)); + } + if ((Original_Campo4_1 == null)) { + throw new global::System.ArgumentNullException("Original_Campo4_1"); + } + else { + this.Adapter.DeleteCommand.Parameters[16].Value = ((string)(Original_Campo4_1)); + } + if ((Original_Campo4_2 == null)) { + throw new global::System.ArgumentNullException("Original_Campo4_2"); + } + else { + this.Adapter.DeleteCommand.Parameters[17].Value = ((string)(Original_Campo4_2)); + } + if ((Original_Campo4_3 == null)) { + throw new global::System.ArgumentNullException("Original_Campo4_3"); + } + else { + this.Adapter.DeleteCommand.Parameters[18].Value = ((string)(Original_Campo4_3)); + } + if ((Original_Campo4_4 == null)) { + throw new global::System.ArgumentNullException("Original_Campo4_4"); + } + else { + this.Adapter.DeleteCommand.Parameters[19].Value = ((string)(Original_Campo4_4)); + } + if ((Original_Campo4_5 == null)) { + throw new global::System.ArgumentNullException("Original_Campo4_5"); + } + else { + this.Adapter.DeleteCommand.Parameters[20].Value = ((string)(Original_Campo4_5)); + } + if ((Original_Campo5_1 == null)) { + throw new global::System.ArgumentNullException("Original_Campo5_1"); + } + else { + this.Adapter.DeleteCommand.Parameters[21].Value = ((string)(Original_Campo5_1)); + } + if ((Original_Campo5_2 == null)) { + throw new global::System.ArgumentNullException("Original_Campo5_2"); + } + else { + this.Adapter.DeleteCommand.Parameters[22].Value = ((string)(Original_Campo5_2)); + } + if ((Original_Campo5_3 == null)) { + throw new global::System.ArgumentNullException("Original_Campo5_3"); + } + else { + this.Adapter.DeleteCommand.Parameters[23].Value = ((string)(Original_Campo5_3)); + } + if ((Original_Campo5_4 == null)) { + throw new global::System.ArgumentNullException("Original_Campo5_4"); + } + else { + this.Adapter.DeleteCommand.Parameters[24].Value = ((string)(Original_Campo5_4)); + } + if ((Original_Campo5_5 == null)) { + throw new global::System.ArgumentNullException("Original_Campo5_5"); + } + else { + this.Adapter.DeleteCommand.Parameters[25].Value = ((string)(Original_Campo5_5)); + } + if ((Original_Campo6_1 == null)) { + throw new global::System.ArgumentNullException("Original_Campo6_1"); + } + else { + this.Adapter.DeleteCommand.Parameters[26].Value = ((string)(Original_Campo6_1)); + } + if ((Original_Campo6_2 == null)) { + throw new global::System.ArgumentNullException("Original_Campo6_2"); + } + else { + this.Adapter.DeleteCommand.Parameters[27].Value = ((string)(Original_Campo6_2)); + } + if ((Original_Campo6_3 == null)) { + throw new global::System.ArgumentNullException("Original_Campo6_3"); + } + else { + this.Adapter.DeleteCommand.Parameters[28].Value = ((string)(Original_Campo6_3)); + } + if ((Original_Campo6_4 == null)) { + throw new global::System.ArgumentNullException("Original_Campo6_4"); + } + else { + this.Adapter.DeleteCommand.Parameters[29].Value = ((string)(Original_Campo6_4)); + } + if ((Original_Campo6_5 == null)) { + throw new global::System.ArgumentNullException("Original_Campo6_5"); + } + else { + this.Adapter.DeleteCommand.Parameters[30].Value = ((string)(Original_Campo6_5)); + } + if ((Original_Campo7_1 == null)) { + throw new global::System.ArgumentNullException("Original_Campo7_1"); + } + else { + this.Adapter.DeleteCommand.Parameters[31].Value = ((string)(Original_Campo7_1)); + } + if ((Original_Campo7_2 == null)) { + throw new global::System.ArgumentNullException("Original_Campo7_2"); + } + else { + this.Adapter.DeleteCommand.Parameters[32].Value = ((string)(Original_Campo7_2)); + } + if ((Original_Campo7_3 == null)) { + throw new global::System.ArgumentNullException("Original_Campo7_3"); + } + else { + this.Adapter.DeleteCommand.Parameters[33].Value = ((string)(Original_Campo7_3)); + } + if ((Original_Campo7_4 == null)) { + throw new global::System.ArgumentNullException("Original_Campo7_4"); + } + else { + this.Adapter.DeleteCommand.Parameters[34].Value = ((string)(Original_Campo7_4)); + } + if ((Original_Campo7_5 == null)) { + throw new global::System.ArgumentNullException("Original_Campo7_5"); + } + else { + this.Adapter.DeleteCommand.Parameters[35].Value = ((string)(Original_Campo7_5)); + } + if ((Original_Campo8_1 == null)) { + throw new global::System.ArgumentNullException("Original_Campo8_1"); + } + else { + this.Adapter.DeleteCommand.Parameters[36].Value = ((string)(Original_Campo8_1)); + } + if ((Original_Campo8_2 == null)) { + throw new global::System.ArgumentNullException("Original_Campo8_2"); + } + else { + this.Adapter.DeleteCommand.Parameters[37].Value = ((string)(Original_Campo8_2)); + } + if ((Original_Campo8_3 == null)) { + throw new global::System.ArgumentNullException("Original_Campo8_3"); + } + else { + this.Adapter.DeleteCommand.Parameters[38].Value = ((string)(Original_Campo8_3)); + } + if ((Original_Campo8_4 == null)) { + throw new global::System.ArgumentNullException("Original_Campo8_4"); + } + else { + this.Adapter.DeleteCommand.Parameters[39].Value = ((string)(Original_Campo8_4)); + } + if ((Original_Campo8_5 == null)) { + throw new global::System.ArgumentNullException("Original_Campo8_5"); + } + else { + this.Adapter.DeleteCommand.Parameters[40].Value = ((string)(Original_Campo8_5)); + } + if ((Original_Campo9_1 == null)) { + throw new global::System.ArgumentNullException("Original_Campo9_1"); + } + else { + this.Adapter.DeleteCommand.Parameters[41].Value = ((string)(Original_Campo9_1)); + } + if ((Original_Campo9_2 == null)) { + throw new global::System.ArgumentNullException("Original_Campo9_2"); + } + else { + this.Adapter.DeleteCommand.Parameters[42].Value = ((string)(Original_Campo9_2)); + } + if ((Original_Campo9_3 == null)) { + throw new global::System.ArgumentNullException("Original_Campo9_3"); + } + else { + this.Adapter.DeleteCommand.Parameters[43].Value = ((string)(Original_Campo9_3)); + } + if ((Original_Campo9_4 == null)) { + throw new global::System.ArgumentNullException("Original_Campo9_4"); + } + else { + this.Adapter.DeleteCommand.Parameters[44].Value = ((string)(Original_Campo9_4)); + } + if ((Original_Campo9_5 == null)) { + throw new global::System.ArgumentNullException("Original_Campo9_5"); + } + else { + this.Adapter.DeleteCommand.Parameters[45].Value = ((string)(Original_Campo9_5)); + } + if ((Original_Campo10_1 == null)) { + throw new global::System.ArgumentNullException("Original_Campo10_1"); + } + else { + this.Adapter.DeleteCommand.Parameters[46].Value = ((string)(Original_Campo10_1)); + } + if ((Original_Campo10_2 == null)) { + throw new global::System.ArgumentNullException("Original_Campo10_2"); + } + else { + this.Adapter.DeleteCommand.Parameters[47].Value = ((string)(Original_Campo10_2)); + } + if ((Original_Campo10_3 == null)) { + throw new global::System.ArgumentNullException("Original_Campo10_3"); + } + else { + this.Adapter.DeleteCommand.Parameters[48].Value = ((string)(Original_Campo10_3)); + } + if ((Original_Campo10_4 == null)) { + throw new global::System.ArgumentNullException("Original_Campo10_4"); + } + else { + this.Adapter.DeleteCommand.Parameters[49].Value = ((string)(Original_Campo10_4)); + } + if ((Original_Campo10_5 == null)) { + throw new global::System.ArgumentNullException("Original_Campo10_5"); + } + else { + this.Adapter.DeleteCommand.Parameters[50].Value = ((string)(Original_Campo10_5)); + } + if ((Original_Campo11_1_1 == null)) { + throw new global::System.ArgumentNullException("Original_Campo11_1_1"); + } + else { + this.Adapter.DeleteCommand.Parameters[51].Value = ((string)(Original_Campo11_1_1)); + } + if ((Original_Campo11_1_2 == null)) { + throw new global::System.ArgumentNullException("Original_Campo11_1_2"); + } + else { + this.Adapter.DeleteCommand.Parameters[52].Value = ((string)(Original_Campo11_1_2)); + } + if ((Original_Campo11_1_3 == null)) { + throw new global::System.ArgumentNullException("Original_Campo11_1_3"); + } + else { + this.Adapter.DeleteCommand.Parameters[53].Value = ((string)(Original_Campo11_1_3)); + } + if ((Original_Campo11_1_4 == null)) { + throw new global::System.ArgumentNullException("Original_Campo11_1_4"); + } + else { + this.Adapter.DeleteCommand.Parameters[54].Value = ((string)(Original_Campo11_1_4)); + } + if ((Original_Campo11_1_5 == null)) { + throw new global::System.ArgumentNullException("Original_Campo11_1_5"); + } + else { + this.Adapter.DeleteCommand.Parameters[55].Value = ((string)(Original_Campo11_1_5)); + } + if ((Original_Campo11_2_1 == null)) { + throw new global::System.ArgumentNullException("Original_Campo11_2_1"); + } + else { + this.Adapter.DeleteCommand.Parameters[56].Value = ((string)(Original_Campo11_2_1)); + } + if ((Original_Campo11_2_2 == null)) { + throw new global::System.ArgumentNullException("Original_Campo11_2_2"); + } + else { + this.Adapter.DeleteCommand.Parameters[57].Value = ((string)(Original_Campo11_2_2)); + } + if ((Original_Campo11_2_3 == null)) { + throw new global::System.ArgumentNullException("Original_Campo11_2_3"); + } + else { + this.Adapter.DeleteCommand.Parameters[58].Value = ((string)(Original_Campo11_2_3)); + } + if ((Original_Campo11_2_4 == null)) { + throw new global::System.ArgumentNullException("Original_Campo11_2_4"); + } + else { + this.Adapter.DeleteCommand.Parameters[59].Value = ((string)(Original_Campo11_2_4)); + } + if ((Original_Campo11_2_5 == null)) { + throw new global::System.ArgumentNullException("Original_Campo11_2_5"); + } + else { + this.Adapter.DeleteCommand.Parameters[60].Value = ((string)(Original_Campo11_2_5)); + } + if ((Original_Campo12_1 == null)) { + throw new global::System.ArgumentNullException("Original_Campo12_1"); + } + else { + this.Adapter.DeleteCommand.Parameters[61].Value = ((string)(Original_Campo12_1)); + } + if ((Original_Campo12_2 == null)) { + throw new global::System.ArgumentNullException("Original_Campo12_2"); + } + else { + this.Adapter.DeleteCommand.Parameters[62].Value = ((string)(Original_Campo12_2)); + } + if ((Original_Campo12_3 == null)) { + throw new global::System.ArgumentNullException("Original_Campo12_3"); + } + else { + this.Adapter.DeleteCommand.Parameters[63].Value = ((string)(Original_Campo12_3)); + } + if ((Original_Campo12_4 == null)) { + throw new global::System.ArgumentNullException("Original_Campo12_4"); + } + else { + this.Adapter.DeleteCommand.Parameters[64].Value = ((string)(Original_Campo12_4)); + } + if ((Original_Campo12_5 == null)) { + throw new global::System.ArgumentNullException("Original_Campo12_5"); + } + else { + this.Adapter.DeleteCommand.Parameters[65].Value = ((string)(Original_Campo12_5)); + } + if ((Original_Campo13_1 == null)) { + throw new global::System.ArgumentNullException("Original_Campo13_1"); + } + else { + this.Adapter.DeleteCommand.Parameters[66].Value = ((string)(Original_Campo13_1)); + } + if ((Original_Campo13_2 == null)) { + throw new global::System.ArgumentNullException("Original_Campo13_2"); + } + else { + this.Adapter.DeleteCommand.Parameters[67].Value = ((string)(Original_Campo13_2)); + } + if ((Original_Campo13_3 == null)) { + throw new global::System.ArgumentNullException("Original_Campo13_3"); + } + else { + this.Adapter.DeleteCommand.Parameters[68].Value = ((string)(Original_Campo13_3)); + } + if ((Original_Campo13_4 == null)) { + throw new global::System.ArgumentNullException("Original_Campo13_4"); + } + else { + this.Adapter.DeleteCommand.Parameters[69].Value = ((string)(Original_Campo13_4)); + } + if ((Original_Campo13_5 == null)) { + throw new global::System.ArgumentNullException("Original_Campo13_5"); + } + else { + this.Adapter.DeleteCommand.Parameters[70].Value = ((string)(Original_Campo13_5)); + } + if ((Original_Campo14_1 == null)) { + throw new global::System.ArgumentNullException("Original_Campo14_1"); + } + else { + this.Adapter.DeleteCommand.Parameters[71].Value = ((string)(Original_Campo14_1)); + } + if ((Original_Campo14_2 == null)) { + throw new global::System.ArgumentNullException("Original_Campo14_2"); + } + else { + this.Adapter.DeleteCommand.Parameters[72].Value = ((string)(Original_Campo14_2)); + } + if ((Original_Campo14_3 == null)) { + throw new global::System.ArgumentNullException("Original_Campo14_3"); + } + else { + this.Adapter.DeleteCommand.Parameters[73].Value = ((string)(Original_Campo14_3)); + } + if ((Original_Campo14_4 == null)) { + throw new global::System.ArgumentNullException("Original_Campo14_4"); + } + else { + this.Adapter.DeleteCommand.Parameters[74].Value = ((string)(Original_Campo14_4)); + } + if ((Original_Campo14_5 == null)) { + throw new global::System.ArgumentNullException("Original_Campo14_5"); + } + else { + this.Adapter.DeleteCommand.Parameters[75].Value = ((string)(Original_Campo14_5)); + } + if ((Original_Campo15_1 == null)) { + throw new global::System.ArgumentNullException("Original_Campo15_1"); + } + else { + this.Adapter.DeleteCommand.Parameters[76].Value = ((string)(Original_Campo15_1)); + } + if ((Original_Campo15_2 == null)) { + throw new global::System.ArgumentNullException("Original_Campo15_2"); + } + else { + this.Adapter.DeleteCommand.Parameters[77].Value = ((string)(Original_Campo15_2)); + } + if ((Original_Campo15_3 == null)) { + throw new global::System.ArgumentNullException("Original_Campo15_3"); + } + else { + this.Adapter.DeleteCommand.Parameters[78].Value = ((string)(Original_Campo15_3)); + } + if ((Original_Campo15_4 == null)) { + throw new global::System.ArgumentNullException("Original_Campo15_4"); + } + else { + this.Adapter.DeleteCommand.Parameters[79].Value = ((string)(Original_Campo15_4)); + } + if ((Original_Campo15_5 == null)) { + throw new global::System.ArgumentNullException("Original_Campo15_5"); + } + else { + this.Adapter.DeleteCommand.Parameters[80].Value = ((string)(Original_Campo15_5)); + } + if ((Original_Campo16_1 == null)) { + throw new global::System.ArgumentNullException("Original_Campo16_1"); + } + else { + this.Adapter.DeleteCommand.Parameters[81].Value = ((string)(Original_Campo16_1)); + } + if ((Original_Campo16_2 == null)) { + throw new global::System.ArgumentNullException("Original_Campo16_2"); + } + else { + this.Adapter.DeleteCommand.Parameters[82].Value = ((string)(Original_Campo16_2)); + } + if ((Original_Campo16_3 == null)) { + throw new global::System.ArgumentNullException("Original_Campo16_3"); + } + else { + this.Adapter.DeleteCommand.Parameters[83].Value = ((string)(Original_Campo16_3)); + } + if ((Original_Campo16_4 == null)) { + throw new global::System.ArgumentNullException("Original_Campo16_4"); + } + else { + this.Adapter.DeleteCommand.Parameters[84].Value = ((string)(Original_Campo16_4)); + } + if ((Original_Campo16_5 == null)) { + throw new global::System.ArgumentNullException("Original_Campo16_5"); + } + else { + this.Adapter.DeleteCommand.Parameters[85].Value = ((string)(Original_Campo16_5)); + } + this.Adapter.DeleteCommand.Parameters[86].Value = ((bool)(Original_StatoOk)); + if ((Original_CodCS == null)) { + throw new global::System.ArgumentNullException("Original_CodCS"); + } + else { + this.Adapter.DeleteCommand.Parameters[87].Value = ((string)(Original_CodCS)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert( + string CampoUDC, + string Campo1_1, + string Campo1_2, + string Campo1_3, + string Campo1_4, + string Campo1_5, + string Campo2_1, + string Campo2_2, + string Campo2_3, + string Campo2_4, + string Campo2_5, + string Campo3_1, + string Campo3_2, + string Campo3_3, + string Campo3_4, + string Campo3_5, + string Campo4_1, + string Campo4_2, + string Campo4_3, + string Campo4_4, + string Campo4_5, + string Campo5_1, + string Campo5_2, + string Campo5_3, + string Campo5_4, + string Campo5_5, + string Campo6_1, + string Campo6_2, + string Campo6_3, + string Campo6_4, + string Campo6_5, + string Campo7_1, + string Campo7_2, + string Campo7_3, + string Campo7_4, + string Campo7_5, + string Campo8_1, + string Campo8_2, + string Campo8_3, + string Campo8_4, + string Campo8_5, + string Campo9_1, + string Campo9_2, + string Campo9_3, + string Campo9_4, + string Campo9_5, + string Campo10_1, + string Campo10_2, + string Campo10_3, + string Campo10_4, + string Campo10_5, + string Campo11_1_1, + string Campo11_1_2, + string Campo11_1_3, + string Campo11_1_4, + string Campo11_1_5, + string Campo11_2_1, + string Campo11_2_2, + string Campo11_2_3, + string Campo11_2_4, + string Campo11_2_5, + string Campo12_1, + string Campo12_2, + string Campo12_3, + string Campo12_4, + string Campo12_5, + string Campo13_1, + string Campo13_2, + string Campo13_3, + string Campo13_4, + string Campo13_5, + string Campo14_1, + string Campo14_2, + string Campo14_3, + string Campo14_4, + string Campo14_5, + string Campo15_1, + string Campo15_2, + string Campo15_3, + string Campo15_4, + string Campo15_5, + string Campo16_1, + string Campo16_2, + string Campo16_3, + string Campo16_4, + string Campo16_5, + bool StatoOk, + string CodCS) { + if ((CampoUDC == null)) { + throw new global::System.ArgumentNullException("CampoUDC"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CampoUDC)); + } + if ((Campo1_1 == null)) { + throw new global::System.ArgumentNullException("Campo1_1"); + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(Campo1_1)); + } + if ((Campo1_2 == null)) { + throw new global::System.ArgumentNullException("Campo1_2"); + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(Campo1_2)); + } + if ((Campo1_3 == null)) { + throw new global::System.ArgumentNullException("Campo1_3"); + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = ((string)(Campo1_3)); + } + if ((Campo1_4 == null)) { + throw new global::System.ArgumentNullException("Campo1_4"); + } + else { + this.Adapter.InsertCommand.Parameters[4].Value = ((string)(Campo1_4)); + } + if ((Campo1_5 == null)) { + throw new global::System.ArgumentNullException("Campo1_5"); + } + else { + this.Adapter.InsertCommand.Parameters[5].Value = ((string)(Campo1_5)); + } + if ((Campo2_1 == null)) { + throw new global::System.ArgumentNullException("Campo2_1"); + } + else { + this.Adapter.InsertCommand.Parameters[6].Value = ((string)(Campo2_1)); + } + if ((Campo2_2 == null)) { + throw new global::System.ArgumentNullException("Campo2_2"); + } + else { + this.Adapter.InsertCommand.Parameters[7].Value = ((string)(Campo2_2)); + } + if ((Campo2_3 == null)) { + throw new global::System.ArgumentNullException("Campo2_3"); + } + else { + this.Adapter.InsertCommand.Parameters[8].Value = ((string)(Campo2_3)); + } + if ((Campo2_4 == null)) { + throw new global::System.ArgumentNullException("Campo2_4"); + } + else { + this.Adapter.InsertCommand.Parameters[9].Value = ((string)(Campo2_4)); + } + if ((Campo2_5 == null)) { + throw new global::System.ArgumentNullException("Campo2_5"); + } + else { + this.Adapter.InsertCommand.Parameters[10].Value = ((string)(Campo2_5)); + } + if ((Campo3_1 == null)) { + throw new global::System.ArgumentNullException("Campo3_1"); + } + else { + this.Adapter.InsertCommand.Parameters[11].Value = ((string)(Campo3_1)); + } + if ((Campo3_2 == null)) { + throw new global::System.ArgumentNullException("Campo3_2"); + } + else { + this.Adapter.InsertCommand.Parameters[12].Value = ((string)(Campo3_2)); + } + if ((Campo3_3 == null)) { + throw new global::System.ArgumentNullException("Campo3_3"); + } + else { + this.Adapter.InsertCommand.Parameters[13].Value = ((string)(Campo3_3)); + } + if ((Campo3_4 == null)) { + throw new global::System.ArgumentNullException("Campo3_4"); + } + else { + this.Adapter.InsertCommand.Parameters[14].Value = ((string)(Campo3_4)); + } + if ((Campo3_5 == null)) { + throw new global::System.ArgumentNullException("Campo3_5"); + } + else { + this.Adapter.InsertCommand.Parameters[15].Value = ((string)(Campo3_5)); + } + if ((Campo4_1 == null)) { + throw new global::System.ArgumentNullException("Campo4_1"); + } + else { + this.Adapter.InsertCommand.Parameters[16].Value = ((string)(Campo4_1)); + } + if ((Campo4_2 == null)) { + throw new global::System.ArgumentNullException("Campo4_2"); + } + else { + this.Adapter.InsertCommand.Parameters[17].Value = ((string)(Campo4_2)); + } + if ((Campo4_3 == null)) { + throw new global::System.ArgumentNullException("Campo4_3"); + } + else { + this.Adapter.InsertCommand.Parameters[18].Value = ((string)(Campo4_3)); + } + if ((Campo4_4 == null)) { + throw new global::System.ArgumentNullException("Campo4_4"); + } + else { + this.Adapter.InsertCommand.Parameters[19].Value = ((string)(Campo4_4)); + } + if ((Campo4_5 == null)) { + throw new global::System.ArgumentNullException("Campo4_5"); + } + else { + this.Adapter.InsertCommand.Parameters[20].Value = ((string)(Campo4_5)); + } + if ((Campo5_1 == null)) { + throw new global::System.ArgumentNullException("Campo5_1"); + } + else { + this.Adapter.InsertCommand.Parameters[21].Value = ((string)(Campo5_1)); + } + if ((Campo5_2 == null)) { + throw new global::System.ArgumentNullException("Campo5_2"); + } + else { + this.Adapter.InsertCommand.Parameters[22].Value = ((string)(Campo5_2)); + } + if ((Campo5_3 == null)) { + throw new global::System.ArgumentNullException("Campo5_3"); + } + else { + this.Adapter.InsertCommand.Parameters[23].Value = ((string)(Campo5_3)); + } + if ((Campo5_4 == null)) { + throw new global::System.ArgumentNullException("Campo5_4"); + } + else { + this.Adapter.InsertCommand.Parameters[24].Value = ((string)(Campo5_4)); + } + if ((Campo5_5 == null)) { + throw new global::System.ArgumentNullException("Campo5_5"); + } + else { + this.Adapter.InsertCommand.Parameters[25].Value = ((string)(Campo5_5)); + } + if ((Campo6_1 == null)) { + throw new global::System.ArgumentNullException("Campo6_1"); + } + else { + this.Adapter.InsertCommand.Parameters[26].Value = ((string)(Campo6_1)); + } + if ((Campo6_2 == null)) { + throw new global::System.ArgumentNullException("Campo6_2"); + } + else { + this.Adapter.InsertCommand.Parameters[27].Value = ((string)(Campo6_2)); + } + if ((Campo6_3 == null)) { + throw new global::System.ArgumentNullException("Campo6_3"); + } + else { + this.Adapter.InsertCommand.Parameters[28].Value = ((string)(Campo6_3)); + } + if ((Campo6_4 == null)) { + throw new global::System.ArgumentNullException("Campo6_4"); + } + else { + this.Adapter.InsertCommand.Parameters[29].Value = ((string)(Campo6_4)); + } + if ((Campo6_5 == null)) { + throw new global::System.ArgumentNullException("Campo6_5"); + } + else { + this.Adapter.InsertCommand.Parameters[30].Value = ((string)(Campo6_5)); + } + if ((Campo7_1 == null)) { + throw new global::System.ArgumentNullException("Campo7_1"); + } + else { + this.Adapter.InsertCommand.Parameters[31].Value = ((string)(Campo7_1)); + } + if ((Campo7_2 == null)) { + throw new global::System.ArgumentNullException("Campo7_2"); + } + else { + this.Adapter.InsertCommand.Parameters[32].Value = ((string)(Campo7_2)); + } + if ((Campo7_3 == null)) { + throw new global::System.ArgumentNullException("Campo7_3"); + } + else { + this.Adapter.InsertCommand.Parameters[33].Value = ((string)(Campo7_3)); + } + if ((Campo7_4 == null)) { + throw new global::System.ArgumentNullException("Campo7_4"); + } + else { + this.Adapter.InsertCommand.Parameters[34].Value = ((string)(Campo7_4)); + } + if ((Campo7_5 == null)) { + throw new global::System.ArgumentNullException("Campo7_5"); + } + else { + this.Adapter.InsertCommand.Parameters[35].Value = ((string)(Campo7_5)); + } + if ((Campo8_1 == null)) { + throw new global::System.ArgumentNullException("Campo8_1"); + } + else { + this.Adapter.InsertCommand.Parameters[36].Value = ((string)(Campo8_1)); + } + if ((Campo8_2 == null)) { + throw new global::System.ArgumentNullException("Campo8_2"); + } + else { + this.Adapter.InsertCommand.Parameters[37].Value = ((string)(Campo8_2)); + } + if ((Campo8_3 == null)) { + throw new global::System.ArgumentNullException("Campo8_3"); + } + else { + this.Adapter.InsertCommand.Parameters[38].Value = ((string)(Campo8_3)); + } + if ((Campo8_4 == null)) { + throw new global::System.ArgumentNullException("Campo8_4"); + } + else { + this.Adapter.InsertCommand.Parameters[39].Value = ((string)(Campo8_4)); + } + if ((Campo8_5 == null)) { + throw new global::System.ArgumentNullException("Campo8_5"); + } + else { + this.Adapter.InsertCommand.Parameters[40].Value = ((string)(Campo8_5)); + } + if ((Campo9_1 == null)) { + throw new global::System.ArgumentNullException("Campo9_1"); + } + else { + this.Adapter.InsertCommand.Parameters[41].Value = ((string)(Campo9_1)); + } + if ((Campo9_2 == null)) { + throw new global::System.ArgumentNullException("Campo9_2"); + } + else { + this.Adapter.InsertCommand.Parameters[42].Value = ((string)(Campo9_2)); + } + if ((Campo9_3 == null)) { + throw new global::System.ArgumentNullException("Campo9_3"); + } + else { + this.Adapter.InsertCommand.Parameters[43].Value = ((string)(Campo9_3)); + } + if ((Campo9_4 == null)) { + throw new global::System.ArgumentNullException("Campo9_4"); + } + else { + this.Adapter.InsertCommand.Parameters[44].Value = ((string)(Campo9_4)); + } + if ((Campo9_5 == null)) { + throw new global::System.ArgumentNullException("Campo9_5"); + } + else { + this.Adapter.InsertCommand.Parameters[45].Value = ((string)(Campo9_5)); + } + if ((Campo10_1 == null)) { + throw new global::System.ArgumentNullException("Campo10_1"); + } + else { + this.Adapter.InsertCommand.Parameters[46].Value = ((string)(Campo10_1)); + } + if ((Campo10_2 == null)) { + throw new global::System.ArgumentNullException("Campo10_2"); + } + else { + this.Adapter.InsertCommand.Parameters[47].Value = ((string)(Campo10_2)); + } + if ((Campo10_3 == null)) { + throw new global::System.ArgumentNullException("Campo10_3"); + } + else { + this.Adapter.InsertCommand.Parameters[48].Value = ((string)(Campo10_3)); + } + if ((Campo10_4 == null)) { + throw new global::System.ArgumentNullException("Campo10_4"); + } + else { + this.Adapter.InsertCommand.Parameters[49].Value = ((string)(Campo10_4)); + } + if ((Campo10_5 == null)) { + throw new global::System.ArgumentNullException("Campo10_5"); + } + else { + this.Adapter.InsertCommand.Parameters[50].Value = ((string)(Campo10_5)); + } + if ((Campo11_1_1 == null)) { + throw new global::System.ArgumentNullException("Campo11_1_1"); + } + else { + this.Adapter.InsertCommand.Parameters[51].Value = ((string)(Campo11_1_1)); + } + if ((Campo11_1_2 == null)) { + throw new global::System.ArgumentNullException("Campo11_1_2"); + } + else { + this.Adapter.InsertCommand.Parameters[52].Value = ((string)(Campo11_1_2)); + } + if ((Campo11_1_3 == null)) { + throw new global::System.ArgumentNullException("Campo11_1_3"); + } + else { + this.Adapter.InsertCommand.Parameters[53].Value = ((string)(Campo11_1_3)); + } + if ((Campo11_1_4 == null)) { + throw new global::System.ArgumentNullException("Campo11_1_4"); + } + else { + this.Adapter.InsertCommand.Parameters[54].Value = ((string)(Campo11_1_4)); + } + if ((Campo11_1_5 == null)) { + throw new global::System.ArgumentNullException("Campo11_1_5"); + } + else { + this.Adapter.InsertCommand.Parameters[55].Value = ((string)(Campo11_1_5)); + } + if ((Campo11_2_1 == null)) { + throw new global::System.ArgumentNullException("Campo11_2_1"); + } + else { + this.Adapter.InsertCommand.Parameters[56].Value = ((string)(Campo11_2_1)); + } + if ((Campo11_2_2 == null)) { + throw new global::System.ArgumentNullException("Campo11_2_2"); + } + else { + this.Adapter.InsertCommand.Parameters[57].Value = ((string)(Campo11_2_2)); + } + if ((Campo11_2_3 == null)) { + throw new global::System.ArgumentNullException("Campo11_2_3"); + } + else { + this.Adapter.InsertCommand.Parameters[58].Value = ((string)(Campo11_2_3)); + } + if ((Campo11_2_4 == null)) { + throw new global::System.ArgumentNullException("Campo11_2_4"); + } + else { + this.Adapter.InsertCommand.Parameters[59].Value = ((string)(Campo11_2_4)); + } + if ((Campo11_2_5 == null)) { + throw new global::System.ArgumentNullException("Campo11_2_5"); + } + else { + this.Adapter.InsertCommand.Parameters[60].Value = ((string)(Campo11_2_5)); + } + if ((Campo12_1 == null)) { + throw new global::System.ArgumentNullException("Campo12_1"); + } + else { + this.Adapter.InsertCommand.Parameters[61].Value = ((string)(Campo12_1)); + } + if ((Campo12_2 == null)) { + throw new global::System.ArgumentNullException("Campo12_2"); + } + else { + this.Adapter.InsertCommand.Parameters[62].Value = ((string)(Campo12_2)); + } + if ((Campo12_3 == null)) { + throw new global::System.ArgumentNullException("Campo12_3"); + } + else { + this.Adapter.InsertCommand.Parameters[63].Value = ((string)(Campo12_3)); + } + if ((Campo12_4 == null)) { + throw new global::System.ArgumentNullException("Campo12_4"); + } + else { + this.Adapter.InsertCommand.Parameters[64].Value = ((string)(Campo12_4)); + } + if ((Campo12_5 == null)) { + throw new global::System.ArgumentNullException("Campo12_5"); + } + else { + this.Adapter.InsertCommand.Parameters[65].Value = ((string)(Campo12_5)); + } + if ((Campo13_1 == null)) { + throw new global::System.ArgumentNullException("Campo13_1"); + } + else { + this.Adapter.InsertCommand.Parameters[66].Value = ((string)(Campo13_1)); + } + if ((Campo13_2 == null)) { + throw new global::System.ArgumentNullException("Campo13_2"); + } + else { + this.Adapter.InsertCommand.Parameters[67].Value = ((string)(Campo13_2)); + } + if ((Campo13_3 == null)) { + throw new global::System.ArgumentNullException("Campo13_3"); + } + else { + this.Adapter.InsertCommand.Parameters[68].Value = ((string)(Campo13_3)); + } + if ((Campo13_4 == null)) { + throw new global::System.ArgumentNullException("Campo13_4"); + } + else { + this.Adapter.InsertCommand.Parameters[69].Value = ((string)(Campo13_4)); + } + if ((Campo13_5 == null)) { + throw new global::System.ArgumentNullException("Campo13_5"); + } + else { + this.Adapter.InsertCommand.Parameters[70].Value = ((string)(Campo13_5)); + } + if ((Campo14_1 == null)) { + throw new global::System.ArgumentNullException("Campo14_1"); + } + else { + this.Adapter.InsertCommand.Parameters[71].Value = ((string)(Campo14_1)); + } + if ((Campo14_2 == null)) { + throw new global::System.ArgumentNullException("Campo14_2"); + } + else { + this.Adapter.InsertCommand.Parameters[72].Value = ((string)(Campo14_2)); + } + if ((Campo14_3 == null)) { + throw new global::System.ArgumentNullException("Campo14_3"); + } + else { + this.Adapter.InsertCommand.Parameters[73].Value = ((string)(Campo14_3)); + } + if ((Campo14_4 == null)) { + throw new global::System.ArgumentNullException("Campo14_4"); + } + else { + this.Adapter.InsertCommand.Parameters[74].Value = ((string)(Campo14_4)); + } + if ((Campo14_5 == null)) { + throw new global::System.ArgumentNullException("Campo14_5"); + } + else { + this.Adapter.InsertCommand.Parameters[75].Value = ((string)(Campo14_5)); + } + if ((Campo15_1 == null)) { + throw new global::System.ArgumentNullException("Campo15_1"); + } + else { + this.Adapter.InsertCommand.Parameters[76].Value = ((string)(Campo15_1)); + } + if ((Campo15_2 == null)) { + throw new global::System.ArgumentNullException("Campo15_2"); + } + else { + this.Adapter.InsertCommand.Parameters[77].Value = ((string)(Campo15_2)); + } + if ((Campo15_3 == null)) { + throw new global::System.ArgumentNullException("Campo15_3"); + } + else { + this.Adapter.InsertCommand.Parameters[78].Value = ((string)(Campo15_3)); + } + if ((Campo15_4 == null)) { + throw new global::System.ArgumentNullException("Campo15_4"); + } + else { + this.Adapter.InsertCommand.Parameters[79].Value = ((string)(Campo15_4)); + } + if ((Campo15_5 == null)) { + throw new global::System.ArgumentNullException("Campo15_5"); + } + else { + this.Adapter.InsertCommand.Parameters[80].Value = ((string)(Campo15_5)); + } + if ((Campo16_1 == null)) { + throw new global::System.ArgumentNullException("Campo16_1"); + } + else { + this.Adapter.InsertCommand.Parameters[81].Value = ((string)(Campo16_1)); + } + if ((Campo16_2 == null)) { + throw new global::System.ArgumentNullException("Campo16_2"); + } + else { + this.Adapter.InsertCommand.Parameters[82].Value = ((string)(Campo16_2)); + } + if ((Campo16_3 == null)) { + throw new global::System.ArgumentNullException("Campo16_3"); + } + else { + this.Adapter.InsertCommand.Parameters[83].Value = ((string)(Campo16_3)); + } + if ((Campo16_4 == null)) { + throw new global::System.ArgumentNullException("Campo16_4"); + } + else { + this.Adapter.InsertCommand.Parameters[84].Value = ((string)(Campo16_4)); + } + if ((Campo16_5 == null)) { + throw new global::System.ArgumentNullException("Campo16_5"); + } + else { + this.Adapter.InsertCommand.Parameters[85].Value = ((string)(Campo16_5)); + } + this.Adapter.InsertCommand.Parameters[86].Value = ((bool)(StatoOk)); + if ((CodCS == null)) { + throw new global::System.ArgumentNullException("CodCS"); + } + else { + this.Adapter.InsertCommand.Parameters[87].Value = ((string)(CodCS)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update( + string CampoUDC, + string Campo1_1, + string Campo1_2, + string Campo1_3, + string Campo1_4, + string Campo1_5, + string Campo2_1, + string Campo2_2, + string Campo2_3, + string Campo2_4, + string Campo2_5, + string Campo3_1, + string Campo3_2, + string Campo3_3, + string Campo3_4, + string Campo3_5, + string Campo4_1, + string Campo4_2, + string Campo4_3, + string Campo4_4, + string Campo4_5, + string Campo5_1, + string Campo5_2, + string Campo5_3, + string Campo5_4, + string Campo5_5, + string Campo6_1, + string Campo6_2, + string Campo6_3, + string Campo6_4, + string Campo6_5, + string Campo7_1, + string Campo7_2, + string Campo7_3, + string Campo7_4, + string Campo7_5, + string Campo8_1, + string Campo8_2, + string Campo8_3, + string Campo8_4, + string Campo8_5, + string Campo9_1, + string Campo9_2, + string Campo9_3, + string Campo9_4, + string Campo9_5, + string Campo10_1, + string Campo10_2, + string Campo10_3, + string Campo10_4, + string Campo10_5, + string Campo11_1_1, + string Campo11_1_2, + string Campo11_1_3, + string Campo11_1_4, + string Campo11_1_5, + string Campo11_2_1, + string Campo11_2_2, + string Campo11_2_3, + string Campo11_2_4, + string Campo11_2_5, + string Campo12_1, + string Campo12_2, + string Campo12_3, + string Campo12_4, + string Campo12_5, + string Campo13_1, + string Campo13_2, + string Campo13_3, + string Campo13_4, + string Campo13_5, + string Campo14_1, + string Campo14_2, + string Campo14_3, + string Campo14_4, + string Campo14_5, + string Campo15_1, + string Campo15_2, + string Campo15_3, + string Campo15_4, + string Campo15_5, + string Campo16_1, + string Campo16_2, + string Campo16_3, + string Campo16_4, + string Campo16_5, + bool StatoOk, + string CodCS, + string Original_CampoUDC, + string Original_Campo1_1, + string Original_Campo1_2, + string Original_Campo1_3, + string Original_Campo1_4, + string Original_Campo1_5, + string Original_Campo2_1, + string Original_Campo2_2, + string Original_Campo2_3, + string Original_Campo2_4, + string Original_Campo2_5, + string Original_Campo3_1, + string Original_Campo3_2, + string Original_Campo3_3, + string Original_Campo3_4, + string Original_Campo3_5, + string Original_Campo4_1, + string Original_Campo4_2, + string Original_Campo4_3, + string Original_Campo4_4, + string Original_Campo4_5, + string Original_Campo5_1, + string Original_Campo5_2, + string Original_Campo5_3, + string Original_Campo5_4, + string Original_Campo5_5, + string Original_Campo6_1, + string Original_Campo6_2, + string Original_Campo6_3, + string Original_Campo6_4, + string Original_Campo6_5, + string Original_Campo7_1, + string Original_Campo7_2, + string Original_Campo7_3, + string Original_Campo7_4, + string Original_Campo7_5, + string Original_Campo8_1, + string Original_Campo8_2, + string Original_Campo8_3, + string Original_Campo8_4, + string Original_Campo8_5, + string Original_Campo9_1, + string Original_Campo9_2, + string Original_Campo9_3, + string Original_Campo9_4, + string Original_Campo9_5, + string Original_Campo10_1, + string Original_Campo10_2, + string Original_Campo10_3, + string Original_Campo10_4, + string Original_Campo10_5, + string Original_Campo11_1_1, + string Original_Campo11_1_2, + string Original_Campo11_1_3, + string Original_Campo11_1_4, + string Original_Campo11_1_5, + string Original_Campo11_2_1, + string Original_Campo11_2_2, + string Original_Campo11_2_3, + string Original_Campo11_2_4, + string Original_Campo11_2_5, + string Original_Campo12_1, + string Original_Campo12_2, + string Original_Campo12_3, + string Original_Campo12_4, + string Original_Campo12_5, + string Original_Campo13_1, + string Original_Campo13_2, + string Original_Campo13_3, + string Original_Campo13_4, + string Original_Campo13_5, + string Original_Campo14_1, + string Original_Campo14_2, + string Original_Campo14_3, + string Original_Campo14_4, + string Original_Campo14_5, + string Original_Campo15_1, + string Original_Campo15_2, + string Original_Campo15_3, + string Original_Campo15_4, + string Original_Campo15_5, + string Original_Campo16_1, + string Original_Campo16_2, + string Original_Campo16_3, + string Original_Campo16_4, + string Original_Campo16_5, + bool Original_StatoOk, + string Original_CodCS) { + if ((CampoUDC == null)) { + throw new global::System.ArgumentNullException("CampoUDC"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CampoUDC)); + } + if ((Campo1_1 == null)) { + throw new global::System.ArgumentNullException("Campo1_1"); + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(Campo1_1)); + } + if ((Campo1_2 == null)) { + throw new global::System.ArgumentNullException("Campo1_2"); + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Campo1_2)); + } + if ((Campo1_3 == null)) { + throw new global::System.ArgumentNullException("Campo1_3"); + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Campo1_3)); + } + if ((Campo1_4 == null)) { + throw new global::System.ArgumentNullException("Campo1_4"); + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Campo1_4)); + } + if ((Campo1_5 == null)) { + throw new global::System.ArgumentNullException("Campo1_5"); + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Campo1_5)); + } + if ((Campo2_1 == null)) { + throw new global::System.ArgumentNullException("Campo2_1"); + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Campo2_1)); + } + if ((Campo2_2 == null)) { + throw new global::System.ArgumentNullException("Campo2_2"); + } + else { + this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Campo2_2)); + } + if ((Campo2_3 == null)) { + throw new global::System.ArgumentNullException("Campo2_3"); + } + else { + this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Campo2_3)); + } + if ((Campo2_4 == null)) { + throw new global::System.ArgumentNullException("Campo2_4"); + } + else { + this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Campo2_4)); + } + if ((Campo2_5 == null)) { + throw new global::System.ArgumentNullException("Campo2_5"); + } + else { + this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Campo2_5)); + } + if ((Campo3_1 == null)) { + throw new global::System.ArgumentNullException("Campo3_1"); + } + else { + this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Campo3_1)); + } + if ((Campo3_2 == null)) { + throw new global::System.ArgumentNullException("Campo3_2"); + } + else { + this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Campo3_2)); + } + if ((Campo3_3 == null)) { + throw new global::System.ArgumentNullException("Campo3_3"); + } + else { + this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(Campo3_3)); + } + if ((Campo3_4 == null)) { + throw new global::System.ArgumentNullException("Campo3_4"); + } + else { + this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(Campo3_4)); + } + if ((Campo3_5 == null)) { + throw new global::System.ArgumentNullException("Campo3_5"); + } + else { + this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Campo3_5)); + } + if ((Campo4_1 == null)) { + throw new global::System.ArgumentNullException("Campo4_1"); + } + else { + this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(Campo4_1)); + } + if ((Campo4_2 == null)) { + throw new global::System.ArgumentNullException("Campo4_2"); + } + else { + this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(Campo4_2)); + } + if ((Campo4_3 == null)) { + throw new global::System.ArgumentNullException("Campo4_3"); + } + else { + this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(Campo4_3)); + } + if ((Campo4_4 == null)) { + throw new global::System.ArgumentNullException("Campo4_4"); + } + else { + this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(Campo4_4)); + } + if ((Campo4_5 == null)) { + throw new global::System.ArgumentNullException("Campo4_5"); + } + else { + this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(Campo4_5)); + } + if ((Campo5_1 == null)) { + throw new global::System.ArgumentNullException("Campo5_1"); + } + else { + this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(Campo5_1)); + } + if ((Campo5_2 == null)) { + throw new global::System.ArgumentNullException("Campo5_2"); + } + else { + this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Campo5_2)); + } + if ((Campo5_3 == null)) { + throw new global::System.ArgumentNullException("Campo5_3"); + } + else { + this.Adapter.UpdateCommand.Parameters[23].Value = ((string)(Campo5_3)); + } + if ((Campo5_4 == null)) { + throw new global::System.ArgumentNullException("Campo5_4"); + } + else { + this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(Campo5_4)); + } + if ((Campo5_5 == null)) { + throw new global::System.ArgumentNullException("Campo5_5"); + } + else { + this.Adapter.UpdateCommand.Parameters[25].Value = ((string)(Campo5_5)); + } + if ((Campo6_1 == null)) { + throw new global::System.ArgumentNullException("Campo6_1"); + } + else { + this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(Campo6_1)); + } + if ((Campo6_2 == null)) { + throw new global::System.ArgumentNullException("Campo6_2"); + } + else { + this.Adapter.UpdateCommand.Parameters[27].Value = ((string)(Campo6_2)); + } + if ((Campo6_3 == null)) { + throw new global::System.ArgumentNullException("Campo6_3"); + } + else { + this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(Campo6_3)); + } + if ((Campo6_4 == null)) { + throw new global::System.ArgumentNullException("Campo6_4"); + } + else { + this.Adapter.UpdateCommand.Parameters[29].Value = ((string)(Campo6_4)); + } + if ((Campo6_5 == null)) { + throw new global::System.ArgumentNullException("Campo6_5"); + } + else { + this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(Campo6_5)); + } + if ((Campo7_1 == null)) { + throw new global::System.ArgumentNullException("Campo7_1"); + } + else { + this.Adapter.UpdateCommand.Parameters[31].Value = ((string)(Campo7_1)); + } + if ((Campo7_2 == null)) { + throw new global::System.ArgumentNullException("Campo7_2"); + } + else { + this.Adapter.UpdateCommand.Parameters[32].Value = ((string)(Campo7_2)); + } + if ((Campo7_3 == null)) { + throw new global::System.ArgumentNullException("Campo7_3"); + } + else { + this.Adapter.UpdateCommand.Parameters[33].Value = ((string)(Campo7_3)); + } + if ((Campo7_4 == null)) { + throw new global::System.ArgumentNullException("Campo7_4"); + } + else { + this.Adapter.UpdateCommand.Parameters[34].Value = ((string)(Campo7_4)); + } + if ((Campo7_5 == null)) { + throw new global::System.ArgumentNullException("Campo7_5"); + } + else { + this.Adapter.UpdateCommand.Parameters[35].Value = ((string)(Campo7_5)); + } + if ((Campo8_1 == null)) { + throw new global::System.ArgumentNullException("Campo8_1"); + } + else { + this.Adapter.UpdateCommand.Parameters[36].Value = ((string)(Campo8_1)); + } + if ((Campo8_2 == null)) { + throw new global::System.ArgumentNullException("Campo8_2"); + } + else { + this.Adapter.UpdateCommand.Parameters[37].Value = ((string)(Campo8_2)); + } + if ((Campo8_3 == null)) { + throw new global::System.ArgumentNullException("Campo8_3"); + } + else { + this.Adapter.UpdateCommand.Parameters[38].Value = ((string)(Campo8_3)); + } + if ((Campo8_4 == null)) { + throw new global::System.ArgumentNullException("Campo8_4"); + } + else { + this.Adapter.UpdateCommand.Parameters[39].Value = ((string)(Campo8_4)); + } + if ((Campo8_5 == null)) { + throw new global::System.ArgumentNullException("Campo8_5"); + } + else { + this.Adapter.UpdateCommand.Parameters[40].Value = ((string)(Campo8_5)); + } + if ((Campo9_1 == null)) { + throw new global::System.ArgumentNullException("Campo9_1"); + } + else { + this.Adapter.UpdateCommand.Parameters[41].Value = ((string)(Campo9_1)); + } + if ((Campo9_2 == null)) { + throw new global::System.ArgumentNullException("Campo9_2"); + } + else { + this.Adapter.UpdateCommand.Parameters[42].Value = ((string)(Campo9_2)); + } + if ((Campo9_3 == null)) { + throw new global::System.ArgumentNullException("Campo9_3"); + } + else { + this.Adapter.UpdateCommand.Parameters[43].Value = ((string)(Campo9_3)); + } + if ((Campo9_4 == null)) { + throw new global::System.ArgumentNullException("Campo9_4"); + } + else { + this.Adapter.UpdateCommand.Parameters[44].Value = ((string)(Campo9_4)); + } + if ((Campo9_5 == null)) { + throw new global::System.ArgumentNullException("Campo9_5"); + } + else { + this.Adapter.UpdateCommand.Parameters[45].Value = ((string)(Campo9_5)); + } + if ((Campo10_1 == null)) { + throw new global::System.ArgumentNullException("Campo10_1"); + } + else { + this.Adapter.UpdateCommand.Parameters[46].Value = ((string)(Campo10_1)); + } + if ((Campo10_2 == null)) { + throw new global::System.ArgumentNullException("Campo10_2"); + } + else { + this.Adapter.UpdateCommand.Parameters[47].Value = ((string)(Campo10_2)); + } + if ((Campo10_3 == null)) { + throw new global::System.ArgumentNullException("Campo10_3"); + } + else { + this.Adapter.UpdateCommand.Parameters[48].Value = ((string)(Campo10_3)); + } + if ((Campo10_4 == null)) { + throw new global::System.ArgumentNullException("Campo10_4"); + } + else { + this.Adapter.UpdateCommand.Parameters[49].Value = ((string)(Campo10_4)); + } + if ((Campo10_5 == null)) { + throw new global::System.ArgumentNullException("Campo10_5"); + } + else { + this.Adapter.UpdateCommand.Parameters[50].Value = ((string)(Campo10_5)); + } + if ((Campo11_1_1 == null)) { + throw new global::System.ArgumentNullException("Campo11_1_1"); + } + else { + this.Adapter.UpdateCommand.Parameters[51].Value = ((string)(Campo11_1_1)); + } + if ((Campo11_1_2 == null)) { + throw new global::System.ArgumentNullException("Campo11_1_2"); + } + else { + this.Adapter.UpdateCommand.Parameters[52].Value = ((string)(Campo11_1_2)); + } + if ((Campo11_1_3 == null)) { + throw new global::System.ArgumentNullException("Campo11_1_3"); + } + else { + this.Adapter.UpdateCommand.Parameters[53].Value = ((string)(Campo11_1_3)); + } + if ((Campo11_1_4 == null)) { + throw new global::System.ArgumentNullException("Campo11_1_4"); + } + else { + this.Adapter.UpdateCommand.Parameters[54].Value = ((string)(Campo11_1_4)); + } + if ((Campo11_1_5 == null)) { + throw new global::System.ArgumentNullException("Campo11_1_5"); + } + else { + this.Adapter.UpdateCommand.Parameters[55].Value = ((string)(Campo11_1_5)); + } + if ((Campo11_2_1 == null)) { + throw new global::System.ArgumentNullException("Campo11_2_1"); + } + else { + this.Adapter.UpdateCommand.Parameters[56].Value = ((string)(Campo11_2_1)); + } + if ((Campo11_2_2 == null)) { + throw new global::System.ArgumentNullException("Campo11_2_2"); + } + else { + this.Adapter.UpdateCommand.Parameters[57].Value = ((string)(Campo11_2_2)); + } + if ((Campo11_2_3 == null)) { + throw new global::System.ArgumentNullException("Campo11_2_3"); + } + else { + this.Adapter.UpdateCommand.Parameters[58].Value = ((string)(Campo11_2_3)); + } + if ((Campo11_2_4 == null)) { + throw new global::System.ArgumentNullException("Campo11_2_4"); + } + else { + this.Adapter.UpdateCommand.Parameters[59].Value = ((string)(Campo11_2_4)); + } + if ((Campo11_2_5 == null)) { + throw new global::System.ArgumentNullException("Campo11_2_5"); + } + else { + this.Adapter.UpdateCommand.Parameters[60].Value = ((string)(Campo11_2_5)); + } + if ((Campo12_1 == null)) { + throw new global::System.ArgumentNullException("Campo12_1"); + } + else { + this.Adapter.UpdateCommand.Parameters[61].Value = ((string)(Campo12_1)); + } + if ((Campo12_2 == null)) { + throw new global::System.ArgumentNullException("Campo12_2"); + } + else { + this.Adapter.UpdateCommand.Parameters[62].Value = ((string)(Campo12_2)); + } + if ((Campo12_3 == null)) { + throw new global::System.ArgumentNullException("Campo12_3"); + } + else { + this.Adapter.UpdateCommand.Parameters[63].Value = ((string)(Campo12_3)); + } + if ((Campo12_4 == null)) { + throw new global::System.ArgumentNullException("Campo12_4"); + } + else { + this.Adapter.UpdateCommand.Parameters[64].Value = ((string)(Campo12_4)); + } + if ((Campo12_5 == null)) { + throw new global::System.ArgumentNullException("Campo12_5"); + } + else { + this.Adapter.UpdateCommand.Parameters[65].Value = ((string)(Campo12_5)); + } + if ((Campo13_1 == null)) { + throw new global::System.ArgumentNullException("Campo13_1"); + } + else { + this.Adapter.UpdateCommand.Parameters[66].Value = ((string)(Campo13_1)); + } + if ((Campo13_2 == null)) { + throw new global::System.ArgumentNullException("Campo13_2"); + } + else { + this.Adapter.UpdateCommand.Parameters[67].Value = ((string)(Campo13_2)); + } + if ((Campo13_3 == null)) { + throw new global::System.ArgumentNullException("Campo13_3"); + } + else { + this.Adapter.UpdateCommand.Parameters[68].Value = ((string)(Campo13_3)); + } + if ((Campo13_4 == null)) { + throw new global::System.ArgumentNullException("Campo13_4"); + } + else { + this.Adapter.UpdateCommand.Parameters[69].Value = ((string)(Campo13_4)); + } + if ((Campo13_5 == null)) { + throw new global::System.ArgumentNullException("Campo13_5"); + } + else { + this.Adapter.UpdateCommand.Parameters[70].Value = ((string)(Campo13_5)); + } + if ((Campo14_1 == null)) { + throw new global::System.ArgumentNullException("Campo14_1"); + } + else { + this.Adapter.UpdateCommand.Parameters[71].Value = ((string)(Campo14_1)); + } + if ((Campo14_2 == null)) { + throw new global::System.ArgumentNullException("Campo14_2"); + } + else { + this.Adapter.UpdateCommand.Parameters[72].Value = ((string)(Campo14_2)); + } + if ((Campo14_3 == null)) { + throw new global::System.ArgumentNullException("Campo14_3"); + } + else { + this.Adapter.UpdateCommand.Parameters[73].Value = ((string)(Campo14_3)); + } + if ((Campo14_4 == null)) { + throw new global::System.ArgumentNullException("Campo14_4"); + } + else { + this.Adapter.UpdateCommand.Parameters[74].Value = ((string)(Campo14_4)); + } + if ((Campo14_5 == null)) { + throw new global::System.ArgumentNullException("Campo14_5"); + } + else { + this.Adapter.UpdateCommand.Parameters[75].Value = ((string)(Campo14_5)); + } + if ((Campo15_1 == null)) { + throw new global::System.ArgumentNullException("Campo15_1"); + } + else { + this.Adapter.UpdateCommand.Parameters[76].Value = ((string)(Campo15_1)); + } + if ((Campo15_2 == null)) { + throw new global::System.ArgumentNullException("Campo15_2"); + } + else { + this.Adapter.UpdateCommand.Parameters[77].Value = ((string)(Campo15_2)); + } + if ((Campo15_3 == null)) { + throw new global::System.ArgumentNullException("Campo15_3"); + } + else { + this.Adapter.UpdateCommand.Parameters[78].Value = ((string)(Campo15_3)); + } + if ((Campo15_4 == null)) { + throw new global::System.ArgumentNullException("Campo15_4"); + } + else { + this.Adapter.UpdateCommand.Parameters[79].Value = ((string)(Campo15_4)); + } + if ((Campo15_5 == null)) { + throw new global::System.ArgumentNullException("Campo15_5"); + } + else { + this.Adapter.UpdateCommand.Parameters[80].Value = ((string)(Campo15_5)); + } + if ((Campo16_1 == null)) { + throw new global::System.ArgumentNullException("Campo16_1"); + } + else { + this.Adapter.UpdateCommand.Parameters[81].Value = ((string)(Campo16_1)); + } + if ((Campo16_2 == null)) { + throw new global::System.ArgumentNullException("Campo16_2"); + } + else { + this.Adapter.UpdateCommand.Parameters[82].Value = ((string)(Campo16_2)); + } + if ((Campo16_3 == null)) { + throw new global::System.ArgumentNullException("Campo16_3"); + } + else { + this.Adapter.UpdateCommand.Parameters[83].Value = ((string)(Campo16_3)); + } + if ((Campo16_4 == null)) { + throw new global::System.ArgumentNullException("Campo16_4"); + } + else { + this.Adapter.UpdateCommand.Parameters[84].Value = ((string)(Campo16_4)); + } + if ((Campo16_5 == null)) { + throw new global::System.ArgumentNullException("Campo16_5"); + } + else { + this.Adapter.UpdateCommand.Parameters[85].Value = ((string)(Campo16_5)); + } + this.Adapter.UpdateCommand.Parameters[86].Value = ((bool)(StatoOk)); + if ((CodCS == null)) { + throw new global::System.ArgumentNullException("CodCS"); + } + else { + this.Adapter.UpdateCommand.Parameters[87].Value = ((string)(CodCS)); + } + if ((Original_CampoUDC == null)) { + throw new global::System.ArgumentNullException("Original_CampoUDC"); + } + else { + this.Adapter.UpdateCommand.Parameters[88].Value = ((string)(Original_CampoUDC)); + } + if ((Original_Campo1_1 == null)) { + throw new global::System.ArgumentNullException("Original_Campo1_1"); + } + else { + this.Adapter.UpdateCommand.Parameters[89].Value = ((string)(Original_Campo1_1)); + } + if ((Original_Campo1_2 == null)) { + throw new global::System.ArgumentNullException("Original_Campo1_2"); + } + else { + this.Adapter.UpdateCommand.Parameters[90].Value = ((string)(Original_Campo1_2)); + } + if ((Original_Campo1_3 == null)) { + throw new global::System.ArgumentNullException("Original_Campo1_3"); + } + else { + this.Adapter.UpdateCommand.Parameters[91].Value = ((string)(Original_Campo1_3)); + } + if ((Original_Campo1_4 == null)) { + throw new global::System.ArgumentNullException("Original_Campo1_4"); + } + else { + this.Adapter.UpdateCommand.Parameters[92].Value = ((string)(Original_Campo1_4)); + } + if ((Original_Campo1_5 == null)) { + throw new global::System.ArgumentNullException("Original_Campo1_5"); + } + else { + this.Adapter.UpdateCommand.Parameters[93].Value = ((string)(Original_Campo1_5)); + } + if ((Original_Campo2_1 == null)) { + throw new global::System.ArgumentNullException("Original_Campo2_1"); + } + else { + this.Adapter.UpdateCommand.Parameters[94].Value = ((string)(Original_Campo2_1)); + } + if ((Original_Campo2_2 == null)) { + throw new global::System.ArgumentNullException("Original_Campo2_2"); + } + else { + this.Adapter.UpdateCommand.Parameters[95].Value = ((string)(Original_Campo2_2)); + } + if ((Original_Campo2_3 == null)) { + throw new global::System.ArgumentNullException("Original_Campo2_3"); + } + else { + this.Adapter.UpdateCommand.Parameters[96].Value = ((string)(Original_Campo2_3)); + } + if ((Original_Campo2_4 == null)) { + throw new global::System.ArgumentNullException("Original_Campo2_4"); + } + else { + this.Adapter.UpdateCommand.Parameters[97].Value = ((string)(Original_Campo2_4)); + } + if ((Original_Campo2_5 == null)) { + throw new global::System.ArgumentNullException("Original_Campo2_5"); + } + else { + this.Adapter.UpdateCommand.Parameters[98].Value = ((string)(Original_Campo2_5)); + } + if ((Original_Campo3_1 == null)) { + throw new global::System.ArgumentNullException("Original_Campo3_1"); + } + else { + this.Adapter.UpdateCommand.Parameters[99].Value = ((string)(Original_Campo3_1)); + } + if ((Original_Campo3_2 == null)) { + throw new global::System.ArgumentNullException("Original_Campo3_2"); + } + else { + this.Adapter.UpdateCommand.Parameters[100].Value = ((string)(Original_Campo3_2)); + } + if ((Original_Campo3_3 == null)) { + throw new global::System.ArgumentNullException("Original_Campo3_3"); + } + else { + this.Adapter.UpdateCommand.Parameters[101].Value = ((string)(Original_Campo3_3)); + } + if ((Original_Campo3_4 == null)) { + throw new global::System.ArgumentNullException("Original_Campo3_4"); + } + else { + this.Adapter.UpdateCommand.Parameters[102].Value = ((string)(Original_Campo3_4)); + } + if ((Original_Campo3_5 == null)) { + throw new global::System.ArgumentNullException("Original_Campo3_5"); + } + else { + this.Adapter.UpdateCommand.Parameters[103].Value = ((string)(Original_Campo3_5)); + } + if ((Original_Campo4_1 == null)) { + throw new global::System.ArgumentNullException("Original_Campo4_1"); + } + else { + this.Adapter.UpdateCommand.Parameters[104].Value = ((string)(Original_Campo4_1)); + } + if ((Original_Campo4_2 == null)) { + throw new global::System.ArgumentNullException("Original_Campo4_2"); + } + else { + this.Adapter.UpdateCommand.Parameters[105].Value = ((string)(Original_Campo4_2)); + } + if ((Original_Campo4_3 == null)) { + throw new global::System.ArgumentNullException("Original_Campo4_3"); + } + else { + this.Adapter.UpdateCommand.Parameters[106].Value = ((string)(Original_Campo4_3)); + } + if ((Original_Campo4_4 == null)) { + throw new global::System.ArgumentNullException("Original_Campo4_4"); + } + else { + this.Adapter.UpdateCommand.Parameters[107].Value = ((string)(Original_Campo4_4)); + } + if ((Original_Campo4_5 == null)) { + throw new global::System.ArgumentNullException("Original_Campo4_5"); + } + else { + this.Adapter.UpdateCommand.Parameters[108].Value = ((string)(Original_Campo4_5)); + } + if ((Original_Campo5_1 == null)) { + throw new global::System.ArgumentNullException("Original_Campo5_1"); + } + else { + this.Adapter.UpdateCommand.Parameters[109].Value = ((string)(Original_Campo5_1)); + } + if ((Original_Campo5_2 == null)) { + throw new global::System.ArgumentNullException("Original_Campo5_2"); + } + else { + this.Adapter.UpdateCommand.Parameters[110].Value = ((string)(Original_Campo5_2)); + } + if ((Original_Campo5_3 == null)) { + throw new global::System.ArgumentNullException("Original_Campo5_3"); + } + else { + this.Adapter.UpdateCommand.Parameters[111].Value = ((string)(Original_Campo5_3)); + } + if ((Original_Campo5_4 == null)) { + throw new global::System.ArgumentNullException("Original_Campo5_4"); + } + else { + this.Adapter.UpdateCommand.Parameters[112].Value = ((string)(Original_Campo5_4)); + } + if ((Original_Campo5_5 == null)) { + throw new global::System.ArgumentNullException("Original_Campo5_5"); + } + else { + this.Adapter.UpdateCommand.Parameters[113].Value = ((string)(Original_Campo5_5)); + } + if ((Original_Campo6_1 == null)) { + throw new global::System.ArgumentNullException("Original_Campo6_1"); + } + else { + this.Adapter.UpdateCommand.Parameters[114].Value = ((string)(Original_Campo6_1)); + } + if ((Original_Campo6_2 == null)) { + throw new global::System.ArgumentNullException("Original_Campo6_2"); + } + else { + this.Adapter.UpdateCommand.Parameters[115].Value = ((string)(Original_Campo6_2)); + } + if ((Original_Campo6_3 == null)) { + throw new global::System.ArgumentNullException("Original_Campo6_3"); + } + else { + this.Adapter.UpdateCommand.Parameters[116].Value = ((string)(Original_Campo6_3)); + } + if ((Original_Campo6_4 == null)) { + throw new global::System.ArgumentNullException("Original_Campo6_4"); + } + else { + this.Adapter.UpdateCommand.Parameters[117].Value = ((string)(Original_Campo6_4)); + } + if ((Original_Campo6_5 == null)) { + throw new global::System.ArgumentNullException("Original_Campo6_5"); + } + else { + this.Adapter.UpdateCommand.Parameters[118].Value = ((string)(Original_Campo6_5)); + } + if ((Original_Campo7_1 == null)) { + throw new global::System.ArgumentNullException("Original_Campo7_1"); + } + else { + this.Adapter.UpdateCommand.Parameters[119].Value = ((string)(Original_Campo7_1)); + } + if ((Original_Campo7_2 == null)) { + throw new global::System.ArgumentNullException("Original_Campo7_2"); + } + else { + this.Adapter.UpdateCommand.Parameters[120].Value = ((string)(Original_Campo7_2)); + } + if ((Original_Campo7_3 == null)) { + throw new global::System.ArgumentNullException("Original_Campo7_3"); + } + else { + this.Adapter.UpdateCommand.Parameters[121].Value = ((string)(Original_Campo7_3)); + } + if ((Original_Campo7_4 == null)) { + throw new global::System.ArgumentNullException("Original_Campo7_4"); + } + else { + this.Adapter.UpdateCommand.Parameters[122].Value = ((string)(Original_Campo7_4)); + } + if ((Original_Campo7_5 == null)) { + throw new global::System.ArgumentNullException("Original_Campo7_5"); + } + else { + this.Adapter.UpdateCommand.Parameters[123].Value = ((string)(Original_Campo7_5)); + } + if ((Original_Campo8_1 == null)) { + throw new global::System.ArgumentNullException("Original_Campo8_1"); + } + else { + this.Adapter.UpdateCommand.Parameters[124].Value = ((string)(Original_Campo8_1)); + } + if ((Original_Campo8_2 == null)) { + throw new global::System.ArgumentNullException("Original_Campo8_2"); + } + else { + this.Adapter.UpdateCommand.Parameters[125].Value = ((string)(Original_Campo8_2)); + } + if ((Original_Campo8_3 == null)) { + throw new global::System.ArgumentNullException("Original_Campo8_3"); + } + else { + this.Adapter.UpdateCommand.Parameters[126].Value = ((string)(Original_Campo8_3)); + } + if ((Original_Campo8_4 == null)) { + throw new global::System.ArgumentNullException("Original_Campo8_4"); + } + else { + this.Adapter.UpdateCommand.Parameters[127].Value = ((string)(Original_Campo8_4)); + } + if ((Original_Campo8_5 == null)) { + throw new global::System.ArgumentNullException("Original_Campo8_5"); + } + else { + this.Adapter.UpdateCommand.Parameters[128].Value = ((string)(Original_Campo8_5)); + } + if ((Original_Campo9_1 == null)) { + throw new global::System.ArgumentNullException("Original_Campo9_1"); + } + else { + this.Adapter.UpdateCommand.Parameters[129].Value = ((string)(Original_Campo9_1)); + } + if ((Original_Campo9_2 == null)) { + throw new global::System.ArgumentNullException("Original_Campo9_2"); + } + else { + this.Adapter.UpdateCommand.Parameters[130].Value = ((string)(Original_Campo9_2)); + } + if ((Original_Campo9_3 == null)) { + throw new global::System.ArgumentNullException("Original_Campo9_3"); + } + else { + this.Adapter.UpdateCommand.Parameters[131].Value = ((string)(Original_Campo9_3)); + } + if ((Original_Campo9_4 == null)) { + throw new global::System.ArgumentNullException("Original_Campo9_4"); + } + else { + this.Adapter.UpdateCommand.Parameters[132].Value = ((string)(Original_Campo9_4)); + } + if ((Original_Campo9_5 == null)) { + throw new global::System.ArgumentNullException("Original_Campo9_5"); + } + else { + this.Adapter.UpdateCommand.Parameters[133].Value = ((string)(Original_Campo9_5)); + } + if ((Original_Campo10_1 == null)) { + throw new global::System.ArgumentNullException("Original_Campo10_1"); + } + else { + this.Adapter.UpdateCommand.Parameters[134].Value = ((string)(Original_Campo10_1)); + } + if ((Original_Campo10_2 == null)) { + throw new global::System.ArgumentNullException("Original_Campo10_2"); + } + else { + this.Adapter.UpdateCommand.Parameters[135].Value = ((string)(Original_Campo10_2)); + } + if ((Original_Campo10_3 == null)) { + throw new global::System.ArgumentNullException("Original_Campo10_3"); + } + else { + this.Adapter.UpdateCommand.Parameters[136].Value = ((string)(Original_Campo10_3)); + } + if ((Original_Campo10_4 == null)) { + throw new global::System.ArgumentNullException("Original_Campo10_4"); + } + else { + this.Adapter.UpdateCommand.Parameters[137].Value = ((string)(Original_Campo10_4)); + } + if ((Original_Campo10_5 == null)) { + throw new global::System.ArgumentNullException("Original_Campo10_5"); + } + else { + this.Adapter.UpdateCommand.Parameters[138].Value = ((string)(Original_Campo10_5)); + } + if ((Original_Campo11_1_1 == null)) { + throw new global::System.ArgumentNullException("Original_Campo11_1_1"); + } + else { + this.Adapter.UpdateCommand.Parameters[139].Value = ((string)(Original_Campo11_1_1)); + } + if ((Original_Campo11_1_2 == null)) { + throw new global::System.ArgumentNullException("Original_Campo11_1_2"); + } + else { + this.Adapter.UpdateCommand.Parameters[140].Value = ((string)(Original_Campo11_1_2)); + } + if ((Original_Campo11_1_3 == null)) { + throw new global::System.ArgumentNullException("Original_Campo11_1_3"); + } + else { + this.Adapter.UpdateCommand.Parameters[141].Value = ((string)(Original_Campo11_1_3)); + } + if ((Original_Campo11_1_4 == null)) { + throw new global::System.ArgumentNullException("Original_Campo11_1_4"); + } + else { + this.Adapter.UpdateCommand.Parameters[142].Value = ((string)(Original_Campo11_1_4)); + } + if ((Original_Campo11_1_5 == null)) { + throw new global::System.ArgumentNullException("Original_Campo11_1_5"); + } + else { + this.Adapter.UpdateCommand.Parameters[143].Value = ((string)(Original_Campo11_1_5)); + } + if ((Original_Campo11_2_1 == null)) { + throw new global::System.ArgumentNullException("Original_Campo11_2_1"); + } + else { + this.Adapter.UpdateCommand.Parameters[144].Value = ((string)(Original_Campo11_2_1)); + } + if ((Original_Campo11_2_2 == null)) { + throw new global::System.ArgumentNullException("Original_Campo11_2_2"); + } + else { + this.Adapter.UpdateCommand.Parameters[145].Value = ((string)(Original_Campo11_2_2)); + } + if ((Original_Campo11_2_3 == null)) { + throw new global::System.ArgumentNullException("Original_Campo11_2_3"); + } + else { + this.Adapter.UpdateCommand.Parameters[146].Value = ((string)(Original_Campo11_2_3)); + } + if ((Original_Campo11_2_4 == null)) { + throw new global::System.ArgumentNullException("Original_Campo11_2_4"); + } + else { + this.Adapter.UpdateCommand.Parameters[147].Value = ((string)(Original_Campo11_2_4)); + } + if ((Original_Campo11_2_5 == null)) { + throw new global::System.ArgumentNullException("Original_Campo11_2_5"); + } + else { + this.Adapter.UpdateCommand.Parameters[148].Value = ((string)(Original_Campo11_2_5)); + } + if ((Original_Campo12_1 == null)) { + throw new global::System.ArgumentNullException("Original_Campo12_1"); + } + else { + this.Adapter.UpdateCommand.Parameters[149].Value = ((string)(Original_Campo12_1)); + } + if ((Original_Campo12_2 == null)) { + throw new global::System.ArgumentNullException("Original_Campo12_2"); + } + else { + this.Adapter.UpdateCommand.Parameters[150].Value = ((string)(Original_Campo12_2)); + } + if ((Original_Campo12_3 == null)) { + throw new global::System.ArgumentNullException("Original_Campo12_3"); + } + else { + this.Adapter.UpdateCommand.Parameters[151].Value = ((string)(Original_Campo12_3)); + } + if ((Original_Campo12_4 == null)) { + throw new global::System.ArgumentNullException("Original_Campo12_4"); + } + else { + this.Adapter.UpdateCommand.Parameters[152].Value = ((string)(Original_Campo12_4)); + } + if ((Original_Campo12_5 == null)) { + throw new global::System.ArgumentNullException("Original_Campo12_5"); + } + else { + this.Adapter.UpdateCommand.Parameters[153].Value = ((string)(Original_Campo12_5)); + } + if ((Original_Campo13_1 == null)) { + throw new global::System.ArgumentNullException("Original_Campo13_1"); + } + else { + this.Adapter.UpdateCommand.Parameters[154].Value = ((string)(Original_Campo13_1)); + } + if ((Original_Campo13_2 == null)) { + throw new global::System.ArgumentNullException("Original_Campo13_2"); + } + else { + this.Adapter.UpdateCommand.Parameters[155].Value = ((string)(Original_Campo13_2)); + } + if ((Original_Campo13_3 == null)) { + throw new global::System.ArgumentNullException("Original_Campo13_3"); + } + else { + this.Adapter.UpdateCommand.Parameters[156].Value = ((string)(Original_Campo13_3)); + } + if ((Original_Campo13_4 == null)) { + throw new global::System.ArgumentNullException("Original_Campo13_4"); + } + else { + this.Adapter.UpdateCommand.Parameters[157].Value = ((string)(Original_Campo13_4)); + } + if ((Original_Campo13_5 == null)) { + throw new global::System.ArgumentNullException("Original_Campo13_5"); + } + else { + this.Adapter.UpdateCommand.Parameters[158].Value = ((string)(Original_Campo13_5)); + } + if ((Original_Campo14_1 == null)) { + throw new global::System.ArgumentNullException("Original_Campo14_1"); + } + else { + this.Adapter.UpdateCommand.Parameters[159].Value = ((string)(Original_Campo14_1)); + } + if ((Original_Campo14_2 == null)) { + throw new global::System.ArgumentNullException("Original_Campo14_2"); + } + else { + this.Adapter.UpdateCommand.Parameters[160].Value = ((string)(Original_Campo14_2)); + } + if ((Original_Campo14_3 == null)) { + throw new global::System.ArgumentNullException("Original_Campo14_3"); + } + else { + this.Adapter.UpdateCommand.Parameters[161].Value = ((string)(Original_Campo14_3)); + } + if ((Original_Campo14_4 == null)) { + throw new global::System.ArgumentNullException("Original_Campo14_4"); + } + else { + this.Adapter.UpdateCommand.Parameters[162].Value = ((string)(Original_Campo14_4)); + } + if ((Original_Campo14_5 == null)) { + throw new global::System.ArgumentNullException("Original_Campo14_5"); + } + else { + this.Adapter.UpdateCommand.Parameters[163].Value = ((string)(Original_Campo14_5)); + } + if ((Original_Campo15_1 == null)) { + throw new global::System.ArgumentNullException("Original_Campo15_1"); + } + else { + this.Adapter.UpdateCommand.Parameters[164].Value = ((string)(Original_Campo15_1)); + } + if ((Original_Campo15_2 == null)) { + throw new global::System.ArgumentNullException("Original_Campo15_2"); + } + else { + this.Adapter.UpdateCommand.Parameters[165].Value = ((string)(Original_Campo15_2)); + } + if ((Original_Campo15_3 == null)) { + throw new global::System.ArgumentNullException("Original_Campo15_3"); + } + else { + this.Adapter.UpdateCommand.Parameters[166].Value = ((string)(Original_Campo15_3)); + } + if ((Original_Campo15_4 == null)) { + throw new global::System.ArgumentNullException("Original_Campo15_4"); + } + else { + this.Adapter.UpdateCommand.Parameters[167].Value = ((string)(Original_Campo15_4)); + } + if ((Original_Campo15_5 == null)) { + throw new global::System.ArgumentNullException("Original_Campo15_5"); + } + else { + this.Adapter.UpdateCommand.Parameters[168].Value = ((string)(Original_Campo15_5)); + } + if ((Original_Campo16_1 == null)) { + throw new global::System.ArgumentNullException("Original_Campo16_1"); + } + else { + this.Adapter.UpdateCommand.Parameters[169].Value = ((string)(Original_Campo16_1)); + } + if ((Original_Campo16_2 == null)) { + throw new global::System.ArgumentNullException("Original_Campo16_2"); + } + else { + this.Adapter.UpdateCommand.Parameters[170].Value = ((string)(Original_Campo16_2)); + } + if ((Original_Campo16_3 == null)) { + throw new global::System.ArgumentNullException("Original_Campo16_3"); + } + else { + this.Adapter.UpdateCommand.Parameters[171].Value = ((string)(Original_Campo16_3)); + } + if ((Original_Campo16_4 == null)) { + throw new global::System.ArgumentNullException("Original_Campo16_4"); + } + else { + this.Adapter.UpdateCommand.Parameters[172].Value = ((string)(Original_Campo16_4)); + } + if ((Original_Campo16_5 == null)) { + throw new global::System.ArgumentNullException("Original_Campo16_5"); + } + else { + this.Adapter.UpdateCommand.Parameters[173].Value = ((string)(Original_Campo16_5)); + } + this.Adapter.UpdateCommand.Parameters[174].Value = ((bool)(Original_StatoOk)); + if ((Original_CodCS == null)) { + throw new global::System.ArgumentNullException("Original_CodCS"); + } + else { + this.Adapter.UpdateCommand.Parameters[175].Value = ((string)(Original_CodCS)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update( + string Campo1_1, + string Campo1_2, + string Campo1_3, + string Campo1_4, + string Campo1_5, + string Campo2_1, + string Campo2_2, + string Campo2_3, + string Campo2_4, + string Campo2_5, + string Campo3_1, + string Campo3_2, + string Campo3_3, + string Campo3_4, + string Campo3_5, + string Campo4_1, + string Campo4_2, + string Campo4_3, + string Campo4_4, + string Campo4_5, + string Campo5_1, + string Campo5_2, + string Campo5_3, + string Campo5_4, + string Campo5_5, + string Campo6_1, + string Campo6_2, + string Campo6_3, + string Campo6_4, + string Campo6_5, + string Campo7_1, + string Campo7_2, + string Campo7_3, + string Campo7_4, + string Campo7_5, + string Campo8_1, + string Campo8_2, + string Campo8_3, + string Campo8_4, + string Campo8_5, + string Campo9_1, + string Campo9_2, + string Campo9_3, + string Campo9_4, + string Campo9_5, + string Campo10_1, + string Campo10_2, + string Campo10_3, + string Campo10_4, + string Campo10_5, + string Campo11_1_1, + string Campo11_1_2, + string Campo11_1_3, + string Campo11_1_4, + string Campo11_1_5, + string Campo11_2_1, + string Campo11_2_2, + string Campo11_2_3, + string Campo11_2_4, + string Campo11_2_5, + string Campo12_1, + string Campo12_2, + string Campo12_3, + string Campo12_4, + string Campo12_5, + string Campo13_1, + string Campo13_2, + string Campo13_3, + string Campo13_4, + string Campo13_5, + string Campo14_1, + string Campo14_2, + string Campo14_3, + string Campo14_4, + string Campo14_5, + string Campo15_1, + string Campo15_2, + string Campo15_3, + string Campo15_4, + string Campo15_5, + string Campo16_1, + string Campo16_2, + string Campo16_3, + string Campo16_4, + string Campo16_5, + bool StatoOk, + string CodCS, + string Original_CampoUDC, + string Original_Campo1_1, + string Original_Campo1_2, + string Original_Campo1_3, + string Original_Campo1_4, + string Original_Campo1_5, + string Original_Campo2_1, + string Original_Campo2_2, + string Original_Campo2_3, + string Original_Campo2_4, + string Original_Campo2_5, + string Original_Campo3_1, + string Original_Campo3_2, + string Original_Campo3_3, + string Original_Campo3_4, + string Original_Campo3_5, + string Original_Campo4_1, + string Original_Campo4_2, + string Original_Campo4_3, + string Original_Campo4_4, + string Original_Campo4_5, + string Original_Campo5_1, + string Original_Campo5_2, + string Original_Campo5_3, + string Original_Campo5_4, + string Original_Campo5_5, + string Original_Campo6_1, + string Original_Campo6_2, + string Original_Campo6_3, + string Original_Campo6_4, + string Original_Campo6_5, + string Original_Campo7_1, + string Original_Campo7_2, + string Original_Campo7_3, + string Original_Campo7_4, + string Original_Campo7_5, + string Original_Campo8_1, + string Original_Campo8_2, + string Original_Campo8_3, + string Original_Campo8_4, + string Original_Campo8_5, + string Original_Campo9_1, + string Original_Campo9_2, + string Original_Campo9_3, + string Original_Campo9_4, + string Original_Campo9_5, + string Original_Campo10_1, + string Original_Campo10_2, + string Original_Campo10_3, + string Original_Campo10_4, + string Original_Campo10_5, + string Original_Campo11_1_1, + string Original_Campo11_1_2, + string Original_Campo11_1_3, + string Original_Campo11_1_4, + string Original_Campo11_1_5, + string Original_Campo11_2_1, + string Original_Campo11_2_2, + string Original_Campo11_2_3, + string Original_Campo11_2_4, + string Original_Campo11_2_5, + string Original_Campo12_1, + string Original_Campo12_2, + string Original_Campo12_3, + string Original_Campo12_4, + string Original_Campo12_5, + string Original_Campo13_1, + string Original_Campo13_2, + string Original_Campo13_3, + string Original_Campo13_4, + string Original_Campo13_5, + string Original_Campo14_1, + string Original_Campo14_2, + string Original_Campo14_3, + string Original_Campo14_4, + string Original_Campo14_5, + string Original_Campo15_1, + string Original_Campo15_2, + string Original_Campo15_3, + string Original_Campo15_4, + string Original_Campo15_5, + string Original_Campo16_1, + string Original_Campo16_2, + string Original_Campo16_3, + string Original_Campo16_4, + string Original_Campo16_5, + bool Original_StatoOk, + string Original_CodCS) { + return this.Update(Original_CampoUDC, Campo1_1, Campo1_2, Campo1_3, Campo1_4, Campo1_5, Campo2_1, Campo2_2, Campo2_3, Campo2_4, Campo2_5, Campo3_1, Campo3_2, Campo3_3, Campo3_4, Campo3_5, Campo4_1, Campo4_2, Campo4_3, Campo4_4, Campo4_5, Campo5_1, Campo5_2, Campo5_3, Campo5_4, Campo5_5, Campo6_1, Campo6_2, Campo6_3, Campo6_4, Campo6_5, Campo7_1, Campo7_2, Campo7_3, Campo7_4, Campo7_5, Campo8_1, Campo8_2, Campo8_3, Campo8_4, Campo8_5, Campo9_1, Campo9_2, Campo9_3, Campo9_4, Campo9_5, Campo10_1, Campo10_2, Campo10_3, Campo10_4, Campo10_5, Campo11_1_1, Campo11_1_2, Campo11_1_3, Campo11_1_4, Campo11_1_5, Campo11_2_1, Campo11_2_2, Campo11_2_3, Campo11_2_4, Campo11_2_5, Campo12_1, Campo12_2, Campo12_3, Campo12_4, Campo12_5, Campo13_1, Campo13_2, Campo13_3, Campo13_4, Campo13_5, Campo14_1, Campo14_2, Campo14_3, Campo14_4, Campo14_5, Campo15_1, Campo15_2, Campo15_3, Campo15_4, Campo15_5, Campo16_1, Campo16_2, Campo16_3, Campo16_4, Campo16_5, StatoOk, CodCS, Original_CampoUDC, Original_Campo1_1, Original_Campo1_2, Original_Campo1_3, Original_Campo1_4, Original_Campo1_5, Original_Campo2_1, Original_Campo2_2, Original_Campo2_3, Original_Campo2_4, Original_Campo2_5, Original_Campo3_1, Original_Campo3_2, Original_Campo3_3, Original_Campo3_4, Original_Campo3_5, Original_Campo4_1, Original_Campo4_2, Original_Campo4_3, Original_Campo4_4, Original_Campo4_5, Original_Campo5_1, Original_Campo5_2, Original_Campo5_3, Original_Campo5_4, Original_Campo5_5, Original_Campo6_1, Original_Campo6_2, Original_Campo6_3, Original_Campo6_4, Original_Campo6_5, Original_Campo7_1, Original_Campo7_2, Original_Campo7_3, Original_Campo7_4, Original_Campo7_5, Original_Campo8_1, Original_Campo8_2, Original_Campo8_3, Original_Campo8_4, Original_Campo8_5, Original_Campo9_1, Original_Campo9_2, Original_Campo9_3, Original_Campo9_4, Original_Campo9_5, Original_Campo10_1, Original_Campo10_2, Original_Campo10_3, Original_Campo10_4, Original_Campo10_5, Original_Campo11_1_1, Original_Campo11_1_2, Original_Campo11_1_3, Original_Campo11_1_4, Original_Campo11_1_5, Original_Campo11_2_1, Original_Campo11_2_2, Original_Campo11_2_3, Original_Campo11_2_4, Original_Campo11_2_5, Original_Campo12_1, Original_Campo12_2, Original_Campo12_3, Original_Campo12_4, Original_Campo12_5, Original_Campo13_1, Original_Campo13_2, Original_Campo13_3, Original_Campo13_4, Original_Campo13_5, Original_Campo14_1, Original_Campo14_2, Original_Campo14_3, Original_Campo14_4, Original_Campo14_5, Original_Campo15_1, Original_Campo15_2, Original_Campo15_3, Original_Campo15_4, Original_Campo15_5, Original_Campo16_1, Original_Campo16_2, Original_Campo16_3, Original_Campo16_4, Original_Campo16_5, Original_StatoOk, Original_CodCS); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int deleteByLDP(string CodLista) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1]; + if ((CodLista == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(CodLista)); + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int deleteQuery(string Original_CampoUDC) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2]; + if ((Original_CampoUDC == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(Original_CampoUDC)); + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int setStato(string UDC, global::System.Nullable StatoOk) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[6]; + if ((UDC == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(UDC)); + } + if ((StatoOk.HasValue == true)) { + command.Parameters[2].Value = ((bool)(StatoOk.Value)); + } + else { + command.Parameters[2].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int updateLingua( + string UDC, + string Campo1_1, + string Campo2_1, + string Campo3_1, + string Campo4_1, + string Campo5_1, + string Campo6_1, + string Campo7_1, + string Campo8_1, + string Campo9_1, + string Campo10_1, + string Campo11_1_1, + string Campo11_2_1, + string Campo12_1, + string Campo13_1, + string Campo14_1, + string Campo15_1, + string Campo16_1) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[7]; + if ((UDC == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(UDC)); + } + if ((Campo1_1 == null)) { + command.Parameters[2].Value = global::System.DBNull.Value; + } + else { + command.Parameters[2].Value = ((string)(Campo1_1)); + } + if ((Campo2_1 == null)) { + command.Parameters[3].Value = global::System.DBNull.Value; + } + else { + command.Parameters[3].Value = ((string)(Campo2_1)); + } + if ((Campo3_1 == null)) { + command.Parameters[4].Value = global::System.DBNull.Value; + } + else { + command.Parameters[4].Value = ((string)(Campo3_1)); + } + if ((Campo4_1 == null)) { + command.Parameters[5].Value = global::System.DBNull.Value; + } + else { + command.Parameters[5].Value = ((string)(Campo4_1)); + } + if ((Campo5_1 == null)) { + command.Parameters[6].Value = global::System.DBNull.Value; + } + else { + command.Parameters[6].Value = ((string)(Campo5_1)); + } + if ((Campo6_1 == null)) { + command.Parameters[7].Value = global::System.DBNull.Value; + } + else { + command.Parameters[7].Value = ((string)(Campo6_1)); + } + if ((Campo7_1 == null)) { + command.Parameters[8].Value = global::System.DBNull.Value; + } + else { + command.Parameters[8].Value = ((string)(Campo7_1)); + } + if ((Campo8_1 == null)) { + command.Parameters[9].Value = global::System.DBNull.Value; + } + else { + command.Parameters[9].Value = ((string)(Campo8_1)); + } + if ((Campo9_1 == null)) { + command.Parameters[10].Value = global::System.DBNull.Value; + } + else { + command.Parameters[10].Value = ((string)(Campo9_1)); + } + if ((Campo10_1 == null)) { + command.Parameters[11].Value = global::System.DBNull.Value; + } + else { + command.Parameters[11].Value = ((string)(Campo10_1)); + } + if ((Campo11_1_1 == null)) { + command.Parameters[12].Value = global::System.DBNull.Value; + } + else { + command.Parameters[12].Value = ((string)(Campo11_1_1)); + } + if ((Campo11_2_1 == null)) { + command.Parameters[13].Value = global::System.DBNull.Value; + } + else { + command.Parameters[13].Value = ((string)(Campo11_2_1)); + } + if ((Campo12_1 == null)) { + command.Parameters[14].Value = global::System.DBNull.Value; + } + else { + command.Parameters[14].Value = ((string)(Campo12_1)); + } + if ((Campo13_1 == null)) { + command.Parameters[15].Value = global::System.DBNull.Value; + } + else { + command.Parameters[15].Value = ((string)(Campo13_1)); + } + if ((Campo14_1 == null)) { + command.Parameters[16].Value = global::System.DBNull.Value; + } + else { + command.Parameters[16].Value = ((string)(Campo14_1)); + } + if ((Campo15_1 == null)) { + command.Parameters[17].Value = global::System.DBNull.Value; + } + else { + command.Parameters[17].Value = ((string)(Campo15_1)); + } + if ((Campo16_1 == null)) { + command.Parameters[18].Value = global::System.DBNull.Value; + } + else { + command.Parameters[18].Value = ((string)(Campo16_1)); + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int updateValAs400( + string UDC, + string ragSocCli, + string indirCli, + string capCittCli, + string ragSocDest, + string indirDest, + string capCittDest, + string pesoNetto, + string pesoLordo, + string numColli, + string disPart, + string descPart, + string codPart, + string codImb, + string codMaz, + string codNael) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[8]; + if ((UDC == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(UDC)); + } + if ((ragSocCli == null)) { + command.Parameters[2].Value = global::System.DBNull.Value; + } + else { + command.Parameters[2].Value = ((string)(ragSocCli)); + } + if ((indirCli == null)) { + command.Parameters[3].Value = global::System.DBNull.Value; + } + else { + command.Parameters[3].Value = ((string)(indirCli)); + } + if ((capCittCli == null)) { + command.Parameters[4].Value = global::System.DBNull.Value; + } + else { + command.Parameters[4].Value = ((string)(capCittCli)); + } + if ((ragSocDest == null)) { + command.Parameters[5].Value = global::System.DBNull.Value; + } + else { + command.Parameters[5].Value = ((string)(ragSocDest)); + } + if ((indirDest == null)) { + command.Parameters[6].Value = global::System.DBNull.Value; + } + else { + command.Parameters[6].Value = ((string)(indirDest)); + } + if ((capCittDest == null)) { + command.Parameters[7].Value = global::System.DBNull.Value; + } + else { + command.Parameters[7].Value = ((string)(capCittDest)); + } + if ((pesoNetto == null)) { + command.Parameters[8].Value = global::System.DBNull.Value; + } + else { + command.Parameters[8].Value = ((string)(pesoNetto)); + } + if ((pesoLordo == null)) { + command.Parameters[9].Value = global::System.DBNull.Value; + } + else { + command.Parameters[9].Value = ((string)(pesoLordo)); + } + if ((numColli == null)) { + command.Parameters[10].Value = global::System.DBNull.Value; + } + else { + command.Parameters[10].Value = ((string)(numColli)); + } + if ((disPart == null)) { + command.Parameters[11].Value = global::System.DBNull.Value; + } + else { + command.Parameters[11].Value = ((string)(disPart)); + } + if ((descPart == null)) { + command.Parameters[12].Value = global::System.DBNull.Value; + } + else { + command.Parameters[12].Value = ((string)(descPart)); + } + if ((codPart == null)) { + command.Parameters[13].Value = global::System.DBNull.Value; + } + else { + command.Parameters[13].Value = ((string)(codPart)); + } + if ((codImb == null)) { + command.Parameters[14].Value = global::System.DBNull.Value; + } + else { + command.Parameters[14].Value = ((string)(codImb)); + } + if ((codMaz == null)) { + command.Parameters[15].Value = global::System.DBNull.Value; + } + else { + command.Parameters[15].Value = ((string)(codMaz)); + } + if ((codNael == null)) { + command.Parameters[16].Value = global::System.DBNull.Value; + } + else { + command.Parameters[16].Value = ((string)(codNael)); + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int upsertUdc(string UDC, string CodCS, string numBolla, string dataBolla, string CodMag, string GrpBolla, string Particolare, string CodLista, string IndStabFrom, string qtaCont) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[9]; + if ((UDC == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(UDC)); + } + if ((CodCS == null)) { + command.Parameters[2].Value = global::System.DBNull.Value; + } + else { + command.Parameters[2].Value = ((string)(CodCS)); + } + if ((numBolla == null)) { + command.Parameters[3].Value = global::System.DBNull.Value; + } + else { + command.Parameters[3].Value = ((string)(numBolla)); + } + if ((dataBolla == null)) { + command.Parameters[4].Value = global::System.DBNull.Value; + } + else { + command.Parameters[4].Value = ((string)(dataBolla)); + } + if ((CodMag == null)) { + command.Parameters[5].Value = global::System.DBNull.Value; + } + else { + command.Parameters[5].Value = ((string)(CodMag)); + } + if ((GrpBolla == null)) { + command.Parameters[6].Value = global::System.DBNull.Value; + } + else { + command.Parameters[6].Value = ((string)(GrpBolla)); + } + if ((Particolare == null)) { + command.Parameters[7].Value = global::System.DBNull.Value; + } + else { + command.Parameters[7].Value = ((string)(Particolare)); + } + if ((CodLista == null)) { + command.Parameters[8].Value = global::System.DBNull.Value; + } + else { + command.Parameters[8].Value = ((string)(CodLista)); + } + if ((IndStabFrom == null)) { + command.Parameters[9].Value = global::System.DBNull.Value; + } + else { + command.Parameters[9].Value = ((string)(IndStabFrom)); + } + if ((qtaCont == null)) { + command.Parameters[10].Value = global::System.DBNull.Value; + } + else { + command.Parameters[10].Value = ((string)(qtaCont)); + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class stp_OdetteStatoCreateTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_OdetteStatoCreateTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_OdetteStatoCreate"; + tableMapping.ColumnMappings.Add("OdetteCreate", "OdetteCreate"); + tableMapping.ColumnMappings.Add("OdetteDaCreare", "OdetteDaCreare"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_OdetteStatoCreate"; + 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("@CodLista", 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.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_Odette.stp_OdetteStatoCreateDataTable dataTable, string CodLista) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((CodLista == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodLista)); + } + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_Odette.stp_OdetteStatoCreateDataTable GetData(string CodLista) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((CodLista == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodLista)); + } + DS_Odette.stp_OdetteStatoCreateDataTable dataTable = new DS_Odette.stp_OdetteStatoCreateDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios + /// + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" + + "esigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")] + public partial class TableAdapterManager : global::System.ComponentModel.Component { + + private UpdateOrderOption _updateOrder; + + private BORI202JTableAdapter _bORI202JTableAdapter; + + private OdetteTableAdapter _odetteTableAdapter; + + private bool _backupDataSetBeforeUpdate; + + private global::System.Data.IDbConnection _connection; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public UpdateOrderOption UpdateOrder { + get { + return this._updateOrder; + } + set { + this._updateOrder = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public BORI202JTableAdapter BORI202JTableAdapter { + get { + return this._bORI202JTableAdapter; + } + set { + this._bORI202JTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public OdetteTableAdapter OdetteTableAdapter { + get { + return this._odetteTableAdapter; + } + set { + this._odetteTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool BackupDataSetBeforeUpdate { + get { + return this._backupDataSetBeforeUpdate; + } + set { + this._backupDataSetBeforeUpdate = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public global::System.Data.IDbConnection Connection { + get { + if ((this._connection != null)) { + return this._connection; + } + if (((this._bORI202JTableAdapter != null) + && (this._bORI202JTableAdapter.Connection != null))) { + return this._bORI202JTableAdapter.Connection; + } + if (((this._odetteTableAdapter != null) + && (this._odetteTableAdapter.Connection != null))) { + return this._odetteTableAdapter.Connection; + } + return null; + } + set { + this._connection = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int TableAdapterInstanceCount { + get { + int count = 0; + if ((this._bORI202JTableAdapter != null)) { + count = (count + 1); + } + if ((this._odetteTableAdapter != null)) { + count = (count + 1); + } + return count; + } + } + + /// + ///Update rows in top-down order. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private int UpdateUpdatedRows(DS_Odette dataSet, global::System.Collections.Generic.List allChangedRows, global::System.Collections.Generic.List allAddedRows) { + int result = 0; + if ((this._bORI202JTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.BORI202J.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._bORI202JTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._odetteTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.Odette.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._odetteTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + return result; + } + + /// + ///Insert rows in top-down order. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private int UpdateInsertedRows(DS_Odette dataSet, global::System.Collections.Generic.List allAddedRows) { + int result = 0; + if ((this._bORI202JTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.BORI202J.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._bORI202JTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._odetteTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.Odette.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._odetteTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + return result; + } + + /// + ///Delete rows in bottom-up order. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private int UpdateDeletedRows(DS_Odette dataSet, global::System.Collections.Generic.List allChangedRows) { + int result = 0; + if ((this._odetteTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.Odette.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._odetteTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._bORI202JTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.BORI202J.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._bORI202JTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + return result; + } + + /// + ///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private global::System.Data.DataRow[] GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List allAddedRows) { + if (((updatedRows == null) + || (updatedRows.Length < 1))) { + return updatedRows; + } + if (((allAddedRows == null) + || (allAddedRows.Count < 1))) { + return updatedRows; + } + global::System.Collections.Generic.List realUpdatedRows = new global::System.Collections.Generic.List(); + for (int i = 0; (i < updatedRows.Length); i = (i + 1)) { + global::System.Data.DataRow row = updatedRows[i]; + if ((allAddedRows.Contains(row) == false)) { + realUpdatedRows.Add(row); + } + } + return realUpdatedRows.ToArray(); + } + + /// + ///Update all changes to the dataset. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public virtual int UpdateAll(DS_Odette dataSet) { + if ((dataSet == null)) { + throw new global::System.ArgumentNullException("dataSet"); + } + if ((dataSet.HasChanges() == false)) { + return 0; + } + if (((this._bORI202JTableAdapter != null) + && (this.MatchTableAdapterConnection(this._bORI202JTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._odetteTableAdapter != null) + && (this.MatchTableAdapterConnection(this._odetteTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + global::System.Data.IDbConnection workConnection = this.Connection; + if ((workConnection == null)) { + throw new global::System.ApplicationException("TableAdapterManager contains no connection information. Set each TableAdapterMana" + + "ger TableAdapter property to a valid TableAdapter instance."); + } + bool workConnOpened = false; + if (((workConnection.State & global::System.Data.ConnectionState.Broken) + == global::System.Data.ConnectionState.Broken)) { + workConnection.Close(); + } + if ((workConnection.State == global::System.Data.ConnectionState.Closed)) { + workConnection.Open(); + workConnOpened = true; + } + global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction(); + if ((workTransaction == null)) { + throw new global::System.ApplicationException("The transaction cannot begin. The current data connection does not support transa" + + "ctions or the current state is not allowing the transaction to begin."); + } + global::System.Collections.Generic.List allChangedRows = new global::System.Collections.Generic.List(); + global::System.Collections.Generic.List allAddedRows = new global::System.Collections.Generic.List(); + global::System.Collections.Generic.List adaptersWithAcceptChangesDuringUpdate = new global::System.Collections.Generic.List(); + global::System.Collections.Generic.Dictionary revertConnections = new global::System.Collections.Generic.Dictionary(); + int result = 0; + global::System.Data.DataSet backupDataSet = null; + if (this.BackupDataSetBeforeUpdate) { + backupDataSet = new global::System.Data.DataSet(); + backupDataSet.Merge(dataSet); + } + try { + // ---- Prepare for update ----------- + // + if ((this._bORI202JTableAdapter != null)) { + revertConnections.Add(this._bORI202JTableAdapter, this._bORI202JTableAdapter.Connection); + this._bORI202JTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._bORI202JTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._bORI202JTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._bORI202JTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._bORI202JTableAdapter.Adapter); + } + } + if ((this._odetteTableAdapter != null)) { + revertConnections.Add(this._odetteTableAdapter, this._odetteTableAdapter.Connection); + this._odetteTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._odetteTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._odetteTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._odetteTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._odetteTableAdapter.Adapter); + } + } + // + //---- Perform updates ----------- + // + if ((this.UpdateOrder == UpdateOrderOption.UpdateInsertDelete)) { + result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows)); + result = (result + this.UpdateInsertedRows(dataSet, allAddedRows)); + } + else { + result = (result + this.UpdateInsertedRows(dataSet, allAddedRows)); + result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows)); + } + result = (result + this.UpdateDeletedRows(dataSet, allChangedRows)); + // + //---- Commit updates ----------- + // + workTransaction.Commit(); + if ((0 < allAddedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count]; + allAddedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + } + } + if ((0 < allChangedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allChangedRows.Count]; + allChangedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + } + } + } + catch (global::System.Exception ex) { + workTransaction.Rollback(); + // ---- Restore the dataset ----------- + if (this.BackupDataSetBeforeUpdate) { + global::System.Diagnostics.Debug.Assert((backupDataSet != null)); + dataSet.Clear(); + dataSet.Merge(backupDataSet); + } + else { + if ((0 < allAddedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count]; + allAddedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + row.SetAdded(); + } + } + } + throw ex; + } + finally { + if (workConnOpened) { + workConnection.Close(); + } + if ((this._bORI202JTableAdapter != null)) { + this._bORI202JTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._bORI202JTableAdapter])); + this._bORI202JTableAdapter.Transaction = null; + } + if ((this._odetteTableAdapter != null)) { + this._odetteTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._odetteTableAdapter])); + this._odetteTableAdapter.Transaction = null; + } + if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) { + global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count]; + adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters); + for (int i = 0; (i < adapters.Length); i = (i + 1)) { + global::System.Data.Common.DataAdapter adapter = adapters[i]; + adapter.AcceptChangesDuringUpdate = true; + } + } + } + return result; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected virtual void SortSelfReferenceRows(global::System.Data.DataRow[] rows, global::System.Data.DataRelation relation, bool childFirst) { + global::System.Array.Sort(rows, new SelfReferenceComparer(relation, childFirst)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected virtual bool MatchTableAdapterConnection(global::System.Data.IDbConnection inputConnection) { + if ((this._connection != null)) { + return true; + } + if (((this.Connection == null) + || (inputConnection == null))) { + return true; + } + if (string.Equals(this.Connection.ConnectionString, inputConnection.ConnectionString, global::System.StringComparison.Ordinal)) { + return true; + } + return false; + } + + /// + ///Update Order Option + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public enum UpdateOrderOption { + + InsertUpdateDelete = 0, + + UpdateInsertDelete = 1, + } + + /// + ///Used to sort self-referenced table's rows + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private class SelfReferenceComparer : object, global::System.Collections.Generic.IComparer { + + private global::System.Data.DataRelation _relation; + + private int _childFirst; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal SelfReferenceComparer(global::System.Data.DataRelation relation, bool childFirst) { + this._relation = relation; + if (childFirst) { + this._childFirst = -1; + } + else { + this._childFirst = 1; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private global::System.Data.DataRow GetRoot(global::System.Data.DataRow row, out int distance) { + global::System.Diagnostics.Debug.Assert((row != null)); + global::System.Data.DataRow root = row; + distance = 0; + + global::System.Collections.Generic.IDictionary traversedRows = new global::System.Collections.Generic.Dictionary(); + traversedRows[row] = row; + + global::System.Data.DataRow parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default); + for ( + ; ((parent != null) + && (traversedRows.ContainsKey(parent) == false)); + ) { + distance = (distance + 1); + root = parent; + traversedRows[parent] = parent; + parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default); + } + + if ((distance == 0)) { + traversedRows.Clear(); + traversedRows[row] = row; + parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original); + for ( + ; ((parent != null) + && (traversedRows.ContainsKey(parent) == false)); + ) { + distance = (distance + 1); + root = parent; + traversedRows[parent] = parent; + parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original); + } + } + + return root; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int Compare(global::System.Data.DataRow row1, global::System.Data.DataRow row2) { + if (object.ReferenceEquals(row1, row2)) { + return 0; + } + if ((row1 == null)) { + return -1; + } + if ((row2 == null)) { + return 1; + } + + int distance1 = 0; + global::System.Data.DataRow root1 = this.GetRoot(row1, out distance1); + + int distance2 = 0; + global::System.Data.DataRow root2 = this.GetRoot(row2, out distance2); + + if (object.ReferenceEquals(root1, root2)) { + return (this._childFirst * distance1.CompareTo(distance2)); + } + else { + global::System.Diagnostics.Debug.Assert(((root1.Table != null) + && (root2.Table != null))); + if ((root1.Table.Rows.IndexOf(root1) < root2.Table.Rows.IndexOf(root2))) { + return -1; + } + else { + return 1; + } + } + } + } + } +} + +#pragma warning restore 1591 \ No newline at end of file diff --git a/GMW_data/DS_Odette.xsc b/GMW_data/DS_Odette.xsc new file mode 100644 index 00000000..551fc56f --- /dev/null +++ b/GMW_data/DS_Odette.xsc @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/GMW_data/DS_Odette.xsd b/GMW_data/DS_Odette.xsd new file mode 100644 index 00000000..021685a6 --- /dev/null +++ b/GMW_data/DS_Odette.xsd @@ -0,0 +1,1757 @@ + + + + + + + + + + + + + + + DELETE FROM [RawData].[BORI202J] WHERE (([CDMFS] = @Original_CDMFS) AND ([GRBOS] = @Original_GRBOS) AND ([DTBOS] = @Original_DTBOS) AND ([NRBOS] = @Original_NRBOS) AND ([CDARS] = @Original_CDARS) AND ([NRRGS] = @Original_NRRGS) AND ([CDINB] = @Original_CDINB) AND ([RA1ND] = @Original_RA1ND) AND ([RA2ND] = @Original_RA2ND) AND ([CAPND] = @Original_CAPND) AND ([CITND] = @Original_CITND) AND ([RASCL] = @Original_RASCL) AND ([INDCL] = @Original_INDCL) AND ([CAPCL] = @Original_CAPCL) AND ([LOCCL] = @Original_LOCCL) AND ([PROCL] = @Original_PROCL) AND ([INEND] = @Original_INEND) AND ([CRAGCL] = @Original_CRAGCL) AND ([TELND] = @Original_TELND) AND ([CCDMOL] = @Original_CCDMOL) AND ([CCDPTR] = @Original_CCDPTR) AND ([EPLAVO] = @Original_EPLAVO) AND ([NRC1B] = @Original_NRC1B) AND ([ECMM01] = @Original_ECMM01) AND ([DEPAR] = @Original_DEPAR) AND ([RCARTC] = @Original_RCARTC) AND ([PERND] = @Original_PERND) AND ([CCDET1] = @Original_CCDET1) AND ([ECDNAE] = @Original_ECDNAE) AND ([ECDNA1] = @Original_ECDNA1) AND ([EESPMD] = @Original_EESPMD) AND ([PELDB] = @Original_PELDB) AND ([QTCNS] = @Original_QTCNS)) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + INSERT INTO [RawData].[BORI202J] ([CDMFS], [GRBOS], [DTBOS], [NRBOS], [CDARS], [NRRGS], [CDINB], [RA1ND], [RA2ND], [CAPND], [CITND], [RASCL], [INDCL], [CAPCL], [LOCCL], [PROCL], [INEND], [CRAGCL], [TELND], [CCDMOL], [CCDPTR], [EPLAVO], [NRC1B], [ECMM01], [DEPAR], [RCARTC], [PERND], [CCDET1], [ECDNAE], [ECDNA1], [EESPMD], [PELDB], [QTCNS]) VALUES (@CDMFS, @GRBOS, @DTBOS, @NRBOS, @CDARS, @NRRGS, @CDINB, @RA1ND, @RA2ND, @CAPND, @CITND, @RASCL, @INDCL, @CAPCL, @LOCCL, @PROCL, @INEND, @CRAGCL, @TELND, @CCDMOL, @CCDPTR, @EPLAVO, @NRC1B, @ECMM01, @DEPAR, @RCARTC, @PERND, @CCDET1, @ECDNAE, @ECDNA1, @EESPMD, @PELDB, @QTCNS); +SELECT CDMFS, GRBOS, DTBOS, NRBOS, CDARS, NRRGS, CDINB, RA1ND, RA2ND, CAPND, CITND, RASCL, INDCL, CAPCL, LOCCL, PROCL, INEND, CRAGCL, TELND, CCDMOL, CCDPTR, EPLAVO, NRC1B, ECMM01, DEPAR, RCARTC, PERND, CCDET1, ECDNAE, ECDNA1, EESPMD, PELDB, QTCNS FROM RawData.BORI202J WHERE (CDARS = @CDARS) AND (CDMFS = @CDMFS) AND (DTBOS = @DTBOS) AND (GRBOS = @GRBOS) AND (NRBOS = @NRBOS) AND (NRRGS = @NRRGS) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SELECT CDMFS, GRBOS, DTBOS, NRBOS, CDARS, NRRGS, CDINB, RA1ND, RA2ND, CAPND, CITND, RASCL, INDCL, CAPCL, LOCCL, PROCL, INEND, CRAGCL, TELND, CCDMOL, CCDPTR, EPLAVO, NRC1B, ECMM01, DEPAR, RCARTC, PERND, CCDET1, ECDNAE, ECDNA1, EESPMD, PELDB, QTCNS FROM RawData.BORI202J + + + + + + UPDATE [RawData].[BORI202J] SET [CDMFS] = @CDMFS, [GRBOS] = @GRBOS, [DTBOS] = @DTBOS, [NRBOS] = @NRBOS, [CDARS] = @CDARS, [NRRGS] = @NRRGS, [CDINB] = @CDINB, [RA1ND] = @RA1ND, [RA2ND] = @RA2ND, [CAPND] = @CAPND, [CITND] = @CITND, [RASCL] = @RASCL, [INDCL] = @INDCL, [CAPCL] = @CAPCL, [LOCCL] = @LOCCL, [PROCL] = @PROCL, [INEND] = @INEND, [CRAGCL] = @CRAGCL, [TELND] = @TELND, [CCDMOL] = @CCDMOL, [CCDPTR] = @CCDPTR, [EPLAVO] = @EPLAVO, [NRC1B] = @NRC1B, [ECMM01] = @ECMM01, [DEPAR] = @DEPAR, [RCARTC] = @RCARTC, [PERND] = @PERND, [CCDET1] = @CCDET1, [ECDNAE] = @ECDNAE, [ECDNA1] = @ECDNA1, [EESPMD] = @EESPMD, [PELDB] = @PELDB, [QTCNS] = @QTCNS WHERE (([CDMFS] = @Original_CDMFS) AND ([GRBOS] = @Original_GRBOS) AND ([DTBOS] = @Original_DTBOS) AND ([NRBOS] = @Original_NRBOS) AND ([CDARS] = @Original_CDARS) AND ([NRRGS] = @Original_NRRGS) AND ([CDINB] = @Original_CDINB) AND ([RA1ND] = @Original_RA1ND) AND ([RA2ND] = @Original_RA2ND) AND ([CAPND] = @Original_CAPND) AND ([CITND] = @Original_CITND) AND ([RASCL] = @Original_RASCL) AND ([INDCL] = @Original_INDCL) AND ([CAPCL] = @Original_CAPCL) AND ([LOCCL] = @Original_LOCCL) AND ([PROCL] = @Original_PROCL) AND ([INEND] = @Original_INEND) AND ([CRAGCL] = @Original_CRAGCL) AND ([TELND] = @Original_TELND) AND ([CCDMOL] = @Original_CCDMOL) AND ([CCDPTR] = @Original_CCDPTR) AND ([EPLAVO] = @Original_EPLAVO) AND ([NRC1B] = @Original_NRC1B) AND ([ECMM01] = @Original_ECMM01) AND ([DEPAR] = @Original_DEPAR) AND ([RCARTC] = @Original_RCARTC) AND ([PERND] = @Original_PERND) AND ([CCDET1] = @Original_CCDET1) AND ([ECDNAE] = @Original_ECDNAE) AND ([ECDNA1] = @Original_ECDNA1) AND ([EESPMD] = @Original_EESPMD) AND ([PELDB] = @Original_PELDB) AND ([QTCNS] = @Original_QTCNS)); +SELECT CDMFS, GRBOS, DTBOS, NRBOS, CDARS, NRRGS, CDINB, RA1ND, RA2ND, CAPND, CITND, RASCL, INDCL, CAPCL, LOCCL, PROCL, INEND, CRAGCL, TELND, CCDMOL, CCDPTR, EPLAVO, NRC1B, ECMM01, DEPAR, RCARTC, PERND, CCDET1, ECDNAE, ECDNA1, EESPMD, PELDB, QTCNS FROM RawData.BORI202J WHERE (CDARS = @CDARS) AND (CDMFS = @CDMFS) AND (DTBOS = @DTBOS) AND (GRBOS = @GRBOS) AND (NRBOS = @NRBOS) AND (NRRGS = @NRRGS) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_BORI_caricaDatiBolla + + + + + + + + + + + + + + + dbo.stp_BORI_getByBolla + + + + + + + + + + + + dbo.stp_BORI_getByBollaFull + + + + + + + + + + + + + + + dbo.stp_BORI_getByBollaPart + + + + + + + + + + + + + + + + + + DELETE FROM [dbo].[Odette] WHERE (([CampoUDC] = @Original_CampoUDC) AND ([Campo1_1] = @Original_Campo1_1) AND ([Campo1_2] = @Original_Campo1_2) AND ([Campo1_3] = @Original_Campo1_3) AND ([Campo1_4] = @Original_Campo1_4) AND ([Campo1_5] = @Original_Campo1_5) AND ([Campo2_1] = @Original_Campo2_1) AND ([Campo2_2] = @Original_Campo2_2) AND ([Campo2_3] = @Original_Campo2_3) AND ([Campo2_4] = @Original_Campo2_4) AND ([Campo2_5] = @Original_Campo2_5) AND ([Campo3_1] = @Original_Campo3_1) AND ([Campo3_2] = @Original_Campo3_2) AND ([Campo3_3] = @Original_Campo3_3) AND ([Campo3_4] = @Original_Campo3_4) AND ([Campo3_5] = @Original_Campo3_5) AND ([Campo4_1] = @Original_Campo4_1) AND ([Campo4_2] = @Original_Campo4_2) AND ([Campo4_3] = @Original_Campo4_3) AND ([Campo4_4] = @Original_Campo4_4) AND ([Campo4_5] = @Original_Campo4_5) AND ([Campo5_1] = @Original_Campo5_1) AND ([Campo5_2] = @Original_Campo5_2) AND ([Campo5_3] = @Original_Campo5_3) AND ([Campo5_4] = @Original_Campo5_4) AND ([Campo5_5] = @Original_Campo5_5) AND ([Campo6_1] = @Original_Campo6_1) AND ([Campo6_2] = @Original_Campo6_2) AND ([Campo6_3] = @Original_Campo6_3) AND ([Campo6_4] = @Original_Campo6_4) AND ([Campo6_5] = @Original_Campo6_5) AND ([Campo7_1] = @Original_Campo7_1) AND ([Campo7_2] = @Original_Campo7_2) AND ([Campo7_3] = @Original_Campo7_3) AND ([Campo7_4] = @Original_Campo7_4) AND ([Campo7_5] = @Original_Campo7_5) AND ([Campo8_1] = @Original_Campo8_1) AND ([Campo8_2] = @Original_Campo8_2) AND ([Campo8_3] = @Original_Campo8_3) AND ([Campo8_4] = @Original_Campo8_4) AND ([Campo8_5] = @Original_Campo8_5) AND ([Campo9_1] = @Original_Campo9_1) AND ([Campo9_2] = @Original_Campo9_2) AND ([Campo9_3] = @Original_Campo9_3) AND ([Campo9_4] = @Original_Campo9_4) AND ([Campo9_5] = @Original_Campo9_5) AND ([Campo10_1] = @Original_Campo10_1) AND ([Campo10_2] = @Original_Campo10_2) AND ([Campo10_3] = @Original_Campo10_3) AND ([Campo10_4] = @Original_Campo10_4) AND ([Campo10_5] = @Original_Campo10_5) AND ([Campo11_1_1] = @Original_Campo11_1_1) AND ([Campo11_1_2] = @Original_Campo11_1_2) AND ([Campo11_1_3] = @Original_Campo11_1_3) AND ([Campo11_1_4] = @Original_Campo11_1_4) AND ([Campo11_1_5] = @Original_Campo11_1_5) AND ([Campo11_2_1] = @Original_Campo11_2_1) AND ([Campo11_2_2] = @Original_Campo11_2_2) AND ([Campo11_2_3] = @Original_Campo11_2_3) AND ([Campo11_2_4] = @Original_Campo11_2_4) AND ([Campo11_2_5] = @Original_Campo11_2_5) AND ([Campo12_1] = @Original_Campo12_1) AND ([Campo12_2] = @Original_Campo12_2) AND ([Campo12_3] = @Original_Campo12_3) AND ([Campo12_4] = @Original_Campo12_4) AND ([Campo12_5] = @Original_Campo12_5) AND ([Campo13_1] = @Original_Campo13_1) AND ([Campo13_2] = @Original_Campo13_2) AND ([Campo13_3] = @Original_Campo13_3) AND ([Campo13_4] = @Original_Campo13_4) AND ([Campo13_5] = @Original_Campo13_5) AND ([Campo14_1] = @Original_Campo14_1) AND ([Campo14_2] = @Original_Campo14_2) AND ([Campo14_3] = @Original_Campo14_3) AND ([Campo14_4] = @Original_Campo14_4) AND ([Campo14_5] = @Original_Campo14_5) AND ([Campo15_1] = @Original_Campo15_1) AND ([Campo15_2] = @Original_Campo15_2) AND ([Campo15_3] = @Original_Campo15_3) AND ([Campo15_4] = @Original_Campo15_4) AND ([Campo15_5] = @Original_Campo15_5) AND ([Campo16_1] = @Original_Campo16_1) AND ([Campo16_2] = @Original_Campo16_2) AND ([Campo16_3] = @Original_Campo16_3) AND ([Campo16_4] = @Original_Campo16_4) AND ([Campo16_5] = @Original_Campo16_5) AND ([StatoOk] = @Original_StatoOk) AND ([CodCS] = @Original_CodCS)) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + INSERT INTO [dbo].[Odette] ([CampoUDC], [Campo1_1], [Campo1_2], [Campo1_3], [Campo1_4], [Campo1_5], [Campo2_1], [Campo2_2], [Campo2_3], [Campo2_4], [Campo2_5], [Campo3_1], [Campo3_2], [Campo3_3], [Campo3_4], [Campo3_5], [Campo4_1], [Campo4_2], [Campo4_3], [Campo4_4], [Campo4_5], [Campo5_1], [Campo5_2], [Campo5_3], [Campo5_4], [Campo5_5], [Campo6_1], [Campo6_2], [Campo6_3], [Campo6_4], [Campo6_5], [Campo7_1], [Campo7_2], [Campo7_3], [Campo7_4], [Campo7_5], [Campo8_1], [Campo8_2], [Campo8_3], [Campo8_4], [Campo8_5], [Campo9_1], [Campo9_2], [Campo9_3], [Campo9_4], [Campo9_5], [Campo10_1], [Campo10_2], [Campo10_3], [Campo10_4], [Campo10_5], [Campo11_1_1], [Campo11_1_2], [Campo11_1_3], [Campo11_1_4], [Campo11_1_5], [Campo11_2_1], [Campo11_2_2], [Campo11_2_3], [Campo11_2_4], [Campo11_2_5], [Campo12_1], [Campo12_2], [Campo12_3], [Campo12_4], [Campo12_5], [Campo13_1], [Campo13_2], [Campo13_3], [Campo13_4], [Campo13_5], [Campo14_1], [Campo14_2], [Campo14_3], [Campo14_4], [Campo14_5], [Campo15_1], [Campo15_2], [Campo15_3], [Campo15_4], [Campo15_5], [Campo16_1], [Campo16_2], [Campo16_3], [Campo16_4], [Campo16_5], [StatoOk], [CodCS]) VALUES (@CampoUDC, @Campo1_1, @Campo1_2, @Campo1_3, @Campo1_4, @Campo1_5, @Campo2_1, @Campo2_2, @Campo2_3, @Campo2_4, @Campo2_5, @Campo3_1, @Campo3_2, @Campo3_3, @Campo3_4, @Campo3_5, @Campo4_1, @Campo4_2, @Campo4_3, @Campo4_4, @Campo4_5, @Campo5_1, @Campo5_2, @Campo5_3, @Campo5_4, @Campo5_5, @Campo6_1, @Campo6_2, @Campo6_3, @Campo6_4, @Campo6_5, @Campo7_1, @Campo7_2, @Campo7_3, @Campo7_4, @Campo7_5, @Campo8_1, @Campo8_2, @Campo8_3, @Campo8_4, @Campo8_5, @Campo9_1, @Campo9_2, @Campo9_3, @Campo9_4, @Campo9_5, @Campo10_1, @Campo10_2, @Campo10_3, @Campo10_4, @Campo10_5, @Campo11_1_1, @Campo11_1_2, @Campo11_1_3, @Campo11_1_4, @Campo11_1_5, @Campo11_2_1, @Campo11_2_2, @Campo11_2_3, @Campo11_2_4, @Campo11_2_5, @Campo12_1, @Campo12_2, @Campo12_3, @Campo12_4, @Campo12_5, @Campo13_1, @Campo13_2, @Campo13_3, @Campo13_4, @Campo13_5, @Campo14_1, @Campo14_2, @Campo14_3, @Campo14_4, @Campo14_5, @Campo15_1, @Campo15_2, @Campo15_3, @Campo15_4, @Campo15_5, @Campo16_1, @Campo16_2, @Campo16_3, @Campo16_4, @Campo16_5, @StatoOk, @CodCS); +SELECT CampoUDC, Campo1_1, Campo1_2, Campo1_3, Campo1_4, Campo1_5, Campo2_1, Campo2_2, Campo2_3, Campo2_4, Campo2_5, Campo3_1, Campo3_2, Campo3_3, Campo3_4, Campo3_5, Campo4_1, Campo4_2, Campo4_3, Campo4_4, Campo4_5, Campo5_1, Campo5_2, Campo5_3, Campo5_4, Campo5_5, Campo6_1, Campo6_2, Campo6_3, Campo6_4, Campo6_5, Campo7_1, Campo7_2, Campo7_3, Campo7_4, Campo7_5, Campo8_1, Campo8_2, Campo8_3, Campo8_4, Campo8_5, Campo9_1, Campo9_2, Campo9_3, Campo9_4, Campo9_5, Campo10_1, Campo10_2, Campo10_3, Campo10_4, Campo10_5, Campo11_1_1, Campo11_1_2, Campo11_1_3, Campo11_1_4, Campo11_1_5, Campo11_2_1, Campo11_2_2, Campo11_2_3, Campo11_2_4, Campo11_2_5, Campo12_1, Campo12_2, Campo12_3, Campo12_4, Campo12_5, Campo13_1, Campo13_2, Campo13_3, Campo13_4, Campo13_5, Campo14_1, Campo14_2, Campo14_3, Campo14_4, Campo14_5, Campo15_1, Campo15_2, Campo15_3, Campo15_4, Campo15_5, Campo16_1, Campo16_2, Campo16_3, Campo16_4, Campo16_5, StatoOk, CodCS FROM Odette WHERE (CampoUDC = @CampoUDC) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SELECT * FROM dbo.Odette + + + + + + UPDATE [dbo].[Odette] SET [CampoUDC] = @CampoUDC, [Campo1_1] = @Campo1_1, [Campo1_2] = @Campo1_2, [Campo1_3] = @Campo1_3, [Campo1_4] = @Campo1_4, [Campo1_5] = @Campo1_5, [Campo2_1] = @Campo2_1, [Campo2_2] = @Campo2_2, [Campo2_3] = @Campo2_3, [Campo2_4] = @Campo2_4, [Campo2_5] = @Campo2_5, [Campo3_1] = @Campo3_1, [Campo3_2] = @Campo3_2, [Campo3_3] = @Campo3_3, [Campo3_4] = @Campo3_4, [Campo3_5] = @Campo3_5, [Campo4_1] = @Campo4_1, [Campo4_2] = @Campo4_2, [Campo4_3] = @Campo4_3, [Campo4_4] = @Campo4_4, [Campo4_5] = @Campo4_5, [Campo5_1] = @Campo5_1, [Campo5_2] = @Campo5_2, [Campo5_3] = @Campo5_3, [Campo5_4] = @Campo5_4, [Campo5_5] = @Campo5_5, [Campo6_1] = @Campo6_1, [Campo6_2] = @Campo6_2, [Campo6_3] = @Campo6_3, [Campo6_4] = @Campo6_4, [Campo6_5] = @Campo6_5, [Campo7_1] = @Campo7_1, [Campo7_2] = @Campo7_2, [Campo7_3] = @Campo7_3, [Campo7_4] = @Campo7_4, [Campo7_5] = @Campo7_5, [Campo8_1] = @Campo8_1, [Campo8_2] = @Campo8_2, [Campo8_3] = @Campo8_3, [Campo8_4] = @Campo8_4, [Campo8_5] = @Campo8_5, [Campo9_1] = @Campo9_1, [Campo9_2] = @Campo9_2, [Campo9_3] = @Campo9_3, [Campo9_4] = @Campo9_4, [Campo9_5] = @Campo9_5, [Campo10_1] = @Campo10_1, [Campo10_2] = @Campo10_2, [Campo10_3] = @Campo10_3, [Campo10_4] = @Campo10_4, [Campo10_5] = @Campo10_5, [Campo11_1_1] = @Campo11_1_1, [Campo11_1_2] = @Campo11_1_2, [Campo11_1_3] = @Campo11_1_3, [Campo11_1_4] = @Campo11_1_4, [Campo11_1_5] = @Campo11_1_5, [Campo11_2_1] = @Campo11_2_1, [Campo11_2_2] = @Campo11_2_2, [Campo11_2_3] = @Campo11_2_3, [Campo11_2_4] = @Campo11_2_4, [Campo11_2_5] = @Campo11_2_5, [Campo12_1] = @Campo12_1, [Campo12_2] = @Campo12_2, [Campo12_3] = @Campo12_3, [Campo12_4] = @Campo12_4, [Campo12_5] = @Campo12_5, [Campo13_1] = @Campo13_1, [Campo13_2] = @Campo13_2, [Campo13_3] = @Campo13_3, [Campo13_4] = @Campo13_4, [Campo13_5] = @Campo13_5, [Campo14_1] = @Campo14_1, [Campo14_2] = @Campo14_2, [Campo14_3] = @Campo14_3, [Campo14_4] = @Campo14_4, [Campo14_5] = @Campo14_5, [Campo15_1] = @Campo15_1, [Campo15_2] = @Campo15_2, [Campo15_3] = @Campo15_3, [Campo15_4] = @Campo15_4, [Campo15_5] = @Campo15_5, [Campo16_1] = @Campo16_1, [Campo16_2] = @Campo16_2, [Campo16_3] = @Campo16_3, [Campo16_4] = @Campo16_4, [Campo16_5] = @Campo16_5, [StatoOk] = @StatoOk, [CodCS] = @CodCS WHERE (([CampoUDC] = @Original_CampoUDC) AND ([Campo1_1] = @Original_Campo1_1) AND ([Campo1_2] = @Original_Campo1_2) AND ([Campo1_3] = @Original_Campo1_3) AND ([Campo1_4] = @Original_Campo1_4) AND ([Campo1_5] = @Original_Campo1_5) AND ([Campo2_1] = @Original_Campo2_1) AND ([Campo2_2] = @Original_Campo2_2) AND ([Campo2_3] = @Original_Campo2_3) AND ([Campo2_4] = @Original_Campo2_4) AND ([Campo2_5] = @Original_Campo2_5) AND ([Campo3_1] = @Original_Campo3_1) AND ([Campo3_2] = @Original_Campo3_2) AND ([Campo3_3] = @Original_Campo3_3) AND ([Campo3_4] = @Original_Campo3_4) AND ([Campo3_5] = @Original_Campo3_5) AND ([Campo4_1] = @Original_Campo4_1) AND ([Campo4_2] = @Original_Campo4_2) AND ([Campo4_3] = @Original_Campo4_3) AND ([Campo4_4] = @Original_Campo4_4) AND ([Campo4_5] = @Original_Campo4_5) AND ([Campo5_1] = @Original_Campo5_1) AND ([Campo5_2] = @Original_Campo5_2) AND ([Campo5_3] = @Original_Campo5_3) AND ([Campo5_4] = @Original_Campo5_4) AND ([Campo5_5] = @Original_Campo5_5) AND ([Campo6_1] = @Original_Campo6_1) AND ([Campo6_2] = @Original_Campo6_2) AND ([Campo6_3] = @Original_Campo6_3) AND ([Campo6_4] = @Original_Campo6_4) AND ([Campo6_5] = @Original_Campo6_5) AND ([Campo7_1] = @Original_Campo7_1) AND ([Campo7_2] = @Original_Campo7_2) AND ([Campo7_3] = @Original_Campo7_3) AND ([Campo7_4] = @Original_Campo7_4) AND ([Campo7_5] = @Original_Campo7_5) AND ([Campo8_1] = @Original_Campo8_1) AND ([Campo8_2] = @Original_Campo8_2) AND ([Campo8_3] = @Original_Campo8_3) AND ([Campo8_4] = @Original_Campo8_4) AND ([Campo8_5] = @Original_Campo8_5) AND ([Campo9_1] = @Original_Campo9_1) AND ([Campo9_2] = @Original_Campo9_2) AND ([Campo9_3] = @Original_Campo9_3) AND ([Campo9_4] = @Original_Campo9_4) AND ([Campo9_5] = @Original_Campo9_5) AND ([Campo10_1] = @Original_Campo10_1) AND ([Campo10_2] = @Original_Campo10_2) AND ([Campo10_3] = @Original_Campo10_3) AND ([Campo10_4] = @Original_Campo10_4) AND ([Campo10_5] = @Original_Campo10_5) AND ([Campo11_1_1] = @Original_Campo11_1_1) AND ([Campo11_1_2] = @Original_Campo11_1_2) AND ([Campo11_1_3] = @Original_Campo11_1_3) AND ([Campo11_1_4] = @Original_Campo11_1_4) AND ([Campo11_1_5] = @Original_Campo11_1_5) AND ([Campo11_2_1] = @Original_Campo11_2_1) AND ([Campo11_2_2] = @Original_Campo11_2_2) AND ([Campo11_2_3] = @Original_Campo11_2_3) AND ([Campo11_2_4] = @Original_Campo11_2_4) AND ([Campo11_2_5] = @Original_Campo11_2_5) AND ([Campo12_1] = @Original_Campo12_1) AND ([Campo12_2] = @Original_Campo12_2) AND ([Campo12_3] = @Original_Campo12_3) AND ([Campo12_4] = @Original_Campo12_4) AND ([Campo12_5] = @Original_Campo12_5) AND ([Campo13_1] = @Original_Campo13_1) AND ([Campo13_2] = @Original_Campo13_2) AND ([Campo13_3] = @Original_Campo13_3) AND ([Campo13_4] = @Original_Campo13_4) AND ([Campo13_5] = @Original_Campo13_5) AND ([Campo14_1] = @Original_Campo14_1) AND ([Campo14_2] = @Original_Campo14_2) AND ([Campo14_3] = @Original_Campo14_3) AND ([Campo14_4] = @Original_Campo14_4) AND ([Campo14_5] = @Original_Campo14_5) AND ([Campo15_1] = @Original_Campo15_1) AND ([Campo15_2] = @Original_Campo15_2) AND ([Campo15_3] = @Original_Campo15_3) AND ([Campo15_4] = @Original_Campo15_4) AND ([Campo15_5] = @Original_Campo15_5) AND ([Campo16_1] = @Original_Campo16_1) AND ([Campo16_2] = @Original_Campo16_2) AND ([Campo16_3] = @Original_Campo16_3) AND ([Campo16_4] = @Original_Campo16_4) AND ([Campo16_5] = @Original_Campo16_5) AND ([StatoOk] = @Original_StatoOk) AND ([CodCS] = @Original_CodCS)); +SELECT CampoUDC, Campo1_1, Campo1_2, Campo1_3, Campo1_4, Campo1_5, Campo2_1, Campo2_2, Campo2_3, Campo2_4, Campo2_5, Campo3_1, Campo3_2, Campo3_3, Campo3_4, Campo3_5, Campo4_1, Campo4_2, Campo4_3, Campo4_4, Campo4_5, Campo5_1, Campo5_2, Campo5_3, Campo5_4, Campo5_5, Campo6_1, Campo6_2, Campo6_3, Campo6_4, Campo6_5, Campo7_1, Campo7_2, Campo7_3, Campo7_4, Campo7_5, Campo8_1, Campo8_2, Campo8_3, Campo8_4, Campo8_5, Campo9_1, Campo9_2, Campo9_3, Campo9_4, Campo9_5, Campo10_1, Campo10_2, Campo10_3, Campo10_4, Campo10_5, Campo11_1_1, Campo11_1_2, Campo11_1_3, Campo11_1_4, Campo11_1_5, Campo11_2_1, Campo11_2_2, Campo11_2_3, Campo11_2_4, Campo11_2_5, Campo12_1, Campo12_2, Campo12_3, Campo12_4, Campo12_5, Campo13_1, Campo13_2, Campo13_3, Campo13_4, Campo13_5, Campo14_1, Campo14_2, Campo14_3, Campo14_4, Campo14_5, Campo15_1, Campo15_2, Campo15_3, Campo15_4, Campo15_5, Campo16_1, Campo16_2, Campo16_3, Campo16_4, Campo16_5, StatoOk, CodCS FROM Odette WHERE (CampoUDC = @CampoUDC) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_ODETTE_deleteByLDP + + + + + + + + + + + dbo.stp_ODETTE_delete + + + + + + + + + + + dbo.stp_ODETTE_getByBolla + + + + + + + + + + + + + + + dbo.stp_ODETTE_getByListaPrelievo + + + + + + + + + + + dbo.stp_ODETTE_getByUDC + + + + + + + + + + + dbo.stp_ODETTE_setStato + + + + + + + + + + + + dbo.stp_ODETTE_updateLingua + + + + + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_ODETTE_updateVal + + + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_ODETTE_upsertUdc + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_OdetteStatoCreate + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/GMW_data/DS_Odette.xss b/GMW_data/DS_Odette.xss new file mode 100644 index 00000000..4f521cfb --- /dev/null +++ b/GMW_data/DS_Odette.xss @@ -0,0 +1,14 @@ + + + + + + + + + + \ No newline at end of file diff --git a/GMW_data/DS_SM.Designer.cs b/GMW_data/DS_SM.Designer.cs new file mode 100644 index 00000000..12014a69 --- /dev/null +++ b/GMW_data/DS_SM.Designer.cs @@ -0,0 +1,5095 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.17626 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +#pragma warning disable 1591 + +namespace GMW_data { + + + /// + ///Represents a strongly typed in-memory cache of data. + /// + [global::System.Serializable()] + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")] + [global::System.Xml.Serialization.XmlRootAttribute("DS_SM")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")] + public partial class DS_SM : global::System.Data.DataSet { + + private DelibereDataTable tableDelibere; + + private AnagTipoEventoDataTable tableAnagTipoEvento; + + private TabTranPosizEventiDataTable tableTabTranPosizEventi; + + private AnagPosizioniDataTable tableAnagPosizioni; + + private AnagTipoDelibereDataTable tableAnagTipoDelibere; + + private global::System.Data.DataRelation relationFK_TabTranPosizEventi_AnagTipoEvento; + + private global::System.Data.DataRelation relationFK_TabTranPosizEventi_AnagPosizioni; + + private global::System.Data.DataRelation relationFK_Delibere_AnagTipoDelibere; + + private global::System.Data.DataRelation relationFK_AnagTipoDelibere_AnagTipoEvento; + + private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public DS_SM() { + this.BeginInit(); + this.InitClass(); + global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); + base.Tables.CollectionChanged += schemaChangedHandler; + base.Relations.CollectionChanged += schemaChangedHandler; + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected DS_SM(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context, false) { + if ((this.IsBinarySerialized(info, context) == true)) { + this.InitVars(false); + global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); + this.Tables.CollectionChanged += schemaChangedHandler1; + this.Relations.CollectionChanged += schemaChangedHandler1; + return; + } + string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string)))); + if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { + global::System.Data.DataSet ds = new global::System.Data.DataSet(); + ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); + if ((ds.Tables["Delibere"] != null)) { + base.Tables.Add(new DelibereDataTable(ds.Tables["Delibere"])); + } + if ((ds.Tables["AnagTipoEvento"] != null)) { + base.Tables.Add(new AnagTipoEventoDataTable(ds.Tables["AnagTipoEvento"])); + } + if ((ds.Tables["TabTranPosizEventi"] != null)) { + base.Tables.Add(new TabTranPosizEventiDataTable(ds.Tables["TabTranPosizEventi"])); + } + if ((ds.Tables["AnagPosizioni"] != null)) { + base.Tables.Add(new AnagPosizioniDataTable(ds.Tables["AnagPosizioni"])); + } + if ((ds.Tables["AnagTipoDelibere"] != null)) { + base.Tables.Add(new AnagTipoDelibereDataTable(ds.Tables["AnagTipoDelibere"])); + } + this.DataSetName = ds.DataSetName; + this.Prefix = ds.Prefix; + this.Namespace = ds.Namespace; + this.Locale = ds.Locale; + this.CaseSensitive = ds.CaseSensitive; + this.EnforceConstraints = ds.EnforceConstraints; + this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add); + this.InitVars(); + } + else { + this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); + } + this.GetSerializationData(info, context); + global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); + base.Tables.CollectionChanged += schemaChangedHandler; + this.Relations.CollectionChanged += schemaChangedHandler; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public DelibereDataTable Delibere { + get { + return this.tableDelibere; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public AnagTipoEventoDataTable AnagTipoEvento { + get { + return this.tableAnagTipoEvento; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public TabTranPosizEventiDataTable TabTranPosizEventi { + get { + return this.tableTabTranPosizEventi; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public AnagPosizioniDataTable AnagPosizioni { + get { + return this.tableAnagPosizioni; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public AnagTipoDelibereDataTable AnagTipoDelibere { + get { + return this.tableAnagTipoDelibere; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.BrowsableAttribute(true)] + [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)] + public override global::System.Data.SchemaSerializationMode SchemaSerializationMode { + get { + return this._schemaSerializationMode; + } + set { + this._schemaSerializationMode = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public new global::System.Data.DataTableCollection Tables { + get { + return base.Tables; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public new global::System.Data.DataRelationCollection Relations { + get { + return base.Relations; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void InitializeDerivedDataSet() { + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataSet Clone() { + DS_SM cln = ((DS_SM)(base.Clone())); + cln.InitVars(); + cln.SchemaSerializationMode = this.SchemaSerializationMode; + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override bool ShouldSerializeTables() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override bool ShouldSerializeRelations() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) { + if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { + this.Reset(); + global::System.Data.DataSet ds = new global::System.Data.DataSet(); + ds.ReadXml(reader); + if ((ds.Tables["Delibere"] != null)) { + base.Tables.Add(new DelibereDataTable(ds.Tables["Delibere"])); + } + if ((ds.Tables["AnagTipoEvento"] != null)) { + base.Tables.Add(new AnagTipoEventoDataTable(ds.Tables["AnagTipoEvento"])); + } + if ((ds.Tables["TabTranPosizEventi"] != null)) { + base.Tables.Add(new TabTranPosizEventiDataTable(ds.Tables["TabTranPosizEventi"])); + } + if ((ds.Tables["AnagPosizioni"] != null)) { + base.Tables.Add(new AnagPosizioniDataTable(ds.Tables["AnagPosizioni"])); + } + if ((ds.Tables["AnagTipoDelibere"] != null)) { + base.Tables.Add(new AnagTipoDelibereDataTable(ds.Tables["AnagTipoDelibere"])); + } + this.DataSetName = ds.DataSetName; + this.Prefix = ds.Prefix; + this.Namespace = ds.Namespace; + this.Locale = ds.Locale; + this.CaseSensitive = ds.CaseSensitive; + this.EnforceConstraints = ds.EnforceConstraints; + this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add); + this.InitVars(); + } + else { + this.ReadXml(reader); + this.InitVars(); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() { + global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream(); + this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null)); + stream.Position = 0; + return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.InitVars(true); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars(bool initTable) { + this.tableDelibere = ((DelibereDataTable)(base.Tables["Delibere"])); + if ((initTable == true)) { + if ((this.tableDelibere != null)) { + this.tableDelibere.InitVars(); + } + } + this.tableAnagTipoEvento = ((AnagTipoEventoDataTable)(base.Tables["AnagTipoEvento"])); + if ((initTable == true)) { + if ((this.tableAnagTipoEvento != null)) { + this.tableAnagTipoEvento.InitVars(); + } + } + this.tableTabTranPosizEventi = ((TabTranPosizEventiDataTable)(base.Tables["TabTranPosizEventi"])); + if ((initTable == true)) { + if ((this.tableTabTranPosizEventi != null)) { + this.tableTabTranPosizEventi.InitVars(); + } + } + this.tableAnagPosizioni = ((AnagPosizioniDataTable)(base.Tables["AnagPosizioni"])); + if ((initTable == true)) { + if ((this.tableAnagPosizioni != null)) { + this.tableAnagPosizioni.InitVars(); + } + } + this.tableAnagTipoDelibere = ((AnagTipoDelibereDataTable)(base.Tables["AnagTipoDelibere"])); + if ((initTable == true)) { + if ((this.tableAnagTipoDelibere != null)) { + this.tableAnagTipoDelibere.InitVars(); + } + } + this.relationFK_TabTranPosizEventi_AnagTipoEvento = this.Relations["FK_TabTranPosizEventi_AnagTipoEvento"]; + this.relationFK_TabTranPosizEventi_AnagPosizioni = this.Relations["FK_TabTranPosizEventi_AnagPosizioni"]; + this.relationFK_Delibere_AnagTipoDelibere = this.Relations["FK_Delibere_AnagTipoDelibere"]; + this.relationFK_AnagTipoDelibere_AnagTipoEvento = this.Relations["FK_AnagTipoDelibere_AnagTipoEvento"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.DataSetName = "DS_SM"; + this.Prefix = ""; + this.Namespace = "http://tempuri.org/DS_SM.xsd"; + this.EnforceConstraints = true; + this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; + this.tableDelibere = new DelibereDataTable(); + base.Tables.Add(this.tableDelibere); + this.tableAnagTipoEvento = new AnagTipoEventoDataTable(); + base.Tables.Add(this.tableAnagTipoEvento); + this.tableTabTranPosizEventi = new TabTranPosizEventiDataTable(); + base.Tables.Add(this.tableTabTranPosizEventi); + this.tableAnagPosizioni = new AnagPosizioniDataTable(); + base.Tables.Add(this.tableAnagPosizioni); + this.tableAnagTipoDelibere = new AnagTipoDelibereDataTable(); + base.Tables.Add(this.tableAnagTipoDelibere); + this.relationFK_TabTranPosizEventi_AnagTipoEvento = new global::System.Data.DataRelation("FK_TabTranPosizEventi_AnagTipoEvento", new global::System.Data.DataColumn[] { + this.tableAnagTipoEvento.CodEventoColumn}, new global::System.Data.DataColumn[] { + this.tableTabTranPosizEventi.CodEventoColumn}, false); + this.Relations.Add(this.relationFK_TabTranPosizEventi_AnagTipoEvento); + this.relationFK_TabTranPosizEventi_AnagPosizioni = new global::System.Data.DataRelation("FK_TabTranPosizEventi_AnagPosizioni", new global::System.Data.DataColumn[] { + this.tableAnagPosizioni.IdxPosizioneColumn}, new global::System.Data.DataColumn[] { + this.tableTabTranPosizEventi.IdxPosizioneColumn}, false); + this.Relations.Add(this.relationFK_TabTranPosizEventi_AnagPosizioni); + this.relationFK_Delibere_AnagTipoDelibere = new global::System.Data.DataRelation("FK_Delibere_AnagTipoDelibere", new global::System.Data.DataColumn[] { + this.tableAnagTipoDelibere.CodTipoDeliberaColumn}, new global::System.Data.DataColumn[] { + this.tableDelibere.CodTipoDeliberaColumn}, false); + this.Relations.Add(this.relationFK_Delibere_AnagTipoDelibere); + this.relationFK_AnagTipoDelibere_AnagTipoEvento = new global::System.Data.DataRelation("FK_AnagTipoDelibere_AnagTipoEvento", new global::System.Data.DataColumn[] { + this.tableAnagTipoEvento.CodEventoColumn}, new global::System.Data.DataColumn[] { + this.tableAnagTipoDelibere.CodEventoColumn}, false); + this.Relations.Add(this.relationFK_AnagTipoDelibere_AnagTipoEvento); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeDelibere() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeAnagTipoEvento() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeTabTranPosizEventi() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeAnagPosizioni() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeAnagTipoDelibere() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { + if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) { + this.InitVars(); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + DS_SM ds = new DS_SM(); + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny(); + any.Namespace = ds.Namespace; + sequence.Items.Add(any); + 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; + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void DelibereRowChangeEventHandler(object sender, DelibereRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void AnagTipoEventoRowChangeEventHandler(object sender, AnagTipoEventoRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void TabTranPosizEventiRowChangeEventHandler(object sender, TabTranPosizEventiRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void AnagPosizioniRowChangeEventHandler(object sender, AnagPosizioniRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void AnagTipoDelibereRowChangeEventHandler(object sender, AnagTipoDelibereRowChangeEvent e); + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class DelibereDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodTipoDelibera; + + private global::System.Data.DataColumn columnUDC; + + private global::System.Data.DataColumn columnDataDelibera; + + private global::System.Data.DataColumn columnCodSoggetto; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public DelibereDataTable() { + this.TableName = "Delibere"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal DelibereDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected DelibereDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodTipoDeliberaColumn { + get { + return this.columnCodTipoDelibera; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn UDCColumn { + get { + return this.columnUDC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DataDeliberaColumn { + get { + return this.columnDataDelibera; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodSoggettoColumn { + get { + return this.columnCodSoggetto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public DelibereRow this[int index] { + get { + return ((DelibereRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event DelibereRowChangeEventHandler DelibereRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event DelibereRowChangeEventHandler DelibereRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event DelibereRowChangeEventHandler DelibereRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event DelibereRowChangeEventHandler DelibereRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddDelibereRow(DelibereRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public DelibereRow AddDelibereRow(AnagTipoDelibereRow parentAnagTipoDelibereRowByFK_Delibere_AnagTipoDelibere, string UDC, System.DateTime DataDelibera, string CodSoggetto) { + DelibereRow rowDelibereRow = ((DelibereRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + UDC, + DataDelibera, + CodSoggetto}; + if ((parentAnagTipoDelibereRowByFK_Delibere_AnagTipoDelibere != null)) { + columnValuesArray[0] = parentAnagTipoDelibereRowByFK_Delibere_AnagTipoDelibere[0]; + } + rowDelibereRow.ItemArray = columnValuesArray; + this.Rows.Add(rowDelibereRow); + return rowDelibereRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public DelibereRow FindByCodTipoDeliberaUDC(string CodTipoDelibera, string UDC) { + return ((DelibereRow)(this.Rows.Find(new object[] { + CodTipoDelibera, + UDC}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + DelibereDataTable cln = ((DelibereDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new DelibereDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnCodTipoDelibera = base.Columns["CodTipoDelibera"]; + this.columnUDC = base.Columns["UDC"]; + this.columnDataDelibera = base.Columns["DataDelibera"]; + this.columnCodSoggetto = base.Columns["CodSoggetto"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnCodTipoDelibera = new global::System.Data.DataColumn("CodTipoDelibera", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodTipoDelibera); + this.columnUDC = new global::System.Data.DataColumn("UDC", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnUDC); + this.columnDataDelibera = new global::System.Data.DataColumn("DataDelibera", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDataDelibera); + this.columnCodSoggetto = new global::System.Data.DataColumn("CodSoggetto", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodSoggetto); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodTipoDelibera, + this.columnUDC}, true)); + this.columnCodTipoDelibera.AllowDBNull = false; + this.columnCodTipoDelibera.MaxLength = 50; + this.columnUDC.AllowDBNull = false; + this.columnUDC.MaxLength = 50; + this.columnDataDelibera.AllowDBNull = false; + this.columnCodSoggetto.AllowDBNull = false; + this.columnCodSoggetto.MaxLength = 16; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public DelibereRow NewDelibereRow() { + return ((DelibereRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new DelibereRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(DelibereRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.DelibereRowChanged != null)) { + this.DelibereRowChanged(this, new DelibereRowChangeEvent(((DelibereRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.DelibereRowChanging != null)) { + this.DelibereRowChanging(this, new DelibereRowChangeEvent(((DelibereRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.DelibereRowDeleted != null)) { + this.DelibereRowDeleted(this, new DelibereRowChangeEvent(((DelibereRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.DelibereRowDeleting != null)) { + this.DelibereRowDeleting(this, new DelibereRowChangeEvent(((DelibereRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveDelibereRow(DelibereRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_SM ds = new DS_SM(); + 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 = "DelibereDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class AnagTipoEventoDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodEvento; + + private global::System.Data.DataColumn columnDescEvento; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagTipoEventoDataTable() { + this.TableName = "AnagTipoEvento"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AnagTipoEventoDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected AnagTipoEventoDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodEventoColumn { + get { + return this.columnCodEvento; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescEventoColumn { + get { + return this.columnDescEvento; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagTipoEventoRow this[int index] { + get { + return ((AnagTipoEventoRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagTipoEventoRowChangeEventHandler AnagTipoEventoRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagTipoEventoRowChangeEventHandler AnagTipoEventoRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagTipoEventoRowChangeEventHandler AnagTipoEventoRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagTipoEventoRowChangeEventHandler AnagTipoEventoRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddAnagTipoEventoRow(AnagTipoEventoRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagTipoEventoRow AddAnagTipoEventoRow(string CodEvento, string DescEvento) { + AnagTipoEventoRow rowAnagTipoEventoRow = ((AnagTipoEventoRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CodEvento, + DescEvento}; + rowAnagTipoEventoRow.ItemArray = columnValuesArray; + this.Rows.Add(rowAnagTipoEventoRow); + return rowAnagTipoEventoRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagTipoEventoRow FindByCodEvento(string CodEvento) { + return ((AnagTipoEventoRow)(this.Rows.Find(new object[] { + CodEvento}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + AnagTipoEventoDataTable cln = ((AnagTipoEventoDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new AnagTipoEventoDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnCodEvento = base.Columns["CodEvento"]; + this.columnDescEvento = base.Columns["DescEvento"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnCodEvento = new global::System.Data.DataColumn("CodEvento", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodEvento); + this.columnDescEvento = new global::System.Data.DataColumn("DescEvento", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescEvento); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodEvento}, true)); + this.columnCodEvento.AllowDBNull = false; + this.columnCodEvento.Unique = true; + this.columnCodEvento.MaxLength = 10; + this.columnDescEvento.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagTipoEventoRow NewAnagTipoEventoRow() { + return ((AnagTipoEventoRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new AnagTipoEventoRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(AnagTipoEventoRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.AnagTipoEventoRowChanged != null)) { + this.AnagTipoEventoRowChanged(this, new AnagTipoEventoRowChangeEvent(((AnagTipoEventoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.AnagTipoEventoRowChanging != null)) { + this.AnagTipoEventoRowChanging(this, new AnagTipoEventoRowChangeEvent(((AnagTipoEventoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.AnagTipoEventoRowDeleted != null)) { + this.AnagTipoEventoRowDeleted(this, new AnagTipoEventoRowChangeEvent(((AnagTipoEventoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.AnagTipoEventoRowDeleting != null)) { + this.AnagTipoEventoRowDeleting(this, new AnagTipoEventoRowChangeEvent(((AnagTipoEventoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveAnagTipoEventoRow(AnagTipoEventoRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_SM ds = new DS_SM(); + 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 = "AnagTipoEventoDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class TabTranPosizEventiDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodEvento; + + private global::System.Data.DataColumn columnIdxPosizione; + + private global::System.Data.DataColumn columnIdxPosizioneTo; + + private global::System.Data.DataColumn columnIdxBloccoTo; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TabTranPosizEventiDataTable() { + this.TableName = "TabTranPosizEventi"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal TabTranPosizEventiDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected TabTranPosizEventiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodEventoColumn { + get { + return this.columnCodEvento; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn IdxPosizioneColumn { + get { + return this.columnIdxPosizione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn IdxPosizioneToColumn { + get { + return this.columnIdxPosizioneTo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn IdxBloccoToColumn { + get { + return this.columnIdxBloccoTo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TabTranPosizEventiRow this[int index] { + get { + return ((TabTranPosizEventiRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event TabTranPosizEventiRowChangeEventHandler TabTranPosizEventiRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event TabTranPosizEventiRowChangeEventHandler TabTranPosizEventiRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event TabTranPosizEventiRowChangeEventHandler TabTranPosizEventiRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event TabTranPosizEventiRowChangeEventHandler TabTranPosizEventiRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddTabTranPosizEventiRow(TabTranPosizEventiRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TabTranPosizEventiRow AddTabTranPosizEventiRow(AnagTipoEventoRow parentAnagTipoEventoRowByFK_TabTranPosizEventi_AnagTipoEvento, AnagPosizioniRow parentAnagPosizioniRowByFK_TabTranPosizEventi_AnagPosizioni, int IdxPosizioneTo, int IdxBloccoTo) { + TabTranPosizEventiRow rowTabTranPosizEventiRow = ((TabTranPosizEventiRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + null, + IdxPosizioneTo, + IdxBloccoTo}; + if ((parentAnagTipoEventoRowByFK_TabTranPosizEventi_AnagTipoEvento != null)) { + columnValuesArray[0] = parentAnagTipoEventoRowByFK_TabTranPosizEventi_AnagTipoEvento[0]; + } + if ((parentAnagPosizioniRowByFK_TabTranPosizEventi_AnagPosizioni != null)) { + columnValuesArray[1] = parentAnagPosizioniRowByFK_TabTranPosizEventi_AnagPosizioni[0]; + } + rowTabTranPosizEventiRow.ItemArray = columnValuesArray; + this.Rows.Add(rowTabTranPosizEventiRow); + return rowTabTranPosizEventiRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TabTranPosizEventiRow FindByCodEventoIdxPosizione(string CodEvento, int IdxPosizione) { + return ((TabTranPosizEventiRow)(this.Rows.Find(new object[] { + CodEvento, + IdxPosizione}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + TabTranPosizEventiDataTable cln = ((TabTranPosizEventiDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new TabTranPosizEventiDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnCodEvento = base.Columns["CodEvento"]; + this.columnIdxPosizione = base.Columns["IdxPosizione"]; + this.columnIdxPosizioneTo = base.Columns["IdxPosizioneTo"]; + this.columnIdxBloccoTo = base.Columns["IdxBloccoTo"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnCodEvento = new global::System.Data.DataColumn("CodEvento", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodEvento); + this.columnIdxPosizione = new global::System.Data.DataColumn("IdxPosizione", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnIdxPosizione); + this.columnIdxPosizioneTo = new global::System.Data.DataColumn("IdxPosizioneTo", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnIdxPosizioneTo); + this.columnIdxBloccoTo = new global::System.Data.DataColumn("IdxBloccoTo", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnIdxBloccoTo); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodEvento, + this.columnIdxPosizione}, true)); + this.columnCodEvento.AllowDBNull = false; + this.columnCodEvento.MaxLength = 10; + this.columnIdxPosizione.AllowDBNull = false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TabTranPosizEventiRow NewTabTranPosizEventiRow() { + return ((TabTranPosizEventiRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new TabTranPosizEventiRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(TabTranPosizEventiRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.TabTranPosizEventiRowChanged != null)) { + this.TabTranPosizEventiRowChanged(this, new TabTranPosizEventiRowChangeEvent(((TabTranPosizEventiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.TabTranPosizEventiRowChanging != null)) { + this.TabTranPosizEventiRowChanging(this, new TabTranPosizEventiRowChangeEvent(((TabTranPosizEventiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.TabTranPosizEventiRowDeleted != null)) { + this.TabTranPosizEventiRowDeleted(this, new TabTranPosizEventiRowChangeEvent(((TabTranPosizEventiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.TabTranPosizEventiRowDeleting != null)) { + this.TabTranPosizEventiRowDeleting(this, new TabTranPosizEventiRowChangeEvent(((TabTranPosizEventiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveTabTranPosizEventiRow(TabTranPosizEventiRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_SM ds = new DS_SM(); + 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 = "TabTranPosizEventiDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class AnagPosizioniDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnIdxPosizione; + + private global::System.Data.DataColumn columnDescPosizione; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagPosizioniDataTable() { + this.TableName = "AnagPosizioni"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AnagPosizioniDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected AnagPosizioniDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn IdxPosizioneColumn { + get { + return this.columnIdxPosizione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescPosizioneColumn { + get { + return this.columnDescPosizione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagPosizioniRow this[int index] { + get { + return ((AnagPosizioniRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagPosizioniRowChangeEventHandler AnagPosizioniRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagPosizioniRowChangeEventHandler AnagPosizioniRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagPosizioniRowChangeEventHandler AnagPosizioniRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagPosizioniRowChangeEventHandler AnagPosizioniRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddAnagPosizioniRow(AnagPosizioniRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagPosizioniRow AddAnagPosizioniRow(int IdxPosizione, string DescPosizione) { + AnagPosizioniRow rowAnagPosizioniRow = ((AnagPosizioniRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + IdxPosizione, + DescPosizione}; + rowAnagPosizioniRow.ItemArray = columnValuesArray; + this.Rows.Add(rowAnagPosizioniRow); + return rowAnagPosizioniRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagPosizioniRow FindByIdxPosizione(int IdxPosizione) { + return ((AnagPosizioniRow)(this.Rows.Find(new object[] { + IdxPosizione}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + AnagPosizioniDataTable cln = ((AnagPosizioniDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new AnagPosizioniDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnIdxPosizione = base.Columns["IdxPosizione"]; + this.columnDescPosizione = base.Columns["DescPosizione"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnIdxPosizione = new global::System.Data.DataColumn("IdxPosizione", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnIdxPosizione); + this.columnDescPosizione = new global::System.Data.DataColumn("DescPosizione", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescPosizione); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnIdxPosizione}, true)); + this.columnIdxPosizione.AllowDBNull = false; + this.columnIdxPosizione.Unique = true; + this.columnDescPosizione.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagPosizioniRow NewAnagPosizioniRow() { + return ((AnagPosizioniRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new AnagPosizioniRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(AnagPosizioniRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.AnagPosizioniRowChanged != null)) { + this.AnagPosizioniRowChanged(this, new AnagPosizioniRowChangeEvent(((AnagPosizioniRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.AnagPosizioniRowChanging != null)) { + this.AnagPosizioniRowChanging(this, new AnagPosizioniRowChangeEvent(((AnagPosizioniRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.AnagPosizioniRowDeleted != null)) { + this.AnagPosizioniRowDeleted(this, new AnagPosizioniRowChangeEvent(((AnagPosizioniRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.AnagPosizioniRowDeleting != null)) { + this.AnagPosizioniRowDeleting(this, new AnagPosizioniRowChangeEvent(((AnagPosizioniRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveAnagPosizioniRow(AnagPosizioniRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_SM ds = new DS_SM(); + 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 = "AnagPosizioniDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class AnagTipoDelibereDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodTipoDelibera; + + private global::System.Data.DataColumn columnDescDelibera; + + private global::System.Data.DataColumn columnCodEvento; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagTipoDelibereDataTable() { + this.TableName = "AnagTipoDelibere"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AnagTipoDelibereDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected AnagTipoDelibereDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodTipoDeliberaColumn { + get { + return this.columnCodTipoDelibera; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescDeliberaColumn { + get { + return this.columnDescDelibera; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodEventoColumn { + get { + return this.columnCodEvento; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagTipoDelibereRow this[int index] { + get { + return ((AnagTipoDelibereRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagTipoDelibereRowChangeEventHandler AnagTipoDelibereRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagTipoDelibereRowChangeEventHandler AnagTipoDelibereRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagTipoDelibereRowChangeEventHandler AnagTipoDelibereRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagTipoDelibereRowChangeEventHandler AnagTipoDelibereRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddAnagTipoDelibereRow(AnagTipoDelibereRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagTipoDelibereRow AddAnagTipoDelibereRow(string CodTipoDelibera, string DescDelibera, AnagTipoEventoRow parentAnagTipoEventoRowByFK_AnagTipoDelibere_AnagTipoEvento) { + AnagTipoDelibereRow rowAnagTipoDelibereRow = ((AnagTipoDelibereRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CodTipoDelibera, + DescDelibera, + null}; + if ((parentAnagTipoEventoRowByFK_AnagTipoDelibere_AnagTipoEvento != null)) { + columnValuesArray[2] = parentAnagTipoEventoRowByFK_AnagTipoDelibere_AnagTipoEvento[0]; + } + rowAnagTipoDelibereRow.ItemArray = columnValuesArray; + this.Rows.Add(rowAnagTipoDelibereRow); + return rowAnagTipoDelibereRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagTipoDelibereRow FindByCodTipoDelibera(string CodTipoDelibera) { + return ((AnagTipoDelibereRow)(this.Rows.Find(new object[] { + CodTipoDelibera}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + AnagTipoDelibereDataTable cln = ((AnagTipoDelibereDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new AnagTipoDelibereDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnCodTipoDelibera = base.Columns["CodTipoDelibera"]; + this.columnDescDelibera = base.Columns["DescDelibera"]; + this.columnCodEvento = base.Columns["CodEvento"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnCodTipoDelibera = new global::System.Data.DataColumn("CodTipoDelibera", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodTipoDelibera); + this.columnDescDelibera = new global::System.Data.DataColumn("DescDelibera", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescDelibera); + this.columnCodEvento = new global::System.Data.DataColumn("CodEvento", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodEvento); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodTipoDelibera}, true)); + this.columnCodTipoDelibera.AllowDBNull = false; + this.columnCodTipoDelibera.Unique = true; + this.columnCodTipoDelibera.MaxLength = 50; + this.columnDescDelibera.MaxLength = 50; + this.columnCodEvento.MaxLength = 10; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagTipoDelibereRow NewAnagTipoDelibereRow() { + return ((AnagTipoDelibereRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new AnagTipoDelibereRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(AnagTipoDelibereRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.AnagTipoDelibereRowChanged != null)) { + this.AnagTipoDelibereRowChanged(this, new AnagTipoDelibereRowChangeEvent(((AnagTipoDelibereRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.AnagTipoDelibereRowChanging != null)) { + this.AnagTipoDelibereRowChanging(this, new AnagTipoDelibereRowChangeEvent(((AnagTipoDelibereRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.AnagTipoDelibereRowDeleted != null)) { + this.AnagTipoDelibereRowDeleted(this, new AnagTipoDelibereRowChangeEvent(((AnagTipoDelibereRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.AnagTipoDelibereRowDeleting != null)) { + this.AnagTipoDelibereRowDeleting(this, new AnagTipoDelibereRowChangeEvent(((AnagTipoDelibereRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveAnagTipoDelibereRow(AnagTipoDelibereRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_SM ds = new DS_SM(); + 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 = "AnagTipoDelibereDataTable"; + 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. + /// + public partial class DelibereRow : global::System.Data.DataRow { + + private DelibereDataTable tableDelibere; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal DelibereRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableDelibere = ((DelibereDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodTipoDelibera { + get { + return ((string)(this[this.tableDelibere.CodTipoDeliberaColumn])); + } + set { + this[this.tableDelibere.CodTipoDeliberaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string UDC { + get { + return ((string)(this[this.tableDelibere.UDCColumn])); + } + set { + this[this.tableDelibere.UDCColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime DataDelibera { + get { + return ((global::System.DateTime)(this[this.tableDelibere.DataDeliberaColumn])); + } + set { + this[this.tableDelibere.DataDeliberaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodSoggetto { + get { + return ((string)(this[this.tableDelibere.CodSoggettoColumn])); + } + set { + this[this.tableDelibere.CodSoggettoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagTipoDelibereRow AnagTipoDelibereRow { + get { + return ((AnagTipoDelibereRow)(this.GetParentRow(this.Table.ParentRelations["FK_Delibere_AnagTipoDelibere"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["FK_Delibere_AnagTipoDelibere"]); + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class AnagTipoEventoRow : global::System.Data.DataRow { + + private AnagTipoEventoDataTable tableAnagTipoEvento; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AnagTipoEventoRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableAnagTipoEvento = ((AnagTipoEventoDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodEvento { + get { + return ((string)(this[this.tableAnagTipoEvento.CodEventoColumn])); + } + set { + this[this.tableAnagTipoEvento.CodEventoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescEvento { + get { + try { + return ((string)(this[this.tableAnagTipoEvento.DescEventoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescEvento\' in table \'AnagTipoEvento\' is DBNull.", e); + } + } + set { + this[this.tableAnagTipoEvento.DescEventoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescEventoNull() { + return this.IsNull(this.tableAnagTipoEvento.DescEventoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescEventoNull() { + this[this.tableAnagTipoEvento.DescEventoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TabTranPosizEventiRow[] GetTabTranPosizEventiRows() { + if ((this.Table.ChildRelations["FK_TabTranPosizEventi_AnagTipoEvento"] == null)) { + return new TabTranPosizEventiRow[0]; + } + else { + return ((TabTranPosizEventiRow[])(base.GetChildRows(this.Table.ChildRelations["FK_TabTranPosizEventi_AnagTipoEvento"]))); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagTipoDelibereRow[] GetAnagTipoDelibereRows() { + if ((this.Table.ChildRelations["FK_AnagTipoDelibere_AnagTipoEvento"] == null)) { + return new AnagTipoDelibereRow[0]; + } + else { + return ((AnagTipoDelibereRow[])(base.GetChildRows(this.Table.ChildRelations["FK_AnagTipoDelibere_AnagTipoEvento"]))); + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class TabTranPosizEventiRow : global::System.Data.DataRow { + + private TabTranPosizEventiDataTable tableTabTranPosizEventi; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal TabTranPosizEventiRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableTabTranPosizEventi = ((TabTranPosizEventiDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodEvento { + get { + return ((string)(this[this.tableTabTranPosizEventi.CodEventoColumn])); + } + set { + this[this.tableTabTranPosizEventi.CodEventoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int IdxPosizione { + get { + return ((int)(this[this.tableTabTranPosizEventi.IdxPosizioneColumn])); + } + set { + this[this.tableTabTranPosizEventi.IdxPosizioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int IdxPosizioneTo { + get { + try { + return ((int)(this[this.tableTabTranPosizEventi.IdxPosizioneToColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'IdxPosizioneTo\' in table \'TabTranPosizEventi\' is DBNull.", e); + } + } + set { + this[this.tableTabTranPosizEventi.IdxPosizioneToColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int IdxBloccoTo { + get { + try { + return ((int)(this[this.tableTabTranPosizEventi.IdxBloccoToColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'IdxBloccoTo\' in table \'TabTranPosizEventi\' is DBNull.", e); + } + } + set { + this[this.tableTabTranPosizEventi.IdxBloccoToColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagTipoEventoRow AnagTipoEventoRow { + get { + return ((AnagTipoEventoRow)(this.GetParentRow(this.Table.ParentRelations["FK_TabTranPosizEventi_AnagTipoEvento"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["FK_TabTranPosizEventi_AnagTipoEvento"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagPosizioniRow AnagPosizioniRow { + get { + return ((AnagPosizioniRow)(this.GetParentRow(this.Table.ParentRelations["FK_TabTranPosizEventi_AnagPosizioni"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["FK_TabTranPosizEventi_AnagPosizioni"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsIdxPosizioneToNull() { + return this.IsNull(this.tableTabTranPosizEventi.IdxPosizioneToColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetIdxPosizioneToNull() { + this[this.tableTabTranPosizEventi.IdxPosizioneToColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsIdxBloccoToNull() { + return this.IsNull(this.tableTabTranPosizEventi.IdxBloccoToColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetIdxBloccoToNull() { + this[this.tableTabTranPosizEventi.IdxBloccoToColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class AnagPosizioniRow : global::System.Data.DataRow { + + private AnagPosizioniDataTable tableAnagPosizioni; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AnagPosizioniRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableAnagPosizioni = ((AnagPosizioniDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int IdxPosizione { + get { + return ((int)(this[this.tableAnagPosizioni.IdxPosizioneColumn])); + } + set { + this[this.tableAnagPosizioni.IdxPosizioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescPosizione { + get { + try { + return ((string)(this[this.tableAnagPosizioni.DescPosizioneColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescPosizione\' in table \'AnagPosizioni\' is DBNull.", e); + } + } + set { + this[this.tableAnagPosizioni.DescPosizioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescPosizioneNull() { + return this.IsNull(this.tableAnagPosizioni.DescPosizioneColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescPosizioneNull() { + this[this.tableAnagPosizioni.DescPosizioneColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TabTranPosizEventiRow[] GetTabTranPosizEventiRows() { + if ((this.Table.ChildRelations["FK_TabTranPosizEventi_AnagPosizioni"] == null)) { + return new TabTranPosizEventiRow[0]; + } + else { + return ((TabTranPosizEventiRow[])(base.GetChildRows(this.Table.ChildRelations["FK_TabTranPosizEventi_AnagPosizioni"]))); + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class AnagTipoDelibereRow : global::System.Data.DataRow { + + private AnagTipoDelibereDataTable tableAnagTipoDelibere; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AnagTipoDelibereRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableAnagTipoDelibere = ((AnagTipoDelibereDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodTipoDelibera { + get { + return ((string)(this[this.tableAnagTipoDelibere.CodTipoDeliberaColumn])); + } + set { + this[this.tableAnagTipoDelibere.CodTipoDeliberaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescDelibera { + get { + try { + return ((string)(this[this.tableAnagTipoDelibere.DescDeliberaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescDelibera\' in table \'AnagTipoDelibere\' is DBNull.", e); + } + } + set { + this[this.tableAnagTipoDelibere.DescDeliberaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodEvento { + get { + try { + return ((string)(this[this.tableAnagTipoDelibere.CodEventoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodEvento\' in table \'AnagTipoDelibere\' is DBNull.", e); + } + } + set { + this[this.tableAnagTipoDelibere.CodEventoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagTipoEventoRow AnagTipoEventoRow { + get { + return ((AnagTipoEventoRow)(this.GetParentRow(this.Table.ParentRelations["FK_AnagTipoDelibere_AnagTipoEvento"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["FK_AnagTipoDelibere_AnagTipoEvento"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescDeliberaNull() { + return this.IsNull(this.tableAnagTipoDelibere.DescDeliberaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescDeliberaNull() { + this[this.tableAnagTipoDelibere.DescDeliberaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodEventoNull() { + return this.IsNull(this.tableAnagTipoDelibere.CodEventoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodEventoNull() { + this[this.tableAnagTipoDelibere.CodEventoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public DelibereRow[] GetDelibereRows() { + if ((this.Table.ChildRelations["FK_Delibere_AnagTipoDelibere"] == null)) { + return new DelibereRow[0]; + } + else { + return ((DelibereRow[])(base.GetChildRows(this.Table.ChildRelations["FK_Delibere_AnagTipoDelibere"]))); + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class DelibereRowChangeEvent : global::System.EventArgs { + + private DelibereRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public DelibereRowChangeEvent(DelibereRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public DelibereRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class AnagTipoEventoRowChangeEvent : global::System.EventArgs { + + private AnagTipoEventoRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagTipoEventoRowChangeEvent(AnagTipoEventoRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagTipoEventoRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class TabTranPosizEventiRowChangeEvent : global::System.EventArgs { + + private TabTranPosizEventiRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TabTranPosizEventiRowChangeEvent(TabTranPosizEventiRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TabTranPosizEventiRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class AnagPosizioniRowChangeEvent : global::System.EventArgs { + + private AnagPosizioniRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagPosizioniRowChangeEvent(AnagPosizioniRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagPosizioniRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class AnagTipoDelibereRowChangeEvent : global::System.EventArgs { + + private AnagTipoDelibereRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagTipoDelibereRowChangeEvent(AnagTipoDelibereRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagTipoDelibereRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + } +} +namespace GMW_data.DS_SMTableAdapters { + + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class DelibereTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public DelibereTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "Delibere"; + tableMapping.ColumnMappings.Add("CodTipoDelibera", "CodTipoDelibera"); + tableMapping.ColumnMappings.Add("UDC", "UDC"); + tableMapping.ColumnMappings.Add("DataDelibera", "DataDelibera"); + tableMapping.ColumnMappings.Add("CodSoggetto", "CodSoggetto"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = "DELETE FROM [dbo].[Delibere] WHERE (([CodTipoDelibera] = @Original_CodTipoDeliber" + + "a) AND ([UDC] = @Original_UDC) AND ([DataDelibera] = @Original_DataDelibera) AND" + + " ([CodSoggetto] = @Original_CodSoggetto))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodTipoDelibera", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoDelibera", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataDelibera", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataDelibera", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSoggetto", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[Delibere] ([CodTipoDelibera], [UDC], [DataDelibera], [CodSoggetto]) VALUES (@CodTipoDelibera, @UDC, @DataDelibera, @CodSoggetto); +SELECT CodTipoDelibera, UDC, DataDelibera, CodSoggetto FROM Delibere WHERE (CodTipoDelibera = @CodTipoDelibera) AND (UDC = @UDC)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoDelibera", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoDelibera", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataDelibera", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataDelibera", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[Delibere] SET [CodTipoDelibera] = @CodTipoDelibera, [UDC] = @UDC, [DataDelibera] = @DataDelibera, [CodSoggetto] = @CodSoggetto WHERE (([CodTipoDelibera] = @Original_CodTipoDelibera) AND ([UDC] = @Original_UDC) AND ([DataDelibera] = @Original_DataDelibera) AND ([CodSoggetto] = @Original_CodSoggetto)); +SELECT CodTipoDelibera, UDC, DataDelibera, CodSoggetto FROM Delibere WHERE (CodTipoDelibera = @CodTipoDelibera) AND (UDC = @UDC)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoDelibera", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoDelibera", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataDelibera", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataDelibera", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodTipoDelibera", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoDelibera", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataDelibera", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataDelibera", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSoggetto", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "SELECT CodTipoDelibera, UDC, DataDelibera, CodSoggetto FROM dbo.Delibere"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_SM.DelibereDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_SM.DelibereDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_SM.DelibereDataTable dataTable = new DS_SM.DelibereDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_SM.DelibereDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_SM dataSet) { + return this.Adapter.Update(dataSet, "Delibere"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_CodTipoDelibera, string Original_UDC, System.DateTime Original_DataDelibera, string Original_CodSoggetto) { + if ((Original_CodTipoDelibera == null)) { + throw new global::System.ArgumentNullException("Original_CodTipoDelibera"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodTipoDelibera)); + } + if ((Original_UDC == null)) { + throw new global::System.ArgumentNullException("Original_UDC"); + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_UDC)); + } + this.Adapter.DeleteCommand.Parameters[2].Value = ((System.DateTime)(Original_DataDelibera)); + if ((Original_CodSoggetto == null)) { + throw new global::System.ArgumentNullException("Original_CodSoggetto"); + } + else { + this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_CodSoggetto)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string CodTipoDelibera, string UDC, System.DateTime DataDelibera, string CodSoggetto) { + if ((CodTipoDelibera == null)) { + throw new global::System.ArgumentNullException("CodTipoDelibera"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodTipoDelibera)); + } + if ((UDC == null)) { + throw new global::System.ArgumentNullException("UDC"); + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(UDC)); + } + this.Adapter.InsertCommand.Parameters[2].Value = ((System.DateTime)(DataDelibera)); + if ((CodSoggetto == null)) { + throw new global::System.ArgumentNullException("CodSoggetto"); + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = ((string)(CodSoggetto)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string CodTipoDelibera, string UDC, System.DateTime DataDelibera, string CodSoggetto, string Original_CodTipoDelibera, string Original_UDC, System.DateTime Original_DataDelibera, string Original_CodSoggetto) { + if ((CodTipoDelibera == null)) { + throw new global::System.ArgumentNullException("CodTipoDelibera"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodTipoDelibera)); + } + if ((UDC == null)) { + throw new global::System.ArgumentNullException("UDC"); + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(UDC)); + } + this.Adapter.UpdateCommand.Parameters[2].Value = ((System.DateTime)(DataDelibera)); + if ((CodSoggetto == null)) { + throw new global::System.ArgumentNullException("CodSoggetto"); + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(CodSoggetto)); + } + if ((Original_CodTipoDelibera == null)) { + throw new global::System.ArgumentNullException("Original_CodTipoDelibera"); + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_CodTipoDelibera)); + } + if ((Original_UDC == null)) { + throw new global::System.ArgumentNullException("Original_UDC"); + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Original_UDC)); + } + this.Adapter.UpdateCommand.Parameters[6].Value = ((System.DateTime)(Original_DataDelibera)); + if ((Original_CodSoggetto == null)) { + throw new global::System.ArgumentNullException("Original_CodSoggetto"); + } + else { + this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Original_CodSoggetto)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(System.DateTime DataDelibera, string CodSoggetto, string Original_CodTipoDelibera, string Original_UDC, System.DateTime Original_DataDelibera, string Original_CodSoggetto) { + return this.Update(Original_CodTipoDelibera, Original_UDC, DataDelibera, CodSoggetto, Original_CodTipoDelibera, Original_UDC, Original_DataDelibera, Original_CodSoggetto); + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class AnagTipoEventoTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagTipoEventoTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "AnagTipoEvento"; + tableMapping.ColumnMappings.Add("CodEvento", "CodEvento"); + tableMapping.ColumnMappings.Add("DescEvento", "DescEvento"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = "DELETE FROM [dbo].[AnagTipoEvento] WHERE (([CodEvento] = @Original_CodEvento) AND" + + " ((@IsNull_DescEvento = 1 AND [DescEvento] IS NULL) OR ([DescEvento] = @Original" + + "_DescEvento)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescEvento", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescEvento", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescEvento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[AnagTipoEvento] ([CodEvento], [DescEvento]) VALUES (@CodEvento" + + ", @DescEvento);\r\nSELECT CodEvento, DescEvento FROM AnagTipoEvento WHERE (CodEven" + + "to = @CodEvento)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[AnagTipoEvento] SET [CodEvento] = @CodEvento, [DescEvento] = @DescEvento WHERE (([CodEvento] = @Original_CodEvento) AND ((@IsNull_DescEvento = 1 AND [DescEvento] IS NULL) OR ([DescEvento] = @Original_DescEvento))); +SELECT CodEvento, DescEvento FROM AnagTipoEvento WHERE (CodEvento = @CodEvento)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescEvento", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescEvento", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescEvento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "SELECT CodEvento, DescEvento FROM dbo.AnagTipoEvento"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_SM.AnagTipoEventoDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_SM.AnagTipoEventoDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_SM.AnagTipoEventoDataTable dataTable = new DS_SM.AnagTipoEventoDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_SM.AnagTipoEventoDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_SM dataSet) { + return this.Adapter.Update(dataSet, "AnagTipoEvento"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_CodEvento, string Original_DescEvento) { + if ((Original_CodEvento == null)) { + throw new global::System.ArgumentNullException("Original_CodEvento"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodEvento)); + } + if ((Original_DescEvento == null)) { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_DescEvento)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string CodEvento, string DescEvento) { + if ((CodEvento == null)) { + throw new global::System.ArgumentNullException("CodEvento"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodEvento)); + } + if ((DescEvento == null)) { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(DescEvento)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string CodEvento, string DescEvento, string Original_CodEvento, string Original_DescEvento) { + if ((CodEvento == null)) { + throw new global::System.ArgumentNullException("CodEvento"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodEvento)); + } + if ((DescEvento == null)) { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(DescEvento)); + } + if ((Original_CodEvento == null)) { + throw new global::System.ArgumentNullException("Original_CodEvento"); + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Original_CodEvento)); + } + if ((Original_DescEvento == null)) { + this.Adapter.UpdateCommand.Parameters[3].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_DescEvento)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string DescEvento, string Original_CodEvento, string Original_DescEvento) { + return this.Update(Original_CodEvento, DescEvento, Original_CodEvento, Original_DescEvento); + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class TabTranPosizEventiTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TabTranPosizEventiTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "TabTranPosizEventi"; + tableMapping.ColumnMappings.Add("CodEvento", "CodEvento"); + tableMapping.ColumnMappings.Add("IdxPosizione", "IdxPosizione"); + tableMapping.ColumnMappings.Add("IdxPosizioneTo", "IdxPosizioneTo"); + tableMapping.ColumnMappings.Add("IdxBloccoTo", "IdxBloccoTo"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = @"DELETE FROM [TabTranPosizEventi] WHERE (([CodEvento] = @Original_CodEvento) AND ([IdxPosizione] = @Original_IdxPosizione) AND ((@IsNull_IdxPosizioneTo = 1 AND [IdxPosizioneTo] IS NULL) OR ([IdxPosizioneTo] = @Original_IdxPosizioneTo)) AND ((@IsNull_IdxBloccoTo = 1 AND [IdxBloccoTo] IS NULL) OR ([IdxBloccoTo] = @Original_IdxBloccoTo)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxPosizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPosizione", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_IdxPosizioneTo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPosizioneTo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxPosizioneTo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPosizioneTo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_IdxBloccoTo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxBloccoTo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxBloccoTo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxBloccoTo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = @"INSERT INTO [TabTranPosizEventi] ([CodEvento], [IdxPosizione], [IdxPosizioneTo], [IdxBloccoTo]) VALUES (@CodEvento, @IdxPosizione, @IdxPosizioneTo, @IdxBloccoTo); +SELECT CodEvento, IdxPosizione, IdxPosizioneTo, IdxBloccoTo FROM TabTranPosizEventi WHERE (CodEvento = @CodEvento) AND (IdxPosizione = @IdxPosizione)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxPosizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPosizione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxPosizioneTo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPosizioneTo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxBloccoTo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxBloccoTo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [TabTranPosizEventi] SET [CodEvento] = @CodEvento, [IdxPosizione] = @IdxPosizione, [IdxPosizioneTo] = @IdxPosizioneTo, [IdxBloccoTo] = @IdxBloccoTo WHERE (([CodEvento] = @Original_CodEvento) AND ([IdxPosizione] = @Original_IdxPosizione) AND ((@IsNull_IdxPosizioneTo = 1 AND [IdxPosizioneTo] IS NULL) OR ([IdxPosizioneTo] = @Original_IdxPosizioneTo)) AND ((@IsNull_IdxBloccoTo = 1 AND [IdxBloccoTo] IS NULL) OR ([IdxBloccoTo] = @Original_IdxBloccoTo))); +SELECT CodEvento, IdxPosizione, IdxPosizioneTo, IdxBloccoTo FROM TabTranPosizEventi WHERE (CodEvento = @CodEvento) AND (IdxPosizione = @IdxPosizione)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxPosizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPosizione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxPosizioneTo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPosizioneTo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxBloccoTo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxBloccoTo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxPosizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPosizione", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_IdxPosizioneTo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPosizioneTo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxPosizioneTo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPosizioneTo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_IdxBloccoTo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxBloccoTo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxBloccoTo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxBloccoTo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT CodEvento, IdxPosizione, IdxPosizioneTo, IdxBloccoTo FROM TabTranPosizEven" + + "ti"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "dbo.stp_TTPE_getByCodEvento"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[1].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[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodEvento", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[2].Connection = this.Connection; + this._commandCollection[2].CommandText = "dbo.stp_TTPE_getByCodEventoPosizione"; + this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[2].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[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodEvento", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxPosizione", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_SM.TabTranPosizEventiDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_SM.TabTranPosizEventiDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_SM.TabTranPosizEventiDataTable dataTable = new DS_SM.TabTranPosizEventiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_SM.TabTranPosizEventiDataTable getByEvento(string CodEvento) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((CodEvento == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodEvento)); + } + DS_SM.TabTranPosizEventiDataTable dataTable = new DS_SM.TabTranPosizEventiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_SM.TabTranPosizEventiDataTable getByEventoPosizione(string CodEvento, global::System.Nullable IdxPosizione) { + this.Adapter.SelectCommand = this.CommandCollection[2]; + if ((CodEvento == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodEvento)); + } + if ((IdxPosizione.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[2].Value = ((int)(IdxPosizione.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + DS_SM.TabTranPosizEventiDataTable dataTable = new DS_SM.TabTranPosizEventiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_SM.TabTranPosizEventiDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_SM dataSet) { + return this.Adapter.Update(dataSet, "TabTranPosizEventi"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_CodEvento, int Original_IdxPosizione, global::System.Nullable Original_IdxPosizioneTo, global::System.Nullable Original_IdxBloccoTo) { + if ((Original_CodEvento == null)) { + throw new global::System.ArgumentNullException("Original_CodEvento"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodEvento)); + } + this.Adapter.DeleteCommand.Parameters[1].Value = ((int)(Original_IdxPosizione)); + if ((Original_IdxPosizioneTo.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[3].Value = ((int)(Original_IdxPosizioneTo.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[3].Value = global::System.DBNull.Value; + } + if ((Original_IdxBloccoTo.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[5].Value = ((int)(Original_IdxBloccoTo.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[5].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string CodEvento, int IdxPosizione, global::System.Nullable IdxPosizioneTo, global::System.Nullable IdxBloccoTo) { + if ((CodEvento == null)) { + throw new global::System.ArgumentNullException("CodEvento"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodEvento)); + } + this.Adapter.InsertCommand.Parameters[1].Value = ((int)(IdxPosizione)); + if ((IdxPosizioneTo.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[2].Value = ((int)(IdxPosizioneTo.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + if ((IdxBloccoTo.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[3].Value = ((int)(IdxBloccoTo.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string CodEvento, int IdxPosizione, global::System.Nullable IdxPosizioneTo, global::System.Nullable IdxBloccoTo, string Original_CodEvento, int Original_IdxPosizione, global::System.Nullable Original_IdxPosizioneTo, global::System.Nullable Original_IdxBloccoTo) { + if ((CodEvento == null)) { + throw new global::System.ArgumentNullException("CodEvento"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodEvento)); + } + this.Adapter.UpdateCommand.Parameters[1].Value = ((int)(IdxPosizione)); + if ((IdxPosizioneTo.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(IdxPosizioneTo.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + if ((IdxBloccoTo.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(IdxBloccoTo.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; + } + if ((Original_CodEvento == null)) { + throw new global::System.ArgumentNullException("Original_CodEvento"); + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_CodEvento)); + } + this.Adapter.UpdateCommand.Parameters[5].Value = ((int)(Original_IdxPosizione)); + if ((Original_IdxPosizioneTo.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[7].Value = ((int)(Original_IdxPosizioneTo.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; + } + if ((Original_IdxBloccoTo.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[9].Value = ((int)(Original_IdxBloccoTo.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(global::System.Nullable IdxPosizioneTo, global::System.Nullable IdxBloccoTo, string Original_CodEvento, int Original_IdxPosizione, global::System.Nullable Original_IdxPosizioneTo, global::System.Nullable Original_IdxBloccoTo) { + return this.Update(Original_CodEvento, Original_IdxPosizione, IdxPosizioneTo, IdxBloccoTo, Original_CodEvento, Original_IdxPosizione, Original_IdxPosizioneTo, Original_IdxBloccoTo); + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class AnagPosizioniTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagPosizioniTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "AnagPosizioni"; + tableMapping.ColumnMappings.Add("IdxPosizione", "IdxPosizione"); + tableMapping.ColumnMappings.Add("DescPosizione", "DescPosizione"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = "DELETE FROM [dbo].[AnagPosizioni] WHERE (([IdxPosizione] = @Original_IdxPosizione" + + ") AND ((@IsNull_DescPosizione = 1 AND [DescPosizione] IS NULL) OR ([DescPosizion" + + "e] = @Original_DescPosizione)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxPosizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPosizione", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescPosizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescPosizione", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescPosizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescPosizione", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[AnagPosizioni] ([IdxPosizione], [DescPosizione]) VALUES (@IdxP" + + "osizione, @DescPosizione);\r\nSELECT IdxPosizione, DescPosizione FROM AnagPosizion" + + "i WHERE (IdxPosizione = @IdxPosizione)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxPosizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPosizione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescPosizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescPosizione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[AnagPosizioni] SET [IdxPosizione] = @IdxPosizione, [DescPosizione] = @DescPosizione WHERE (([IdxPosizione] = @Original_IdxPosizione) AND ((@IsNull_DescPosizione = 1 AND [DescPosizione] IS NULL) OR ([DescPosizione] = @Original_DescPosizione))); +SELECT IdxPosizione, DescPosizione FROM AnagPosizioni WHERE (IdxPosizione = @IdxPosizione)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxPosizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPosizione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescPosizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescPosizione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxPosizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPosizione", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescPosizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescPosizione", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescPosizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescPosizione", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "SELECT IdxPosizione, DescPosizione FROM dbo.AnagPosizioni"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_SM.AnagPosizioniDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_SM.AnagPosizioniDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_SM.AnagPosizioniDataTable dataTable = new DS_SM.AnagPosizioniDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_SM.AnagPosizioniDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_SM dataSet) { + return this.Adapter.Update(dataSet, "AnagPosizioni"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(int Original_IdxPosizione, string Original_DescPosizione) { + this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_IdxPosizione)); + if ((Original_DescPosizione == null)) { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_DescPosizione)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(int IdxPosizione, string DescPosizione) { + this.Adapter.InsertCommand.Parameters[0].Value = ((int)(IdxPosizione)); + if ((DescPosizione == null)) { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(DescPosizione)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(int IdxPosizione, string DescPosizione, int Original_IdxPosizione, string Original_DescPosizione) { + this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(IdxPosizione)); + if ((DescPosizione == null)) { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(DescPosizione)); + } + this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(Original_IdxPosizione)); + if ((Original_DescPosizione == null)) { + this.Adapter.UpdateCommand.Parameters[3].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_DescPosizione)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string DescPosizione, int Original_IdxPosizione, string Original_DescPosizione) { + return this.Update(Original_IdxPosizione, DescPosizione, Original_IdxPosizione, Original_DescPosizione); + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class AnagTipoDelibereTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagTipoDelibereTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "AnagTipoDelibere"; + tableMapping.ColumnMappings.Add("CodTipoDelibera", "CodTipoDelibera"); + tableMapping.ColumnMappings.Add("DescDelibera", "DescDelibera"); + tableMapping.ColumnMappings.Add("CodEvento", "CodEvento"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[AnagTipoDelibere] WHERE (([CodTipoDelibera] = @Original_CodTipoDelibera) AND ((@IsNull_DescDelibera = 1 AND [DescDelibera] IS NULL) OR ([DescDelibera] = @Original_DescDelibera)) AND ((@IsNull_CodEvento = 1 AND [CodEvento] IS NULL) OR ([CodEvento] = @Original_CodEvento)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodTipoDelibera", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoDelibera", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescDelibera", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescDelibera", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescDelibera", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescDelibera", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodEvento", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[AnagTipoDelibere] ([CodTipoDelibera], [DescDelibera], [CodEven" + + "to]) VALUES (@CodTipoDelibera, @DescDelibera, @CodEvento);\r\nSELECT CodTipoDelibe" + + "ra, DescDelibera, CodEvento FROM AnagTipoDelibere WHERE (CodTipoDelibera = @CodT" + + "ipoDelibera)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoDelibera", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoDelibera", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescDelibera", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescDelibera", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[AnagTipoDelibere] SET [CodTipoDelibera] = @CodTipoDelibera, [DescDelibera] = @DescDelibera, [CodEvento] = @CodEvento WHERE (([CodTipoDelibera] = @Original_CodTipoDelibera) AND ((@IsNull_DescDelibera = 1 AND [DescDelibera] IS NULL) OR ([DescDelibera] = @Original_DescDelibera)) AND ((@IsNull_CodEvento = 1 AND [CodEvento] IS NULL) OR ([CodEvento] = @Original_CodEvento))); +SELECT CodTipoDelibera, DescDelibera, CodEvento FROM AnagTipoDelibere WHERE (CodTipoDelibera = @CodTipoDelibera)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoDelibera", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoDelibera", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescDelibera", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescDelibera", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodTipoDelibera", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoDelibera", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescDelibera", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescDelibera", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescDelibera", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescDelibera", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodEvento", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT CodTipoDelibera, DescDelibera, CodEvento FROM dbo.AnagTipoDelibere"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "dbo.stp_ATD_getByKey"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[1].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[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoDelibera", 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.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_SM.AnagTipoDelibereDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_SM.AnagTipoDelibereDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_SM.AnagTipoDelibereDataTable dataTable = new DS_SM.AnagTipoDelibereDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_SM.AnagTipoDelibereDataTable getByKey(string CodTipoDelibera) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((CodTipoDelibera == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodTipoDelibera)); + } + DS_SM.AnagTipoDelibereDataTable dataTable = new DS_SM.AnagTipoDelibereDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_SM.AnagTipoDelibereDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_SM dataSet) { + return this.Adapter.Update(dataSet, "AnagTipoDelibere"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_CodTipoDelibera, string Original_DescDelibera, string Original_CodEvento) { + if ((Original_CodTipoDelibera == null)) { + throw new global::System.ArgumentNullException("Original_CodTipoDelibera"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodTipoDelibera)); + } + if ((Original_DescDelibera == null)) { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_DescDelibera)); + } + if ((Original_CodEvento == null)) { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_CodEvento)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string CodTipoDelibera, string DescDelibera, string CodEvento) { + if ((CodTipoDelibera == null)) { + throw new global::System.ArgumentNullException("CodTipoDelibera"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodTipoDelibera)); + } + if ((DescDelibera == null)) { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(DescDelibera)); + } + if ((CodEvento == null)) { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(CodEvento)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string CodTipoDelibera, string DescDelibera, string CodEvento, string Original_CodTipoDelibera, string Original_DescDelibera, string Original_CodEvento) { + if ((CodTipoDelibera == null)) { + throw new global::System.ArgumentNullException("CodTipoDelibera"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodTipoDelibera)); + } + if ((DescDelibera == null)) { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(DescDelibera)); + } + if ((CodEvento == null)) { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(CodEvento)); + } + if ((Original_CodTipoDelibera == null)) { + throw new global::System.ArgumentNullException("Original_CodTipoDelibera"); + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Original_CodTipoDelibera)); + } + if ((Original_DescDelibera == null)) { + this.Adapter.UpdateCommand.Parameters[4].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Original_DescDelibera)); + } + if ((Original_CodEvento == null)) { + this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Original_CodEvento)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string DescDelibera, string CodEvento, string Original_CodTipoDelibera, string Original_DescDelibera, string Original_CodEvento) { + return this.Update(Original_CodTipoDelibera, DescDelibera, CodEvento, Original_CodTipoDelibera, Original_DescDelibera, Original_CodEvento); + } + } + + /// + ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios + /// + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" + + "esigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")] + public partial class TableAdapterManager : global::System.ComponentModel.Component { + + private UpdateOrderOption _updateOrder; + + private DelibereTableAdapter _delibereTableAdapter; + + private AnagTipoEventoTableAdapter _anagTipoEventoTableAdapter; + + private TabTranPosizEventiTableAdapter _tabTranPosizEventiTableAdapter; + + private AnagPosizioniTableAdapter _anagPosizioniTableAdapter; + + private AnagTipoDelibereTableAdapter _anagTipoDelibereTableAdapter; + + private bool _backupDataSetBeforeUpdate; + + private global::System.Data.IDbConnection _connection; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public UpdateOrderOption UpdateOrder { + get { + return this._updateOrder; + } + set { + this._updateOrder = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public DelibereTableAdapter DelibereTableAdapter { + get { + return this._delibereTableAdapter; + } + set { + this._delibereTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public AnagTipoEventoTableAdapter AnagTipoEventoTableAdapter { + get { + return this._anagTipoEventoTableAdapter; + } + set { + this._anagTipoEventoTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public TabTranPosizEventiTableAdapter TabTranPosizEventiTableAdapter { + get { + return this._tabTranPosizEventiTableAdapter; + } + set { + this._tabTranPosizEventiTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public AnagPosizioniTableAdapter AnagPosizioniTableAdapter { + get { + return this._anagPosizioniTableAdapter; + } + set { + this._anagPosizioniTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public AnagTipoDelibereTableAdapter AnagTipoDelibereTableAdapter { + get { + return this._anagTipoDelibereTableAdapter; + } + set { + this._anagTipoDelibereTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool BackupDataSetBeforeUpdate { + get { + return this._backupDataSetBeforeUpdate; + } + set { + this._backupDataSetBeforeUpdate = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public global::System.Data.IDbConnection Connection { + get { + if ((this._connection != null)) { + return this._connection; + } + if (((this._delibereTableAdapter != null) + && (this._delibereTableAdapter.Connection != null))) { + return this._delibereTableAdapter.Connection; + } + if (((this._anagTipoEventoTableAdapter != null) + && (this._anagTipoEventoTableAdapter.Connection != null))) { + return this._anagTipoEventoTableAdapter.Connection; + } + if (((this._tabTranPosizEventiTableAdapter != null) + && (this._tabTranPosizEventiTableAdapter.Connection != null))) { + return this._tabTranPosizEventiTableAdapter.Connection; + } + if (((this._anagPosizioniTableAdapter != null) + && (this._anagPosizioniTableAdapter.Connection != null))) { + return this._anagPosizioniTableAdapter.Connection; + } + if (((this._anagTipoDelibereTableAdapter != null) + && (this._anagTipoDelibereTableAdapter.Connection != null))) { + return this._anagTipoDelibereTableAdapter.Connection; + } + return null; + } + set { + this._connection = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int TableAdapterInstanceCount { + get { + int count = 0; + if ((this._delibereTableAdapter != null)) { + count = (count + 1); + } + if ((this._anagTipoEventoTableAdapter != null)) { + count = (count + 1); + } + if ((this._tabTranPosizEventiTableAdapter != null)) { + count = (count + 1); + } + if ((this._anagPosizioniTableAdapter != null)) { + count = (count + 1); + } + if ((this._anagTipoDelibereTableAdapter != null)) { + count = (count + 1); + } + return count; + } + } + + /// + ///Update rows in top-down order. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private int UpdateUpdatedRows(DS_SM dataSet, global::System.Collections.Generic.List allChangedRows, global::System.Collections.Generic.List allAddedRows) { + int result = 0; + if ((this._anagTipoEventoTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.AnagTipoEvento.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._anagTipoEventoTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._anagPosizioniTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.AnagPosizioni.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._anagPosizioniTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._anagTipoDelibereTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.AnagTipoDelibere.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._anagTipoDelibereTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._delibereTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.Delibere.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._delibereTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._tabTranPosizEventiTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.TabTranPosizEventi.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._tabTranPosizEventiTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + return result; + } + + /// + ///Insert rows in top-down order. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private int UpdateInsertedRows(DS_SM dataSet, global::System.Collections.Generic.List allAddedRows) { + int result = 0; + if ((this._anagTipoEventoTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.AnagTipoEvento.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._anagTipoEventoTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._anagPosizioniTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.AnagPosizioni.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._anagPosizioniTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._anagTipoDelibereTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.AnagTipoDelibere.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._anagTipoDelibereTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._delibereTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.Delibere.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._delibereTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._tabTranPosizEventiTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.TabTranPosizEventi.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._tabTranPosizEventiTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + return result; + } + + /// + ///Delete rows in bottom-up order. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private int UpdateDeletedRows(DS_SM dataSet, global::System.Collections.Generic.List allChangedRows) { + int result = 0; + if ((this._tabTranPosizEventiTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.TabTranPosizEventi.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._tabTranPosizEventiTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._delibereTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.Delibere.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._delibereTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._anagTipoDelibereTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.AnagTipoDelibere.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._anagTipoDelibereTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._anagPosizioniTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.AnagPosizioni.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._anagPosizioniTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._anagTipoEventoTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.AnagTipoEvento.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._anagTipoEventoTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + return result; + } + + /// + ///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private global::System.Data.DataRow[] GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List allAddedRows) { + if (((updatedRows == null) + || (updatedRows.Length < 1))) { + return updatedRows; + } + if (((allAddedRows == null) + || (allAddedRows.Count < 1))) { + return updatedRows; + } + global::System.Collections.Generic.List realUpdatedRows = new global::System.Collections.Generic.List(); + for (int i = 0; (i < updatedRows.Length); i = (i + 1)) { + global::System.Data.DataRow row = updatedRows[i]; + if ((allAddedRows.Contains(row) == false)) { + realUpdatedRows.Add(row); + } + } + return realUpdatedRows.ToArray(); + } + + /// + ///Update all changes to the dataset. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public virtual int UpdateAll(DS_SM dataSet) { + if ((dataSet == null)) { + throw new global::System.ArgumentNullException("dataSet"); + } + if ((dataSet.HasChanges() == false)) { + return 0; + } + if (((this._delibereTableAdapter != null) + && (this.MatchTableAdapterConnection(this._delibereTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._anagTipoEventoTableAdapter != null) + && (this.MatchTableAdapterConnection(this._anagTipoEventoTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._tabTranPosizEventiTableAdapter != null) + && (this.MatchTableAdapterConnection(this._tabTranPosizEventiTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._anagPosizioniTableAdapter != null) + && (this.MatchTableAdapterConnection(this._anagPosizioniTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._anagTipoDelibereTableAdapter != null) + && (this.MatchTableAdapterConnection(this._anagTipoDelibereTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + global::System.Data.IDbConnection workConnection = this.Connection; + if ((workConnection == null)) { + throw new global::System.ApplicationException("TableAdapterManager contains no connection information. Set each TableAdapterMana" + + "ger TableAdapter property to a valid TableAdapter instance."); + } + bool workConnOpened = false; + if (((workConnection.State & global::System.Data.ConnectionState.Broken) + == global::System.Data.ConnectionState.Broken)) { + workConnection.Close(); + } + if ((workConnection.State == global::System.Data.ConnectionState.Closed)) { + workConnection.Open(); + workConnOpened = true; + } + global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction(); + if ((workTransaction == null)) { + throw new global::System.ApplicationException("The transaction cannot begin. The current data connection does not support transa" + + "ctions or the current state is not allowing the transaction to begin."); + } + global::System.Collections.Generic.List allChangedRows = new global::System.Collections.Generic.List(); + global::System.Collections.Generic.List allAddedRows = new global::System.Collections.Generic.List(); + global::System.Collections.Generic.List adaptersWithAcceptChangesDuringUpdate = new global::System.Collections.Generic.List(); + global::System.Collections.Generic.Dictionary revertConnections = new global::System.Collections.Generic.Dictionary(); + int result = 0; + global::System.Data.DataSet backupDataSet = null; + if (this.BackupDataSetBeforeUpdate) { + backupDataSet = new global::System.Data.DataSet(); + backupDataSet.Merge(dataSet); + } + try { + // ---- Prepare for update ----------- + // + if ((this._delibereTableAdapter != null)) { + revertConnections.Add(this._delibereTableAdapter, this._delibereTableAdapter.Connection); + this._delibereTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._delibereTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._delibereTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._delibereTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._delibereTableAdapter.Adapter); + } + } + if ((this._anagTipoEventoTableAdapter != null)) { + revertConnections.Add(this._anagTipoEventoTableAdapter, this._anagTipoEventoTableAdapter.Connection); + this._anagTipoEventoTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._anagTipoEventoTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._anagTipoEventoTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._anagTipoEventoTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._anagTipoEventoTableAdapter.Adapter); + } + } + if ((this._tabTranPosizEventiTableAdapter != null)) { + revertConnections.Add(this._tabTranPosizEventiTableAdapter, this._tabTranPosizEventiTableAdapter.Connection); + this._tabTranPosizEventiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._tabTranPosizEventiTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._tabTranPosizEventiTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._tabTranPosizEventiTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._tabTranPosizEventiTableAdapter.Adapter); + } + } + if ((this._anagPosizioniTableAdapter != null)) { + revertConnections.Add(this._anagPosizioniTableAdapter, this._anagPosizioniTableAdapter.Connection); + this._anagPosizioniTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._anagPosizioniTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._anagPosizioniTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._anagPosizioniTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._anagPosizioniTableAdapter.Adapter); + } + } + if ((this._anagTipoDelibereTableAdapter != null)) { + revertConnections.Add(this._anagTipoDelibereTableAdapter, this._anagTipoDelibereTableAdapter.Connection); + this._anagTipoDelibereTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._anagTipoDelibereTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._anagTipoDelibereTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._anagTipoDelibereTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._anagTipoDelibereTableAdapter.Adapter); + } + } + // + //---- Perform updates ----------- + // + if ((this.UpdateOrder == UpdateOrderOption.UpdateInsertDelete)) { + result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows)); + result = (result + this.UpdateInsertedRows(dataSet, allAddedRows)); + } + else { + result = (result + this.UpdateInsertedRows(dataSet, allAddedRows)); + result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows)); + } + result = (result + this.UpdateDeletedRows(dataSet, allChangedRows)); + // + //---- Commit updates ----------- + // + workTransaction.Commit(); + if ((0 < allAddedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count]; + allAddedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + } + } + if ((0 < allChangedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allChangedRows.Count]; + allChangedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + } + } + } + catch (global::System.Exception ex) { + workTransaction.Rollback(); + // ---- Restore the dataset ----------- + if (this.BackupDataSetBeforeUpdate) { + global::System.Diagnostics.Debug.Assert((backupDataSet != null)); + dataSet.Clear(); + dataSet.Merge(backupDataSet); + } + else { + if ((0 < allAddedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count]; + allAddedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + row.SetAdded(); + } + } + } + throw ex; + } + finally { + if (workConnOpened) { + workConnection.Close(); + } + if ((this._delibereTableAdapter != null)) { + this._delibereTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._delibereTableAdapter])); + this._delibereTableAdapter.Transaction = null; + } + if ((this._anagTipoEventoTableAdapter != null)) { + this._anagTipoEventoTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagTipoEventoTableAdapter])); + this._anagTipoEventoTableAdapter.Transaction = null; + } + if ((this._tabTranPosizEventiTableAdapter != null)) { + this._tabTranPosizEventiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._tabTranPosizEventiTableAdapter])); + this._tabTranPosizEventiTableAdapter.Transaction = null; + } + if ((this._anagPosizioniTableAdapter != null)) { + this._anagPosizioniTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagPosizioniTableAdapter])); + this._anagPosizioniTableAdapter.Transaction = null; + } + if ((this._anagTipoDelibereTableAdapter != null)) { + this._anagTipoDelibereTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagTipoDelibereTableAdapter])); + this._anagTipoDelibereTableAdapter.Transaction = null; + } + if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) { + global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count]; + adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters); + for (int i = 0; (i < adapters.Length); i = (i + 1)) { + global::System.Data.Common.DataAdapter adapter = adapters[i]; + adapter.AcceptChangesDuringUpdate = true; + } + } + } + return result; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected virtual void SortSelfReferenceRows(global::System.Data.DataRow[] rows, global::System.Data.DataRelation relation, bool childFirst) { + global::System.Array.Sort(rows, new SelfReferenceComparer(relation, childFirst)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected virtual bool MatchTableAdapterConnection(global::System.Data.IDbConnection inputConnection) { + if ((this._connection != null)) { + return true; + } + if (((this.Connection == null) + || (inputConnection == null))) { + return true; + } + if (string.Equals(this.Connection.ConnectionString, inputConnection.ConnectionString, global::System.StringComparison.Ordinal)) { + return true; + } + return false; + } + + /// + ///Update Order Option + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public enum UpdateOrderOption { + + InsertUpdateDelete = 0, + + UpdateInsertDelete = 1, + } + + /// + ///Used to sort self-referenced table's rows + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private class SelfReferenceComparer : object, global::System.Collections.Generic.IComparer { + + private global::System.Data.DataRelation _relation; + + private int _childFirst; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal SelfReferenceComparer(global::System.Data.DataRelation relation, bool childFirst) { + this._relation = relation; + if (childFirst) { + this._childFirst = -1; + } + else { + this._childFirst = 1; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private global::System.Data.DataRow GetRoot(global::System.Data.DataRow row, out int distance) { + global::System.Diagnostics.Debug.Assert((row != null)); + global::System.Data.DataRow root = row; + distance = 0; + + global::System.Collections.Generic.IDictionary traversedRows = new global::System.Collections.Generic.Dictionary(); + traversedRows[row] = row; + + global::System.Data.DataRow parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default); + for ( + ; ((parent != null) + && (traversedRows.ContainsKey(parent) == false)); + ) { + distance = (distance + 1); + root = parent; + traversedRows[parent] = parent; + parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default); + } + + if ((distance == 0)) { + traversedRows.Clear(); + traversedRows[row] = row; + parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original); + for ( + ; ((parent != null) + && (traversedRows.ContainsKey(parent) == false)); + ) { + distance = (distance + 1); + root = parent; + traversedRows[parent] = parent; + parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original); + } + } + + return root; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int Compare(global::System.Data.DataRow row1, global::System.Data.DataRow row2) { + if (object.ReferenceEquals(row1, row2)) { + return 0; + } + if ((row1 == null)) { + return -1; + } + if ((row2 == null)) { + return 1; + } + + int distance1 = 0; + global::System.Data.DataRow root1 = this.GetRoot(row1, out distance1); + + int distance2 = 0; + global::System.Data.DataRow root2 = this.GetRoot(row2, out distance2); + + if (object.ReferenceEquals(root1, root2)) { + return (this._childFirst * distance1.CompareTo(distance2)); + } + else { + global::System.Diagnostics.Debug.Assert(((root1.Table != null) + && (root2.Table != null))); + if ((root1.Table.Rows.IndexOf(root1) < root2.Table.Rows.IndexOf(root2))) { + return -1; + } + else { + return 1; + } + } + } + } + } +} + +#pragma warning restore 1591 \ No newline at end of file diff --git a/GMW_data/DS_SM.xsc b/GMW_data/DS_SM.xsc new file mode 100644 index 00000000..551fc56f --- /dev/null +++ b/GMW_data/DS_SM.xsc @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/GMW_data/DS_SM.xsd b/GMW_data/DS_SM.xsd new file mode 100644 index 00000000..8fdceae6 --- /dev/null +++ b/GMW_data/DS_SM.xsd @@ -0,0 +1,469 @@ + + + + + + + + + + + + + + + DELETE FROM [dbo].[Delibere] WHERE (([CodTipoDelibera] = @Original_CodTipoDelibera) AND ([UDC] = @Original_UDC) AND ([DataDelibera] = @Original_DataDelibera) AND ([CodSoggetto] = @Original_CodSoggetto)) + + + + + + + + + + + INSERT INTO [dbo].[Delibere] ([CodTipoDelibera], [UDC], [DataDelibera], [CodSoggetto]) VALUES (@CodTipoDelibera, @UDC, @DataDelibera, @CodSoggetto); +SELECT CodTipoDelibera, UDC, DataDelibera, CodSoggetto FROM Delibere WHERE (CodTipoDelibera = @CodTipoDelibera) AND (UDC = @UDC) + + + + + + + + + + + SELECT CodTipoDelibera, UDC, DataDelibera, CodSoggetto FROM dbo.Delibere + + + + + + UPDATE [dbo].[Delibere] SET [CodTipoDelibera] = @CodTipoDelibera, [UDC] = @UDC, [DataDelibera] = @DataDelibera, [CodSoggetto] = @CodSoggetto WHERE (([CodTipoDelibera] = @Original_CodTipoDelibera) AND ([UDC] = @Original_UDC) AND ([DataDelibera] = @Original_DataDelibera) AND ([CodSoggetto] = @Original_CodSoggetto)); +SELECT CodTipoDelibera, UDC, DataDelibera, CodSoggetto FROM Delibere WHERE (CodTipoDelibera = @CodTipoDelibera) AND (UDC = @UDC) + + + + + + + + + + + + + + + + + + + + + + + + + + + + DELETE FROM [dbo].[AnagTipoEvento] WHERE (([CodEvento] = @Original_CodEvento) AND ((@IsNull_DescEvento = 1 AND [DescEvento] IS NULL) OR ([DescEvento] = @Original_DescEvento))) + + + + + + + + + + INSERT INTO [dbo].[AnagTipoEvento] ([CodEvento], [DescEvento]) VALUES (@CodEvento, @DescEvento); +SELECT CodEvento, DescEvento FROM AnagTipoEvento WHERE (CodEvento = @CodEvento) + + + + + + + + + SELECT CodEvento, DescEvento FROM dbo.AnagTipoEvento + + + + + + UPDATE [dbo].[AnagTipoEvento] SET [CodEvento] = @CodEvento, [DescEvento] = @DescEvento WHERE (([CodEvento] = @Original_CodEvento) AND ((@IsNull_DescEvento = 1 AND [DescEvento] IS NULL) OR ([DescEvento] = @Original_DescEvento))); +SELECT CodEvento, DescEvento FROM AnagTipoEvento WHERE (CodEvento = @CodEvento) + + + + + + + + + + + + + + + + + + + + + + + DELETE FROM [TabTranPosizEventi] WHERE (([CodEvento] = @Original_CodEvento) AND ([IdxPosizione] = @Original_IdxPosizione) AND ((@IsNull_IdxPosizioneTo = 1 AND [IdxPosizioneTo] IS NULL) OR ([IdxPosizioneTo] = @Original_IdxPosizioneTo)) AND ((@IsNull_IdxBloccoTo = 1 AND [IdxBloccoTo] IS NULL) OR ([IdxBloccoTo] = @Original_IdxBloccoTo))) + + + + + + + + + + + + + INSERT INTO [TabTranPosizEventi] ([CodEvento], [IdxPosizione], [IdxPosizioneTo], [IdxBloccoTo]) VALUES (@CodEvento, @IdxPosizione, @IdxPosizioneTo, @IdxBloccoTo); +SELECT CodEvento, IdxPosizione, IdxPosizioneTo, IdxBloccoTo FROM TabTranPosizEventi WHERE (CodEvento = @CodEvento) AND (IdxPosizione = @IdxPosizione) + + + + + + + + + + + SELECT CodEvento, IdxPosizione, IdxPosizioneTo, IdxBloccoTo FROM TabTranPosizEventi + + + + + + UPDATE [TabTranPosizEventi] SET [CodEvento] = @CodEvento, [IdxPosizione] = @IdxPosizione, [IdxPosizioneTo] = @IdxPosizioneTo, [IdxBloccoTo] = @IdxBloccoTo WHERE (([CodEvento] = @Original_CodEvento) AND ([IdxPosizione] = @Original_IdxPosizione) AND ((@IsNull_IdxPosizioneTo = 1 AND [IdxPosizioneTo] IS NULL) OR ([IdxPosizioneTo] = @Original_IdxPosizioneTo)) AND ((@IsNull_IdxBloccoTo = 1 AND [IdxBloccoTo] IS NULL) OR ([IdxBloccoTo] = @Original_IdxBloccoTo))); +SELECT CodEvento, IdxPosizione, IdxPosizioneTo, IdxBloccoTo FROM TabTranPosizEventi WHERE (CodEvento = @CodEvento) AND (IdxPosizione = @IdxPosizione) + + + + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_TTPE_getByCodEvento + + + + + + + + + + + dbo.stp_TTPE_getByCodEventoPosizione + + + + + + + + + + + + + + + + DELETE FROM [dbo].[AnagPosizioni] WHERE (([IdxPosizione] = @Original_IdxPosizione) AND ((@IsNull_DescPosizione = 1 AND [DescPosizione] IS NULL) OR ([DescPosizione] = @Original_DescPosizione))) + + + + + + + + + + INSERT INTO [dbo].[AnagPosizioni] ([IdxPosizione], [DescPosizione]) VALUES (@IdxPosizione, @DescPosizione); +SELECT IdxPosizione, DescPosizione FROM AnagPosizioni WHERE (IdxPosizione = @IdxPosizione) + + + + + + + + + SELECT IdxPosizione, DescPosizione FROM dbo.AnagPosizioni + + + + + + UPDATE [dbo].[AnagPosizioni] SET [IdxPosizione] = @IdxPosizione, [DescPosizione] = @DescPosizione WHERE (([IdxPosizione] = @Original_IdxPosizione) AND ((@IsNull_DescPosizione = 1 AND [DescPosizione] IS NULL) OR ([DescPosizione] = @Original_DescPosizione))); +SELECT IdxPosizione, DescPosizione FROM AnagPosizioni WHERE (IdxPosizione = @IdxPosizione) + + + + + + + + + + + + + + + + + + + + + + + DELETE FROM [dbo].[AnagTipoDelibere] WHERE (([CodTipoDelibera] = @Original_CodTipoDelibera) AND ((@IsNull_DescDelibera = 1 AND [DescDelibera] IS NULL) OR ([DescDelibera] = @Original_DescDelibera)) AND ((@IsNull_CodEvento = 1 AND [CodEvento] IS NULL) OR ([CodEvento] = @Original_CodEvento))) + + + + + + + + + + + + INSERT INTO [dbo].[AnagTipoDelibere] ([CodTipoDelibera], [DescDelibera], [CodEvento]) VALUES (@CodTipoDelibera, @DescDelibera, @CodEvento); +SELECT CodTipoDelibera, DescDelibera, CodEvento FROM AnagTipoDelibere WHERE (CodTipoDelibera = @CodTipoDelibera) + + + + + + + + + + SELECT CodTipoDelibera, DescDelibera, CodEvento FROM dbo.AnagTipoDelibere + + + + + + UPDATE [dbo].[AnagTipoDelibere] SET [CodTipoDelibera] = @CodTipoDelibera, [DescDelibera] = @DescDelibera, [CodEvento] = @CodEvento WHERE (([CodTipoDelibera] = @Original_CodTipoDelibera) AND ((@IsNull_DescDelibera = 1 AND [DescDelibera] IS NULL) OR ([DescDelibera] = @Original_DescDelibera)) AND ((@IsNull_CodEvento = 1 AND [CodEvento] IS NULL) OR ([CodEvento] = @Original_CodEvento))); +SELECT CodTipoDelibera, DescDelibera, CodEvento FROM AnagTipoDelibere WHERE (CodTipoDelibera = @CodTipoDelibera) + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_ATD_getByKey + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/GMW_data/DS_SM.xss b/GMW_data/DS_SM.xss new file mode 100644 index 00000000..518db169 --- /dev/null +++ b/GMW_data/DS_SM.xss @@ -0,0 +1,65 @@ + + + + + + + + + + + + + + + 1013 + 254 + + + 1013 + 374 + + + + + + + 740 + 438 + + + 874 + 438 + + + + + + + 526 + 190 + + + 356 + 190 + + + + + + + 884 + 182 + + + 776 + 182 + + + + + \ No newline at end of file diff --git a/GMW_data/DS_Utility.Designer.cs b/GMW_data/DS_Utility.Designer.cs new file mode 100644 index 00000000..6eebf14c --- /dev/null +++ b/GMW_data/DS_Utility.Designer.cs @@ -0,0 +1,10967 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.17626 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +#pragma warning disable 1591 + +namespace GMW_data { + + + /// + ///Represents a strongly typed in-memory cache of data. + /// + [global::System.Serializable()] + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")] + [global::System.Xml.Serialization.XmlRootAttribute("DS_Utility")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")] + public partial class DS_Utility : global::System.Data.DataSet { + + private v_selMagDataTable tablev_selMag; + + private v_selBloccoDataTable tablev_selBlocco; + + private v_selTipoCellaDataTable tablev_selTipoCella; + + private stp_getImpiantiByCodCSDataTable tablestp_getImpiantiByCodCS; + + private STPDataTable tableSTP; + + private v_selPeriodiTradDataTable tablev_selPeriodiTrad; + + private v_selStatiListeDataTable tablev_selStatiListe; + + private v_selTipoListaDataTable tablev_selTipoLista; + + private v_selUdcByPartDataTable tablev_selUdcByPart; + + private v_selTipoDeliberaDataTable tablev_selTipoDelibera; + + private stp_ricercaFullTerminalinoDataTable tablestp_ricercaFullTerminalino; + + private v_selMagLogicoDataTable tablev_selMagLogico; + + private v_selDestinatariListePrelievoDataTable tablev_selDestinatariListePrelievo; + + private AS400_ComandiDataTable tableAS400_Comandi; + + private v_selParticolariDataTable tablev_selParticolari; + + private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public DS_Utility() { + this.BeginInit(); + this.InitClass(); + global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); + base.Tables.CollectionChanged += schemaChangedHandler; + base.Relations.CollectionChanged += schemaChangedHandler; + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected DS_Utility(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context, false) { + if ((this.IsBinarySerialized(info, context) == true)) { + this.InitVars(false); + global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); + this.Tables.CollectionChanged += schemaChangedHandler1; + this.Relations.CollectionChanged += schemaChangedHandler1; + return; + } + string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string)))); + if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { + global::System.Data.DataSet ds = new global::System.Data.DataSet(); + ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); + if ((ds.Tables["v_selMag"] != null)) { + base.Tables.Add(new v_selMagDataTable(ds.Tables["v_selMag"])); + } + if ((ds.Tables["v_selBlocco"] != null)) { + base.Tables.Add(new v_selBloccoDataTable(ds.Tables["v_selBlocco"])); + } + if ((ds.Tables["v_selTipoCella"] != null)) { + base.Tables.Add(new v_selTipoCellaDataTable(ds.Tables["v_selTipoCella"])); + } + if ((ds.Tables["stp_getImpiantiByCodCS"] != null)) { + base.Tables.Add(new stp_getImpiantiByCodCSDataTable(ds.Tables["stp_getImpiantiByCodCS"])); + } + if ((ds.Tables["STP"] != null)) { + base.Tables.Add(new STPDataTable(ds.Tables["STP"])); + } + if ((ds.Tables["v_selPeriodiTrad"] != null)) { + base.Tables.Add(new v_selPeriodiTradDataTable(ds.Tables["v_selPeriodiTrad"])); + } + if ((ds.Tables["v_selStatiListe"] != null)) { + base.Tables.Add(new v_selStatiListeDataTable(ds.Tables["v_selStatiListe"])); + } + if ((ds.Tables["v_selTipoLista"] != null)) { + base.Tables.Add(new v_selTipoListaDataTable(ds.Tables["v_selTipoLista"])); + } + if ((ds.Tables["v_selUdcByPart"] != null)) { + base.Tables.Add(new v_selUdcByPartDataTable(ds.Tables["v_selUdcByPart"])); + } + if ((ds.Tables["v_selTipoDelibera"] != null)) { + base.Tables.Add(new v_selTipoDeliberaDataTable(ds.Tables["v_selTipoDelibera"])); + } + if ((ds.Tables["stp_ricercaFullTerminalino"] != null)) { + base.Tables.Add(new stp_ricercaFullTerminalinoDataTable(ds.Tables["stp_ricercaFullTerminalino"])); + } + if ((ds.Tables["v_selMagLogico"] != null)) { + base.Tables.Add(new v_selMagLogicoDataTable(ds.Tables["v_selMagLogico"])); + } + if ((ds.Tables["v_selDestinatariListePrelievo"] != null)) { + base.Tables.Add(new v_selDestinatariListePrelievoDataTable(ds.Tables["v_selDestinatariListePrelievo"])); + } + if ((ds.Tables["AS400_Comandi"] != null)) { + base.Tables.Add(new AS400_ComandiDataTable(ds.Tables["AS400_Comandi"])); + } + if ((ds.Tables["v_selParticolari"] != null)) { + base.Tables.Add(new v_selParticolariDataTable(ds.Tables["v_selParticolari"])); + } + this.DataSetName = ds.DataSetName; + this.Prefix = ds.Prefix; + this.Namespace = ds.Namespace; + this.Locale = ds.Locale; + this.CaseSensitive = ds.CaseSensitive; + this.EnforceConstraints = ds.EnforceConstraints; + this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add); + this.InitVars(); + } + else { + this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); + } + this.GetSerializationData(info, context); + global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); + base.Tables.CollectionChanged += schemaChangedHandler; + this.Relations.CollectionChanged += schemaChangedHandler; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_selMagDataTable v_selMag { + get { + return this.tablev_selMag; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_selBloccoDataTable v_selBlocco { + get { + return this.tablev_selBlocco; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_selTipoCellaDataTable v_selTipoCella { + get { + return this.tablev_selTipoCella; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public stp_getImpiantiByCodCSDataTable stp_getImpiantiByCodCS { + get { + return this.tablestp_getImpiantiByCodCS; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public STPDataTable STP { + get { + return this.tableSTP; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_selPeriodiTradDataTable v_selPeriodiTrad { + get { + return this.tablev_selPeriodiTrad; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_selStatiListeDataTable v_selStatiListe { + get { + return this.tablev_selStatiListe; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_selTipoListaDataTable v_selTipoLista { + get { + return this.tablev_selTipoLista; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_selUdcByPartDataTable v_selUdcByPart { + get { + return this.tablev_selUdcByPart; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_selTipoDeliberaDataTable v_selTipoDelibera { + get { + return this.tablev_selTipoDelibera; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public stp_ricercaFullTerminalinoDataTable stp_ricercaFullTerminalino { + get { + return this.tablestp_ricercaFullTerminalino; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_selMagLogicoDataTable v_selMagLogico { + get { + return this.tablev_selMagLogico; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_selDestinatariListePrelievoDataTable v_selDestinatariListePrelievo { + get { + return this.tablev_selDestinatariListePrelievo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public AS400_ComandiDataTable AS400_Comandi { + get { + return this.tableAS400_Comandi; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_selParticolariDataTable v_selParticolari { + get { + return this.tablev_selParticolari; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.BrowsableAttribute(true)] + [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)] + public override global::System.Data.SchemaSerializationMode SchemaSerializationMode { + get { + return this._schemaSerializationMode; + } + set { + this._schemaSerializationMode = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public new global::System.Data.DataTableCollection Tables { + get { + return base.Tables; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public new global::System.Data.DataRelationCollection Relations { + get { + return base.Relations; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void InitializeDerivedDataSet() { + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataSet Clone() { + DS_Utility cln = ((DS_Utility)(base.Clone())); + cln.InitVars(); + cln.SchemaSerializationMode = this.SchemaSerializationMode; + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override bool ShouldSerializeTables() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override bool ShouldSerializeRelations() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) { + if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { + this.Reset(); + global::System.Data.DataSet ds = new global::System.Data.DataSet(); + ds.ReadXml(reader); + if ((ds.Tables["v_selMag"] != null)) { + base.Tables.Add(new v_selMagDataTable(ds.Tables["v_selMag"])); + } + if ((ds.Tables["v_selBlocco"] != null)) { + base.Tables.Add(new v_selBloccoDataTable(ds.Tables["v_selBlocco"])); + } + if ((ds.Tables["v_selTipoCella"] != null)) { + base.Tables.Add(new v_selTipoCellaDataTable(ds.Tables["v_selTipoCella"])); + } + if ((ds.Tables["stp_getImpiantiByCodCS"] != null)) { + base.Tables.Add(new stp_getImpiantiByCodCSDataTable(ds.Tables["stp_getImpiantiByCodCS"])); + } + if ((ds.Tables["STP"] != null)) { + base.Tables.Add(new STPDataTable(ds.Tables["STP"])); + } + if ((ds.Tables["v_selPeriodiTrad"] != null)) { + base.Tables.Add(new v_selPeriodiTradDataTable(ds.Tables["v_selPeriodiTrad"])); + } + if ((ds.Tables["v_selStatiListe"] != null)) { + base.Tables.Add(new v_selStatiListeDataTable(ds.Tables["v_selStatiListe"])); + } + if ((ds.Tables["v_selTipoLista"] != null)) { + base.Tables.Add(new v_selTipoListaDataTable(ds.Tables["v_selTipoLista"])); + } + if ((ds.Tables["v_selUdcByPart"] != null)) { + base.Tables.Add(new v_selUdcByPartDataTable(ds.Tables["v_selUdcByPart"])); + } + if ((ds.Tables["v_selTipoDelibera"] != null)) { + base.Tables.Add(new v_selTipoDeliberaDataTable(ds.Tables["v_selTipoDelibera"])); + } + if ((ds.Tables["stp_ricercaFullTerminalino"] != null)) { + base.Tables.Add(new stp_ricercaFullTerminalinoDataTable(ds.Tables["stp_ricercaFullTerminalino"])); + } + if ((ds.Tables["v_selMagLogico"] != null)) { + base.Tables.Add(new v_selMagLogicoDataTable(ds.Tables["v_selMagLogico"])); + } + if ((ds.Tables["v_selDestinatariListePrelievo"] != null)) { + base.Tables.Add(new v_selDestinatariListePrelievoDataTable(ds.Tables["v_selDestinatariListePrelievo"])); + } + if ((ds.Tables["AS400_Comandi"] != null)) { + base.Tables.Add(new AS400_ComandiDataTable(ds.Tables["AS400_Comandi"])); + } + if ((ds.Tables["v_selParticolari"] != null)) { + base.Tables.Add(new v_selParticolariDataTable(ds.Tables["v_selParticolari"])); + } + this.DataSetName = ds.DataSetName; + this.Prefix = ds.Prefix; + this.Namespace = ds.Namespace; + this.Locale = ds.Locale; + this.CaseSensitive = ds.CaseSensitive; + this.EnforceConstraints = ds.EnforceConstraints; + this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add); + this.InitVars(); + } + else { + this.ReadXml(reader); + this.InitVars(); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() { + global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream(); + this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null)); + stream.Position = 0; + return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.InitVars(true); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars(bool initTable) { + this.tablev_selMag = ((v_selMagDataTable)(base.Tables["v_selMag"])); + if ((initTable == true)) { + if ((this.tablev_selMag != null)) { + this.tablev_selMag.InitVars(); + } + } + this.tablev_selBlocco = ((v_selBloccoDataTable)(base.Tables["v_selBlocco"])); + if ((initTable == true)) { + if ((this.tablev_selBlocco != null)) { + this.tablev_selBlocco.InitVars(); + } + } + this.tablev_selTipoCella = ((v_selTipoCellaDataTable)(base.Tables["v_selTipoCella"])); + if ((initTable == true)) { + if ((this.tablev_selTipoCella != null)) { + this.tablev_selTipoCella.InitVars(); + } + } + this.tablestp_getImpiantiByCodCS = ((stp_getImpiantiByCodCSDataTable)(base.Tables["stp_getImpiantiByCodCS"])); + if ((initTable == true)) { + if ((this.tablestp_getImpiantiByCodCS != null)) { + this.tablestp_getImpiantiByCodCS.InitVars(); + } + } + this.tableSTP = ((STPDataTable)(base.Tables["STP"])); + if ((initTable == true)) { + if ((this.tableSTP != null)) { + this.tableSTP.InitVars(); + } + } + this.tablev_selPeriodiTrad = ((v_selPeriodiTradDataTable)(base.Tables["v_selPeriodiTrad"])); + if ((initTable == true)) { + if ((this.tablev_selPeriodiTrad != null)) { + this.tablev_selPeriodiTrad.InitVars(); + } + } + this.tablev_selStatiListe = ((v_selStatiListeDataTable)(base.Tables["v_selStatiListe"])); + if ((initTable == true)) { + if ((this.tablev_selStatiListe != null)) { + this.tablev_selStatiListe.InitVars(); + } + } + this.tablev_selTipoLista = ((v_selTipoListaDataTable)(base.Tables["v_selTipoLista"])); + if ((initTable == true)) { + if ((this.tablev_selTipoLista != null)) { + this.tablev_selTipoLista.InitVars(); + } + } + this.tablev_selUdcByPart = ((v_selUdcByPartDataTable)(base.Tables["v_selUdcByPart"])); + if ((initTable == true)) { + if ((this.tablev_selUdcByPart != null)) { + this.tablev_selUdcByPart.InitVars(); + } + } + this.tablev_selTipoDelibera = ((v_selTipoDeliberaDataTable)(base.Tables["v_selTipoDelibera"])); + if ((initTable == true)) { + if ((this.tablev_selTipoDelibera != null)) { + this.tablev_selTipoDelibera.InitVars(); + } + } + this.tablestp_ricercaFullTerminalino = ((stp_ricercaFullTerminalinoDataTable)(base.Tables["stp_ricercaFullTerminalino"])); + if ((initTable == true)) { + if ((this.tablestp_ricercaFullTerminalino != null)) { + this.tablestp_ricercaFullTerminalino.InitVars(); + } + } + this.tablev_selMagLogico = ((v_selMagLogicoDataTable)(base.Tables["v_selMagLogico"])); + if ((initTable == true)) { + if ((this.tablev_selMagLogico != null)) { + this.tablev_selMagLogico.InitVars(); + } + } + this.tablev_selDestinatariListePrelievo = ((v_selDestinatariListePrelievoDataTable)(base.Tables["v_selDestinatariListePrelievo"])); + if ((initTable == true)) { + if ((this.tablev_selDestinatariListePrelievo != null)) { + this.tablev_selDestinatariListePrelievo.InitVars(); + } + } + this.tableAS400_Comandi = ((AS400_ComandiDataTable)(base.Tables["AS400_Comandi"])); + if ((initTable == true)) { + if ((this.tableAS400_Comandi != null)) { + this.tableAS400_Comandi.InitVars(); + } + } + this.tablev_selParticolari = ((v_selParticolariDataTable)(base.Tables["v_selParticolari"])); + if ((initTable == true)) { + if ((this.tablev_selParticolari != null)) { + this.tablev_selParticolari.InitVars(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.DataSetName = "DS_Utility"; + this.Prefix = ""; + this.Namespace = "http://tempuri.org/DS_Utility.xsd"; + this.EnforceConstraints = true; + this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; + this.tablev_selMag = new v_selMagDataTable(); + base.Tables.Add(this.tablev_selMag); + this.tablev_selBlocco = new v_selBloccoDataTable(); + base.Tables.Add(this.tablev_selBlocco); + this.tablev_selTipoCella = new v_selTipoCellaDataTable(); + base.Tables.Add(this.tablev_selTipoCella); + this.tablestp_getImpiantiByCodCS = new stp_getImpiantiByCodCSDataTable(); + base.Tables.Add(this.tablestp_getImpiantiByCodCS); + this.tableSTP = new STPDataTable(); + base.Tables.Add(this.tableSTP); + this.tablev_selPeriodiTrad = new v_selPeriodiTradDataTable(); + base.Tables.Add(this.tablev_selPeriodiTrad); + this.tablev_selStatiListe = new v_selStatiListeDataTable(); + base.Tables.Add(this.tablev_selStatiListe); + this.tablev_selTipoLista = new v_selTipoListaDataTable(); + base.Tables.Add(this.tablev_selTipoLista); + this.tablev_selUdcByPart = new v_selUdcByPartDataTable(); + base.Tables.Add(this.tablev_selUdcByPart); + this.tablev_selTipoDelibera = new v_selTipoDeliberaDataTable(); + base.Tables.Add(this.tablev_selTipoDelibera); + this.tablestp_ricercaFullTerminalino = new stp_ricercaFullTerminalinoDataTable(); + base.Tables.Add(this.tablestp_ricercaFullTerminalino); + this.tablev_selMagLogico = new v_selMagLogicoDataTable(); + base.Tables.Add(this.tablev_selMagLogico); + this.tablev_selDestinatariListePrelievo = new v_selDestinatariListePrelievoDataTable(); + base.Tables.Add(this.tablev_selDestinatariListePrelievo); + this.tableAS400_Comandi = new AS400_ComandiDataTable(); + base.Tables.Add(this.tableAS400_Comandi); + this.tablev_selParticolari = new v_selParticolariDataTable(); + base.Tables.Add(this.tablev_selParticolari); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializev_selMag() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializev_selBlocco() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializev_selTipoCella() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializestp_getImpiantiByCodCS() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeSTP() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializev_selPeriodiTrad() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializev_selStatiListe() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializev_selTipoLista() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializev_selUdcByPart() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializev_selTipoDelibera() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializestp_ricercaFullTerminalino() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializev_selMagLogico() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializev_selDestinatariListePrelievo() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeAS400_Comandi() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializev_selParticolari() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { + if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) { + this.InitVars(); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + DS_Utility ds = new DS_Utility(); + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny(); + any.Namespace = ds.Namespace; + sequence.Items.Add(any); + 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; + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void v_selMagRowChangeEventHandler(object sender, v_selMagRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void v_selBloccoRowChangeEventHandler(object sender, v_selBloccoRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void v_selTipoCellaRowChangeEventHandler(object sender, v_selTipoCellaRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void stp_getImpiantiByCodCSRowChangeEventHandler(object sender, stp_getImpiantiByCodCSRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void STPRowChangeEventHandler(object sender, STPRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void v_selPeriodiTradRowChangeEventHandler(object sender, v_selPeriodiTradRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void v_selStatiListeRowChangeEventHandler(object sender, v_selStatiListeRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void v_selTipoListaRowChangeEventHandler(object sender, v_selTipoListaRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void v_selUdcByPartRowChangeEventHandler(object sender, v_selUdcByPartRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void v_selTipoDeliberaRowChangeEventHandler(object sender, v_selTipoDeliberaRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void stp_ricercaFullTerminalinoRowChangeEventHandler(object sender, stp_ricercaFullTerminalinoRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void v_selMagLogicoRowChangeEventHandler(object sender, v_selMagLogicoRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void v_selDestinatariListePrelievoRowChangeEventHandler(object sender, v_selDestinatariListePrelievoRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void AS400_ComandiRowChangeEventHandler(object sender, AS400_ComandiRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void v_selParticolariRowChangeEventHandler(object sender, v_selParticolariRowChangeEvent e); + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_selMagDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnvalue; + + private global::System.Data.DataColumn columnlabel; + + private global::System.Data.DataColumn columnconditio; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selMagDataTable() { + this.TableName = "v_selMag"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_selMagDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected v_selMagDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn valueColumn { + get { + return this.columnvalue; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn labelColumn { + get { + return this.columnlabel; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn conditioColumn { + get { + return this.columnconditio; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selMagRow this[int index] { + get { + return ((v_selMagRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selMagRowChangeEventHandler v_selMagRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selMagRowChangeEventHandler v_selMagRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selMagRowChangeEventHandler v_selMagRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selMagRowChangeEventHandler v_selMagRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addv_selMagRow(v_selMagRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selMagRow Addv_selMagRow(string value, string label, string conditio) { + v_selMagRow rowv_selMagRow = ((v_selMagRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + value, + label, + conditio}; + rowv_selMagRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_selMagRow); + return rowv_selMagRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selMagRow FindByvalueconditio(string value, string conditio) { + return ((v_selMagRow)(this.Rows.Find(new object[] { + value, + conditio}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + v_selMagDataTable cln = ((v_selMagDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new v_selMagDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnvalue = base.Columns["value"]; + this.columnlabel = base.Columns["label"]; + this.columnconditio = base.Columns["conditio"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnvalue = new global::System.Data.DataColumn("value", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnvalue); + this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnlabel); + this.columnconditio = new global::System.Data.DataColumn("conditio", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnconditio); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnvalue, + this.columnconditio}, true)); + this.columnvalue.AllowDBNull = false; + this.columnvalue.MaxLength = 50; + this.columnlabel.MaxLength = 50; + this.columnconditio.AllowDBNull = false; + this.columnconditio.MaxLength = 2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selMagRow Newv_selMagRow() { + return ((v_selMagRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_selMagRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(v_selMagRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_selMagRowChanged != null)) { + this.v_selMagRowChanged(this, new v_selMagRowChangeEvent(((v_selMagRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_selMagRowChanging != null)) { + this.v_selMagRowChanging(this, new v_selMagRowChangeEvent(((v_selMagRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_selMagRowDeleted != null)) { + this.v_selMagRowDeleted(this, new v_selMagRowChangeEvent(((v_selMagRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_selMagRowDeleting != null)) { + this.v_selMagRowDeleting(this, new v_selMagRowChangeEvent(((v_selMagRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removev_selMagRow(v_selMagRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_Utility ds = new DS_Utility(); + 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 = "v_selMagDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_selBloccoDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnvalue; + + private global::System.Data.DataColumn columnlabel; + + private global::System.Data.DataColumn columnCodCS; + + private global::System.Data.DataColumn columnCodMag; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selBloccoDataTable() { + this.TableName = "v_selBlocco"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_selBloccoDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected v_selBloccoDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn valueColumn { + get { + return this.columnvalue; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn labelColumn { + get { + return this.columnlabel; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodCSColumn { + get { + return this.columnCodCS; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodMagColumn { + get { + return this.columnCodMag; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selBloccoRow this[int index] { + get { + return ((v_selBloccoRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selBloccoRowChangeEventHandler v_selBloccoRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selBloccoRowChangeEventHandler v_selBloccoRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selBloccoRowChangeEventHandler v_selBloccoRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selBloccoRowChangeEventHandler v_selBloccoRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addv_selBloccoRow(v_selBloccoRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selBloccoRow Addv_selBloccoRow(string label, string CodCS, string CodMag) { + v_selBloccoRow rowv_selBloccoRow = ((v_selBloccoRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + label, + CodCS, + CodMag}; + rowv_selBloccoRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_selBloccoRow); + return rowv_selBloccoRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selBloccoRow FindByvalue(int value) { + return ((v_selBloccoRow)(this.Rows.Find(new object[] { + value}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + v_selBloccoDataTable cln = ((v_selBloccoDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new v_selBloccoDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnvalue = base.Columns["value"]; + this.columnlabel = base.Columns["label"]; + this.columnCodCS = base.Columns["CodCS"]; + this.columnCodMag = base.Columns["CodMag"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnvalue = new global::System.Data.DataColumn("value", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnvalue); + this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnlabel); + this.columnCodCS = new global::System.Data.DataColumn("CodCS", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCS); + this.columnCodMag = new global::System.Data.DataColumn("CodMag", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodMag); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnvalue}, true)); + this.columnvalue.AutoIncrement = true; + this.columnvalue.AutoIncrementSeed = -1; + this.columnvalue.AutoIncrementStep = -1; + this.columnvalue.AllowDBNull = false; + this.columnvalue.ReadOnly = true; + this.columnvalue.Unique = true; + this.columnlabel.ReadOnly = true; + this.columnlabel.MaxLength = 151; + this.columnCodCS.MaxLength = 2; + this.columnCodMag.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selBloccoRow Newv_selBloccoRow() { + return ((v_selBloccoRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_selBloccoRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(v_selBloccoRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_selBloccoRowChanged != null)) { + this.v_selBloccoRowChanged(this, new v_selBloccoRowChangeEvent(((v_selBloccoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_selBloccoRowChanging != null)) { + this.v_selBloccoRowChanging(this, new v_selBloccoRowChangeEvent(((v_selBloccoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_selBloccoRowDeleted != null)) { + this.v_selBloccoRowDeleted(this, new v_selBloccoRowChangeEvent(((v_selBloccoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_selBloccoRowDeleting != null)) { + this.v_selBloccoRowDeleting(this, new v_selBloccoRowChangeEvent(((v_selBloccoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removev_selBloccoRow(v_selBloccoRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_Utility ds = new DS_Utility(); + 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 = "v_selBloccoDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_selTipoCellaDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnvalue; + + private global::System.Data.DataColumn columnlabel; + + private global::System.Data.DataColumn columnCodMag; + + private global::System.Data.DataColumn columnCodCS; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selTipoCellaDataTable() { + this.TableName = "v_selTipoCella"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_selTipoCellaDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected v_selTipoCellaDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn valueColumn { + get { + return this.columnvalue; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn labelColumn { + get { + return this.columnlabel; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodMagColumn { + get { + return this.columnCodMag; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodCSColumn { + get { + return this.columnCodCS; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selTipoCellaRow this[int index] { + get { + return ((v_selTipoCellaRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selTipoCellaRowChangeEventHandler v_selTipoCellaRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selTipoCellaRowChangeEventHandler v_selTipoCellaRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selTipoCellaRowChangeEventHandler v_selTipoCellaRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selTipoCellaRowChangeEventHandler v_selTipoCellaRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addv_selTipoCellaRow(v_selTipoCellaRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selTipoCellaRow Addv_selTipoCellaRow(string label, string CodMag, string CodCS) { + v_selTipoCellaRow rowv_selTipoCellaRow = ((v_selTipoCellaRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + label, + CodMag, + CodCS}; + rowv_selTipoCellaRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_selTipoCellaRow); + return rowv_selTipoCellaRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selTipoCellaRow FindByvalue(int value) { + return ((v_selTipoCellaRow)(this.Rows.Find(new object[] { + value}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + v_selTipoCellaDataTable cln = ((v_selTipoCellaDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new v_selTipoCellaDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnvalue = base.Columns["value"]; + this.columnlabel = base.Columns["label"]; + this.columnCodMag = base.Columns["CodMag"]; + this.columnCodCS = base.Columns["CodCS"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnvalue = new global::System.Data.DataColumn("value", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnvalue); + this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnlabel); + this.columnCodMag = new global::System.Data.DataColumn("CodMag", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodMag); + this.columnCodCS = new global::System.Data.DataColumn("CodCS", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCS); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnvalue}, true)); + this.columnvalue.AutoIncrement = true; + this.columnvalue.AutoIncrementSeed = -1; + this.columnvalue.AutoIncrementStep = -1; + this.columnvalue.AllowDBNull = false; + this.columnvalue.ReadOnly = true; + this.columnvalue.Unique = true; + this.columnlabel.ReadOnly = true; + this.columnlabel.MaxLength = 162; + this.columnCodMag.AllowDBNull = false; + this.columnCodMag.MaxLength = 50; + this.columnCodCS.AllowDBNull = false; + this.columnCodCS.MaxLength = 2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selTipoCellaRow Newv_selTipoCellaRow() { + return ((v_selTipoCellaRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_selTipoCellaRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(v_selTipoCellaRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_selTipoCellaRowChanged != null)) { + this.v_selTipoCellaRowChanged(this, new v_selTipoCellaRowChangeEvent(((v_selTipoCellaRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_selTipoCellaRowChanging != null)) { + this.v_selTipoCellaRowChanging(this, new v_selTipoCellaRowChangeEvent(((v_selTipoCellaRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_selTipoCellaRowDeleted != null)) { + this.v_selTipoCellaRowDeleted(this, new v_selTipoCellaRowChangeEvent(((v_selTipoCellaRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_selTipoCellaRowDeleting != null)) { + this.v_selTipoCellaRowDeleting(this, new v_selTipoCellaRowChangeEvent(((v_selTipoCellaRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removev_selTipoCellaRow(v_selTipoCellaRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_Utility ds = new DS_Utility(); + 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 = "v_selTipoCellaDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class stp_getImpiantiByCodCSDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodImpianto; + + private global::System.Data.DataColumn columnCodCS; + + private global::System.Data.DataColumn columnDescImpianto; + + private global::System.Data.DataColumn columnCampionatura; + + private global::System.Data.DataColumn columnTipoLinea; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_getImpiantiByCodCSDataTable() { + this.TableName = "stp_getImpiantiByCodCS"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal stp_getImpiantiByCodCSDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected stp_getImpiantiByCodCSDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodImpiantoColumn { + get { + return this.columnCodImpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodCSColumn { + get { + return this.columnCodCS; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescImpiantoColumn { + get { + return this.columnDescImpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CampionaturaColumn { + get { + return this.columnCampionatura; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn TipoLineaColumn { + get { + return this.columnTipoLinea; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_getImpiantiByCodCSRow this[int index] { + get { + return ((stp_getImpiantiByCodCSRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event stp_getImpiantiByCodCSRowChangeEventHandler stp_getImpiantiByCodCSRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event stp_getImpiantiByCodCSRowChangeEventHandler stp_getImpiantiByCodCSRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event stp_getImpiantiByCodCSRowChangeEventHandler stp_getImpiantiByCodCSRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event stp_getImpiantiByCodCSRowChangeEventHandler stp_getImpiantiByCodCSRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addstp_getImpiantiByCodCSRow(stp_getImpiantiByCodCSRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_getImpiantiByCodCSRow Addstp_getImpiantiByCodCSRow(string CodImpianto, string CodCS, string DescImpianto, string Campionatura, string TipoLinea) { + stp_getImpiantiByCodCSRow rowstp_getImpiantiByCodCSRow = ((stp_getImpiantiByCodCSRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CodImpianto, + CodCS, + DescImpianto, + Campionatura, + TipoLinea}; + rowstp_getImpiantiByCodCSRow.ItemArray = columnValuesArray; + this.Rows.Add(rowstp_getImpiantiByCodCSRow); + return rowstp_getImpiantiByCodCSRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_getImpiantiByCodCSRow FindByCodImpianto(string CodImpianto) { + return ((stp_getImpiantiByCodCSRow)(this.Rows.Find(new object[] { + CodImpianto}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + stp_getImpiantiByCodCSDataTable cln = ((stp_getImpiantiByCodCSDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new stp_getImpiantiByCodCSDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnCodImpianto = base.Columns["CodImpianto"]; + this.columnCodCS = base.Columns["CodCS"]; + this.columnDescImpianto = base.Columns["DescImpianto"]; + this.columnCampionatura = base.Columns["Campionatura"]; + this.columnTipoLinea = base.Columns["TipoLinea"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnCodImpianto = new global::System.Data.DataColumn("CodImpianto", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodImpianto); + this.columnCodCS = new global::System.Data.DataColumn("CodCS", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCS); + this.columnDescImpianto = new global::System.Data.DataColumn("DescImpianto", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescImpianto); + this.columnCampionatura = new global::System.Data.DataColumn("Campionatura", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCampionatura); + this.columnTipoLinea = new global::System.Data.DataColumn("TipoLinea", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnTipoLinea); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodImpianto}, true)); + this.columnCodImpianto.AllowDBNull = false; + this.columnCodImpianto.Unique = true; + this.columnCodImpianto.MaxLength = 50; + this.columnCodCS.AllowDBNull = false; + this.columnCodCS.MaxLength = 2; + this.columnDescImpianto.MaxLength = 50; + this.columnCampionatura.MaxLength = 1; + this.columnTipoLinea.MaxLength = 6; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_getImpiantiByCodCSRow Newstp_getImpiantiByCodCSRow() { + return ((stp_getImpiantiByCodCSRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new stp_getImpiantiByCodCSRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(stp_getImpiantiByCodCSRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.stp_getImpiantiByCodCSRowChanged != null)) { + this.stp_getImpiantiByCodCSRowChanged(this, new stp_getImpiantiByCodCSRowChangeEvent(((stp_getImpiantiByCodCSRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.stp_getImpiantiByCodCSRowChanging != null)) { + this.stp_getImpiantiByCodCSRowChanging(this, new stp_getImpiantiByCodCSRowChangeEvent(((stp_getImpiantiByCodCSRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.stp_getImpiantiByCodCSRowDeleted != null)) { + this.stp_getImpiantiByCodCSRowDeleted(this, new stp_getImpiantiByCodCSRowChangeEvent(((stp_getImpiantiByCodCSRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.stp_getImpiantiByCodCSRowDeleting != null)) { + this.stp_getImpiantiByCodCSRowDeleting(this, new stp_getImpiantiByCodCSRowChangeEvent(((stp_getImpiantiByCodCSRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removestp_getImpiantiByCodCSRow(stp_getImpiantiByCodCSRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_Utility ds = new DS_Utility(); + 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_getImpiantiByCodCSDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class STPDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnVersione; + + private global::System.Data.DataColumn columnData; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public STPDataTable() { + this.TableName = "STP"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal STPDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected STPDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn VersioneColumn { + get { + return this.columnVersione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DataColumn { + get { + return this.columnData; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public STPRow this[int index] { + get { + return ((STPRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event STPRowChangeEventHandler STPRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event STPRowChangeEventHandler STPRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event STPRowChangeEventHandler STPRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event STPRowChangeEventHandler STPRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddSTPRow(STPRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public STPRow AddSTPRow(int Versione, System.DateTime Data) { + STPRow rowSTPRow = ((STPRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + Versione, + Data}; + rowSTPRow.ItemArray = columnValuesArray; + this.Rows.Add(rowSTPRow); + return rowSTPRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public STPRow FindByVersione(int Versione) { + return ((STPRow)(this.Rows.Find(new object[] { + Versione}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + STPDataTable cln = ((STPDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new STPDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnVersione = base.Columns["Versione"]; + this.columnData = base.Columns["Data"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnVersione = new global::System.Data.DataColumn("Versione", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnVersione); + this.columnData = new global::System.Data.DataColumn("Data", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnData); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnVersione}, true)); + this.columnVersione.AllowDBNull = false; + this.columnVersione.Unique = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public STPRow NewSTPRow() { + return ((STPRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new STPRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(STPRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.STPRowChanged != null)) { + this.STPRowChanged(this, new STPRowChangeEvent(((STPRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.STPRowChanging != null)) { + this.STPRowChanging(this, new STPRowChangeEvent(((STPRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.STPRowDeleted != null)) { + this.STPRowDeleted(this, new STPRowChangeEvent(((STPRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.STPRowDeleting != null)) { + this.STPRowDeleting(this, new STPRowChangeEvent(((STPRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveSTPRow(STPRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_Utility ds = new DS_Utility(); + 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 = "STPDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_selPeriodiTradDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnvalue; + + private global::System.Data.DataColumn columnlabel; + + private global::System.Data.DataColumn columnconditio; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selPeriodiTradDataTable() { + this.TableName = "v_selPeriodiTrad"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_selPeriodiTradDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected v_selPeriodiTradDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn valueColumn { + get { + return this.columnvalue; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn labelColumn { + get { + return this.columnlabel; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn conditioColumn { + get { + return this.columnconditio; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selPeriodiTradRow this[int index] { + get { + return ((v_selPeriodiTradRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selPeriodiTradRowChangeEventHandler v_selPeriodiTradRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selPeriodiTradRowChangeEventHandler v_selPeriodiTradRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selPeriodiTradRowChangeEventHandler v_selPeriodiTradRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selPeriodiTradRowChangeEventHandler v_selPeriodiTradRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addv_selPeriodiTradRow(v_selPeriodiTradRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selPeriodiTradRow Addv_selPeriodiTradRow(string value, string label, string conditio) { + v_selPeriodiTradRow rowv_selPeriodiTradRow = ((v_selPeriodiTradRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + value, + label, + conditio}; + rowv_selPeriodiTradRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_selPeriodiTradRow); + return rowv_selPeriodiTradRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + v_selPeriodiTradDataTable cln = ((v_selPeriodiTradDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new v_selPeriodiTradDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnvalue = base.Columns["value"]; + this.columnlabel = base.Columns["label"]; + this.columnconditio = base.Columns["conditio"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnvalue = new global::System.Data.DataColumn("value", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnvalue); + this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnlabel); + this.columnconditio = new global::System.Data.DataColumn("conditio", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnconditio); + this.Constraints.Add(new global::System.Data.UniqueConstraint("v_selPeriodiTradKey1", new global::System.Data.DataColumn[] { + this.columnvalue, + this.columnconditio}, false)); + this.columnvalue.AllowDBNull = false; + this.columnvalue.MaxLength = 20; + this.columnlabel.AllowDBNull = false; + this.columnlabel.MaxLength = 500; + this.columnconditio.AllowDBNull = false; + this.columnconditio.MaxLength = 3; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selPeriodiTradRow Newv_selPeriodiTradRow() { + return ((v_selPeriodiTradRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_selPeriodiTradRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(v_selPeriodiTradRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_selPeriodiTradRowChanged != null)) { + this.v_selPeriodiTradRowChanged(this, new v_selPeriodiTradRowChangeEvent(((v_selPeriodiTradRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_selPeriodiTradRowChanging != null)) { + this.v_selPeriodiTradRowChanging(this, new v_selPeriodiTradRowChangeEvent(((v_selPeriodiTradRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_selPeriodiTradRowDeleted != null)) { + this.v_selPeriodiTradRowDeleted(this, new v_selPeriodiTradRowChangeEvent(((v_selPeriodiTradRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_selPeriodiTradRowDeleting != null)) { + this.v_selPeriodiTradRowDeleting(this, new v_selPeriodiTradRowChangeEvent(((v_selPeriodiTradRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removev_selPeriodiTradRow(v_selPeriodiTradRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_Utility ds = new DS_Utility(); + 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 = "v_selPeriodiTradDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_selStatiListeDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnvalue; + + private global::System.Data.DataColumn columnlabel; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selStatiListeDataTable() { + this.TableName = "v_selStatiListe"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_selStatiListeDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected v_selStatiListeDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn valueColumn { + get { + return this.columnvalue; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn labelColumn { + get { + return this.columnlabel; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selStatiListeRow this[int index] { + get { + return ((v_selStatiListeRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selStatiListeRowChangeEventHandler v_selStatiListeRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selStatiListeRowChangeEventHandler v_selStatiListeRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selStatiListeRowChangeEventHandler v_selStatiListeRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selStatiListeRowChangeEventHandler v_selStatiListeRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addv_selStatiListeRow(v_selStatiListeRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selStatiListeRow Addv_selStatiListeRow(int value, string label) { + v_selStatiListeRow rowv_selStatiListeRow = ((v_selStatiListeRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + value, + label}; + rowv_selStatiListeRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_selStatiListeRow); + return rowv_selStatiListeRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selStatiListeRow FindByvalue(int value) { + return ((v_selStatiListeRow)(this.Rows.Find(new object[] { + value}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + v_selStatiListeDataTable cln = ((v_selStatiListeDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new v_selStatiListeDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnvalue = base.Columns["value"]; + this.columnlabel = base.Columns["label"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnvalue = new global::System.Data.DataColumn("value", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnvalue); + this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnlabel); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnvalue}, true)); + this.columnvalue.AllowDBNull = false; + this.columnvalue.Unique = true; + this.columnlabel.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selStatiListeRow Newv_selStatiListeRow() { + return ((v_selStatiListeRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_selStatiListeRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(v_selStatiListeRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_selStatiListeRowChanged != null)) { + this.v_selStatiListeRowChanged(this, new v_selStatiListeRowChangeEvent(((v_selStatiListeRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_selStatiListeRowChanging != null)) { + this.v_selStatiListeRowChanging(this, new v_selStatiListeRowChangeEvent(((v_selStatiListeRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_selStatiListeRowDeleted != null)) { + this.v_selStatiListeRowDeleted(this, new v_selStatiListeRowChangeEvent(((v_selStatiListeRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_selStatiListeRowDeleting != null)) { + this.v_selStatiListeRowDeleting(this, new v_selStatiListeRowChangeEvent(((v_selStatiListeRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removev_selStatiListeRow(v_selStatiListeRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_Utility ds = new DS_Utility(); + 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 = "v_selStatiListeDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_selTipoListaDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnvalue; + + private global::System.Data.DataColumn columnlabel; + + private global::System.Data.DataColumn columnconditio; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selTipoListaDataTable() { + this.TableName = "v_selTipoLista"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_selTipoListaDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected v_selTipoListaDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn valueColumn { + get { + return this.columnvalue; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn labelColumn { + get { + return this.columnlabel; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn conditioColumn { + get { + return this.columnconditio; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selTipoListaRow this[int index] { + get { + return ((v_selTipoListaRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selTipoListaRowChangeEventHandler v_selTipoListaRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selTipoListaRowChangeEventHandler v_selTipoListaRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selTipoListaRowChangeEventHandler v_selTipoListaRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selTipoListaRowChangeEventHandler v_selTipoListaRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addv_selTipoListaRow(v_selTipoListaRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selTipoListaRow Addv_selTipoListaRow(string value, string label, string conditio) { + v_selTipoListaRow rowv_selTipoListaRow = ((v_selTipoListaRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + value, + label, + conditio}; + rowv_selTipoListaRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_selTipoListaRow); + return rowv_selTipoListaRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selTipoListaRow FindByvalue(string value) { + return ((v_selTipoListaRow)(this.Rows.Find(new object[] { + value}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + v_selTipoListaDataTable cln = ((v_selTipoListaDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new v_selTipoListaDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnvalue = base.Columns["value"]; + this.columnlabel = base.Columns["label"]; + this.columnconditio = base.Columns["conditio"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnvalue = new global::System.Data.DataColumn("value", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnvalue); + this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnlabel); + this.columnconditio = new global::System.Data.DataColumn("conditio", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnconditio); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnvalue}, true)); + this.columnvalue.AllowDBNull = false; + this.columnvalue.Unique = true; + this.columnvalue.MaxLength = 10; + this.columnlabel.MaxLength = 250; + this.columnconditio.MaxLength = 1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selTipoListaRow Newv_selTipoListaRow() { + return ((v_selTipoListaRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_selTipoListaRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(v_selTipoListaRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_selTipoListaRowChanged != null)) { + this.v_selTipoListaRowChanged(this, new v_selTipoListaRowChangeEvent(((v_selTipoListaRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_selTipoListaRowChanging != null)) { + this.v_selTipoListaRowChanging(this, new v_selTipoListaRowChangeEvent(((v_selTipoListaRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_selTipoListaRowDeleted != null)) { + this.v_selTipoListaRowDeleted(this, new v_selTipoListaRowChangeEvent(((v_selTipoListaRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_selTipoListaRowDeleting != null)) { + this.v_selTipoListaRowDeleting(this, new v_selTipoListaRowChangeEvent(((v_selTipoListaRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removev_selTipoListaRow(v_selTipoListaRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_Utility ds = new DS_Utility(); + 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 = "v_selTipoListaDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_selUdcByPartDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnvalue; + + private global::System.Data.DataColumn columnlabel; + + private global::System.Data.DataColumn columnParticolare; + + private global::System.Data.DataColumn columnIdxPosizione; + + private global::System.Data.DataColumn columnCodCS; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selUdcByPartDataTable() { + this.TableName = "v_selUdcByPart"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_selUdcByPartDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected v_selUdcByPartDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn valueColumn { + get { + return this.columnvalue; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn labelColumn { + get { + return this.columnlabel; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ParticolareColumn { + get { + return this.columnParticolare; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn IdxPosizioneColumn { + get { + return this.columnIdxPosizione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodCSColumn { + get { + return this.columnCodCS; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selUdcByPartRow this[int index] { + get { + return ((v_selUdcByPartRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selUdcByPartRowChangeEventHandler v_selUdcByPartRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selUdcByPartRowChangeEventHandler v_selUdcByPartRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selUdcByPartRowChangeEventHandler v_selUdcByPartRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selUdcByPartRowChangeEventHandler v_selUdcByPartRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addv_selUdcByPartRow(v_selUdcByPartRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selUdcByPartRow Addv_selUdcByPartRow(string value, string label, string Particolare, int IdxPosizione, string CodCS) { + v_selUdcByPartRow rowv_selUdcByPartRow = ((v_selUdcByPartRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + value, + label, + Particolare, + IdxPosizione, + CodCS}; + rowv_selUdcByPartRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_selUdcByPartRow); + return rowv_selUdcByPartRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selUdcByPartRow FindByvalue(string value) { + return ((v_selUdcByPartRow)(this.Rows.Find(new object[] { + value}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + v_selUdcByPartDataTable cln = ((v_selUdcByPartDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new v_selUdcByPartDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnvalue = base.Columns["value"]; + this.columnlabel = base.Columns["label"]; + this.columnParticolare = base.Columns["Particolare"]; + this.columnIdxPosizione = base.Columns["IdxPosizione"]; + this.columnCodCS = base.Columns["CodCS"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnvalue = new global::System.Data.DataColumn("value", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnvalue); + this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnlabel); + this.columnParticolare = new global::System.Data.DataColumn("Particolare", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnParticolare); + this.columnIdxPosizione = new global::System.Data.DataColumn("IdxPosizione", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnIdxPosizione); + this.columnCodCS = new global::System.Data.DataColumn("CodCS", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCS); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnvalue}, true)); + this.columnvalue.AllowDBNull = false; + this.columnvalue.Unique = true; + this.columnvalue.MaxLength = 50; + this.columnlabel.ReadOnly = true; + this.columnlabel.MaxLength = 152; + this.columnParticolare.MaxLength = 15; + this.columnCodCS.MaxLength = 2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selUdcByPartRow Newv_selUdcByPartRow() { + return ((v_selUdcByPartRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_selUdcByPartRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(v_selUdcByPartRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_selUdcByPartRowChanged != null)) { + this.v_selUdcByPartRowChanged(this, new v_selUdcByPartRowChangeEvent(((v_selUdcByPartRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_selUdcByPartRowChanging != null)) { + this.v_selUdcByPartRowChanging(this, new v_selUdcByPartRowChangeEvent(((v_selUdcByPartRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_selUdcByPartRowDeleted != null)) { + this.v_selUdcByPartRowDeleted(this, new v_selUdcByPartRowChangeEvent(((v_selUdcByPartRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_selUdcByPartRowDeleting != null)) { + this.v_selUdcByPartRowDeleting(this, new v_selUdcByPartRowChangeEvent(((v_selUdcByPartRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removev_selUdcByPartRow(v_selUdcByPartRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_Utility ds = new DS_Utility(); + 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 = "v_selUdcByPartDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_selTipoDeliberaDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnvalue; + + private global::System.Data.DataColumn columnlabel; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selTipoDeliberaDataTable() { + this.TableName = "v_selTipoDelibera"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_selTipoDeliberaDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected v_selTipoDeliberaDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn valueColumn { + get { + return this.columnvalue; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn labelColumn { + get { + return this.columnlabel; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selTipoDeliberaRow this[int index] { + get { + return ((v_selTipoDeliberaRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selTipoDeliberaRowChangeEventHandler v_selTipoDeliberaRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selTipoDeliberaRowChangeEventHandler v_selTipoDeliberaRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selTipoDeliberaRowChangeEventHandler v_selTipoDeliberaRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selTipoDeliberaRowChangeEventHandler v_selTipoDeliberaRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addv_selTipoDeliberaRow(v_selTipoDeliberaRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selTipoDeliberaRow Addv_selTipoDeliberaRow(string value, string label) { + v_selTipoDeliberaRow rowv_selTipoDeliberaRow = ((v_selTipoDeliberaRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + value, + label}; + rowv_selTipoDeliberaRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_selTipoDeliberaRow); + return rowv_selTipoDeliberaRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selTipoDeliberaRow FindByvalue(string value) { + return ((v_selTipoDeliberaRow)(this.Rows.Find(new object[] { + value}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + v_selTipoDeliberaDataTable cln = ((v_selTipoDeliberaDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new v_selTipoDeliberaDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnvalue = base.Columns["value"]; + this.columnlabel = base.Columns["label"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnvalue = new global::System.Data.DataColumn("value", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnvalue); + this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnlabel); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnvalue}, true)); + this.columnvalue.AllowDBNull = false; + this.columnvalue.Unique = true; + this.columnvalue.MaxLength = 50; + this.columnlabel.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selTipoDeliberaRow Newv_selTipoDeliberaRow() { + return ((v_selTipoDeliberaRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_selTipoDeliberaRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(v_selTipoDeliberaRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_selTipoDeliberaRowChanged != null)) { + this.v_selTipoDeliberaRowChanged(this, new v_selTipoDeliberaRowChangeEvent(((v_selTipoDeliberaRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_selTipoDeliberaRowChanging != null)) { + this.v_selTipoDeliberaRowChanging(this, new v_selTipoDeliberaRowChangeEvent(((v_selTipoDeliberaRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_selTipoDeliberaRowDeleted != null)) { + this.v_selTipoDeliberaRowDeleted(this, new v_selTipoDeliberaRowChangeEvent(((v_selTipoDeliberaRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_selTipoDeliberaRowDeleting != null)) { + this.v_selTipoDeliberaRowDeleting(this, new v_selTipoDeliberaRowChangeEvent(((v_selTipoDeliberaRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removev_selTipoDeliberaRow(v_selTipoDeliberaRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_Utility ds = new DS_Utility(); + 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 = "v_selTipoDeliberaDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class stp_ricercaFullTerminalinoDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnTipo; + + private global::System.Data.DataColumn columnlabel; + + private global::System.Data.DataColumn columnvalore; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_ricercaFullTerminalinoDataTable() { + this.TableName = "stp_ricercaFullTerminalino"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal stp_ricercaFullTerminalinoDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected stp_ricercaFullTerminalinoDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn TipoColumn { + get { + return this.columnTipo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn labelColumn { + get { + return this.columnlabel; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn valoreColumn { + get { + return this.columnvalore; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_ricercaFullTerminalinoRow this[int index] { + get { + return ((stp_ricercaFullTerminalinoRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event stp_ricercaFullTerminalinoRowChangeEventHandler stp_ricercaFullTerminalinoRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event stp_ricercaFullTerminalinoRowChangeEventHandler stp_ricercaFullTerminalinoRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event stp_ricercaFullTerminalinoRowChangeEventHandler stp_ricercaFullTerminalinoRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event stp_ricercaFullTerminalinoRowChangeEventHandler stp_ricercaFullTerminalinoRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addstp_ricercaFullTerminalinoRow(stp_ricercaFullTerminalinoRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_ricercaFullTerminalinoRow Addstp_ricercaFullTerminalinoRow(string Tipo, string label, string valore) { + stp_ricercaFullTerminalinoRow rowstp_ricercaFullTerminalinoRow = ((stp_ricercaFullTerminalinoRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + Tipo, + label, + valore}; + rowstp_ricercaFullTerminalinoRow.ItemArray = columnValuesArray; + this.Rows.Add(rowstp_ricercaFullTerminalinoRow); + return rowstp_ricercaFullTerminalinoRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + stp_ricercaFullTerminalinoDataTable cln = ((stp_ricercaFullTerminalinoDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new stp_ricercaFullTerminalinoDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnTipo = base.Columns["Tipo"]; + this.columnlabel = base.Columns["label"]; + this.columnvalore = base.Columns["valore"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnTipo = new global::System.Data.DataColumn("Tipo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnTipo); + this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnlabel); + this.columnvalore = new global::System.Data.DataColumn("valore", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnvalore); + this.columnTipo.ReadOnly = true; + this.columnTipo.MaxLength = 11; + this.columnlabel.ReadOnly = true; + this.columnlabel.MaxLength = 50; + this.columnvalore.ReadOnly = true; + this.columnvalore.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_ricercaFullTerminalinoRow Newstp_ricercaFullTerminalinoRow() { + return ((stp_ricercaFullTerminalinoRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new stp_ricercaFullTerminalinoRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(stp_ricercaFullTerminalinoRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.stp_ricercaFullTerminalinoRowChanged != null)) { + this.stp_ricercaFullTerminalinoRowChanged(this, new stp_ricercaFullTerminalinoRowChangeEvent(((stp_ricercaFullTerminalinoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.stp_ricercaFullTerminalinoRowChanging != null)) { + this.stp_ricercaFullTerminalinoRowChanging(this, new stp_ricercaFullTerminalinoRowChangeEvent(((stp_ricercaFullTerminalinoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.stp_ricercaFullTerminalinoRowDeleted != null)) { + this.stp_ricercaFullTerminalinoRowDeleted(this, new stp_ricercaFullTerminalinoRowChangeEvent(((stp_ricercaFullTerminalinoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.stp_ricercaFullTerminalinoRowDeleting != null)) { + this.stp_ricercaFullTerminalinoRowDeleting(this, new stp_ricercaFullTerminalinoRowChangeEvent(((stp_ricercaFullTerminalinoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removestp_ricercaFullTerminalinoRow(stp_ricercaFullTerminalinoRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_Utility ds = new DS_Utility(); + 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_ricercaFullTerminalinoDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_selMagLogicoDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnvalue; + + private global::System.Data.DataColumn columnlabel; + + private global::System.Data.DataColumn columnconditio; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selMagLogicoDataTable() { + this.TableName = "v_selMagLogico"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_selMagLogicoDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected v_selMagLogicoDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn valueColumn { + get { + return this.columnvalue; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn labelColumn { + get { + return this.columnlabel; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn conditioColumn { + get { + return this.columnconditio; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selMagLogicoRow this[int index] { + get { + return ((v_selMagLogicoRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selMagLogicoRowChangeEventHandler v_selMagLogicoRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selMagLogicoRowChangeEventHandler v_selMagLogicoRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selMagLogicoRowChangeEventHandler v_selMagLogicoRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selMagLogicoRowChangeEventHandler v_selMagLogicoRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addv_selMagLogicoRow(v_selMagLogicoRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selMagLogicoRow Addv_selMagLogicoRow(string value, string label, string conditio) { + v_selMagLogicoRow rowv_selMagLogicoRow = ((v_selMagLogicoRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + value, + label, + conditio}; + rowv_selMagLogicoRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_selMagLogicoRow); + return rowv_selMagLogicoRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + v_selMagLogicoDataTable cln = ((v_selMagLogicoDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new v_selMagLogicoDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnvalue = base.Columns["value"]; + this.columnlabel = base.Columns["label"]; + this.columnconditio = base.Columns["conditio"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnvalue = new global::System.Data.DataColumn("value", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnvalue); + this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnlabel); + this.columnconditio = new global::System.Data.DataColumn("conditio", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnconditio); + this.columnvalue.ReadOnly = true; + this.columnvalue.MaxLength = 50; + this.columnlabel.ReadOnly = true; + this.columnlabel.MaxLength = 50; + this.columnconditio.MaxLength = 2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selMagLogicoRow Newv_selMagLogicoRow() { + return ((v_selMagLogicoRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_selMagLogicoRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(v_selMagLogicoRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_selMagLogicoRowChanged != null)) { + this.v_selMagLogicoRowChanged(this, new v_selMagLogicoRowChangeEvent(((v_selMagLogicoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_selMagLogicoRowChanging != null)) { + this.v_selMagLogicoRowChanging(this, new v_selMagLogicoRowChangeEvent(((v_selMagLogicoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_selMagLogicoRowDeleted != null)) { + this.v_selMagLogicoRowDeleted(this, new v_selMagLogicoRowChangeEvent(((v_selMagLogicoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_selMagLogicoRowDeleting != null)) { + this.v_selMagLogicoRowDeleting(this, new v_selMagLogicoRowChangeEvent(((v_selMagLogicoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removev_selMagLogicoRow(v_selMagLogicoRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_Utility ds = new DS_Utility(); + 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 = "v_selMagLogicoDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_selDestinatariListePrelievoDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnvalue; + + private global::System.Data.DataColumn columnlabel; + + private global::System.Data.DataColumn columnconditio; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selDestinatariListePrelievoDataTable() { + this.TableName = "v_selDestinatariListePrelievo"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_selDestinatariListePrelievoDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected v_selDestinatariListePrelievoDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn valueColumn { + get { + return this.columnvalue; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn labelColumn { + get { + return this.columnlabel; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn conditioColumn { + get { + return this.columnconditio; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selDestinatariListePrelievoRow this[int index] { + get { + return ((v_selDestinatariListePrelievoRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selDestinatariListePrelievoRowChangeEventHandler v_selDestinatariListePrelievoRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selDestinatariListePrelievoRowChangeEventHandler v_selDestinatariListePrelievoRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selDestinatariListePrelievoRowChangeEventHandler v_selDestinatariListePrelievoRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selDestinatariListePrelievoRowChangeEventHandler v_selDestinatariListePrelievoRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addv_selDestinatariListePrelievoRow(v_selDestinatariListePrelievoRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selDestinatariListePrelievoRow Addv_selDestinatariListePrelievoRow(string value, string label, string conditio) { + v_selDestinatariListePrelievoRow rowv_selDestinatariListePrelievoRow = ((v_selDestinatariListePrelievoRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + value, + label, + conditio}; + rowv_selDestinatariListePrelievoRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_selDestinatariListePrelievoRow); + return rowv_selDestinatariListePrelievoRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + v_selDestinatariListePrelievoDataTable cln = ((v_selDestinatariListePrelievoDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new v_selDestinatariListePrelievoDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnvalue = base.Columns["value"]; + this.columnlabel = base.Columns["label"]; + this.columnconditio = base.Columns["conditio"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnvalue = new global::System.Data.DataColumn("value", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnvalue); + this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnlabel); + this.columnconditio = new global::System.Data.DataColumn("conditio", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnconditio); + this.Constraints.Add(new global::System.Data.UniqueConstraint("v_selDestinatariListePrelievoKey1", new global::System.Data.DataColumn[] { + this.columnvalue}, false)); + this.columnvalue.AllowDBNull = false; + this.columnvalue.Unique = true; + this.columnvalue.MaxLength = 6; + this.columnlabel.MaxLength = 50; + this.columnconditio.AllowDBNull = false; + this.columnconditio.MaxLength = 20; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selDestinatariListePrelievoRow Newv_selDestinatariListePrelievoRow() { + return ((v_selDestinatariListePrelievoRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_selDestinatariListePrelievoRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(v_selDestinatariListePrelievoRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_selDestinatariListePrelievoRowChanged != null)) { + this.v_selDestinatariListePrelievoRowChanged(this, new v_selDestinatariListePrelievoRowChangeEvent(((v_selDestinatariListePrelievoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_selDestinatariListePrelievoRowChanging != null)) { + this.v_selDestinatariListePrelievoRowChanging(this, new v_selDestinatariListePrelievoRowChangeEvent(((v_selDestinatariListePrelievoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_selDestinatariListePrelievoRowDeleted != null)) { + this.v_selDestinatariListePrelievoRowDeleted(this, new v_selDestinatariListePrelievoRowChangeEvent(((v_selDestinatariListePrelievoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_selDestinatariListePrelievoRowDeleting != null)) { + this.v_selDestinatariListePrelievoRowDeleting(this, new v_selDestinatariListePrelievoRowChangeEvent(((v_selDestinatariListePrelievoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removev_selDestinatariListePrelievoRow(v_selDestinatariListePrelievoRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_Utility ds = new DS_Utility(); + 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 = "v_selDestinatariListePrelievoDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class AS400_ComandiDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnDataEsecuzione; + + private global::System.Data.DataColumn columnStored; + + private global::System.Data.DataColumn columnComandoTSQL; + + private global::System.Data.DataColumn columnTest; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AS400_ComandiDataTable() { + this.TableName = "AS400_Comandi"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AS400_ComandiDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected AS400_ComandiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DataEsecuzioneColumn { + get { + return this.columnDataEsecuzione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn StoredColumn { + get { + return this.columnStored; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ComandoTSQLColumn { + get { + return this.columnComandoTSQL; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn TestColumn { + get { + return this.columnTest; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AS400_ComandiRow this[int index] { + get { + return ((AS400_ComandiRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AS400_ComandiRowChangeEventHandler AS400_ComandiRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AS400_ComandiRowChangeEventHandler AS400_ComandiRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AS400_ComandiRowChangeEventHandler AS400_ComandiRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AS400_ComandiRowChangeEventHandler AS400_ComandiRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddAS400_ComandiRow(AS400_ComandiRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AS400_ComandiRow AddAS400_ComandiRow(System.DateTime DataEsecuzione, string Stored, string ComandoTSQL, int Test) { + AS400_ComandiRow rowAS400_ComandiRow = ((AS400_ComandiRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + DataEsecuzione, + Stored, + ComandoTSQL, + Test}; + rowAS400_ComandiRow.ItemArray = columnValuesArray; + this.Rows.Add(rowAS400_ComandiRow); + return rowAS400_ComandiRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + AS400_ComandiDataTable cln = ((AS400_ComandiDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new AS400_ComandiDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnDataEsecuzione = base.Columns["DataEsecuzione"]; + this.columnStored = base.Columns["Stored"]; + this.columnComandoTSQL = base.Columns["ComandoTSQL"]; + this.columnTest = base.Columns["Test"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnDataEsecuzione = new global::System.Data.DataColumn("DataEsecuzione", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDataEsecuzione); + this.columnStored = new global::System.Data.DataColumn("Stored", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnStored); + this.columnComandoTSQL = new global::System.Data.DataColumn("ComandoTSQL", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnComandoTSQL); + this.columnTest = new global::System.Data.DataColumn("Test", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnTest); + this.columnDataEsecuzione.AllowDBNull = false; + this.columnStored.AllowDBNull = false; + this.columnStored.MaxLength = 100; + this.columnComandoTSQL.MaxLength = 4000; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AS400_ComandiRow NewAS400_ComandiRow() { + return ((AS400_ComandiRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new AS400_ComandiRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(AS400_ComandiRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.AS400_ComandiRowChanged != null)) { + this.AS400_ComandiRowChanged(this, new AS400_ComandiRowChangeEvent(((AS400_ComandiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.AS400_ComandiRowChanging != null)) { + this.AS400_ComandiRowChanging(this, new AS400_ComandiRowChangeEvent(((AS400_ComandiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.AS400_ComandiRowDeleted != null)) { + this.AS400_ComandiRowDeleted(this, new AS400_ComandiRowChangeEvent(((AS400_ComandiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.AS400_ComandiRowDeleting != null)) { + this.AS400_ComandiRowDeleting(this, new AS400_ComandiRowChangeEvent(((AS400_ComandiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveAS400_ComandiRow(AS400_ComandiRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_Utility ds = new DS_Utility(); + 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 = "AS400_ComandiDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_selParticolariDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnvalue; + + private global::System.Data.DataColumn columnlabel; + + private global::System.Data.DataColumn columnconditio; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selParticolariDataTable() { + this.TableName = "v_selParticolari"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_selParticolariDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected v_selParticolariDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn valueColumn { + get { + return this.columnvalue; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn labelColumn { + get { + return this.columnlabel; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn conditioColumn { + get { + return this.columnconditio; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selParticolariRow this[int index] { + get { + return ((v_selParticolariRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selParticolariRowChangeEventHandler v_selParticolariRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selParticolariRowChangeEventHandler v_selParticolariRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selParticolariRowChangeEventHandler v_selParticolariRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_selParticolariRowChangeEventHandler v_selParticolariRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addv_selParticolariRow(v_selParticolariRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selParticolariRow Addv_selParticolariRow(string value, string label, string conditio) { + v_selParticolariRow rowv_selParticolariRow = ((v_selParticolariRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + value, + label, + conditio}; + rowv_selParticolariRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_selParticolariRow); + return rowv_selParticolariRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selParticolariRow FindByvalue(string value) { + return ((v_selParticolariRow)(this.Rows.Find(new object[] { + value}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + v_selParticolariDataTable cln = ((v_selParticolariDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new v_selParticolariDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnvalue = base.Columns["value"]; + this.columnlabel = base.Columns["label"]; + this.columnconditio = base.Columns["conditio"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnvalue = new global::System.Data.DataColumn("value", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnvalue); + this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnlabel); + this.columnconditio = new global::System.Data.DataColumn("conditio", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnconditio); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnvalue}, true)); + this.columnvalue.AllowDBNull = false; + this.columnvalue.Unique = true; + this.columnvalue.MaxLength = 15; + this.columnlabel.MaxLength = 30; + this.columnconditio.MaxLength = 1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selParticolariRow Newv_selParticolariRow() { + return ((v_selParticolariRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_selParticolariRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(v_selParticolariRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_selParticolariRowChanged != null)) { + this.v_selParticolariRowChanged(this, new v_selParticolariRowChangeEvent(((v_selParticolariRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_selParticolariRowChanging != null)) { + this.v_selParticolariRowChanging(this, new v_selParticolariRowChangeEvent(((v_selParticolariRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_selParticolariRowDeleted != null)) { + this.v_selParticolariRowDeleted(this, new v_selParticolariRowChangeEvent(((v_selParticolariRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_selParticolariRowDeleting != null)) { + this.v_selParticolariRowDeleting(this, new v_selParticolariRowChangeEvent(((v_selParticolariRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removev_selParticolariRow(v_selParticolariRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_Utility ds = new DS_Utility(); + 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 = "v_selParticolariDataTable"; + 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. + /// + public partial class v_selMagRow : global::System.Data.DataRow { + + private v_selMagDataTable tablev_selMag; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_selMagRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_selMag = ((v_selMagDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string value { + get { + return ((string)(this[this.tablev_selMag.valueColumn])); + } + set { + this[this.tablev_selMag.valueColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string label { + get { + try { + return ((string)(this[this.tablev_selMag.labelColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'label\' in table \'v_selMag\' is DBNull.", e); + } + } + set { + this[this.tablev_selMag.labelColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string conditio { + get { + return ((string)(this[this.tablev_selMag.conditioColumn])); + } + set { + this[this.tablev_selMag.conditioColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IslabelNull() { + return this.IsNull(this.tablev_selMag.labelColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetlabelNull() { + this[this.tablev_selMag.labelColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class v_selBloccoRow : global::System.Data.DataRow { + + private v_selBloccoDataTable tablev_selBlocco; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_selBloccoRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_selBlocco = ((v_selBloccoDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int value { + get { + return ((int)(this[this.tablev_selBlocco.valueColumn])); + } + set { + this[this.tablev_selBlocco.valueColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string label { + get { + try { + return ((string)(this[this.tablev_selBlocco.labelColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'label\' in table \'v_selBlocco\' is DBNull.", e); + } + } + set { + this[this.tablev_selBlocco.labelColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCS { + get { + try { + return ((string)(this[this.tablev_selBlocco.CodCSColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodCS\' in table \'v_selBlocco\' is DBNull.", e); + } + } + set { + this[this.tablev_selBlocco.CodCSColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodMag { + get { + try { + return ((string)(this[this.tablev_selBlocco.CodMagColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodMag\' in table \'v_selBlocco\' is DBNull.", e); + } + } + set { + this[this.tablev_selBlocco.CodMagColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IslabelNull() { + return this.IsNull(this.tablev_selBlocco.labelColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetlabelNull() { + this[this.tablev_selBlocco.labelColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodCSNull() { + return this.IsNull(this.tablev_selBlocco.CodCSColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodCSNull() { + this[this.tablev_selBlocco.CodCSColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodMagNull() { + return this.IsNull(this.tablev_selBlocco.CodMagColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodMagNull() { + this[this.tablev_selBlocco.CodMagColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class v_selTipoCellaRow : global::System.Data.DataRow { + + private v_selTipoCellaDataTable tablev_selTipoCella; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_selTipoCellaRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_selTipoCella = ((v_selTipoCellaDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int value { + get { + return ((int)(this[this.tablev_selTipoCella.valueColumn])); + } + set { + this[this.tablev_selTipoCella.valueColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string label { + get { + try { + return ((string)(this[this.tablev_selTipoCella.labelColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'label\' in table \'v_selTipoCella\' is DBNull.", e); + } + } + set { + this[this.tablev_selTipoCella.labelColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodMag { + get { + return ((string)(this[this.tablev_selTipoCella.CodMagColumn])); + } + set { + this[this.tablev_selTipoCella.CodMagColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCS { + get { + return ((string)(this[this.tablev_selTipoCella.CodCSColumn])); + } + set { + this[this.tablev_selTipoCella.CodCSColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IslabelNull() { + return this.IsNull(this.tablev_selTipoCella.labelColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetlabelNull() { + this[this.tablev_selTipoCella.labelColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class stp_getImpiantiByCodCSRow : global::System.Data.DataRow { + + private stp_getImpiantiByCodCSDataTable tablestp_getImpiantiByCodCS; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal stp_getImpiantiByCodCSRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablestp_getImpiantiByCodCS = ((stp_getImpiantiByCodCSDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodImpianto { + get { + return ((string)(this[this.tablestp_getImpiantiByCodCS.CodImpiantoColumn])); + } + set { + this[this.tablestp_getImpiantiByCodCS.CodImpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCS { + get { + return ((string)(this[this.tablestp_getImpiantiByCodCS.CodCSColumn])); + } + set { + this[this.tablestp_getImpiantiByCodCS.CodCSColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescImpianto { + get { + try { + return ((string)(this[this.tablestp_getImpiantiByCodCS.DescImpiantoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescImpianto\' in table \'stp_getImpiantiByCodCS\' is DBNull.", e); + } + } + set { + this[this.tablestp_getImpiantiByCodCS.DescImpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Campionatura { + get { + try { + return ((string)(this[this.tablestp_getImpiantiByCodCS.CampionaturaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Campionatura\' in table \'stp_getImpiantiByCodCS\' is DBNull.", e); + } + } + set { + this[this.tablestp_getImpiantiByCodCS.CampionaturaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string TipoLinea { + get { + try { + return ((string)(this[this.tablestp_getImpiantiByCodCS.TipoLineaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'TipoLinea\' in table \'stp_getImpiantiByCodCS\' is DBNull.", e); + } + } + set { + this[this.tablestp_getImpiantiByCodCS.TipoLineaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescImpiantoNull() { + return this.IsNull(this.tablestp_getImpiantiByCodCS.DescImpiantoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescImpiantoNull() { + this[this.tablestp_getImpiantiByCodCS.DescImpiantoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCampionaturaNull() { + return this.IsNull(this.tablestp_getImpiantiByCodCS.CampionaturaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCampionaturaNull() { + this[this.tablestp_getImpiantiByCodCS.CampionaturaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsTipoLineaNull() { + return this.IsNull(this.tablestp_getImpiantiByCodCS.TipoLineaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetTipoLineaNull() { + this[this.tablestp_getImpiantiByCodCS.TipoLineaColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class STPRow : global::System.Data.DataRow { + + private STPDataTable tableSTP; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal STPRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableSTP = ((STPDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int Versione { + get { + return ((int)(this[this.tableSTP.VersioneColumn])); + } + set { + this[this.tableSTP.VersioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime Data { + get { + try { + return ((global::System.DateTime)(this[this.tableSTP.DataColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Data\' in table \'STP\' is DBNull.", e); + } + } + set { + this[this.tableSTP.DataColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDataNull() { + return this.IsNull(this.tableSTP.DataColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDataNull() { + this[this.tableSTP.DataColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class v_selPeriodiTradRow : global::System.Data.DataRow { + + private v_selPeriodiTradDataTable tablev_selPeriodiTrad; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_selPeriodiTradRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_selPeriodiTrad = ((v_selPeriodiTradDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string value { + get { + return ((string)(this[this.tablev_selPeriodiTrad.valueColumn])); + } + set { + this[this.tablev_selPeriodiTrad.valueColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string label { + get { + return ((string)(this[this.tablev_selPeriodiTrad.labelColumn])); + } + set { + this[this.tablev_selPeriodiTrad.labelColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string conditio { + get { + return ((string)(this[this.tablev_selPeriodiTrad.conditioColumn])); + } + set { + this[this.tablev_selPeriodiTrad.conditioColumn] = value; + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class v_selStatiListeRow : global::System.Data.DataRow { + + private v_selStatiListeDataTable tablev_selStatiListe; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_selStatiListeRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_selStatiListe = ((v_selStatiListeDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int value { + get { + return ((int)(this[this.tablev_selStatiListe.valueColumn])); + } + set { + this[this.tablev_selStatiListe.valueColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string label { + get { + try { + return ((string)(this[this.tablev_selStatiListe.labelColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'label\' in table \'v_selStatiListe\' is DBNull.", e); + } + } + set { + this[this.tablev_selStatiListe.labelColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IslabelNull() { + return this.IsNull(this.tablev_selStatiListe.labelColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetlabelNull() { + this[this.tablev_selStatiListe.labelColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class v_selTipoListaRow : global::System.Data.DataRow { + + private v_selTipoListaDataTable tablev_selTipoLista; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_selTipoListaRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_selTipoLista = ((v_selTipoListaDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string value { + get { + return ((string)(this[this.tablev_selTipoLista.valueColumn])); + } + set { + this[this.tablev_selTipoLista.valueColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string label { + get { + try { + return ((string)(this[this.tablev_selTipoLista.labelColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'label\' in table \'v_selTipoLista\' is DBNull.", e); + } + } + set { + this[this.tablev_selTipoLista.labelColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string conditio { + get { + try { + return ((string)(this[this.tablev_selTipoLista.conditioColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'conditio\' in table \'v_selTipoLista\' is DBNull.", e); + } + } + set { + this[this.tablev_selTipoLista.conditioColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IslabelNull() { + return this.IsNull(this.tablev_selTipoLista.labelColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetlabelNull() { + this[this.tablev_selTipoLista.labelColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsconditioNull() { + return this.IsNull(this.tablev_selTipoLista.conditioColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetconditioNull() { + this[this.tablev_selTipoLista.conditioColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class v_selUdcByPartRow : global::System.Data.DataRow { + + private v_selUdcByPartDataTable tablev_selUdcByPart; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_selUdcByPartRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_selUdcByPart = ((v_selUdcByPartDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string value { + get { + return ((string)(this[this.tablev_selUdcByPart.valueColumn])); + } + set { + this[this.tablev_selUdcByPart.valueColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string label { + get { + try { + return ((string)(this[this.tablev_selUdcByPart.labelColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'label\' in table \'v_selUdcByPart\' is DBNull.", e); + } + } + set { + this[this.tablev_selUdcByPart.labelColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Particolare { + get { + try { + return ((string)(this[this.tablev_selUdcByPart.ParticolareColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Particolare\' in table \'v_selUdcByPart\' is DBNull.", e); + } + } + set { + this[this.tablev_selUdcByPart.ParticolareColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int IdxPosizione { + get { + try { + return ((int)(this[this.tablev_selUdcByPart.IdxPosizioneColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'IdxPosizione\' in table \'v_selUdcByPart\' is DBNull.", e); + } + } + set { + this[this.tablev_selUdcByPart.IdxPosizioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCS { + get { + try { + return ((string)(this[this.tablev_selUdcByPart.CodCSColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodCS\' in table \'v_selUdcByPart\' is DBNull.", e); + } + } + set { + this[this.tablev_selUdcByPart.CodCSColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IslabelNull() { + return this.IsNull(this.tablev_selUdcByPart.labelColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetlabelNull() { + this[this.tablev_selUdcByPart.labelColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsParticolareNull() { + return this.IsNull(this.tablev_selUdcByPart.ParticolareColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetParticolareNull() { + this[this.tablev_selUdcByPart.ParticolareColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsIdxPosizioneNull() { + return this.IsNull(this.tablev_selUdcByPart.IdxPosizioneColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetIdxPosizioneNull() { + this[this.tablev_selUdcByPart.IdxPosizioneColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodCSNull() { + return this.IsNull(this.tablev_selUdcByPart.CodCSColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodCSNull() { + this[this.tablev_selUdcByPart.CodCSColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class v_selTipoDeliberaRow : global::System.Data.DataRow { + + private v_selTipoDeliberaDataTable tablev_selTipoDelibera; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_selTipoDeliberaRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_selTipoDelibera = ((v_selTipoDeliberaDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string value { + get { + return ((string)(this[this.tablev_selTipoDelibera.valueColumn])); + } + set { + this[this.tablev_selTipoDelibera.valueColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string label { + get { + try { + return ((string)(this[this.tablev_selTipoDelibera.labelColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'label\' in table \'v_selTipoDelibera\' is DBNull.", e); + } + } + set { + this[this.tablev_selTipoDelibera.labelColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IslabelNull() { + return this.IsNull(this.tablev_selTipoDelibera.labelColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetlabelNull() { + this[this.tablev_selTipoDelibera.labelColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class stp_ricercaFullTerminalinoRow : global::System.Data.DataRow { + + private stp_ricercaFullTerminalinoDataTable tablestp_ricercaFullTerminalino; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal stp_ricercaFullTerminalinoRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablestp_ricercaFullTerminalino = ((stp_ricercaFullTerminalinoDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Tipo { + get { + try { + return ((string)(this[this.tablestp_ricercaFullTerminalino.TipoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Tipo\' in table \'stp_ricercaFullTerminalino\' is DBNull.", e); + } + } + set { + this[this.tablestp_ricercaFullTerminalino.TipoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string label { + get { + try { + return ((string)(this[this.tablestp_ricercaFullTerminalino.labelColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'label\' in table \'stp_ricercaFullTerminalino\' is DBNull.", e); + } + } + set { + this[this.tablestp_ricercaFullTerminalino.labelColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string valore { + get { + try { + return ((string)(this[this.tablestp_ricercaFullTerminalino.valoreColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'valore\' in table \'stp_ricercaFullTerminalino\' is DBNull.", e); + } + } + set { + this[this.tablestp_ricercaFullTerminalino.valoreColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsTipoNull() { + return this.IsNull(this.tablestp_ricercaFullTerminalino.TipoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetTipoNull() { + this[this.tablestp_ricercaFullTerminalino.TipoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IslabelNull() { + return this.IsNull(this.tablestp_ricercaFullTerminalino.labelColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetlabelNull() { + this[this.tablestp_ricercaFullTerminalino.labelColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsvaloreNull() { + return this.IsNull(this.tablestp_ricercaFullTerminalino.valoreColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetvaloreNull() { + this[this.tablestp_ricercaFullTerminalino.valoreColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class v_selMagLogicoRow : global::System.Data.DataRow { + + private v_selMagLogicoDataTable tablev_selMagLogico; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_selMagLogicoRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_selMagLogico = ((v_selMagLogicoDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string value { + get { + try { + return ((string)(this[this.tablev_selMagLogico.valueColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'value\' in table \'v_selMagLogico\' is DBNull.", e); + } + } + set { + this[this.tablev_selMagLogico.valueColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string label { + get { + try { + return ((string)(this[this.tablev_selMagLogico.labelColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'label\' in table \'v_selMagLogico\' is DBNull.", e); + } + } + set { + this[this.tablev_selMagLogico.labelColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string conditio { + get { + try { + return ((string)(this[this.tablev_selMagLogico.conditioColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'conditio\' in table \'v_selMagLogico\' is DBNull.", e); + } + } + set { + this[this.tablev_selMagLogico.conditioColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsvalueNull() { + return this.IsNull(this.tablev_selMagLogico.valueColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetvalueNull() { + this[this.tablev_selMagLogico.valueColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IslabelNull() { + return this.IsNull(this.tablev_selMagLogico.labelColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetlabelNull() { + this[this.tablev_selMagLogico.labelColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsconditioNull() { + return this.IsNull(this.tablev_selMagLogico.conditioColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetconditioNull() { + this[this.tablev_selMagLogico.conditioColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class v_selDestinatariListePrelievoRow : global::System.Data.DataRow { + + private v_selDestinatariListePrelievoDataTable tablev_selDestinatariListePrelievo; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_selDestinatariListePrelievoRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_selDestinatariListePrelievo = ((v_selDestinatariListePrelievoDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string value { + get { + return ((string)(this[this.tablev_selDestinatariListePrelievo.valueColumn])); + } + set { + this[this.tablev_selDestinatariListePrelievo.valueColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string label { + get { + if (this.IslabelNull()) { + return null; + } + else { + return ((string)(this[this.tablev_selDestinatariListePrelievo.labelColumn])); + } + } + set { + this[this.tablev_selDestinatariListePrelievo.labelColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string conditio { + get { + return ((string)(this[this.tablev_selDestinatariListePrelievo.conditioColumn])); + } + set { + this[this.tablev_selDestinatariListePrelievo.conditioColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IslabelNull() { + return this.IsNull(this.tablev_selDestinatariListePrelievo.labelColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetlabelNull() { + this[this.tablev_selDestinatariListePrelievo.labelColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class AS400_ComandiRow : global::System.Data.DataRow { + + private AS400_ComandiDataTable tableAS400_Comandi; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AS400_ComandiRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableAS400_Comandi = ((AS400_ComandiDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime DataEsecuzione { + get { + return ((global::System.DateTime)(this[this.tableAS400_Comandi.DataEsecuzioneColumn])); + } + set { + this[this.tableAS400_Comandi.DataEsecuzioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Stored { + get { + return ((string)(this[this.tableAS400_Comandi.StoredColumn])); + } + set { + this[this.tableAS400_Comandi.StoredColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string ComandoTSQL { + get { + try { + return ((string)(this[this.tableAS400_Comandi.ComandoTSQLColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'ComandoTSQL\' in table \'AS400_Comandi\' is DBNull.", e); + } + } + set { + this[this.tableAS400_Comandi.ComandoTSQLColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int Test { + get { + try { + return ((int)(this[this.tableAS400_Comandi.TestColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Test\' in table \'AS400_Comandi\' is DBNull.", e); + } + } + set { + this[this.tableAS400_Comandi.TestColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsComandoTSQLNull() { + return this.IsNull(this.tableAS400_Comandi.ComandoTSQLColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetComandoTSQLNull() { + this[this.tableAS400_Comandi.ComandoTSQLColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsTestNull() { + return this.IsNull(this.tableAS400_Comandi.TestColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetTestNull() { + this[this.tableAS400_Comandi.TestColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class v_selParticolariRow : global::System.Data.DataRow { + + private v_selParticolariDataTable tablev_selParticolari; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_selParticolariRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_selParticolari = ((v_selParticolariDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string value { + get { + return ((string)(this[this.tablev_selParticolari.valueColumn])); + } + set { + this[this.tablev_selParticolari.valueColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string label { + get { + try { + return ((string)(this[this.tablev_selParticolari.labelColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'label\' in table \'v_selParticolari\' is DBNull.", e); + } + } + set { + this[this.tablev_selParticolari.labelColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string conditio { + get { + try { + return ((string)(this[this.tablev_selParticolari.conditioColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'conditio\' in table \'v_selParticolari\' is DBNull.", e); + } + } + set { + this[this.tablev_selParticolari.conditioColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IslabelNull() { + return this.IsNull(this.tablev_selParticolari.labelColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetlabelNull() { + this[this.tablev_selParticolari.labelColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsconditioNull() { + return this.IsNull(this.tablev_selParticolari.conditioColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetconditioNull() { + this[this.tablev_selParticolari.conditioColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class v_selMagRowChangeEvent : global::System.EventArgs { + + private v_selMagRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selMagRowChangeEvent(v_selMagRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selMagRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class v_selBloccoRowChangeEvent : global::System.EventArgs { + + private v_selBloccoRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selBloccoRowChangeEvent(v_selBloccoRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selBloccoRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class v_selTipoCellaRowChangeEvent : global::System.EventArgs { + + private v_selTipoCellaRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selTipoCellaRowChangeEvent(v_selTipoCellaRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selTipoCellaRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class stp_getImpiantiByCodCSRowChangeEvent : global::System.EventArgs { + + private stp_getImpiantiByCodCSRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_getImpiantiByCodCSRowChangeEvent(stp_getImpiantiByCodCSRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_getImpiantiByCodCSRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class STPRowChangeEvent : global::System.EventArgs { + + private STPRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public STPRowChangeEvent(STPRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public STPRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class v_selPeriodiTradRowChangeEvent : global::System.EventArgs { + + private v_selPeriodiTradRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selPeriodiTradRowChangeEvent(v_selPeriodiTradRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selPeriodiTradRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class v_selStatiListeRowChangeEvent : global::System.EventArgs { + + private v_selStatiListeRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selStatiListeRowChangeEvent(v_selStatiListeRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selStatiListeRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class v_selTipoListaRowChangeEvent : global::System.EventArgs { + + private v_selTipoListaRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selTipoListaRowChangeEvent(v_selTipoListaRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selTipoListaRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class v_selUdcByPartRowChangeEvent : global::System.EventArgs { + + private v_selUdcByPartRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selUdcByPartRowChangeEvent(v_selUdcByPartRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selUdcByPartRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class v_selTipoDeliberaRowChangeEvent : global::System.EventArgs { + + private v_selTipoDeliberaRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selTipoDeliberaRowChangeEvent(v_selTipoDeliberaRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selTipoDeliberaRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class stp_ricercaFullTerminalinoRowChangeEvent : global::System.EventArgs { + + private stp_ricercaFullTerminalinoRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_ricercaFullTerminalinoRowChangeEvent(stp_ricercaFullTerminalinoRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_ricercaFullTerminalinoRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class v_selMagLogicoRowChangeEvent : global::System.EventArgs { + + private v_selMagLogicoRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selMagLogicoRowChangeEvent(v_selMagLogicoRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selMagLogicoRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class v_selDestinatariListePrelievoRowChangeEvent : global::System.EventArgs { + + private v_selDestinatariListePrelievoRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selDestinatariListePrelievoRowChangeEvent(v_selDestinatariListePrelievoRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selDestinatariListePrelievoRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class AS400_ComandiRowChangeEvent : global::System.EventArgs { + + private AS400_ComandiRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AS400_ComandiRowChangeEvent(AS400_ComandiRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AS400_ComandiRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class v_selParticolariRowChangeEvent : global::System.EventArgs { + + private v_selParticolariRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selParticolariRowChangeEvent(v_selParticolariRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selParticolariRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + } +} +namespace GMW_data.DS_UtilityTableAdapters { + + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class v_selMagTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selMagTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "v_selMag"; + tableMapping.ColumnMappings.Add("value", "value"); + tableMapping.ColumnMappings.Add("label", "label"); + tableMapping.ColumnMappings.Add("conditio", "conditio"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT value, label, conditio FROM dbo.v_selMag"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "SELECT value, label, conditio\r\nFROM v_selMag\r\nWHERE (con" + + "ditio = @conditio)\r\nORDER BY label"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@conditio", global::System.Data.SqlDbType.NChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, "conditio", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_Utility.v_selMagDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_Utility.v_selMagDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_Utility.v_selMagDataTable dataTable = new DS_Utility.v_selMagDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_Utility.v_selMagDataTable getByConditio(string conditio) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((conditio == null)) { + throw new global::System.ArgumentNullException("conditio"); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(conditio)); + } + DS_Utility.v_selMagDataTable dataTable = new DS_Utility.v_selMagDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class v_selBloccoTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selBloccoTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "v_selBlocco"; + tableMapping.ColumnMappings.Add("value", "value"); + tableMapping.ColumnMappings.Add("label", "label"); + tableMapping.ColumnMappings.Add("CodCS", "CodCS"); + tableMapping.ColumnMappings.Add("CodMag", "CodMag"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT value, label, CodCS, CodMag FROM dbo.v_selBlocco"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "SELECT value, label, CodCS, CodMag\r\nFROM v_selBlocco\r\nWHERE " + + " (CodCS = @CodCS) AND (CodMag = @CodMag)"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.NChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMag", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "CodMag", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_Utility.v_selBloccoDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_Utility.v_selBloccoDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_Utility.v_selBloccoDataTable dataTable = new DS_Utility.v_selBloccoDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_Utility.v_selBloccoDataTable getByConditio(string CodCS, string CodMag) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((CodCS == null)) { + this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(CodCS)); + } + if ((CodMag == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodMag)); + } + DS_Utility.v_selBloccoDataTable dataTable = new DS_Utility.v_selBloccoDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class v_selTipoCellaTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selTipoCellaTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "v_selTipoCella"; + tableMapping.ColumnMappings.Add("value", "value"); + tableMapping.ColumnMappings.Add("label", "label"); + tableMapping.ColumnMappings.Add("CodMag", "CodMag"); + tableMapping.ColumnMappings.Add("CodCS", "CodCS"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT value, label, CodMag, CodCS FROM dbo.v_selTipoCella"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "SELECT value, label, CodMag, CodCS\r\nFROM v_selTipoCella\r\nWHERE " + + " (CodMag = @CodMag) AND (CodCS = @CodCS)"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMag", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "CodMag", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.NChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[2].Connection = this.Connection; + this._commandCollection[2].CommandText = "SELECT value, label, CodMag, CodCS\r\nFROM v_selTipoCella\r\nWHERE " + + " (value = @value)"; + this._commandCollection[2].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@value", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "value", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_Utility.v_selTipoCellaDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_Utility.v_selTipoCellaDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_Utility.v_selTipoCellaDataTable dataTable = new DS_Utility.v_selTipoCellaDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_Utility.v_selTipoCellaDataTable getByConditio(string CodMag, string CodCS) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((CodMag == null)) { + throw new global::System.ArgumentNullException("CodMag"); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(CodMag)); + } + if ((CodCS == null)) { + throw new global::System.ArgumentNullException("CodCS"); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodCS)); + } + DS_Utility.v_selTipoCellaDataTable dataTable = new DS_Utility.v_selTipoCellaDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_Utility.v_selTipoCellaDataTable getByValue(int value) { + this.Adapter.SelectCommand = this.CommandCollection[2]; + this.Adapter.SelectCommand.Parameters[0].Value = ((int)(value)); + DS_Utility.v_selTipoCellaDataTable dataTable = new DS_Utility.v_selTipoCellaDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class stp_getImpiantiByCodCSTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_getImpiantiByCodCSTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_getImpiantiByCodCS"; + tableMapping.ColumnMappings.Add("CodImpianto", "CodImpianto"); + tableMapping.ColumnMappings.Add("CodCS", "CodCS"); + tableMapping.ColumnMappings.Add("DescImpianto", "DescImpianto"); + tableMapping.ColumnMappings.Add("Campionatura", "Campionatura"); + tableMapping.ColumnMappings.Add("TipoLinea", "TipoLinea"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_getImpiantiByCodCS"; + 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("@CodCS", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_Utility.stp_getImpiantiByCodCSDataTable dataTable, string CodCS) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((CodCS == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodCS)); + } + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_Utility.stp_getImpiantiByCodCSDataTable GetData(string CodCS) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((CodCS == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodCS)); + } + DS_Utility.stp_getImpiantiByCodCSDataTable dataTable = new DS_Utility.stp_getImpiantiByCodCSDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class STPTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public STPTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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"; + tableMapping.ColumnMappings.Add("Versione", "Versione"); + tableMapping.ColumnMappings.Add("Data", "Data"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[14]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "dbo.stp_dummy"; + 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[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "dbo.stp_accodaConsumoUdcMP"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[1].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[1].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[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataPrelFus", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TurnoPrelFus", global::System.Data.SqlDbType.Char, 5, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DestLega", global::System.Data.SqlDbType.Char, 3, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DestTerz", global::System.Data.SqlDbType.Char, 6, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[2].Connection = this.Connection; + this._commandCollection[2].CommandText = "BatchQueue.stp_batch_RapQual_S01"; + this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[2].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[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@minData", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[3].Connection = this.Connection; + this._commandCollection[3].CommandText = "BatchQueue.stp_batch_RapQual_S02"; + this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[3].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[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMagMpNONacc", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMagMpAcc", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodStatoMpNONacc", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodStatoMpAcc", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[4].Connection = this.Connection; + this._commandCollection[4].CommandText = "dbo.stp_celleCreaMancantiBlocco"; + this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[4].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[4].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[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMag", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxBlocco", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxTipoCellaNew", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[5].Connection = this.Connection; + this._commandCollection[5].CommandText = "dbo.stp_ContaCelle4Blocchi"; + this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMag", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TotCelle", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.InputOutput, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[6].Connection = this.Connection; + this._commandCollection[6].CommandText = "dbo.stp_ContaCelle4Tipo"; + this._commandCollection[6].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[6].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[6].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[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMag", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TotCelle", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.InputOutput, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[7].Connection = this.Connection; + this._commandCollection[7].CommandText = "dbo.stp_ContaCelleBlocco"; + this._commandCollection[7].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[7].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[7].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[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMag", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FiltAttive", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PosAssegnata", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TotCelle", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.InputOutput, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[8] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[8].Connection = this.Connection; + this._commandCollection[8].CommandText = "dbo.stp_ContaCelleCapa"; + this._commandCollection[8].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[8].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[8].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[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMag", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TotCelle", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.InputOutput, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[9] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[9].Connection = this.Connection; + this._commandCollection[9].CommandText = "dbo.stp_ContaCelleCreate"; + 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("@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("@CodMag", global::System.Data.SqlDbType.VarChar, 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("@TotCelle", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.InputOutput, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[10] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[10].Connection = this.Connection; + this._commandCollection[10].CommandText = "dbo.stp_ContaDeltaCelleBlocco"; + this._commandCollection[10].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[10].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[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxBlocco", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DeltaCelle", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.InputOutput, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[11] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[11].Connection = this.Connection; + this._commandCollection[11].CommandText = "BatchQueue.stp_processaCodaConsumoMP"; + this._commandCollection[11].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[11].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[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ExecBatchInter", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[12] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[12].Connection = this.Connection; + this._commandCollection[12].CommandText = "dbo.stp_processaSpedizTerz"; + this._commandCollection[12].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[12].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[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.NVarChar, 17, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[13] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[13].Connection = this.Connection; + this._commandCollection[13].CommandText = "dbo.stp_UDC_delibera"; + this._commandCollection[13].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[13].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[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoDelibera", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[13].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[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodEvento", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.NVarChar, 17, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[13].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, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_Utility.STPDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_Utility.STPDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_Utility.STPDataTable dataTable = new DS_Utility.STPDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int stp_accodaConsumoUdcMP(string UDC, global::System.Nullable DataPrelFus, string TurnoPrelFus, string DestLega, string DestTerz) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1]; + if ((UDC == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(UDC)); + } + if ((DataPrelFus.HasValue == true)) { + command.Parameters[2].Value = ((System.DateTime)(DataPrelFus.Value)); + } + else { + command.Parameters[2].Value = global::System.DBNull.Value; + } + if ((TurnoPrelFus == null)) { + command.Parameters[3].Value = global::System.DBNull.Value; + } + else { + command.Parameters[3].Value = ((string)(TurnoPrelFus)); + } + if ((DestLega == null)) { + command.Parameters[4].Value = global::System.DBNull.Value; + } + else { + command.Parameters[4].Value = ((string)(DestLega)); + } + if ((DestTerz == null)) { + command.Parameters[5].Value = global::System.DBNull.Value; + } + else { + command.Parameters[5].Value = ((string)(DestTerz)); + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int stp_batch_RapQual_S01(global::System.Nullable minData) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2]; + if ((minData.HasValue == true)) { + command.Parameters[1].Value = ((System.DateTime)(minData.Value)); + } + else { + command.Parameters[1].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int stp_batch_RapQual_S02(string CodMagMpNONacc, string CodMagMpAcc, string CodStatoMpNONacc, string CodStatoMpAcc) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3]; + if ((CodMagMpNONacc == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(CodMagMpNONacc)); + } + if ((CodMagMpAcc == null)) { + command.Parameters[2].Value = global::System.DBNull.Value; + } + else { + command.Parameters[2].Value = ((string)(CodMagMpAcc)); + } + if ((CodStatoMpNONacc == null)) { + command.Parameters[3].Value = global::System.DBNull.Value; + } + else { + command.Parameters[3].Value = ((string)(CodStatoMpNONacc)); + } + if ((CodStatoMpAcc == null)) { + command.Parameters[4].Value = global::System.DBNull.Value; + } + else { + command.Parameters[4].Value = ((string)(CodStatoMpAcc)); + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int stp_celleCreaMancantiBlocco(string CodCS, string CodMag, global::System.Nullable IdxBlocco, global::System.Nullable IdxTipoCellaNew) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4]; + if ((CodCS == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(CodCS)); + } + if ((CodMag == null)) { + command.Parameters[2].Value = global::System.DBNull.Value; + } + else { + command.Parameters[2].Value = ((string)(CodMag)); + } + if ((IdxBlocco.HasValue == true)) { + command.Parameters[3].Value = ((int)(IdxBlocco.Value)); + } + else { + command.Parameters[3].Value = global::System.DBNull.Value; + } + if ((IdxTipoCellaNew.HasValue == true)) { + command.Parameters[4].Value = ((int)(IdxTipoCellaNew.Value)); + } + else { + command.Parameters[4].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int stp_ContaCelle4Blocchi(string CodCS, string CodMag, ref global::System.Nullable TotCelle) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5]; + if ((CodCS == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(CodCS)); + } + if ((CodMag == null)) { + command.Parameters[2].Value = global::System.DBNull.Value; + } + else { + command.Parameters[2].Value = ((string)(CodMag)); + } + if ((TotCelle.HasValue == true)) { + command.Parameters[3].Value = ((int)(TotCelle.Value)); + } + else { + command.Parameters[3].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + if (((command.Parameters[3].Value == null) + || (command.Parameters[3].Value.GetType() == typeof(global::System.DBNull)))) { + TotCelle = new global::System.Nullable(); + } + else { + TotCelle = new global::System.Nullable(((int)(command.Parameters[3].Value))); + } + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int stp_ContaCelle4Tipo(string CodCS, string CodMag, ref global::System.Nullable TotCelle) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[6]; + if ((CodCS == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(CodCS)); + } + if ((CodMag == null)) { + command.Parameters[2].Value = global::System.DBNull.Value; + } + else { + command.Parameters[2].Value = ((string)(CodMag)); + } + if ((TotCelle.HasValue == true)) { + command.Parameters[3].Value = ((int)(TotCelle.Value)); + } + else { + command.Parameters[3].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + if (((command.Parameters[3].Value == null) + || (command.Parameters[3].Value.GetType() == typeof(global::System.DBNull)))) { + TotCelle = new global::System.Nullable(); + } + else { + TotCelle = new global::System.Nullable(((int)(command.Parameters[3].Value))); + } + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int stp_ContaCelleBlocco(string CodCS, string CodMag, global::System.Nullable FiltAttive, global::System.Nullable PosAssegnata, ref global::System.Nullable TotCelle) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[7]; + if ((CodCS == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(CodCS)); + } + if ((CodMag == null)) { + command.Parameters[2].Value = global::System.DBNull.Value; + } + else { + command.Parameters[2].Value = ((string)(CodMag)); + } + if ((FiltAttive.HasValue == true)) { + command.Parameters[3].Value = ((bool)(FiltAttive.Value)); + } + else { + command.Parameters[3].Value = global::System.DBNull.Value; + } + if ((PosAssegnata.HasValue == true)) { + command.Parameters[4].Value = ((bool)(PosAssegnata.Value)); + } + else { + command.Parameters[4].Value = global::System.DBNull.Value; + } + if ((TotCelle.HasValue == true)) { + command.Parameters[5].Value = ((int)(TotCelle.Value)); + } + else { + command.Parameters[5].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + if (((command.Parameters[5].Value == null) + || (command.Parameters[5].Value.GetType() == typeof(global::System.DBNull)))) { + TotCelle = new global::System.Nullable(); + } + else { + TotCelle = new global::System.Nullable(((int)(command.Parameters[5].Value))); + } + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual object stp_ContaCelleCapa(string CodCS, string CodMag, ref global::System.Nullable TotCelle) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[8]; + if ((CodCS == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(CodCS)); + } + if ((CodMag == null)) { + command.Parameters[2].Value = global::System.DBNull.Value; + } + else { + command.Parameters[2].Value = ((string)(CodMag)); + } + if ((TotCelle.HasValue == true)) { + command.Parameters[3].Value = ((int)(TotCelle.Value)); + } + else { + command.Parameters[3].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + object returnValue; + try { + returnValue = command.ExecuteScalar(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + if (((command.Parameters[3].Value == null) + || (command.Parameters[3].Value.GetType() == typeof(global::System.DBNull)))) { + TotCelle = new global::System.Nullable(); + } + else { + TotCelle = new global::System.Nullable(((int)(command.Parameters[3].Value))); + } + if (((returnValue == null) + || (returnValue.GetType() == typeof(global::System.DBNull)))) { + return null; + } + else { + return ((object)(returnValue)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int stp_ContaCelleCreate(string CodCS, string CodMag, ref global::System.Nullable TotCelle) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[9]; + if ((CodCS == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(CodCS)); + } + if ((CodMag == null)) { + command.Parameters[2].Value = global::System.DBNull.Value; + } + else { + command.Parameters[2].Value = ((string)(CodMag)); + } + if ((TotCelle.HasValue == true)) { + command.Parameters[3].Value = ((int)(TotCelle.Value)); + } + else { + command.Parameters[3].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + if (((command.Parameters[3].Value == null) + || (command.Parameters[3].Value.GetType() == typeof(global::System.DBNull)))) { + TotCelle = new global::System.Nullable(); + } + else { + TotCelle = new global::System.Nullable(((int)(command.Parameters[3].Value))); + } + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int stp_ContaDeltaCelleBlocco(global::System.Nullable IdxBlocco, ref global::System.Nullable DeltaCelle) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[10]; + if ((IdxBlocco.HasValue == true)) { + command.Parameters[1].Value = ((int)(IdxBlocco.Value)); + } + else { + command.Parameters[1].Value = global::System.DBNull.Value; + } + if ((DeltaCelle.HasValue == true)) { + command.Parameters[2].Value = ((int)(DeltaCelle.Value)); + } + else { + command.Parameters[2].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + if (((command.Parameters[2].Value == null) + || (command.Parameters[2].Value.GetType() == typeof(global::System.DBNull)))) { + DeltaCelle = new global::System.Nullable(); + } + else { + DeltaCelle = new global::System.Nullable(((int)(command.Parameters[2].Value))); + } + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int stp_processaCodaConsumoMP(global::System.Nullable ExecBatchInter) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[11]; + if ((ExecBatchInter.HasValue == true)) { + command.Parameters[1].Value = ((bool)(ExecBatchInter.Value)); + } + else { + command.Parameters[1].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int stp_processaSpedizTerz(string CodSoggetto) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[12]; + if ((CodSoggetto == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(CodSoggetto)); + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int stp_UDC_delibera(string CodTipoDelibera, string UDC, string CodEvento, string CodSoggetto, string CodCS) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[13]; + if ((CodTipoDelibera == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(CodTipoDelibera)); + } + if ((UDC == null)) { + command.Parameters[2].Value = global::System.DBNull.Value; + } + else { + command.Parameters[2].Value = ((string)(UDC)); + } + if ((CodEvento == null)) { + command.Parameters[3].Value = global::System.DBNull.Value; + } + else { + command.Parameters[3].Value = ((string)(CodEvento)); + } + if ((CodSoggetto == null)) { + command.Parameters[4].Value = global::System.DBNull.Value; + } + else { + command.Parameters[4].Value = ((string)(CodSoggetto)); + } + if ((CodCS == null)) { + command.Parameters[5].Value = global::System.DBNull.Value; + } + else { + command.Parameters[5].Value = ((string)(CodCS)); + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class v_selPeriodiTradTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selPeriodiTradTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "v_selPeriodiTrad"; + tableMapping.ColumnMappings.Add("value", "value"); + tableMapping.ColumnMappings.Add("label", "label"); + tableMapping.ColumnMappings.Add("conditio", "conditio"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT value, label, conditio FROM dbo.v_selPeriodiTrad"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "SELECT conditio, label, value FROM v_selPeriodiTrad WHERE (conditio = @conditio) " + + "ORDER BY value"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@conditio", global::System.Data.SqlDbType.NVarChar, 3, global::System.Data.ParameterDirection.Input, 0, 0, "conditio", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_Utility.v_selPeriodiTradDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_Utility.v_selPeriodiTradDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_Utility.v_selPeriodiTradDataTable dataTable = new DS_Utility.v_selPeriodiTradDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_Utility.v_selPeriodiTradDataTable getByConditio(string conditio) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((conditio == null)) { + throw new global::System.ArgumentNullException("conditio"); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(conditio)); + } + DS_Utility.v_selPeriodiTradDataTable dataTable = new DS_Utility.v_selPeriodiTradDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class v_selStatiListeTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selStatiListeTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "v_selStatiListe"; + tableMapping.ColumnMappings.Add("value", "value"); + tableMapping.ColumnMappings.Add("label", "label"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "SELECT value, label FROM dbo.v_selStatiListe"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_Utility.v_selStatiListeDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_Utility.v_selStatiListeDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_Utility.v_selStatiListeDataTable dataTable = new DS_Utility.v_selStatiListeDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class v_selTipoListaTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selTipoListaTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "v_selTipoLista"; + tableMapping.ColumnMappings.Add("value", "value"); + tableMapping.ColumnMappings.Add("label", "label"); + tableMapping.ColumnMappings.Add("conditio", "conditio"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT *\r\n FROM dbo.v_selTipoLista"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "dbo.stp_selTipoLista_getByIdx"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[1].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[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@value", 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.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_Utility.v_selTipoListaDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_Utility.v_selTipoListaDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_Utility.v_selTipoListaDataTable dataTable = new DS_Utility.v_selTipoListaDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_Utility.v_selTipoListaDataTable getByValue(string value) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((value == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(value)); + } + DS_Utility.v_selTipoListaDataTable dataTable = new DS_Utility.v_selTipoListaDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class v_selUdcByPartTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selUdcByPartTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "v_selUdcByPart"; + tableMapping.ColumnMappings.Add("value", "value"); + tableMapping.ColumnMappings.Add("label", "label"); + tableMapping.ColumnMappings.Add("Particolare", "Particolare"); + tableMapping.ColumnMappings.Add("IdxPosizione", "IdxPosizione"); + tableMapping.ColumnMappings.Add("CodCS", "CodCS"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT * FROM v_selUdcByPart"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "dbo.stp_UdcPerParticolareCodLista"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[1].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[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].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[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoLista", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_Utility.v_selUdcByPartDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_Utility.v_selUdcByPartDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_Utility.v_selUdcByPartDataTable dataTable = new DS_Utility.v_selUdcByPartDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_Utility.v_selUdcByPartDataTable getByConditio(string Particolare, string CodCS, string CodTipoLista) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((Particolare == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(Particolare)); + } + if ((CodCS == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodCS)); + } + if ((CodTipoLista == null)) { + this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[3].Value = ((string)(CodTipoLista)); + } + DS_Utility.v_selUdcByPartDataTable dataTable = new DS_Utility.v_selUdcByPartDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class v_selTipoDeliberaTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selTipoDeliberaTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "v_selTipoDelibera"; + tableMapping.ColumnMappings.Add("value", "value"); + tableMapping.ColumnMappings.Add("label", "label"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "SELECT value, label FROM dbo.v_selTipoDelibera"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_Utility.v_selTipoDeliberaDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_Utility.v_selTipoDeliberaDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_Utility.v_selTipoDeliberaDataTable dataTable = new DS_Utility.v_selTipoDeliberaDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class stp_ricercaFullTerminalinoTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_ricercaFullTerminalinoTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_ricercaFullTerminalino"; + tableMapping.ColumnMappings.Add("Tipo", "Tipo"); + tableMapping.ColumnMappings.Add("label", "label"); + tableMapping.ColumnMappings.Add("valore", "valore"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_ricercaFullTerminalino"; + 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("@txtSearch", 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.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_Utility.stp_ricercaFullTerminalinoDataTable dataTable, string txtSearch) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((txtSearch == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(txtSearch)); + } + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_Utility.stp_ricercaFullTerminalinoDataTable GetData(string txtSearch) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((txtSearch == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(txtSearch)); + } + DS_Utility.stp_ricercaFullTerminalinoDataTable dataTable = new DS_Utility.stp_ricercaFullTerminalinoDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class v_selMagLogicoTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selMagLogicoTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "v_selMagLogico"; + tableMapping.ColumnMappings.Add("value", "value"); + tableMapping.ColumnMappings.Add("label", "label"); + tableMapping.ColumnMappings.Add("conditio", "conditio"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT value, label, conditio FROM dbo.v_selMagLogico"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "SELECT value, label, conditio\r\nFROM v_selMagLogico\r\nWHERE " + + " (conditio = @conditio)"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@conditio", global::System.Data.SqlDbType.NChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, "conditio", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_Utility.v_selMagLogicoDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_Utility.v_selMagLogicoDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_Utility.v_selMagLogicoDataTable dataTable = new DS_Utility.v_selMagLogicoDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_Utility.v_selMagLogicoDataTable getByConditio(string conditio) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((conditio == null)) { + this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(conditio)); + } + DS_Utility.v_selMagLogicoDataTable dataTable = new DS_Utility.v_selMagLogicoDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class v_selDestinatariListePrelievoTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selDestinatariListePrelievoTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "v_selDestinatariListePrelievo"; + tableMapping.ColumnMappings.Add("value", "value"); + tableMapping.ColumnMappings.Add("label", "label"); + tableMapping.ColumnMappings.Add("conditio", "conditio"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT value, label, conditio FROM dbo.v_selDestinatariListePrelievo"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "dbo.stp_selDestListePrelByConditio"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[1].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[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@conditio", global::System.Data.SqlDbType.NVarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[2].Connection = this.Connection; + this._commandCollection[2].CommandText = "SELECT value, label, conditio FROM dbo.v_selDestinatariListePrelievo\r\nwhere value" + + " = @value"; + this._commandCollection[2].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@value", global::System.Data.SqlDbType.NVarChar, 6, global::System.Data.ParameterDirection.Input, 0, 0, "value", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_Utility.v_selDestinatariListePrelievoDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_Utility.v_selDestinatariListePrelievoDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_Utility.v_selDestinatariListePrelievoDataTable dataTable = new DS_Utility.v_selDestinatariListePrelievoDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_Utility.v_selDestinatariListePrelievoDataTable getByConditio(string conditio) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((conditio == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(conditio)); + } + DS_Utility.v_selDestinatariListePrelievoDataTable dataTable = new DS_Utility.v_selDestinatariListePrelievoDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_Utility.v_selDestinatariListePrelievoDataTable getByValue(string value) { + this.Adapter.SelectCommand = this.CommandCollection[2]; + if ((value == null)) { + this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(value)); + } + DS_Utility.v_selDestinatariListePrelievoDataTable dataTable = new DS_Utility.v_selDestinatariListePrelievoDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class AS400_ComandiTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AS400_ComandiTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "AS400_Comandi"; + tableMapping.ColumnMappings.Add("DataEsecuzione", "DataEsecuzione"); + tableMapping.ColumnMappings.Add("Stored", "Stored"); + tableMapping.ColumnMappings.Add("ComandoTSQL", "ComandoTSQL"); + tableMapping.ColumnMappings.Add("Test", "Test"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = "INSERT INTO [RawData].[AS400_Comandi] ([DataEsecuzione], [Stored], [ComandoTSQL]," + + " [Test]) VALUES (@DataEsecuzione, @Stored, @ComandoTSQL, @Test)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataEsecuzione", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataEsecuzione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Stored", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Stored", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ComandoTSQL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ComandoTSQL", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Test", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Test", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT DataEsecuzione, Stored, ComandoTSQL, Test FROM RawData.AS400_Comandi"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "dbo.stp_ComAs_lastComandoByStored"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[1].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[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Stored", global::System.Data.SqlDbType.NVarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_Utility.AS400_ComandiDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_Utility.AS400_ComandiDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_Utility.AS400_ComandiDataTable dataTable = new DS_Utility.AS400_ComandiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_Utility.AS400_ComandiDataTable getByStored(string Stored) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((Stored == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(Stored)); + } + DS_Utility.AS400_ComandiDataTable dataTable = new DS_Utility.AS400_ComandiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_Utility.AS400_ComandiDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_Utility dataSet) { + return this.Adapter.Update(dataSet, "AS400_Comandi"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(System.DateTime DataEsecuzione, string Stored, string ComandoTSQL, global::System.Nullable Test) { + this.Adapter.InsertCommand.Parameters[0].Value = ((System.DateTime)(DataEsecuzione)); + if ((Stored == null)) { + throw new global::System.ArgumentNullException("Stored"); + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(Stored)); + } + if ((ComandoTSQL == null)) { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(ComandoTSQL)); + } + if ((Test.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[3].Value = ((int)(Test.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class v_selParticolariTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_selParticolariTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "v_selParticolari"; + tableMapping.ColumnMappings.Add("value", "value"); + tableMapping.ColumnMappings.Add("label", "label"); + tableMapping.ColumnMappings.Add("conditio", "conditio"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT value, label, conditio FROM dbo.v_selParticolari"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "dbo.stp_particolariByConditio"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[1].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[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@conditio", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[2].Connection = this.Connection; + this._commandCollection[2].CommandText = "dbo.stp_particolariByConditioLikePref"; + this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[2].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[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@conditio", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@prefText", 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.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_Utility.v_selParticolariDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_Utility.v_selParticolariDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_Utility.v_selParticolariDataTable dataTable = new DS_Utility.v_selParticolariDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_Utility.v_selParticolariDataTable getByConditio(string conditio) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((conditio == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(conditio)); + } + DS_Utility.v_selParticolariDataTable dataTable = new DS_Utility.v_selParticolariDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_Utility.v_selParticolariDataTable getByConditioPref(string conditio, string prefText) { + this.Adapter.SelectCommand = this.CommandCollection[2]; + if ((conditio == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(conditio)); + } + if ((prefText == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(prefText)); + } + DS_Utility.v_selParticolariDataTable dataTable = new DS_Utility.v_selParticolariDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios + /// + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" + + "esigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")] + public partial class TableAdapterManager : global::System.ComponentModel.Component { + + private UpdateOrderOption _updateOrder; + + private AS400_ComandiTableAdapter _aS400_ComandiTableAdapter; + + private bool _backupDataSetBeforeUpdate; + + private global::System.Data.IDbConnection _connection; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public UpdateOrderOption UpdateOrder { + get { + return this._updateOrder; + } + set { + this._updateOrder = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public AS400_ComandiTableAdapter AS400_ComandiTableAdapter { + get { + return this._aS400_ComandiTableAdapter; + } + set { + this._aS400_ComandiTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool BackupDataSetBeforeUpdate { + get { + return this._backupDataSetBeforeUpdate; + } + set { + this._backupDataSetBeforeUpdate = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public global::System.Data.IDbConnection Connection { + get { + if ((this._connection != null)) { + return this._connection; + } + if (((this._aS400_ComandiTableAdapter != null) + && (this._aS400_ComandiTableAdapter.Connection != null))) { + return this._aS400_ComandiTableAdapter.Connection; + } + return null; + } + set { + this._connection = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int TableAdapterInstanceCount { + get { + int count = 0; + if ((this._aS400_ComandiTableAdapter != null)) { + count = (count + 1); + } + return count; + } + } + + /// + ///Update rows in top-down order. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private int UpdateUpdatedRows(DS_Utility dataSet, global::System.Collections.Generic.List allChangedRows, global::System.Collections.Generic.List allAddedRows) { + int result = 0; + if ((this._aS400_ComandiTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.AS400_Comandi.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._aS400_ComandiTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + return result; + } + + /// + ///Insert rows in top-down order. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private int UpdateInsertedRows(DS_Utility dataSet, global::System.Collections.Generic.List allAddedRows) { + int result = 0; + if ((this._aS400_ComandiTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.AS400_Comandi.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._aS400_ComandiTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + return result; + } + + /// + ///Delete rows in bottom-up order. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private int UpdateDeletedRows(DS_Utility dataSet, global::System.Collections.Generic.List allChangedRows) { + int result = 0; + if ((this._aS400_ComandiTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.AS400_Comandi.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._aS400_ComandiTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + return result; + } + + /// + ///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private global::System.Data.DataRow[] GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List allAddedRows) { + if (((updatedRows == null) + || (updatedRows.Length < 1))) { + return updatedRows; + } + if (((allAddedRows == null) + || (allAddedRows.Count < 1))) { + return updatedRows; + } + global::System.Collections.Generic.List realUpdatedRows = new global::System.Collections.Generic.List(); + for (int i = 0; (i < updatedRows.Length); i = (i + 1)) { + global::System.Data.DataRow row = updatedRows[i]; + if ((allAddedRows.Contains(row) == false)) { + realUpdatedRows.Add(row); + } + } + return realUpdatedRows.ToArray(); + } + + /// + ///Update all changes to the dataset. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public virtual int UpdateAll(DS_Utility dataSet) { + if ((dataSet == null)) { + throw new global::System.ArgumentNullException("dataSet"); + } + if ((dataSet.HasChanges() == false)) { + return 0; + } + if (((this._aS400_ComandiTableAdapter != null) + && (this.MatchTableAdapterConnection(this._aS400_ComandiTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + global::System.Data.IDbConnection workConnection = this.Connection; + if ((workConnection == null)) { + throw new global::System.ApplicationException("TableAdapterManager contains no connection information. Set each TableAdapterMana" + + "ger TableAdapter property to a valid TableAdapter instance."); + } + bool workConnOpened = false; + if (((workConnection.State & global::System.Data.ConnectionState.Broken) + == global::System.Data.ConnectionState.Broken)) { + workConnection.Close(); + } + if ((workConnection.State == global::System.Data.ConnectionState.Closed)) { + workConnection.Open(); + workConnOpened = true; + } + global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction(); + if ((workTransaction == null)) { + throw new global::System.ApplicationException("The transaction cannot begin. The current data connection does not support transa" + + "ctions or the current state is not allowing the transaction to begin."); + } + global::System.Collections.Generic.List allChangedRows = new global::System.Collections.Generic.List(); + global::System.Collections.Generic.List allAddedRows = new global::System.Collections.Generic.List(); + global::System.Collections.Generic.List adaptersWithAcceptChangesDuringUpdate = new global::System.Collections.Generic.List(); + global::System.Collections.Generic.Dictionary revertConnections = new global::System.Collections.Generic.Dictionary(); + int result = 0; + global::System.Data.DataSet backupDataSet = null; + if (this.BackupDataSetBeforeUpdate) { + backupDataSet = new global::System.Data.DataSet(); + backupDataSet.Merge(dataSet); + } + try { + // ---- Prepare for update ----------- + // + if ((this._aS400_ComandiTableAdapter != null)) { + revertConnections.Add(this._aS400_ComandiTableAdapter, this._aS400_ComandiTableAdapter.Connection); + this._aS400_ComandiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._aS400_ComandiTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._aS400_ComandiTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._aS400_ComandiTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._aS400_ComandiTableAdapter.Adapter); + } + } + // + //---- Perform updates ----------- + // + if ((this.UpdateOrder == UpdateOrderOption.UpdateInsertDelete)) { + result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows)); + result = (result + this.UpdateInsertedRows(dataSet, allAddedRows)); + } + else { + result = (result + this.UpdateInsertedRows(dataSet, allAddedRows)); + result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows)); + } + result = (result + this.UpdateDeletedRows(dataSet, allChangedRows)); + // + //---- Commit updates ----------- + // + workTransaction.Commit(); + if ((0 < allAddedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count]; + allAddedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + } + } + if ((0 < allChangedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allChangedRows.Count]; + allChangedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + } + } + } + catch (global::System.Exception ex) { + workTransaction.Rollback(); + // ---- Restore the dataset ----------- + if (this.BackupDataSetBeforeUpdate) { + global::System.Diagnostics.Debug.Assert((backupDataSet != null)); + dataSet.Clear(); + dataSet.Merge(backupDataSet); + } + else { + if ((0 < allAddedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count]; + allAddedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + row.SetAdded(); + } + } + } + throw ex; + } + finally { + if (workConnOpened) { + workConnection.Close(); + } + if ((this._aS400_ComandiTableAdapter != null)) { + this._aS400_ComandiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._aS400_ComandiTableAdapter])); + this._aS400_ComandiTableAdapter.Transaction = null; + } + if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) { + global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count]; + adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters); + for (int i = 0; (i < adapters.Length); i = (i + 1)) { + global::System.Data.Common.DataAdapter adapter = adapters[i]; + adapter.AcceptChangesDuringUpdate = true; + } + } + } + return result; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected virtual void SortSelfReferenceRows(global::System.Data.DataRow[] rows, global::System.Data.DataRelation relation, bool childFirst) { + global::System.Array.Sort(rows, new SelfReferenceComparer(relation, childFirst)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected virtual bool MatchTableAdapterConnection(global::System.Data.IDbConnection inputConnection) { + if ((this._connection != null)) { + return true; + } + if (((this.Connection == null) + || (inputConnection == null))) { + return true; + } + if (string.Equals(this.Connection.ConnectionString, inputConnection.ConnectionString, global::System.StringComparison.Ordinal)) { + return true; + } + return false; + } + + /// + ///Update Order Option + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public enum UpdateOrderOption { + + InsertUpdateDelete = 0, + + UpdateInsertDelete = 1, + } + + /// + ///Used to sort self-referenced table's rows + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private class SelfReferenceComparer : object, global::System.Collections.Generic.IComparer { + + private global::System.Data.DataRelation _relation; + + private int _childFirst; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal SelfReferenceComparer(global::System.Data.DataRelation relation, bool childFirst) { + this._relation = relation; + if (childFirst) { + this._childFirst = -1; + } + else { + this._childFirst = 1; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private global::System.Data.DataRow GetRoot(global::System.Data.DataRow row, out int distance) { + global::System.Diagnostics.Debug.Assert((row != null)); + global::System.Data.DataRow root = row; + distance = 0; + + global::System.Collections.Generic.IDictionary traversedRows = new global::System.Collections.Generic.Dictionary(); + traversedRows[row] = row; + + global::System.Data.DataRow parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default); + for ( + ; ((parent != null) + && (traversedRows.ContainsKey(parent) == false)); + ) { + distance = (distance + 1); + root = parent; + traversedRows[parent] = parent; + parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default); + } + + if ((distance == 0)) { + traversedRows.Clear(); + traversedRows[row] = row; + parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original); + for ( + ; ((parent != null) + && (traversedRows.ContainsKey(parent) == false)); + ) { + distance = (distance + 1); + root = parent; + traversedRows[parent] = parent; + parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original); + } + } + + return root; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int Compare(global::System.Data.DataRow row1, global::System.Data.DataRow row2) { + if (object.ReferenceEquals(row1, row2)) { + return 0; + } + if ((row1 == null)) { + return -1; + } + if ((row2 == null)) { + return 1; + } + + int distance1 = 0; + global::System.Data.DataRow root1 = this.GetRoot(row1, out distance1); + + int distance2 = 0; + global::System.Data.DataRow root2 = this.GetRoot(row2, out distance2); + + if (object.ReferenceEquals(root1, root2)) { + return (this._childFirst * distance1.CompareTo(distance2)); + } + else { + global::System.Diagnostics.Debug.Assert(((root1.Table != null) + && (root2.Table != null))); + if ((root1.Table.Rows.IndexOf(root1) < root2.Table.Rows.IndexOf(root2))) { + return -1; + } + else { + return 1; + } + } + } + } + } +} + +#pragma warning restore 1591 \ No newline at end of file diff --git a/GMW_data/DS_Utility.xsc b/GMW_data/DS_Utility.xsc new file mode 100644 index 00000000..551fc56f --- /dev/null +++ b/GMW_data/DS_Utility.xsc @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/GMW_data/DS_Utility.xsd b/GMW_data/DS_Utility.xsd new file mode 100644 index 00000000..65295031 --- /dev/null +++ b/GMW_data/DS_Utility.xsd @@ -0,0 +1,1084 @@ + + + + + + + + + + + + + + + SELECT value, label, conditio FROM dbo.v_selMag + + + + + + + + + + + + + + + SELECT value, label, conditio +FROM v_selMag +WHERE (conditio = @conditio) +ORDER BY label + + + + + + + + + + + + + + SELECT value, label, CodCS, CodMag FROM dbo.v_selBlocco + + + + + + + + + + + + + + + + SELECT value, label, CodCS, CodMag +FROM v_selBlocco +WHERE (CodCS = @CodCS) AND (CodMag = @CodMag) + + + + + + + + + + + + + + + SELECT value, label, CodMag, CodCS FROM dbo.v_selTipoCella + + + + + + + + + + + + + + + + SELECT value, label, CodMag, CodCS +FROM v_selTipoCella +WHERE (CodMag = @CodMag) AND (CodCS = @CodCS) + + + + + + + + + + + SELECT value, label, CodMag, CodCS +FROM v_selTipoCella +WHERE (value = @value) + + + + + + + + + + + + + + dbo.stp_getImpiantiByCodCS + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_dummy + + + + + + + + + + + + + + + + dbo.stp_accodaConsumoUdcMP + + + + + + + + + + + + + + + BatchQueue.stp_batch_RapQual_S01 + + + + + + + + + + + BatchQueue.stp_batch_RapQual_S02 + + + + + + + + + + + + + + dbo.stp_celleCreaMancantiBlocco + + + + + + + + + + + + + + dbo.stp_ContaCelle4Blocchi + + + + + + + + + + + + + dbo.stp_ContaCelle4Tipo + + + + + + + + + + + + + dbo.stp_ContaCelleBlocco + + + + + + + + + + + + + + + dbo.stp_ContaCelleCapa + + + + + + + + + + + + + dbo.stp_ContaCelleCreate + + + + + + + + + + + + + dbo.stp_ContaDeltaCelleBlocco + + + + + + + + + + + + BatchQueue.stp_processaCodaConsumoMP + + + + + + + + + + + dbo.stp_processaSpedizTerz + + + + + + + + + + + dbo.stp_UDC_delibera + + + + + + + + + + + + + + + + + + + SELECT value, label, conditio FROM dbo.v_selPeriodiTrad + + + + + + + + + + + + + + + SELECT conditio, label, value FROM v_selPeriodiTrad WHERE (conditio = @conditio) ORDER BY value + + + + + + + + + + + + + + SELECT value, label FROM dbo.v_selStatiListe + + + + + + + + + + + + + + + + + SELECT * + FROM dbo.v_selTipoLista + + + + + + + + + + + + + + + dbo.stp_selTipoLista_getByIdx + + + + + + + + + + + + + + + SELECT * FROM v_selUdcByPart + + + + + + + + + + + + + + + + + dbo.stp_UdcPerParticolareCodLista + + + + + + + + + + + + + + + + + SELECT value, label FROM dbo.v_selTipoDelibera + + + + + + + + + + + + + + + + + dbo.stp_ricercaFullTerminalino + + + + + + + + + + + + + + + + + + + + + SELECT value, label, conditio FROM dbo.v_selMagLogico + + + + + + + + + + + + + + + SELECT value, label, conditio +FROM v_selMagLogico +WHERE (conditio = @conditio) + + + + + + + + + + + + + + SELECT value, label, conditio FROM dbo.v_selDestinatariListePrelievo + + + + + + + + + + + + + + + dbo.stp_selDestListePrelByConditio + + + + + + + + + + + SELECT value, label, conditio FROM dbo.v_selDestinatariListePrelievo +where value = @value + + + + + + + + + + + + + + INSERT INTO [RawData].[AS400_Comandi] ([DataEsecuzione], [Stored], [ComandoTSQL], [Test]) VALUES (@DataEsecuzione, @Stored, @ComandoTSQL, @Test) + + + + + + + + + + + SELECT DataEsecuzione, Stored, ComandoTSQL, Test FROM RawData.AS400_Comandi + + + + + + + + + + + + + + + + dbo.stp_ComAs_lastComandoByStored + + + + + + + + + + + + + + + SELECT value, label, conditio FROM dbo.v_selParticolari + + + + + + + + + + + + + + + dbo.stp_particolariByConditio + + + + + + + + + + + dbo.stp_particolariByConditioLikePref + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/GMW_data/DS_Utility.xss b/GMW_data/DS_Utility.xss new file mode 100644 index 00000000..ec25649d --- /dev/null +++ b/GMW_data/DS_Utility.xss @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/GMW_data/DS_cartellini.Designer.cs b/GMW_data/DS_cartellini.Designer.cs new file mode 100644 index 00000000..6f8ccdc6 --- /dev/null +++ b/GMW_data/DS_cartellini.Designer.cs @@ -0,0 +1,9875 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.17626 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +#pragma warning disable 1591 + +namespace GMW_data { + + + /// + ///Represents a strongly typed in-memory cache of data. + /// + [global::System.Serializable()] + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")] + [global::System.Xml.Serialization.XmlRootAttribute("DS_cartellini")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")] + public partial class DS_cartellini : global::System.Data.DataSet { + + private stp_prtCartByUDCDataTable tablestp_prtCartByUDC; + + private stp_prtCartMatPrimaByUDCDataTable tablestp_prtCartMatPrimaByUDC; + + private stp_prtCartLiquidi_F18ByUDCDataTable tablestp_prtCartLiquidi_F18ByUDC; + + private stp_prtCartLiquidi_F10ByUDCDataTable tablestp_prtCartLiquidi_F10ByUDC; + + private stp_prtCartAnimeByUDCDataTable tablestp_prtCartAnimeByUDC; + + private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public DS_cartellini() { + this.BeginInit(); + this.InitClass(); + global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); + base.Tables.CollectionChanged += schemaChangedHandler; + base.Relations.CollectionChanged += schemaChangedHandler; + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected DS_cartellini(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context, false) { + if ((this.IsBinarySerialized(info, context) == true)) { + this.InitVars(false); + global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); + this.Tables.CollectionChanged += schemaChangedHandler1; + this.Relations.CollectionChanged += schemaChangedHandler1; + return; + } + string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string)))); + if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { + global::System.Data.DataSet ds = new global::System.Data.DataSet(); + ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); + if ((ds.Tables["stp_prtCartByUDC"] != null)) { + base.Tables.Add(new stp_prtCartByUDCDataTable(ds.Tables["stp_prtCartByUDC"])); + } + if ((ds.Tables["stp_prtCartMatPrimaByUDC"] != null)) { + base.Tables.Add(new stp_prtCartMatPrimaByUDCDataTable(ds.Tables["stp_prtCartMatPrimaByUDC"])); + } + 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"])); + } + if ((ds.Tables["stp_prtCartAnimeByUDC"] != null)) { + base.Tables.Add(new stp_prtCartAnimeByUDCDataTable(ds.Tables["stp_prtCartAnimeByUDC"])); + } + this.DataSetName = ds.DataSetName; + this.Prefix = ds.Prefix; + this.Namespace = ds.Namespace; + this.Locale = ds.Locale; + this.CaseSensitive = ds.CaseSensitive; + this.EnforceConstraints = ds.EnforceConstraints; + this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add); + this.InitVars(); + } + else { + this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); + } + this.GetSerializationData(info, context); + global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); + base.Tables.CollectionChanged += schemaChangedHandler; + this.Relations.CollectionChanged += schemaChangedHandler; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public stp_prtCartByUDCDataTable stp_prtCartByUDC { + get { + return this.tablestp_prtCartByUDC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public stp_prtCartMatPrimaByUDCDataTable stp_prtCartMatPrimaByUDC { + get { + return this.tablestp_prtCartMatPrimaByUDC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public stp_prtCartLiquidi_F18ByUDCDataTable stp_prtCartLiquidi_F18ByUDC { + get { + return this.tablestp_prtCartLiquidi_F18ByUDC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public stp_prtCartLiquidi_F10ByUDCDataTable stp_prtCartLiquidi_F10ByUDC { + get { + return this.tablestp_prtCartLiquidi_F10ByUDC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public stp_prtCartAnimeByUDCDataTable stp_prtCartAnimeByUDC { + get { + return this.tablestp_prtCartAnimeByUDC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.BrowsableAttribute(true)] + [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)] + public override global::System.Data.SchemaSerializationMode SchemaSerializationMode { + get { + return this._schemaSerializationMode; + } + set { + this._schemaSerializationMode = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public new global::System.Data.DataTableCollection Tables { + get { + return base.Tables; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public new global::System.Data.DataRelationCollection Relations { + get { + return base.Relations; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void InitializeDerivedDataSet() { + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataSet Clone() { + DS_cartellini cln = ((DS_cartellini)(base.Clone())); + cln.InitVars(); + cln.SchemaSerializationMode = this.SchemaSerializationMode; + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override bool ShouldSerializeTables() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override bool ShouldSerializeRelations() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) { + if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { + this.Reset(); + global::System.Data.DataSet ds = new global::System.Data.DataSet(); + ds.ReadXml(reader); + if ((ds.Tables["stp_prtCartByUDC"] != null)) { + base.Tables.Add(new stp_prtCartByUDCDataTable(ds.Tables["stp_prtCartByUDC"])); + } + if ((ds.Tables["stp_prtCartMatPrimaByUDC"] != null)) { + base.Tables.Add(new stp_prtCartMatPrimaByUDCDataTable(ds.Tables["stp_prtCartMatPrimaByUDC"])); + } + 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"])); + } + if ((ds.Tables["stp_prtCartAnimeByUDC"] != null)) { + base.Tables.Add(new stp_prtCartAnimeByUDCDataTable(ds.Tables["stp_prtCartAnimeByUDC"])); + } + this.DataSetName = ds.DataSetName; + this.Prefix = ds.Prefix; + this.Namespace = ds.Namespace; + this.Locale = ds.Locale; + this.CaseSensitive = ds.CaseSensitive; + this.EnforceConstraints = ds.EnforceConstraints; + this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add); + this.InitVars(); + } + else { + this.ReadXml(reader); + this.InitVars(); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() { + global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream(); + this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null)); + stream.Position = 0; + return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.InitVars(true); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars(bool initTable) { + this.tablestp_prtCartByUDC = ((stp_prtCartByUDCDataTable)(base.Tables["stp_prtCartByUDC"])); + if ((initTable == true)) { + if ((this.tablestp_prtCartByUDC != null)) { + this.tablestp_prtCartByUDC.InitVars(); + } + } + this.tablestp_prtCartMatPrimaByUDC = ((stp_prtCartMatPrimaByUDCDataTable)(base.Tables["stp_prtCartMatPrimaByUDC"])); + if ((initTable == true)) { + if ((this.tablestp_prtCartMatPrimaByUDC != null)) { + this.tablestp_prtCartMatPrimaByUDC.InitVars(); + } + } + this.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(); + } + } + this.tablestp_prtCartAnimeByUDC = ((stp_prtCartAnimeByUDCDataTable)(base.Tables["stp_prtCartAnimeByUDC"])); + if ((initTable == true)) { + if ((this.tablestp_prtCartAnimeByUDC != null)) { + this.tablestp_prtCartAnimeByUDC.InitVars(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.DataSetName = "DS_cartellini"; + this.Prefix = ""; + this.Namespace = "http://tempuri.org/DS_cartellini.xsd"; + this.EnforceConstraints = true; + this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; + this.tablestp_prtCartByUDC = new stp_prtCartByUDCDataTable(); + base.Tables.Add(this.tablestp_prtCartByUDC); + this.tablestp_prtCartMatPrimaByUDC = new stp_prtCartMatPrimaByUDCDataTable(); + base.Tables.Add(this.tablestp_prtCartMatPrimaByUDC); + this.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); + this.tablestp_prtCartAnimeByUDC = new stp_prtCartAnimeByUDCDataTable(); + base.Tables.Add(this.tablestp_prtCartAnimeByUDC); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializestp_prtCartByUDC() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializestp_prtCartMatPrimaByUDC() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializestp_prtCartLiquidi_F18ByUDC() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializestp_prtCartLiquidi_F10ByUDC() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializestp_prtCartAnimeByUDC() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { + if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) { + this.InitVars(); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + DS_cartellini ds = new DS_cartellini(); + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny(); + any.Namespace = ds.Namespace; + sequence.Items.Add(any); + 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; + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void stp_prtCartByUDCRowChangeEventHandler(object sender, stp_prtCartByUDCRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void stp_prtCartMatPrimaByUDCRowChangeEventHandler(object sender, stp_prtCartMatPrimaByUDCRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void stp_prtCartLiquidi_F18ByUDCRowChangeEventHandler(object sender, stp_prtCartLiquidi_F18ByUDCRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void stp_prtCartLiquidi_F10ByUDCRowChangeEventHandler(object sender, stp_prtCartLiquidi_F10ByUDCRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void stp_prtCartAnimeByUDCRowChangeEventHandler(object sender, stp_prtCartAnimeByUDCRowChangeEvent e); + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class stp_prtCartByUDCDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnUDC; + + private global::System.Data.DataColumn columnCodCS; + + private global::System.Data.DataColumn columncodcliente; + + private global::System.Data.DataColumn columnragsociale; + + private global::System.Data.DataColumn columnparticolare; + + private global::System.Data.DataColumn columndescparticolare; + + private global::System.Data.DataColumn columndisegnogrezzo; + + private global::System.Data.DataColumn columnesponente; + + private global::System.Data.DataColumn columncodimpianto; + + private global::System.Data.DataColumn columndescimpianto; + + private global::System.Data.DataColumn columncodstampo; + + private global::System.Data.DataColumn columnfigura; + + private global::System.Data.DataColumn columndatafus; + + private global::System.Data.DataColumn columnturnofus; + + private global::System.Data.DataColumn columncodimballo; + + private global::System.Data.DataColumn columncodsoggetto; + + private global::System.Data.DataColumn columnnumcont; + + private global::System.Data.DataColumn columntara; + + private global::System.Data.DataColumn columnqta; + + private global::System.Data.DataColumn columncodstato; + + private global::System.Data.DataColumn columnidxposizione; + + private global::System.Data.DataColumn columnpesotot; + + private global::System.Data.DataColumn columnpesocad; + + private global::System.Data.DataColumn columnCreateDate; + + private global::System.Data.DataColumn columnModDate; + + private global::System.Data.DataColumn columncognome; + + private global::System.Data.DataColumn columnnome; + + private global::System.Data.DataColumn columndescstato; + + private global::System.Data.DataColumn columndescimballo; + + private global::System.Data.DataColumn columnCodFamiglia; + + private global::System.Data.DataColumn columnDescFamiglia; + + private global::System.Data.DataColumn columnNote; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartByUDCDataTable() { + this.TableName = "stp_prtCartByUDC"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal stp_prtCartByUDCDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected stp_prtCartByUDCDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn UDCColumn { + get { + return this.columnUDC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodCSColumn { + get { + return this.columnCodCS; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn codclienteColumn { + get { + return this.columncodcliente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ragsocialeColumn { + get { + return this.columnragsociale; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn particolareColumn { + get { + return this.columnparticolare; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn descparticolareColumn { + get { + return this.columndescparticolare; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn disegnogrezzoColumn { + get { + return this.columndisegnogrezzo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn esponenteColumn { + get { + return this.columnesponente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn codimpiantoColumn { + get { + return this.columncodimpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn descimpiantoColumn { + get { + return this.columndescimpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn codstampoColumn { + get { + return this.columncodstampo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn figuraColumn { + get { + return this.columnfigura; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn datafusColumn { + get { + return this.columndatafus; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn turnofusColumn { + get { + return this.columnturnofus; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn codimballoColumn { + get { + return this.columncodimballo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn codsoggettoColumn { + get { + return this.columncodsoggetto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn numcontColumn { + get { + return this.columnnumcont; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn taraColumn { + get { + return this.columntara; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn qtaColumn { + get { + return this.columnqta; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn codstatoColumn { + get { + return this.columncodstato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn idxposizioneColumn { + get { + return this.columnidxposizione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn pesototColumn { + get { + return this.columnpesotot; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn pesocadColumn { + get { + return this.columnpesocad; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CreateDateColumn { + get { + return this.columnCreateDate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ModDateColumn { + get { + return this.columnModDate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn cognomeColumn { + get { + return this.columncognome; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn nomeColumn { + get { + return this.columnnome; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn descstatoColumn { + get { + return this.columndescstato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn descimballoColumn { + get { + return this.columndescimballo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodFamigliaColumn { + get { + return this.columnCodFamiglia; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescFamigliaColumn { + get { + return this.columnDescFamiglia; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NoteColumn { + get { + return this.columnNote; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartByUDCRow this[int index] { + get { + return ((stp_prtCartByUDCRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event stp_prtCartByUDCRowChangeEventHandler stp_prtCartByUDCRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event stp_prtCartByUDCRowChangeEventHandler stp_prtCartByUDCRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event stp_prtCartByUDCRowChangeEventHandler stp_prtCartByUDCRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event stp_prtCartByUDCRowChangeEventHandler stp_prtCartByUDCRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addstp_prtCartByUDCRow(stp_prtCartByUDCRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartByUDCRow Addstp_prtCartByUDCRow( + string UDC, + string CodCS, + string codcliente, + string ragsociale, + string particolare, + string descparticolare, + string disegnogrezzo, + string esponente, + string codimpianto, + string descimpianto, + string codstampo, + string figura, + System.DateTime datafus, + int turnofus, + string codimballo, + string codsoggetto, + int numcont, + double tara, + decimal qta, + string codstato, + int idxposizione, + double pesotot, + double pesocad, + System.DateTime CreateDate, + System.DateTime ModDate, + string cognome, + string nome, + string descstato, + string descimballo, + string CodFamiglia, + string DescFamiglia, + string Note) { + stp_prtCartByUDCRow rowstp_prtCartByUDCRow = ((stp_prtCartByUDCRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + UDC, + CodCS, + codcliente, + ragsociale, + particolare, + descparticolare, + disegnogrezzo, + esponente, + codimpianto, + descimpianto, + codstampo, + figura, + datafus, + turnofus, + codimballo, + codsoggetto, + numcont, + tara, + qta, + codstato, + idxposizione, + pesotot, + pesocad, + CreateDate, + ModDate, + cognome, + nome, + descstato, + descimballo, + CodFamiglia, + DescFamiglia, + Note}; + rowstp_prtCartByUDCRow.ItemArray = columnValuesArray; + this.Rows.Add(rowstp_prtCartByUDCRow); + return rowstp_prtCartByUDCRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartByUDCRow FindByUDC(string UDC) { + return ((stp_prtCartByUDCRow)(this.Rows.Find(new object[] { + UDC}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + stp_prtCartByUDCDataTable cln = ((stp_prtCartByUDCDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new stp_prtCartByUDCDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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.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; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartByUDCRow Newstp_prtCartByUDCRow() { + return ((stp_prtCartByUDCRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new stp_prtCartByUDCRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(stp_prtCartByUDCRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.stp_prtCartByUDCRowChanged != null)) { + this.stp_prtCartByUDCRowChanged(this, new stp_prtCartByUDCRowChangeEvent(((stp_prtCartByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.stp_prtCartByUDCRowChanging != null)) { + this.stp_prtCartByUDCRowChanging(this, new stp_prtCartByUDCRowChangeEvent(((stp_prtCartByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.stp_prtCartByUDCRowDeleted != null)) { + this.stp_prtCartByUDCRowDeleted(this, new stp_prtCartByUDCRowChangeEvent(((stp_prtCartByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.stp_prtCartByUDCRowDeleting != null)) { + this.stp_prtCartByUDCRowDeleting(this, new stp_prtCartByUDCRowChangeEvent(((stp_prtCartByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removestp_prtCartByUDCRow(stp_prtCartByUDCRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_prtCartByUDCDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class stp_prtCartMatPrimaByUDCDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnnRapQual; + + private global::System.Data.DataColumn columnDataRapQual; + + private global::System.Data.DataColumn columnProgUDC; + + private global::System.Data.DataColumn columnCodFor; + + private global::System.Data.DataColumn columnDestTerz; + + private global::System.Data.DataColumn columnCodLega; + + private global::System.Data.DataColumn columnDataPrelFus; + + private global::System.Data.DataColumn columnTurnoPrelFus; + + private global::System.Data.DataColumn columnQta; + + private global::System.Data.DataColumn columnDestLega; + + private global::System.Data.DataColumn columnLegaScaric; + + private global::System.Data.DataColumn columnBenesQual; + + private global::System.Data.DataColumn columnUDC; + + private global::System.Data.DataColumn columnDescFornitore; + + private global::System.Data.DataColumn columnDescFornitore2; + + private global::System.Data.DataColumn columnCodLega2; + + private global::System.Data.DataColumn columnDescLega; + + private global::System.Data.DataColumn columnDescLega2; + + private global::System.Data.DataColumn columnNote; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartMatPrimaByUDCDataTable() { + this.TableName = "stp_prtCartMatPrimaByUDC"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal stp_prtCartMatPrimaByUDCDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected stp_prtCartMatPrimaByUDCDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn nRapQualColumn { + get { + return this.columnnRapQual; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DataRapQualColumn { + get { + return this.columnDataRapQual; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ProgUDCColumn { + get { + return this.columnProgUDC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodForColumn { + get { + return this.columnCodFor; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DestTerzColumn { + get { + return this.columnDestTerz; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodLegaColumn { + get { + return this.columnCodLega; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DataPrelFusColumn { + get { + return this.columnDataPrelFus; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn TurnoPrelFusColumn { + get { + return this.columnTurnoPrelFus; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn QtaColumn { + get { + return this.columnQta; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DestLegaColumn { + get { + return this.columnDestLega; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn LegaScaricColumn { + get { + return this.columnLegaScaric; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn BenesQualColumn { + get { + return this.columnBenesQual; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn UDCColumn { + get { + return this.columnUDC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescFornitoreColumn { + get { + return this.columnDescFornitore; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescFornitore2Column { + get { + return this.columnDescFornitore2; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodLega2Column { + get { + return this.columnCodLega2; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescLegaColumn { + get { + return this.columnDescLega; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescLega2Column { + get { + return this.columnDescLega2; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NoteColumn { + get { + return this.columnNote; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartMatPrimaByUDCRow this[int index] { + get { + return ((stp_prtCartMatPrimaByUDCRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event stp_prtCartMatPrimaByUDCRowChangeEventHandler stp_prtCartMatPrimaByUDCRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event stp_prtCartMatPrimaByUDCRowChangeEventHandler stp_prtCartMatPrimaByUDCRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event stp_prtCartMatPrimaByUDCRowChangeEventHandler stp_prtCartMatPrimaByUDCRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event stp_prtCartMatPrimaByUDCRowChangeEventHandler stp_prtCartMatPrimaByUDCRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addstp_prtCartMatPrimaByUDCRow(stp_prtCartMatPrimaByUDCRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartMatPrimaByUDCRow Addstp_prtCartMatPrimaByUDCRow( + decimal nRapQual, + decimal DataRapQual, + string ProgUDC, + string CodFor, + string DestTerz, + string CodLega, + decimal DataPrelFus, + string TurnoPrelFus, + decimal Qta, + string DestLega, + string LegaScaric, + string BenesQual, + string UDC, + string DescFornitore, + string DescFornitore2, + string CodLega2, + string DescLega, + string DescLega2, + string Note) { + stp_prtCartMatPrimaByUDCRow rowstp_prtCartMatPrimaByUDCRow = ((stp_prtCartMatPrimaByUDCRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + nRapQual, + DataRapQual, + ProgUDC, + CodFor, + DestTerz, + CodLega, + DataPrelFus, + TurnoPrelFus, + Qta, + DestLega, + LegaScaric, + BenesQual, + UDC, + DescFornitore, + DescFornitore2, + CodLega2, + DescLega, + DescLega2, + Note}; + rowstp_prtCartMatPrimaByUDCRow.ItemArray = columnValuesArray; + this.Rows.Add(rowstp_prtCartMatPrimaByUDCRow); + return rowstp_prtCartMatPrimaByUDCRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + stp_prtCartMatPrimaByUDCDataTable cln = ((stp_prtCartMatPrimaByUDCDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new stp_prtCartMatPrimaByUDCDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnnRapQual = base.Columns["nRapQual"]; + this.columnDataRapQual = base.Columns["DataRapQual"]; + this.columnProgUDC = base.Columns["ProgUDC"]; + this.columnCodFor = base.Columns["CodFor"]; + this.columnDestTerz = base.Columns["DestTerz"]; + this.columnCodLega = base.Columns["CodLega"]; + this.columnDataPrelFus = base.Columns["DataPrelFus"]; + this.columnTurnoPrelFus = base.Columns["TurnoPrelFus"]; + this.columnQta = base.Columns["Qta"]; + this.columnDestLega = base.Columns["DestLega"]; + this.columnLegaScaric = base.Columns["LegaScaric"]; + this.columnBenesQual = base.Columns["BenesQual"]; + this.columnUDC = base.Columns["UDC"]; + this.columnDescFornitore = base.Columns["DescFornitore"]; + this.columnDescFornitore2 = base.Columns["DescFornitore2"]; + this.columnCodLega2 = base.Columns["CodLega2"]; + this.columnDescLega = base.Columns["DescLega"]; + this.columnDescLega2 = base.Columns["DescLega2"]; + this.columnNote = base.Columns["Note"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnnRapQual = new global::System.Data.DataColumn("nRapQual", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnnRapQual); + this.columnDataRapQual = new global::System.Data.DataColumn("DataRapQual", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDataRapQual); + this.columnProgUDC = new global::System.Data.DataColumn("ProgUDC", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnProgUDC); + this.columnCodFor = new global::System.Data.DataColumn("CodFor", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodFor); + this.columnDestTerz = new global::System.Data.DataColumn("DestTerz", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDestTerz); + this.columnCodLega = new global::System.Data.DataColumn("CodLega", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodLega); + this.columnDataPrelFus = new global::System.Data.DataColumn("DataPrelFus", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDataPrelFus); + this.columnTurnoPrelFus = new global::System.Data.DataColumn("TurnoPrelFus", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnTurnoPrelFus); + this.columnQta = new global::System.Data.DataColumn("Qta", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnQta); + this.columnDestLega = new global::System.Data.DataColumn("DestLega", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDestLega); + this.columnLegaScaric = new global::System.Data.DataColumn("LegaScaric", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnLegaScaric); + this.columnBenesQual = new global::System.Data.DataColumn("BenesQual", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnBenesQual); + this.columnUDC = new global::System.Data.DataColumn("UDC", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnUDC); + this.columnDescFornitore = new global::System.Data.DataColumn("DescFornitore", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescFornitore); + this.columnDescFornitore2 = new global::System.Data.DataColumn("DescFornitore2", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescFornitore2); + this.columnCodLega2 = new global::System.Data.DataColumn("CodLega2", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodLega2); + this.columnDescLega = new global::System.Data.DataColumn("DescLega", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescLega); + this.columnDescLega2 = new global::System.Data.DataColumn("DescLega2", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescLega2); + this.columnNote = new global::System.Data.DataColumn("Note", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNote); + this.columnProgUDC.MaxLength = 10; + this.columnCodFor.MaxLength = 6; + this.columnDestTerz.MaxLength = 6; + this.columnCodLega.AllowDBNull = false; + this.columnCodLega.MaxLength = 30; + this.columnTurnoPrelFus.MaxLength = 5; + this.columnDestLega.MaxLength = 3; + this.columnLegaScaric.MaxLength = 1; + this.columnBenesQual.MaxLength = 1; + this.columnUDC.AllowDBNull = false; + this.columnUDC.MaxLength = 50; + this.columnDescFornitore.MaxLength = 35; + this.columnDescFornitore2.MaxLength = 35; + this.columnCodLega2.MaxLength = 12; + this.columnDescLega.MaxLength = 25; + this.columnDescLega2.MaxLength = 25; + this.columnNote.MaxLength = 500; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartMatPrimaByUDCRow Newstp_prtCartMatPrimaByUDCRow() { + return ((stp_prtCartMatPrimaByUDCRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new stp_prtCartMatPrimaByUDCRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(stp_prtCartMatPrimaByUDCRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.stp_prtCartMatPrimaByUDCRowChanged != null)) { + this.stp_prtCartMatPrimaByUDCRowChanged(this, new stp_prtCartMatPrimaByUDCRowChangeEvent(((stp_prtCartMatPrimaByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.stp_prtCartMatPrimaByUDCRowChanging != null)) { + this.stp_prtCartMatPrimaByUDCRowChanging(this, new stp_prtCartMatPrimaByUDCRowChangeEvent(((stp_prtCartMatPrimaByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.stp_prtCartMatPrimaByUDCRowDeleted != null)) { + this.stp_prtCartMatPrimaByUDCRowDeleted(this, new stp_prtCartMatPrimaByUDCRowChangeEvent(((stp_prtCartMatPrimaByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.stp_prtCartMatPrimaByUDCRowDeleting != null)) { + this.stp_prtCartMatPrimaByUDCRowDeleting(this, new stp_prtCartMatPrimaByUDCRowChangeEvent(((stp_prtCartMatPrimaByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removestp_prtCartMatPrimaByUDCRow(stp_prtCartMatPrimaByUDCRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_prtCartMatPrimaByUDCDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class stp_prtCartLiquidi_F18ByUDCDataTable : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartLiquidi_F18ByUDCDataTable() { + this.TableName = "stp_prtCartLiquidi_F18ByUDC"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal stp_prtCartLiquidi_F18ByUDCDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected stp_prtCartLiquidi_F18ByUDCDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn UDCColumn { + get { + return this.columnUDC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodCSColumn { + get { + return this.columnCodCS; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn codclienteColumn { + get { + return this.columncodcliente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ragsocialeColumn { + get { + return this.columnragsociale; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn particolareColumn { + get { + return this.columnparticolare; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn descparticolareColumn { + get { + return this.columndescparticolare; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn disegnogrezzoColumn { + get { + return this.columndisegnogrezzo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn esponenteColumn { + get { + return this.columnesponente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn codimpiantoColumn { + get { + return this.columncodimpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn descimpiantoColumn { + get { + return this.columndescimpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn codstampoColumn { + get { + return this.columncodstampo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn figuraColumn { + get { + return this.columnfigura; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn datafusColumn { + get { + return this.columndatafus; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn turnofusColumn { + get { + return this.columnturnofus; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn codimballoColumn { + get { + return this.columncodimballo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn codsoggettoColumn { + get { + return this.columncodsoggetto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn numcontColumn { + get { + return this.columnnumcont; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn taraColumn { + get { + return this.columntara; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn qtaColumn { + get { + return this.columnqta; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn codstatoColumn { + get { + return this.columncodstato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn idxposizioneColumn { + get { + return this.columnidxposizione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn pesototColumn { + get { + return this.columnpesotot; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn pesocadColumn { + get { + return this.columnpesocad; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CreateDateColumn { + get { + return this.columnCreateDate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ModDateColumn { + get { + return this.columnModDate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn cognomeColumn { + get { + return this.columncognome; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn nomeColumn { + get { + return this.columnnome; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn descstatoColumn { + get { + return this.columndescstato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn descimballoColumn { + get { + return this.columndescimballo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodFamigliaColumn { + get { + return this.columnCodFamiglia; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescFamigliaColumn { + get { + return this.columnDescFamiglia; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NoteColumn { + get { + return this.columnNote; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NoteTrattColumn { + get { + return this.columnNoteTratt; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartLiquidi_F18ByUDCRow this[int index] { + get { + return ((stp_prtCartLiquidi_F18ByUDCRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event stp_prtCartLiquidi_F18ByUDCRowChangeEventHandler stp_prtCartLiquidi_F18ByUDCRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event stp_prtCartLiquidi_F18ByUDCRowChangeEventHandler stp_prtCartLiquidi_F18ByUDCRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event stp_prtCartLiquidi_F18ByUDCRowChangeEventHandler stp_prtCartLiquidi_F18ByUDCRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event stp_prtCartLiquidi_F18ByUDCRowChangeEventHandler stp_prtCartLiquidi_F18ByUDCRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addstp_prtCartLiquidi_F18ByUDCRow(stp_prtCartLiquidi_F18ByUDCRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartLiquidi_F18ByUDCRow Addstp_prtCartLiquidi_F18ByUDCRow( + 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_F18ByUDCRow rowstp_prtCartLiquidi_F18ByUDCRow = ((stp_prtCartLiquidi_F18ByUDCRow)(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_F18ByUDCRow.ItemArray = columnValuesArray; + this.Rows.Add(rowstp_prtCartLiquidi_F18ByUDCRow); + return rowstp_prtCartLiquidi_F18ByUDCRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + stp_prtCartLiquidi_F18ByUDCDataTable cln = ((stp_prtCartLiquidi_F18ByUDCDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new stp_prtCartLiquidi_F18ByUDCDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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.AllowDBNull = false; + 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 = 30; + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartLiquidi_F18ByUDCRow Newstp_prtCartLiquidi_F18ByUDCRow() { + return ((stp_prtCartLiquidi_F18ByUDCRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new stp_prtCartLiquidi_F18ByUDCRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(stp_prtCartLiquidi_F18ByUDCRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.stp_prtCartLiquidi_F18ByUDCRowChanged != null)) { + this.stp_prtCartLiquidi_F18ByUDCRowChanged(this, new stp_prtCartLiquidi_F18ByUDCRowChangeEvent(((stp_prtCartLiquidi_F18ByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.stp_prtCartLiquidi_F18ByUDCRowChanging != null)) { + this.stp_prtCartLiquidi_F18ByUDCRowChanging(this, new stp_prtCartLiquidi_F18ByUDCRowChangeEvent(((stp_prtCartLiquidi_F18ByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.stp_prtCartLiquidi_F18ByUDCRowDeleted != null)) { + this.stp_prtCartLiquidi_F18ByUDCRowDeleted(this, new stp_prtCartLiquidi_F18ByUDCRowChangeEvent(((stp_prtCartLiquidi_F18ByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.stp_prtCartLiquidi_F18ByUDCRowDeleting != null)) { + this.stp_prtCartLiquidi_F18ByUDCRowDeleting(this, new stp_prtCartLiquidi_F18ByUDCRowChangeEvent(((stp_prtCartLiquidi_F18ByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removestp_prtCartLiquidi_F18ByUDCRow(stp_prtCartLiquidi_F18ByUDCRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_F18ByUDCDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartLiquidi_F10ByUDCDataTable() { + this.TableName = "stp_prtCartLiquidi_F10ByUDC"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn UDCColumn { + get { + return this.columnUDC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodCSColumn { + get { + return this.columnCodCS; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn codclienteColumn { + get { + return this.columncodcliente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ragsocialeColumn { + get { + return this.columnragsociale; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn particolareColumn { + get { + return this.columnparticolare; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn descparticolareColumn { + get { + return this.columndescparticolare; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn disegnogrezzoColumn { + get { + return this.columndisegnogrezzo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn esponenteColumn { + get { + return this.columnesponente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn codimpiantoColumn { + get { + return this.columncodimpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn descimpiantoColumn { + get { + return this.columndescimpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn codstampoColumn { + get { + return this.columncodstampo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn figuraColumn { + get { + return this.columnfigura; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn datafusColumn { + get { + return this.columndatafus; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn turnofusColumn { + get { + return this.columnturnofus; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn codimballoColumn { + get { + return this.columncodimballo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn codsoggettoColumn { + get { + return this.columncodsoggetto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn numcontColumn { + get { + return this.columnnumcont; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn taraColumn { + get { + return this.columntara; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn qtaColumn { + get { + return this.columnqta; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn codstatoColumn { + get { + return this.columncodstato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn idxposizioneColumn { + get { + return this.columnidxposizione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn pesototColumn { + get { + return this.columnpesotot; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn pesocadColumn { + get { + return this.columnpesocad; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CreateDateColumn { + get { + return this.columnCreateDate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ModDateColumn { + get { + return this.columnModDate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn cognomeColumn { + get { + return this.columncognome; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn nomeColumn { + get { + return this.columnnome; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn descstatoColumn { + get { + return this.columndescstato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn descimballoColumn { + get { + return this.columndescimballo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodFamigliaColumn { + get { + return this.columnCodFamiglia; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescFamigliaColumn { + get { + return this.columnDescFamiglia; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NoteColumn { + get { + return this.columnNote; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NoteTrattColumn { + get { + return this.columnNoteTratt; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartLiquidi_F10ByUDCRow this[int index] { + get { + return ((stp_prtCartLiquidi_F10ByUDCRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event stp_prtCartLiquidi_F10ByUDCRowChangeEventHandler stp_prtCartLiquidi_F10ByUDCRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event stp_prtCartLiquidi_F10ByUDCRowChangeEventHandler stp_prtCartLiquidi_F10ByUDCRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event stp_prtCartLiquidi_F10ByUDCRowChangeEventHandler stp_prtCartLiquidi_F10ByUDCRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event stp_prtCartLiquidi_F10ByUDCRowChangeEventHandler stp_prtCartLiquidi_F10ByUDCRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addstp_prtCartLiquidi_F10ByUDCRow(stp_prtCartLiquidi_F10ByUDCRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + stp_prtCartLiquidi_F10ByUDCDataTable cln = ((stp_prtCartLiquidi_F10ByUDCDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new stp_prtCartLiquidi_F10ByUDCDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartLiquidi_F10ByUDCRow Newstp_prtCartLiquidi_F10ByUDCRow() { + return ((stp_prtCartLiquidi_F10ByUDCRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new stp_prtCartLiquidi_F10ByUDCRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(stp_prtCartLiquidi_F10ByUDCRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removestp_prtCartLiquidi_F10ByUDCRow(stp_prtCartLiquidi_F10ByUDCRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class stp_prtCartAnimeByUDCDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnUDC; + + private global::System.Data.DataColumn columnCodCS; + + private global::System.Data.DataColumn columncodcliente; + + private global::System.Data.DataColumn columnragsociale; + + private global::System.Data.DataColumn columnparticolare; + + private global::System.Data.DataColumn columndescparticolare; + + private global::System.Data.DataColumn columndisegnogrezzo; + + private global::System.Data.DataColumn columnesponente; + + private global::System.Data.DataColumn columncodimpianto; + + private global::System.Data.DataColumn columndescimpianto; + + private global::System.Data.DataColumn columncodstampo; + + private global::System.Data.DataColumn columnfigura; + + private global::System.Data.DataColumn columndatafus; + + private global::System.Data.DataColumn columnturnofus; + + private global::System.Data.DataColumn columncodimballo; + + private global::System.Data.DataColumn columncodsoggetto; + + private global::System.Data.DataColumn columnnumcont; + + private global::System.Data.DataColumn columntara; + + private global::System.Data.DataColumn columnqta; + + private global::System.Data.DataColumn columncodstato; + + private global::System.Data.DataColumn columnidxposizione; + + private global::System.Data.DataColumn columnpesotot; + + private global::System.Data.DataColumn columnpesocad; + + private global::System.Data.DataColumn columnCreateDate; + + private global::System.Data.DataColumn columnModDate; + + private global::System.Data.DataColumn columncognome; + + private global::System.Data.DataColumn columnnome; + + private global::System.Data.DataColumn columndescstato; + + private global::System.Data.DataColumn columndescimballo; + + private global::System.Data.DataColumn columnCodFamiglia; + + private global::System.Data.DataColumn columnDescFamiglia; + + private global::System.Data.DataColumn columnNote; + + private global::System.Data.DataColumn columnNoteTratt; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartAnimeByUDCDataTable() { + this.TableName = "stp_prtCartAnimeByUDC"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal stp_prtCartAnimeByUDCDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected stp_prtCartAnimeByUDCDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn UDCColumn { + get { + return this.columnUDC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodCSColumn { + get { + return this.columnCodCS; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn codclienteColumn { + get { + return this.columncodcliente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ragsocialeColumn { + get { + return this.columnragsociale; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn particolareColumn { + get { + return this.columnparticolare; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn descparticolareColumn { + get { + return this.columndescparticolare; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn disegnogrezzoColumn { + get { + return this.columndisegnogrezzo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn esponenteColumn { + get { + return this.columnesponente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn codimpiantoColumn { + get { + return this.columncodimpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn descimpiantoColumn { + get { + return this.columndescimpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn codstampoColumn { + get { + return this.columncodstampo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn figuraColumn { + get { + return this.columnfigura; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn datafusColumn { + get { + return this.columndatafus; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn turnofusColumn { + get { + return this.columnturnofus; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn codimballoColumn { + get { + return this.columncodimballo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn codsoggettoColumn { + get { + return this.columncodsoggetto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn numcontColumn { + get { + return this.columnnumcont; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn taraColumn { + get { + return this.columntara; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn qtaColumn { + get { + return this.columnqta; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn codstatoColumn { + get { + return this.columncodstato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn idxposizioneColumn { + get { + return this.columnidxposizione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn pesototColumn { + get { + return this.columnpesotot; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn pesocadColumn { + get { + return this.columnpesocad; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CreateDateColumn { + get { + return this.columnCreateDate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ModDateColumn { + get { + return this.columnModDate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn cognomeColumn { + get { + return this.columncognome; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn nomeColumn { + get { + return this.columnnome; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn descstatoColumn { + get { + return this.columndescstato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn descimballoColumn { + get { + return this.columndescimballo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodFamigliaColumn { + get { + return this.columnCodFamiglia; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescFamigliaColumn { + get { + return this.columnDescFamiglia; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NoteColumn { + get { + return this.columnNote; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NoteTrattColumn { + get { + return this.columnNoteTratt; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartAnimeByUDCRow this[int index] { + get { + return ((stp_prtCartAnimeByUDCRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event stp_prtCartAnimeByUDCRowChangeEventHandler stp_prtCartAnimeByUDCRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event stp_prtCartAnimeByUDCRowChangeEventHandler stp_prtCartAnimeByUDCRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event stp_prtCartAnimeByUDCRowChangeEventHandler stp_prtCartAnimeByUDCRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event stp_prtCartAnimeByUDCRowChangeEventHandler stp_prtCartAnimeByUDCRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addstp_prtCartAnimeByUDCRow(stp_prtCartAnimeByUDCRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartAnimeByUDCRow Addstp_prtCartAnimeByUDCRow( + string UDC, + string CodCS, + string codcliente, + string ragsociale, + string particolare, + string descparticolare, + string disegnogrezzo, + string esponente, + string codimpianto, + string descimpianto, + string codstampo, + string figura, + System.DateTime datafus, + int turnofus, + string codimballo, + string codsoggetto, + int numcont, + double tara, + decimal qta, + string codstato, + int idxposizione, + double pesotot, + double pesocad, + System.DateTime CreateDate, + System.DateTime ModDate, + string cognome, + string nome, + string descstato, + string descimballo, + string CodFamiglia, + string DescFamiglia, + string Note, + string NoteTratt) { + stp_prtCartAnimeByUDCRow rowstp_prtCartAnimeByUDCRow = ((stp_prtCartAnimeByUDCRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + UDC, + CodCS, + codcliente, + ragsociale, + particolare, + descparticolare, + disegnogrezzo, + esponente, + codimpianto, + descimpianto, + codstampo, + figura, + datafus, + turnofus, + codimballo, + codsoggetto, + numcont, + tara, + qta, + codstato, + idxposizione, + pesotot, + pesocad, + CreateDate, + ModDate, + cognome, + nome, + descstato, + descimballo, + CodFamiglia, + DescFamiglia, + Note, + NoteTratt}; + rowstp_prtCartAnimeByUDCRow.ItemArray = columnValuesArray; + this.Rows.Add(rowstp_prtCartAnimeByUDCRow); + return rowstp_prtCartAnimeByUDCRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartAnimeByUDCRow FindByUDC(string UDC) { + return ((stp_prtCartAnimeByUDCRow)(this.Rows.Find(new object[] { + UDC}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + stp_prtCartAnimeByUDCDataTable cln = ((stp_prtCartAnimeByUDCDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new stp_prtCartAnimeByUDCDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = 30; + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartAnimeByUDCRow Newstp_prtCartAnimeByUDCRow() { + return ((stp_prtCartAnimeByUDCRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new stp_prtCartAnimeByUDCRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(stp_prtCartAnimeByUDCRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.stp_prtCartAnimeByUDCRowChanged != null)) { + this.stp_prtCartAnimeByUDCRowChanged(this, new stp_prtCartAnimeByUDCRowChangeEvent(((stp_prtCartAnimeByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.stp_prtCartAnimeByUDCRowChanging != null)) { + this.stp_prtCartAnimeByUDCRowChanging(this, new stp_prtCartAnimeByUDCRowChangeEvent(((stp_prtCartAnimeByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.stp_prtCartAnimeByUDCRowDeleted != null)) { + this.stp_prtCartAnimeByUDCRowDeleted(this, new stp_prtCartAnimeByUDCRowChangeEvent(((stp_prtCartAnimeByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.stp_prtCartAnimeByUDCRowDeleting != null)) { + this.stp_prtCartAnimeByUDCRowDeleting(this, new stp_prtCartAnimeByUDCRowChangeEvent(((stp_prtCartAnimeByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removestp_prtCartAnimeByUDCRow(stp_prtCartAnimeByUDCRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_cartellini ds = new DS_cartellini(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "stp_prtCartAnimeByUDCDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class stp_prtCartByUDCRow : global::System.Data.DataRow { + + private stp_prtCartByUDCDataTable tablestp_prtCartByUDC; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal stp_prtCartByUDCRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablestp_prtCartByUDC = ((stp_prtCartByUDCDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string UDC { + get { + return ((string)(this[this.tablestp_prtCartByUDC.UDCColumn])); + } + set { + this[this.tablestp_prtCartByUDC.UDCColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCS { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.CodCSColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodCS\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.CodCSColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string codcliente { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.codclienteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codcliente\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.codclienteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string ragsociale { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.ragsocialeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'ragsociale\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.ragsocialeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string particolare { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.particolareColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'particolare\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.particolareColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string descparticolare { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.descparticolareColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descparticolare\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.descparticolareColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string disegnogrezzo { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.disegnogrezzoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'disegnogrezzo\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.disegnogrezzoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string esponente { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.esponenteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'esponente\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.esponenteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string codimpianto { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.codimpiantoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codimpianto\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.codimpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string descimpianto { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.descimpiantoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descimpianto\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.descimpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string codstampo { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.codstampoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codstampo\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.codstampoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string figura { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.figuraColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'figura\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.figuraColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime datafus { + get { + try { + return ((global::System.DateTime)(this[this.tablestp_prtCartByUDC.datafusColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'datafus\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.datafusColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int turnofus { + get { + try { + return ((int)(this[this.tablestp_prtCartByUDC.turnofusColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'turnofus\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.turnofusColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string codimballo { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.codimballoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codimballo\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.codimballoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string codsoggetto { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.codsoggettoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codsoggetto\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.codsoggettoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int numcont { + get { + try { + return ((int)(this[this.tablestp_prtCartByUDC.numcontColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'numcont\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.numcontColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public double tara { + get { + try { + return ((double)(this[this.tablestp_prtCartByUDC.taraColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'tara\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.taraColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal qta { + get { + try { + return ((decimal)(this[this.tablestp_prtCartByUDC.qtaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'qta\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.qtaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string codstato { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.codstatoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codstato\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.codstatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int idxposizione { + get { + try { + return ((int)(this[this.tablestp_prtCartByUDC.idxposizioneColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'idxposizione\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.idxposizioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public double pesotot { + get { + try { + return ((double)(this[this.tablestp_prtCartByUDC.pesototColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'pesotot\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.pesototColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public double pesocad { + get { + try { + return ((double)(this[this.tablestp_prtCartByUDC.pesocadColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'pesocad\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.pesocadColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime CreateDate { + get { + try { + return ((global::System.DateTime)(this[this.tablestp_prtCartByUDC.CreateDateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CreateDate\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.CreateDateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime ModDate { + get { + try { + return ((global::System.DateTime)(this[this.tablestp_prtCartByUDC.ModDateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'ModDate\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.ModDateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string cognome { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.cognomeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'cognome\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.cognomeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string nome { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.nomeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'nome\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.nomeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string descstato { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.descstatoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descstato\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.descstatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string descimballo { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.descimballoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descimballo\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.descimballoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodFamiglia { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.CodFamigliaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodFamiglia\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.CodFamigliaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescFamiglia { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.DescFamigliaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescFamiglia\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.DescFamigliaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Note { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.NoteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Note\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.NoteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodCSNull() { + return this.IsNull(this.tablestp_prtCartByUDC.CodCSColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodCSNull() { + this[this.tablestp_prtCartByUDC.CodCSColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscodclienteNull() { + return this.IsNull(this.tablestp_prtCartByUDC.codclienteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcodclienteNull() { + this[this.tablestp_prtCartByUDC.codclienteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsragsocialeNull() { + return this.IsNull(this.tablestp_prtCartByUDC.ragsocialeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetragsocialeNull() { + this[this.tablestp_prtCartByUDC.ragsocialeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsparticolareNull() { + return this.IsNull(this.tablestp_prtCartByUDC.particolareColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetparticolareNull() { + this[this.tablestp_prtCartByUDC.particolareColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsdescparticolareNull() { + return this.IsNull(this.tablestp_prtCartByUDC.descparticolareColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetdescparticolareNull() { + this[this.tablestp_prtCartByUDC.descparticolareColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsdisegnogrezzoNull() { + return this.IsNull(this.tablestp_prtCartByUDC.disegnogrezzoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetdisegnogrezzoNull() { + this[this.tablestp_prtCartByUDC.disegnogrezzoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsesponenteNull() { + return this.IsNull(this.tablestp_prtCartByUDC.esponenteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetesponenteNull() { + this[this.tablestp_prtCartByUDC.esponenteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscodimpiantoNull() { + return this.IsNull(this.tablestp_prtCartByUDC.codimpiantoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcodimpiantoNull() { + this[this.tablestp_prtCartByUDC.codimpiantoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsdescimpiantoNull() { + return this.IsNull(this.tablestp_prtCartByUDC.descimpiantoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetdescimpiantoNull() { + this[this.tablestp_prtCartByUDC.descimpiantoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscodstampoNull() { + return this.IsNull(this.tablestp_prtCartByUDC.codstampoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcodstampoNull() { + this[this.tablestp_prtCartByUDC.codstampoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsfiguraNull() { + return this.IsNull(this.tablestp_prtCartByUDC.figuraColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetfiguraNull() { + this[this.tablestp_prtCartByUDC.figuraColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsdatafusNull() { + return this.IsNull(this.tablestp_prtCartByUDC.datafusColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetdatafusNull() { + this[this.tablestp_prtCartByUDC.datafusColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsturnofusNull() { + return this.IsNull(this.tablestp_prtCartByUDC.turnofusColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetturnofusNull() { + this[this.tablestp_prtCartByUDC.turnofusColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscodimballoNull() { + return this.IsNull(this.tablestp_prtCartByUDC.codimballoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcodimballoNull() { + this[this.tablestp_prtCartByUDC.codimballoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscodsoggettoNull() { + return this.IsNull(this.tablestp_prtCartByUDC.codsoggettoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcodsoggettoNull() { + this[this.tablestp_prtCartByUDC.codsoggettoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsnumcontNull() { + return this.IsNull(this.tablestp_prtCartByUDC.numcontColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetnumcontNull() { + this[this.tablestp_prtCartByUDC.numcontColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IstaraNull() { + return this.IsNull(this.tablestp_prtCartByUDC.taraColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SettaraNull() { + this[this.tablestp_prtCartByUDC.taraColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsqtaNull() { + return this.IsNull(this.tablestp_prtCartByUDC.qtaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetqtaNull() { + this[this.tablestp_prtCartByUDC.qtaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscodstatoNull() { + return this.IsNull(this.tablestp_prtCartByUDC.codstatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcodstatoNull() { + this[this.tablestp_prtCartByUDC.codstatoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsidxposizioneNull() { + return this.IsNull(this.tablestp_prtCartByUDC.idxposizioneColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetidxposizioneNull() { + this[this.tablestp_prtCartByUDC.idxposizioneColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IspesototNull() { + return this.IsNull(this.tablestp_prtCartByUDC.pesototColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetpesototNull() { + this[this.tablestp_prtCartByUDC.pesototColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IspesocadNull() { + return this.IsNull(this.tablestp_prtCartByUDC.pesocadColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetpesocadNull() { + this[this.tablestp_prtCartByUDC.pesocadColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCreateDateNull() { + return this.IsNull(this.tablestp_prtCartByUDC.CreateDateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCreateDateNull() { + this[this.tablestp_prtCartByUDC.CreateDateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsModDateNull() { + return this.IsNull(this.tablestp_prtCartByUDC.ModDateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetModDateNull() { + this[this.tablestp_prtCartByUDC.ModDateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscognomeNull() { + return this.IsNull(this.tablestp_prtCartByUDC.cognomeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcognomeNull() { + this[this.tablestp_prtCartByUDC.cognomeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsnomeNull() { + return this.IsNull(this.tablestp_prtCartByUDC.nomeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetnomeNull() { + this[this.tablestp_prtCartByUDC.nomeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsdescstatoNull() { + return this.IsNull(this.tablestp_prtCartByUDC.descstatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetdescstatoNull() { + this[this.tablestp_prtCartByUDC.descstatoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsdescimballoNull() { + return this.IsNull(this.tablestp_prtCartByUDC.descimballoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetdescimballoNull() { + this[this.tablestp_prtCartByUDC.descimballoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodFamigliaNull() { + return this.IsNull(this.tablestp_prtCartByUDC.CodFamigliaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodFamigliaNull() { + this[this.tablestp_prtCartByUDC.CodFamigliaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescFamigliaNull() { + return this.IsNull(this.tablestp_prtCartByUDC.DescFamigliaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescFamigliaNull() { + this[this.tablestp_prtCartByUDC.DescFamigliaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsNoteNull() { + return this.IsNull(this.tablestp_prtCartByUDC.NoteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetNoteNull() { + this[this.tablestp_prtCartByUDC.NoteColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class stp_prtCartMatPrimaByUDCRow : global::System.Data.DataRow { + + private stp_prtCartMatPrimaByUDCDataTable tablestp_prtCartMatPrimaByUDC; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal stp_prtCartMatPrimaByUDCRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablestp_prtCartMatPrimaByUDC = ((stp_prtCartMatPrimaByUDCDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal nRapQual { + get { + try { + return ((decimal)(this[this.tablestp_prtCartMatPrimaByUDC.nRapQualColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'nRapQual\' in table \'stp_prtCartMatPrimaByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.nRapQualColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal DataRapQual { + get { + try { + return ((decimal)(this[this.tablestp_prtCartMatPrimaByUDC.DataRapQualColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DataRapQual\' in table \'stp_prtCartMatPrimaByUDC\' is DBNull." + + "", e); + } + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.DataRapQualColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string ProgUDC { + get { + try { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.ProgUDCColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'ProgUDC\' in table \'stp_prtCartMatPrimaByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.ProgUDCColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodFor { + get { + try { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.CodForColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodFor\' in table \'stp_prtCartMatPrimaByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.CodForColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DestTerz { + get { + try { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.DestTerzColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DestTerz\' in table \'stp_prtCartMatPrimaByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.DestTerzColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodLega { + get { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.CodLegaColumn])); + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.CodLegaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal DataPrelFus { + get { + try { + return ((decimal)(this[this.tablestp_prtCartMatPrimaByUDC.DataPrelFusColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DataPrelFus\' in table \'stp_prtCartMatPrimaByUDC\' is DBNull." + + "", e); + } + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.DataPrelFusColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string TurnoPrelFus { + get { + try { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.TurnoPrelFusColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'TurnoPrelFus\' in table \'stp_prtCartMatPrimaByUDC\' is DBNull" + + ".", e); + } + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.TurnoPrelFusColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal Qta { + get { + try { + return ((decimal)(this[this.tablestp_prtCartMatPrimaByUDC.QtaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Qta\' in table \'stp_prtCartMatPrimaByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.QtaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DestLega { + get { + try { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.DestLegaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DestLega\' in table \'stp_prtCartMatPrimaByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.DestLegaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string LegaScaric { + get { + try { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.LegaScaricColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'LegaScaric\' in table \'stp_prtCartMatPrimaByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.LegaScaricColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string BenesQual { + get { + try { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.BenesQualColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'BenesQual\' in table \'stp_prtCartMatPrimaByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.BenesQualColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string UDC { + get { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.UDCColumn])); + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.UDCColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescFornitore { + get { + try { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.DescFornitoreColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescFornitore\' in table \'stp_prtCartMatPrimaByUDC\' is DBNul" + + "l.", e); + } + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.DescFornitoreColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescFornitore2 { + get { + try { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.DescFornitore2Column])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescFornitore2\' in table \'stp_prtCartMatPrimaByUDC\' is DBNu" + + "ll.", e); + } + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.DescFornitore2Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodLega2 { + get { + try { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.CodLega2Column])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodLega2\' in table \'stp_prtCartMatPrimaByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.CodLega2Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescLega { + get { + try { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.DescLegaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescLega\' in table \'stp_prtCartMatPrimaByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.DescLegaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescLega2 { + get { + try { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.DescLega2Column])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescLega2\' in table \'stp_prtCartMatPrimaByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.DescLega2Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Note { + get { + try { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.NoteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Note\' in table \'stp_prtCartMatPrimaByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.NoteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsnRapQualNull() { + return this.IsNull(this.tablestp_prtCartMatPrimaByUDC.nRapQualColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetnRapQualNull() { + this[this.tablestp_prtCartMatPrimaByUDC.nRapQualColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDataRapQualNull() { + return this.IsNull(this.tablestp_prtCartMatPrimaByUDC.DataRapQualColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDataRapQualNull() { + this[this.tablestp_prtCartMatPrimaByUDC.DataRapQualColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsProgUDCNull() { + return this.IsNull(this.tablestp_prtCartMatPrimaByUDC.ProgUDCColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetProgUDCNull() { + this[this.tablestp_prtCartMatPrimaByUDC.ProgUDCColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodForNull() { + return this.IsNull(this.tablestp_prtCartMatPrimaByUDC.CodForColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodForNull() { + this[this.tablestp_prtCartMatPrimaByUDC.CodForColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDestTerzNull() { + return this.IsNull(this.tablestp_prtCartMatPrimaByUDC.DestTerzColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDestTerzNull() { + this[this.tablestp_prtCartMatPrimaByUDC.DestTerzColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDataPrelFusNull() { + return this.IsNull(this.tablestp_prtCartMatPrimaByUDC.DataPrelFusColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDataPrelFusNull() { + this[this.tablestp_prtCartMatPrimaByUDC.DataPrelFusColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsTurnoPrelFusNull() { + return this.IsNull(this.tablestp_prtCartMatPrimaByUDC.TurnoPrelFusColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetTurnoPrelFusNull() { + this[this.tablestp_prtCartMatPrimaByUDC.TurnoPrelFusColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsQtaNull() { + return this.IsNull(this.tablestp_prtCartMatPrimaByUDC.QtaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetQtaNull() { + this[this.tablestp_prtCartMatPrimaByUDC.QtaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDestLegaNull() { + return this.IsNull(this.tablestp_prtCartMatPrimaByUDC.DestLegaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDestLegaNull() { + this[this.tablestp_prtCartMatPrimaByUDC.DestLegaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsLegaScaricNull() { + return this.IsNull(this.tablestp_prtCartMatPrimaByUDC.LegaScaricColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetLegaScaricNull() { + this[this.tablestp_prtCartMatPrimaByUDC.LegaScaricColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsBenesQualNull() { + return this.IsNull(this.tablestp_prtCartMatPrimaByUDC.BenesQualColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetBenesQualNull() { + this[this.tablestp_prtCartMatPrimaByUDC.BenesQualColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescFornitoreNull() { + return this.IsNull(this.tablestp_prtCartMatPrimaByUDC.DescFornitoreColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescFornitoreNull() { + this[this.tablestp_prtCartMatPrimaByUDC.DescFornitoreColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescFornitore2Null() { + return this.IsNull(this.tablestp_prtCartMatPrimaByUDC.DescFornitore2Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescFornitore2Null() { + this[this.tablestp_prtCartMatPrimaByUDC.DescFornitore2Column] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodLega2Null() { + return this.IsNull(this.tablestp_prtCartMatPrimaByUDC.CodLega2Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodLega2Null() { + this[this.tablestp_prtCartMatPrimaByUDC.CodLega2Column] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescLegaNull() { + return this.IsNull(this.tablestp_prtCartMatPrimaByUDC.DescLegaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescLegaNull() { + this[this.tablestp_prtCartMatPrimaByUDC.DescLegaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescLega2Null() { + return this.IsNull(this.tablestp_prtCartMatPrimaByUDC.DescLega2Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescLega2Null() { + this[this.tablestp_prtCartMatPrimaByUDC.DescLega2Column] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsNoteNull() { + return this.IsNull(this.tablestp_prtCartMatPrimaByUDC.NoteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetNoteNull() { + this[this.tablestp_prtCartMatPrimaByUDC.NoteColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class stp_prtCartLiquidi_F18ByUDCRow : global::System.Data.DataRow { + + private stp_prtCartLiquidi_F18ByUDCDataTable tablestp_prtCartLiquidi_F18ByUDC; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal stp_prtCartLiquidi_F18ByUDCRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablestp_prtCartLiquidi_F18ByUDC = ((stp_prtCartLiquidi_F18ByUDCDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string UDC { + get { + return ((string)(this[this.tablestp_prtCartLiquidi_F18ByUDC.UDCColumn])); + } + set { + this[this.tablestp_prtCartLiquidi_F18ByUDC.UDCColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCS { + get { + if (this.IsCodCSNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tablestp_prtCartLiquidi_F18ByUDC.CodCSColumn])); + } + } + set { + this[this.tablestp_prtCartLiquidi_F18ByUDC.CodCSColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string codcliente { + get { + if (this.IscodclienteNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tablestp_prtCartLiquidi_F18ByUDC.codclienteColumn])); + } + } + set { + this[this.tablestp_prtCartLiquidi_F18ByUDC.codclienteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string ragsociale { + get { + if (this.IsragsocialeNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tablestp_prtCartLiquidi_F18ByUDC.ragsocialeColumn])); + } + } + set { + this[this.tablestp_prtCartLiquidi_F18ByUDC.ragsocialeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string particolare { + get { + if (this.IsparticolareNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tablestp_prtCartLiquidi_F18ByUDC.particolareColumn])); + } + } + set { + this[this.tablestp_prtCartLiquidi_F18ByUDC.particolareColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string descparticolare { + get { + if (this.IsdescparticolareNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tablestp_prtCartLiquidi_F18ByUDC.descparticolareColumn])); + } + } + set { + this[this.tablestp_prtCartLiquidi_F18ByUDC.descparticolareColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string disegnogrezzo { + get { + if (this.IsdisegnogrezzoNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tablestp_prtCartLiquidi_F18ByUDC.disegnogrezzoColumn])); + } + } + set { + this[this.tablestp_prtCartLiquidi_F18ByUDC.disegnogrezzoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string esponente { + get { + if (this.IsesponenteNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tablestp_prtCartLiquidi_F18ByUDC.esponenteColumn])); + } + } + set { + this[this.tablestp_prtCartLiquidi_F18ByUDC.esponenteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string codimpianto { + get { + if (this.IscodimpiantoNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tablestp_prtCartLiquidi_F18ByUDC.codimpiantoColumn])); + } + } + set { + this[this.tablestp_prtCartLiquidi_F18ByUDC.codimpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string descimpianto { + get { + if (this.IsdescimpiantoNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tablestp_prtCartLiquidi_F18ByUDC.descimpiantoColumn])); + } + } + set { + this[this.tablestp_prtCartLiquidi_F18ByUDC.descimpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string codstampo { + get { + if (this.IscodstampoNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tablestp_prtCartLiquidi_F18ByUDC.codstampoColumn])); + } + } + set { + this[this.tablestp_prtCartLiquidi_F18ByUDC.codstampoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string figura { + get { + if (this.IsfiguraNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tablestp_prtCartLiquidi_F18ByUDC.figuraColumn])); + } + } + set { + this[this.tablestp_prtCartLiquidi_F18ByUDC.figuraColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime datafus { + get { + try { + return ((global::System.DateTime)(this[this.tablestp_prtCartLiquidi_F18ByUDC.datafusColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'datafus\' in table \'stp_prtCartLiquidi_F18ByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidi_F18ByUDC.datafusColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int turnofus { + get { + try { + return ((int)(this[this.tablestp_prtCartLiquidi_F18ByUDC.turnofusColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'turnofus\' in table \'stp_prtCartLiquidi_F18ByUDC\' is DBNull." + + "", e); + } + } + set { + this[this.tablestp_prtCartLiquidi_F18ByUDC.turnofusColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string codimballo { + get { + if (this.IscodimballoNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tablestp_prtCartLiquidi_F18ByUDC.codimballoColumn])); + } + } + set { + this[this.tablestp_prtCartLiquidi_F18ByUDC.codimballoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string codsoggetto { + get { + if (this.IscodsoggettoNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tablestp_prtCartLiquidi_F18ByUDC.codsoggettoColumn])); + } + } + set { + this[this.tablestp_prtCartLiquidi_F18ByUDC.codsoggettoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int numcont { + get { + try { + return ((int)(this[this.tablestp_prtCartLiquidi_F18ByUDC.numcontColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'numcont\' in table \'stp_prtCartLiquidi_F18ByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidi_F18ByUDC.numcontColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public double tara { + get { + try { + return ((double)(this[this.tablestp_prtCartLiquidi_F18ByUDC.taraColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'tara\' in table \'stp_prtCartLiquidi_F18ByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidi_F18ByUDC.taraColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal qta { + get { + try { + return ((decimal)(this[this.tablestp_prtCartLiquidi_F18ByUDC.qtaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'qta\' in table \'stp_prtCartLiquidi_F18ByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidi_F18ByUDC.qtaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string codstato { + get { + if (this.IscodstatoNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tablestp_prtCartLiquidi_F18ByUDC.codstatoColumn])); + } + } + set { + this[this.tablestp_prtCartLiquidi_F18ByUDC.codstatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int idxposizione { + get { + try { + return ((int)(this[this.tablestp_prtCartLiquidi_F18ByUDC.idxposizioneColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'idxposizione\' in table \'stp_prtCartLiquidi_F18ByUDC\' is DBN" + + "ull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidi_F18ByUDC.idxposizioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public double pesotot { + get { + try { + return ((double)(this[this.tablestp_prtCartLiquidi_F18ByUDC.pesototColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'pesotot\' in table \'stp_prtCartLiquidi_F18ByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidi_F18ByUDC.pesototColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public double pesocad { + get { + try { + return ((double)(this[this.tablestp_prtCartLiquidi_F18ByUDC.pesocadColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'pesocad\' in table \'stp_prtCartLiquidi_F18ByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidi_F18ByUDC.pesocadColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime CreateDate { + get { + try { + return ((global::System.DateTime)(this[this.tablestp_prtCartLiquidi_F18ByUDC.CreateDateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CreateDate\' in table \'stp_prtCartLiquidi_F18ByUDC\' is DBNul" + + "l.", e); + } + } + set { + this[this.tablestp_prtCartLiquidi_F18ByUDC.CreateDateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime ModDate { + get { + try { + return ((global::System.DateTime)(this[this.tablestp_prtCartLiquidi_F18ByUDC.ModDateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'ModDate\' in table \'stp_prtCartLiquidi_F18ByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidi_F18ByUDC.ModDateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string cognome { + get { + if (this.IscognomeNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tablestp_prtCartLiquidi_F18ByUDC.cognomeColumn])); + } + } + set { + this[this.tablestp_prtCartLiquidi_F18ByUDC.cognomeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string nome { + get { + if (this.IsnomeNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tablestp_prtCartLiquidi_F18ByUDC.nomeColumn])); + } + } + set { + this[this.tablestp_prtCartLiquidi_F18ByUDC.nomeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string descstato { + get { + if (this.IsdescstatoNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tablestp_prtCartLiquidi_F18ByUDC.descstatoColumn])); + } + } + set { + this[this.tablestp_prtCartLiquidi_F18ByUDC.descstatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string descimballo { + get { + if (this.IsdescimballoNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tablestp_prtCartLiquidi_F18ByUDC.descimballoColumn])); + } + } + set { + this[this.tablestp_prtCartLiquidi_F18ByUDC.descimballoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodFamiglia { + get { + if (this.IsCodFamigliaNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tablestp_prtCartLiquidi_F18ByUDC.CodFamigliaColumn])); + } + } + set { + this[this.tablestp_prtCartLiquidi_F18ByUDC.CodFamigliaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescFamiglia { + get { + if (this.IsDescFamigliaNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tablestp_prtCartLiquidi_F18ByUDC.DescFamigliaColumn])); + } + } + set { + this[this.tablestp_prtCartLiquidi_F18ByUDC.DescFamigliaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Note { + get { + if (this.IsNoteNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tablestp_prtCartLiquidi_F18ByUDC.NoteColumn])); + } + } + set { + this[this.tablestp_prtCartLiquidi_F18ByUDC.NoteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string NoteTratt { + get { + if (this.IsNoteTrattNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tablestp_prtCartLiquidi_F18ByUDC.NoteTrattColumn])); + } + } + set { + this[this.tablestp_prtCartLiquidi_F18ByUDC.NoteTrattColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodCSNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F18ByUDC.CodCSColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodCSNull() { + this[this.tablestp_prtCartLiquidi_F18ByUDC.CodCSColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscodclienteNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F18ByUDC.codclienteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcodclienteNull() { + this[this.tablestp_prtCartLiquidi_F18ByUDC.codclienteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsragsocialeNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F18ByUDC.ragsocialeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetragsocialeNull() { + this[this.tablestp_prtCartLiquidi_F18ByUDC.ragsocialeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsparticolareNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F18ByUDC.particolareColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetparticolareNull() { + this[this.tablestp_prtCartLiquidi_F18ByUDC.particolareColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsdescparticolareNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F18ByUDC.descparticolareColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetdescparticolareNull() { + this[this.tablestp_prtCartLiquidi_F18ByUDC.descparticolareColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsdisegnogrezzoNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F18ByUDC.disegnogrezzoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetdisegnogrezzoNull() { + this[this.tablestp_prtCartLiquidi_F18ByUDC.disegnogrezzoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsesponenteNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F18ByUDC.esponenteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetesponenteNull() { + this[this.tablestp_prtCartLiquidi_F18ByUDC.esponenteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscodimpiantoNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F18ByUDC.codimpiantoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcodimpiantoNull() { + this[this.tablestp_prtCartLiquidi_F18ByUDC.codimpiantoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsdescimpiantoNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F18ByUDC.descimpiantoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetdescimpiantoNull() { + this[this.tablestp_prtCartLiquidi_F18ByUDC.descimpiantoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscodstampoNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F18ByUDC.codstampoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcodstampoNull() { + this[this.tablestp_prtCartLiquidi_F18ByUDC.codstampoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsfiguraNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F18ByUDC.figuraColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetfiguraNull() { + this[this.tablestp_prtCartLiquidi_F18ByUDC.figuraColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsdatafusNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F18ByUDC.datafusColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetdatafusNull() { + this[this.tablestp_prtCartLiquidi_F18ByUDC.datafusColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsturnofusNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F18ByUDC.turnofusColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetturnofusNull() { + this[this.tablestp_prtCartLiquidi_F18ByUDC.turnofusColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscodimballoNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F18ByUDC.codimballoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcodimballoNull() { + this[this.tablestp_prtCartLiquidi_F18ByUDC.codimballoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscodsoggettoNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F18ByUDC.codsoggettoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcodsoggettoNull() { + this[this.tablestp_prtCartLiquidi_F18ByUDC.codsoggettoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsnumcontNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F18ByUDC.numcontColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetnumcontNull() { + this[this.tablestp_prtCartLiquidi_F18ByUDC.numcontColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IstaraNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F18ByUDC.taraColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SettaraNull() { + this[this.tablestp_prtCartLiquidi_F18ByUDC.taraColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsqtaNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F18ByUDC.qtaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetqtaNull() { + this[this.tablestp_prtCartLiquidi_F18ByUDC.qtaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscodstatoNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F18ByUDC.codstatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcodstatoNull() { + this[this.tablestp_prtCartLiquidi_F18ByUDC.codstatoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsidxposizioneNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F18ByUDC.idxposizioneColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetidxposizioneNull() { + this[this.tablestp_prtCartLiquidi_F18ByUDC.idxposizioneColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IspesototNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F18ByUDC.pesototColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetpesototNull() { + this[this.tablestp_prtCartLiquidi_F18ByUDC.pesototColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IspesocadNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F18ByUDC.pesocadColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetpesocadNull() { + this[this.tablestp_prtCartLiquidi_F18ByUDC.pesocadColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCreateDateNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F18ByUDC.CreateDateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCreateDateNull() { + this[this.tablestp_prtCartLiquidi_F18ByUDC.CreateDateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsModDateNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F18ByUDC.ModDateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetModDateNull() { + this[this.tablestp_prtCartLiquidi_F18ByUDC.ModDateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscognomeNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F18ByUDC.cognomeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcognomeNull() { + this[this.tablestp_prtCartLiquidi_F18ByUDC.cognomeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsnomeNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F18ByUDC.nomeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetnomeNull() { + this[this.tablestp_prtCartLiquidi_F18ByUDC.nomeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsdescstatoNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F18ByUDC.descstatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetdescstatoNull() { + this[this.tablestp_prtCartLiquidi_F18ByUDC.descstatoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsdescimballoNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F18ByUDC.descimballoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetdescimballoNull() { + this[this.tablestp_prtCartLiquidi_F18ByUDC.descimballoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodFamigliaNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F18ByUDC.CodFamigliaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodFamigliaNull() { + this[this.tablestp_prtCartLiquidi_F18ByUDC.CodFamigliaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescFamigliaNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F18ByUDC.DescFamigliaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescFamigliaNull() { + this[this.tablestp_prtCartLiquidi_F18ByUDC.DescFamigliaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsNoteNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F18ByUDC.NoteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetNoteNull() { + this[this.tablestp_prtCartLiquidi_F18ByUDC.NoteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsNoteTrattNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F18ByUDC.NoteTrattColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetNoteTrattNull() { + this[this.tablestp_prtCartLiquidi_F18ByUDC.NoteTrattColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class stp_prtCartLiquidi_F10ByUDCRow : global::System.Data.DataRow { + + private stp_prtCartLiquidi_F10ByUDCDataTable tablestp_prtCartLiquidi_F10ByUDC; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal stp_prtCartLiquidi_F10ByUDCRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablestp_prtCartLiquidi_F10ByUDC = ((stp_prtCartLiquidi_F10ByUDCDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsUDCNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.UDCColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetUDCNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.UDCColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodCSNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.CodCSColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodCSNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.CodCSColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscodclienteNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.codclienteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcodclienteNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.codclienteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsragsocialeNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.ragsocialeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetragsocialeNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.ragsocialeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsparticolareNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.particolareColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetparticolareNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.particolareColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsdescparticolareNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.descparticolareColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetdescparticolareNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.descparticolareColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsdisegnogrezzoNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.disegnogrezzoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetdisegnogrezzoNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.disegnogrezzoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsesponenteNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.esponenteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetesponenteNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.esponenteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscodimpiantoNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.codimpiantoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcodimpiantoNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.codimpiantoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsdescimpiantoNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.descimpiantoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetdescimpiantoNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.descimpiantoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscodstampoNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.codstampoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcodstampoNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.codstampoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsfiguraNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.figuraColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetfiguraNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.figuraColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsdatafusNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.datafusColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetdatafusNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.datafusColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsturnofusNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.turnofusColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetturnofusNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.turnofusColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscodimballoNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.codimballoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcodimballoNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.codimballoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscodsoggettoNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.codsoggettoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcodsoggettoNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.codsoggettoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsnumcontNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.numcontColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetnumcontNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.numcontColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IstaraNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.taraColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SettaraNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.taraColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsqtaNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.qtaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetqtaNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.qtaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscodstatoNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.codstatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcodstatoNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.codstatoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsidxposizioneNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.idxposizioneColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetidxposizioneNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.idxposizioneColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IspesototNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.pesototColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetpesototNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.pesototColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IspesocadNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.pesocadColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetpesocadNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.pesocadColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCreateDateNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.CreateDateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCreateDateNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.CreateDateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsModDateNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.ModDateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetModDateNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.ModDateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscognomeNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.cognomeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcognomeNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.cognomeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsnomeNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.nomeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetnomeNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.nomeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsdescstatoNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.descstatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetdescstatoNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.descstatoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsdescimballoNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.descimballoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetdescimballoNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.descimballoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodFamigliaNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.CodFamigliaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodFamigliaNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.CodFamigliaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescFamigliaNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.DescFamigliaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescFamigliaNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.DescFamigliaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsNoteNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.NoteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetNoteNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.NoteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsNoteTrattNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.NoteTrattColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetNoteTrattNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.NoteTrattColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class stp_prtCartAnimeByUDCRow : global::System.Data.DataRow { + + private stp_prtCartAnimeByUDCDataTable tablestp_prtCartAnimeByUDC; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal stp_prtCartAnimeByUDCRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablestp_prtCartAnimeByUDC = ((stp_prtCartAnimeByUDCDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string UDC { + get { + return ((string)(this[this.tablestp_prtCartAnimeByUDC.UDCColumn])); + } + set { + this[this.tablestp_prtCartAnimeByUDC.UDCColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCS { + get { + try { + return ((string)(this[this.tablestp_prtCartAnimeByUDC.CodCSColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodCS\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.CodCSColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string codcliente { + get { + try { + return ((string)(this[this.tablestp_prtCartAnimeByUDC.codclienteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codcliente\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.codclienteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string ragsociale { + get { + try { + return ((string)(this[this.tablestp_prtCartAnimeByUDC.ragsocialeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'ragsociale\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.ragsocialeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string particolare { + get { + try { + return ((string)(this[this.tablestp_prtCartAnimeByUDC.particolareColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'particolare\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.particolareColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string descparticolare { + get { + try { + return ((string)(this[this.tablestp_prtCartAnimeByUDC.descparticolareColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descparticolare\' in table \'stp_prtCartAnimeByUDC\' is DBNull" + + ".", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.descparticolareColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string disegnogrezzo { + get { + try { + return ((string)(this[this.tablestp_prtCartAnimeByUDC.disegnogrezzoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'disegnogrezzo\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.disegnogrezzoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string esponente { + get { + try { + return ((string)(this[this.tablestp_prtCartAnimeByUDC.esponenteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'esponente\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.esponenteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string codimpianto { + get { + try { + return ((string)(this[this.tablestp_prtCartAnimeByUDC.codimpiantoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codimpianto\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.codimpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string descimpianto { + get { + try { + return ((string)(this[this.tablestp_prtCartAnimeByUDC.descimpiantoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descimpianto\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.descimpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string codstampo { + get { + try { + return ((string)(this[this.tablestp_prtCartAnimeByUDC.codstampoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codstampo\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.codstampoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string figura { + get { + try { + return ((string)(this[this.tablestp_prtCartAnimeByUDC.figuraColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'figura\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.figuraColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime datafus { + get { + try { + return ((global::System.DateTime)(this[this.tablestp_prtCartAnimeByUDC.datafusColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'datafus\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.datafusColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int turnofus { + get { + try { + return ((int)(this[this.tablestp_prtCartAnimeByUDC.turnofusColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'turnofus\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.turnofusColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string codimballo { + get { + try { + return ((string)(this[this.tablestp_prtCartAnimeByUDC.codimballoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codimballo\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.codimballoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string codsoggetto { + get { + try { + return ((string)(this[this.tablestp_prtCartAnimeByUDC.codsoggettoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codsoggetto\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.codsoggettoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int numcont { + get { + try { + return ((int)(this[this.tablestp_prtCartAnimeByUDC.numcontColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'numcont\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.numcontColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public double tara { + get { + try { + return ((double)(this[this.tablestp_prtCartAnimeByUDC.taraColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'tara\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.taraColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal qta { + get { + try { + return ((decimal)(this[this.tablestp_prtCartAnimeByUDC.qtaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'qta\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.qtaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string codstato { + get { + try { + return ((string)(this[this.tablestp_prtCartAnimeByUDC.codstatoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codstato\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.codstatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int idxposizione { + get { + try { + return ((int)(this[this.tablestp_prtCartAnimeByUDC.idxposizioneColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'idxposizione\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.idxposizioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public double pesotot { + get { + try { + return ((double)(this[this.tablestp_prtCartAnimeByUDC.pesototColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'pesotot\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.pesototColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public double pesocad { + get { + try { + return ((double)(this[this.tablestp_prtCartAnimeByUDC.pesocadColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'pesocad\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.pesocadColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime CreateDate { + get { + try { + return ((global::System.DateTime)(this[this.tablestp_prtCartAnimeByUDC.CreateDateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CreateDate\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.CreateDateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime ModDate { + get { + try { + return ((global::System.DateTime)(this[this.tablestp_prtCartAnimeByUDC.ModDateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'ModDate\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.ModDateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string cognome { + get { + try { + return ((string)(this[this.tablestp_prtCartAnimeByUDC.cognomeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'cognome\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.cognomeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string nome { + get { + try { + return ((string)(this[this.tablestp_prtCartAnimeByUDC.nomeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'nome\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.nomeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string descstato { + get { + try { + return ((string)(this[this.tablestp_prtCartAnimeByUDC.descstatoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descstato\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.descstatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string descimballo { + get { + try { + return ((string)(this[this.tablestp_prtCartAnimeByUDC.descimballoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descimballo\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.descimballoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodFamiglia { + get { + try { + return ((string)(this[this.tablestp_prtCartAnimeByUDC.CodFamigliaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodFamiglia\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.CodFamigliaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescFamiglia { + get { + try { + return ((string)(this[this.tablestp_prtCartAnimeByUDC.DescFamigliaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescFamiglia\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.DescFamigliaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Note { + get { + try { + return ((string)(this[this.tablestp_prtCartAnimeByUDC.NoteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Note\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.NoteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string NoteTratt { + get { + try { + return ((string)(this[this.tablestp_prtCartAnimeByUDC.NoteTrattColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'NoteTratt\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.NoteTrattColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodCSNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.CodCSColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodCSNull() { + this[this.tablestp_prtCartAnimeByUDC.CodCSColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscodclienteNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.codclienteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcodclienteNull() { + this[this.tablestp_prtCartAnimeByUDC.codclienteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsragsocialeNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.ragsocialeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetragsocialeNull() { + this[this.tablestp_prtCartAnimeByUDC.ragsocialeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsparticolareNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.particolareColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetparticolareNull() { + this[this.tablestp_prtCartAnimeByUDC.particolareColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsdescparticolareNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.descparticolareColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetdescparticolareNull() { + this[this.tablestp_prtCartAnimeByUDC.descparticolareColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsdisegnogrezzoNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.disegnogrezzoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetdisegnogrezzoNull() { + this[this.tablestp_prtCartAnimeByUDC.disegnogrezzoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsesponenteNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.esponenteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetesponenteNull() { + this[this.tablestp_prtCartAnimeByUDC.esponenteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscodimpiantoNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.codimpiantoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcodimpiantoNull() { + this[this.tablestp_prtCartAnimeByUDC.codimpiantoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsdescimpiantoNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.descimpiantoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetdescimpiantoNull() { + this[this.tablestp_prtCartAnimeByUDC.descimpiantoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscodstampoNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.codstampoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcodstampoNull() { + this[this.tablestp_prtCartAnimeByUDC.codstampoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsfiguraNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.figuraColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetfiguraNull() { + this[this.tablestp_prtCartAnimeByUDC.figuraColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsdatafusNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.datafusColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetdatafusNull() { + this[this.tablestp_prtCartAnimeByUDC.datafusColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsturnofusNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.turnofusColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetturnofusNull() { + this[this.tablestp_prtCartAnimeByUDC.turnofusColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscodimballoNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.codimballoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcodimballoNull() { + this[this.tablestp_prtCartAnimeByUDC.codimballoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscodsoggettoNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.codsoggettoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcodsoggettoNull() { + this[this.tablestp_prtCartAnimeByUDC.codsoggettoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsnumcontNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.numcontColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetnumcontNull() { + this[this.tablestp_prtCartAnimeByUDC.numcontColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IstaraNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.taraColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SettaraNull() { + this[this.tablestp_prtCartAnimeByUDC.taraColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsqtaNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.qtaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetqtaNull() { + this[this.tablestp_prtCartAnimeByUDC.qtaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscodstatoNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.codstatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcodstatoNull() { + this[this.tablestp_prtCartAnimeByUDC.codstatoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsidxposizioneNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.idxposizioneColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetidxposizioneNull() { + this[this.tablestp_prtCartAnimeByUDC.idxposizioneColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IspesototNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.pesototColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetpesototNull() { + this[this.tablestp_prtCartAnimeByUDC.pesototColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IspesocadNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.pesocadColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetpesocadNull() { + this[this.tablestp_prtCartAnimeByUDC.pesocadColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCreateDateNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.CreateDateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCreateDateNull() { + this[this.tablestp_prtCartAnimeByUDC.CreateDateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsModDateNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.ModDateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetModDateNull() { + this[this.tablestp_prtCartAnimeByUDC.ModDateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscognomeNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.cognomeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcognomeNull() { + this[this.tablestp_prtCartAnimeByUDC.cognomeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsnomeNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.nomeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetnomeNull() { + this[this.tablestp_prtCartAnimeByUDC.nomeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsdescstatoNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.descstatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetdescstatoNull() { + this[this.tablestp_prtCartAnimeByUDC.descstatoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsdescimballoNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.descimballoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetdescimballoNull() { + this[this.tablestp_prtCartAnimeByUDC.descimballoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodFamigliaNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.CodFamigliaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodFamigliaNull() { + this[this.tablestp_prtCartAnimeByUDC.CodFamigliaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescFamigliaNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.DescFamigliaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescFamigliaNull() { + this[this.tablestp_prtCartAnimeByUDC.DescFamigliaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsNoteNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.NoteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetNoteNull() { + this[this.tablestp_prtCartAnimeByUDC.NoteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsNoteTrattNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.NoteTrattColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetNoteTrattNull() { + this[this.tablestp_prtCartAnimeByUDC.NoteTrattColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class stp_prtCartByUDCRowChangeEvent : global::System.EventArgs { + + private stp_prtCartByUDCRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartByUDCRowChangeEvent(stp_prtCartByUDCRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartByUDCRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class stp_prtCartMatPrimaByUDCRowChangeEvent : global::System.EventArgs { + + private stp_prtCartMatPrimaByUDCRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartMatPrimaByUDCRowChangeEvent(stp_prtCartMatPrimaByUDCRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartMatPrimaByUDCRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class stp_prtCartLiquidi_F18ByUDCRowChangeEvent : global::System.EventArgs { + + private stp_prtCartLiquidi_F18ByUDCRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartLiquidi_F18ByUDCRowChangeEvent(stp_prtCartLiquidi_F18ByUDCRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartLiquidi_F18ByUDCRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class stp_prtCartLiquidi_F10ByUDCRowChangeEvent : global::System.EventArgs { + + private stp_prtCartLiquidi_F10ByUDCRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartLiquidi_F10ByUDCRowChangeEvent(stp_prtCartLiquidi_F10ByUDCRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartLiquidi_F10ByUDCRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class stp_prtCartAnimeByUDCRowChangeEvent : global::System.EventArgs { + + private stp_prtCartAnimeByUDCRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartAnimeByUDCRowChangeEvent(stp_prtCartAnimeByUDCRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartAnimeByUDCRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + } +} +namespace GMW_data.DS_cartelliniTableAdapters { + + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class stp_prtCartByUDCTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartByUDCTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "stp_prtCartByUDC"; + tableMapping.ColumnMappings.Add("UDC", "UDC"); + tableMapping.ColumnMappings.Add("CodCS", "CodCS"); + tableMapping.ColumnMappings.Add("codcliente", "codcliente"); + tableMapping.ColumnMappings.Add("ragsociale", "ragsociale"); + tableMapping.ColumnMappings.Add("particolare", "particolare"); + tableMapping.ColumnMappings.Add("descparticolare", "descparticolare"); + tableMapping.ColumnMappings.Add("disegnogrezzo", "disegnogrezzo"); + tableMapping.ColumnMappings.Add("esponente", "esponente"); + tableMapping.ColumnMappings.Add("codimpianto", "codimpianto"); + tableMapping.ColumnMappings.Add("descimpianto", "descimpianto"); + tableMapping.ColumnMappings.Add("codstampo", "codstampo"); + tableMapping.ColumnMappings.Add("figura", "figura"); + tableMapping.ColumnMappings.Add("datafus", "datafus"); + tableMapping.ColumnMappings.Add("turnofus", "turnofus"); + tableMapping.ColumnMappings.Add("codimballo", "codimballo"); + tableMapping.ColumnMappings.Add("codsoggetto", "codsoggetto"); + tableMapping.ColumnMappings.Add("numcont", "numcont"); + tableMapping.ColumnMappings.Add("tara", "tara"); + tableMapping.ColumnMappings.Add("qta", "qta"); + tableMapping.ColumnMappings.Add("codstato", "codstato"); + tableMapping.ColumnMappings.Add("idxposizione", "idxposizione"); + tableMapping.ColumnMappings.Add("pesotot", "pesotot"); + tableMapping.ColumnMappings.Add("pesocad", "pesocad"); + tableMapping.ColumnMappings.Add("CreateDate", "CreateDate"); + tableMapping.ColumnMappings.Add("ModDate", "ModDate"); + tableMapping.ColumnMappings.Add("cognome", "cognome"); + tableMapping.ColumnMappings.Add("nome", "nome"); + tableMapping.ColumnMappings.Add("descstato", "descstato"); + tableMapping.ColumnMappings.Add("descimballo", "descimballo"); + tableMapping.ColumnMappings.Add("CodFamiglia", "CodFamiglia"); + tableMapping.ColumnMappings.Add("DescFamiglia", "DescFamiglia"); + tableMapping.ColumnMappings.Add("Note", "Note"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "dbo.stp_prtCartByUDC"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [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_prtCartByUDCDataTable dataTable, string UDC) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((UDC == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(UDC)); + } + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_cartellini.stp_prtCartByUDCDataTable GetData(string UDC) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((UDC == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(UDC)); + } + DS_cartellini.stp_prtCartByUDCDataTable dataTable = new DS_cartellini.stp_prtCartByUDCDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class stp_prtCartMatPrimaByUDCTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartMatPrimaByUDCTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "stp_prtCartMatPrimaByUDC"; + tableMapping.ColumnMappings.Add("nRapQual", "nRapQual"); + tableMapping.ColumnMappings.Add("DataRapQual", "DataRapQual"); + tableMapping.ColumnMappings.Add("ProgUDC", "ProgUDC"); + tableMapping.ColumnMappings.Add("CodFor", "CodFor"); + tableMapping.ColumnMappings.Add("DestTerz", "DestTerz"); + tableMapping.ColumnMappings.Add("CodLega", "CodLega"); + tableMapping.ColumnMappings.Add("DataPrelFus", "DataPrelFus"); + tableMapping.ColumnMappings.Add("TurnoPrelFus", "TurnoPrelFus"); + tableMapping.ColumnMappings.Add("Qta", "Qta"); + tableMapping.ColumnMappings.Add("DestLega", "DestLega"); + tableMapping.ColumnMappings.Add("LegaScaric", "LegaScaric"); + tableMapping.ColumnMappings.Add("BenesQual", "BenesQual"); + tableMapping.ColumnMappings.Add("UDC", "UDC"); + tableMapping.ColumnMappings.Add("DescFornitore", "DescFornitore"); + tableMapping.ColumnMappings.Add("DescFornitore2", "DescFornitore2"); + tableMapping.ColumnMappings.Add("CodLega2", "CodLega2"); + tableMapping.ColumnMappings.Add("DescLega", "DescLega"); + tableMapping.ColumnMappings.Add("DescLega2", "DescLega2"); + tableMapping.ColumnMappings.Add("Note", "Note"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "dbo.stp_prtCartMatPrimaByUDC"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [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_prtCartMatPrimaByUDCDataTable dataTable, string UDC) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((UDC == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(UDC)); + } + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_cartellini.stp_prtCartMatPrimaByUDCDataTable GetData(string UDC) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((UDC == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(UDC)); + } + DS_cartellini.stp_prtCartMatPrimaByUDCDataTable dataTable = new DS_cartellini.stp_prtCartMatPrimaByUDCDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class stp_prtCartLiquidi_F18ByUDCTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartLiquidi_F18ByUDCTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_F18ByUDC"; + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_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.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [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_F18ByUDCDataTable 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.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_cartellini.stp_prtCartLiquidi_F18ByUDCDataTable 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_F18ByUDCDataTable dataTable = new DS_cartellini.stp_prtCartLiquidi_F18ByUDCDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartLiquidi_F10ByUDCTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [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.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [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. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class stp_prtCartAnimeByUDCTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public stp_prtCartAnimeByUDCTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "stp_prtCartAnimeByUDC"; + tableMapping.ColumnMappings.Add("UDC", "UDC"); + tableMapping.ColumnMappings.Add("CodCS", "CodCS"); + tableMapping.ColumnMappings.Add("codcliente", "codcliente"); + tableMapping.ColumnMappings.Add("ragsociale", "ragsociale"); + tableMapping.ColumnMappings.Add("particolare", "particolare"); + tableMapping.ColumnMappings.Add("descparticolare", "descparticolare"); + tableMapping.ColumnMappings.Add("disegnogrezzo", "disegnogrezzo"); + tableMapping.ColumnMappings.Add("esponente", "esponente"); + tableMapping.ColumnMappings.Add("codimpianto", "codimpianto"); + tableMapping.ColumnMappings.Add("descimpianto", "descimpianto"); + tableMapping.ColumnMappings.Add("codstampo", "codstampo"); + tableMapping.ColumnMappings.Add("figura", "figura"); + tableMapping.ColumnMappings.Add("datafus", "datafus"); + tableMapping.ColumnMappings.Add("turnofus", "turnofus"); + tableMapping.ColumnMappings.Add("codimballo", "codimballo"); + tableMapping.ColumnMappings.Add("codsoggetto", "codsoggetto"); + tableMapping.ColumnMappings.Add("numcont", "numcont"); + tableMapping.ColumnMappings.Add("tara", "tara"); + tableMapping.ColumnMappings.Add("qta", "qta"); + tableMapping.ColumnMappings.Add("codstato", "codstato"); + tableMapping.ColumnMappings.Add("idxposizione", "idxposizione"); + tableMapping.ColumnMappings.Add("pesotot", "pesotot"); + tableMapping.ColumnMappings.Add("pesocad", "pesocad"); + tableMapping.ColumnMappings.Add("CreateDate", "CreateDate"); + tableMapping.ColumnMappings.Add("ModDate", "ModDate"); + tableMapping.ColumnMappings.Add("cognome", "cognome"); + tableMapping.ColumnMappings.Add("nome", "nome"); + tableMapping.ColumnMappings.Add("descstato", "descstato"); + tableMapping.ColumnMappings.Add("descimballo", "descimballo"); + tableMapping.ColumnMappings.Add("CodFamiglia", "CodFamiglia"); + tableMapping.ColumnMappings.Add("DescFamiglia", "DescFamiglia"); + tableMapping.ColumnMappings.Add("Note", "Note"); + tableMapping.ColumnMappings.Add("NoteTratt", "NoteTratt"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "dbo.stp_prtCartAnimeByUDC"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_cartellini.stp_prtCartAnimeByUDCDataTable dataTable, string UDC) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((UDC == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(UDC)); + } + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_cartellini.stp_prtCartAnimeByUDCDataTable GetData(string UDC) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((UDC == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(UDC)); + } + DS_cartellini.stp_prtCartAnimeByUDCDataTable dataTable = new DS_cartellini.stp_prtCartAnimeByUDCDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios + /// + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" + + "esigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")] + public partial class TableAdapterManager : global::System.ComponentModel.Component { + + private UpdateOrderOption _updateOrder; + + private bool _backupDataSetBeforeUpdate; + + private global::System.Data.IDbConnection _connection; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public UpdateOrderOption UpdateOrder { + get { + return this._updateOrder; + } + set { + this._updateOrder = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool BackupDataSetBeforeUpdate { + get { + return this._backupDataSetBeforeUpdate; + } + set { + this._backupDataSetBeforeUpdate = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public global::System.Data.IDbConnection Connection { + get { + if ((this._connection != null)) { + return this._connection; + } + return null; + } + set { + this._connection = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int TableAdapterInstanceCount { + get { + int count = 0; + return count; + } + } + + /// + ///Update rows in top-down order. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private int UpdateUpdatedRows(DS_cartellini dataSet, global::System.Collections.Generic.List allChangedRows, global::System.Collections.Generic.List allAddedRows) { + int result = 0; + return result; + } + + /// + ///Insert rows in top-down order. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private int UpdateInsertedRows(DS_cartellini dataSet, global::System.Collections.Generic.List allAddedRows) { + int result = 0; + return result; + } + + /// + ///Delete rows in bottom-up order. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private int UpdateDeletedRows(DS_cartellini dataSet, global::System.Collections.Generic.List allChangedRows) { + int result = 0; + return result; + } + + /// + ///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private global::System.Data.DataRow[] GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List allAddedRows) { + if (((updatedRows == null) + || (updatedRows.Length < 1))) { + return updatedRows; + } + if (((allAddedRows == null) + || (allAddedRows.Count < 1))) { + return updatedRows; + } + global::System.Collections.Generic.List realUpdatedRows = new global::System.Collections.Generic.List(); + for (int i = 0; (i < updatedRows.Length); i = (i + 1)) { + global::System.Data.DataRow row = updatedRows[i]; + if ((allAddedRows.Contains(row) == false)) { + realUpdatedRows.Add(row); + } + } + return realUpdatedRows.ToArray(); + } + + /// + ///Update all changes to the dataset. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public virtual int UpdateAll(DS_cartellini dataSet) { + if ((dataSet == null)) { + throw new global::System.ArgumentNullException("dataSet"); + } + if ((dataSet.HasChanges() == false)) { + return 0; + } + global::System.Data.IDbConnection workConnection = this.Connection; + if ((workConnection == null)) { + throw new global::System.ApplicationException("TableAdapterManager contains no connection information. Set each TableAdapterMana" + + "ger TableAdapter property to a valid TableAdapter instance."); + } + bool workConnOpened = false; + if (((workConnection.State & global::System.Data.ConnectionState.Broken) + == global::System.Data.ConnectionState.Broken)) { + workConnection.Close(); + } + if ((workConnection.State == global::System.Data.ConnectionState.Closed)) { + workConnection.Open(); + workConnOpened = true; + } + global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction(); + if ((workTransaction == null)) { + throw new global::System.ApplicationException("The transaction cannot begin. The current data connection does not support transa" + + "ctions or the current state is not allowing the transaction to begin."); + } + global::System.Collections.Generic.List allChangedRows = new global::System.Collections.Generic.List(); + global::System.Collections.Generic.List allAddedRows = new global::System.Collections.Generic.List(); + global::System.Collections.Generic.List adaptersWithAcceptChangesDuringUpdate = new global::System.Collections.Generic.List(); + global::System.Collections.Generic.Dictionary revertConnections = new global::System.Collections.Generic.Dictionary(); + int result = 0; + global::System.Data.DataSet backupDataSet = null; + if (this.BackupDataSetBeforeUpdate) { + backupDataSet = new global::System.Data.DataSet(); + backupDataSet.Merge(dataSet); + } + try { + // ---- Prepare for update ----------- + // + // + //---- Perform updates ----------- + // + if ((this.UpdateOrder == UpdateOrderOption.UpdateInsertDelete)) { + result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows)); + result = (result + this.UpdateInsertedRows(dataSet, allAddedRows)); + } + else { + result = (result + this.UpdateInsertedRows(dataSet, allAddedRows)); + result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows)); + } + result = (result + this.UpdateDeletedRows(dataSet, allChangedRows)); + // + //---- Commit updates ----------- + // + workTransaction.Commit(); + if ((0 < allAddedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count]; + allAddedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + } + } + if ((0 < allChangedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allChangedRows.Count]; + allChangedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + } + } + } + catch (global::System.Exception ex) { + workTransaction.Rollback(); + // ---- Restore the dataset ----------- + if (this.BackupDataSetBeforeUpdate) { + global::System.Diagnostics.Debug.Assert((backupDataSet != null)); + dataSet.Clear(); + dataSet.Merge(backupDataSet); + } + else { + if ((0 < allAddedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count]; + allAddedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + row.SetAdded(); + } + } + } + throw ex; + } + finally { + if (workConnOpened) { + workConnection.Close(); + } + if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) { + global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count]; + adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters); + for (int i = 0; (i < adapters.Length); i = (i + 1)) { + global::System.Data.Common.DataAdapter adapter = adapters[i]; + adapter.AcceptChangesDuringUpdate = true; + } + } + } + return result; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected virtual void SortSelfReferenceRows(global::System.Data.DataRow[] rows, global::System.Data.DataRelation relation, bool childFirst) { + global::System.Array.Sort(rows, new SelfReferenceComparer(relation, childFirst)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected virtual bool MatchTableAdapterConnection(global::System.Data.IDbConnection inputConnection) { + if ((this._connection != null)) { + return true; + } + if (((this.Connection == null) + || (inputConnection == null))) { + return true; + } + if (string.Equals(this.Connection.ConnectionString, inputConnection.ConnectionString, global::System.StringComparison.Ordinal)) { + return true; + } + return false; + } + + /// + ///Update Order Option + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public enum UpdateOrderOption { + + InsertUpdateDelete = 0, + + UpdateInsertDelete = 1, + } + + /// + ///Used to sort self-referenced table's rows + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private class SelfReferenceComparer : object, global::System.Collections.Generic.IComparer { + + private global::System.Data.DataRelation _relation; + + private int _childFirst; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal SelfReferenceComparer(global::System.Data.DataRelation relation, bool childFirst) { + this._relation = relation; + if (childFirst) { + this._childFirst = -1; + } + else { + this._childFirst = 1; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private global::System.Data.DataRow GetRoot(global::System.Data.DataRow row, out int distance) { + global::System.Diagnostics.Debug.Assert((row != null)); + global::System.Data.DataRow root = row; + distance = 0; + + global::System.Collections.Generic.IDictionary traversedRows = new global::System.Collections.Generic.Dictionary(); + traversedRows[row] = row; + + global::System.Data.DataRow parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default); + for ( + ; ((parent != null) + && (traversedRows.ContainsKey(parent) == false)); + ) { + distance = (distance + 1); + root = parent; + traversedRows[parent] = parent; + parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default); + } + + if ((distance == 0)) { + traversedRows.Clear(); + traversedRows[row] = row; + parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original); + for ( + ; ((parent != null) + && (traversedRows.ContainsKey(parent) == false)); + ) { + distance = (distance + 1); + root = parent; + traversedRows[parent] = parent; + parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original); + } + } + + return root; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int Compare(global::System.Data.DataRow row1, global::System.Data.DataRow row2) { + if (object.ReferenceEquals(row1, row2)) { + return 0; + } + if ((row1 == null)) { + return -1; + } + if ((row2 == null)) { + return 1; + } + + int distance1 = 0; + global::System.Data.DataRow root1 = this.GetRoot(row1, out distance1); + + int distance2 = 0; + global::System.Data.DataRow root2 = this.GetRoot(row2, out distance2); + + if (object.ReferenceEquals(root1, root2)) { + return (this._childFirst * distance1.CompareTo(distance2)); + } + else { + global::System.Diagnostics.Debug.Assert(((root1.Table != null) + && (root2.Table != null))); + if ((root1.Table.Rows.IndexOf(root1) < root2.Table.Rows.IndexOf(root2))) { + return -1; + } + else { + return 1; + } + } + } + } + } +} + +#pragma warning restore 1591 \ No newline at end of file diff --git a/GMW_data/DS_cartellini.xsc b/GMW_data/DS_cartellini.xsc new file mode 100644 index 00000000..551fc56f --- /dev/null +++ b/GMW_data/DS_cartellini.xsc @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/GMW_data/DS_cartellini.xsd b/GMW_data/DS_cartellini.xsd new file mode 100644 index 00000000..c87d8d1c --- /dev/null +++ b/GMW_data/DS_cartellini.xsd @@ -0,0 +1,1085 @@ + + + + + + + + + + + + + + + dbo.stp_prtCartByUDC + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_prtCartMatPrimaByUDC + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_prtCartLiquidi_F18ByUDC + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_prtCartLiquidi_F10ByUDC + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_prtCartAnimeByUDC + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/GMW_data/DS_cartellini.xss b/GMW_data/DS_cartellini.xss new file mode 100644 index 00000000..9668542e --- /dev/null +++ b/GMW_data/DS_cartellini.xss @@ -0,0 +1,16 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/GMW_data/DS_magazzino.Designer.cs b/GMW_data/DS_magazzino.Designer.cs new file mode 100644 index 00000000..82a2ba31 --- /dev/null +++ b/GMW_data/DS_magazzino.Designer.cs @@ -0,0 +1,30903 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.17626 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +#pragma warning disable 1591 + +namespace GMW_data { + + + /// + ///Represents a strongly typed in-memory cache of data. + /// + [global::System.Serializable()] + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")] + [global::System.Xml.Serialization.XmlRootAttribute("DS_magazzino")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")] + public partial class DS_magazzino : global::System.Data.DataSet { + + private ElencoCartelliniDataTable tableElencoCartellini; + + private AnagMagDataTable tableAnagMag; + + private PosizioneUdcCorrenteDataTable tablePosizioneUdcCorrente; + + private PosizioneUdcStoricoDataTable tablePosizioneUdcStorico; + + private BlocchiDataTable tableBlocchi; + + private CelleDataTable tableCelle; + + private TipoCellaDataTable tableTipoCella; + + private v_UdcDetailDataTable tablev_UdcDetail; + + private AnagImballiDataTable tableAnagImballi; + + private V_ParticolariOverviewDataTable tableV_ParticolariOverview; + + private V_MagazziniOverviewDataTable tableV_MagazziniOverview; + + private V_DettMagPartDataTable tableV_DettMagPart; + + private TipoListaPrelievoDataTable tableTipoListaPrelievo; + + private RigheListePrelievoDataTable tableRigheListePrelievo; + + private ElencoListePrelievoDataTable tableElencoListePrelievo; + + private v_righeListePrelievoPosizioneDataTable tablev_righeListePrelievoPosizione; + + private v_particolariEsponenteFiguraDataTable tablev_particolariEsponenteFigura; + + private AnagPosizioniDataTable tableAnagPosizioni; + + private V_statoCelleCapienzaAssegnatiDataTable tableV_statoCelleCapienzaAssegnati; + + private V_MagazziniLogiciOverviewDataTable tableV_MagazziniLogiciOverview; + + private RapQualDataTable tableRapQual; + + private v_posizioniDelibereDataTable tablev_posizioniDelibere; + + private v_RapQualSuntoDataTable tablev_RapQualSunto; + + private AnagParticolariDataTable tableAnagParticolari; + + private AnagLegheDataTable tableAnagLeghe; + + private global::System.Data.DataRelation relationFK_PosizioneUdcCorrente_ElencoCartellini; + + private global::System.Data.DataRelation relationFK_PosizioneUdcStorico_ElencoCartellini; + + private global::System.Data.DataRelation relationFK_Blocchi_AnagMag; + + private global::System.Data.DataRelation relationFK_PosizioneUdcCorrente_Celle; + + private global::System.Data.DataRelation relationFK_Celle_Blocchi1; + + private global::System.Data.DataRelation relationFK_TipoCella_AnagMag; + + private global::System.Data.DataRelation relationFK_RigheListePrelievo_ElencoCartellini; + + private global::System.Data.DataRelation relationFK_RigheListePrelievo_ElencoListePrelievo11; + + private global::System.Data.DataRelation relationFK_ElencoListePrelievo_TipoListaPrelievo11; + + private global::System.Data.DataRelation relationFK_ElencoCartellini_AnagPosizioni; + + private global::System.Data.DataRelation relationFK_Celle_TipoCella; + + private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public DS_magazzino() { + this.BeginInit(); + this.InitClass(); + global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); + base.Tables.CollectionChanged += schemaChangedHandler; + base.Relations.CollectionChanged += schemaChangedHandler; + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected DS_magazzino(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context, false) { + if ((this.IsBinarySerialized(info, context) == true)) { + this.InitVars(false); + global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); + this.Tables.CollectionChanged += schemaChangedHandler1; + this.Relations.CollectionChanged += schemaChangedHandler1; + return; + } + string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string)))); + if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { + global::System.Data.DataSet ds = new global::System.Data.DataSet(); + ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); + if ((ds.Tables["ElencoCartellini"] != null)) { + base.Tables.Add(new ElencoCartelliniDataTable(ds.Tables["ElencoCartellini"])); + } + if ((ds.Tables["AnagMag"] != null)) { + base.Tables.Add(new AnagMagDataTable(ds.Tables["AnagMag"])); + } + if ((ds.Tables["PosizioneUdcCorrente"] != null)) { + base.Tables.Add(new PosizioneUdcCorrenteDataTable(ds.Tables["PosizioneUdcCorrente"])); + } + if ((ds.Tables["PosizioneUdcStorico"] != null)) { + base.Tables.Add(new PosizioneUdcStoricoDataTable(ds.Tables["PosizioneUdcStorico"])); + } + if ((ds.Tables["Blocchi"] != null)) { + base.Tables.Add(new BlocchiDataTable(ds.Tables["Blocchi"])); + } + if ((ds.Tables["Celle"] != null)) { + base.Tables.Add(new CelleDataTable(ds.Tables["Celle"])); + } + if ((ds.Tables["TipoCella"] != null)) { + base.Tables.Add(new TipoCellaDataTable(ds.Tables["TipoCella"])); + } + if ((ds.Tables["v_UdcDetail"] != null)) { + base.Tables.Add(new v_UdcDetailDataTable(ds.Tables["v_UdcDetail"])); + } + if ((ds.Tables["AnagImballi"] != null)) { + base.Tables.Add(new AnagImballiDataTable(ds.Tables["AnagImballi"])); + } + if ((ds.Tables["V_ParticolariOverview"] != null)) { + base.Tables.Add(new V_ParticolariOverviewDataTable(ds.Tables["V_ParticolariOverview"])); + } + if ((ds.Tables["V_MagazziniOverview"] != null)) { + base.Tables.Add(new V_MagazziniOverviewDataTable(ds.Tables["V_MagazziniOverview"])); + } + if ((ds.Tables["V_DettMagPart"] != null)) { + base.Tables.Add(new V_DettMagPartDataTable(ds.Tables["V_DettMagPart"])); + } + if ((ds.Tables["TipoListaPrelievo"] != null)) { + base.Tables.Add(new TipoListaPrelievoDataTable(ds.Tables["TipoListaPrelievo"])); + } + if ((ds.Tables["RigheListePrelievo"] != null)) { + base.Tables.Add(new RigheListePrelievoDataTable(ds.Tables["RigheListePrelievo"])); + } + if ((ds.Tables["ElencoListePrelievo"] != null)) { + base.Tables.Add(new ElencoListePrelievoDataTable(ds.Tables["ElencoListePrelievo"])); + } + if ((ds.Tables["v_righeListePrelievoPosizione"] != null)) { + base.Tables.Add(new v_righeListePrelievoPosizioneDataTable(ds.Tables["v_righeListePrelievoPosizione"])); + } + if ((ds.Tables["v_particolariEsponenteFigura"] != null)) { + base.Tables.Add(new v_particolariEsponenteFiguraDataTable(ds.Tables["v_particolariEsponenteFigura"])); + } + if ((ds.Tables["AnagPosizioni"] != null)) { + base.Tables.Add(new AnagPosizioniDataTable(ds.Tables["AnagPosizioni"])); + } + if ((ds.Tables["V_statoCelleCapienzaAssegnati"] != null)) { + base.Tables.Add(new V_statoCelleCapienzaAssegnatiDataTable(ds.Tables["V_statoCelleCapienzaAssegnati"])); + } + if ((ds.Tables["V_MagazziniLogiciOverview"] != null)) { + base.Tables.Add(new V_MagazziniLogiciOverviewDataTable(ds.Tables["V_MagazziniLogiciOverview"])); + } + if ((ds.Tables["RapQual"] != null)) { + base.Tables.Add(new RapQualDataTable(ds.Tables["RapQual"])); + } + if ((ds.Tables["v_posizioniDelibere"] != null)) { + base.Tables.Add(new v_posizioniDelibereDataTable(ds.Tables["v_posizioniDelibere"])); + } + if ((ds.Tables["v_RapQualSunto"] != null)) { + base.Tables.Add(new v_RapQualSuntoDataTable(ds.Tables["v_RapQualSunto"])); + } + if ((ds.Tables["AnagParticolari"] != null)) { + base.Tables.Add(new AnagParticolariDataTable(ds.Tables["AnagParticolari"])); + } + if ((ds.Tables["AnagLeghe"] != null)) { + base.Tables.Add(new AnagLegheDataTable(ds.Tables["AnagLeghe"])); + } + this.DataSetName = ds.DataSetName; + this.Prefix = ds.Prefix; + this.Namespace = ds.Namespace; + this.Locale = ds.Locale; + this.CaseSensitive = ds.CaseSensitive; + this.EnforceConstraints = ds.EnforceConstraints; + this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add); + this.InitVars(); + } + else { + this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); + } + this.GetSerializationData(info, context); + global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); + base.Tables.CollectionChanged += schemaChangedHandler; + this.Relations.CollectionChanged += schemaChangedHandler; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public ElencoCartelliniDataTable ElencoCartellini { + get { + return this.tableElencoCartellini; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public AnagMagDataTable AnagMag { + get { + return this.tableAnagMag; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public PosizioneUdcCorrenteDataTable PosizioneUdcCorrente { + get { + return this.tablePosizioneUdcCorrente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public PosizioneUdcStoricoDataTable PosizioneUdcStorico { + get { + return this.tablePosizioneUdcStorico; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public BlocchiDataTable Blocchi { + get { + return this.tableBlocchi; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public CelleDataTable Celle { + get { + return this.tableCelle; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public TipoCellaDataTable TipoCella { + get { + return this.tableTipoCella; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_UdcDetailDataTable v_UdcDetail { + get { + return this.tablev_UdcDetail; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public AnagImballiDataTable AnagImballi { + get { + return this.tableAnagImballi; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public V_ParticolariOverviewDataTable V_ParticolariOverview { + get { + return this.tableV_ParticolariOverview; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public V_MagazziniOverviewDataTable V_MagazziniOverview { + get { + return this.tableV_MagazziniOverview; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public V_DettMagPartDataTable V_DettMagPart { + get { + return this.tableV_DettMagPart; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public TipoListaPrelievoDataTable TipoListaPrelievo { + get { + return this.tableTipoListaPrelievo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public RigheListePrelievoDataTable RigheListePrelievo { + get { + return this.tableRigheListePrelievo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public ElencoListePrelievoDataTable ElencoListePrelievo { + get { + return this.tableElencoListePrelievo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_righeListePrelievoPosizioneDataTable v_righeListePrelievoPosizione { + get { + return this.tablev_righeListePrelievoPosizione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_particolariEsponenteFiguraDataTable v_particolariEsponenteFigura { + get { + return this.tablev_particolariEsponenteFigura; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public AnagPosizioniDataTable AnagPosizioni { + get { + return this.tableAnagPosizioni; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public V_statoCelleCapienzaAssegnatiDataTable V_statoCelleCapienzaAssegnati { + get { + return this.tableV_statoCelleCapienzaAssegnati; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public V_MagazziniLogiciOverviewDataTable V_MagazziniLogiciOverview { + get { + return this.tableV_MagazziniLogiciOverview; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public RapQualDataTable RapQual { + get { + return this.tableRapQual; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_posizioniDelibereDataTable v_posizioniDelibere { + get { + return this.tablev_posizioniDelibere; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_RapQualSuntoDataTable v_RapQualSunto { + get { + return this.tablev_RapQualSunto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public AnagParticolariDataTable AnagParticolari { + get { + return this.tableAnagParticolari; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public AnagLegheDataTable AnagLeghe { + get { + return this.tableAnagLeghe; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.BrowsableAttribute(true)] + [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)] + public override global::System.Data.SchemaSerializationMode SchemaSerializationMode { + get { + return this._schemaSerializationMode; + } + set { + this._schemaSerializationMode = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public new global::System.Data.DataTableCollection Tables { + get { + return base.Tables; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public new global::System.Data.DataRelationCollection Relations { + get { + return base.Relations; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void InitializeDerivedDataSet() { + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataSet Clone() { + DS_magazzino cln = ((DS_magazzino)(base.Clone())); + cln.InitVars(); + cln.SchemaSerializationMode = this.SchemaSerializationMode; + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override bool ShouldSerializeTables() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override bool ShouldSerializeRelations() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) { + if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { + this.Reset(); + global::System.Data.DataSet ds = new global::System.Data.DataSet(); + ds.ReadXml(reader); + if ((ds.Tables["ElencoCartellini"] != null)) { + base.Tables.Add(new ElencoCartelliniDataTable(ds.Tables["ElencoCartellini"])); + } + if ((ds.Tables["AnagMag"] != null)) { + base.Tables.Add(new AnagMagDataTable(ds.Tables["AnagMag"])); + } + if ((ds.Tables["PosizioneUdcCorrente"] != null)) { + base.Tables.Add(new PosizioneUdcCorrenteDataTable(ds.Tables["PosizioneUdcCorrente"])); + } + if ((ds.Tables["PosizioneUdcStorico"] != null)) { + base.Tables.Add(new PosizioneUdcStoricoDataTable(ds.Tables["PosizioneUdcStorico"])); + } + if ((ds.Tables["Blocchi"] != null)) { + base.Tables.Add(new BlocchiDataTable(ds.Tables["Blocchi"])); + } + if ((ds.Tables["Celle"] != null)) { + base.Tables.Add(new CelleDataTable(ds.Tables["Celle"])); + } + if ((ds.Tables["TipoCella"] != null)) { + base.Tables.Add(new TipoCellaDataTable(ds.Tables["TipoCella"])); + } + if ((ds.Tables["v_UdcDetail"] != null)) { + base.Tables.Add(new v_UdcDetailDataTable(ds.Tables["v_UdcDetail"])); + } + if ((ds.Tables["AnagImballi"] != null)) { + base.Tables.Add(new AnagImballiDataTable(ds.Tables["AnagImballi"])); + } + if ((ds.Tables["V_ParticolariOverview"] != null)) { + base.Tables.Add(new V_ParticolariOverviewDataTable(ds.Tables["V_ParticolariOverview"])); + } + if ((ds.Tables["V_MagazziniOverview"] != null)) { + base.Tables.Add(new V_MagazziniOverviewDataTable(ds.Tables["V_MagazziniOverview"])); + } + if ((ds.Tables["V_DettMagPart"] != null)) { + base.Tables.Add(new V_DettMagPartDataTable(ds.Tables["V_DettMagPart"])); + } + if ((ds.Tables["TipoListaPrelievo"] != null)) { + base.Tables.Add(new TipoListaPrelievoDataTable(ds.Tables["TipoListaPrelievo"])); + } + if ((ds.Tables["RigheListePrelievo"] != null)) { + base.Tables.Add(new RigheListePrelievoDataTable(ds.Tables["RigheListePrelievo"])); + } + if ((ds.Tables["ElencoListePrelievo"] != null)) { + base.Tables.Add(new ElencoListePrelievoDataTable(ds.Tables["ElencoListePrelievo"])); + } + if ((ds.Tables["v_righeListePrelievoPosizione"] != null)) { + base.Tables.Add(new v_righeListePrelievoPosizioneDataTable(ds.Tables["v_righeListePrelievoPosizione"])); + } + if ((ds.Tables["v_particolariEsponenteFigura"] != null)) { + base.Tables.Add(new v_particolariEsponenteFiguraDataTable(ds.Tables["v_particolariEsponenteFigura"])); + } + if ((ds.Tables["AnagPosizioni"] != null)) { + base.Tables.Add(new AnagPosizioniDataTable(ds.Tables["AnagPosizioni"])); + } + if ((ds.Tables["V_statoCelleCapienzaAssegnati"] != null)) { + base.Tables.Add(new V_statoCelleCapienzaAssegnatiDataTable(ds.Tables["V_statoCelleCapienzaAssegnati"])); + } + if ((ds.Tables["V_MagazziniLogiciOverview"] != null)) { + base.Tables.Add(new V_MagazziniLogiciOverviewDataTable(ds.Tables["V_MagazziniLogiciOverview"])); + } + if ((ds.Tables["RapQual"] != null)) { + base.Tables.Add(new RapQualDataTable(ds.Tables["RapQual"])); + } + if ((ds.Tables["v_posizioniDelibere"] != null)) { + base.Tables.Add(new v_posizioniDelibereDataTable(ds.Tables["v_posizioniDelibere"])); + } + if ((ds.Tables["v_RapQualSunto"] != null)) { + base.Tables.Add(new v_RapQualSuntoDataTable(ds.Tables["v_RapQualSunto"])); + } + if ((ds.Tables["AnagParticolari"] != null)) { + base.Tables.Add(new AnagParticolariDataTable(ds.Tables["AnagParticolari"])); + } + if ((ds.Tables["AnagLeghe"] != null)) { + base.Tables.Add(new AnagLegheDataTable(ds.Tables["AnagLeghe"])); + } + this.DataSetName = ds.DataSetName; + this.Prefix = ds.Prefix; + this.Namespace = ds.Namespace; + this.Locale = ds.Locale; + this.CaseSensitive = ds.CaseSensitive; + this.EnforceConstraints = ds.EnforceConstraints; + this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add); + this.InitVars(); + } + else { + this.ReadXml(reader); + this.InitVars(); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() { + global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream(); + this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null)); + stream.Position = 0; + return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.InitVars(true); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars(bool initTable) { + this.tableElencoCartellini = ((ElencoCartelliniDataTable)(base.Tables["ElencoCartellini"])); + if ((initTable == true)) { + if ((this.tableElencoCartellini != null)) { + this.tableElencoCartellini.InitVars(); + } + } + this.tableAnagMag = ((AnagMagDataTable)(base.Tables["AnagMag"])); + if ((initTable == true)) { + if ((this.tableAnagMag != null)) { + this.tableAnagMag.InitVars(); + } + } + this.tablePosizioneUdcCorrente = ((PosizioneUdcCorrenteDataTable)(base.Tables["PosizioneUdcCorrente"])); + if ((initTable == true)) { + if ((this.tablePosizioneUdcCorrente != null)) { + this.tablePosizioneUdcCorrente.InitVars(); + } + } + this.tablePosizioneUdcStorico = ((PosizioneUdcStoricoDataTable)(base.Tables["PosizioneUdcStorico"])); + if ((initTable == true)) { + if ((this.tablePosizioneUdcStorico != null)) { + this.tablePosizioneUdcStorico.InitVars(); + } + } + this.tableBlocchi = ((BlocchiDataTable)(base.Tables["Blocchi"])); + if ((initTable == true)) { + if ((this.tableBlocchi != null)) { + this.tableBlocchi.InitVars(); + } + } + this.tableCelle = ((CelleDataTable)(base.Tables["Celle"])); + if ((initTable == true)) { + if ((this.tableCelle != null)) { + this.tableCelle.InitVars(); + } + } + this.tableTipoCella = ((TipoCellaDataTable)(base.Tables["TipoCella"])); + if ((initTable == true)) { + if ((this.tableTipoCella != null)) { + this.tableTipoCella.InitVars(); + } + } + this.tablev_UdcDetail = ((v_UdcDetailDataTable)(base.Tables["v_UdcDetail"])); + if ((initTable == true)) { + if ((this.tablev_UdcDetail != null)) { + this.tablev_UdcDetail.InitVars(); + } + } + this.tableAnagImballi = ((AnagImballiDataTable)(base.Tables["AnagImballi"])); + if ((initTable == true)) { + if ((this.tableAnagImballi != null)) { + this.tableAnagImballi.InitVars(); + } + } + this.tableV_ParticolariOverview = ((V_ParticolariOverviewDataTable)(base.Tables["V_ParticolariOverview"])); + if ((initTable == true)) { + if ((this.tableV_ParticolariOverview != null)) { + this.tableV_ParticolariOverview.InitVars(); + } + } + this.tableV_MagazziniOverview = ((V_MagazziniOverviewDataTable)(base.Tables["V_MagazziniOverview"])); + if ((initTable == true)) { + if ((this.tableV_MagazziniOverview != null)) { + this.tableV_MagazziniOverview.InitVars(); + } + } + this.tableV_DettMagPart = ((V_DettMagPartDataTable)(base.Tables["V_DettMagPart"])); + if ((initTable == true)) { + if ((this.tableV_DettMagPart != null)) { + this.tableV_DettMagPart.InitVars(); + } + } + this.tableTipoListaPrelievo = ((TipoListaPrelievoDataTable)(base.Tables["TipoListaPrelievo"])); + if ((initTable == true)) { + if ((this.tableTipoListaPrelievo != null)) { + this.tableTipoListaPrelievo.InitVars(); + } + } + this.tableRigheListePrelievo = ((RigheListePrelievoDataTable)(base.Tables["RigheListePrelievo"])); + if ((initTable == true)) { + if ((this.tableRigheListePrelievo != null)) { + this.tableRigheListePrelievo.InitVars(); + } + } + this.tableElencoListePrelievo = ((ElencoListePrelievoDataTable)(base.Tables["ElencoListePrelievo"])); + if ((initTable == true)) { + if ((this.tableElencoListePrelievo != null)) { + this.tableElencoListePrelievo.InitVars(); + } + } + this.tablev_righeListePrelievoPosizione = ((v_righeListePrelievoPosizioneDataTable)(base.Tables["v_righeListePrelievoPosizione"])); + if ((initTable == true)) { + if ((this.tablev_righeListePrelievoPosizione != null)) { + this.tablev_righeListePrelievoPosizione.InitVars(); + } + } + this.tablev_particolariEsponenteFigura = ((v_particolariEsponenteFiguraDataTable)(base.Tables["v_particolariEsponenteFigura"])); + if ((initTable == true)) { + if ((this.tablev_particolariEsponenteFigura != null)) { + this.tablev_particolariEsponenteFigura.InitVars(); + } + } + this.tableAnagPosizioni = ((AnagPosizioniDataTable)(base.Tables["AnagPosizioni"])); + if ((initTable == true)) { + if ((this.tableAnagPosizioni != null)) { + this.tableAnagPosizioni.InitVars(); + } + } + this.tableV_statoCelleCapienzaAssegnati = ((V_statoCelleCapienzaAssegnatiDataTable)(base.Tables["V_statoCelleCapienzaAssegnati"])); + if ((initTable == true)) { + if ((this.tableV_statoCelleCapienzaAssegnati != null)) { + this.tableV_statoCelleCapienzaAssegnati.InitVars(); + } + } + this.tableV_MagazziniLogiciOverview = ((V_MagazziniLogiciOverviewDataTable)(base.Tables["V_MagazziniLogiciOverview"])); + if ((initTable == true)) { + if ((this.tableV_MagazziniLogiciOverview != null)) { + this.tableV_MagazziniLogiciOverview.InitVars(); + } + } + this.tableRapQual = ((RapQualDataTable)(base.Tables["RapQual"])); + if ((initTable == true)) { + if ((this.tableRapQual != null)) { + this.tableRapQual.InitVars(); + } + } + this.tablev_posizioniDelibere = ((v_posizioniDelibereDataTable)(base.Tables["v_posizioniDelibere"])); + if ((initTable == true)) { + if ((this.tablev_posizioniDelibere != null)) { + this.tablev_posizioniDelibere.InitVars(); + } + } + this.tablev_RapQualSunto = ((v_RapQualSuntoDataTable)(base.Tables["v_RapQualSunto"])); + if ((initTable == true)) { + if ((this.tablev_RapQualSunto != null)) { + this.tablev_RapQualSunto.InitVars(); + } + } + this.tableAnagParticolari = ((AnagParticolariDataTable)(base.Tables["AnagParticolari"])); + if ((initTable == true)) { + if ((this.tableAnagParticolari != null)) { + this.tableAnagParticolari.InitVars(); + } + } + this.tableAnagLeghe = ((AnagLegheDataTable)(base.Tables["AnagLeghe"])); + if ((initTable == true)) { + if ((this.tableAnagLeghe != null)) { + this.tableAnagLeghe.InitVars(); + } + } + this.relationFK_PosizioneUdcCorrente_ElencoCartellini = this.Relations["FK_PosizioneUdcCorrente_ElencoCartellini"]; + this.relationFK_PosizioneUdcStorico_ElencoCartellini = this.Relations["FK_PosizioneUdcStorico_ElencoCartellini"]; + this.relationFK_Blocchi_AnagMag = this.Relations["FK_Blocchi_AnagMag"]; + this.relationFK_PosizioneUdcCorrente_Celle = this.Relations["FK_PosizioneUdcCorrente_Celle"]; + this.relationFK_Celle_Blocchi1 = this.Relations["FK_Celle_Blocchi1"]; + this.relationFK_TipoCella_AnagMag = this.Relations["FK_TipoCella_AnagMag"]; + this.relationFK_RigheListePrelievo_ElencoCartellini = this.Relations["FK_RigheListePrelievo_ElencoCartellini"]; + this.relationFK_RigheListePrelievo_ElencoListePrelievo11 = this.Relations["FK_RigheListePrelievo_ElencoListePrelievo11"]; + this.relationFK_ElencoListePrelievo_TipoListaPrelievo11 = this.Relations["FK_ElencoListePrelievo_TipoListaPrelievo11"]; + this.relationFK_ElencoCartellini_AnagPosizioni = this.Relations["FK_ElencoCartellini_AnagPosizioni"]; + this.relationFK_Celle_TipoCella = this.Relations["FK_Celle_TipoCella"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.DataSetName = "DS_magazzino"; + this.Prefix = ""; + this.Namespace = "http://tempuri.org/DS_magazzino.xsd"; + this.EnforceConstraints = true; + this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; + this.tableElencoCartellini = new ElencoCartelliniDataTable(); + base.Tables.Add(this.tableElencoCartellini); + this.tableAnagMag = new AnagMagDataTable(); + base.Tables.Add(this.tableAnagMag); + this.tablePosizioneUdcCorrente = new PosizioneUdcCorrenteDataTable(); + base.Tables.Add(this.tablePosizioneUdcCorrente); + this.tablePosizioneUdcStorico = new PosizioneUdcStoricoDataTable(); + base.Tables.Add(this.tablePosizioneUdcStorico); + this.tableBlocchi = new BlocchiDataTable(); + base.Tables.Add(this.tableBlocchi); + this.tableCelle = new CelleDataTable(); + base.Tables.Add(this.tableCelle); + this.tableTipoCella = new TipoCellaDataTable(); + base.Tables.Add(this.tableTipoCella); + this.tablev_UdcDetail = new v_UdcDetailDataTable(); + base.Tables.Add(this.tablev_UdcDetail); + this.tableAnagImballi = new AnagImballiDataTable(); + base.Tables.Add(this.tableAnagImballi); + this.tableV_ParticolariOverview = new V_ParticolariOverviewDataTable(); + base.Tables.Add(this.tableV_ParticolariOverview); + this.tableV_MagazziniOverview = new V_MagazziniOverviewDataTable(); + base.Tables.Add(this.tableV_MagazziniOverview); + this.tableV_DettMagPart = new V_DettMagPartDataTable(); + base.Tables.Add(this.tableV_DettMagPart); + this.tableTipoListaPrelievo = new TipoListaPrelievoDataTable(); + base.Tables.Add(this.tableTipoListaPrelievo); + this.tableRigheListePrelievo = new RigheListePrelievoDataTable(); + base.Tables.Add(this.tableRigheListePrelievo); + this.tableElencoListePrelievo = new ElencoListePrelievoDataTable(); + base.Tables.Add(this.tableElencoListePrelievo); + this.tablev_righeListePrelievoPosizione = new v_righeListePrelievoPosizioneDataTable(); + base.Tables.Add(this.tablev_righeListePrelievoPosizione); + this.tablev_particolariEsponenteFigura = new v_particolariEsponenteFiguraDataTable(); + base.Tables.Add(this.tablev_particolariEsponenteFigura); + this.tableAnagPosizioni = new AnagPosizioniDataTable(); + base.Tables.Add(this.tableAnagPosizioni); + this.tableV_statoCelleCapienzaAssegnati = new V_statoCelleCapienzaAssegnatiDataTable(); + base.Tables.Add(this.tableV_statoCelleCapienzaAssegnati); + this.tableV_MagazziniLogiciOverview = new V_MagazziniLogiciOverviewDataTable(); + base.Tables.Add(this.tableV_MagazziniLogiciOverview); + this.tableRapQual = new RapQualDataTable(); + base.Tables.Add(this.tableRapQual); + this.tablev_posizioniDelibere = new v_posizioniDelibereDataTable(); + base.Tables.Add(this.tablev_posizioniDelibere); + this.tablev_RapQualSunto = new v_RapQualSuntoDataTable(); + base.Tables.Add(this.tablev_RapQualSunto); + this.tableAnagParticolari = new AnagParticolariDataTable(); + base.Tables.Add(this.tableAnagParticolari); + this.tableAnagLeghe = new AnagLegheDataTable(); + base.Tables.Add(this.tableAnagLeghe); + this.relationFK_PosizioneUdcCorrente_ElencoCartellini = new global::System.Data.DataRelation("FK_PosizioneUdcCorrente_ElencoCartellini", new global::System.Data.DataColumn[] { + this.tableElencoCartellini.UDCColumn}, new global::System.Data.DataColumn[] { + this.tablePosizioneUdcCorrente.UDCColumn}, false); + this.Relations.Add(this.relationFK_PosizioneUdcCorrente_ElencoCartellini); + this.relationFK_PosizioneUdcStorico_ElencoCartellini = new global::System.Data.DataRelation("FK_PosizioneUdcStorico_ElencoCartellini", new global::System.Data.DataColumn[] { + this.tableElencoCartellini.UDCColumn}, new global::System.Data.DataColumn[] { + this.tablePosizioneUdcStorico.UDCColumn}, false); + this.Relations.Add(this.relationFK_PosizioneUdcStorico_ElencoCartellini); + this.relationFK_Blocchi_AnagMag = new global::System.Data.DataRelation("FK_Blocchi_AnagMag", new global::System.Data.DataColumn[] { + this.tableAnagMag.CodMagColumn, + this.tableAnagMag.CodCSColumn}, new global::System.Data.DataColumn[] { + this.tableBlocchi.CodMagColumn, + this.tableBlocchi.CodCSColumn}, false); + this.Relations.Add(this.relationFK_Blocchi_AnagMag); + this.relationFK_PosizioneUdcCorrente_Celle = new global::System.Data.DataRelation("FK_PosizioneUdcCorrente_Celle", new global::System.Data.DataColumn[] { + this.tableCelle.IdxCellaColumn}, new global::System.Data.DataColumn[] { + this.tablePosizioneUdcCorrente.IdxCellaColumn}, false); + this.Relations.Add(this.relationFK_PosizioneUdcCorrente_Celle); + this.relationFK_Celle_Blocchi1 = new global::System.Data.DataRelation("FK_Celle_Blocchi1", new global::System.Data.DataColumn[] { + this.tableBlocchi.IdxBloccoColumn}, new global::System.Data.DataColumn[] { + this.tableCelle.IdxBloccoColumn}, false); + this.Relations.Add(this.relationFK_Celle_Blocchi1); + this.relationFK_TipoCella_AnagMag = new global::System.Data.DataRelation("FK_TipoCella_AnagMag", new global::System.Data.DataColumn[] { + this.tableAnagMag.CodMagColumn, + this.tableAnagMag.CodCSColumn}, new global::System.Data.DataColumn[] { + this.tableTipoCella.CodMagColumn, + this.tableTipoCella.CodCSColumn}, false); + this.Relations.Add(this.relationFK_TipoCella_AnagMag); + this.relationFK_RigheListePrelievo_ElencoCartellini = new global::System.Data.DataRelation("FK_RigheListePrelievo_ElencoCartellini", new global::System.Data.DataColumn[] { + this.tableElencoCartellini.UDCColumn}, new global::System.Data.DataColumn[] { + this.tableRigheListePrelievo.UDCColumn}, false); + this.Relations.Add(this.relationFK_RigheListePrelievo_ElencoCartellini); + this.relationFK_RigheListePrelievo_ElencoListePrelievo11 = new global::System.Data.DataRelation("FK_RigheListePrelievo_ElencoListePrelievo11", new global::System.Data.DataColumn[] { + this.tableElencoListePrelievo.CodListaColumn}, new global::System.Data.DataColumn[] { + this.tableRigheListePrelievo.CodListaColumn}, false); + this.Relations.Add(this.relationFK_RigheListePrelievo_ElencoListePrelievo11); + this.relationFK_ElencoListePrelievo_TipoListaPrelievo11 = new global::System.Data.DataRelation("FK_ElencoListePrelievo_TipoListaPrelievo11", new global::System.Data.DataColumn[] { + this.tableTipoListaPrelievo.CodTipoListaColumn}, new global::System.Data.DataColumn[] { + this.tableElencoListePrelievo.CodTipoListaColumn}, false); + this.Relations.Add(this.relationFK_ElencoListePrelievo_TipoListaPrelievo11); + this.relationFK_ElencoCartellini_AnagPosizioni = new global::System.Data.DataRelation("FK_ElencoCartellini_AnagPosizioni", new global::System.Data.DataColumn[] { + this.tableAnagPosizioni.IdxPosizioneColumn}, new global::System.Data.DataColumn[] { + this.tableElencoCartellini.IdxPosizioneColumn}, false); + this.Relations.Add(this.relationFK_ElencoCartellini_AnagPosizioni); + this.relationFK_Celle_TipoCella = new global::System.Data.DataRelation("FK_Celle_TipoCella", new global::System.Data.DataColumn[] { + this.tableTipoCella.IdxTipoCellaColumn}, new global::System.Data.DataColumn[] { + this.tableCelle.IdxTipoCellaColumn}, false); + this.Relations.Add(this.relationFK_Celle_TipoCella); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeElencoCartellini() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeAnagMag() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializePosizioneUdcCorrente() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializePosizioneUdcStorico() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeBlocchi() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeCelle() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeTipoCella() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializev_UdcDetail() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeAnagImballi() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeV_ParticolariOverview() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeV_MagazziniOverview() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeV_DettMagPart() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeTipoListaPrelievo() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeRigheListePrelievo() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeElencoListePrelievo() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializev_righeListePrelievoPosizione() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializev_particolariEsponenteFigura() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeAnagPosizioni() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeV_statoCelleCapienzaAssegnati() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeV_MagazziniLogiciOverview() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeRapQual() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializev_posizioniDelibere() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializev_RapQualSunto() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeAnagParticolari() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeAnagLeghe() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { + if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) { + this.InitVars(); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + DS_magazzino ds = new DS_magazzino(); + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny(); + any.Namespace = ds.Namespace; + sequence.Items.Add(any); + 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; + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void ElencoCartelliniRowChangeEventHandler(object sender, ElencoCartelliniRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void AnagMagRowChangeEventHandler(object sender, AnagMagRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void PosizioneUdcCorrenteRowChangeEventHandler(object sender, PosizioneUdcCorrenteRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void PosizioneUdcStoricoRowChangeEventHandler(object sender, PosizioneUdcStoricoRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void BlocchiRowChangeEventHandler(object sender, BlocchiRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void CelleRowChangeEventHandler(object sender, CelleRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void TipoCellaRowChangeEventHandler(object sender, TipoCellaRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void v_UdcDetailRowChangeEventHandler(object sender, v_UdcDetailRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void AnagImballiRowChangeEventHandler(object sender, AnagImballiRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void V_ParticolariOverviewRowChangeEventHandler(object sender, V_ParticolariOverviewRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void V_MagazziniOverviewRowChangeEventHandler(object sender, V_MagazziniOverviewRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void V_DettMagPartRowChangeEventHandler(object sender, V_DettMagPartRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void TipoListaPrelievoRowChangeEventHandler(object sender, TipoListaPrelievoRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void RigheListePrelievoRowChangeEventHandler(object sender, RigheListePrelievoRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void ElencoListePrelievoRowChangeEventHandler(object sender, ElencoListePrelievoRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void v_righeListePrelievoPosizioneRowChangeEventHandler(object sender, v_righeListePrelievoPosizioneRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void v_particolariEsponenteFiguraRowChangeEventHandler(object sender, v_particolariEsponenteFiguraRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void AnagPosizioniRowChangeEventHandler(object sender, AnagPosizioniRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void V_statoCelleCapienzaAssegnatiRowChangeEventHandler(object sender, V_statoCelleCapienzaAssegnatiRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void V_MagazziniLogiciOverviewRowChangeEventHandler(object sender, V_MagazziniLogiciOverviewRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void RapQualRowChangeEventHandler(object sender, RapQualRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void v_posizioniDelibereRowChangeEventHandler(object sender, v_posizioniDelibereRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void v_RapQualSuntoRowChangeEventHandler(object sender, v_RapQualSuntoRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void AnagParticolariRowChangeEventHandler(object sender, AnagParticolariRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void AnagLegheRowChangeEventHandler(object sender, AnagLegheRowChangeEvent e); + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class ElencoCartelliniDataTable : 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 columnNote; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoCartelliniDataTable() { + this.TableName = "ElencoCartellini"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal ElencoCartelliniDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected ElencoCartelliniDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn UDCColumn { + get { + return this.columnUDC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodCSColumn { + get { + return this.columnCodCS; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodClienteColumn { + get { + return this.columnCodCliente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn RagSocialeColumn { + get { + return this.columnRagSociale; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ParticolareColumn { + get { + return this.columnParticolare; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescParticolareColumn { + get { + return this.columnDescParticolare; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DisegnoGrezzoColumn { + get { + return this.columnDisegnoGrezzo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn EsponenteColumn { + get { + return this.columnEsponente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodImpiantoColumn { + get { + return this.columnCodImpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescImpiantoColumn { + get { + return this.columnDescImpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodStampoColumn { + get { + return this.columnCodStampo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn FiguraColumn { + get { + return this.columnFigura; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DataFusColumn { + get { + return this.columnDataFus; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn TurnoFusColumn { + get { + return this.columnTurnoFus; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodImballoColumn { + get { + return this.columnCodImballo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodSoggettoColumn { + get { + return this.columnCodSoggetto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NumContColumn { + get { + return this.columnNumCont; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn TaraColumn { + get { + return this.columnTara; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn QtaColumn { + get { + return this.columnQta; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodStatoColumn { + get { + return this.columnCodStato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn IdxPosizioneColumn { + get { + return this.columnIdxPosizione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn PesoTotColumn { + get { + return this.columnPesoTot; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn PesoCadColumn { + get { + return this.columnPesoCad; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CreateDateColumn { + get { + return this.columnCreateDate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ModDateColumn { + get { + return this.columnModDate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NoteColumn { + get { + return this.columnNote; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoCartelliniRow this[int index] { + get { + return ((ElencoCartelliniRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event ElencoCartelliniRowChangeEventHandler ElencoCartelliniRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event ElencoCartelliniRowChangeEventHandler ElencoCartelliniRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event ElencoCartelliniRowChangeEventHandler ElencoCartelliniRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event ElencoCartelliniRowChangeEventHandler ElencoCartelliniRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddElencoCartelliniRow(ElencoCartelliniRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoCartelliniRow AddElencoCartelliniRow( + 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, + AnagPosizioniRow parentAnagPosizioniRowByFK_ElencoCartellini_AnagPosizioni, + double PesoTot, + double PesoCad, + System.DateTime CreateDate, + System.DateTime ModDate, + string Note) { + ElencoCartelliniRow rowElencoCartelliniRow = ((ElencoCartelliniRow)(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, + null, + PesoTot, + PesoCad, + CreateDate, + ModDate, + Note}; + if ((parentAnagPosizioniRowByFK_ElencoCartellini_AnagPosizioni != null)) { + columnValuesArray[20] = parentAnagPosizioniRowByFK_ElencoCartellini_AnagPosizioni[0]; + } + rowElencoCartelliniRow.ItemArray = columnValuesArray; + this.Rows.Add(rowElencoCartelliniRow); + return rowElencoCartelliniRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoCartelliniRow FindByUDC(string UDC) { + return ((ElencoCartelliniRow)(this.Rows.Find(new object[] { + UDC}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + ElencoCartelliniDataTable cln = ((ElencoCartelliniDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new ElencoCartelliniDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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.columnNote = base.Columns["Note"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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.columnNote = new global::System.Data.DataColumn("Note", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNote); + 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.MaxLength = 6; + this.columnRagSociale.MaxLength = 35; + this.columnParticolare.MaxLength = 15; + this.columnDescParticolare.MaxLength = 30; + this.columnDisegnoGrezzo.MaxLength = 30; + this.columnEsponente.MaxLength = 6; + this.columnCodImpianto.MaxLength = 50; + this.columnDescImpianto.MaxLength = 50; + this.columnCodStampo.MaxLength = 8; + this.columnFigura.MaxLength = 4; + this.columnCodImballo.MaxLength = 15; + this.columnCodSoggetto.MaxLength = 17; + this.columnCodStato.MaxLength = 50; + this.columnNote.MaxLength = 500; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoCartelliniRow NewElencoCartelliniRow() { + return ((ElencoCartelliniRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new ElencoCartelliniRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(ElencoCartelliniRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.ElencoCartelliniRowChanged != null)) { + this.ElencoCartelliniRowChanged(this, new ElencoCartelliniRowChangeEvent(((ElencoCartelliniRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.ElencoCartelliniRowChanging != null)) { + this.ElencoCartelliniRowChanging(this, new ElencoCartelliniRowChangeEvent(((ElencoCartelliniRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.ElencoCartelliniRowDeleted != null)) { + this.ElencoCartelliniRowDeleted(this, new ElencoCartelliniRowChangeEvent(((ElencoCartelliniRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.ElencoCartelliniRowDeleting != null)) { + this.ElencoCartelliniRowDeleting(this, new ElencoCartelliniRowChangeEvent(((ElencoCartelliniRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveElencoCartelliniRow(ElencoCartelliniRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_magazzino ds = new DS_magazzino(); + 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 = "ElencoCartelliniDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class AnagMagDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodMag; + + private global::System.Data.DataColumn columnCodCS; + + private global::System.Data.DataColumn columnDescMag; + + private global::System.Data.DataColumn columnNascosto; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagMagDataTable() { + this.TableName = "AnagMag"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AnagMagDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected AnagMagDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodMagColumn { + get { + return this.columnCodMag; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodCSColumn { + get { + return this.columnCodCS; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescMagColumn { + get { + return this.columnDescMag; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NascostoColumn { + get { + return this.columnNascosto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagMagRow this[int index] { + get { + return ((AnagMagRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagMagRowChangeEventHandler AnagMagRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagMagRowChangeEventHandler AnagMagRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagMagRowChangeEventHandler AnagMagRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagMagRowChangeEventHandler AnagMagRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddAnagMagRow(AnagMagRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagMagRow AddAnagMagRow(string CodMag, string CodCS, string DescMag, bool Nascosto) { + AnagMagRow rowAnagMagRow = ((AnagMagRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CodMag, + CodCS, + DescMag, + Nascosto}; + rowAnagMagRow.ItemArray = columnValuesArray; + this.Rows.Add(rowAnagMagRow); + return rowAnagMagRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagMagRow FindByCodMag(string CodMag) { + return ((AnagMagRow)(this.Rows.Find(new object[] { + CodMag}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + AnagMagDataTable cln = ((AnagMagDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new AnagMagDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnCodMag = base.Columns["CodMag"]; + this.columnCodCS = base.Columns["CodCS"]; + this.columnDescMag = base.Columns["DescMag"]; + this.columnNascosto = base.Columns["Nascosto"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnCodMag = new global::System.Data.DataColumn("CodMag", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodMag); + this.columnCodCS = new global::System.Data.DataColumn("CodCS", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCS); + this.columnDescMag = new global::System.Data.DataColumn("DescMag", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescMag); + this.columnNascosto = new global::System.Data.DataColumn("Nascosto", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNascosto); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodMag}, true)); + this.columnCodMag.AllowDBNull = false; + this.columnCodMag.Unique = true; + this.columnCodMag.MaxLength = 50; + this.columnCodCS.AllowDBNull = false; + this.columnCodCS.MaxLength = 2; + this.columnDescMag.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagMagRow NewAnagMagRow() { + return ((AnagMagRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new AnagMagRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(AnagMagRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.AnagMagRowChanged != null)) { + this.AnagMagRowChanged(this, new AnagMagRowChangeEvent(((AnagMagRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.AnagMagRowChanging != null)) { + this.AnagMagRowChanging(this, new AnagMagRowChangeEvent(((AnagMagRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.AnagMagRowDeleted != null)) { + this.AnagMagRowDeleted(this, new AnagMagRowChangeEvent(((AnagMagRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.AnagMagRowDeleting != null)) { + this.AnagMagRowDeleting(this, new AnagMagRowChangeEvent(((AnagMagRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveAnagMagRow(AnagMagRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_magazzino ds = new DS_magazzino(); + 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 = "AnagMagDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class PosizioneUdcCorrenteDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnUDC; + + private global::System.Data.DataColumn columnIdxCella; + + private global::System.Data.DataColumn columnCodCS; + + private global::System.Data.DataColumn columnDataRif; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public PosizioneUdcCorrenteDataTable() { + this.TableName = "PosizioneUdcCorrente"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal PosizioneUdcCorrenteDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected PosizioneUdcCorrenteDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn UDCColumn { + get { + return this.columnUDC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn IdxCellaColumn { + get { + return this.columnIdxCella; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodCSColumn { + get { + return this.columnCodCS; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DataRifColumn { + get { + return this.columnDataRif; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public PosizioneUdcCorrenteRow this[int index] { + get { + return ((PosizioneUdcCorrenteRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event PosizioneUdcCorrenteRowChangeEventHandler PosizioneUdcCorrenteRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event PosizioneUdcCorrenteRowChangeEventHandler PosizioneUdcCorrenteRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event PosizioneUdcCorrenteRowChangeEventHandler PosizioneUdcCorrenteRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event PosizioneUdcCorrenteRowChangeEventHandler PosizioneUdcCorrenteRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddPosizioneUdcCorrenteRow(PosizioneUdcCorrenteRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public PosizioneUdcCorrenteRow AddPosizioneUdcCorrenteRow(ElencoCartelliniRow parentElencoCartelliniRowByFK_PosizioneUdcCorrente_ElencoCartellini, CelleRow parentCelleRowByFK_PosizioneUdcCorrente_Celle, string CodCS, System.DateTime DataRif) { + PosizioneUdcCorrenteRow rowPosizioneUdcCorrenteRow = ((PosizioneUdcCorrenteRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + null, + CodCS, + DataRif}; + if ((parentElencoCartelliniRowByFK_PosizioneUdcCorrente_ElencoCartellini != null)) { + columnValuesArray[0] = parentElencoCartelliniRowByFK_PosizioneUdcCorrente_ElencoCartellini[0]; + } + if ((parentCelleRowByFK_PosizioneUdcCorrente_Celle != null)) { + columnValuesArray[1] = parentCelleRowByFK_PosizioneUdcCorrente_Celle[0]; + } + rowPosizioneUdcCorrenteRow.ItemArray = columnValuesArray; + this.Rows.Add(rowPosizioneUdcCorrenteRow); + return rowPosizioneUdcCorrenteRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public PosizioneUdcCorrenteRow FindByUDCIdxCella(string UDC, int IdxCella) { + return ((PosizioneUdcCorrenteRow)(this.Rows.Find(new object[] { + UDC, + IdxCella}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + PosizioneUdcCorrenteDataTable cln = ((PosizioneUdcCorrenteDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new PosizioneUdcCorrenteDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnUDC = base.Columns["UDC"]; + this.columnIdxCella = base.Columns["IdxCella"]; + this.columnCodCS = base.Columns["CodCS"]; + this.columnDataRif = base.Columns["DataRif"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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.columnIdxCella = new global::System.Data.DataColumn("IdxCella", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnIdxCella); + this.columnCodCS = new global::System.Data.DataColumn("CodCS", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCS); + this.columnDataRif = new global::System.Data.DataColumn("DataRif", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDataRif); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnUDC, + this.columnIdxCella}, true)); + this.columnUDC.AllowDBNull = false; + this.columnUDC.MaxLength = 50; + this.columnIdxCella.AllowDBNull = false; + this.columnCodCS.AllowDBNull = false; + this.columnCodCS.MaxLength = 2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public PosizioneUdcCorrenteRow NewPosizioneUdcCorrenteRow() { + return ((PosizioneUdcCorrenteRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new PosizioneUdcCorrenteRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(PosizioneUdcCorrenteRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.PosizioneUdcCorrenteRowChanged != null)) { + this.PosizioneUdcCorrenteRowChanged(this, new PosizioneUdcCorrenteRowChangeEvent(((PosizioneUdcCorrenteRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.PosizioneUdcCorrenteRowChanging != null)) { + this.PosizioneUdcCorrenteRowChanging(this, new PosizioneUdcCorrenteRowChangeEvent(((PosizioneUdcCorrenteRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.PosizioneUdcCorrenteRowDeleted != null)) { + this.PosizioneUdcCorrenteRowDeleted(this, new PosizioneUdcCorrenteRowChangeEvent(((PosizioneUdcCorrenteRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.PosizioneUdcCorrenteRowDeleting != null)) { + this.PosizioneUdcCorrenteRowDeleting(this, new PosizioneUdcCorrenteRowChangeEvent(((PosizioneUdcCorrenteRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemovePosizioneUdcCorrenteRow(PosizioneUdcCorrenteRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_magazzino ds = new DS_magazzino(); + 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 = "PosizioneUdcCorrenteDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class PosizioneUdcStoricoDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnUDC; + + private global::System.Data.DataColumn columnIdxCella; + + private global::System.Data.DataColumn columnCodCS; + + private global::System.Data.DataColumn columnDataInizio; + + private global::System.Data.DataColumn columnDataFine; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public PosizioneUdcStoricoDataTable() { + this.TableName = "PosizioneUdcStorico"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal PosizioneUdcStoricoDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected PosizioneUdcStoricoDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn UDCColumn { + get { + return this.columnUDC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn IdxCellaColumn { + get { + return this.columnIdxCella; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodCSColumn { + get { + return this.columnCodCS; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DataInizioColumn { + get { + return this.columnDataInizio; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DataFineColumn { + get { + return this.columnDataFine; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public PosizioneUdcStoricoRow this[int index] { + get { + return ((PosizioneUdcStoricoRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event PosizioneUdcStoricoRowChangeEventHandler PosizioneUdcStoricoRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event PosizioneUdcStoricoRowChangeEventHandler PosizioneUdcStoricoRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event PosizioneUdcStoricoRowChangeEventHandler PosizioneUdcStoricoRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event PosizioneUdcStoricoRowChangeEventHandler PosizioneUdcStoricoRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddPosizioneUdcStoricoRow(PosizioneUdcStoricoRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public PosizioneUdcStoricoRow AddPosizioneUdcStoricoRow(ElencoCartelliniRow parentElencoCartelliniRowByFK_PosizioneUdcStorico_ElencoCartellini, int IdxCella, string CodCS, System.DateTime DataInizio, System.DateTime DataFine) { + PosizioneUdcStoricoRow rowPosizioneUdcStoricoRow = ((PosizioneUdcStoricoRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + IdxCella, + CodCS, + DataInizio, + DataFine}; + if ((parentElencoCartelliniRowByFK_PosizioneUdcStorico_ElencoCartellini != null)) { + columnValuesArray[0] = parentElencoCartelliniRowByFK_PosizioneUdcStorico_ElencoCartellini[0]; + } + rowPosizioneUdcStoricoRow.ItemArray = columnValuesArray; + this.Rows.Add(rowPosizioneUdcStoricoRow); + return rowPosizioneUdcStoricoRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public PosizioneUdcStoricoRow FindByUDCIdxCella(string UDC, int IdxCella) { + return ((PosizioneUdcStoricoRow)(this.Rows.Find(new object[] { + UDC, + IdxCella}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + PosizioneUdcStoricoDataTable cln = ((PosizioneUdcStoricoDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new PosizioneUdcStoricoDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnUDC = base.Columns["UDC"]; + this.columnIdxCella = base.Columns["IdxCella"]; + this.columnCodCS = base.Columns["CodCS"]; + this.columnDataInizio = base.Columns["DataInizio"]; + this.columnDataFine = base.Columns["DataFine"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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.columnIdxCella = new global::System.Data.DataColumn("IdxCella", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnIdxCella); + this.columnCodCS = new global::System.Data.DataColumn("CodCS", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCS); + this.columnDataInizio = new global::System.Data.DataColumn("DataInizio", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDataInizio); + this.columnDataFine = new global::System.Data.DataColumn("DataFine", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDataFine); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnUDC, + this.columnIdxCella}, true)); + this.columnUDC.AllowDBNull = false; + this.columnUDC.MaxLength = 50; + this.columnIdxCella.AllowDBNull = false; + this.columnCodCS.AllowDBNull = false; + this.columnCodCS.MaxLength = 2; + this.columnDataInizio.AllowDBNull = false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public PosizioneUdcStoricoRow NewPosizioneUdcStoricoRow() { + return ((PosizioneUdcStoricoRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new PosizioneUdcStoricoRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(PosizioneUdcStoricoRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.PosizioneUdcStoricoRowChanged != null)) { + this.PosizioneUdcStoricoRowChanged(this, new PosizioneUdcStoricoRowChangeEvent(((PosizioneUdcStoricoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.PosizioneUdcStoricoRowChanging != null)) { + this.PosizioneUdcStoricoRowChanging(this, new PosizioneUdcStoricoRowChangeEvent(((PosizioneUdcStoricoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.PosizioneUdcStoricoRowDeleted != null)) { + this.PosizioneUdcStoricoRowDeleted(this, new PosizioneUdcStoricoRowChangeEvent(((PosizioneUdcStoricoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.PosizioneUdcStoricoRowDeleting != null)) { + this.PosizioneUdcStoricoRowDeleting(this, new PosizioneUdcStoricoRowChangeEvent(((PosizioneUdcStoricoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemovePosizioneUdcStoricoRow(PosizioneUdcStoricoRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_magazzino ds = new DS_magazzino(); + 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 = "PosizioneUdcStoricoDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class BlocchiDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnIdxBlocco; + + private global::System.Data.DataColumn columnCodMag; + + private global::System.Data.DataColumn columnCodCS; + + private global::System.Data.DataColumn columnCodBlocco; + + private global::System.Data.DataColumn columnDescBlocco; + + private global::System.Data.DataColumn columnNumX; + + private global::System.Data.DataColumn columnNumY; + + private global::System.Data.DataColumn columnNumZ; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public BlocchiDataTable() { + this.TableName = "Blocchi"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal BlocchiDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected BlocchiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn IdxBloccoColumn { + get { + return this.columnIdxBlocco; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodMagColumn { + get { + return this.columnCodMag; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodCSColumn { + get { + return this.columnCodCS; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodBloccoColumn { + get { + return this.columnCodBlocco; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescBloccoColumn { + get { + return this.columnDescBlocco; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NumXColumn { + get { + return this.columnNumX; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NumYColumn { + get { + return this.columnNumY; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NumZColumn { + get { + return this.columnNumZ; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public BlocchiRow this[int index] { + get { + return ((BlocchiRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event BlocchiRowChangeEventHandler BlocchiRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event BlocchiRowChangeEventHandler BlocchiRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event BlocchiRowChangeEventHandler BlocchiRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event BlocchiRowChangeEventHandler BlocchiRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddBlocchiRow(BlocchiRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public BlocchiRow AddBlocchiRow(string CodMag, string CodCS, string CodBlocco, string DescBlocco, int NumX, int NumY, int NumZ) { + BlocchiRow rowBlocchiRow = ((BlocchiRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + CodMag, + CodCS, + CodBlocco, + DescBlocco, + NumX, + NumY, + NumZ}; + rowBlocchiRow.ItemArray = columnValuesArray; + this.Rows.Add(rowBlocchiRow); + return rowBlocchiRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public BlocchiRow FindByIdxBlocco(int IdxBlocco) { + return ((BlocchiRow)(this.Rows.Find(new object[] { + IdxBlocco}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + BlocchiDataTable cln = ((BlocchiDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new BlocchiDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnIdxBlocco = base.Columns["IdxBlocco"]; + this.columnCodMag = base.Columns["CodMag"]; + this.columnCodCS = base.Columns["CodCS"]; + this.columnCodBlocco = base.Columns["CodBlocco"]; + this.columnDescBlocco = base.Columns["DescBlocco"]; + this.columnNumX = base.Columns["NumX"]; + this.columnNumY = base.Columns["NumY"]; + this.columnNumZ = base.Columns["NumZ"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnIdxBlocco = new global::System.Data.DataColumn("IdxBlocco", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnIdxBlocco); + this.columnCodMag = new global::System.Data.DataColumn("CodMag", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodMag); + this.columnCodCS = new global::System.Data.DataColumn("CodCS", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCS); + this.columnCodBlocco = new global::System.Data.DataColumn("CodBlocco", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodBlocco); + this.columnDescBlocco = new global::System.Data.DataColumn("DescBlocco", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescBlocco); + this.columnNumX = new global::System.Data.DataColumn("NumX", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNumX); + this.columnNumY = new global::System.Data.DataColumn("NumY", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNumY); + this.columnNumZ = new global::System.Data.DataColumn("NumZ", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNumZ); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnIdxBlocco}, true)); + this.columnIdxBlocco.AutoIncrement = true; + this.columnIdxBlocco.AutoIncrementSeed = -1; + this.columnIdxBlocco.AutoIncrementStep = -1; + this.columnIdxBlocco.AllowDBNull = false; + this.columnIdxBlocco.ReadOnly = true; + this.columnIdxBlocco.Unique = true; + this.columnCodMag.MaxLength = 50; + this.columnCodCS.MaxLength = 2; + this.columnCodBlocco.MaxLength = 3; + this.columnDescBlocco.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public BlocchiRow NewBlocchiRow() { + return ((BlocchiRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new BlocchiRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(BlocchiRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.BlocchiRowChanged != null)) { + this.BlocchiRowChanged(this, new BlocchiRowChangeEvent(((BlocchiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.BlocchiRowChanging != null)) { + this.BlocchiRowChanging(this, new BlocchiRowChangeEvent(((BlocchiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.BlocchiRowDeleted != null)) { + this.BlocchiRowDeleted(this, new BlocchiRowChangeEvent(((BlocchiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.BlocchiRowDeleting != null)) { + this.BlocchiRowDeleting(this, new BlocchiRowChangeEvent(((BlocchiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveBlocchiRow(BlocchiRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_magazzino ds = new DS_magazzino(); + 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 = "BlocchiDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class CelleDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnIdxCella; + + private global::System.Data.DataColumn columnCodCS; + + private global::System.Data.DataColumn columnCodCella; + + private global::System.Data.DataColumn columnIdxTipoCella; + + private global::System.Data.DataColumn columnDescrizione; + + private global::System.Data.DataColumn columnAttiva; + + private global::System.Data.DataColumn columnIdxBlocco; + + private global::System.Data.DataColumn columnX; + + private global::System.Data.DataColumn columnY; + + private global::System.Data.DataColumn columnZ; + + private global::System.Data.DataColumn columnPiena; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public CelleDataTable() { + this.TableName = "Celle"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal CelleDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected CelleDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn IdxCellaColumn { + get { + return this.columnIdxCella; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodCSColumn { + get { + return this.columnCodCS; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodCellaColumn { + get { + return this.columnCodCella; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn IdxTipoCellaColumn { + get { + return this.columnIdxTipoCella; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescrizioneColumn { + get { + return this.columnDescrizione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn AttivaColumn { + get { + return this.columnAttiva; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn IdxBloccoColumn { + get { + return this.columnIdxBlocco; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn XColumn { + get { + return this.columnX; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn YColumn { + get { + return this.columnY; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ZColumn { + get { + return this.columnZ; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn PienaColumn { + get { + return this.columnPiena; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public CelleRow this[int index] { + get { + return ((CelleRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event CelleRowChangeEventHandler CelleRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event CelleRowChangeEventHandler CelleRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event CelleRowChangeEventHandler CelleRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event CelleRowChangeEventHandler CelleRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddCelleRow(CelleRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public CelleRow AddCelleRow(string CodCS, string CodCella, TipoCellaRow parentTipoCellaRowByFK_Celle_TipoCella, string Descrizione, bool Attiva, BlocchiRow parentBlocchiRowByFK_Celle_Blocchi1, int X, int Y, int Z, bool Piena) { + CelleRow rowCelleRow = ((CelleRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + CodCS, + CodCella, + null, + Descrizione, + Attiva, + null, + X, + Y, + Z, + Piena}; + if ((parentTipoCellaRowByFK_Celle_TipoCella != null)) { + columnValuesArray[3] = parentTipoCellaRowByFK_Celle_TipoCella[0]; + } + if ((parentBlocchiRowByFK_Celle_Blocchi1 != null)) { + columnValuesArray[6] = parentBlocchiRowByFK_Celle_Blocchi1[0]; + } + rowCelleRow.ItemArray = columnValuesArray; + this.Rows.Add(rowCelleRow); + return rowCelleRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public CelleRow FindByIdxCella(int IdxCella) { + return ((CelleRow)(this.Rows.Find(new object[] { + IdxCella}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + CelleDataTable cln = ((CelleDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new CelleDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnIdxCella = base.Columns["IdxCella"]; + this.columnCodCS = base.Columns["CodCS"]; + this.columnCodCella = base.Columns["CodCella"]; + this.columnIdxTipoCella = base.Columns["IdxTipoCella"]; + this.columnDescrizione = base.Columns["Descrizione"]; + this.columnAttiva = base.Columns["Attiva"]; + this.columnIdxBlocco = base.Columns["IdxBlocco"]; + this.columnX = base.Columns["X"]; + this.columnY = base.Columns["Y"]; + this.columnZ = base.Columns["Z"]; + this.columnPiena = base.Columns["Piena"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnIdxCella = new global::System.Data.DataColumn("IdxCella", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnIdxCella); + this.columnCodCS = new global::System.Data.DataColumn("CodCS", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCS); + this.columnCodCella = new global::System.Data.DataColumn("CodCella", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCella); + this.columnIdxTipoCella = new global::System.Data.DataColumn("IdxTipoCella", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnIdxTipoCella); + this.columnDescrizione = new global::System.Data.DataColumn("Descrizione", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescrizione); + this.columnAttiva = new global::System.Data.DataColumn("Attiva", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnAttiva); + this.columnIdxBlocco = new global::System.Data.DataColumn("IdxBlocco", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnIdxBlocco); + this.columnX = new global::System.Data.DataColumn("X", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnX); + this.columnY = new global::System.Data.DataColumn("Y", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnY); + this.columnZ = new global::System.Data.DataColumn("Z", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnZ); + this.columnPiena = new global::System.Data.DataColumn("Piena", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPiena); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnIdxCella}, true)); + this.columnIdxCella.AutoIncrement = true; + this.columnIdxCella.AutoIncrementSeed = -1; + this.columnIdxCella.AutoIncrementStep = -1; + this.columnIdxCella.AllowDBNull = false; + this.columnIdxCella.ReadOnly = true; + this.columnIdxCella.Unique = true; + this.columnCodCS.AllowDBNull = false; + this.columnCodCS.MaxLength = 2; + this.columnCodCella.AllowDBNull = false; + this.columnCodCella.MaxLength = 50; + this.columnDescrizione.MaxLength = 50; + this.columnIdxBlocco.AllowDBNull = false; + this.columnX.AllowDBNull = false; + this.columnY.AllowDBNull = false; + this.columnZ.AllowDBNull = false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public CelleRow NewCelleRow() { + return ((CelleRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new CelleRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(CelleRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.CelleRowChanged != null)) { + this.CelleRowChanged(this, new CelleRowChangeEvent(((CelleRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.CelleRowChanging != null)) { + this.CelleRowChanging(this, new CelleRowChangeEvent(((CelleRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.CelleRowDeleted != null)) { + this.CelleRowDeleted(this, new CelleRowChangeEvent(((CelleRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.CelleRowDeleting != null)) { + this.CelleRowDeleting(this, new CelleRowChangeEvent(((CelleRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveCelleRow(CelleRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_magazzino ds = new DS_magazzino(); + 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 = "CelleDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class TipoCellaDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnIdxTipoCella; + + private global::System.Data.DataColumn columnCodMag; + + private global::System.Data.DataColumn columnCodCS; + + private global::System.Data.DataColumn columnQuantita; + + private global::System.Data.DataColumn columnCapienza; + + private global::System.Data.DataColumn columnMax_X; + + private global::System.Data.DataColumn columnMax_Y; + + private global::System.Data.DataColumn columnMax_Z; + + private global::System.Data.DataColumn columnMax_Kg; + + private global::System.Data.DataColumn columnCheckPiena; + + private global::System.Data.DataColumn columnSetMag; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TipoCellaDataTable() { + this.TableName = "TipoCella"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal TipoCellaDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected TipoCellaDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn IdxTipoCellaColumn { + get { + return this.columnIdxTipoCella; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodMagColumn { + get { + return this.columnCodMag; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodCSColumn { + get { + return this.columnCodCS; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn QuantitaColumn { + get { + return this.columnQuantita; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CapienzaColumn { + get { + return this.columnCapienza; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Max_XColumn { + get { + return this.columnMax_X; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Max_YColumn { + get { + return this.columnMax_Y; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Max_ZColumn { + get { + return this.columnMax_Z; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn Max_KgColumn { + get { + return this.columnMax_Kg; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CheckPienaColumn { + get { + return this.columnCheckPiena; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn SetMagColumn { + get { + return this.columnSetMag; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TipoCellaRow this[int index] { + get { + return ((TipoCellaRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event TipoCellaRowChangeEventHandler TipoCellaRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event TipoCellaRowChangeEventHandler TipoCellaRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event TipoCellaRowChangeEventHandler TipoCellaRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event TipoCellaRowChangeEventHandler TipoCellaRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddTipoCellaRow(TipoCellaRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TipoCellaRow AddTipoCellaRow(string CodMag, string CodCS, int Quantita, int Capienza, double Max_X, double Max_Y, double Max_Z, double Max_Kg, bool CheckPiena, bool SetMag) { + TipoCellaRow rowTipoCellaRow = ((TipoCellaRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + CodMag, + CodCS, + Quantita, + Capienza, + Max_X, + Max_Y, + Max_Z, + Max_Kg, + CheckPiena, + SetMag}; + rowTipoCellaRow.ItemArray = columnValuesArray; + this.Rows.Add(rowTipoCellaRow); + return rowTipoCellaRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TipoCellaRow FindByIdxTipoCella(int IdxTipoCella) { + return ((TipoCellaRow)(this.Rows.Find(new object[] { + IdxTipoCella}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + TipoCellaDataTable cln = ((TipoCellaDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new TipoCellaDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnIdxTipoCella = base.Columns["IdxTipoCella"]; + this.columnCodMag = base.Columns["CodMag"]; + this.columnCodCS = base.Columns["CodCS"]; + this.columnQuantita = base.Columns["Quantita"]; + this.columnCapienza = base.Columns["Capienza"]; + this.columnMax_X = base.Columns["Max_X"]; + this.columnMax_Y = base.Columns["Max_Y"]; + this.columnMax_Z = base.Columns["Max_Z"]; + this.columnMax_Kg = base.Columns["Max_Kg"]; + this.columnCheckPiena = base.Columns["CheckPiena"]; + this.columnSetMag = base.Columns["SetMag"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnIdxTipoCella = new global::System.Data.DataColumn("IdxTipoCella", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnIdxTipoCella); + this.columnCodMag = new global::System.Data.DataColumn("CodMag", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodMag); + this.columnCodCS = new global::System.Data.DataColumn("CodCS", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCS); + this.columnQuantita = new global::System.Data.DataColumn("Quantita", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnQuantita); + this.columnCapienza = new global::System.Data.DataColumn("Capienza", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCapienza); + this.columnMax_X = new global::System.Data.DataColumn("Max_X", typeof(double), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnMax_X); + this.columnMax_Y = new global::System.Data.DataColumn("Max_Y", typeof(double), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnMax_Y); + this.columnMax_Z = new global::System.Data.DataColumn("Max_Z", typeof(double), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnMax_Z); + this.columnMax_Kg = new global::System.Data.DataColumn("Max_Kg", typeof(double), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnMax_Kg); + this.columnCheckPiena = new global::System.Data.DataColumn("CheckPiena", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCheckPiena); + this.columnSetMag = new global::System.Data.DataColumn("SetMag", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnSetMag); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnIdxTipoCella}, true)); + this.columnIdxTipoCella.AutoIncrement = true; + this.columnIdxTipoCella.AutoIncrementSeed = -1; + this.columnIdxTipoCella.AutoIncrementStep = -1; + this.columnIdxTipoCella.AllowDBNull = false; + this.columnIdxTipoCella.ReadOnly = true; + this.columnIdxTipoCella.Unique = true; + this.columnCodMag.AllowDBNull = false; + this.columnCodMag.MaxLength = 50; + this.columnCodCS.AllowDBNull = false; + this.columnCodCS.MaxLength = 2; + this.columnQuantita.AllowDBNull = false; + this.columnCapienza.AllowDBNull = false; + this.columnCheckPiena.AllowDBNull = false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TipoCellaRow NewTipoCellaRow() { + return ((TipoCellaRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new TipoCellaRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(TipoCellaRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.TipoCellaRowChanged != null)) { + this.TipoCellaRowChanged(this, new TipoCellaRowChangeEvent(((TipoCellaRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.TipoCellaRowChanging != null)) { + this.TipoCellaRowChanging(this, new TipoCellaRowChangeEvent(((TipoCellaRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.TipoCellaRowDeleted != null)) { + this.TipoCellaRowDeleted(this, new TipoCellaRowChangeEvent(((TipoCellaRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.TipoCellaRowDeleting != null)) { + this.TipoCellaRowDeleting(this, new TipoCellaRowChangeEvent(((TipoCellaRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveTipoCellaRow(TipoCellaRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_magazzino ds = new DS_magazzino(); + 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 = "TipoCellaDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_UdcDetailDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnUDC; + + 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 columnDescImpianto; + + private global::System.Data.DataColumn columnDataFus; + + private global::System.Data.DataColumn columnTurnoFus; + + private global::System.Data.DataColumn columnCodImballo; + + private global::System.Data.DataColumn columnQta; + + private global::System.Data.DataColumn columnDescStato; + + private global::System.Data.DataColumn columnModDate; + + private global::System.Data.DataColumn columnCodMag; + + private global::System.Data.DataColumn columnCodBlocco; + + private global::System.Data.DataColumn columnCodCella; + + private global::System.Data.DataColumn columnX; + + private global::System.Data.DataColumn columnY; + + private global::System.Data.DataColumn columnZ; + + private global::System.Data.DataColumn columnIdxCella; + + private global::System.Data.DataColumn columnIdxPosizione; + + private global::System.Data.DataColumn columnNote; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_UdcDetailDataTable() { + this.TableName = "v_UdcDetail"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_UdcDetailDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected v_UdcDetailDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn UDCColumn { + get { + return this.columnUDC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn RagSocialeColumn { + get { + return this.columnRagSociale; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ParticolareColumn { + get { + return this.columnParticolare; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescParticolareColumn { + get { + return this.columnDescParticolare; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DisegnoGrezzoColumn { + get { + return this.columnDisegnoGrezzo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn EsponenteColumn { + get { + return this.columnEsponente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescImpiantoColumn { + get { + return this.columnDescImpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DataFusColumn { + get { + return this.columnDataFus; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn TurnoFusColumn { + get { + return this.columnTurnoFus; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodImballoColumn { + get { + return this.columnCodImballo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn QtaColumn { + get { + return this.columnQta; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescStatoColumn { + get { + return this.columnDescStato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ModDateColumn { + get { + return this.columnModDate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodMagColumn { + get { + return this.columnCodMag; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodBloccoColumn { + get { + return this.columnCodBlocco; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodCellaColumn { + get { + return this.columnCodCella; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn XColumn { + get { + return this.columnX; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn YColumn { + get { + return this.columnY; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ZColumn { + get { + return this.columnZ; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn IdxCellaColumn { + get { + return this.columnIdxCella; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn IdxPosizioneColumn { + get { + return this.columnIdxPosizione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NoteColumn { + get { + return this.columnNote; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_UdcDetailRow this[int index] { + get { + return ((v_UdcDetailRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_UdcDetailRowChangeEventHandler v_UdcDetailRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_UdcDetailRowChangeEventHandler v_UdcDetailRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_UdcDetailRowChangeEventHandler v_UdcDetailRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_UdcDetailRowChangeEventHandler v_UdcDetailRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addv_UdcDetailRow(v_UdcDetailRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_UdcDetailRow Addv_UdcDetailRow( + string UDC, + string RagSociale, + string Particolare, + string DescParticolare, + string DisegnoGrezzo, + string Esponente, + string DescImpianto, + System.DateTime DataFus, + int TurnoFus, + string CodImballo, + decimal Qta, + string DescStato, + System.DateTime ModDate, + string CodMag, + string CodBlocco, + string CodCella, + int X, + int Y, + int Z, + int IdxCella, + int IdxPosizione, + string Note) { + v_UdcDetailRow rowv_UdcDetailRow = ((v_UdcDetailRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + UDC, + RagSociale, + Particolare, + DescParticolare, + DisegnoGrezzo, + Esponente, + DescImpianto, + DataFus, + TurnoFus, + CodImballo, + Qta, + DescStato, + ModDate, + CodMag, + CodBlocco, + CodCella, + X, + Y, + Z, + IdxCella, + IdxPosizione, + Note}; + rowv_UdcDetailRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_UdcDetailRow); + return rowv_UdcDetailRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_UdcDetailRow FindByUDC(string UDC) { + return ((v_UdcDetailRow)(this.Rows.Find(new object[] { + UDC}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + v_UdcDetailDataTable cln = ((v_UdcDetailDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new v_UdcDetailDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnUDC = base.Columns["UDC"]; + 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.columnDescImpianto = base.Columns["DescImpianto"]; + this.columnDataFus = base.Columns["DataFus"]; + this.columnTurnoFus = base.Columns["TurnoFus"]; + this.columnCodImballo = base.Columns["CodImballo"]; + this.columnQta = base.Columns["Qta"]; + this.columnDescStato = base.Columns["DescStato"]; + this.columnModDate = base.Columns["ModDate"]; + this.columnCodMag = base.Columns["CodMag"]; + this.columnCodBlocco = base.Columns["CodBlocco"]; + this.columnCodCella = base.Columns["CodCella"]; + this.columnX = base.Columns["X"]; + this.columnY = base.Columns["Y"]; + this.columnZ = base.Columns["Z"]; + this.columnIdxCella = base.Columns["IdxCella"]; + this.columnIdxPosizione = base.Columns["IdxPosizione"]; + this.columnNote = base.Columns["Note"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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.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.columnDescImpianto = new global::System.Data.DataColumn("DescImpianto", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescImpianto); + 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.columnQta = new global::System.Data.DataColumn("Qta", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnQta); + this.columnDescStato = new global::System.Data.DataColumn("DescStato", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescStato); + this.columnModDate = new global::System.Data.DataColumn("ModDate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnModDate); + this.columnCodMag = new global::System.Data.DataColumn("CodMag", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodMag); + this.columnCodBlocco = new global::System.Data.DataColumn("CodBlocco", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodBlocco); + this.columnCodCella = new global::System.Data.DataColumn("CodCella", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCella); + this.columnX = new global::System.Data.DataColumn("X", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnX); + this.columnY = new global::System.Data.DataColumn("Y", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnY); + this.columnZ = new global::System.Data.DataColumn("Z", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnZ); + this.columnIdxCella = new global::System.Data.DataColumn("IdxCella", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnIdxCella); + this.columnIdxPosizione = new global::System.Data.DataColumn("IdxPosizione", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnIdxPosizione); + this.columnNote = new global::System.Data.DataColumn("Note", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNote); + 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.columnRagSociale.MaxLength = 35; + this.columnParticolare.MaxLength = 15; + this.columnDescParticolare.MaxLength = 30; + this.columnDisegnoGrezzo.MaxLength = 30; + this.columnEsponente.MaxLength = 6; + this.columnDescImpianto.MaxLength = 50; + this.columnCodImballo.MaxLength = 15; + this.columnDescStato.MaxLength = 50; + this.columnCodMag.ReadOnly = true; + this.columnCodMag.MaxLength = 50; + this.columnCodBlocco.ReadOnly = true; + this.columnCodBlocco.MaxLength = 3; + this.columnCodCella.ReadOnly = true; + this.columnCodCella.MaxLength = 50; + this.columnX.ReadOnly = true; + this.columnY.ReadOnly = true; + this.columnZ.ReadOnly = true; + this.columnIdxCella.ReadOnly = true; + this.columnNote.MaxLength = 500; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_UdcDetailRow Newv_UdcDetailRow() { + return ((v_UdcDetailRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_UdcDetailRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(v_UdcDetailRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_UdcDetailRowChanged != null)) { + this.v_UdcDetailRowChanged(this, new v_UdcDetailRowChangeEvent(((v_UdcDetailRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_UdcDetailRowChanging != null)) { + this.v_UdcDetailRowChanging(this, new v_UdcDetailRowChangeEvent(((v_UdcDetailRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_UdcDetailRowDeleted != null)) { + this.v_UdcDetailRowDeleted(this, new v_UdcDetailRowChangeEvent(((v_UdcDetailRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_UdcDetailRowDeleting != null)) { + this.v_UdcDetailRowDeleting(this, new v_UdcDetailRowChangeEvent(((v_UdcDetailRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removev_UdcDetailRow(v_UdcDetailRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_magazzino ds = new DS_magazzino(); + 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 = "v_UdcDetailDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class AnagImballiDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodImballo; + + private global::System.Data.DataColumn columnClasseArticolo; + + private global::System.Data.DataColumn columnDescImballo; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagImballiDataTable() { + this.TableName = "AnagImballi"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AnagImballiDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected AnagImballiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodImballoColumn { + get { + return this.columnCodImballo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ClasseArticoloColumn { + get { + return this.columnClasseArticolo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescImballoColumn { + get { + return this.columnDescImballo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagImballiRow this[int index] { + get { + return ((AnagImballiRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagImballiRowChangeEventHandler AnagImballiRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagImballiRowChangeEventHandler AnagImballiRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagImballiRowChangeEventHandler AnagImballiRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagImballiRowChangeEventHandler AnagImballiRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddAnagImballiRow(AnagImballiRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagImballiRow AddAnagImballiRow(string CodImballo, string ClasseArticolo, string DescImballo) { + AnagImballiRow rowAnagImballiRow = ((AnagImballiRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CodImballo, + ClasseArticolo, + DescImballo}; + rowAnagImballiRow.ItemArray = columnValuesArray; + this.Rows.Add(rowAnagImballiRow); + return rowAnagImballiRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagImballiRow FindByCodImballo(string CodImballo) { + return ((AnagImballiRow)(this.Rows.Find(new object[] { + CodImballo}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + AnagImballiDataTable cln = ((AnagImballiDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new AnagImballiDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnCodImballo = base.Columns["CodImballo"]; + this.columnClasseArticolo = base.Columns["ClasseArticolo"]; + this.columnDescImballo = base.Columns["DescImballo"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnCodImballo = new global::System.Data.DataColumn("CodImballo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodImballo); + this.columnClasseArticolo = new global::System.Data.DataColumn("ClasseArticolo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnClasseArticolo); + this.columnDescImballo = new global::System.Data.DataColumn("DescImballo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescImballo); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodImballo}, true)); + this.columnCodImballo.AllowDBNull = false; + this.columnCodImballo.Unique = true; + this.columnCodImballo.MaxLength = 15; + this.columnClasseArticolo.MaxLength = 1; + this.columnDescImballo.MaxLength = 30; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagImballiRow NewAnagImballiRow() { + return ((AnagImballiRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new AnagImballiRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(AnagImballiRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.AnagImballiRowChanged != null)) { + this.AnagImballiRowChanged(this, new AnagImballiRowChangeEvent(((AnagImballiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.AnagImballiRowChanging != null)) { + this.AnagImballiRowChanging(this, new AnagImballiRowChangeEvent(((AnagImballiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.AnagImballiRowDeleted != null)) { + this.AnagImballiRowDeleted(this, new AnagImballiRowChangeEvent(((AnagImballiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.AnagImballiRowDeleting != null)) { + this.AnagImballiRowDeleting(this, new AnagImballiRowChangeEvent(((AnagImballiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveAnagImballiRow(AnagImballiRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_magazzino ds = new DS_magazzino(); + 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 = "AnagImballiDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class V_ParticolariOverviewDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnParticolare; + + private global::System.Data.DataColumn columnDescParticolare; + + private global::System.Data.DataColumn columnNumUDC; + + private global::System.Data.DataColumn columnTotQta; + + private global::System.Data.DataColumn columnNumInMag; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public V_ParticolariOverviewDataTable() { + this.TableName = "V_ParticolariOverview"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal V_ParticolariOverviewDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected V_ParticolariOverviewDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ParticolareColumn { + get { + return this.columnParticolare; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescParticolareColumn { + get { + return this.columnDescParticolare; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NumUDCColumn { + get { + return this.columnNumUDC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn TotQtaColumn { + get { + return this.columnTotQta; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NumInMagColumn { + get { + return this.columnNumInMag; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public V_ParticolariOverviewRow this[int index] { + get { + return ((V_ParticolariOverviewRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event V_ParticolariOverviewRowChangeEventHandler V_ParticolariOverviewRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event V_ParticolariOverviewRowChangeEventHandler V_ParticolariOverviewRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event V_ParticolariOverviewRowChangeEventHandler V_ParticolariOverviewRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event V_ParticolariOverviewRowChangeEventHandler V_ParticolariOverviewRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddV_ParticolariOverviewRow(V_ParticolariOverviewRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public V_ParticolariOverviewRow AddV_ParticolariOverviewRow(string Particolare, string DescParticolare, int NumUDC, decimal TotQta, int NumInMag) { + V_ParticolariOverviewRow rowV_ParticolariOverviewRow = ((V_ParticolariOverviewRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + Particolare, + DescParticolare, + NumUDC, + TotQta, + NumInMag}; + rowV_ParticolariOverviewRow.ItemArray = columnValuesArray; + this.Rows.Add(rowV_ParticolariOverviewRow); + return rowV_ParticolariOverviewRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public V_ParticolariOverviewRow FindByParticolare(string Particolare) { + return ((V_ParticolariOverviewRow)(this.Rows.Find(new object[] { + Particolare}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + V_ParticolariOverviewDataTable cln = ((V_ParticolariOverviewDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new V_ParticolariOverviewDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnParticolare = base.Columns["Particolare"]; + this.columnDescParticolare = base.Columns["DescParticolare"]; + this.columnNumUDC = base.Columns["NumUDC"]; + this.columnTotQta = base.Columns["TotQta"]; + this.columnNumInMag = base.Columns["NumInMag"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + 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.columnNumUDC = new global::System.Data.DataColumn("NumUDC", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNumUDC); + this.columnTotQta = new global::System.Data.DataColumn("TotQta", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnTotQta); + this.columnNumInMag = new global::System.Data.DataColumn("NumInMag", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNumInMag); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnParticolare}, true)); + this.columnParticolare.AllowDBNull = false; + this.columnParticolare.Unique = true; + this.columnParticolare.MaxLength = 15; + this.columnDescParticolare.MaxLength = 30; + this.columnNumUDC.ReadOnly = true; + this.columnTotQta.ReadOnly = true; + this.columnNumInMag.ReadOnly = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public V_ParticolariOverviewRow NewV_ParticolariOverviewRow() { + return ((V_ParticolariOverviewRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new V_ParticolariOverviewRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(V_ParticolariOverviewRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.V_ParticolariOverviewRowChanged != null)) { + this.V_ParticolariOverviewRowChanged(this, new V_ParticolariOverviewRowChangeEvent(((V_ParticolariOverviewRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.V_ParticolariOverviewRowChanging != null)) { + this.V_ParticolariOverviewRowChanging(this, new V_ParticolariOverviewRowChangeEvent(((V_ParticolariOverviewRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.V_ParticolariOverviewRowDeleted != null)) { + this.V_ParticolariOverviewRowDeleted(this, new V_ParticolariOverviewRowChangeEvent(((V_ParticolariOverviewRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.V_ParticolariOverviewRowDeleting != null)) { + this.V_ParticolariOverviewRowDeleting(this, new V_ParticolariOverviewRowChangeEvent(((V_ParticolariOverviewRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveV_ParticolariOverviewRow(V_ParticolariOverviewRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_magazzino ds = new DS_magazzino(); + 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 = "V_ParticolariOverviewDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class V_MagazziniOverviewDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodCS; + + private global::System.Data.DataColumn columnCodMag; + + private global::System.Data.DataColumn columnDescMag; + + private global::System.Data.DataColumn columnIdxBlocco; + + private global::System.Data.DataColumn columnCodBlocco; + + private global::System.Data.DataColumn columnTotCelle; + + private global::System.Data.DataColumn columnCelleAttive; + + private global::System.Data.DataColumn columnCelleOccupate; + + private global::System.Data.DataColumn columnCelleLibere; + + private global::System.Data.DataColumn columnOldest; + + private global::System.Data.DataColumn columnNewest; + + private global::System.Data.DataColumn columnDescBlocco; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public V_MagazziniOverviewDataTable() { + this.TableName = "V_MagazziniOverview"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal V_MagazziniOverviewDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected V_MagazziniOverviewDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodCSColumn { + get { + return this.columnCodCS; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodMagColumn { + get { + return this.columnCodMag; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescMagColumn { + get { + return this.columnDescMag; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn IdxBloccoColumn { + get { + return this.columnIdxBlocco; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodBloccoColumn { + get { + return this.columnCodBlocco; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn TotCelleColumn { + get { + return this.columnTotCelle; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CelleAttiveColumn { + get { + return this.columnCelleAttive; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CelleOccupateColumn { + get { + return this.columnCelleOccupate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CelleLibereColumn { + get { + return this.columnCelleLibere; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn OldestColumn { + get { + return this.columnOldest; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NewestColumn { + get { + return this.columnNewest; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescBloccoColumn { + get { + return this.columnDescBlocco; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public V_MagazziniOverviewRow this[int index] { + get { + return ((V_MagazziniOverviewRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event V_MagazziniOverviewRowChangeEventHandler V_MagazziniOverviewRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event V_MagazziniOverviewRowChangeEventHandler V_MagazziniOverviewRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event V_MagazziniOverviewRowChangeEventHandler V_MagazziniOverviewRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event V_MagazziniOverviewRowChangeEventHandler V_MagazziniOverviewRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddV_MagazziniOverviewRow(V_MagazziniOverviewRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public V_MagazziniOverviewRow AddV_MagazziniOverviewRow(string CodCS, string CodMag, string DescMag, int IdxBlocco, string CodBlocco, int TotCelle, int CelleAttive, int CelleOccupate, int CelleLibere, System.DateTime Oldest, System.DateTime Newest, string DescBlocco) { + V_MagazziniOverviewRow rowV_MagazziniOverviewRow = ((V_MagazziniOverviewRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CodCS, + CodMag, + DescMag, + IdxBlocco, + CodBlocco, + TotCelle, + CelleAttive, + CelleOccupate, + CelleLibere, + Oldest, + Newest, + DescBlocco}; + rowV_MagazziniOverviewRow.ItemArray = columnValuesArray; + this.Rows.Add(rowV_MagazziniOverviewRow); + return rowV_MagazziniOverviewRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public V_MagazziniOverviewRow FindByCodCSCodMagIdxBlocco(string CodCS, string CodMag, int IdxBlocco) { + return ((V_MagazziniOverviewRow)(this.Rows.Find(new object[] { + CodCS, + CodMag, + IdxBlocco}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + V_MagazziniOverviewDataTable cln = ((V_MagazziniOverviewDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new V_MagazziniOverviewDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnCodCS = base.Columns["CodCS"]; + this.columnCodMag = base.Columns["CodMag"]; + this.columnDescMag = base.Columns["DescMag"]; + this.columnIdxBlocco = base.Columns["IdxBlocco"]; + this.columnCodBlocco = base.Columns["CodBlocco"]; + this.columnTotCelle = base.Columns["TotCelle"]; + this.columnCelleAttive = base.Columns["CelleAttive"]; + this.columnCelleOccupate = base.Columns["CelleOccupate"]; + this.columnCelleLibere = base.Columns["CelleLibere"]; + this.columnOldest = base.Columns["Oldest"]; + this.columnNewest = base.Columns["Newest"]; + this.columnDescBlocco = base.Columns["DescBlocco"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnCodCS = new global::System.Data.DataColumn("CodCS", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCS); + this.columnCodMag = new global::System.Data.DataColumn("CodMag", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodMag); + this.columnDescMag = new global::System.Data.DataColumn("DescMag", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescMag); + this.columnIdxBlocco = new global::System.Data.DataColumn("IdxBlocco", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnIdxBlocco); + this.columnCodBlocco = new global::System.Data.DataColumn("CodBlocco", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodBlocco); + this.columnTotCelle = new global::System.Data.DataColumn("TotCelle", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnTotCelle); + this.columnCelleAttive = new global::System.Data.DataColumn("CelleAttive", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCelleAttive); + this.columnCelleOccupate = new global::System.Data.DataColumn("CelleOccupate", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCelleOccupate); + this.columnCelleLibere = new global::System.Data.DataColumn("CelleLibere", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCelleLibere); + this.columnOldest = new global::System.Data.DataColumn("Oldest", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOldest); + this.columnNewest = new global::System.Data.DataColumn("Newest", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNewest); + this.columnDescBlocco = new global::System.Data.DataColumn("DescBlocco", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescBlocco); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodCS, + this.columnCodMag, + this.columnIdxBlocco}, true)); + this.columnCodCS.AllowDBNull = false; + this.columnCodCS.MaxLength = 2; + this.columnCodMag.AllowDBNull = false; + this.columnCodMag.MaxLength = 50; + this.columnDescMag.MaxLength = 50; + this.columnIdxBlocco.AllowDBNull = false; + this.columnCodBlocco.AllowDBNull = false; + this.columnCodBlocco.MaxLength = 3; + this.columnTotCelle.ReadOnly = true; + this.columnCelleLibere.ReadOnly = true; + this.columnOldest.ReadOnly = true; + this.columnNewest.ReadOnly = true; + this.columnDescBlocco.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public V_MagazziniOverviewRow NewV_MagazziniOverviewRow() { + return ((V_MagazziniOverviewRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new V_MagazziniOverviewRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(V_MagazziniOverviewRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.V_MagazziniOverviewRowChanged != null)) { + this.V_MagazziniOverviewRowChanged(this, new V_MagazziniOverviewRowChangeEvent(((V_MagazziniOverviewRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.V_MagazziniOverviewRowChanging != null)) { + this.V_MagazziniOverviewRowChanging(this, new V_MagazziniOverviewRowChangeEvent(((V_MagazziniOverviewRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.V_MagazziniOverviewRowDeleted != null)) { + this.V_MagazziniOverviewRowDeleted(this, new V_MagazziniOverviewRowChangeEvent(((V_MagazziniOverviewRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.V_MagazziniOverviewRowDeleting != null)) { + this.V_MagazziniOverviewRowDeleting(this, new V_MagazziniOverviewRowChangeEvent(((V_MagazziniOverviewRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveV_MagazziniOverviewRow(V_MagazziniOverviewRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_magazzino ds = new DS_magazzino(); + 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 = "V_MagazziniOverviewDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class V_DettMagPartDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodCS; + + private global::System.Data.DataColumn columnCodMag; + + private global::System.Data.DataColumn columnDescMag; + + private global::System.Data.DataColumn columnIdxBlocco; + + private global::System.Data.DataColumn columnCodBlocco; + + private global::System.Data.DataColumn columnParticolare; + + private global::System.Data.DataColumn columnNumUDC; + + private global::System.Data.DataColumn columnOldest; + + private global::System.Data.DataColumn columnNewest; + + private global::System.Data.DataColumn columnQtaTotPz; + + private global::System.Data.DataColumn columnDescStato; + + private global::System.Data.DataColumn columnEsponente; + + private global::System.Data.DataColumn columnCodMagLog; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public V_DettMagPartDataTable() { + this.TableName = "V_DettMagPart"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal V_DettMagPartDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected V_DettMagPartDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodCSColumn { + get { + return this.columnCodCS; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodMagColumn { + get { + return this.columnCodMag; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescMagColumn { + get { + return this.columnDescMag; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn IdxBloccoColumn { + get { + return this.columnIdxBlocco; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodBloccoColumn { + get { + return this.columnCodBlocco; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ParticolareColumn { + get { + return this.columnParticolare; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NumUDCColumn { + get { + return this.columnNumUDC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn OldestColumn { + get { + return this.columnOldest; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NewestColumn { + get { + return this.columnNewest; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn QtaTotPzColumn { + get { + return this.columnQtaTotPz; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescStatoColumn { + get { + return this.columnDescStato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn EsponenteColumn { + get { + return this.columnEsponente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodMagLogColumn { + get { + return this.columnCodMagLog; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public V_DettMagPartRow this[int index] { + get { + return ((V_DettMagPartRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event V_DettMagPartRowChangeEventHandler V_DettMagPartRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event V_DettMagPartRowChangeEventHandler V_DettMagPartRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event V_DettMagPartRowChangeEventHandler V_DettMagPartRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event V_DettMagPartRowChangeEventHandler V_DettMagPartRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddV_DettMagPartRow(V_DettMagPartRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public V_DettMagPartRow AddV_DettMagPartRow(string CodCS, string CodMag, string DescMag, int IdxBlocco, string CodBlocco, string Particolare, int NumUDC, System.DateTime Oldest, System.DateTime Newest, decimal QtaTotPz, string DescStato, string Esponente, int CodMagLog) { + V_DettMagPartRow rowV_DettMagPartRow = ((V_DettMagPartRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CodCS, + CodMag, + DescMag, + IdxBlocco, + CodBlocco, + Particolare, + NumUDC, + Oldest, + Newest, + QtaTotPz, + DescStato, + Esponente, + CodMagLog}; + rowV_DettMagPartRow.ItemArray = columnValuesArray; + this.Rows.Add(rowV_DettMagPartRow); + return rowV_DettMagPartRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public V_DettMagPartRow FindByCodCSCodMagIdxBloccoParticolareDescStatoEsponenteCodMagLog(string CodCS, string CodMag, int IdxBlocco, string Particolare, string DescStato, string Esponente, int CodMagLog) { + return ((V_DettMagPartRow)(this.Rows.Find(new object[] { + CodCS, + CodMag, + IdxBlocco, + Particolare, + DescStato, + Esponente, + CodMagLog}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + V_DettMagPartDataTable cln = ((V_DettMagPartDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new V_DettMagPartDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnCodCS = base.Columns["CodCS"]; + this.columnCodMag = base.Columns["CodMag"]; + this.columnDescMag = base.Columns["DescMag"]; + this.columnIdxBlocco = base.Columns["IdxBlocco"]; + this.columnCodBlocco = base.Columns["CodBlocco"]; + this.columnParticolare = base.Columns["Particolare"]; + this.columnNumUDC = base.Columns["NumUDC"]; + this.columnOldest = base.Columns["Oldest"]; + this.columnNewest = base.Columns["Newest"]; + this.columnQtaTotPz = base.Columns["QtaTotPz"]; + this.columnDescStato = base.Columns["DescStato"]; + this.columnEsponente = base.Columns["Esponente"]; + this.columnCodMagLog = base.Columns["CodMagLog"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnCodCS = new global::System.Data.DataColumn("CodCS", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCS); + this.columnCodMag = new global::System.Data.DataColumn("CodMag", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodMag); + this.columnDescMag = new global::System.Data.DataColumn("DescMag", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescMag); + this.columnIdxBlocco = new global::System.Data.DataColumn("IdxBlocco", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnIdxBlocco); + this.columnCodBlocco = new global::System.Data.DataColumn("CodBlocco", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodBlocco); + this.columnParticolare = new global::System.Data.DataColumn("Particolare", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnParticolare); + this.columnNumUDC = new global::System.Data.DataColumn("NumUDC", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNumUDC); + this.columnOldest = new global::System.Data.DataColumn("Oldest", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOldest); + this.columnNewest = new global::System.Data.DataColumn("Newest", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNewest); + this.columnQtaTotPz = new global::System.Data.DataColumn("QtaTotPz", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnQtaTotPz); + this.columnDescStato = new global::System.Data.DataColumn("DescStato", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescStato); + this.columnEsponente = new global::System.Data.DataColumn("Esponente", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnEsponente); + this.columnCodMagLog = new global::System.Data.DataColumn("CodMagLog", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodMagLog); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodCS, + this.columnCodMag, + this.columnIdxBlocco, + this.columnParticolare, + this.columnDescStato, + this.columnEsponente, + this.columnCodMagLog}, true)); + this.columnCodCS.AllowDBNull = false; + this.columnCodCS.MaxLength = 2; + this.columnCodMag.AllowDBNull = false; + this.columnCodMag.MaxLength = 50; + this.columnDescMag.MaxLength = 50; + this.columnIdxBlocco.AllowDBNull = false; + this.columnCodBlocco.MaxLength = 3; + this.columnParticolare.AllowDBNull = false; + this.columnParticolare.MaxLength = 15; + this.columnOldest.ReadOnly = true; + this.columnNewest.ReadOnly = true; + this.columnDescStato.AllowDBNull = false; + this.columnDescStato.MaxLength = 50; + this.columnEsponente.AllowDBNull = false; + this.columnEsponente.MaxLength = 6; + this.columnCodMagLog.AllowDBNull = false; + this.columnCodMagLog.DefaultValue = ((int)(0)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public V_DettMagPartRow NewV_DettMagPartRow() { + return ((V_DettMagPartRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new V_DettMagPartRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(V_DettMagPartRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.V_DettMagPartRowChanged != null)) { + this.V_DettMagPartRowChanged(this, new V_DettMagPartRowChangeEvent(((V_DettMagPartRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.V_DettMagPartRowChanging != null)) { + this.V_DettMagPartRowChanging(this, new V_DettMagPartRowChangeEvent(((V_DettMagPartRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.V_DettMagPartRowDeleted != null)) { + this.V_DettMagPartRowDeleted(this, new V_DettMagPartRowChangeEvent(((V_DettMagPartRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.V_DettMagPartRowDeleting != null)) { + this.V_DettMagPartRowDeleting(this, new V_DettMagPartRowChangeEvent(((V_DettMagPartRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveV_DettMagPartRow(V_DettMagPartRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_magazzino ds = new DS_magazzino(); + 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 = "V_DettMagPartDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class TipoListaPrelievoDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodTipoLista; + + private global::System.Data.DataColumn columnDescrLista; + + private global::System.Data.DataColumn columnCodCella; + + private global::System.Data.DataColumn columnCodEvento; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TipoListaPrelievoDataTable() { + this.TableName = "TipoListaPrelievo"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal TipoListaPrelievoDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected TipoListaPrelievoDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodTipoListaColumn { + get { + return this.columnCodTipoLista; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescrListaColumn { + get { + return this.columnDescrLista; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodCellaColumn { + get { + return this.columnCodCella; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodEventoColumn { + get { + return this.columnCodEvento; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TipoListaPrelievoRow this[int index] { + get { + return ((TipoListaPrelievoRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event TipoListaPrelievoRowChangeEventHandler TipoListaPrelievoRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event TipoListaPrelievoRowChangeEventHandler TipoListaPrelievoRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event TipoListaPrelievoRowChangeEventHandler TipoListaPrelievoRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event TipoListaPrelievoRowChangeEventHandler TipoListaPrelievoRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddTipoListaPrelievoRow(TipoListaPrelievoRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TipoListaPrelievoRow AddTipoListaPrelievoRow(string CodTipoLista, string DescrLista, string CodCella, string CodEvento) { + TipoListaPrelievoRow rowTipoListaPrelievoRow = ((TipoListaPrelievoRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CodTipoLista, + DescrLista, + CodCella, + CodEvento}; + rowTipoListaPrelievoRow.ItemArray = columnValuesArray; + this.Rows.Add(rowTipoListaPrelievoRow); + return rowTipoListaPrelievoRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TipoListaPrelievoRow FindByCodTipoLista(string CodTipoLista) { + return ((TipoListaPrelievoRow)(this.Rows.Find(new object[] { + CodTipoLista}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + TipoListaPrelievoDataTable cln = ((TipoListaPrelievoDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new TipoListaPrelievoDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnCodTipoLista = base.Columns["CodTipoLista"]; + this.columnDescrLista = base.Columns["DescrLista"]; + this.columnCodCella = base.Columns["CodCella"]; + this.columnCodEvento = base.Columns["CodEvento"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnCodTipoLista = new global::System.Data.DataColumn("CodTipoLista", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodTipoLista); + this.columnDescrLista = new global::System.Data.DataColumn("DescrLista", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescrLista); + this.columnCodCella = new global::System.Data.DataColumn("CodCella", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCella); + this.columnCodEvento = new global::System.Data.DataColumn("CodEvento", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodEvento); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodTipoLista}, true)); + this.columnCodTipoLista.AllowDBNull = false; + this.columnCodTipoLista.Unique = true; + this.columnCodTipoLista.MaxLength = 10; + this.columnDescrLista.MaxLength = 250; + this.columnCodCella.AllowDBNull = false; + this.columnCodCella.MaxLength = 50; + this.columnCodEvento.AllowDBNull = false; + this.columnCodEvento.MaxLength = 10; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TipoListaPrelievoRow NewTipoListaPrelievoRow() { + return ((TipoListaPrelievoRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new TipoListaPrelievoRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(TipoListaPrelievoRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.TipoListaPrelievoRowChanged != null)) { + this.TipoListaPrelievoRowChanged(this, new TipoListaPrelievoRowChangeEvent(((TipoListaPrelievoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.TipoListaPrelievoRowChanging != null)) { + this.TipoListaPrelievoRowChanging(this, new TipoListaPrelievoRowChangeEvent(((TipoListaPrelievoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.TipoListaPrelievoRowDeleted != null)) { + this.TipoListaPrelievoRowDeleted(this, new TipoListaPrelievoRowChangeEvent(((TipoListaPrelievoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.TipoListaPrelievoRowDeleting != null)) { + this.TipoListaPrelievoRowDeleting(this, new TipoListaPrelievoRowChangeEvent(((TipoListaPrelievoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveTipoListaPrelievoRow(TipoListaPrelievoRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_magazzino ds = new DS_magazzino(); + 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 = "TipoListaPrelievoDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class RigheListePrelievoDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodLista; + + private global::System.Data.DataColumn columnUDC; + + private global::System.Data.DataColumn columnQta; + + private global::System.Data.DataColumn columnProposto; + + private global::System.Data.DataColumn columnPrelevato; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public RigheListePrelievoDataTable() { + this.TableName = "RigheListePrelievo"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal RigheListePrelievoDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected RigheListePrelievoDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodListaColumn { + get { + return this.columnCodLista; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn UDCColumn { + get { + return this.columnUDC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn QtaColumn { + get { + return this.columnQta; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn PropostoColumn { + get { + return this.columnProposto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn PrelevatoColumn { + get { + return this.columnPrelevato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public RigheListePrelievoRow this[int index] { + get { + return ((RigheListePrelievoRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event RigheListePrelievoRowChangeEventHandler RigheListePrelievoRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event RigheListePrelievoRowChangeEventHandler RigheListePrelievoRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event RigheListePrelievoRowChangeEventHandler RigheListePrelievoRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event RigheListePrelievoRowChangeEventHandler RigheListePrelievoRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddRigheListePrelievoRow(RigheListePrelievoRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public RigheListePrelievoRow AddRigheListePrelievoRow(ElencoListePrelievoRow parentElencoListePrelievoRowByFK_RigheListePrelievo_ElencoListePrelievo11, ElencoCartelliniRow parentElencoCartelliniRowByFK_RigheListePrelievo_ElencoCartellini, decimal Qta, bool Proposto, bool Prelevato) { + RigheListePrelievoRow rowRigheListePrelievoRow = ((RigheListePrelievoRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + null, + Qta, + Proposto, + Prelevato}; + if ((parentElencoListePrelievoRowByFK_RigheListePrelievo_ElencoListePrelievo11 != null)) { + columnValuesArray[0] = parentElencoListePrelievoRowByFK_RigheListePrelievo_ElencoListePrelievo11[0]; + } + if ((parentElencoCartelliniRowByFK_RigheListePrelievo_ElencoCartellini != null)) { + columnValuesArray[1] = parentElencoCartelliniRowByFK_RigheListePrelievo_ElencoCartellini[0]; + } + rowRigheListePrelievoRow.ItemArray = columnValuesArray; + this.Rows.Add(rowRigheListePrelievoRow); + return rowRigheListePrelievoRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public RigheListePrelievoRow FindByCodListaUDC(string CodLista, string UDC) { + return ((RigheListePrelievoRow)(this.Rows.Find(new object[] { + CodLista, + UDC}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + RigheListePrelievoDataTable cln = ((RigheListePrelievoDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new RigheListePrelievoDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnCodLista = base.Columns["CodLista"]; + this.columnUDC = base.Columns["UDC"]; + this.columnQta = base.Columns["Qta"]; + this.columnProposto = base.Columns["Proposto"]; + this.columnPrelevato = base.Columns["Prelevato"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnCodLista = new global::System.Data.DataColumn("CodLista", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodLista); + this.columnUDC = new global::System.Data.DataColumn("UDC", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnUDC); + this.columnQta = new global::System.Data.DataColumn("Qta", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnQta); + this.columnProposto = new global::System.Data.DataColumn("Proposto", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnProposto); + this.columnPrelevato = new global::System.Data.DataColumn("Prelevato", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPrelevato); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodLista, + this.columnUDC}, true)); + this.columnCodLista.AllowDBNull = false; + this.columnCodLista.MaxLength = 12; + this.columnUDC.AllowDBNull = false; + this.columnUDC.MaxLength = 50; + this.columnQta.AllowDBNull = false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public RigheListePrelievoRow NewRigheListePrelievoRow() { + return ((RigheListePrelievoRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new RigheListePrelievoRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(RigheListePrelievoRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.RigheListePrelievoRowChanged != null)) { + this.RigheListePrelievoRowChanged(this, new RigheListePrelievoRowChangeEvent(((RigheListePrelievoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.RigheListePrelievoRowChanging != null)) { + this.RigheListePrelievoRowChanging(this, new RigheListePrelievoRowChangeEvent(((RigheListePrelievoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.RigheListePrelievoRowDeleted != null)) { + this.RigheListePrelievoRowDeleted(this, new RigheListePrelievoRowChangeEvent(((RigheListePrelievoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.RigheListePrelievoRowDeleting != null)) { + this.RigheListePrelievoRowDeleting(this, new RigheListePrelievoRowChangeEvent(((RigheListePrelievoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveRigheListePrelievoRow(RigheListePrelievoRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_magazzino ds = new DS_magazzino(); + 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 = "RigheListePrelievoDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class ElencoListePrelievoDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodLista; + + private global::System.Data.DataColumn columnCodTipoLista; + + private global::System.Data.DataColumn columnCodCS; + + private global::System.Data.DataColumn columnDataCreaz; + + private global::System.Data.DataColumn columnCodCliente; + + private global::System.Data.DataColumn columnRagSociale; + + private global::System.Data.DataColumn columnCodSoggetto; + + 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 columnCodImballo; + + private global::System.Data.DataColumn columnQtaTot; + + private global::System.Data.DataColumn columnCodStatoLista; + + private global::System.Data.DataColumn columnPrelevato; + + private global::System.Data.DataColumn columnFigura; + + private global::System.Data.DataColumn columnDestinatario; + + private global::System.Data.DataColumn columnDestinatarioDescrizione; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoListePrelievoDataTable() { + this.TableName = "ElencoListePrelievo"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal ElencoListePrelievoDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected ElencoListePrelievoDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodListaColumn { + get { + return this.columnCodLista; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodTipoListaColumn { + get { + return this.columnCodTipoLista; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodCSColumn { + get { + return this.columnCodCS; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DataCreazColumn { + get { + return this.columnDataCreaz; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodClienteColumn { + get { + return this.columnCodCliente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn RagSocialeColumn { + get { + return this.columnRagSociale; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodSoggettoColumn { + get { + return this.columnCodSoggetto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ParticolareColumn { + get { + return this.columnParticolare; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescParticolareColumn { + get { + return this.columnDescParticolare; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DisegnoGrezzoColumn { + get { + return this.columnDisegnoGrezzo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn EsponenteColumn { + get { + return this.columnEsponente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodImballoColumn { + get { + return this.columnCodImballo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn QtaTotColumn { + get { + return this.columnQtaTot; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodStatoListaColumn { + get { + return this.columnCodStatoLista; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn PrelevatoColumn { + get { + return this.columnPrelevato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn FiguraColumn { + get { + return this.columnFigura; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DestinatarioColumn { + get { + return this.columnDestinatario; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DestinatarioDescrizioneColumn { + get { + return this.columnDestinatarioDescrizione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoListePrelievoRow this[int index] { + get { + return ((ElencoListePrelievoRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event ElencoListePrelievoRowChangeEventHandler ElencoListePrelievoRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event ElencoListePrelievoRowChangeEventHandler ElencoListePrelievoRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event ElencoListePrelievoRowChangeEventHandler ElencoListePrelievoRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event ElencoListePrelievoRowChangeEventHandler ElencoListePrelievoRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddElencoListePrelievoRow(ElencoListePrelievoRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoListePrelievoRow AddElencoListePrelievoRow( + string CodLista, + TipoListaPrelievoRow parentTipoListaPrelievoRowByFK_ElencoListePrelievo_TipoListaPrelievo11, + string CodCS, + System.DateTime DataCreaz, + string CodCliente, + string RagSociale, + string CodSoggetto, + string Particolare, + string DescParticolare, + string DisegnoGrezzo, + string Esponente, + string CodImballo, + decimal QtaTot, + int CodStatoLista, + decimal Prelevato, + string Figura, + string Destinatario, + string DestinatarioDescrizione) { + ElencoListePrelievoRow rowElencoListePrelievoRow = ((ElencoListePrelievoRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CodLista, + null, + CodCS, + DataCreaz, + CodCliente, + RagSociale, + CodSoggetto, + Particolare, + DescParticolare, + DisegnoGrezzo, + Esponente, + CodImballo, + QtaTot, + CodStatoLista, + Prelevato, + Figura, + Destinatario, + DestinatarioDescrizione}; + if ((parentTipoListaPrelievoRowByFK_ElencoListePrelievo_TipoListaPrelievo11 != null)) { + columnValuesArray[1] = parentTipoListaPrelievoRowByFK_ElencoListePrelievo_TipoListaPrelievo11[0]; + } + rowElencoListePrelievoRow.ItemArray = columnValuesArray; + this.Rows.Add(rowElencoListePrelievoRow); + return rowElencoListePrelievoRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoListePrelievoRow FindByCodLista(string CodLista) { + return ((ElencoListePrelievoRow)(this.Rows.Find(new object[] { + CodLista}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + ElencoListePrelievoDataTable cln = ((ElencoListePrelievoDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new ElencoListePrelievoDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnCodLista = base.Columns["CodLista"]; + this.columnCodTipoLista = base.Columns["CodTipoLista"]; + this.columnCodCS = base.Columns["CodCS"]; + this.columnDataCreaz = base.Columns["DataCreaz"]; + this.columnCodCliente = base.Columns["CodCliente"]; + this.columnRagSociale = base.Columns["RagSociale"]; + this.columnCodSoggetto = base.Columns["CodSoggetto"]; + this.columnParticolare = base.Columns["Particolare"]; + this.columnDescParticolare = base.Columns["DescParticolare"]; + this.columnDisegnoGrezzo = base.Columns["DisegnoGrezzo"]; + this.columnEsponente = base.Columns["Esponente"]; + this.columnCodImballo = base.Columns["CodImballo"]; + this.columnQtaTot = base.Columns["QtaTot"]; + this.columnCodStatoLista = base.Columns["CodStatoLista"]; + this.columnPrelevato = base.Columns["Prelevato"]; + this.columnFigura = base.Columns["Figura"]; + this.columnDestinatario = base.Columns["Destinatario"]; + this.columnDestinatarioDescrizione = base.Columns["DestinatarioDescrizione"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnCodLista = new global::System.Data.DataColumn("CodLista", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodLista); + this.columnCodTipoLista = new global::System.Data.DataColumn("CodTipoLista", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodTipoLista); + this.columnCodCS = new global::System.Data.DataColumn("CodCS", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCS); + this.columnDataCreaz = new global::System.Data.DataColumn("DataCreaz", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDataCreaz); + 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.columnCodSoggetto = new global::System.Data.DataColumn("CodSoggetto", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodSoggetto); + 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.columnCodImballo = new global::System.Data.DataColumn("CodImballo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodImballo); + this.columnQtaTot = new global::System.Data.DataColumn("QtaTot", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnQtaTot); + this.columnCodStatoLista = new global::System.Data.DataColumn("CodStatoLista", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodStatoLista); + this.columnPrelevato = new global::System.Data.DataColumn("Prelevato", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPrelevato); + this.columnFigura = new global::System.Data.DataColumn("Figura", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnFigura); + this.columnDestinatario = new global::System.Data.DataColumn("Destinatario", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDestinatario); + this.columnDestinatarioDescrizione = new global::System.Data.DataColumn("DestinatarioDescrizione", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDestinatarioDescrizione); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodLista}, true)); + this.columnCodLista.AllowDBNull = false; + this.columnCodLista.Unique = true; + this.columnCodLista.MaxLength = 12; + this.columnCodTipoLista.AllowDBNull = false; + this.columnCodTipoLista.MaxLength = 10; + this.columnCodCS.AllowDBNull = false; + this.columnCodCS.MaxLength = 2; + this.columnDataCreaz.AllowDBNull = false; + this.columnCodCliente.MaxLength = 6; + this.columnRagSociale.MaxLength = 35; + this.columnCodSoggetto.AllowDBNull = false; + this.columnCodSoggetto.MaxLength = 17; + this.columnParticolare.AllowDBNull = false; + this.columnParticolare.MaxLength = 15; + this.columnDescParticolare.MaxLength = 30; + this.columnDisegnoGrezzo.MaxLength = 30; + this.columnEsponente.MaxLength = 6; + this.columnCodImballo.MaxLength = 15; + this.columnQtaTot.AllowDBNull = false; + this.columnCodStatoLista.AllowDBNull = false; + this.columnPrelevato.ReadOnly = true; + this.columnFigura.MaxLength = 4; + this.columnDestinatario.MaxLength = 50; + this.columnDestinatarioDescrizione.ReadOnly = true; + this.columnDestinatarioDescrizione.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoListePrelievoRow NewElencoListePrelievoRow() { + return ((ElencoListePrelievoRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new ElencoListePrelievoRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(ElencoListePrelievoRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.ElencoListePrelievoRowChanged != null)) { + this.ElencoListePrelievoRowChanged(this, new ElencoListePrelievoRowChangeEvent(((ElencoListePrelievoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.ElencoListePrelievoRowChanging != null)) { + this.ElencoListePrelievoRowChanging(this, new ElencoListePrelievoRowChangeEvent(((ElencoListePrelievoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.ElencoListePrelievoRowDeleted != null)) { + this.ElencoListePrelievoRowDeleted(this, new ElencoListePrelievoRowChangeEvent(((ElencoListePrelievoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.ElencoListePrelievoRowDeleting != null)) { + this.ElencoListePrelievoRowDeleting(this, new ElencoListePrelievoRowChangeEvent(((ElencoListePrelievoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveElencoListePrelievoRow(ElencoListePrelievoRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_magazzino ds = new DS_magazzino(); + 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 = "ElencoListePrelievoDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_righeListePrelievoPosizioneDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodLista; + + private global::System.Data.DataColumn columnUDC; + + private global::System.Data.DataColumn columnQta; + + private global::System.Data.DataColumn columnProposto; + + private global::System.Data.DataColumn columnPrelevato; + + private global::System.Data.DataColumn columnCodCella; + + private global::System.Data.DataColumn columnCodMag; + + private global::System.Data.DataColumn columnCodBlocco; + + private global::System.Data.DataColumn columnX; + + private global::System.Data.DataColumn columnY; + + private global::System.Data.DataColumn columnZ; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_righeListePrelievoPosizioneDataTable() { + this.TableName = "v_righeListePrelievoPosizione"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_righeListePrelievoPosizioneDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected v_righeListePrelievoPosizioneDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodListaColumn { + get { + return this.columnCodLista; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn UDCColumn { + get { + return this.columnUDC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn QtaColumn { + get { + return this.columnQta; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn PropostoColumn { + get { + return this.columnProposto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn PrelevatoColumn { + get { + return this.columnPrelevato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodCellaColumn { + get { + return this.columnCodCella; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodMagColumn { + get { + return this.columnCodMag; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodBloccoColumn { + get { + return this.columnCodBlocco; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn XColumn { + get { + return this.columnX; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn YColumn { + get { + return this.columnY; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ZColumn { + get { + return this.columnZ; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_righeListePrelievoPosizioneRow this[int index] { + get { + return ((v_righeListePrelievoPosizioneRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_righeListePrelievoPosizioneRowChangeEventHandler v_righeListePrelievoPosizioneRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_righeListePrelievoPosizioneRowChangeEventHandler v_righeListePrelievoPosizioneRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_righeListePrelievoPosizioneRowChangeEventHandler v_righeListePrelievoPosizioneRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_righeListePrelievoPosizioneRowChangeEventHandler v_righeListePrelievoPosizioneRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addv_righeListePrelievoPosizioneRow(v_righeListePrelievoPosizioneRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_righeListePrelievoPosizioneRow Addv_righeListePrelievoPosizioneRow(string CodLista, string UDC, decimal Qta, bool Proposto, bool Prelevato, string CodCella, string CodMag, string CodBlocco, int X, int Y, int Z) { + v_righeListePrelievoPosizioneRow rowv_righeListePrelievoPosizioneRow = ((v_righeListePrelievoPosizioneRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CodLista, + UDC, + Qta, + Proposto, + Prelevato, + CodCella, + CodMag, + CodBlocco, + X, + Y, + Z}; + rowv_righeListePrelievoPosizioneRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_righeListePrelievoPosizioneRow); + return rowv_righeListePrelievoPosizioneRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_righeListePrelievoPosizioneRow FindByCodListaUDC(string CodLista, string UDC) { + return ((v_righeListePrelievoPosizioneRow)(this.Rows.Find(new object[] { + CodLista, + UDC}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + v_righeListePrelievoPosizioneDataTable cln = ((v_righeListePrelievoPosizioneDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new v_righeListePrelievoPosizioneDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnCodLista = base.Columns["CodLista"]; + this.columnUDC = base.Columns["UDC"]; + this.columnQta = base.Columns["Qta"]; + this.columnProposto = base.Columns["Proposto"]; + this.columnPrelevato = base.Columns["Prelevato"]; + this.columnCodCella = base.Columns["CodCella"]; + this.columnCodMag = base.Columns["CodMag"]; + this.columnCodBlocco = base.Columns["CodBlocco"]; + this.columnX = base.Columns["X"]; + this.columnY = base.Columns["Y"]; + this.columnZ = base.Columns["Z"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnCodLista = new global::System.Data.DataColumn("CodLista", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodLista); + this.columnUDC = new global::System.Data.DataColumn("UDC", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnUDC); + this.columnQta = new global::System.Data.DataColumn("Qta", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnQta); + this.columnProposto = new global::System.Data.DataColumn("Proposto", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnProposto); + this.columnPrelevato = new global::System.Data.DataColumn("Prelevato", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPrelevato); + this.columnCodCella = new global::System.Data.DataColumn("CodCella", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCella); + this.columnCodMag = new global::System.Data.DataColumn("CodMag", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodMag); + this.columnCodBlocco = new global::System.Data.DataColumn("CodBlocco", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodBlocco); + this.columnX = new global::System.Data.DataColumn("X", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnX); + this.columnY = new global::System.Data.DataColumn("Y", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnY); + this.columnZ = new global::System.Data.DataColumn("Z", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnZ); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodLista, + this.columnUDC}, true)); + this.columnCodLista.AllowDBNull = false; + this.columnCodLista.MaxLength = 12; + this.columnUDC.AllowDBNull = false; + this.columnUDC.MaxLength = 50; + this.columnQta.AllowDBNull = false; + this.columnCodCella.AllowDBNull = false; + this.columnCodCella.MaxLength = 50; + this.columnCodMag.MaxLength = 50; + this.columnCodBlocco.MaxLength = 3; + this.columnX.AllowDBNull = false; + this.columnY.AllowDBNull = false; + this.columnZ.AllowDBNull = false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_righeListePrelievoPosizioneRow Newv_righeListePrelievoPosizioneRow() { + return ((v_righeListePrelievoPosizioneRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_righeListePrelievoPosizioneRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(v_righeListePrelievoPosizioneRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_righeListePrelievoPosizioneRowChanged != null)) { + this.v_righeListePrelievoPosizioneRowChanged(this, new v_righeListePrelievoPosizioneRowChangeEvent(((v_righeListePrelievoPosizioneRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_righeListePrelievoPosizioneRowChanging != null)) { + this.v_righeListePrelievoPosizioneRowChanging(this, new v_righeListePrelievoPosizioneRowChangeEvent(((v_righeListePrelievoPosizioneRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_righeListePrelievoPosizioneRowDeleted != null)) { + this.v_righeListePrelievoPosizioneRowDeleted(this, new v_righeListePrelievoPosizioneRowChangeEvent(((v_righeListePrelievoPosizioneRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_righeListePrelievoPosizioneRowDeleting != null)) { + this.v_righeListePrelievoPosizioneRowDeleting(this, new v_righeListePrelievoPosizioneRowChangeEvent(((v_righeListePrelievoPosizioneRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removev_righeListePrelievoPosizioneRow(v_righeListePrelievoPosizioneRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_magazzino ds = new DS_magazzino(); + 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 = "v_righeListePrelievoPosizioneDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_particolariEsponenteFiguraDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnParticolare; + + private global::System.Data.DataColumn columnDescParticolare; + + private global::System.Data.DataColumn columnEsponente; + + private global::System.Data.DataColumn columnFigura; + + private global::System.Data.DataColumn columnCodImballo; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_particolariEsponenteFiguraDataTable() { + this.TableName = "v_particolariEsponenteFigura"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_particolariEsponenteFiguraDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected v_particolariEsponenteFiguraDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ParticolareColumn { + get { + return this.columnParticolare; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescParticolareColumn { + get { + return this.columnDescParticolare; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn EsponenteColumn { + get { + return this.columnEsponente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn FiguraColumn { + get { + return this.columnFigura; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodImballoColumn { + get { + return this.columnCodImballo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_particolariEsponenteFiguraRow this[int index] { + get { + return ((v_particolariEsponenteFiguraRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_particolariEsponenteFiguraRowChangeEventHandler v_particolariEsponenteFiguraRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_particolariEsponenteFiguraRowChangeEventHandler v_particolariEsponenteFiguraRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_particolariEsponenteFiguraRowChangeEventHandler v_particolariEsponenteFiguraRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_particolariEsponenteFiguraRowChangeEventHandler v_particolariEsponenteFiguraRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addv_particolariEsponenteFiguraRow(v_particolariEsponenteFiguraRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_particolariEsponenteFiguraRow Addv_particolariEsponenteFiguraRow(string Particolare, string DescParticolare, string Esponente, string Figura, string CodImballo) { + v_particolariEsponenteFiguraRow rowv_particolariEsponenteFiguraRow = ((v_particolariEsponenteFiguraRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + Particolare, + DescParticolare, + Esponente, + Figura, + CodImballo}; + rowv_particolariEsponenteFiguraRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_particolariEsponenteFiguraRow); + return rowv_particolariEsponenteFiguraRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_particolariEsponenteFiguraRow FindByParticolareEsponenteFiguraCodImballo(string Particolare, string Esponente, string Figura, string CodImballo) { + return ((v_particolariEsponenteFiguraRow)(this.Rows.Find(new object[] { + Particolare, + Esponente, + Figura, + CodImballo}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + v_particolariEsponenteFiguraDataTable cln = ((v_particolariEsponenteFiguraDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new v_particolariEsponenteFiguraDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnParticolare = base.Columns["Particolare"]; + this.columnDescParticolare = base.Columns["DescParticolare"]; + this.columnEsponente = base.Columns["Esponente"]; + this.columnFigura = base.Columns["Figura"]; + this.columnCodImballo = base.Columns["CodImballo"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + 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.columnEsponente = new global::System.Data.DataColumn("Esponente", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnEsponente); + this.columnFigura = new global::System.Data.DataColumn("Figura", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnFigura); + this.columnCodImballo = new global::System.Data.DataColumn("CodImballo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodImballo); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnParticolare, + this.columnEsponente, + this.columnFigura, + this.columnCodImballo}, true)); + this.columnParticolare.AllowDBNull = false; + this.columnParticolare.MaxLength = 15; + this.columnDescParticolare.MaxLength = 30; + this.columnEsponente.AllowDBNull = false; + this.columnEsponente.ReadOnly = true; + this.columnEsponente.MaxLength = 6; + this.columnFigura.AllowDBNull = false; + this.columnFigura.ReadOnly = true; + this.columnFigura.MaxLength = 4; + this.columnCodImballo.AllowDBNull = false; + this.columnCodImballo.ReadOnly = true; + this.columnCodImballo.MaxLength = 15; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_particolariEsponenteFiguraRow Newv_particolariEsponenteFiguraRow() { + return ((v_particolariEsponenteFiguraRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_particolariEsponenteFiguraRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(v_particolariEsponenteFiguraRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_particolariEsponenteFiguraRowChanged != null)) { + this.v_particolariEsponenteFiguraRowChanged(this, new v_particolariEsponenteFiguraRowChangeEvent(((v_particolariEsponenteFiguraRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_particolariEsponenteFiguraRowChanging != null)) { + this.v_particolariEsponenteFiguraRowChanging(this, new v_particolariEsponenteFiguraRowChangeEvent(((v_particolariEsponenteFiguraRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_particolariEsponenteFiguraRowDeleted != null)) { + this.v_particolariEsponenteFiguraRowDeleted(this, new v_particolariEsponenteFiguraRowChangeEvent(((v_particolariEsponenteFiguraRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_particolariEsponenteFiguraRowDeleting != null)) { + this.v_particolariEsponenteFiguraRowDeleting(this, new v_particolariEsponenteFiguraRowChangeEvent(((v_particolariEsponenteFiguraRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removev_particolariEsponenteFiguraRow(v_particolariEsponenteFiguraRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_magazzino ds = new DS_magazzino(); + 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 = "v_particolariEsponenteFiguraDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class AnagPosizioniDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnIdxPosizione; + + private global::System.Data.DataColumn columnDescPosizione; + + private global::System.Data.DataColumn columnIsRiattivaEnabled; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagPosizioniDataTable() { + this.TableName = "AnagPosizioni"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AnagPosizioniDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected AnagPosizioniDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn IdxPosizioneColumn { + get { + return this.columnIdxPosizione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescPosizioneColumn { + get { + return this.columnDescPosizione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn IsRiattivaEnabledColumn { + get { + return this.columnIsRiattivaEnabled; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagPosizioniRow this[int index] { + get { + return ((AnagPosizioniRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagPosizioniRowChangeEventHandler AnagPosizioniRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagPosizioniRowChangeEventHandler AnagPosizioniRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagPosizioniRowChangeEventHandler AnagPosizioniRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagPosizioniRowChangeEventHandler AnagPosizioniRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddAnagPosizioniRow(AnagPosizioniRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagPosizioniRow AddAnagPosizioniRow(int IdxPosizione, string DescPosizione, bool IsRiattivaEnabled) { + AnagPosizioniRow rowAnagPosizioniRow = ((AnagPosizioniRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + IdxPosizione, + DescPosizione, + IsRiattivaEnabled}; + rowAnagPosizioniRow.ItemArray = columnValuesArray; + this.Rows.Add(rowAnagPosizioniRow); + return rowAnagPosizioniRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagPosizioniRow FindByIdxPosizione(int IdxPosizione) { + return ((AnagPosizioniRow)(this.Rows.Find(new object[] { + IdxPosizione}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + AnagPosizioniDataTable cln = ((AnagPosizioniDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new AnagPosizioniDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnIdxPosizione = base.Columns["IdxPosizione"]; + this.columnDescPosizione = base.Columns["DescPosizione"]; + this.columnIsRiattivaEnabled = base.Columns["IsRiattivaEnabled"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnIdxPosizione = new global::System.Data.DataColumn("IdxPosizione", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnIdxPosizione); + this.columnDescPosizione = new global::System.Data.DataColumn("DescPosizione", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescPosizione); + this.columnIsRiattivaEnabled = new global::System.Data.DataColumn("IsRiattivaEnabled", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnIsRiattivaEnabled); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnIdxPosizione}, true)); + this.columnIdxPosizione.AllowDBNull = false; + this.columnIdxPosizione.Unique = true; + this.columnDescPosizione.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagPosizioniRow NewAnagPosizioniRow() { + return ((AnagPosizioniRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new AnagPosizioniRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(AnagPosizioniRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.AnagPosizioniRowChanged != null)) { + this.AnagPosizioniRowChanged(this, new AnagPosizioniRowChangeEvent(((AnagPosizioniRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.AnagPosizioniRowChanging != null)) { + this.AnagPosizioniRowChanging(this, new AnagPosizioniRowChangeEvent(((AnagPosizioniRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.AnagPosizioniRowDeleted != null)) { + this.AnagPosizioniRowDeleted(this, new AnagPosizioniRowChangeEvent(((AnagPosizioniRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.AnagPosizioniRowDeleting != null)) { + this.AnagPosizioniRowDeleting(this, new AnagPosizioniRowChangeEvent(((AnagPosizioniRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveAnagPosizioniRow(AnagPosizioniRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_magazzino ds = new DS_magazzino(); + 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 = "AnagPosizioniDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class V_statoCelleCapienzaAssegnatiDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnIdxCella; + + private global::System.Data.DataColumn columnCodCella; + + private global::System.Data.DataColumn columnCapienza; + + private global::System.Data.DataColumn columnUdcAssegnati; + + private global::System.Data.DataColumn columnPiena; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public V_statoCelleCapienzaAssegnatiDataTable() { + this.TableName = "V_statoCelleCapienzaAssegnati"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal V_statoCelleCapienzaAssegnatiDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected V_statoCelleCapienzaAssegnatiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn IdxCellaColumn { + get { + return this.columnIdxCella; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodCellaColumn { + get { + return this.columnCodCella; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CapienzaColumn { + get { + return this.columnCapienza; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn UdcAssegnatiColumn { + get { + return this.columnUdcAssegnati; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn PienaColumn { + get { + return this.columnPiena; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public V_statoCelleCapienzaAssegnatiRow this[int index] { + get { + return ((V_statoCelleCapienzaAssegnatiRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event V_statoCelleCapienzaAssegnatiRowChangeEventHandler V_statoCelleCapienzaAssegnatiRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event V_statoCelleCapienzaAssegnatiRowChangeEventHandler V_statoCelleCapienzaAssegnatiRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event V_statoCelleCapienzaAssegnatiRowChangeEventHandler V_statoCelleCapienzaAssegnatiRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event V_statoCelleCapienzaAssegnatiRowChangeEventHandler V_statoCelleCapienzaAssegnatiRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddV_statoCelleCapienzaAssegnatiRow(V_statoCelleCapienzaAssegnatiRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public V_statoCelleCapienzaAssegnatiRow AddV_statoCelleCapienzaAssegnatiRow(int IdxCella, string CodCella, int Capienza, int UdcAssegnati, bool Piena) { + V_statoCelleCapienzaAssegnatiRow rowV_statoCelleCapienzaAssegnatiRow = ((V_statoCelleCapienzaAssegnatiRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + IdxCella, + CodCella, + Capienza, + UdcAssegnati, + Piena}; + rowV_statoCelleCapienzaAssegnatiRow.ItemArray = columnValuesArray; + this.Rows.Add(rowV_statoCelleCapienzaAssegnatiRow); + return rowV_statoCelleCapienzaAssegnatiRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public V_statoCelleCapienzaAssegnatiRow FindByIdxCella(int IdxCella) { + return ((V_statoCelleCapienzaAssegnatiRow)(this.Rows.Find(new object[] { + IdxCella}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + V_statoCelleCapienzaAssegnatiDataTable cln = ((V_statoCelleCapienzaAssegnatiDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new V_statoCelleCapienzaAssegnatiDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnIdxCella = base.Columns["IdxCella"]; + this.columnCodCella = base.Columns["CodCella"]; + this.columnCapienza = base.Columns["Capienza"]; + this.columnUdcAssegnati = base.Columns["UdcAssegnati"]; + this.columnPiena = base.Columns["Piena"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnIdxCella = new global::System.Data.DataColumn("IdxCella", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnIdxCella); + this.columnCodCella = new global::System.Data.DataColumn("CodCella", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCella); + this.columnCapienza = new global::System.Data.DataColumn("Capienza", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCapienza); + this.columnUdcAssegnati = new global::System.Data.DataColumn("UdcAssegnati", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnUdcAssegnati); + this.columnPiena = new global::System.Data.DataColumn("Piena", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPiena); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnIdxCella}, true)); + this.columnIdxCella.AllowDBNull = false; + this.columnIdxCella.Unique = true; + this.columnCodCella.AllowDBNull = false; + this.columnCodCella.MaxLength = 50; + this.columnCapienza.AllowDBNull = false; + this.columnPiena.AllowDBNull = false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public V_statoCelleCapienzaAssegnatiRow NewV_statoCelleCapienzaAssegnatiRow() { + return ((V_statoCelleCapienzaAssegnatiRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new V_statoCelleCapienzaAssegnatiRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(V_statoCelleCapienzaAssegnatiRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.V_statoCelleCapienzaAssegnatiRowChanged != null)) { + this.V_statoCelleCapienzaAssegnatiRowChanged(this, new V_statoCelleCapienzaAssegnatiRowChangeEvent(((V_statoCelleCapienzaAssegnatiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.V_statoCelleCapienzaAssegnatiRowChanging != null)) { + this.V_statoCelleCapienzaAssegnatiRowChanging(this, new V_statoCelleCapienzaAssegnatiRowChangeEvent(((V_statoCelleCapienzaAssegnatiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.V_statoCelleCapienzaAssegnatiRowDeleted != null)) { + this.V_statoCelleCapienzaAssegnatiRowDeleted(this, new V_statoCelleCapienzaAssegnatiRowChangeEvent(((V_statoCelleCapienzaAssegnatiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.V_statoCelleCapienzaAssegnatiRowDeleting != null)) { + this.V_statoCelleCapienzaAssegnatiRowDeleting(this, new V_statoCelleCapienzaAssegnatiRowChangeEvent(((V_statoCelleCapienzaAssegnatiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveV_statoCelleCapienzaAssegnatiRow(V_statoCelleCapienzaAssegnatiRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_magazzino ds = new DS_magazzino(); + 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 = "V_statoCelleCapienzaAssegnatiDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class V_MagazziniLogiciOverviewDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodCS; + + private global::System.Data.DataColumn columnCodMagLogico; + + private global::System.Data.DataColumn columnDescMagLogico; + + private global::System.Data.DataColumn columnIdxBlocco; + + private global::System.Data.DataColumn columnCodMag; + + private global::System.Data.DataColumn columnCodBlocco; + + private global::System.Data.DataColumn columnCelleOccupate; + + private global::System.Data.DataColumn columnOldest; + + private global::System.Data.DataColumn columnNewest; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public V_MagazziniLogiciOverviewDataTable() { + this.TableName = "V_MagazziniLogiciOverview"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal V_MagazziniLogiciOverviewDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected V_MagazziniLogiciOverviewDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodCSColumn { + get { + return this.columnCodCS; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodMagLogicoColumn { + get { + return this.columnCodMagLogico; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescMagLogicoColumn { + get { + return this.columnDescMagLogico; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn IdxBloccoColumn { + get { + return this.columnIdxBlocco; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodMagColumn { + get { + return this.columnCodMag; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodBloccoColumn { + get { + return this.columnCodBlocco; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CelleOccupateColumn { + get { + return this.columnCelleOccupate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn OldestColumn { + get { + return this.columnOldest; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NewestColumn { + get { + return this.columnNewest; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public V_MagazziniLogiciOverviewRow this[int index] { + get { + return ((V_MagazziniLogiciOverviewRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event V_MagazziniLogiciOverviewRowChangeEventHandler V_MagazziniLogiciOverviewRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event V_MagazziniLogiciOverviewRowChangeEventHandler V_MagazziniLogiciOverviewRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event V_MagazziniLogiciOverviewRowChangeEventHandler V_MagazziniLogiciOverviewRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event V_MagazziniLogiciOverviewRowChangeEventHandler V_MagazziniLogiciOverviewRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddV_MagazziniLogiciOverviewRow(V_MagazziniLogiciOverviewRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public V_MagazziniLogiciOverviewRow AddV_MagazziniLogiciOverviewRow(string CodCS, int CodMagLogico, string DescMagLogico, int IdxBlocco, string CodMag, string CodBlocco, int CelleOccupate, System.DateTime Oldest, System.DateTime Newest) { + V_MagazziniLogiciOverviewRow rowV_MagazziniLogiciOverviewRow = ((V_MagazziniLogiciOverviewRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CodCS, + CodMagLogico, + DescMagLogico, + IdxBlocco, + CodMag, + CodBlocco, + CelleOccupate, + Oldest, + Newest}; + rowV_MagazziniLogiciOverviewRow.ItemArray = columnValuesArray; + this.Rows.Add(rowV_MagazziniLogiciOverviewRow); + return rowV_MagazziniLogiciOverviewRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public V_MagazziniLogiciOverviewRow FindByCodMagLogicoIdxBlocco(int CodMagLogico, int IdxBlocco) { + return ((V_MagazziniLogiciOverviewRow)(this.Rows.Find(new object[] { + CodMagLogico, + IdxBlocco}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + V_MagazziniLogiciOverviewDataTable cln = ((V_MagazziniLogiciOverviewDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new V_MagazziniLogiciOverviewDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnCodCS = base.Columns["CodCS"]; + this.columnCodMagLogico = base.Columns["CodMagLogico"]; + this.columnDescMagLogico = base.Columns["DescMagLogico"]; + this.columnIdxBlocco = base.Columns["IdxBlocco"]; + this.columnCodMag = base.Columns["CodMag"]; + this.columnCodBlocco = base.Columns["CodBlocco"]; + this.columnCelleOccupate = base.Columns["CelleOccupate"]; + this.columnOldest = base.Columns["Oldest"]; + this.columnNewest = base.Columns["Newest"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnCodCS = new global::System.Data.DataColumn("CodCS", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCS); + this.columnCodMagLogico = new global::System.Data.DataColumn("CodMagLogico", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodMagLogico); + this.columnDescMagLogico = new global::System.Data.DataColumn("DescMagLogico", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescMagLogico); + this.columnIdxBlocco = new global::System.Data.DataColumn("IdxBlocco", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnIdxBlocco); + this.columnCodMag = new global::System.Data.DataColumn("CodMag", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodMag); + this.columnCodBlocco = new global::System.Data.DataColumn("CodBlocco", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodBlocco); + this.columnCelleOccupate = new global::System.Data.DataColumn("CelleOccupate", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCelleOccupate); + this.columnOldest = new global::System.Data.DataColumn("Oldest", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOldest); + this.columnNewest = new global::System.Data.DataColumn("Newest", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNewest); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodMagLogico, + this.columnIdxBlocco}, true)); + this.columnCodCS.MaxLength = 2; + this.columnCodMagLogico.AllowDBNull = false; + this.columnDescMagLogico.MaxLength = 50; + this.columnIdxBlocco.AllowDBNull = false; + this.columnCodMag.AllowDBNull = false; + this.columnCodMag.MaxLength = 50; + this.columnCodBlocco.AllowDBNull = false; + this.columnCodBlocco.MaxLength = 3; + this.columnOldest.ReadOnly = true; + this.columnNewest.ReadOnly = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public V_MagazziniLogiciOverviewRow NewV_MagazziniLogiciOverviewRow() { + return ((V_MagazziniLogiciOverviewRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new V_MagazziniLogiciOverviewRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(V_MagazziniLogiciOverviewRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.V_MagazziniLogiciOverviewRowChanged != null)) { + this.V_MagazziniLogiciOverviewRowChanged(this, new V_MagazziniLogiciOverviewRowChangeEvent(((V_MagazziniLogiciOverviewRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.V_MagazziniLogiciOverviewRowChanging != null)) { + this.V_MagazziniLogiciOverviewRowChanging(this, new V_MagazziniLogiciOverviewRowChangeEvent(((V_MagazziniLogiciOverviewRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.V_MagazziniLogiciOverviewRowDeleted != null)) { + this.V_MagazziniLogiciOverviewRowDeleted(this, new V_MagazziniLogiciOverviewRowChangeEvent(((V_MagazziniLogiciOverviewRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.V_MagazziniLogiciOverviewRowDeleting != null)) { + this.V_MagazziniLogiciOverviewRowDeleting(this, new V_MagazziniLogiciOverviewRowChangeEvent(((V_MagazziniLogiciOverviewRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveV_MagazziniLogiciOverviewRow(V_MagazziniLogiciOverviewRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_magazzino ds = new DS_magazzino(); + 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 = "V_MagazziniLogiciOverviewDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class RapQualDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnnRapQual; + + private global::System.Data.DataColumn columnDataRapQual; + + private global::System.Data.DataColumn columnProgUDC; + + private global::System.Data.DataColumn columnCodFor; + + private global::System.Data.DataColumn columnDestTerz; + + private global::System.Data.DataColumn columnCodLega; + + private global::System.Data.DataColumn columnDataPrelFus; + + private global::System.Data.DataColumn columnTurnoPrelFus; + + private global::System.Data.DataColumn columnQta; + + private global::System.Data.DataColumn columnDestLega; + + private global::System.Data.DataColumn columnLegaScaric; + + private global::System.Data.DataColumn columnBenesQual; + + private global::System.Data.DataColumn columnUDC; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public RapQualDataTable() { + this.TableName = "RapQual"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal RapQualDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected RapQualDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn nRapQualColumn { + get { + return this.columnnRapQual; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DataRapQualColumn { + get { + return this.columnDataRapQual; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ProgUDCColumn { + get { + return this.columnProgUDC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodForColumn { + get { + return this.columnCodFor; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DestTerzColumn { + get { + return this.columnDestTerz; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodLegaColumn { + get { + return this.columnCodLega; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DataPrelFusColumn { + get { + return this.columnDataPrelFus; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn TurnoPrelFusColumn { + get { + return this.columnTurnoPrelFus; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn QtaColumn { + get { + return this.columnQta; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DestLegaColumn { + get { + return this.columnDestLega; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn LegaScaricColumn { + get { + return this.columnLegaScaric; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn BenesQualColumn { + get { + return this.columnBenesQual; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn UDCColumn { + get { + return this.columnUDC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public RapQualRow this[int index] { + get { + return ((RapQualRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event RapQualRowChangeEventHandler RapQualRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event RapQualRowChangeEventHandler RapQualRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event RapQualRowChangeEventHandler RapQualRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event RapQualRowChangeEventHandler RapQualRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddRapQualRow(RapQualRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public RapQualRow AddRapQualRow(decimal nRapQual, decimal DataRapQual, string ProgUDC, string CodFor, string DestTerz, string CodLega, decimal DataPrelFus, string TurnoPrelFus, decimal Qta, string DestLega, string LegaScaric, string BenesQual, string UDC) { + RapQualRow rowRapQualRow = ((RapQualRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + nRapQual, + DataRapQual, + ProgUDC, + CodFor, + DestTerz, + CodLega, + DataPrelFus, + TurnoPrelFus, + Qta, + DestLega, + LegaScaric, + BenesQual, + UDC}; + rowRapQualRow.ItemArray = columnValuesArray; + this.Rows.Add(rowRapQualRow); + return rowRapQualRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public RapQualRow FindByProgUDC(string ProgUDC) { + return ((RapQualRow)(this.Rows.Find(new object[] { + ProgUDC}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + RapQualDataTable cln = ((RapQualDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new RapQualDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnnRapQual = base.Columns["nRapQual"]; + this.columnDataRapQual = base.Columns["DataRapQual"]; + this.columnProgUDC = base.Columns["ProgUDC"]; + this.columnCodFor = base.Columns["CodFor"]; + this.columnDestTerz = base.Columns["DestTerz"]; + this.columnCodLega = base.Columns["CodLega"]; + this.columnDataPrelFus = base.Columns["DataPrelFus"]; + this.columnTurnoPrelFus = base.Columns["TurnoPrelFus"]; + this.columnQta = base.Columns["Qta"]; + this.columnDestLega = base.Columns["DestLega"]; + this.columnLegaScaric = base.Columns["LegaScaric"]; + this.columnBenesQual = base.Columns["BenesQual"]; + this.columnUDC = base.Columns["UDC"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnnRapQual = new global::System.Data.DataColumn("nRapQual", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnnRapQual); + this.columnDataRapQual = new global::System.Data.DataColumn("DataRapQual", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDataRapQual); + this.columnProgUDC = new global::System.Data.DataColumn("ProgUDC", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnProgUDC); + this.columnCodFor = new global::System.Data.DataColumn("CodFor", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodFor); + this.columnDestTerz = new global::System.Data.DataColumn("DestTerz", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDestTerz); + this.columnCodLega = new global::System.Data.DataColumn("CodLega", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodLega); + this.columnDataPrelFus = new global::System.Data.DataColumn("DataPrelFus", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDataPrelFus); + this.columnTurnoPrelFus = new global::System.Data.DataColumn("TurnoPrelFus", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnTurnoPrelFus); + this.columnQta = new global::System.Data.DataColumn("Qta", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnQta); + this.columnDestLega = new global::System.Data.DataColumn("DestLega", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDestLega); + this.columnLegaScaric = new global::System.Data.DataColumn("LegaScaric", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnLegaScaric); + this.columnBenesQual = new global::System.Data.DataColumn("BenesQual", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnBenesQual); + this.columnUDC = new global::System.Data.DataColumn("UDC", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnUDC); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnProgUDC}, true)); + this.columnnRapQual.AllowDBNull = false; + this.columnDataRapQual.AllowDBNull = false; + this.columnProgUDC.AllowDBNull = false; + this.columnProgUDC.Unique = true; + this.columnProgUDC.MaxLength = 10; + this.columnCodFor.AllowDBNull = false; + this.columnCodFor.MaxLength = 6; + this.columnDestTerz.AllowDBNull = false; + this.columnDestTerz.MaxLength = 6; + this.columnCodLega.AllowDBNull = false; + this.columnCodLega.MaxLength = 15; + this.columnDataPrelFus.AllowDBNull = false; + this.columnTurnoPrelFus.AllowDBNull = false; + this.columnTurnoPrelFus.MaxLength = 5; + this.columnQta.AllowDBNull = false; + this.columnDestLega.AllowDBNull = false; + this.columnDestLega.MaxLength = 3; + this.columnLegaScaric.AllowDBNull = false; + this.columnLegaScaric.MaxLength = 1; + this.columnBenesQual.AllowDBNull = false; + this.columnBenesQual.MaxLength = 1; + this.columnUDC.MaxLength = 13; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public RapQualRow NewRapQualRow() { + return ((RapQualRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new RapQualRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(RapQualRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.RapQualRowChanged != null)) { + this.RapQualRowChanged(this, new RapQualRowChangeEvent(((RapQualRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.RapQualRowChanging != null)) { + this.RapQualRowChanging(this, new RapQualRowChangeEvent(((RapQualRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.RapQualRowDeleted != null)) { + this.RapQualRowDeleted(this, new RapQualRowChangeEvent(((RapQualRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.RapQualRowDeleting != null)) { + this.RapQualRowDeleting(this, new RapQualRowChangeEvent(((RapQualRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveRapQualRow(RapQualRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_magazzino ds = new DS_magazzino(); + 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 = "RapQualDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_posizioniDelibereDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnIdxPosizione; + + private global::System.Data.DataColumn columnCodTipoDelibera; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_posizioniDelibereDataTable() { + this.TableName = "v_posizioniDelibere"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_posizioniDelibereDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected v_posizioniDelibereDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn IdxPosizioneColumn { + get { + return this.columnIdxPosizione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodTipoDeliberaColumn { + get { + return this.columnCodTipoDelibera; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_posizioniDelibereRow this[int index] { + get { + return ((v_posizioniDelibereRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_posizioniDelibereRowChangeEventHandler v_posizioniDelibereRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_posizioniDelibereRowChangeEventHandler v_posizioniDelibereRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_posizioniDelibereRowChangeEventHandler v_posizioniDelibereRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_posizioniDelibereRowChangeEventHandler v_posizioniDelibereRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addv_posizioniDelibereRow(v_posizioniDelibereRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_posizioniDelibereRow Addv_posizioniDelibereRow(int IdxPosizione, string CodTipoDelibera) { + v_posizioniDelibereRow rowv_posizioniDelibereRow = ((v_posizioniDelibereRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + IdxPosizione, + CodTipoDelibera}; + rowv_posizioniDelibereRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_posizioniDelibereRow); + return rowv_posizioniDelibereRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_posizioniDelibereRow FindByCodTipoDelibera(string CodTipoDelibera) { + return ((v_posizioniDelibereRow)(this.Rows.Find(new object[] { + CodTipoDelibera}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + v_posizioniDelibereDataTable cln = ((v_posizioniDelibereDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new v_posizioniDelibereDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnIdxPosizione = base.Columns["IdxPosizione"]; + this.columnCodTipoDelibera = base.Columns["CodTipoDelibera"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnIdxPosizione = new global::System.Data.DataColumn("IdxPosizione", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnIdxPosizione); + this.columnCodTipoDelibera = new global::System.Data.DataColumn("CodTipoDelibera", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodTipoDelibera); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodTipoDelibera}, true)); + this.columnIdxPosizione.AllowDBNull = false; + this.columnCodTipoDelibera.AllowDBNull = false; + this.columnCodTipoDelibera.Unique = true; + this.columnCodTipoDelibera.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_posizioniDelibereRow Newv_posizioniDelibereRow() { + return ((v_posizioniDelibereRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_posizioniDelibereRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(v_posizioniDelibereRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_posizioniDelibereRowChanged != null)) { + this.v_posizioniDelibereRowChanged(this, new v_posizioniDelibereRowChangeEvent(((v_posizioniDelibereRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_posizioniDelibereRowChanging != null)) { + this.v_posizioniDelibereRowChanging(this, new v_posizioniDelibereRowChangeEvent(((v_posizioniDelibereRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_posizioniDelibereRowDeleted != null)) { + this.v_posizioniDelibereRowDeleted(this, new v_posizioniDelibereRowChangeEvent(((v_posizioniDelibereRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_posizioniDelibereRowDeleting != null)) { + this.v_posizioniDelibereRowDeleting(this, new v_posizioniDelibereRowChangeEvent(((v_posizioniDelibereRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removev_posizioniDelibereRow(v_posizioniDelibereRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_magazzino ds = new DS_magazzino(); + 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 = "v_posizioniDelibereDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_RapQualSuntoDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnnRapQual; + + private global::System.Data.DataColumn columnDataRapQual; + + private global::System.Data.DataColumn columnCodFor; + + private global::System.Data.DataColumn columnCodLega; + + private global::System.Data.DataColumn columnQta; + + private global::System.Data.DataColumn columnBenesQual; + + private global::System.Data.DataColumn columnUdcTot; + + private global::System.Data.DataColumn columnUdcAssoc; + + private global::System.Data.DataColumn columnLegaScaric; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_RapQualSuntoDataTable() { + this.TableName = "v_RapQualSunto"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_RapQualSuntoDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected v_RapQualSuntoDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn nRapQualColumn { + get { + return this.columnnRapQual; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DataRapQualColumn { + get { + return this.columnDataRapQual; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodForColumn { + get { + return this.columnCodFor; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodLegaColumn { + get { + return this.columnCodLega; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn QtaColumn { + get { + return this.columnQta; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn BenesQualColumn { + get { + return this.columnBenesQual; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn UdcTotColumn { + get { + return this.columnUdcTot; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn UdcAssocColumn { + get { + return this.columnUdcAssoc; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn LegaScaricColumn { + get { + return this.columnLegaScaric; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_RapQualSuntoRow this[int index] { + get { + return ((v_RapQualSuntoRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_RapQualSuntoRowChangeEventHandler v_RapQualSuntoRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_RapQualSuntoRowChangeEventHandler v_RapQualSuntoRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_RapQualSuntoRowChangeEventHandler v_RapQualSuntoRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_RapQualSuntoRowChangeEventHandler v_RapQualSuntoRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addv_RapQualSuntoRow(v_RapQualSuntoRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_RapQualSuntoRow Addv_RapQualSuntoRow(string nRapQual, decimal DataRapQual, string CodFor, string CodLega, decimal Qta, string BenesQual, int UdcTot, int UdcAssoc, string LegaScaric) { + v_RapQualSuntoRow rowv_RapQualSuntoRow = ((v_RapQualSuntoRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + nRapQual, + DataRapQual, + CodFor, + CodLega, + Qta, + BenesQual, + UdcTot, + UdcAssoc, + LegaScaric}; + rowv_RapQualSuntoRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_RapQualSuntoRow); + return rowv_RapQualSuntoRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + v_RapQualSuntoDataTable cln = ((v_RapQualSuntoDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new v_RapQualSuntoDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnnRapQual = base.Columns["nRapQual"]; + this.columnDataRapQual = base.Columns["DataRapQual"]; + this.columnCodFor = base.Columns["CodFor"]; + this.columnCodLega = base.Columns["CodLega"]; + this.columnQta = base.Columns["Qta"]; + this.columnBenesQual = base.Columns["BenesQual"]; + this.columnUdcTot = base.Columns["UdcTot"]; + this.columnUdcAssoc = base.Columns["UdcAssoc"]; + this.columnLegaScaric = base.Columns["LegaScaric"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnnRapQual = new global::System.Data.DataColumn("nRapQual", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnnRapQual); + this.columnDataRapQual = new global::System.Data.DataColumn("DataRapQual", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDataRapQual); + this.columnCodFor = new global::System.Data.DataColumn("CodFor", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodFor); + this.columnCodLega = new global::System.Data.DataColumn("CodLega", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodLega); + this.columnQta = new global::System.Data.DataColumn("Qta", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnQta); + this.columnBenesQual = new global::System.Data.DataColumn("BenesQual", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnBenesQual); + this.columnUdcTot = new global::System.Data.DataColumn("UdcTot", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnUdcTot); + this.columnUdcAssoc = new global::System.Data.DataColumn("UdcAssoc", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnUdcAssoc); + this.columnLegaScaric = new global::System.Data.DataColumn("LegaScaric", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnLegaScaric); + this.Constraints.Add(new global::System.Data.UniqueConstraint("v_RapQualSuntoKey1", new global::System.Data.DataColumn[] { + this.columnnRapQual, + this.columnDataRapQual, + this.columnBenesQual, + this.columnLegaScaric}, false)); + this.columnDataRapQual.AllowDBNull = false; + this.columnCodFor.AllowDBNull = false; + this.columnCodFor.MaxLength = 6; + this.columnCodLega.AllowDBNull = false; + this.columnCodLega.MaxLength = 15; + this.columnBenesQual.AllowDBNull = false; + this.columnBenesQual.MaxLength = 1; + this.columnLegaScaric.AllowDBNull = false; + this.columnLegaScaric.MaxLength = 1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_RapQualSuntoRow Newv_RapQualSuntoRow() { + return ((v_RapQualSuntoRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_RapQualSuntoRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(v_RapQualSuntoRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_RapQualSuntoRowChanged != null)) { + this.v_RapQualSuntoRowChanged(this, new v_RapQualSuntoRowChangeEvent(((v_RapQualSuntoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_RapQualSuntoRowChanging != null)) { + this.v_RapQualSuntoRowChanging(this, new v_RapQualSuntoRowChangeEvent(((v_RapQualSuntoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_RapQualSuntoRowDeleted != null)) { + this.v_RapQualSuntoRowDeleted(this, new v_RapQualSuntoRowChangeEvent(((v_RapQualSuntoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_RapQualSuntoRowDeleting != null)) { + this.v_RapQualSuntoRowDeleting(this, new v_RapQualSuntoRowChangeEvent(((v_RapQualSuntoRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removev_RapQualSuntoRow(v_RapQualSuntoRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_magazzino ds = new DS_magazzino(); + 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 = "v_RapQualSuntoDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class AnagParticolariDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnParticolare; + + private global::System.Data.DataColumn columnCodCS; + + private global::System.Data.DataColumn columnCodCliente; + + private global::System.Data.DataColumn columnDisegnoGrezzo; + + private global::System.Data.DataColumn columnCodFamiglia; + + private global::System.Data.DataColumn columnDescParticolare; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagParticolariDataTable() { + this.TableName = "AnagParticolari"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AnagParticolariDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected AnagParticolariDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ParticolareColumn { + get { + return this.columnParticolare; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodCSColumn { + get { + return this.columnCodCS; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodClienteColumn { + get { + return this.columnCodCliente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DisegnoGrezzoColumn { + get { + return this.columnDisegnoGrezzo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodFamigliaColumn { + get { + return this.columnCodFamiglia; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescParticolareColumn { + get { + return this.columnDescParticolare; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagParticolariRow this[int index] { + get { + return ((AnagParticolariRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagParticolariRowChangeEventHandler AnagParticolariRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagParticolariRowChangeEventHandler AnagParticolariRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagParticolariRowChangeEventHandler AnagParticolariRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagParticolariRowChangeEventHandler AnagParticolariRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddAnagParticolariRow(AnagParticolariRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagParticolariRow AddAnagParticolariRow(string Particolare, string CodCS, string CodCliente, string DisegnoGrezzo, string CodFamiglia, string DescParticolare) { + AnagParticolariRow rowAnagParticolariRow = ((AnagParticolariRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + Particolare, + CodCS, + CodCliente, + DisegnoGrezzo, + CodFamiglia, + DescParticolare}; + rowAnagParticolariRow.ItemArray = columnValuesArray; + this.Rows.Add(rowAnagParticolariRow); + return rowAnagParticolariRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagParticolariRow FindByParticolare(string Particolare) { + return ((AnagParticolariRow)(this.Rows.Find(new object[] { + Particolare}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + AnagParticolariDataTable cln = ((AnagParticolariDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new AnagParticolariDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnParticolare = base.Columns["Particolare"]; + this.columnCodCS = base.Columns["CodCS"]; + this.columnCodCliente = base.Columns["CodCliente"]; + this.columnDisegnoGrezzo = base.Columns["DisegnoGrezzo"]; + this.columnCodFamiglia = base.Columns["CodFamiglia"]; + this.columnDescParticolare = base.Columns["DescParticolare"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnParticolare = new global::System.Data.DataColumn("Particolare", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnParticolare); + 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.columnDisegnoGrezzo = new global::System.Data.DataColumn("DisegnoGrezzo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDisegnoGrezzo); + this.columnCodFamiglia = new global::System.Data.DataColumn("CodFamiglia", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodFamiglia); + this.columnDescParticolare = new global::System.Data.DataColumn("DescParticolare", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescParticolare); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnParticolare}, true)); + this.columnParticolare.AllowDBNull = false; + this.columnParticolare.Unique = true; + this.columnParticolare.MaxLength = 15; + this.columnCodCS.AllowDBNull = false; + this.columnCodCS.MaxLength = 2; + this.columnCodCliente.AllowDBNull = false; + this.columnCodCliente.MaxLength = 6; + this.columnDisegnoGrezzo.AllowDBNull = false; + this.columnDisegnoGrezzo.MaxLength = 30; + this.columnCodFamiglia.MaxLength = 4; + this.columnDescParticolare.MaxLength = 30; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagParticolariRow NewAnagParticolariRow() { + return ((AnagParticolariRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new AnagParticolariRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(AnagParticolariRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.AnagParticolariRowChanged != null)) { + this.AnagParticolariRowChanged(this, new AnagParticolariRowChangeEvent(((AnagParticolariRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.AnagParticolariRowChanging != null)) { + this.AnagParticolariRowChanging(this, new AnagParticolariRowChangeEvent(((AnagParticolariRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.AnagParticolariRowDeleted != null)) { + this.AnagParticolariRowDeleted(this, new AnagParticolariRowChangeEvent(((AnagParticolariRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.AnagParticolariRowDeleting != null)) { + this.AnagParticolariRowDeleting(this, new AnagParticolariRowChangeEvent(((AnagParticolariRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveAnagParticolariRow(AnagParticolariRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_magazzino ds = new DS_magazzino(); + 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 = "AnagParticolariDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class AnagLegheDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodLega; + + private global::System.Data.DataColumn columnDescLega; + + private global::System.Data.DataColumn columnDescLega2; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagLegheDataTable() { + this.TableName = "AnagLeghe"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AnagLegheDataTable(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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected AnagLegheDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodLegaColumn { + get { + return this.columnCodLega; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescLegaColumn { + get { + return this.columnDescLega; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescLega2Column { + get { + return this.columnDescLega2; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagLegheRow this[int index] { + get { + return ((AnagLegheRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagLegheRowChangeEventHandler AnagLegheRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagLegheRowChangeEventHandler AnagLegheRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagLegheRowChangeEventHandler AnagLegheRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AnagLegheRowChangeEventHandler AnagLegheRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddAnagLegheRow(AnagLegheRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagLegheRow AddAnagLegheRow(string CodLega, string DescLega, string DescLega2) { + AnagLegheRow rowAnagLegheRow = ((AnagLegheRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CodLega, + DescLega, + DescLega2}; + rowAnagLegheRow.ItemArray = columnValuesArray; + this.Rows.Add(rowAnagLegheRow); + return rowAnagLegheRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagLegheRow FindByCodLega(string CodLega) { + return ((AnagLegheRow)(this.Rows.Find(new object[] { + CodLega}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + AnagLegheDataTable cln = ((AnagLegheDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new AnagLegheDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnCodLega = base.Columns["CodLega"]; + this.columnDescLega = base.Columns["DescLega"]; + this.columnDescLega2 = base.Columns["DescLega2"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnCodLega = new global::System.Data.DataColumn("CodLega", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodLega); + this.columnDescLega = new global::System.Data.DataColumn("DescLega", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescLega); + this.columnDescLega2 = new global::System.Data.DataColumn("DescLega2", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescLega2); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodLega}, true)); + this.columnCodLega.AllowDBNull = false; + this.columnCodLega.Unique = true; + this.columnCodLega.MaxLength = 12; + this.columnDescLega.MaxLength = 25; + this.columnDescLega2.MaxLength = 25; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagLegheRow NewAnagLegheRow() { + return ((AnagLegheRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new AnagLegheRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(AnagLegheRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.AnagLegheRowChanged != null)) { + this.AnagLegheRowChanged(this, new AnagLegheRowChangeEvent(((AnagLegheRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.AnagLegheRowChanging != null)) { + this.AnagLegheRowChanging(this, new AnagLegheRowChangeEvent(((AnagLegheRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.AnagLegheRowDeleted != null)) { + this.AnagLegheRowDeleted(this, new AnagLegheRowChangeEvent(((AnagLegheRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.AnagLegheRowDeleting != null)) { + this.AnagLegheRowDeleting(this, new AnagLegheRowChangeEvent(((AnagLegheRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveAnagLegheRow(AnagLegheRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_magazzino ds = new DS_magazzino(); + 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 = "AnagLegheDataTable"; + 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. + /// + public partial class ElencoCartelliniRow : global::System.Data.DataRow { + + private ElencoCartelliniDataTable tableElencoCartellini; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal ElencoCartelliniRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableElencoCartellini = ((ElencoCartelliniDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string UDC { + get { + return ((string)(this[this.tableElencoCartellini.UDCColumn])); + } + set { + this[this.tableElencoCartellini.UDCColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCS { + get { + try { + return ((string)(this[this.tableElencoCartellini.CodCSColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodCS\' in table \'ElencoCartellini\' is DBNull.", e); + } + } + set { + this[this.tableElencoCartellini.CodCSColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCliente { + get { + try { + return ((string)(this[this.tableElencoCartellini.CodClienteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodCliente\' in table \'ElencoCartellini\' is DBNull.", e); + } + } + set { + this[this.tableElencoCartellini.CodClienteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string RagSociale { + get { + try { + return ((string)(this[this.tableElencoCartellini.RagSocialeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'RagSociale\' in table \'ElencoCartellini\' is DBNull.", e); + } + } + set { + this[this.tableElencoCartellini.RagSocialeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Particolare { + get { + try { + return ((string)(this[this.tableElencoCartellini.ParticolareColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Particolare\' in table \'ElencoCartellini\' is DBNull.", e); + } + } + set { + this[this.tableElencoCartellini.ParticolareColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescParticolare { + get { + try { + return ((string)(this[this.tableElencoCartellini.DescParticolareColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescParticolare\' in table \'ElencoCartellini\' is DBNull.", e); + } + } + set { + this[this.tableElencoCartellini.DescParticolareColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DisegnoGrezzo { + get { + try { + return ((string)(this[this.tableElencoCartellini.DisegnoGrezzoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DisegnoGrezzo\' in table \'ElencoCartellini\' is DBNull.", e); + } + } + set { + this[this.tableElencoCartellini.DisegnoGrezzoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Esponente { + get { + try { + return ((string)(this[this.tableElencoCartellini.EsponenteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Esponente\' in table \'ElencoCartellini\' is DBNull.", e); + } + } + set { + this[this.tableElencoCartellini.EsponenteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodImpianto { + get { + try { + return ((string)(this[this.tableElencoCartellini.CodImpiantoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodImpianto\' in table \'ElencoCartellini\' is DBNull.", e); + } + } + set { + this[this.tableElencoCartellini.CodImpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescImpianto { + get { + try { + return ((string)(this[this.tableElencoCartellini.DescImpiantoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescImpianto\' in table \'ElencoCartellini\' is DBNull.", e); + } + } + set { + this[this.tableElencoCartellini.DescImpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodStampo { + get { + try { + return ((string)(this[this.tableElencoCartellini.CodStampoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodStampo\' in table \'ElencoCartellini\' is DBNull.", e); + } + } + set { + this[this.tableElencoCartellini.CodStampoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Figura { + get { + try { + return ((string)(this[this.tableElencoCartellini.FiguraColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Figura\' in table \'ElencoCartellini\' is DBNull.", e); + } + } + set { + this[this.tableElencoCartellini.FiguraColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime DataFus { + get { + try { + return ((global::System.DateTime)(this[this.tableElencoCartellini.DataFusColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DataFus\' in table \'ElencoCartellini\' is DBNull.", e); + } + } + set { + this[this.tableElencoCartellini.DataFusColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int TurnoFus { + get { + try { + return ((int)(this[this.tableElencoCartellini.TurnoFusColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'TurnoFus\' in table \'ElencoCartellini\' is DBNull.", e); + } + } + set { + this[this.tableElencoCartellini.TurnoFusColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodImballo { + get { + try { + return ((string)(this[this.tableElencoCartellini.CodImballoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodImballo\' in table \'ElencoCartellini\' is DBNull.", e); + } + } + set { + this[this.tableElencoCartellini.CodImballoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodSoggetto { + get { + try { + return ((string)(this[this.tableElencoCartellini.CodSoggettoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodSoggetto\' in table \'ElencoCartellini\' is DBNull.", e); + } + } + set { + this[this.tableElencoCartellini.CodSoggettoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int NumCont { + get { + try { + return ((int)(this[this.tableElencoCartellini.NumContColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'NumCont\' in table \'ElencoCartellini\' is DBNull.", e); + } + } + set { + this[this.tableElencoCartellini.NumContColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public double Tara { + get { + try { + return ((double)(this[this.tableElencoCartellini.TaraColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Tara\' in table \'ElencoCartellini\' is DBNull.", e); + } + } + set { + this[this.tableElencoCartellini.TaraColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal Qta { + get { + try { + return ((decimal)(this[this.tableElencoCartellini.QtaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Qta\' in table \'ElencoCartellini\' is DBNull.", e); + } + } + set { + this[this.tableElencoCartellini.QtaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodStato { + get { + try { + return ((string)(this[this.tableElencoCartellini.CodStatoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodStato\' in table \'ElencoCartellini\' is DBNull.", e); + } + } + set { + this[this.tableElencoCartellini.CodStatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int IdxPosizione { + get { + try { + return ((int)(this[this.tableElencoCartellini.IdxPosizioneColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'IdxPosizione\' in table \'ElencoCartellini\' is DBNull.", e); + } + } + set { + this[this.tableElencoCartellini.IdxPosizioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public double PesoTot { + get { + try { + return ((double)(this[this.tableElencoCartellini.PesoTotColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'PesoTot\' in table \'ElencoCartellini\' is DBNull.", e); + } + } + set { + this[this.tableElencoCartellini.PesoTotColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public double PesoCad { + get { + try { + return ((double)(this[this.tableElencoCartellini.PesoCadColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'PesoCad\' in table \'ElencoCartellini\' is DBNull.", e); + } + } + set { + this[this.tableElencoCartellini.PesoCadColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime CreateDate { + get { + try { + return ((global::System.DateTime)(this[this.tableElencoCartellini.CreateDateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CreateDate\' in table \'ElencoCartellini\' is DBNull.", e); + } + } + set { + this[this.tableElencoCartellini.CreateDateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime ModDate { + get { + try { + return ((global::System.DateTime)(this[this.tableElencoCartellini.ModDateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'ModDate\' in table \'ElencoCartellini\' is DBNull.", e); + } + } + set { + this[this.tableElencoCartellini.ModDateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Note { + get { + try { + return ((string)(this[this.tableElencoCartellini.NoteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Note\' in table \'ElencoCartellini\' is DBNull.", e); + } + } + set { + this[this.tableElencoCartellini.NoteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagPosizioniRow AnagPosizioniRow { + get { + return ((AnagPosizioniRow)(this.GetParentRow(this.Table.ParentRelations["FK_ElencoCartellini_AnagPosizioni"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["FK_ElencoCartellini_AnagPosizioni"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodCSNull() { + return this.IsNull(this.tableElencoCartellini.CodCSColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodCSNull() { + this[this.tableElencoCartellini.CodCSColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodClienteNull() { + return this.IsNull(this.tableElencoCartellini.CodClienteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodClienteNull() { + this[this.tableElencoCartellini.CodClienteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsRagSocialeNull() { + return this.IsNull(this.tableElencoCartellini.RagSocialeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetRagSocialeNull() { + this[this.tableElencoCartellini.RagSocialeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsParticolareNull() { + return this.IsNull(this.tableElencoCartellini.ParticolareColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetParticolareNull() { + this[this.tableElencoCartellini.ParticolareColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescParticolareNull() { + return this.IsNull(this.tableElencoCartellini.DescParticolareColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescParticolareNull() { + this[this.tableElencoCartellini.DescParticolareColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDisegnoGrezzoNull() { + return this.IsNull(this.tableElencoCartellini.DisegnoGrezzoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDisegnoGrezzoNull() { + this[this.tableElencoCartellini.DisegnoGrezzoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsEsponenteNull() { + return this.IsNull(this.tableElencoCartellini.EsponenteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetEsponenteNull() { + this[this.tableElencoCartellini.EsponenteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodImpiantoNull() { + return this.IsNull(this.tableElencoCartellini.CodImpiantoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodImpiantoNull() { + this[this.tableElencoCartellini.CodImpiantoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescImpiantoNull() { + return this.IsNull(this.tableElencoCartellini.DescImpiantoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescImpiantoNull() { + this[this.tableElencoCartellini.DescImpiantoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodStampoNull() { + return this.IsNull(this.tableElencoCartellini.CodStampoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodStampoNull() { + this[this.tableElencoCartellini.CodStampoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsFiguraNull() { + return this.IsNull(this.tableElencoCartellini.FiguraColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetFiguraNull() { + this[this.tableElencoCartellini.FiguraColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDataFusNull() { + return this.IsNull(this.tableElencoCartellini.DataFusColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDataFusNull() { + this[this.tableElencoCartellini.DataFusColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsTurnoFusNull() { + return this.IsNull(this.tableElencoCartellini.TurnoFusColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetTurnoFusNull() { + this[this.tableElencoCartellini.TurnoFusColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodImballoNull() { + return this.IsNull(this.tableElencoCartellini.CodImballoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodImballoNull() { + this[this.tableElencoCartellini.CodImballoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodSoggettoNull() { + return this.IsNull(this.tableElencoCartellini.CodSoggettoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodSoggettoNull() { + this[this.tableElencoCartellini.CodSoggettoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsNumContNull() { + return this.IsNull(this.tableElencoCartellini.NumContColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetNumContNull() { + this[this.tableElencoCartellini.NumContColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsTaraNull() { + return this.IsNull(this.tableElencoCartellini.TaraColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetTaraNull() { + this[this.tableElencoCartellini.TaraColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsQtaNull() { + return this.IsNull(this.tableElencoCartellini.QtaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetQtaNull() { + this[this.tableElencoCartellini.QtaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodStatoNull() { + return this.IsNull(this.tableElencoCartellini.CodStatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodStatoNull() { + this[this.tableElencoCartellini.CodStatoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsIdxPosizioneNull() { + return this.IsNull(this.tableElencoCartellini.IdxPosizioneColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetIdxPosizioneNull() { + this[this.tableElencoCartellini.IdxPosizioneColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsPesoTotNull() { + return this.IsNull(this.tableElencoCartellini.PesoTotColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetPesoTotNull() { + this[this.tableElencoCartellini.PesoTotColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsPesoCadNull() { + return this.IsNull(this.tableElencoCartellini.PesoCadColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetPesoCadNull() { + this[this.tableElencoCartellini.PesoCadColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCreateDateNull() { + return this.IsNull(this.tableElencoCartellini.CreateDateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCreateDateNull() { + this[this.tableElencoCartellini.CreateDateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsModDateNull() { + return this.IsNull(this.tableElencoCartellini.ModDateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetModDateNull() { + this[this.tableElencoCartellini.ModDateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsNoteNull() { + return this.IsNull(this.tableElencoCartellini.NoteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetNoteNull() { + this[this.tableElencoCartellini.NoteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public PosizioneUdcCorrenteRow[] GetPosizioneUdcCorrenteRows() { + if ((this.Table.ChildRelations["FK_PosizioneUdcCorrente_ElencoCartellini"] == null)) { + return new PosizioneUdcCorrenteRow[0]; + } + else { + return ((PosizioneUdcCorrenteRow[])(base.GetChildRows(this.Table.ChildRelations["FK_PosizioneUdcCorrente_ElencoCartellini"]))); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public PosizioneUdcStoricoRow[] GetPosizioneUdcStoricoRows() { + if ((this.Table.ChildRelations["FK_PosizioneUdcStorico_ElencoCartellini"] == null)) { + return new PosizioneUdcStoricoRow[0]; + } + else { + return ((PosizioneUdcStoricoRow[])(base.GetChildRows(this.Table.ChildRelations["FK_PosizioneUdcStorico_ElencoCartellini"]))); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public RigheListePrelievoRow[] GetRigheListePrelievoRows() { + if ((this.Table.ChildRelations["FK_RigheListePrelievo_ElencoCartellini"] == null)) { + return new RigheListePrelievoRow[0]; + } + else { + return ((RigheListePrelievoRow[])(base.GetChildRows(this.Table.ChildRelations["FK_RigheListePrelievo_ElencoCartellini"]))); + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class AnagMagRow : global::System.Data.DataRow { + + private AnagMagDataTable tableAnagMag; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AnagMagRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableAnagMag = ((AnagMagDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodMag { + get { + return ((string)(this[this.tableAnagMag.CodMagColumn])); + } + set { + this[this.tableAnagMag.CodMagColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCS { + get { + return ((string)(this[this.tableAnagMag.CodCSColumn])); + } + set { + this[this.tableAnagMag.CodCSColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescMag { + get { + try { + return ((string)(this[this.tableAnagMag.DescMagColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescMag\' in table \'AnagMag\' is DBNull.", e); + } + } + set { + this[this.tableAnagMag.DescMagColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool Nascosto { + get { + try { + return ((bool)(this[this.tableAnagMag.NascostoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Nascosto\' in table \'AnagMag\' is DBNull.", e); + } + } + set { + this[this.tableAnagMag.NascostoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescMagNull() { + return this.IsNull(this.tableAnagMag.DescMagColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescMagNull() { + this[this.tableAnagMag.DescMagColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsNascostoNull() { + return this.IsNull(this.tableAnagMag.NascostoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetNascostoNull() { + this[this.tableAnagMag.NascostoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public BlocchiRow[] GetBlocchiRows() { + if ((this.Table.ChildRelations["FK_Blocchi_AnagMag"] == null)) { + return new BlocchiRow[0]; + } + else { + return ((BlocchiRow[])(base.GetChildRows(this.Table.ChildRelations["FK_Blocchi_AnagMag"]))); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TipoCellaRow[] GetTipoCellaRows() { + if ((this.Table.ChildRelations["FK_TipoCella_AnagMag"] == null)) { + return new TipoCellaRow[0]; + } + else { + return ((TipoCellaRow[])(base.GetChildRows(this.Table.ChildRelations["FK_TipoCella_AnagMag"]))); + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class PosizioneUdcCorrenteRow : global::System.Data.DataRow { + + private PosizioneUdcCorrenteDataTable tablePosizioneUdcCorrente; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal PosizioneUdcCorrenteRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablePosizioneUdcCorrente = ((PosizioneUdcCorrenteDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string UDC { + get { + return ((string)(this[this.tablePosizioneUdcCorrente.UDCColumn])); + } + set { + this[this.tablePosizioneUdcCorrente.UDCColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int IdxCella { + get { + return ((int)(this[this.tablePosizioneUdcCorrente.IdxCellaColumn])); + } + set { + this[this.tablePosizioneUdcCorrente.IdxCellaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCS { + get { + return ((string)(this[this.tablePosizioneUdcCorrente.CodCSColumn])); + } + set { + this[this.tablePosizioneUdcCorrente.CodCSColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime DataRif { + get { + try { + return ((global::System.DateTime)(this[this.tablePosizioneUdcCorrente.DataRifColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DataRif\' in table \'PosizioneUdcCorrente\' is DBNull.", e); + } + } + set { + this[this.tablePosizioneUdcCorrente.DataRifColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoCartelliniRow ElencoCartelliniRow { + get { + return ((ElencoCartelliniRow)(this.GetParentRow(this.Table.ParentRelations["FK_PosizioneUdcCorrente_ElencoCartellini"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["FK_PosizioneUdcCorrente_ElencoCartellini"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public CelleRow CelleRow { + get { + return ((CelleRow)(this.GetParentRow(this.Table.ParentRelations["FK_PosizioneUdcCorrente_Celle"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["FK_PosizioneUdcCorrente_Celle"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDataRifNull() { + return this.IsNull(this.tablePosizioneUdcCorrente.DataRifColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDataRifNull() { + this[this.tablePosizioneUdcCorrente.DataRifColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class PosizioneUdcStoricoRow : global::System.Data.DataRow { + + private PosizioneUdcStoricoDataTable tablePosizioneUdcStorico; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal PosizioneUdcStoricoRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablePosizioneUdcStorico = ((PosizioneUdcStoricoDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string UDC { + get { + return ((string)(this[this.tablePosizioneUdcStorico.UDCColumn])); + } + set { + this[this.tablePosizioneUdcStorico.UDCColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int IdxCella { + get { + return ((int)(this[this.tablePosizioneUdcStorico.IdxCellaColumn])); + } + set { + this[this.tablePosizioneUdcStorico.IdxCellaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCS { + get { + return ((string)(this[this.tablePosizioneUdcStorico.CodCSColumn])); + } + set { + this[this.tablePosizioneUdcStorico.CodCSColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime DataInizio { + get { + return ((global::System.DateTime)(this[this.tablePosizioneUdcStorico.DataInizioColumn])); + } + set { + this[this.tablePosizioneUdcStorico.DataInizioColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime DataFine { + get { + try { + return ((global::System.DateTime)(this[this.tablePosizioneUdcStorico.DataFineColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DataFine\' in table \'PosizioneUdcStorico\' is DBNull.", e); + } + } + set { + this[this.tablePosizioneUdcStorico.DataFineColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoCartelliniRow ElencoCartelliniRow { + get { + return ((ElencoCartelliniRow)(this.GetParentRow(this.Table.ParentRelations["FK_PosizioneUdcStorico_ElencoCartellini"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["FK_PosizioneUdcStorico_ElencoCartellini"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDataFineNull() { + return this.IsNull(this.tablePosizioneUdcStorico.DataFineColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDataFineNull() { + this[this.tablePosizioneUdcStorico.DataFineColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class BlocchiRow : global::System.Data.DataRow { + + private BlocchiDataTable tableBlocchi; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal BlocchiRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableBlocchi = ((BlocchiDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int IdxBlocco { + get { + return ((int)(this[this.tableBlocchi.IdxBloccoColumn])); + } + set { + this[this.tableBlocchi.IdxBloccoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodMag { + get { + try { + return ((string)(this[this.tableBlocchi.CodMagColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodMag\' in table \'Blocchi\' is DBNull.", e); + } + } + set { + this[this.tableBlocchi.CodMagColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCS { + get { + try { + return ((string)(this[this.tableBlocchi.CodCSColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodCS\' in table \'Blocchi\' is DBNull.", e); + } + } + set { + this[this.tableBlocchi.CodCSColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodBlocco { + get { + try { + return ((string)(this[this.tableBlocchi.CodBloccoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodBlocco\' in table \'Blocchi\' is DBNull.", e); + } + } + set { + this[this.tableBlocchi.CodBloccoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescBlocco { + get { + try { + return ((string)(this[this.tableBlocchi.DescBloccoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescBlocco\' in table \'Blocchi\' is DBNull.", e); + } + } + set { + this[this.tableBlocchi.DescBloccoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int NumX { + get { + try { + return ((int)(this[this.tableBlocchi.NumXColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'NumX\' in table \'Blocchi\' is DBNull.", e); + } + } + set { + this[this.tableBlocchi.NumXColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int NumY { + get { + try { + return ((int)(this[this.tableBlocchi.NumYColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'NumY\' in table \'Blocchi\' is DBNull.", e); + } + } + set { + this[this.tableBlocchi.NumYColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int NumZ { + get { + try { + return ((int)(this[this.tableBlocchi.NumZColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'NumZ\' in table \'Blocchi\' is DBNull.", e); + } + } + set { + this[this.tableBlocchi.NumZColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagMagRow AnagMagRowParent { + get { + return ((AnagMagRow)(this.GetParentRow(this.Table.ParentRelations["FK_Blocchi_AnagMag"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["FK_Blocchi_AnagMag"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodMagNull() { + return this.IsNull(this.tableBlocchi.CodMagColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodMagNull() { + this[this.tableBlocchi.CodMagColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodCSNull() { + return this.IsNull(this.tableBlocchi.CodCSColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodCSNull() { + this[this.tableBlocchi.CodCSColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodBloccoNull() { + return this.IsNull(this.tableBlocchi.CodBloccoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodBloccoNull() { + this[this.tableBlocchi.CodBloccoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescBloccoNull() { + return this.IsNull(this.tableBlocchi.DescBloccoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescBloccoNull() { + this[this.tableBlocchi.DescBloccoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsNumXNull() { + return this.IsNull(this.tableBlocchi.NumXColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetNumXNull() { + this[this.tableBlocchi.NumXColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsNumYNull() { + return this.IsNull(this.tableBlocchi.NumYColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetNumYNull() { + this[this.tableBlocchi.NumYColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsNumZNull() { + return this.IsNull(this.tableBlocchi.NumZColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetNumZNull() { + this[this.tableBlocchi.NumZColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public CelleRow[] GetCelleRows() { + if ((this.Table.ChildRelations["FK_Celle_Blocchi1"] == null)) { + return new CelleRow[0]; + } + else { + return ((CelleRow[])(base.GetChildRows(this.Table.ChildRelations["FK_Celle_Blocchi1"]))); + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class CelleRow : global::System.Data.DataRow { + + private CelleDataTable tableCelle; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal CelleRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableCelle = ((CelleDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int IdxCella { + get { + return ((int)(this[this.tableCelle.IdxCellaColumn])); + } + set { + this[this.tableCelle.IdxCellaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCS { + get { + return ((string)(this[this.tableCelle.CodCSColumn])); + } + set { + this[this.tableCelle.CodCSColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCella { + get { + return ((string)(this[this.tableCelle.CodCellaColumn])); + } + set { + this[this.tableCelle.CodCellaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int IdxTipoCella { + get { + try { + return ((int)(this[this.tableCelle.IdxTipoCellaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'IdxTipoCella\' in table \'Celle\' is DBNull.", e); + } + } + set { + this[this.tableCelle.IdxTipoCellaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Descrizione { + get { + try { + return ((string)(this[this.tableCelle.DescrizioneColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Descrizione\' in table \'Celle\' is DBNull.", e); + } + } + set { + this[this.tableCelle.DescrizioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool Attiva { + get { + try { + return ((bool)(this[this.tableCelle.AttivaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Attiva\' in table \'Celle\' is DBNull.", e); + } + } + set { + this[this.tableCelle.AttivaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int IdxBlocco { + get { + return ((int)(this[this.tableCelle.IdxBloccoColumn])); + } + set { + this[this.tableCelle.IdxBloccoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int X { + get { + return ((int)(this[this.tableCelle.XColumn])); + } + set { + this[this.tableCelle.XColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int Y { + get { + return ((int)(this[this.tableCelle.YColumn])); + } + set { + this[this.tableCelle.YColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int Z { + get { + return ((int)(this[this.tableCelle.ZColumn])); + } + set { + this[this.tableCelle.ZColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool Piena { + get { + try { + return ((bool)(this[this.tableCelle.PienaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Piena\' in table \'Celle\' is DBNull.", e); + } + } + set { + this[this.tableCelle.PienaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public BlocchiRow BlocchiRow { + get { + return ((BlocchiRow)(this.GetParentRow(this.Table.ParentRelations["FK_Celle_Blocchi1"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["FK_Celle_Blocchi1"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TipoCellaRow TipoCellaRow { + get { + return ((TipoCellaRow)(this.GetParentRow(this.Table.ParentRelations["FK_Celle_TipoCella"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["FK_Celle_TipoCella"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsIdxTipoCellaNull() { + return this.IsNull(this.tableCelle.IdxTipoCellaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetIdxTipoCellaNull() { + this[this.tableCelle.IdxTipoCellaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescrizioneNull() { + return this.IsNull(this.tableCelle.DescrizioneColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescrizioneNull() { + this[this.tableCelle.DescrizioneColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsAttivaNull() { + return this.IsNull(this.tableCelle.AttivaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetAttivaNull() { + this[this.tableCelle.AttivaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsPienaNull() { + return this.IsNull(this.tableCelle.PienaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetPienaNull() { + this[this.tableCelle.PienaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public PosizioneUdcCorrenteRow[] GetPosizioneUdcCorrenteRows() { + if ((this.Table.ChildRelations["FK_PosizioneUdcCorrente_Celle"] == null)) { + return new PosizioneUdcCorrenteRow[0]; + } + else { + return ((PosizioneUdcCorrenteRow[])(base.GetChildRows(this.Table.ChildRelations["FK_PosizioneUdcCorrente_Celle"]))); + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class TipoCellaRow : global::System.Data.DataRow { + + private TipoCellaDataTable tableTipoCella; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal TipoCellaRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableTipoCella = ((TipoCellaDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int IdxTipoCella { + get { + return ((int)(this[this.tableTipoCella.IdxTipoCellaColumn])); + } + set { + this[this.tableTipoCella.IdxTipoCellaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodMag { + get { + return ((string)(this[this.tableTipoCella.CodMagColumn])); + } + set { + this[this.tableTipoCella.CodMagColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCS { + get { + return ((string)(this[this.tableTipoCella.CodCSColumn])); + } + set { + this[this.tableTipoCella.CodCSColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int Quantita { + get { + return ((int)(this[this.tableTipoCella.QuantitaColumn])); + } + set { + this[this.tableTipoCella.QuantitaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int Capienza { + get { + return ((int)(this[this.tableTipoCella.CapienzaColumn])); + } + set { + this[this.tableTipoCella.CapienzaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public double Max_X { + get { + try { + return ((double)(this[this.tableTipoCella.Max_XColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Max_X\' in table \'TipoCella\' is DBNull.", e); + } + } + set { + this[this.tableTipoCella.Max_XColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public double Max_Y { + get { + try { + return ((double)(this[this.tableTipoCella.Max_YColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Max_Y\' in table \'TipoCella\' is DBNull.", e); + } + } + set { + this[this.tableTipoCella.Max_YColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public double Max_Z { + get { + try { + return ((double)(this[this.tableTipoCella.Max_ZColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Max_Z\' in table \'TipoCella\' is DBNull.", e); + } + } + set { + this[this.tableTipoCella.Max_ZColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public double Max_Kg { + get { + try { + return ((double)(this[this.tableTipoCella.Max_KgColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Max_Kg\' in table \'TipoCella\' is DBNull.", e); + } + } + set { + this[this.tableTipoCella.Max_KgColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool CheckPiena { + get { + return ((bool)(this[this.tableTipoCella.CheckPienaColumn])); + } + set { + this[this.tableTipoCella.CheckPienaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool SetMag { + get { + try { + return ((bool)(this[this.tableTipoCella.SetMagColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'SetMag\' in table \'TipoCella\' is DBNull.", e); + } + } + set { + this[this.tableTipoCella.SetMagColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagMagRow AnagMagRowParent { + get { + return ((AnagMagRow)(this.GetParentRow(this.Table.ParentRelations["FK_TipoCella_AnagMag"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["FK_TipoCella_AnagMag"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsMax_XNull() { + return this.IsNull(this.tableTipoCella.Max_XColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetMax_XNull() { + this[this.tableTipoCella.Max_XColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsMax_YNull() { + return this.IsNull(this.tableTipoCella.Max_YColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetMax_YNull() { + this[this.tableTipoCella.Max_YColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsMax_ZNull() { + return this.IsNull(this.tableTipoCella.Max_ZColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetMax_ZNull() { + this[this.tableTipoCella.Max_ZColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsMax_KgNull() { + return this.IsNull(this.tableTipoCella.Max_KgColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetMax_KgNull() { + this[this.tableTipoCella.Max_KgColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsSetMagNull() { + return this.IsNull(this.tableTipoCella.SetMagColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetSetMagNull() { + this[this.tableTipoCella.SetMagColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public CelleRow[] GetCelleRows() { + if ((this.Table.ChildRelations["FK_Celle_TipoCella"] == null)) { + return new CelleRow[0]; + } + else { + return ((CelleRow[])(base.GetChildRows(this.Table.ChildRelations["FK_Celle_TipoCella"]))); + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class v_UdcDetailRow : global::System.Data.DataRow { + + private v_UdcDetailDataTable tablev_UdcDetail; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_UdcDetailRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_UdcDetail = ((v_UdcDetailDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string UDC { + get { + return ((string)(this[this.tablev_UdcDetail.UDCColumn])); + } + set { + this[this.tablev_UdcDetail.UDCColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string RagSociale { + get { + try { + return ((string)(this[this.tablev_UdcDetail.RagSocialeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'RagSociale\' in table \'v_UdcDetail\' is DBNull.", e); + } + } + set { + this[this.tablev_UdcDetail.RagSocialeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Particolare { + get { + if (this.IsParticolareNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tablev_UdcDetail.ParticolareColumn])); + } + } + set { + this[this.tablev_UdcDetail.ParticolareColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescParticolare { + get { + try { + return ((string)(this[this.tablev_UdcDetail.DescParticolareColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescParticolare\' in table \'v_UdcDetail\' is DBNull.", e); + } + } + set { + this[this.tablev_UdcDetail.DescParticolareColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DisegnoGrezzo { + get { + try { + return ((string)(this[this.tablev_UdcDetail.DisegnoGrezzoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DisegnoGrezzo\' in table \'v_UdcDetail\' is DBNull.", e); + } + } + set { + this[this.tablev_UdcDetail.DisegnoGrezzoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Esponente { + get { + try { + return ((string)(this[this.tablev_UdcDetail.EsponenteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Esponente\' in table \'v_UdcDetail\' is DBNull.", e); + } + } + set { + this[this.tablev_UdcDetail.EsponenteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescImpianto { + get { + try { + return ((string)(this[this.tablev_UdcDetail.DescImpiantoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescImpianto\' in table \'v_UdcDetail\' is DBNull.", e); + } + } + set { + this[this.tablev_UdcDetail.DescImpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime DataFus { + get { + try { + return ((global::System.DateTime)(this[this.tablev_UdcDetail.DataFusColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DataFus\' in table \'v_UdcDetail\' is DBNull.", e); + } + } + set { + this[this.tablev_UdcDetail.DataFusColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int TurnoFus { + get { + try { + return ((int)(this[this.tablev_UdcDetail.TurnoFusColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'TurnoFus\' in table \'v_UdcDetail\' is DBNull.", e); + } + } + set { + this[this.tablev_UdcDetail.TurnoFusColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodImballo { + get { + try { + return ((string)(this[this.tablev_UdcDetail.CodImballoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodImballo\' in table \'v_UdcDetail\' is DBNull.", e); + } + } + set { + this[this.tablev_UdcDetail.CodImballoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal Qta { + get { + try { + return ((decimal)(this[this.tablev_UdcDetail.QtaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Qta\' in table \'v_UdcDetail\' is DBNull.", e); + } + } + set { + this[this.tablev_UdcDetail.QtaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescStato { + get { + try { + return ((string)(this[this.tablev_UdcDetail.DescStatoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescStato\' in table \'v_UdcDetail\' is DBNull.", e); + } + } + set { + this[this.tablev_UdcDetail.DescStatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime ModDate { + get { + try { + return ((global::System.DateTime)(this[this.tablev_UdcDetail.ModDateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'ModDate\' in table \'v_UdcDetail\' is DBNull.", e); + } + } + set { + this[this.tablev_UdcDetail.ModDateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodMag { + get { + try { + return ((string)(this[this.tablev_UdcDetail.CodMagColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodMag\' in table \'v_UdcDetail\' is DBNull.", e); + } + } + set { + this[this.tablev_UdcDetail.CodMagColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodBlocco { + get { + try { + return ((string)(this[this.tablev_UdcDetail.CodBloccoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodBlocco\' in table \'v_UdcDetail\' is DBNull.", e); + } + } + set { + this[this.tablev_UdcDetail.CodBloccoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCella { + get { + try { + return ((string)(this[this.tablev_UdcDetail.CodCellaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodCella\' in table \'v_UdcDetail\' is DBNull.", e); + } + } + set { + this[this.tablev_UdcDetail.CodCellaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int X { + get { + try { + return ((int)(this[this.tablev_UdcDetail.XColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'X\' in table \'v_UdcDetail\' is DBNull.", e); + } + } + set { + this[this.tablev_UdcDetail.XColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int Y { + get { + try { + return ((int)(this[this.tablev_UdcDetail.YColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Y\' in table \'v_UdcDetail\' is DBNull.", e); + } + } + set { + this[this.tablev_UdcDetail.YColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int Z { + get { + try { + return ((int)(this[this.tablev_UdcDetail.ZColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Z\' in table \'v_UdcDetail\' is DBNull.", e); + } + } + set { + this[this.tablev_UdcDetail.ZColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int IdxCella { + get { + try { + return ((int)(this[this.tablev_UdcDetail.IdxCellaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'IdxCella\' in table \'v_UdcDetail\' is DBNull.", e); + } + } + set { + this[this.tablev_UdcDetail.IdxCellaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int IdxPosizione { + get { + try { + return ((int)(this[this.tablev_UdcDetail.IdxPosizioneColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'IdxPosizione\' in table \'v_UdcDetail\' is DBNull.", e); + } + } + set { + this[this.tablev_UdcDetail.IdxPosizioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Note { + get { + try { + return ((string)(this[this.tablev_UdcDetail.NoteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Note\' in table \'v_UdcDetail\' is DBNull.", e); + } + } + set { + this[this.tablev_UdcDetail.NoteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsRagSocialeNull() { + return this.IsNull(this.tablev_UdcDetail.RagSocialeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetRagSocialeNull() { + this[this.tablev_UdcDetail.RagSocialeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsParticolareNull() { + return this.IsNull(this.tablev_UdcDetail.ParticolareColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetParticolareNull() { + this[this.tablev_UdcDetail.ParticolareColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescParticolareNull() { + return this.IsNull(this.tablev_UdcDetail.DescParticolareColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescParticolareNull() { + this[this.tablev_UdcDetail.DescParticolareColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDisegnoGrezzoNull() { + return this.IsNull(this.tablev_UdcDetail.DisegnoGrezzoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDisegnoGrezzoNull() { + this[this.tablev_UdcDetail.DisegnoGrezzoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsEsponenteNull() { + return this.IsNull(this.tablev_UdcDetail.EsponenteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetEsponenteNull() { + this[this.tablev_UdcDetail.EsponenteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescImpiantoNull() { + return this.IsNull(this.tablev_UdcDetail.DescImpiantoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescImpiantoNull() { + this[this.tablev_UdcDetail.DescImpiantoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDataFusNull() { + return this.IsNull(this.tablev_UdcDetail.DataFusColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDataFusNull() { + this[this.tablev_UdcDetail.DataFusColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsTurnoFusNull() { + return this.IsNull(this.tablev_UdcDetail.TurnoFusColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetTurnoFusNull() { + this[this.tablev_UdcDetail.TurnoFusColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodImballoNull() { + return this.IsNull(this.tablev_UdcDetail.CodImballoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodImballoNull() { + this[this.tablev_UdcDetail.CodImballoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsQtaNull() { + return this.IsNull(this.tablev_UdcDetail.QtaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetQtaNull() { + this[this.tablev_UdcDetail.QtaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescStatoNull() { + return this.IsNull(this.tablev_UdcDetail.DescStatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescStatoNull() { + this[this.tablev_UdcDetail.DescStatoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsModDateNull() { + return this.IsNull(this.tablev_UdcDetail.ModDateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetModDateNull() { + this[this.tablev_UdcDetail.ModDateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodMagNull() { + return this.IsNull(this.tablev_UdcDetail.CodMagColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodMagNull() { + this[this.tablev_UdcDetail.CodMagColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodBloccoNull() { + return this.IsNull(this.tablev_UdcDetail.CodBloccoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodBloccoNull() { + this[this.tablev_UdcDetail.CodBloccoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodCellaNull() { + return this.IsNull(this.tablev_UdcDetail.CodCellaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodCellaNull() { + this[this.tablev_UdcDetail.CodCellaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsXNull() { + return this.IsNull(this.tablev_UdcDetail.XColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetXNull() { + this[this.tablev_UdcDetail.XColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsYNull() { + return this.IsNull(this.tablev_UdcDetail.YColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetYNull() { + this[this.tablev_UdcDetail.YColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsZNull() { + return this.IsNull(this.tablev_UdcDetail.ZColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetZNull() { + this[this.tablev_UdcDetail.ZColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsIdxCellaNull() { + return this.IsNull(this.tablev_UdcDetail.IdxCellaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetIdxCellaNull() { + this[this.tablev_UdcDetail.IdxCellaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsIdxPosizioneNull() { + return this.IsNull(this.tablev_UdcDetail.IdxPosizioneColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetIdxPosizioneNull() { + this[this.tablev_UdcDetail.IdxPosizioneColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsNoteNull() { + return this.IsNull(this.tablev_UdcDetail.NoteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetNoteNull() { + this[this.tablev_UdcDetail.NoteColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class AnagImballiRow : global::System.Data.DataRow { + + private AnagImballiDataTable tableAnagImballi; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AnagImballiRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableAnagImballi = ((AnagImballiDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodImballo { + get { + return ((string)(this[this.tableAnagImballi.CodImballoColumn])); + } + set { + this[this.tableAnagImballi.CodImballoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string ClasseArticolo { + get { + try { + return ((string)(this[this.tableAnagImballi.ClasseArticoloColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'ClasseArticolo\' in table \'AnagImballi\' is DBNull.", e); + } + } + set { + this[this.tableAnagImballi.ClasseArticoloColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescImballo { + get { + try { + return ((string)(this[this.tableAnagImballi.DescImballoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescImballo\' in table \'AnagImballi\' is DBNull.", e); + } + } + set { + this[this.tableAnagImballi.DescImballoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsClasseArticoloNull() { + return this.IsNull(this.tableAnagImballi.ClasseArticoloColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetClasseArticoloNull() { + this[this.tableAnagImballi.ClasseArticoloColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescImballoNull() { + return this.IsNull(this.tableAnagImballi.DescImballoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescImballoNull() { + this[this.tableAnagImballi.DescImballoColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class V_ParticolariOverviewRow : global::System.Data.DataRow { + + private V_ParticolariOverviewDataTable tableV_ParticolariOverview; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal V_ParticolariOverviewRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableV_ParticolariOverview = ((V_ParticolariOverviewDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Particolare { + get { + return ((string)(this[this.tableV_ParticolariOverview.ParticolareColumn])); + } + set { + this[this.tableV_ParticolariOverview.ParticolareColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescParticolare { + get { + try { + return ((string)(this[this.tableV_ParticolariOverview.DescParticolareColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescParticolare\' in table \'V_ParticolariOverview\' is DBNull" + + ".", e); + } + } + set { + this[this.tableV_ParticolariOverview.DescParticolareColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int NumUDC { + get { + try { + return ((int)(this[this.tableV_ParticolariOverview.NumUDCColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'NumUDC\' in table \'V_ParticolariOverview\' is DBNull.", e); + } + } + set { + this[this.tableV_ParticolariOverview.NumUDCColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal TotQta { + get { + try { + return ((decimal)(this[this.tableV_ParticolariOverview.TotQtaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'TotQta\' in table \'V_ParticolariOverview\' is DBNull.", e); + } + } + set { + this[this.tableV_ParticolariOverview.TotQtaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int NumInMag { + get { + try { + return ((int)(this[this.tableV_ParticolariOverview.NumInMagColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'NumInMag\' in table \'V_ParticolariOverview\' is DBNull.", e); + } + } + set { + this[this.tableV_ParticolariOverview.NumInMagColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescParticolareNull() { + return this.IsNull(this.tableV_ParticolariOverview.DescParticolareColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescParticolareNull() { + this[this.tableV_ParticolariOverview.DescParticolareColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsNumUDCNull() { + return this.IsNull(this.tableV_ParticolariOverview.NumUDCColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetNumUDCNull() { + this[this.tableV_ParticolariOverview.NumUDCColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsTotQtaNull() { + return this.IsNull(this.tableV_ParticolariOverview.TotQtaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetTotQtaNull() { + this[this.tableV_ParticolariOverview.TotQtaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsNumInMagNull() { + return this.IsNull(this.tableV_ParticolariOverview.NumInMagColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetNumInMagNull() { + this[this.tableV_ParticolariOverview.NumInMagColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class V_MagazziniOverviewRow : global::System.Data.DataRow { + + private V_MagazziniOverviewDataTable tableV_MagazziniOverview; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal V_MagazziniOverviewRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableV_MagazziniOverview = ((V_MagazziniOverviewDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCS { + get { + return ((string)(this[this.tableV_MagazziniOverview.CodCSColumn])); + } + set { + this[this.tableV_MagazziniOverview.CodCSColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodMag { + get { + return ((string)(this[this.tableV_MagazziniOverview.CodMagColumn])); + } + set { + this[this.tableV_MagazziniOverview.CodMagColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescMag { + get { + try { + return ((string)(this[this.tableV_MagazziniOverview.DescMagColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescMag\' in table \'V_MagazziniOverview\' is DBNull.", e); + } + } + set { + this[this.tableV_MagazziniOverview.DescMagColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int IdxBlocco { + get { + return ((int)(this[this.tableV_MagazziniOverview.IdxBloccoColumn])); + } + set { + this[this.tableV_MagazziniOverview.IdxBloccoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodBlocco { + get { + return ((string)(this[this.tableV_MagazziniOverview.CodBloccoColumn])); + } + set { + this[this.tableV_MagazziniOverview.CodBloccoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int TotCelle { + get { + try { + return ((int)(this[this.tableV_MagazziniOverview.TotCelleColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'TotCelle\' in table \'V_MagazziniOverview\' is DBNull.", e); + } + } + set { + this[this.tableV_MagazziniOverview.TotCelleColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int CelleAttive { + get { + try { + return ((int)(this[this.tableV_MagazziniOverview.CelleAttiveColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CelleAttive\' in table \'V_MagazziniOverview\' is DBNull.", e); + } + } + set { + this[this.tableV_MagazziniOverview.CelleAttiveColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int CelleOccupate { + get { + try { + return ((int)(this[this.tableV_MagazziniOverview.CelleOccupateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CelleOccupate\' in table \'V_MagazziniOverview\' is DBNull.", e); + } + } + set { + this[this.tableV_MagazziniOverview.CelleOccupateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int CelleLibere { + get { + try { + return ((int)(this[this.tableV_MagazziniOverview.CelleLibereColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CelleLibere\' in table \'V_MagazziniOverview\' is DBNull.", e); + } + } + set { + this[this.tableV_MagazziniOverview.CelleLibereColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime Oldest { + get { + try { + return ((global::System.DateTime)(this[this.tableV_MagazziniOverview.OldestColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Oldest\' in table \'V_MagazziniOverview\' is DBNull.", e); + } + } + set { + this[this.tableV_MagazziniOverview.OldestColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime Newest { + get { + try { + return ((global::System.DateTime)(this[this.tableV_MagazziniOverview.NewestColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Newest\' in table \'V_MagazziniOverview\' is DBNull.", e); + } + } + set { + this[this.tableV_MagazziniOverview.NewestColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescBlocco { + get { + try { + return ((string)(this[this.tableV_MagazziniOverview.DescBloccoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescBlocco\' in table \'V_MagazziniOverview\' is DBNull.", e); + } + } + set { + this[this.tableV_MagazziniOverview.DescBloccoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescMagNull() { + return this.IsNull(this.tableV_MagazziniOverview.DescMagColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescMagNull() { + this[this.tableV_MagazziniOverview.DescMagColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsTotCelleNull() { + return this.IsNull(this.tableV_MagazziniOverview.TotCelleColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetTotCelleNull() { + this[this.tableV_MagazziniOverview.TotCelleColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCelleAttiveNull() { + return this.IsNull(this.tableV_MagazziniOverview.CelleAttiveColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCelleAttiveNull() { + this[this.tableV_MagazziniOverview.CelleAttiveColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCelleOccupateNull() { + return this.IsNull(this.tableV_MagazziniOverview.CelleOccupateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCelleOccupateNull() { + this[this.tableV_MagazziniOverview.CelleOccupateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCelleLibereNull() { + return this.IsNull(this.tableV_MagazziniOverview.CelleLibereColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCelleLibereNull() { + this[this.tableV_MagazziniOverview.CelleLibereColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsOldestNull() { + return this.IsNull(this.tableV_MagazziniOverview.OldestColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetOldestNull() { + this[this.tableV_MagazziniOverview.OldestColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsNewestNull() { + return this.IsNull(this.tableV_MagazziniOverview.NewestColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetNewestNull() { + this[this.tableV_MagazziniOverview.NewestColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescBloccoNull() { + return this.IsNull(this.tableV_MagazziniOverview.DescBloccoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescBloccoNull() { + this[this.tableV_MagazziniOverview.DescBloccoColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class V_DettMagPartRow : global::System.Data.DataRow { + + private V_DettMagPartDataTable tableV_DettMagPart; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal V_DettMagPartRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableV_DettMagPart = ((V_DettMagPartDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCS { + get { + return ((string)(this[this.tableV_DettMagPart.CodCSColumn])); + } + set { + this[this.tableV_DettMagPart.CodCSColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodMag { + get { + return ((string)(this[this.tableV_DettMagPart.CodMagColumn])); + } + set { + this[this.tableV_DettMagPart.CodMagColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescMag { + get { + try { + return ((string)(this[this.tableV_DettMagPart.DescMagColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescMag\' in table \'V_DettMagPart\' is DBNull.", e); + } + } + set { + this[this.tableV_DettMagPart.DescMagColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int IdxBlocco { + get { + return ((int)(this[this.tableV_DettMagPart.IdxBloccoColumn])); + } + set { + this[this.tableV_DettMagPart.IdxBloccoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodBlocco { + get { + try { + return ((string)(this[this.tableV_DettMagPart.CodBloccoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodBlocco\' in table \'V_DettMagPart\' is DBNull.", e); + } + } + set { + this[this.tableV_DettMagPart.CodBloccoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Particolare { + get { + return ((string)(this[this.tableV_DettMagPart.ParticolareColumn])); + } + set { + this[this.tableV_DettMagPart.ParticolareColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int NumUDC { + get { + try { + return ((int)(this[this.tableV_DettMagPart.NumUDCColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'NumUDC\' in table \'V_DettMagPart\' is DBNull.", e); + } + } + set { + this[this.tableV_DettMagPart.NumUDCColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime Oldest { + get { + try { + return ((global::System.DateTime)(this[this.tableV_DettMagPart.OldestColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Oldest\' in table \'V_DettMagPart\' is DBNull.", e); + } + } + set { + this[this.tableV_DettMagPart.OldestColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime Newest { + get { + try { + return ((global::System.DateTime)(this[this.tableV_DettMagPart.NewestColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Newest\' in table \'V_DettMagPart\' is DBNull.", e); + } + } + set { + this[this.tableV_DettMagPart.NewestColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal QtaTotPz { + get { + try { + return ((decimal)(this[this.tableV_DettMagPart.QtaTotPzColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'QtaTotPz\' in table \'V_DettMagPart\' is DBNull.", e); + } + } + set { + this[this.tableV_DettMagPart.QtaTotPzColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescStato { + get { + return ((string)(this[this.tableV_DettMagPart.DescStatoColumn])); + } + set { + this[this.tableV_DettMagPart.DescStatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Esponente { + get { + return ((string)(this[this.tableV_DettMagPart.EsponenteColumn])); + } + set { + this[this.tableV_DettMagPart.EsponenteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int CodMagLog { + get { + return ((int)(this[this.tableV_DettMagPart.CodMagLogColumn])); + } + set { + this[this.tableV_DettMagPart.CodMagLogColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescMagNull() { + return this.IsNull(this.tableV_DettMagPart.DescMagColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescMagNull() { + this[this.tableV_DettMagPart.DescMagColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodBloccoNull() { + return this.IsNull(this.tableV_DettMagPart.CodBloccoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodBloccoNull() { + this[this.tableV_DettMagPart.CodBloccoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsNumUDCNull() { + return this.IsNull(this.tableV_DettMagPart.NumUDCColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetNumUDCNull() { + this[this.tableV_DettMagPart.NumUDCColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsOldestNull() { + return this.IsNull(this.tableV_DettMagPart.OldestColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetOldestNull() { + this[this.tableV_DettMagPart.OldestColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsNewestNull() { + return this.IsNull(this.tableV_DettMagPart.NewestColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetNewestNull() { + this[this.tableV_DettMagPart.NewestColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsQtaTotPzNull() { + return this.IsNull(this.tableV_DettMagPart.QtaTotPzColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetQtaTotPzNull() { + this[this.tableV_DettMagPart.QtaTotPzColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class TipoListaPrelievoRow : global::System.Data.DataRow { + + private TipoListaPrelievoDataTable tableTipoListaPrelievo; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal TipoListaPrelievoRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableTipoListaPrelievo = ((TipoListaPrelievoDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodTipoLista { + get { + return ((string)(this[this.tableTipoListaPrelievo.CodTipoListaColumn])); + } + set { + this[this.tableTipoListaPrelievo.CodTipoListaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescrLista { + get { + try { + return ((string)(this[this.tableTipoListaPrelievo.DescrListaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescrLista\' in table \'TipoListaPrelievo\' is DBNull.", e); + } + } + set { + this[this.tableTipoListaPrelievo.DescrListaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCella { + get { + return ((string)(this[this.tableTipoListaPrelievo.CodCellaColumn])); + } + set { + this[this.tableTipoListaPrelievo.CodCellaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodEvento { + get { + return ((string)(this[this.tableTipoListaPrelievo.CodEventoColumn])); + } + set { + this[this.tableTipoListaPrelievo.CodEventoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescrListaNull() { + return this.IsNull(this.tableTipoListaPrelievo.DescrListaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescrListaNull() { + this[this.tableTipoListaPrelievo.DescrListaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoListePrelievoRow[] _GetElencoListePrelievoRows() { + if ((this.Table.ChildRelations["FK_ElencoListePrelievo_TipoListaPrelievo11"] == null)) { + return new ElencoListePrelievoRow[0]; + } + else { + return ((ElencoListePrelievoRow[])(base.GetChildRows(this.Table.ChildRelations["FK_ElencoListePrelievo_TipoListaPrelievo11"]))); + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class RigheListePrelievoRow : global::System.Data.DataRow { + + private RigheListePrelievoDataTable tableRigheListePrelievo; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal RigheListePrelievoRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableRigheListePrelievo = ((RigheListePrelievoDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodLista { + get { + return ((string)(this[this.tableRigheListePrelievo.CodListaColumn])); + } + set { + this[this.tableRigheListePrelievo.CodListaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string UDC { + get { + return ((string)(this[this.tableRigheListePrelievo.UDCColumn])); + } + set { + this[this.tableRigheListePrelievo.UDCColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal Qta { + get { + return ((decimal)(this[this.tableRigheListePrelievo.QtaColumn])); + } + set { + this[this.tableRigheListePrelievo.QtaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool Proposto { + get { + try { + return ((bool)(this[this.tableRigheListePrelievo.PropostoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Proposto\' in table \'RigheListePrelievo\' is DBNull.", e); + } + } + set { + this[this.tableRigheListePrelievo.PropostoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool Prelevato { + get { + try { + return ((bool)(this[this.tableRigheListePrelievo.PrelevatoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Prelevato\' in table \'RigheListePrelievo\' is DBNull.", e); + } + } + set { + this[this.tableRigheListePrelievo.PrelevatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoCartelliniRow ElencoCartelliniRow { + get { + return ((ElencoCartelliniRow)(this.GetParentRow(this.Table.ParentRelations["FK_RigheListePrelievo_ElencoCartellini"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["FK_RigheListePrelievo_ElencoCartellini"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoListePrelievoRow _ElencoListePrelievoRow { + get { + return ((ElencoListePrelievoRow)(this.GetParentRow(this.Table.ParentRelations["FK_RigheListePrelievo_ElencoListePrelievo11"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["FK_RigheListePrelievo_ElencoListePrelievo11"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsPropostoNull() { + return this.IsNull(this.tableRigheListePrelievo.PropostoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetPropostoNull() { + this[this.tableRigheListePrelievo.PropostoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsPrelevatoNull() { + return this.IsNull(this.tableRigheListePrelievo.PrelevatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetPrelevatoNull() { + this[this.tableRigheListePrelievo.PrelevatoColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class ElencoListePrelievoRow : global::System.Data.DataRow { + + private ElencoListePrelievoDataTable tableElencoListePrelievo; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal ElencoListePrelievoRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableElencoListePrelievo = ((ElencoListePrelievoDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodLista { + get { + return ((string)(this[this.tableElencoListePrelievo.CodListaColumn])); + } + set { + this[this.tableElencoListePrelievo.CodListaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodTipoLista { + get { + return ((string)(this[this.tableElencoListePrelievo.CodTipoListaColumn])); + } + set { + this[this.tableElencoListePrelievo.CodTipoListaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCS { + get { + return ((string)(this[this.tableElencoListePrelievo.CodCSColumn])); + } + set { + this[this.tableElencoListePrelievo.CodCSColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime DataCreaz { + get { + return ((global::System.DateTime)(this[this.tableElencoListePrelievo.DataCreazColumn])); + } + set { + this[this.tableElencoListePrelievo.DataCreazColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCliente { + get { + try { + return ((string)(this[this.tableElencoListePrelievo.CodClienteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodCliente\' in table \'ElencoListePrelievo\' is DBNull.", e); + } + } + set { + this[this.tableElencoListePrelievo.CodClienteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string RagSociale { + get { + try { + return ((string)(this[this.tableElencoListePrelievo.RagSocialeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'RagSociale\' in table \'ElencoListePrelievo\' is DBNull.", e); + } + } + set { + this[this.tableElencoListePrelievo.RagSocialeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodSoggetto { + get { + return ((string)(this[this.tableElencoListePrelievo.CodSoggettoColumn])); + } + set { + this[this.tableElencoListePrelievo.CodSoggettoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Particolare { + get { + return ((string)(this[this.tableElencoListePrelievo.ParticolareColumn])); + } + set { + this[this.tableElencoListePrelievo.ParticolareColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescParticolare { + get { + try { + return ((string)(this[this.tableElencoListePrelievo.DescParticolareColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescParticolare\' in table \'ElencoListePrelievo\' is DBNull.", e); + } + } + set { + this[this.tableElencoListePrelievo.DescParticolareColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DisegnoGrezzo { + get { + try { + return ((string)(this[this.tableElencoListePrelievo.DisegnoGrezzoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DisegnoGrezzo\' in table \'ElencoListePrelievo\' is DBNull.", e); + } + } + set { + this[this.tableElencoListePrelievo.DisegnoGrezzoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Esponente { + get { + try { + return ((string)(this[this.tableElencoListePrelievo.EsponenteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Esponente\' in table \'ElencoListePrelievo\' is DBNull.", e); + } + } + set { + this[this.tableElencoListePrelievo.EsponenteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodImballo { + get { + try { + return ((string)(this[this.tableElencoListePrelievo.CodImballoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodImballo\' in table \'ElencoListePrelievo\' is DBNull.", e); + } + } + set { + this[this.tableElencoListePrelievo.CodImballoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal QtaTot { + get { + return ((decimal)(this[this.tableElencoListePrelievo.QtaTotColumn])); + } + set { + this[this.tableElencoListePrelievo.QtaTotColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int CodStatoLista { + get { + return ((int)(this[this.tableElencoListePrelievo.CodStatoListaColumn])); + } + set { + this[this.tableElencoListePrelievo.CodStatoListaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal Prelevato { + get { + try { + return ((decimal)(this[this.tableElencoListePrelievo.PrelevatoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Prelevato\' in table \'ElencoListePrelievo\' is DBNull.", e); + } + } + set { + this[this.tableElencoListePrelievo.PrelevatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Figura { + get { + try { + return ((string)(this[this.tableElencoListePrelievo.FiguraColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Figura\' in table \'ElencoListePrelievo\' is DBNull.", e); + } + } + set { + this[this.tableElencoListePrelievo.FiguraColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Destinatario { + get { + try { + return ((string)(this[this.tableElencoListePrelievo.DestinatarioColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Destinatario\' in table \'ElencoListePrelievo\' is DBNull.", e); + } + } + set { + this[this.tableElencoListePrelievo.DestinatarioColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DestinatarioDescrizione { + get { + try { + return ((string)(this[this.tableElencoListePrelievo.DestinatarioDescrizioneColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DestinatarioDescrizione\' in table \'ElencoListePrelievo\' is " + + "DBNull.", e); + } + } + set { + this[this.tableElencoListePrelievo.DestinatarioDescrizioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TipoListaPrelievoRow TipoListaPrelievoRow { + get { + return ((TipoListaPrelievoRow)(this.GetParentRow(this.Table.ParentRelations["FK_ElencoListePrelievo_TipoListaPrelievo11"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["FK_ElencoListePrelievo_TipoListaPrelievo11"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodClienteNull() { + return this.IsNull(this.tableElencoListePrelievo.CodClienteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodClienteNull() { + this[this.tableElencoListePrelievo.CodClienteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsRagSocialeNull() { + return this.IsNull(this.tableElencoListePrelievo.RagSocialeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetRagSocialeNull() { + this[this.tableElencoListePrelievo.RagSocialeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescParticolareNull() { + return this.IsNull(this.tableElencoListePrelievo.DescParticolareColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescParticolareNull() { + this[this.tableElencoListePrelievo.DescParticolareColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDisegnoGrezzoNull() { + return this.IsNull(this.tableElencoListePrelievo.DisegnoGrezzoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDisegnoGrezzoNull() { + this[this.tableElencoListePrelievo.DisegnoGrezzoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsEsponenteNull() { + return this.IsNull(this.tableElencoListePrelievo.EsponenteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetEsponenteNull() { + this[this.tableElencoListePrelievo.EsponenteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodImballoNull() { + return this.IsNull(this.tableElencoListePrelievo.CodImballoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodImballoNull() { + this[this.tableElencoListePrelievo.CodImballoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsPrelevatoNull() { + return this.IsNull(this.tableElencoListePrelievo.PrelevatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetPrelevatoNull() { + this[this.tableElencoListePrelievo.PrelevatoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsFiguraNull() { + return this.IsNull(this.tableElencoListePrelievo.FiguraColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetFiguraNull() { + this[this.tableElencoListePrelievo.FiguraColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDestinatarioNull() { + return this.IsNull(this.tableElencoListePrelievo.DestinatarioColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDestinatarioNull() { + this[this.tableElencoListePrelievo.DestinatarioColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDestinatarioDescrizioneNull() { + return this.IsNull(this.tableElencoListePrelievo.DestinatarioDescrizioneColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDestinatarioDescrizioneNull() { + this[this.tableElencoListePrelievo.DestinatarioDescrizioneColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public RigheListePrelievoRow[] GetRigheListePrelievoRows() { + if ((this.Table.ChildRelations["FK_RigheListePrelievo_ElencoListePrelievo11"] == null)) { + return new RigheListePrelievoRow[0]; + } + else { + return ((RigheListePrelievoRow[])(base.GetChildRows(this.Table.ChildRelations["FK_RigheListePrelievo_ElencoListePrelievo11"]))); + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class v_righeListePrelievoPosizioneRow : global::System.Data.DataRow { + + private v_righeListePrelievoPosizioneDataTable tablev_righeListePrelievoPosizione; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_righeListePrelievoPosizioneRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_righeListePrelievoPosizione = ((v_righeListePrelievoPosizioneDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodLista { + get { + return ((string)(this[this.tablev_righeListePrelievoPosizione.CodListaColumn])); + } + set { + this[this.tablev_righeListePrelievoPosizione.CodListaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string UDC { + get { + return ((string)(this[this.tablev_righeListePrelievoPosizione.UDCColumn])); + } + set { + this[this.tablev_righeListePrelievoPosizione.UDCColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal Qta { + get { + return ((decimal)(this[this.tablev_righeListePrelievoPosizione.QtaColumn])); + } + set { + this[this.tablev_righeListePrelievoPosizione.QtaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool Proposto { + get { + try { + return ((bool)(this[this.tablev_righeListePrelievoPosizione.PropostoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Proposto\' in table \'v_righeListePrelievoPosizione\' is DBNul" + + "l.", e); + } + } + set { + this[this.tablev_righeListePrelievoPosizione.PropostoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool Prelevato { + get { + try { + return ((bool)(this[this.tablev_righeListePrelievoPosizione.PrelevatoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Prelevato\' in table \'v_righeListePrelievoPosizione\' is DBNu" + + "ll.", e); + } + } + set { + this[this.tablev_righeListePrelievoPosizione.PrelevatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCella { + get { + return ((string)(this[this.tablev_righeListePrelievoPosizione.CodCellaColumn])); + } + set { + this[this.tablev_righeListePrelievoPosizione.CodCellaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodMag { + get { + try { + return ((string)(this[this.tablev_righeListePrelievoPosizione.CodMagColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodMag\' in table \'v_righeListePrelievoPosizione\' is DBNull." + + "", e); + } + } + set { + this[this.tablev_righeListePrelievoPosizione.CodMagColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodBlocco { + get { + try { + return ((string)(this[this.tablev_righeListePrelievoPosizione.CodBloccoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodBlocco\' in table \'v_righeListePrelievoPosizione\' is DBNu" + + "ll.", e); + } + } + set { + this[this.tablev_righeListePrelievoPosizione.CodBloccoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int X { + get { + return ((int)(this[this.tablev_righeListePrelievoPosizione.XColumn])); + } + set { + this[this.tablev_righeListePrelievoPosizione.XColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int Y { + get { + return ((int)(this[this.tablev_righeListePrelievoPosizione.YColumn])); + } + set { + this[this.tablev_righeListePrelievoPosizione.YColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int Z { + get { + return ((int)(this[this.tablev_righeListePrelievoPosizione.ZColumn])); + } + set { + this[this.tablev_righeListePrelievoPosizione.ZColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsPropostoNull() { + return this.IsNull(this.tablev_righeListePrelievoPosizione.PropostoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetPropostoNull() { + this[this.tablev_righeListePrelievoPosizione.PropostoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsPrelevatoNull() { + return this.IsNull(this.tablev_righeListePrelievoPosizione.PrelevatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetPrelevatoNull() { + this[this.tablev_righeListePrelievoPosizione.PrelevatoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodMagNull() { + return this.IsNull(this.tablev_righeListePrelievoPosizione.CodMagColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodMagNull() { + this[this.tablev_righeListePrelievoPosizione.CodMagColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodBloccoNull() { + return this.IsNull(this.tablev_righeListePrelievoPosizione.CodBloccoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodBloccoNull() { + this[this.tablev_righeListePrelievoPosizione.CodBloccoColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class v_particolariEsponenteFiguraRow : global::System.Data.DataRow { + + private v_particolariEsponenteFiguraDataTable tablev_particolariEsponenteFigura; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_particolariEsponenteFiguraRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_particolariEsponenteFigura = ((v_particolariEsponenteFiguraDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Particolare { + get { + return ((string)(this[this.tablev_particolariEsponenteFigura.ParticolareColumn])); + } + set { + this[this.tablev_particolariEsponenteFigura.ParticolareColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescParticolare { + get { + try { + return ((string)(this[this.tablev_particolariEsponenteFigura.DescParticolareColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescParticolare\' in table \'v_particolariEsponenteFigura\' is" + + " DBNull.", e); + } + } + set { + this[this.tablev_particolariEsponenteFigura.DescParticolareColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Esponente { + get { + return ((string)(this[this.tablev_particolariEsponenteFigura.EsponenteColumn])); + } + set { + this[this.tablev_particolariEsponenteFigura.EsponenteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Figura { + get { + return ((string)(this[this.tablev_particolariEsponenteFigura.FiguraColumn])); + } + set { + this[this.tablev_particolariEsponenteFigura.FiguraColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodImballo { + get { + return ((string)(this[this.tablev_particolariEsponenteFigura.CodImballoColumn])); + } + set { + this[this.tablev_particolariEsponenteFigura.CodImballoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescParticolareNull() { + return this.IsNull(this.tablev_particolariEsponenteFigura.DescParticolareColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescParticolareNull() { + this[this.tablev_particolariEsponenteFigura.DescParticolareColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class AnagPosizioniRow : global::System.Data.DataRow { + + private AnagPosizioniDataTable tableAnagPosizioni; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AnagPosizioniRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableAnagPosizioni = ((AnagPosizioniDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int IdxPosizione { + get { + return ((int)(this[this.tableAnagPosizioni.IdxPosizioneColumn])); + } + set { + this[this.tableAnagPosizioni.IdxPosizioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescPosizione { + get { + try { + return ((string)(this[this.tableAnagPosizioni.DescPosizioneColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescPosizione\' in table \'AnagPosizioni\' is DBNull.", e); + } + } + set { + this[this.tableAnagPosizioni.DescPosizioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsRiattivaEnabled { + get { + try { + return ((bool)(this[this.tableAnagPosizioni.IsRiattivaEnabledColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'IsRiattivaEnabled\' in table \'AnagPosizioni\' is DBNull.", e); + } + } + set { + this[this.tableAnagPosizioni.IsRiattivaEnabledColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescPosizioneNull() { + return this.IsNull(this.tableAnagPosizioni.DescPosizioneColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescPosizioneNull() { + this[this.tableAnagPosizioni.DescPosizioneColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsIsRiattivaEnabledNull() { + return this.IsNull(this.tableAnagPosizioni.IsRiattivaEnabledColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetIsRiattivaEnabledNull() { + this[this.tableAnagPosizioni.IsRiattivaEnabledColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoCartelliniRow[] GetElencoCartelliniRows() { + if ((this.Table.ChildRelations["FK_ElencoCartellini_AnagPosizioni"] == null)) { + return new ElencoCartelliniRow[0]; + } + else { + return ((ElencoCartelliniRow[])(base.GetChildRows(this.Table.ChildRelations["FK_ElencoCartellini_AnagPosizioni"]))); + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class V_statoCelleCapienzaAssegnatiRow : global::System.Data.DataRow { + + private V_statoCelleCapienzaAssegnatiDataTable tableV_statoCelleCapienzaAssegnati; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal V_statoCelleCapienzaAssegnatiRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableV_statoCelleCapienzaAssegnati = ((V_statoCelleCapienzaAssegnatiDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int IdxCella { + get { + return ((int)(this[this.tableV_statoCelleCapienzaAssegnati.IdxCellaColumn])); + } + set { + this[this.tableV_statoCelleCapienzaAssegnati.IdxCellaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCella { + get { + return ((string)(this[this.tableV_statoCelleCapienzaAssegnati.CodCellaColumn])); + } + set { + this[this.tableV_statoCelleCapienzaAssegnati.CodCellaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int Capienza { + get { + return ((int)(this[this.tableV_statoCelleCapienzaAssegnati.CapienzaColumn])); + } + set { + this[this.tableV_statoCelleCapienzaAssegnati.CapienzaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int UdcAssegnati { + get { + try { + return ((int)(this[this.tableV_statoCelleCapienzaAssegnati.UdcAssegnatiColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'UdcAssegnati\' in table \'V_statoCelleCapienzaAssegnati\' is D" + + "BNull.", e); + } + } + set { + this[this.tableV_statoCelleCapienzaAssegnati.UdcAssegnatiColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool Piena { + get { + return ((bool)(this[this.tableV_statoCelleCapienzaAssegnati.PienaColumn])); + } + set { + this[this.tableV_statoCelleCapienzaAssegnati.PienaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsUdcAssegnatiNull() { + return this.IsNull(this.tableV_statoCelleCapienzaAssegnati.UdcAssegnatiColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetUdcAssegnatiNull() { + this[this.tableV_statoCelleCapienzaAssegnati.UdcAssegnatiColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class V_MagazziniLogiciOverviewRow : global::System.Data.DataRow { + + private V_MagazziniLogiciOverviewDataTable tableV_MagazziniLogiciOverview; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal V_MagazziniLogiciOverviewRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableV_MagazziniLogiciOverview = ((V_MagazziniLogiciOverviewDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCS { + get { + try { + return ((string)(this[this.tableV_MagazziniLogiciOverview.CodCSColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodCS\' in table \'V_MagazziniLogiciOverview\' is DBNull.", e); + } + } + set { + this[this.tableV_MagazziniLogiciOverview.CodCSColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int CodMagLogico { + get { + return ((int)(this[this.tableV_MagazziniLogiciOverview.CodMagLogicoColumn])); + } + set { + this[this.tableV_MagazziniLogiciOverview.CodMagLogicoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescMagLogico { + get { + try { + return ((string)(this[this.tableV_MagazziniLogiciOverview.DescMagLogicoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescMagLogico\' in table \'V_MagazziniLogiciOverview\' is DBNu" + + "ll.", e); + } + } + set { + this[this.tableV_MagazziniLogiciOverview.DescMagLogicoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int IdxBlocco { + get { + return ((int)(this[this.tableV_MagazziniLogiciOverview.IdxBloccoColumn])); + } + set { + this[this.tableV_MagazziniLogiciOverview.IdxBloccoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodMag { + get { + return ((string)(this[this.tableV_MagazziniLogiciOverview.CodMagColumn])); + } + set { + this[this.tableV_MagazziniLogiciOverview.CodMagColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodBlocco { + get { + return ((string)(this[this.tableV_MagazziniLogiciOverview.CodBloccoColumn])); + } + set { + this[this.tableV_MagazziniLogiciOverview.CodBloccoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int CelleOccupate { + get { + try { + return ((int)(this[this.tableV_MagazziniLogiciOverview.CelleOccupateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CelleOccupate\' in table \'V_MagazziniLogiciOverview\' is DBNu" + + "ll.", e); + } + } + set { + this[this.tableV_MagazziniLogiciOverview.CelleOccupateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime Oldest { + get { + try { + return ((global::System.DateTime)(this[this.tableV_MagazziniLogiciOverview.OldestColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Oldest\' in table \'V_MagazziniLogiciOverview\' is DBNull.", e); + } + } + set { + this[this.tableV_MagazziniLogiciOverview.OldestColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime Newest { + get { + try { + return ((global::System.DateTime)(this[this.tableV_MagazziniLogiciOverview.NewestColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Newest\' in table \'V_MagazziniLogiciOverview\' is DBNull.", e); + } + } + set { + this[this.tableV_MagazziniLogiciOverview.NewestColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodCSNull() { + return this.IsNull(this.tableV_MagazziniLogiciOverview.CodCSColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodCSNull() { + this[this.tableV_MagazziniLogiciOverview.CodCSColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescMagLogicoNull() { + return this.IsNull(this.tableV_MagazziniLogiciOverview.DescMagLogicoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescMagLogicoNull() { + this[this.tableV_MagazziniLogiciOverview.DescMagLogicoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCelleOccupateNull() { + return this.IsNull(this.tableV_MagazziniLogiciOverview.CelleOccupateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCelleOccupateNull() { + this[this.tableV_MagazziniLogiciOverview.CelleOccupateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsOldestNull() { + return this.IsNull(this.tableV_MagazziniLogiciOverview.OldestColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetOldestNull() { + this[this.tableV_MagazziniLogiciOverview.OldestColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsNewestNull() { + return this.IsNull(this.tableV_MagazziniLogiciOverview.NewestColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetNewestNull() { + this[this.tableV_MagazziniLogiciOverview.NewestColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class RapQualRow : global::System.Data.DataRow { + + private RapQualDataTable tableRapQual; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal RapQualRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableRapQual = ((RapQualDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal nRapQual { + get { + return ((decimal)(this[this.tableRapQual.nRapQualColumn])); + } + set { + this[this.tableRapQual.nRapQualColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal DataRapQual { + get { + return ((decimal)(this[this.tableRapQual.DataRapQualColumn])); + } + set { + this[this.tableRapQual.DataRapQualColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string ProgUDC { + get { + return ((string)(this[this.tableRapQual.ProgUDCColumn])); + } + set { + this[this.tableRapQual.ProgUDCColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodFor { + get { + return ((string)(this[this.tableRapQual.CodForColumn])); + } + set { + this[this.tableRapQual.CodForColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DestTerz { + get { + return ((string)(this[this.tableRapQual.DestTerzColumn])); + } + set { + this[this.tableRapQual.DestTerzColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodLega { + get { + return ((string)(this[this.tableRapQual.CodLegaColumn])); + } + set { + this[this.tableRapQual.CodLegaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal DataPrelFus { + get { + return ((decimal)(this[this.tableRapQual.DataPrelFusColumn])); + } + set { + this[this.tableRapQual.DataPrelFusColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string TurnoPrelFus { + get { + return ((string)(this[this.tableRapQual.TurnoPrelFusColumn])); + } + set { + this[this.tableRapQual.TurnoPrelFusColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal Qta { + get { + return ((decimal)(this[this.tableRapQual.QtaColumn])); + } + set { + this[this.tableRapQual.QtaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DestLega { + get { + return ((string)(this[this.tableRapQual.DestLegaColumn])); + } + set { + this[this.tableRapQual.DestLegaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string LegaScaric { + get { + return ((string)(this[this.tableRapQual.LegaScaricColumn])); + } + set { + this[this.tableRapQual.LegaScaricColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string BenesQual { + get { + return ((string)(this[this.tableRapQual.BenesQualColumn])); + } + set { + this[this.tableRapQual.BenesQualColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string UDC { + get { + if (this.IsUDCNull()) { + return string.Empty; + } + else { + return ((string)(this[this.tableRapQual.UDCColumn])); + } + } + set { + this[this.tableRapQual.UDCColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsUDCNull() { + return this.IsNull(this.tableRapQual.UDCColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetUDCNull() { + this[this.tableRapQual.UDCColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class v_posizioniDelibereRow : global::System.Data.DataRow { + + private v_posizioniDelibereDataTable tablev_posizioniDelibere; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_posizioniDelibereRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_posizioniDelibere = ((v_posizioniDelibereDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int IdxPosizione { + get { + return ((int)(this[this.tablev_posizioniDelibere.IdxPosizioneColumn])); + } + set { + this[this.tablev_posizioniDelibere.IdxPosizioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodTipoDelibera { + get { + return ((string)(this[this.tablev_posizioniDelibere.CodTipoDeliberaColumn])); + } + set { + this[this.tablev_posizioniDelibere.CodTipoDeliberaColumn] = value; + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class v_RapQualSuntoRow : global::System.Data.DataRow { + + private v_RapQualSuntoDataTable tablev_RapQualSunto; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_RapQualSuntoRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_RapQualSunto = ((v_RapQualSuntoDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string nRapQual { + get { + try { + return ((string)(this[this.tablev_RapQualSunto.nRapQualColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'nRapQual\' in table \'v_RapQualSunto\' is DBNull.", e); + } + } + set { + this[this.tablev_RapQualSunto.nRapQualColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal DataRapQual { + get { + return ((decimal)(this[this.tablev_RapQualSunto.DataRapQualColumn])); + } + set { + this[this.tablev_RapQualSunto.DataRapQualColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodFor { + get { + return ((string)(this[this.tablev_RapQualSunto.CodForColumn])); + } + set { + this[this.tablev_RapQualSunto.CodForColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodLega { + get { + return ((string)(this[this.tablev_RapQualSunto.CodLegaColumn])); + } + set { + this[this.tablev_RapQualSunto.CodLegaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal Qta { + get { + try { + return ((decimal)(this[this.tablev_RapQualSunto.QtaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Qta\' in table \'v_RapQualSunto\' is DBNull.", e); + } + } + set { + this[this.tablev_RapQualSunto.QtaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string BenesQual { + get { + return ((string)(this[this.tablev_RapQualSunto.BenesQualColumn])); + } + set { + this[this.tablev_RapQualSunto.BenesQualColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int UdcTot { + get { + try { + return ((int)(this[this.tablev_RapQualSunto.UdcTotColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'UdcTot\' in table \'v_RapQualSunto\' is DBNull.", e); + } + } + set { + this[this.tablev_RapQualSunto.UdcTotColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int UdcAssoc { + get { + try { + return ((int)(this[this.tablev_RapQualSunto.UdcAssocColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'UdcAssoc\' in table \'v_RapQualSunto\' is DBNull.", e); + } + } + set { + this[this.tablev_RapQualSunto.UdcAssocColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string LegaScaric { + get { + return ((string)(this[this.tablev_RapQualSunto.LegaScaricColumn])); + } + set { + this[this.tablev_RapQualSunto.LegaScaricColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsnRapQualNull() { + return this.IsNull(this.tablev_RapQualSunto.nRapQualColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetnRapQualNull() { + this[this.tablev_RapQualSunto.nRapQualColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsQtaNull() { + return this.IsNull(this.tablev_RapQualSunto.QtaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetQtaNull() { + this[this.tablev_RapQualSunto.QtaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsUdcTotNull() { + return this.IsNull(this.tablev_RapQualSunto.UdcTotColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetUdcTotNull() { + this[this.tablev_RapQualSunto.UdcTotColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsUdcAssocNull() { + return this.IsNull(this.tablev_RapQualSunto.UdcAssocColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetUdcAssocNull() { + this[this.tablev_RapQualSunto.UdcAssocColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class AnagParticolariRow : global::System.Data.DataRow { + + private AnagParticolariDataTable tableAnagParticolari; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AnagParticolariRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableAnagParticolari = ((AnagParticolariDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Particolare { + get { + return ((string)(this[this.tableAnagParticolari.ParticolareColumn])); + } + set { + this[this.tableAnagParticolari.ParticolareColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCS { + get { + return ((string)(this[this.tableAnagParticolari.CodCSColumn])); + } + set { + this[this.tableAnagParticolari.CodCSColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCliente { + get { + return ((string)(this[this.tableAnagParticolari.CodClienteColumn])); + } + set { + this[this.tableAnagParticolari.CodClienteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DisegnoGrezzo { + get { + return ((string)(this[this.tableAnagParticolari.DisegnoGrezzoColumn])); + } + set { + this[this.tableAnagParticolari.DisegnoGrezzoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodFamiglia { + get { + try { + return ((string)(this[this.tableAnagParticolari.CodFamigliaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodFamiglia\' in table \'AnagParticolari\' is DBNull.", e); + } + } + set { + this[this.tableAnagParticolari.CodFamigliaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescParticolare { + get { + try { + return ((string)(this[this.tableAnagParticolari.DescParticolareColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescParticolare\' in table \'AnagParticolari\' is DBNull.", e); + } + } + set { + this[this.tableAnagParticolari.DescParticolareColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodFamigliaNull() { + return this.IsNull(this.tableAnagParticolari.CodFamigliaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodFamigliaNull() { + this[this.tableAnagParticolari.CodFamigliaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescParticolareNull() { + return this.IsNull(this.tableAnagParticolari.DescParticolareColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescParticolareNull() { + this[this.tableAnagParticolari.DescParticolareColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class AnagLegheRow : global::System.Data.DataRow { + + private AnagLegheDataTable tableAnagLeghe; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AnagLegheRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableAnagLeghe = ((AnagLegheDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodLega { + get { + return ((string)(this[this.tableAnagLeghe.CodLegaColumn])); + } + set { + this[this.tableAnagLeghe.CodLegaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescLega { + get { + try { + return ((string)(this[this.tableAnagLeghe.DescLegaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescLega\' in table \'AnagLeghe\' is DBNull.", e); + } + } + set { + this[this.tableAnagLeghe.DescLegaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescLega2 { + get { + try { + return ((string)(this[this.tableAnagLeghe.DescLega2Column])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescLega2\' in table \'AnagLeghe\' is DBNull.", e); + } + } + set { + this[this.tableAnagLeghe.DescLega2Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescLegaNull() { + return this.IsNull(this.tableAnagLeghe.DescLegaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescLegaNull() { + this[this.tableAnagLeghe.DescLegaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescLega2Null() { + return this.IsNull(this.tableAnagLeghe.DescLega2Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescLega2Null() { + this[this.tableAnagLeghe.DescLega2Column] = global::System.Convert.DBNull; + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class ElencoCartelliniRowChangeEvent : global::System.EventArgs { + + private ElencoCartelliniRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoCartelliniRowChangeEvent(ElencoCartelliniRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoCartelliniRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class AnagMagRowChangeEvent : global::System.EventArgs { + + private AnagMagRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagMagRowChangeEvent(AnagMagRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagMagRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class PosizioneUdcCorrenteRowChangeEvent : global::System.EventArgs { + + private PosizioneUdcCorrenteRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public PosizioneUdcCorrenteRowChangeEvent(PosizioneUdcCorrenteRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public PosizioneUdcCorrenteRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class PosizioneUdcStoricoRowChangeEvent : global::System.EventArgs { + + private PosizioneUdcStoricoRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public PosizioneUdcStoricoRowChangeEvent(PosizioneUdcStoricoRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public PosizioneUdcStoricoRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class BlocchiRowChangeEvent : global::System.EventArgs { + + private BlocchiRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public BlocchiRowChangeEvent(BlocchiRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public BlocchiRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class CelleRowChangeEvent : global::System.EventArgs { + + private CelleRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public CelleRowChangeEvent(CelleRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public CelleRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class TipoCellaRowChangeEvent : global::System.EventArgs { + + private TipoCellaRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TipoCellaRowChangeEvent(TipoCellaRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TipoCellaRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class v_UdcDetailRowChangeEvent : global::System.EventArgs { + + private v_UdcDetailRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_UdcDetailRowChangeEvent(v_UdcDetailRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_UdcDetailRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class AnagImballiRowChangeEvent : global::System.EventArgs { + + private AnagImballiRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagImballiRowChangeEvent(AnagImballiRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagImballiRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class V_ParticolariOverviewRowChangeEvent : global::System.EventArgs { + + private V_ParticolariOverviewRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public V_ParticolariOverviewRowChangeEvent(V_ParticolariOverviewRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public V_ParticolariOverviewRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class V_MagazziniOverviewRowChangeEvent : global::System.EventArgs { + + private V_MagazziniOverviewRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public V_MagazziniOverviewRowChangeEvent(V_MagazziniOverviewRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public V_MagazziniOverviewRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class V_DettMagPartRowChangeEvent : global::System.EventArgs { + + private V_DettMagPartRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public V_DettMagPartRowChangeEvent(V_DettMagPartRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public V_DettMagPartRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class TipoListaPrelievoRowChangeEvent : global::System.EventArgs { + + private TipoListaPrelievoRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TipoListaPrelievoRowChangeEvent(TipoListaPrelievoRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TipoListaPrelievoRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class RigheListePrelievoRowChangeEvent : global::System.EventArgs { + + private RigheListePrelievoRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public RigheListePrelievoRowChangeEvent(RigheListePrelievoRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public RigheListePrelievoRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class ElencoListePrelievoRowChangeEvent : global::System.EventArgs { + + private ElencoListePrelievoRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoListePrelievoRowChangeEvent(ElencoListePrelievoRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoListePrelievoRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class v_righeListePrelievoPosizioneRowChangeEvent : global::System.EventArgs { + + private v_righeListePrelievoPosizioneRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_righeListePrelievoPosizioneRowChangeEvent(v_righeListePrelievoPosizioneRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_righeListePrelievoPosizioneRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class v_particolariEsponenteFiguraRowChangeEvent : global::System.EventArgs { + + private v_particolariEsponenteFiguraRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_particolariEsponenteFiguraRowChangeEvent(v_particolariEsponenteFiguraRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_particolariEsponenteFiguraRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class AnagPosizioniRowChangeEvent : global::System.EventArgs { + + private AnagPosizioniRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagPosizioniRowChangeEvent(AnagPosizioniRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagPosizioniRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class V_statoCelleCapienzaAssegnatiRowChangeEvent : global::System.EventArgs { + + private V_statoCelleCapienzaAssegnatiRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public V_statoCelleCapienzaAssegnatiRowChangeEvent(V_statoCelleCapienzaAssegnatiRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public V_statoCelleCapienzaAssegnatiRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class V_MagazziniLogiciOverviewRowChangeEvent : global::System.EventArgs { + + private V_MagazziniLogiciOverviewRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public V_MagazziniLogiciOverviewRowChangeEvent(V_MagazziniLogiciOverviewRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public V_MagazziniLogiciOverviewRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class RapQualRowChangeEvent : global::System.EventArgs { + + private RapQualRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public RapQualRowChangeEvent(RapQualRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public RapQualRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class v_posizioniDelibereRowChangeEvent : global::System.EventArgs { + + private v_posizioniDelibereRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_posizioniDelibereRowChangeEvent(v_posizioniDelibereRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_posizioniDelibereRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class v_RapQualSuntoRowChangeEvent : global::System.EventArgs { + + private v_RapQualSuntoRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_RapQualSuntoRowChangeEvent(v_RapQualSuntoRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_RapQualSuntoRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class AnagParticolariRowChangeEvent : global::System.EventArgs { + + private AnagParticolariRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagParticolariRowChangeEvent(AnagParticolariRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagParticolariRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class AnagLegheRowChangeEvent : global::System.EventArgs { + + private AnagLegheRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagLegheRowChangeEvent(AnagLegheRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagLegheRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + } +} +namespace GMW_data.DS_magazzinoTableAdapters { + + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class ElencoCartelliniTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoCartelliniTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "ElencoCartellini"; + 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("Note", "Note"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = "DELETE FROM [dbo].[ElencoCartellini] WHERE (([UDC] = @Original_UDC) AND ((@IsNull" + + "_CodCS = 1 AND [CodCS] IS NULL) OR ([CodCS] = @Original_CodCS)) AND ((@IsNull_Co" + + "dCliente = 1 AND [CodCliente] IS NULL) OR ([CodCliente] = @Original_CodCliente))" + + " AND ((@IsNull_RagSociale = 1 AND [RagSociale] IS NULL) OR ([RagSociale] = @Orig" + + "inal_RagSociale)) AND ((@IsNull_Particolare = 1 AND [Particolare] IS NULL) OR ([" + + "Particolare] = @Original_Particolare)) AND ((@IsNull_DescParticolare = 1 AND [De" + + "scParticolare] IS NULL) OR ([DescParticolare] = @Original_DescParticolare)) AND " + + "((@IsNull_DisegnoGrezzo = 1 AND [DisegnoGrezzo] IS NULL) OR ([DisegnoGrezzo] = @" + + "Original_DisegnoGrezzo)) AND ((@IsNull_Esponente = 1 AND [Esponente] IS NULL) OR" + + " ([Esponente] = @Original_Esponente)) AND ((@IsNull_CodImpianto = 1 AND [CodImpi" + + "anto] IS NULL) OR ([CodImpianto] = @Original_CodImpianto)) AND ((@IsNull_DescImp" + + "ianto = 1 AND [DescImpianto] IS NULL) OR ([DescImpianto] = @Original_DescImpiant" + + "o)) AND ((@IsNull_CodStampo = 1 AND [CodStampo] IS NULL) OR ([CodStampo] = @Orig" + + "inal_CodStampo)) AND ((@IsNull_Figura = 1 AND [Figura] IS NULL) OR ([Figura] = @" + + "Original_Figura)) AND ((@IsNull_DataFus = 1 AND [DataFus] IS NULL) OR ([DataFus]" + + " = @Original_DataFus)) AND ((@IsNull_TurnoFus = 1 AND [TurnoFus] IS NULL) OR ([T" + + "urnoFus] = @Original_TurnoFus)) AND ((@IsNull_CodImballo = 1 AND [CodImballo] IS" + + " NULL) OR ([CodImballo] = @Original_CodImballo)) AND ((@IsNull_CodSoggetto = 1 A" + + "ND [CodSoggetto] IS NULL) OR ([CodSoggetto] = @Original_CodSoggetto)) AND ((@IsN" + + "ull_NumCont = 1 AND [NumCont] IS NULL) OR ([NumCont] = @Original_NumCont)) AND (" + + "(@IsNull_Tara = 1 AND [Tara] IS NULL) OR ([Tara] = @Original_Tara)) AND ((@IsNul" + + "l_Qta = 1 AND [Qta] IS NULL) OR ([Qta] = @Original_Qta)) AND ((@IsNull_CodStato " + + "= 1 AND [CodStato] IS NULL) OR ([CodStato] = @Original_CodStato)) AND ((@IsNull_" + + "IdxPosizione = 1 AND [IdxPosizione] IS NULL) OR ([IdxPosizione] = @Original_IdxP" + + "osizione)) AND ((@IsNull_PesoTot = 1 AND [PesoTot] IS NULL) OR ([PesoTot] = @Ori" + + "ginal_PesoTot)) AND ((@IsNull_PesoCad = 1 AND [PesoCad] IS NULL) OR ([PesoCad] =" + + " @Original_PesoCad)) AND ((@IsNull_CreateDate = 1 AND [CreateDate] IS NULL) OR (" + + "[CreateDate] = @Original_CreateDate)) AND ((@IsNull_ModDate = 1 AND [ModDate] IS" + + " NULL) OR ([ModDate] = @Original_ModDate)) AND ((@IsNull_Note = 1 AND [Note] IS " + + "NULL) OR ([Note] = @Original_Note)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodCS", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodCliente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_RagSociale", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagSociale", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RagSociale", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagSociale", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Particolare", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Particolare", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Particolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Particolare", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescParticolare", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescParticolare", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescParticolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescParticolare", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DisegnoGrezzo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DisegnoGrezzo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DisegnoGrezzo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DisegnoGrezzo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Esponente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Esponente", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Esponente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Esponente", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodImpianto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImpianto", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImpianto", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescImpianto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescImpianto", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescImpianto", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodStampo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStampo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodStampo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStampo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Figura", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Figura", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Figura", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Figura", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DataFus", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataFus", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataFus", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataFus", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TurnoFus", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TurnoFus", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TurnoFus", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TurnoFus", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodImballo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImballo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodImballo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImballo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodSoggetto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSoggetto", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_NumCont", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumCont", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumCont", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumCont", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Tara", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tara", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Tara", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tara", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Qta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Qta", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Qta", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 10, 2, "Qta", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStato", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStato", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_IdxPosizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPosizione", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxPosizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPosizione", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_PesoTot", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PesoTot", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PesoTot", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PesoTot", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_PesoCad", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PesoCad", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PesoCad", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PesoCad", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CreateDate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CreateDate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CreateDate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CreateDate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ModDate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ModDate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ModDate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ModDate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Note", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[ElencoCartellini] ([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], [Note]) VALUES (@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, @Note); +SELECT 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, Note FROM ElencoCartellini WHERE (UDC = @UDC)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RagSociale", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagSociale", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Particolare", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescParticolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescParticolare", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DisegnoGrezzo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DisegnoGrezzo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Esponente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Esponente", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImpianto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescImpianto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodStampo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStampo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Figura", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Figura", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataFus", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataFus", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TurnoFus", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TurnoFus", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImballo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImballo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumCont", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumCont", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Tara", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tara", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Qta", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 10, 2, "Qta", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStato", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxPosizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPosizione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PesoTot", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PesoTot", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PesoCad", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PesoCad", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CreateDate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CreateDate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ModDate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ModDate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = "UPDATE [dbo].[ElencoCartellini] SET [UDC] = @UDC, [CodCS] = @CodCS, [CodCliente] " + + "= @CodCliente, [RagSociale] = @RagSociale, [Particolare] = @Particolare, [DescPa" + + "rticolare] = @DescParticolare, [DisegnoGrezzo] = @DisegnoGrezzo, [Esponente] = @" + + "Esponente, [CodImpianto] = @CodImpianto, [DescImpianto] = @DescImpianto, [CodSta" + + "mpo] = @CodStampo, [Figura] = @Figura, [DataFus] = @DataFus, [TurnoFus] = @Turno" + + "Fus, [CodImballo] = @CodImballo, [CodSoggetto] = @CodSoggetto, [NumCont] = @NumC" + + "ont, [Tara] = @Tara, [Qta] = @Qta, [CodStato] = @CodStato, [IdxPosizione] = @Idx" + + "Posizione, [PesoTot] = @PesoTot, [PesoCad] = @PesoCad, [CreateDate] = @CreateDat" + + "e, [ModDate] = @ModDate, [Note] = @Note WHERE (([UDC] = @Original_UDC) AND ((@Is" + + "Null_CodCS = 1 AND [CodCS] IS NULL) OR ([CodCS] = @Original_CodCS)) AND ((@IsNul" + + "l_CodCliente = 1 AND [CodCliente] IS NULL) OR ([CodCliente] = @Original_CodClien" + + "te)) AND ((@IsNull_RagSociale = 1 AND [RagSociale] IS NULL) OR ([RagSociale] = @" + + "Original_RagSociale)) AND ((@IsNull_Particolare = 1 AND [Particolare] IS NULL) O" + + "R ([Particolare] = @Original_Particolare)) AND ((@IsNull_DescParticolare = 1 AND" + + " [DescParticolare] IS NULL) OR ([DescParticolare] = @Original_DescParticolare)) " + + "AND ((@IsNull_DisegnoGrezzo = 1 AND [DisegnoGrezzo] IS NULL) OR ([DisegnoGrezzo]" + + " = @Original_DisegnoGrezzo)) AND ((@IsNull_Esponente = 1 AND [Esponente] IS NULL" + + ") OR ([Esponente] = @Original_Esponente)) AND ((@IsNull_CodImpianto = 1 AND [Cod" + + "Impianto] IS NULL) OR ([CodImpianto] = @Original_CodImpianto)) AND ((@IsNull_Des" + + "cImpianto = 1 AND [DescImpianto] IS NULL) OR ([DescImpianto] = @Original_DescImp" + + "ianto)) AND ((@IsNull_CodStampo = 1 AND [CodStampo] IS NULL) OR ([CodStampo] = @" + + "Original_CodStampo)) AND ((@IsNull_Figura = 1 AND [Figura] IS NULL) OR ([Figura]" + + " = @Original_Figura)) AND ((@IsNull_DataFus = 1 AND [DataFus] IS NULL) OR ([Data" + + "Fus] = @Original_DataFus)) AND ((@IsNull_TurnoFus = 1 AND [TurnoFus] IS NULL) OR" + + " ([TurnoFus] = @Original_TurnoFus)) AND ((@IsNull_CodImballo = 1 AND [CodImballo" + + "] IS NULL) OR ([CodImballo] = @Original_CodImballo)) AND ((@IsNull_CodSoggetto =" + + " 1 AND [CodSoggetto] IS NULL) OR ([CodSoggetto] = @Original_CodSoggetto)) AND ((" + + "@IsNull_NumCont = 1 AND [NumCont] IS NULL) OR ([NumCont] = @Original_NumCont)) A" + + "ND ((@IsNull_Tara = 1 AND [Tara] IS NULL) OR ([Tara] = @Original_Tara)) AND ((@I" + + "sNull_Qta = 1 AND [Qta] IS NULL) OR ([Qta] = @Original_Qta)) AND ((@IsNull_CodSt" + + "ato = 1 AND [CodStato] IS NULL) OR ([CodStato] = @Original_CodStato)) AND ((@IsN" + + "ull_IdxPosizione = 1 AND [IdxPosizione] IS NULL) OR ([IdxPosizione] = @Original_" + + "IdxPosizione)) AND ((@IsNull_PesoTot = 1 AND [PesoTot] IS NULL) OR ([PesoTot] = " + + "@Original_PesoTot)) AND ((@IsNull_PesoCad = 1 AND [PesoCad] IS NULL) OR ([PesoCa" + + "d] = @Original_PesoCad)) AND ((@IsNull_CreateDate = 1 AND [CreateDate] IS NULL) " + + "OR ([CreateDate] = @Original_CreateDate)) AND ((@IsNull_ModDate = 1 AND [ModDate" + + "] IS NULL) OR ([ModDate] = @Original_ModDate)) AND ((@IsNull_Note = 1 AND [Note]" + + " IS NULL) OR ([Note] = @Original_Note)));\r\nSELECT UDC, CodCS, CodCliente, RagSoc" + + "iale, Particolare, DescParticolare, DisegnoGrezzo, Esponente, CodImpianto, DescI" + + "mpianto, CodStampo, Figura, DataFus, TurnoFus, CodImballo, CodSoggetto, NumCont," + + " Tara, Qta, CodStato, IdxPosizione, PesoTot, PesoCad, CreateDate, ModDate, Note " + + "FROM ElencoCartellini WHERE (UDC = @UDC)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RagSociale", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagSociale", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Particolare", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescParticolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescParticolare", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DisegnoGrezzo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DisegnoGrezzo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Esponente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Esponente", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImpianto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescImpianto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodStampo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStampo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Figura", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Figura", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataFus", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataFus", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TurnoFus", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TurnoFus", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImballo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImballo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumCont", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumCont", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Tara", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tara", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Qta", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 10, 2, "Qta", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStato", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxPosizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPosizione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PesoTot", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PesoTot", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PesoCad", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PesoCad", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CreateDate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CreateDate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ModDate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ModDate", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodCS", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodCliente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_RagSociale", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagSociale", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RagSociale", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagSociale", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Particolare", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Particolare", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Particolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Particolare", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescParticolare", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescParticolare", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescParticolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescParticolare", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DisegnoGrezzo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DisegnoGrezzo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DisegnoGrezzo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DisegnoGrezzo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Esponente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Esponente", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Esponente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Esponente", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodImpianto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImpianto", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImpianto", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescImpianto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescImpianto", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescImpianto", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescImpianto", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodStampo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStampo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodStampo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStampo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Figura", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Figura", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Figura", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Figura", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DataFus", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataFus", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataFus", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataFus", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TurnoFus", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TurnoFus", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TurnoFus", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TurnoFus", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodImballo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImballo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodImballo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImballo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodSoggetto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSoggetto", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_NumCont", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumCont", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumCont", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumCont", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Tara", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tara", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Tara", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tara", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Qta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Qta", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Qta", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 10, 2, "Qta", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStato", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStato", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_IdxPosizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPosizione", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxPosizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPosizione", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_PesoTot", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PesoTot", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PesoTot", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PesoTot", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_PesoCad", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PesoCad", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PesoCad", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PesoCad", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CreateDate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CreateDate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CreateDate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CreateDate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ModDate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ModDate", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ModDate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ModDate", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Note", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[10]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT *\r\nFROM dbo.ElencoCartellini"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "dbo.stp_UDC_getByFlussoDate"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[1].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[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.NVarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Flusso", global::System.Data.SqlDbType.NVarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataFrom", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataTo", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[2].Connection = this.Connection; + this._commandCollection[2].CommandText = "dbo.stp_UDC_getByTipoDelibera"; + this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[2].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[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoDelibera", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataFrom", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataTo", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[3].Connection = this.Connection; + this._commandCollection[3].CommandText = "dbo.stp_UDC_getByUdc"; + this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[3].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[3].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[4] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[4].Connection = this.Connection; + this._commandCollection[4].CommandText = "dbo.stp_getDetailsUdcByUdc"; + this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[4].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[4].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[5] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[5].Connection = this.Connection; + this._commandCollection[5].CommandText = "dbo.stp_UDC_getLast_ByParticolare"; + this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.VarChar, 15, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[6].Connection = this.Connection; + this._commandCollection[6].CommandText = "dbo.stp_getUDC_Older"; + this._commandCollection[6].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[6].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[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Esponente", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxPosizione", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[7].Connection = this.Connection; + this._commandCollection[7].CommandText = "dbo.stp_getUDC_UnusedOlder"; + this._commandCollection[7].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[7].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[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodLista", global::System.Data.SqlDbType.VarChar, 12, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[8] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[8].Connection = this.Connection; + this._commandCollection[8].CommandText = "dbo.stp_UDC_updateIdxPosizione"; + this._commandCollection[8].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[8].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[8].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[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxPosizione", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.NVarChar, 17, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[9] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[9].Connection = this.Connection; + this._commandCollection[9].CommandText = "dbo.stp_UDC_updateQty"; + 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.VarChar, 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("@CodSoggetto", global::System.Data.SqlDbType.VarChar, 17, 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("@CodTipoDichiaraz", global::System.Data.SqlDbType.Char, 1, 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("@CodEvento", global::System.Data.SqlDbType.VarChar, 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("@Qta", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 10, 2, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_magazzino.ElencoCartelliniDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_magazzino.ElencoCartelliniDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_magazzino.ElencoCartelliniDataTable dataTable = new DS_magazzino.ElencoCartelliniDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.ElencoCartelliniDataTable getByFlussoDate(string CodCS, string Flusso, global::System.Nullable DataFrom, global::System.Nullable DataTo) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((CodCS == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodCS)); + } + if ((Flusso == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(Flusso)); + } + if ((DataFrom.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(DataFrom.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; + } + if ((DataTo.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[4].Value = ((System.DateTime)(DataTo.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value; + } + DS_magazzino.ElencoCartelliniDataTable dataTable = new DS_magazzino.ElencoCartelliniDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.ElencoCartelliniDataTable getByTipoDelibera(string CodTipoDelibera, global::System.Nullable DataFrom, global::System.Nullable DataTo) { + this.Adapter.SelectCommand = this.CommandCollection[2]; + if ((CodTipoDelibera == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodTipoDelibera)); + } + if ((DataFrom.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(DataFrom.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + if ((DataTo.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(DataTo.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; + } + DS_magazzino.ElencoCartelliniDataTable dataTable = new DS_magazzino.ElencoCartelliniDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.ElencoCartelliniDataTable getByUdc(string UDC) { + this.Adapter.SelectCommand = this.CommandCollection[3]; + if ((UDC == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(UDC)); + } + DS_magazzino.ElencoCartelliniDataTable dataTable = new DS_magazzino.ElencoCartelliniDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.ElencoCartelliniDataTable getDetailsUdcByUdc(string UDC) { + this.Adapter.SelectCommand = this.CommandCollection[4]; + if ((UDC == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(UDC)); + } + DS_magazzino.ElencoCartelliniDataTable dataTable = new DS_magazzino.ElencoCartelliniDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.ElencoCartelliniDataTable getLastByParticolare(string CodCS, string Particolare) { + this.Adapter.SelectCommand = this.CommandCollection[5]; + if ((CodCS == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodCS)); + } + if ((Particolare == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(Particolare)); + } + DS_magazzino.ElencoCartelliniDataTable dataTable = new DS_magazzino.ElencoCartelliniDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.ElencoCartelliniDataTable getOlderUDC(string Esponente, string Particolare, global::System.Nullable IdxPosizione) { + this.Adapter.SelectCommand = this.CommandCollection[6]; + if ((Esponente == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(Esponente)); + } + if ((Particolare == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(Particolare)); + } + if ((IdxPosizione.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[3].Value = ((int)(IdxPosizione.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; + } + DS_magazzino.ElencoCartelliniDataTable dataTable = new DS_magazzino.ElencoCartelliniDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.ElencoCartelliniDataTable getUdcUnusedOlder(string CodLista) { + this.Adapter.SelectCommand = this.CommandCollection[7]; + if ((CodLista == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodLista)); + } + DS_magazzino.ElencoCartelliniDataTable dataTable = new DS_magazzino.ElencoCartelliniDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.ElencoCartelliniDataTable updateIdxPosizione(string UDC, global::System.Nullable IdxPosizione, string CodSoggetto) { + this.Adapter.SelectCommand = this.CommandCollection[8]; + if ((UDC == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(UDC)); + } + if ((IdxPosizione.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[2].Value = ((int)(IdxPosizione.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + if ((CodSoggetto == null)) { + this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[3].Value = ((string)(CodSoggetto)); + } + DS_magazzino.ElencoCartelliniDataTable dataTable = new DS_magazzino.ElencoCartelliniDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.ElencoCartelliniDataTable updateQty(string UDC, string CodSoggetto, string CodTipoDichiaraz, string CodEvento, global::System.Nullable Qta) { + this.Adapter.SelectCommand = this.CommandCollection[9]; + if ((UDC == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(UDC)); + } + if ((CodSoggetto == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodSoggetto)); + } + if ((CodTipoDichiaraz == null)) { + this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[3].Value = ((string)(CodTipoDichiaraz)); + } + if ((CodEvento == null)) { + this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[4].Value = ((string)(CodEvento)); + } + if ((Qta.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[5].Value = ((decimal)(Qta.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value; + } + DS_magazzino.ElencoCartelliniDataTable dataTable = new DS_magazzino.ElencoCartelliniDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_magazzino.ElencoCartelliniDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_magazzino dataSet) { + return this.Adapter.Update(dataSet, "ElencoCartellini"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete( + string Original_UDC, + string Original_CodCS, + string Original_CodCliente, + string Original_RagSociale, + string Original_Particolare, + string Original_DescParticolare, + string Original_DisegnoGrezzo, + string Original_Esponente, + string Original_CodImpianto, + string Original_DescImpianto, + string Original_CodStampo, + string Original_Figura, + global::System.Nullable Original_DataFus, + global::System.Nullable Original_TurnoFus, + string Original_CodImballo, + string Original_CodSoggetto, + global::System.Nullable Original_NumCont, + global::System.Nullable Original_Tara, + global::System.Nullable Original_Qta, + string Original_CodStato, + global::System.Nullable Original_IdxPosizione, + global::System.Nullable Original_PesoTot, + global::System.Nullable Original_PesoCad, + global::System.Nullable Original_CreateDate, + global::System.Nullable Original_ModDate, + string Original_Note) { + if ((Original_UDC == null)) { + throw new global::System.ArgumentNullException("Original_UDC"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_UDC)); + } + if ((Original_CodCS == null)) { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_CodCS)); + } + if ((Original_CodCliente == null)) { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_CodCliente)); + } + if ((Original_RagSociale == null)) { + this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_RagSociale)); + } + if ((Original_Particolare == null)) { + this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_Particolare)); + } + if ((Original_DescParticolare == null)) { + this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[10].Value = ((string)(Original_DescParticolare)); + } + if ((Original_DisegnoGrezzo == null)) { + this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[12].Value = ((string)(Original_DisegnoGrezzo)); + } + if ((Original_Esponente == null)) { + this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[14].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[14].Value = ((string)(Original_Esponente)); + } + if ((Original_CodImpianto == null)) { + this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[16].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[16].Value = ((string)(Original_CodImpianto)); + } + if ((Original_DescImpianto == null)) { + this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[18].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[18].Value = ((string)(Original_DescImpianto)); + } + if ((Original_CodStampo == null)) { + this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[20].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[20].Value = ((string)(Original_CodStampo)); + } + if ((Original_Figura == null)) { + this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[22].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[22].Value = ((string)(Original_Figura)); + } + if ((Original_DataFus.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[24].Value = ((System.DateTime)(Original_DataFus.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[24].Value = global::System.DBNull.Value; + } + if ((Original_TurnoFus.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[26].Value = ((int)(Original_TurnoFus.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[26].Value = global::System.DBNull.Value; + } + if ((Original_CodImballo == null)) { + this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[28].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[28].Value = ((string)(Original_CodImballo)); + } + if ((Original_CodSoggetto == null)) { + this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[30].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[30].Value = ((string)(Original_CodSoggetto)); + } + if ((Original_NumCont.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[31].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[32].Value = ((int)(Original_NumCont.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[31].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[32].Value = global::System.DBNull.Value; + } + if ((Original_Tara.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[33].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[34].Value = ((double)(Original_Tara.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[33].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[34].Value = global::System.DBNull.Value; + } + if ((Original_Qta.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[36].Value = ((decimal)(Original_Qta.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[36].Value = global::System.DBNull.Value; + } + if ((Original_CodStato == null)) { + this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[38].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[38].Value = ((string)(Original_CodStato)); + } + if ((Original_IdxPosizione.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[39].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[40].Value = ((int)(Original_IdxPosizione.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[39].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[40].Value = global::System.DBNull.Value; + } + if ((Original_PesoTot.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[41].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[42].Value = ((double)(Original_PesoTot.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[41].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[42].Value = global::System.DBNull.Value; + } + if ((Original_PesoCad.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[43].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[44].Value = ((double)(Original_PesoCad.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[43].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[44].Value = global::System.DBNull.Value; + } + if ((Original_CreateDate.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[45].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[46].Value = ((System.DateTime)(Original_CreateDate.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[45].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[46].Value = global::System.DBNull.Value; + } + if ((Original_ModDate.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[47].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[48].Value = ((System.DateTime)(Original_ModDate.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[47].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[48].Value = global::System.DBNull.Value; + } + if ((Original_Note == null)) { + this.Adapter.DeleteCommand.Parameters[49].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[50].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[49].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[50].Value = ((string)(Original_Note)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert( + string UDC, + string CodCS, + string CodCliente, + string RagSociale, + string Particolare, + string DescParticolare, + string DisegnoGrezzo, + string Esponente, + string CodImpianto, + string DescImpianto, + string CodStampo, + string Figura, + global::System.Nullable DataFus, + global::System.Nullable TurnoFus, + string CodImballo, + string CodSoggetto, + global::System.Nullable NumCont, + global::System.Nullable Tara, + global::System.Nullable Qta, + string CodStato, + global::System.Nullable IdxPosizione, + global::System.Nullable PesoTot, + global::System.Nullable PesoCad, + global::System.Nullable CreateDate, + global::System.Nullable ModDate, + string Note) { + if ((UDC == null)) { + throw new global::System.ArgumentNullException("UDC"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(UDC)); + } + if ((CodCS == null)) { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(CodCS)); + } + if ((CodCliente == null)) { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(CodCliente)); + } + if ((RagSociale == null)) { + this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = ((string)(RagSociale)); + } + if ((Particolare == null)) { + this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[4].Value = ((string)(Particolare)); + } + if ((DescParticolare == null)) { + this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[5].Value = ((string)(DescParticolare)); + } + if ((DisegnoGrezzo == null)) { + this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[6].Value = ((string)(DisegnoGrezzo)); + } + if ((Esponente == null)) { + this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[7].Value = ((string)(Esponente)); + } + if ((CodImpianto == null)) { + this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[8].Value = ((string)(CodImpianto)); + } + if ((DescImpianto == null)) { + this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[9].Value = ((string)(DescImpianto)); + } + if ((CodStampo == null)) { + this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[10].Value = ((string)(CodStampo)); + } + if ((Figura == null)) { + this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[11].Value = ((string)(Figura)); + } + if ((DataFus.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[12].Value = ((System.DateTime)(DataFus.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value; + } + if ((TurnoFus.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[13].Value = ((int)(TurnoFus.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value; + } + if ((CodImballo == null)) { + this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[14].Value = ((string)(CodImballo)); + } + if ((CodSoggetto == null)) { + this.Adapter.InsertCommand.Parameters[15].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[15].Value = ((string)(CodSoggetto)); + } + if ((NumCont.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[16].Value = ((int)(NumCont.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[16].Value = global::System.DBNull.Value; + } + if ((Tara.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[17].Value = ((double)(Tara.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[17].Value = global::System.DBNull.Value; + } + if ((Qta.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[18].Value = ((decimal)(Qta.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[18].Value = global::System.DBNull.Value; + } + if ((CodStato == null)) { + this.Adapter.InsertCommand.Parameters[19].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[19].Value = ((string)(CodStato)); + } + if ((IdxPosizione.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[20].Value = ((int)(IdxPosizione.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[20].Value = global::System.DBNull.Value; + } + if ((PesoTot.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[21].Value = ((double)(PesoTot.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[21].Value = global::System.DBNull.Value; + } + if ((PesoCad.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[22].Value = ((double)(PesoCad.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[22].Value = global::System.DBNull.Value; + } + if ((CreateDate.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[23].Value = ((System.DateTime)(CreateDate.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[23].Value = global::System.DBNull.Value; + } + if ((ModDate.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[24].Value = ((System.DateTime)(ModDate.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[24].Value = global::System.DBNull.Value; + } + if ((Note == null)) { + this.Adapter.InsertCommand.Parameters[25].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[25].Value = ((string)(Note)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update( + string UDC, + string CodCS, + string CodCliente, + string RagSociale, + string Particolare, + string DescParticolare, + string DisegnoGrezzo, + string Esponente, + string CodImpianto, + string DescImpianto, + string CodStampo, + string Figura, + global::System.Nullable DataFus, + global::System.Nullable TurnoFus, + string CodImballo, + string CodSoggetto, + global::System.Nullable NumCont, + global::System.Nullable Tara, + global::System.Nullable Qta, + string CodStato, + global::System.Nullable IdxPosizione, + global::System.Nullable PesoTot, + global::System.Nullable PesoCad, + global::System.Nullable CreateDate, + global::System.Nullable ModDate, + string Note, + string Original_UDC, + string Original_CodCS, + string Original_CodCliente, + string Original_RagSociale, + string Original_Particolare, + string Original_DescParticolare, + string Original_DisegnoGrezzo, + string Original_Esponente, + string Original_CodImpianto, + string Original_DescImpianto, + string Original_CodStampo, + string Original_Figura, + global::System.Nullable Original_DataFus, + global::System.Nullable Original_TurnoFus, + string Original_CodImballo, + string Original_CodSoggetto, + global::System.Nullable Original_NumCont, + global::System.Nullable Original_Tara, + global::System.Nullable Original_Qta, + string Original_CodStato, + global::System.Nullable Original_IdxPosizione, + global::System.Nullable Original_PesoTot, + global::System.Nullable Original_PesoCad, + global::System.Nullable Original_CreateDate, + global::System.Nullable Original_ModDate, + string Original_Note) { + if ((UDC == null)) { + throw new global::System.ArgumentNullException("UDC"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(UDC)); + } + if ((CodCS == null)) { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(CodCS)); + } + if ((CodCliente == null)) { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(CodCliente)); + } + if ((RagSociale == null)) { + this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(RagSociale)); + } + if ((Particolare == null)) { + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Particolare)); + } + if ((DescParticolare == null)) { + this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(DescParticolare)); + } + if ((DisegnoGrezzo == null)) { + this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(DisegnoGrezzo)); + } + if ((Esponente == null)) { + this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Esponente)); + } + if ((CodImpianto == null)) { + this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(CodImpianto)); + } + if ((DescImpianto == null)) { + this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(DescImpianto)); + } + if ((CodStampo == null)) { + this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(CodStampo)); + } + if ((Figura == null)) { + this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Figura)); + } + if ((DataFus.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[12].Value = ((System.DateTime)(DataFus.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value; + } + if ((TurnoFus.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[13].Value = ((int)(TurnoFus.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value; + } + if ((CodImballo == null)) { + this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(CodImballo)); + } + if ((CodSoggetto == null)) { + this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(CodSoggetto)); + } + if ((NumCont.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[16].Value = ((int)(NumCont.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value; + } + if ((Tara.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[17].Value = ((double)(Tara.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value; + } + if ((Qta.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[18].Value = ((decimal)(Qta.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value; + } + if ((CodStato == null)) { + this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(CodStato)); + } + if ((IdxPosizione.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[20].Value = ((int)(IdxPosizione.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value; + } + if ((PesoTot.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[21].Value = ((double)(PesoTot.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value; + } + if ((PesoCad.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[22].Value = ((double)(PesoCad.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value; + } + if ((CreateDate.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[23].Value = ((System.DateTime)(CreateDate.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value; + } + if ((ModDate.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[24].Value = ((System.DateTime)(ModDate.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value; + } + if ((Note == null)) { + this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[25].Value = ((string)(Note)); + } + if ((Original_UDC == null)) { + throw new global::System.ArgumentNullException("Original_UDC"); + } + else { + this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(Original_UDC)); + } + if ((Original_CodCS == null)) { + this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[28].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(Original_CodCS)); + } + if ((Original_CodCliente == null)) { + this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[30].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(Original_CodCliente)); + } + if ((Original_RagSociale == null)) { + this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[32].Value = ((string)(Original_RagSociale)); + } + if ((Original_Particolare == null)) { + this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[34].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[34].Value = ((string)(Original_Particolare)); + } + if ((Original_DescParticolare == null)) { + this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[36].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[36].Value = ((string)(Original_DescParticolare)); + } + if ((Original_DisegnoGrezzo == null)) { + this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[38].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[38].Value = ((string)(Original_DisegnoGrezzo)); + } + if ((Original_Esponente == null)) { + this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[40].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[40].Value = ((string)(Original_Esponente)); + } + if ((Original_CodImpianto == null)) { + this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[42].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[42].Value = ((string)(Original_CodImpianto)); + } + if ((Original_DescImpianto == null)) { + this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[44].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[44].Value = ((string)(Original_DescImpianto)); + } + if ((Original_CodStampo == null)) { + this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[46].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[46].Value = ((string)(Original_CodStampo)); + } + if ((Original_Figura == null)) { + this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[48].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[48].Value = ((string)(Original_Figura)); + } + if ((Original_DataFus.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[50].Value = ((System.DateTime)(Original_DataFus.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[50].Value = global::System.DBNull.Value; + } + if ((Original_TurnoFus.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[52].Value = ((int)(Original_TurnoFus.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[52].Value = global::System.DBNull.Value; + } + if ((Original_CodImballo == null)) { + this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[54].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[54].Value = ((string)(Original_CodImballo)); + } + if ((Original_CodSoggetto == null)) { + this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[56].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[56].Value = ((string)(Original_CodSoggetto)); + } + if ((Original_NumCont.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[58].Value = ((int)(Original_NumCont.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[58].Value = global::System.DBNull.Value; + } + if ((Original_Tara.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[59].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[60].Value = ((double)(Original_Tara.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[59].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[60].Value = global::System.DBNull.Value; + } + if ((Original_Qta.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[61].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[62].Value = ((decimal)(Original_Qta.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[61].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[62].Value = global::System.DBNull.Value; + } + if ((Original_CodStato == null)) { + this.Adapter.UpdateCommand.Parameters[63].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[64].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[63].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[64].Value = ((string)(Original_CodStato)); + } + if ((Original_IdxPosizione.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[65].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[66].Value = ((int)(Original_IdxPosizione.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[65].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[66].Value = global::System.DBNull.Value; + } + if ((Original_PesoTot.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[67].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[68].Value = ((double)(Original_PesoTot.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[67].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[68].Value = global::System.DBNull.Value; + } + if ((Original_PesoCad.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[69].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[70].Value = ((double)(Original_PesoCad.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[69].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[70].Value = global::System.DBNull.Value; + } + if ((Original_CreateDate.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[71].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[72].Value = ((System.DateTime)(Original_CreateDate.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[71].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[72].Value = global::System.DBNull.Value; + } + if ((Original_ModDate.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[73].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[74].Value = ((System.DateTime)(Original_ModDate.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[73].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[74].Value = global::System.DBNull.Value; + } + if ((Original_Note == null)) { + this.Adapter.UpdateCommand.Parameters[75].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[76].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[75].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[76].Value = ((string)(Original_Note)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update( + string CodCS, + string CodCliente, + string RagSociale, + string Particolare, + string DescParticolare, + string DisegnoGrezzo, + string Esponente, + string CodImpianto, + string DescImpianto, + string CodStampo, + string Figura, + global::System.Nullable DataFus, + global::System.Nullable TurnoFus, + string CodImballo, + string CodSoggetto, + global::System.Nullable NumCont, + global::System.Nullable Tara, + global::System.Nullable Qta, + string CodStato, + global::System.Nullable IdxPosizione, + global::System.Nullable PesoTot, + global::System.Nullable PesoCad, + global::System.Nullable CreateDate, + global::System.Nullable ModDate, + string Note, + string Original_UDC, + string Original_CodCS, + string Original_CodCliente, + string Original_RagSociale, + string Original_Particolare, + string Original_DescParticolare, + string Original_DisegnoGrezzo, + string Original_Esponente, + string Original_CodImpianto, + string Original_DescImpianto, + string Original_CodStampo, + string Original_Figura, + global::System.Nullable Original_DataFus, + global::System.Nullable Original_TurnoFus, + string Original_CodImballo, + string Original_CodSoggetto, + global::System.Nullable Original_NumCont, + global::System.Nullable Original_Tara, + global::System.Nullable Original_Qta, + string Original_CodStato, + global::System.Nullable Original_IdxPosizione, + global::System.Nullable Original_PesoTot, + global::System.Nullable Original_PesoCad, + global::System.Nullable Original_CreateDate, + global::System.Nullable Original_ModDate, + string Original_Note) { + return this.Update(Original_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, Note, Original_UDC, Original_CodCS, Original_CodCliente, Original_RagSociale, Original_Particolare, Original_DescParticolare, Original_DisegnoGrezzo, Original_Esponente, Original_CodImpianto, Original_DescImpianto, Original_CodStampo, Original_Figura, Original_DataFus, Original_TurnoFus, Original_CodImballo, Original_CodSoggetto, Original_NumCont, Original_Tara, Original_Qta, Original_CodStato, Original_IdxPosizione, Original_PesoTot, Original_PesoCad, Original_CreateDate, Original_ModDate, Original_Note); + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class AnagMagTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagMagTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "AnagMag"; + tableMapping.ColumnMappings.Add("CodMag", "CodMag"); + tableMapping.ColumnMappings.Add("CodCS", "CodCS"); + tableMapping.ColumnMappings.Add("DescMag", "DescMag"); + tableMapping.ColumnMappings.Add("Nascosto", "Nascosto"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[AnagMag] WHERE (([CodMag] = @Original_CodMag) AND ([CodCS] = @Original_CodCS) AND ((@IsNull_DescMag = 1 AND [DescMag] IS NULL) OR ([DescMag] = @Original_DescMag)) AND ((@IsNull_Nascosto = 1 AND [Nascosto] IS NULL) OR ([Nascosto] = @Original_Nascosto)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodMag", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodMag", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescMag", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescMag", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescMag", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescMag", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Nascosto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nascosto", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Nascosto", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nascosto", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[AnagMag] ([CodMag], [CodCS], [DescMag], [Nascosto]) VALUES (@C" + + "odMag, @CodCS, @DescMag, @Nascosto);\r\nSELECT CodMag, CodCS, DescMag, Nascosto FR" + + "OM AnagMag WHERE (CodCS = @CodCS) AND (CodMag = @CodMag)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMag", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodMag", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescMag", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescMag", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Nascosto", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nascosto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[AnagMag] SET [CodMag] = @CodMag, [CodCS] = @CodCS, [DescMag] = @DescMag, [Nascosto] = @Nascosto WHERE (([CodMag] = @Original_CodMag) AND ([CodCS] = @Original_CodCS) AND ((@IsNull_DescMag = 1 AND [DescMag] IS NULL) OR ([DescMag] = @Original_DescMag)) AND ((@IsNull_Nascosto = 1 AND [Nascosto] IS NULL) OR ([Nascosto] = @Original_Nascosto))); +SELECT CodMag, CodCS, DescMag, Nascosto FROM AnagMag WHERE (CodCS = @CodCS) AND (CodMag = @CodMag)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMag", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodMag", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescMag", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescMag", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Nascosto", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nascosto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodMag", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodMag", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescMag", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescMag", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescMag", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescMag", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Nascosto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nascosto", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Nascosto", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nascosto", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[5]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT * FROM dbo.AnagMag"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "DELETE FROM AnagMag\r\nWHERE (CodCS = @CodCS) AND (CodMag = @Original_CodMag" + + ")"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.NChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodMag", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "CodMag", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[2].Connection = this.Connection; + this._commandCollection[2].CommandText = "dbo.stp_magGetByCS"; + this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[2].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[2].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[3] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[3].Connection = this.Connection; + this._commandCollection[3].CommandText = "dbo.stp_magGetByCodMag"; + this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[3].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[3].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[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMag", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[4].Connection = this.Connection; + this._commandCollection[4].CommandText = "UPDATE AnagMag\r\nSET CodCS = @CodCS, CodMag = @CodMag, DescMa" + + "g = @DescMag, Nascosto = @Nascosto\r\nWHERE (CodCS = @Original_CodCS) AND (" + + "CodMag = @Original_CodMag)"; + this._commandCollection[4].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.NChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMag", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "CodMag", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescMag", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "DescMag", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Nascosto", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "Nascosto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCS", global::System.Data.SqlDbType.NChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodMag", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "CodMag", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_magazzino.AnagMagDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_magazzino.AnagMagDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_magazzino.AnagMagDataTable dataTable = new DS_magazzino.AnagMagDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.AnagMagDataTable getByCodCS(string CodCS) { + this.Adapter.SelectCommand = this.CommandCollection[2]; + if ((CodCS == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodCS)); + } + DS_magazzino.AnagMagDataTable dataTable = new DS_magazzino.AnagMagDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.AnagMagDataTable getByCodMag(string CodCS, string CodMag) { + this.Adapter.SelectCommand = this.CommandCollection[3]; + if ((CodCS == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodCS)); + } + if ((CodMag == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodMag)); + } + DS_magazzino.AnagMagDataTable dataTable = new DS_magazzino.AnagMagDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_magazzino.AnagMagDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_magazzino dataSet) { + return this.Adapter.Update(dataSet, "AnagMag"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_CodMag, string Original_CodCS, string Original_DescMag, global::System.Nullable Original_Nascosto) { + if ((Original_CodMag == null)) { + throw new global::System.ArgumentNullException("Original_CodMag"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodMag)); + } + if ((Original_CodCS == null)) { + throw new global::System.ArgumentNullException("Original_CodCS"); + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_CodCS)); + } + if ((Original_DescMag == null)) { + this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_DescMag)); + } + if ((Original_Nascosto.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[5].Value = ((bool)(Original_Nascosto.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[5].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string CodMag, string CodCS, string DescMag, global::System.Nullable Nascosto) { + if ((CodMag == null)) { + throw new global::System.ArgumentNullException("CodMag"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodMag)); + } + if ((CodCS == null)) { + throw new global::System.ArgumentNullException("CodCS"); + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(CodCS)); + } + if ((DescMag == null)) { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(DescMag)); + } + if ((Nascosto.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[3].Value = ((bool)(Nascosto.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string CodMag, string CodCS, string DescMag, global::System.Nullable Nascosto, string Original_CodMag, string Original_CodCS, string Original_DescMag, global::System.Nullable Original_Nascosto) { + if ((CodMag == null)) { + throw new global::System.ArgumentNullException("CodMag"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodMag)); + } + if ((CodCS == null)) { + throw new global::System.ArgumentNullException("CodCS"); + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(CodCS)); + } + if ((DescMag == null)) { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(DescMag)); + } + if ((Nascosto.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[3].Value = ((bool)(Nascosto.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; + } + if ((Original_CodMag == null)) { + throw new global::System.ArgumentNullException("Original_CodMag"); + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_CodMag)); + } + if ((Original_CodCS == null)) { + throw new global::System.ArgumentNullException("Original_CodCS"); + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Original_CodCS)); + } + if ((Original_DescMag == null)) { + this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Original_DescMag)); + } + if ((Original_Nascosto.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[9].Value = ((bool)(Original_Nascosto.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string CodCS, string DescMag, global::System.Nullable Nascosto, string Original_CodMag, string Original_CodCS, string Original_DescMag, global::System.Nullable Original_Nascosto) { + return this.Update(Original_CodMag, CodCS, DescMag, Nascosto, Original_CodMag, Original_CodCS, Original_DescMag, Original_Nascosto); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, false)] + public virtual int DeleteQuery(string CodCS, string Original_CodMag) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1]; + if ((CodCS == null)) { + throw new global::System.ArgumentNullException("CodCS"); + } + else { + command.Parameters[0].Value = ((string)(CodCS)); + } + if ((Original_CodMag == null)) { + throw new global::System.ArgumentNullException("Original_CodMag"); + } + else { + command.Parameters[1].Value = ((string)(Original_CodMag)); + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, false)] + public virtual int UpdateQuery(string CodCS, string CodMag, string DescMag, global::System.Nullable Nascosto, string Original_CodCS, string Original_CodMag) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4]; + if ((CodCS == null)) { + throw new global::System.ArgumentNullException("CodCS"); + } + else { + command.Parameters[0].Value = ((string)(CodCS)); + } + if ((CodMag == null)) { + throw new global::System.ArgumentNullException("CodMag"); + } + else { + command.Parameters[1].Value = ((string)(CodMag)); + } + if ((DescMag == null)) { + command.Parameters[2].Value = global::System.DBNull.Value; + } + else { + command.Parameters[2].Value = ((string)(DescMag)); + } + if ((Nascosto.HasValue == true)) { + command.Parameters[3].Value = ((bool)(Nascosto.Value)); + } + else { + command.Parameters[3].Value = global::System.DBNull.Value; + } + if ((Original_CodCS == null)) { + throw new global::System.ArgumentNullException("Original_CodCS"); + } + else { + command.Parameters[4].Value = ((string)(Original_CodCS)); + } + if ((Original_CodMag == null)) { + throw new global::System.ArgumentNullException("Original_CodMag"); + } + else { + command.Parameters[5].Value = ((string)(Original_CodMag)); + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class PosizioneUdcCorrenteTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public PosizioneUdcCorrenteTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "PosizioneUdcCorrente"; + tableMapping.ColumnMappings.Add("UDC", "UDC"); + tableMapping.ColumnMappings.Add("IdxCella", "IdxCella"); + tableMapping.ColumnMappings.Add("CodCS", "CodCS"); + tableMapping.ColumnMappings.Add("DataRif", "DataRif"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = "DELETE FROM [dbo].[PosizioneUdcCorrente] WHERE (([UDC] = @Original_UDC) AND ([Idx" + + "Cella] = @Original_IdxCella) AND ([CodCS] = @Original_CodCS) AND ((@IsNull_DataR" + + "if = 1 AND [DataRif] IS NULL) OR ([DataRif] = @Original_DataRif)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxCella", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxCella", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DataRif", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataRif", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataRif", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataRif", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[PosizioneUdcCorrente] ([UDC], [IdxCella], [CodCS], [DataRif]) " + + "VALUES (@UDC, @IdxCella, @CodCS, @DataRif);\r\nSELECT UDC, IdxCella, CodCS, DataRi" + + "f FROM PosizioneUdcCorrente WHERE (IdxCella = @IdxCella) AND (UDC = @UDC)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxCella", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxCella", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataRif", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataRif", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[PosizioneUdcCorrente] SET [UDC] = @UDC, [IdxCella] = @IdxCella, [CodCS] = @CodCS, [DataRif] = @DataRif WHERE (([UDC] = @Original_UDC) AND ([IdxCella] = @Original_IdxCella) AND ([CodCS] = @Original_CodCS) AND ((@IsNull_DataRif = 1 AND [DataRif] IS NULL) OR ([DataRif] = @Original_DataRif))); +SELECT UDC, IdxCella, CodCS, DataRif FROM PosizioneUdcCorrente WHERE (IdxCella = @IdxCella) AND (UDC = @UDC)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxCella", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxCella", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataRif", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataRif", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxCella", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxCella", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DataRif", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataRif", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataRif", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataRif", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[8]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT UDC, IdxCella, CodCS, DataRif FROM dbo.PosizioneUdcCorrente"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "dbo.stp_posizioniGetByIdxCellaUdc"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[1].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[1].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[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxCella", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[2].Connection = this.Connection; + this._commandCollection[2].CommandText = "dbo.stp_posizioniGetByIdxBlocco"; + this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[2].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[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxBlocco", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[3].Connection = this.Connection; + this._commandCollection[3].CommandText = "dbo.stp_posizioniGetByIdxCella"; + this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[3].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[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxCella", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[4].Connection = this.Connection; + this._commandCollection[4].CommandText = "dbo.stp_getPosizioneByUdc"; + this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[4].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[4].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[5] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[5].Connection = this.Connection; + this._commandCollection[5].CommandText = "dbo.stp_getPosizioneByUdcCodMag"; + this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMag", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[6].Connection = this.Connection; + this._commandCollection[6].CommandText = "dbo.stp_scaricaUdc"; + this._commandCollection[6].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[6].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[6].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[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxPosizione", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodEvento", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.NVarChar, 17, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[7].Connection = this.Connection; + this._commandCollection[7].CommandText = "dbo.stp_spostaUdc"; + this._commandCollection[7].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[7].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[7].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[7].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[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxCellaTo", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@resetRLP", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_magazzino.PosizioneUdcCorrenteDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_magazzino.PosizioneUdcCorrenteDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_magazzino.PosizioneUdcCorrenteDataTable dataTable = new DS_magazzino.PosizioneUdcCorrenteDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.PosizioneUdcCorrenteDataTable getByCellaUdc(string UDC, global::System.Nullable IdxCella) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((UDC == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(UDC)); + } + if ((IdxCella.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[2].Value = ((int)(IdxCella.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + DS_magazzino.PosizioneUdcCorrenteDataTable dataTable = new DS_magazzino.PosizioneUdcCorrenteDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.PosizioneUdcCorrenteDataTable getByIdxBlocco(global::System.Nullable IdxBlocco) { + this.Adapter.SelectCommand = this.CommandCollection[2]; + if ((IdxBlocco.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxBlocco.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + DS_magazzino.PosizioneUdcCorrenteDataTable dataTable = new DS_magazzino.PosizioneUdcCorrenteDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.PosizioneUdcCorrenteDataTable getByIdxCella(global::System.Nullable IdxCella) { + this.Adapter.SelectCommand = this.CommandCollection[3]; + if ((IdxCella.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxCella.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + DS_magazzino.PosizioneUdcCorrenteDataTable dataTable = new DS_magazzino.PosizioneUdcCorrenteDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.PosizioneUdcCorrenteDataTable getByUDC(string UDC) { + this.Adapter.SelectCommand = this.CommandCollection[4]; + if ((UDC == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(UDC)); + } + DS_magazzino.PosizioneUdcCorrenteDataTable dataTable = new DS_magazzino.PosizioneUdcCorrenteDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.PosizioneUdcCorrenteDataTable getByUdcCodMag(string UDC, string CodMag) { + this.Adapter.SelectCommand = this.CommandCollection[5]; + if ((UDC == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(UDC)); + } + if ((CodMag == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodMag)); + } + DS_magazzino.PosizioneUdcCorrenteDataTable dataTable = new DS_magazzino.PosizioneUdcCorrenteDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_magazzino.PosizioneUdcCorrenteDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_magazzino dataSet) { + return this.Adapter.Update(dataSet, "PosizioneUdcCorrente"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_UDC, int Original_IdxCella, string Original_CodCS, global::System.Nullable Original_DataRif) { + if ((Original_UDC == null)) { + throw new global::System.ArgumentNullException("Original_UDC"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_UDC)); + } + this.Adapter.DeleteCommand.Parameters[1].Value = ((int)(Original_IdxCella)); + if ((Original_CodCS == null)) { + throw new global::System.ArgumentNullException("Original_CodCS"); + } + else { + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_CodCS)); + } + if ((Original_DataRif.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[4].Value = ((System.DateTime)(Original_DataRif.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string UDC, int IdxCella, string CodCS, global::System.Nullable DataRif) { + if ((UDC == null)) { + throw new global::System.ArgumentNullException("UDC"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(UDC)); + } + this.Adapter.InsertCommand.Parameters[1].Value = ((int)(IdxCella)); + if ((CodCS == null)) { + throw new global::System.ArgumentNullException("CodCS"); + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(CodCS)); + } + if ((DataRif.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[3].Value = ((System.DateTime)(DataRif.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string UDC, int IdxCella, string CodCS, global::System.Nullable DataRif, string Original_UDC, int Original_IdxCella, string Original_CodCS, global::System.Nullable Original_DataRif) { + if ((UDC == null)) { + throw new global::System.ArgumentNullException("UDC"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(UDC)); + } + this.Adapter.UpdateCommand.Parameters[1].Value = ((int)(IdxCella)); + if ((CodCS == null)) { + throw new global::System.ArgumentNullException("CodCS"); + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(CodCS)); + } + if ((DataRif.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[3].Value = ((System.DateTime)(DataRif.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; + } + if ((Original_UDC == null)) { + throw new global::System.ArgumentNullException("Original_UDC"); + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_UDC)); + } + this.Adapter.UpdateCommand.Parameters[5].Value = ((int)(Original_IdxCella)); + if ((Original_CodCS == null)) { + throw new global::System.ArgumentNullException("Original_CodCS"); + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_CodCS)); + } + if ((Original_DataRif.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[8].Value = ((System.DateTime)(Original_DataRif.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string CodCS, global::System.Nullable DataRif, string Original_UDC, int Original_IdxCella, string Original_CodCS, global::System.Nullable Original_DataRif) { + return this.Update(Original_UDC, Original_IdxCella, CodCS, DataRif, Original_UDC, Original_IdxCella, Original_CodCS, Original_DataRif); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int stp_scaricaUdc(string UDC, global::System.Nullable IdxPosizione, string CodEvento, string CodSoggetto) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[6]; + if ((UDC == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(UDC)); + } + if ((IdxPosizione.HasValue == true)) { + command.Parameters[2].Value = ((int)(IdxPosizione.Value)); + } + else { + command.Parameters[2].Value = global::System.DBNull.Value; + } + if ((CodEvento == null)) { + command.Parameters[3].Value = global::System.DBNull.Value; + } + else { + command.Parameters[3].Value = ((string)(CodEvento)); + } + if ((CodSoggetto == null)) { + command.Parameters[4].Value = global::System.DBNull.Value; + } + else { + command.Parameters[4].Value = ((string)(CodSoggetto)); + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int stp_spostaUdc(string CodCS, string UDC, global::System.Nullable IdxCellaTo, global::System.Nullable resetRLP) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[7]; + if ((CodCS == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(CodCS)); + } + if ((UDC == null)) { + command.Parameters[2].Value = global::System.DBNull.Value; + } + else { + command.Parameters[2].Value = ((string)(UDC)); + } + if ((IdxCellaTo.HasValue == true)) { + command.Parameters[3].Value = ((int)(IdxCellaTo.Value)); + } + else { + command.Parameters[3].Value = global::System.DBNull.Value; + } + if ((resetRLP.HasValue == true)) { + command.Parameters[4].Value = ((bool)(resetRLP.Value)); + } + else { + command.Parameters[4].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class PosizioneUdcStoricoTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public PosizioneUdcStoricoTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "PosizioneUdcStorico"; + tableMapping.ColumnMappings.Add("UDC", "UDC"); + tableMapping.ColumnMappings.Add("IdxCella", "IdxCella"); + tableMapping.ColumnMappings.Add("CodCS", "CodCS"); + tableMapping.ColumnMappings.Add("DataInizio", "DataInizio"); + tableMapping.ColumnMappings.Add("DataFine", "DataFine"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[PosizioneUdcStorico] WHERE (([UDC] = @Original_UDC) AND ([IdxCella] = @Original_IdxCella) AND ([CodCS] = @Original_CodCS) AND ([DataInizio] = @Original_DataInizio) AND ((@IsNull_DataFine = 1 AND [DataFine] IS NULL) OR ([DataFine] = @Original_DataFine)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxCella", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxCella", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataInizio", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataInizio", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DataFine", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataFine", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataFine", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataFine", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[PosizioneUdcStorico] ([UDC], [IdxCella], [CodCS], [DataInizio], [DataFine]) VALUES (@UDC, @IdxCella, @CodCS, @DataInizio, @DataFine); +SELECT UDC, IdxCella, CodCS, DataInizio, DataFine FROM PosizioneUdcStorico WHERE (IdxCella = @IdxCella) AND (UDC = @UDC)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxCella", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxCella", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataInizio", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataInizio", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataFine", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataFine", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[PosizioneUdcStorico] SET [UDC] = @UDC, [IdxCella] = @IdxCella, [CodCS] = @CodCS, [DataInizio] = @DataInizio, [DataFine] = @DataFine WHERE (([UDC] = @Original_UDC) AND ([IdxCella] = @Original_IdxCella) AND ([CodCS] = @Original_CodCS) AND ([DataInizio] = @Original_DataInizio) AND ((@IsNull_DataFine = 1 AND [DataFine] IS NULL) OR ([DataFine] = @Original_DataFine))); +SELECT UDC, IdxCella, CodCS, DataInizio, DataFine FROM PosizioneUdcStorico WHERE (IdxCella = @IdxCella) AND (UDC = @UDC)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxCella", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxCella", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataInizio", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataInizio", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataFine", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataFine", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxCella", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxCella", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataInizio", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataInizio", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DataFine", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataFine", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataFine", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataFine", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "SELECT UDC, IdxCella, CodCS, DataInizio, DataFine FROM dbo.PosizioneUdcStorico"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_magazzino.PosizioneUdcStoricoDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_magazzino.PosizioneUdcStoricoDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_magazzino.PosizioneUdcStoricoDataTable dataTable = new DS_magazzino.PosizioneUdcStoricoDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_magazzino.PosizioneUdcStoricoDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_magazzino dataSet) { + return this.Adapter.Update(dataSet, "PosizioneUdcStorico"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_UDC, int Original_IdxCella, string Original_CodCS, System.DateTime Original_DataInizio, global::System.Nullable Original_DataFine) { + if ((Original_UDC == null)) { + throw new global::System.ArgumentNullException("Original_UDC"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_UDC)); + } + this.Adapter.DeleteCommand.Parameters[1].Value = ((int)(Original_IdxCella)); + if ((Original_CodCS == null)) { + throw new global::System.ArgumentNullException("Original_CodCS"); + } + else { + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_CodCS)); + } + this.Adapter.DeleteCommand.Parameters[3].Value = ((System.DateTime)(Original_DataInizio)); + if ((Original_DataFine.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[5].Value = ((System.DateTime)(Original_DataFine.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[5].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string UDC, int IdxCella, string CodCS, System.DateTime DataInizio, global::System.Nullable DataFine) { + if ((UDC == null)) { + throw new global::System.ArgumentNullException("UDC"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(UDC)); + } + this.Adapter.InsertCommand.Parameters[1].Value = ((int)(IdxCella)); + if ((CodCS == null)) { + throw new global::System.ArgumentNullException("CodCS"); + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(CodCS)); + } + this.Adapter.InsertCommand.Parameters[3].Value = ((System.DateTime)(DataInizio)); + if ((DataFine.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[4].Value = ((System.DateTime)(DataFine.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string UDC, int IdxCella, string CodCS, System.DateTime DataInizio, global::System.Nullable DataFine, string Original_UDC, int Original_IdxCella, string Original_CodCS, System.DateTime Original_DataInizio, global::System.Nullable Original_DataFine) { + if ((UDC == null)) { + throw new global::System.ArgumentNullException("UDC"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(UDC)); + } + this.Adapter.UpdateCommand.Parameters[1].Value = ((int)(IdxCella)); + if ((CodCS == null)) { + throw new global::System.ArgumentNullException("CodCS"); + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(CodCS)); + } + this.Adapter.UpdateCommand.Parameters[3].Value = ((System.DateTime)(DataInizio)); + if ((DataFine.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[4].Value = ((System.DateTime)(DataFine.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + if ((Original_UDC == null)) { + throw new global::System.ArgumentNullException("Original_UDC"); + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Original_UDC)); + } + this.Adapter.UpdateCommand.Parameters[6].Value = ((int)(Original_IdxCella)); + if ((Original_CodCS == null)) { + throw new global::System.ArgumentNullException("Original_CodCS"); + } + else { + this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Original_CodCS)); + } + this.Adapter.UpdateCommand.Parameters[8].Value = ((System.DateTime)(Original_DataInizio)); + if ((Original_DataFine.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[10].Value = ((System.DateTime)(Original_DataFine.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string CodCS, System.DateTime DataInizio, global::System.Nullable DataFine, string Original_UDC, int Original_IdxCella, string Original_CodCS, System.DateTime Original_DataInizio, global::System.Nullable Original_DataFine) { + return this.Update(Original_UDC, Original_IdxCella, CodCS, DataInizio, DataFine, Original_UDC, Original_IdxCella, Original_CodCS, Original_DataInizio, Original_DataFine); + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class BlocchiTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public BlocchiTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "Blocchi"; + tableMapping.ColumnMappings.Add("IdxBlocco", "IdxBlocco"); + tableMapping.ColumnMappings.Add("CodMag", "CodMag"); + tableMapping.ColumnMappings.Add("CodCS", "CodCS"); + tableMapping.ColumnMappings.Add("CodBlocco", "CodBlocco"); + tableMapping.ColumnMappings.Add("DescBlocco", "DescBlocco"); + tableMapping.ColumnMappings.Add("NumX", "NumX"); + tableMapping.ColumnMappings.Add("NumY", "NumY"); + tableMapping.ColumnMappings.Add("NumZ", "NumZ"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[Blocchi] WHERE (([IdxBlocco] = @Original_IdxBlocco) AND ((@IsNull_CodMag = 1 AND [CodMag] IS NULL) OR ([CodMag] = @Original_CodMag)) AND ((@IsNull_CodCS = 1 AND [CodCS] IS NULL) OR ([CodCS] = @Original_CodCS)) AND ((@IsNull_CodBlocco = 1 AND [CodBlocco] IS NULL) OR ([CodBlocco] = @Original_CodBlocco)) AND ((@IsNull_DescBlocco = 1 AND [DescBlocco] IS NULL) OR ([DescBlocco] = @Original_DescBlocco)) AND ((@IsNull_NumX = 1 AND [NumX] IS NULL) OR ([NumX] = @Original_NumX)) AND ((@IsNull_NumY = 1 AND [NumY] IS NULL) OR ([NumY] = @Original_NumY)) AND ((@IsNull_NumZ = 1 AND [NumZ] IS NULL) OR ([NumZ] = @Original_NumZ)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxBlocco", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxBlocco", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodMag", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodMag", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodMag", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodMag", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodCS", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodBlocco", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodBlocco", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodBlocco", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodBlocco", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescBlocco", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescBlocco", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescBlocco", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescBlocco", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_NumX", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumX", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumX", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumX", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_NumY", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumY", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumY", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumY", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_NumZ", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumZ", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumZ", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumZ", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[Blocchi] ([CodMag], [CodCS], [CodBlocco], [DescBlocco], [NumX], [NumY], [NumZ]) VALUES (@CodMag, @CodCS, @CodBlocco, @DescBlocco, @NumX, @NumY, @NumZ); +SELECT IdxBlocco, CodMag, CodCS, CodBlocco, DescBlocco, NumX, NumY, NumZ FROM Blocchi WHERE (IdxBlocco = SCOPE_IDENTITY())"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMag", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodMag", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodBlocco", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodBlocco", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescBlocco", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescBlocco", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumX", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumX", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumY", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumY", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumZ", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumZ", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[Blocchi] SET [CodMag] = @CodMag, [CodCS] = @CodCS, [CodBlocco] = @CodBlocco, [DescBlocco] = @DescBlocco, [NumX] = @NumX, [NumY] = @NumY, [NumZ] = @NumZ WHERE (([IdxBlocco] = @Original_IdxBlocco) AND ((@IsNull_CodMag = 1 AND [CodMag] IS NULL) OR ([CodMag] = @Original_CodMag)) AND ((@IsNull_CodCS = 1 AND [CodCS] IS NULL) OR ([CodCS] = @Original_CodCS)) AND ((@IsNull_CodBlocco = 1 AND [CodBlocco] IS NULL) OR ([CodBlocco] = @Original_CodBlocco)) AND ((@IsNull_DescBlocco = 1 AND [DescBlocco] IS NULL) OR ([DescBlocco] = @Original_DescBlocco)) AND ((@IsNull_NumX = 1 AND [NumX] IS NULL) OR ([NumX] = @Original_NumX)) AND ((@IsNull_NumY = 1 AND [NumY] IS NULL) OR ([NumY] = @Original_NumY)) AND ((@IsNull_NumZ = 1 AND [NumZ] IS NULL) OR ([NumZ] = @Original_NumZ))); +SELECT IdxBlocco, CodMag, CodCS, CodBlocco, DescBlocco, NumX, NumY, NumZ FROM Blocchi WHERE (IdxBlocco = @IdxBlocco)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMag", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodMag", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodBlocco", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodBlocco", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescBlocco", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescBlocco", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumX", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumX", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumY", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumY", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumZ", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumZ", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxBlocco", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxBlocco", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodMag", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodMag", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodMag", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodMag", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodCS", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodBlocco", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodBlocco", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodBlocco", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodBlocco", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescBlocco", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescBlocco", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescBlocco", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescBlocco", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_NumX", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumX", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumX", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumX", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_NumY", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumY", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumY", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumY", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_NumZ", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumZ", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumZ", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumZ", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxBlocco", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "IdxBlocco", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[7]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT IdxBlocco, CodMag, CodCS, CodBlocco, DescBlocco, NumX, NumY, NumZ FROM dbo" + + ".Blocchi"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "DELETE FROM [dbo].[Blocchi] WHERE ([IdxBlocco] = @Original_IdxBlocco)"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxBlocco", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "IdxBlocco", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[2].Connection = this.Connection; + this._commandCollection[2].CommandText = "dbo.stp_BlocchiGetByCodBlocco"; + this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[2].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[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodBlocco", global::System.Data.SqlDbType.VarChar, 3, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[3].Connection = this.Connection; + this._commandCollection[3].CommandText = "dbo.stp_BlocchiGetByCodMag"; + this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[3].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[3].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[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMag", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[4].Connection = this.Connection; + this._commandCollection[4].CommandText = "dbo.stp_BlocchiGetByIdx"; + this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[4].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[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxBlocco", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[5].Connection = this.Connection; + this._commandCollection[5].CommandText = "dbo.stp_Blocchi_Insert"; + this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMag", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.NVarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodBlocco", global::System.Data.SqlDbType.NVarChar, 3, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescBlocco", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumX", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumY", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumZ", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[6].Connection = this.Connection; + this._commandCollection[6].CommandText = "UPDATE Blocchi\r\nSET CodMag = @CodMag, CodCS = @CodCS, CodBlo" + + "cco = @CodBlocco, DescBlocco = @DescBlocco, NumX = @NumX, NumY = @NumY, NumZ = @" + + "NumZ\r\nWHERE (IdxBlocco = @Original_IdxBlocco)"; + this._commandCollection[6].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMag", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "CodMag", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.NChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodBlocco", global::System.Data.SqlDbType.NVarChar, 3, global::System.Data.ParameterDirection.Input, 0, 0, "CodBlocco", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescBlocco", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "DescBlocco", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumX", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "NumX", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumY", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "NumY", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumZ", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "NumZ", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxBlocco", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "IdxBlocco", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_magazzino.BlocchiDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_magazzino.BlocchiDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_magazzino.BlocchiDataTable dataTable = new DS_magazzino.BlocchiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.BlocchiDataTable getByCodBlocco(string CodBlocco) { + this.Adapter.SelectCommand = this.CommandCollection[2]; + if ((CodBlocco == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodBlocco)); + } + DS_magazzino.BlocchiDataTable dataTable = new DS_magazzino.BlocchiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.BlocchiDataTable getByCodMag(string CodCS, string CodMag) { + this.Adapter.SelectCommand = this.CommandCollection[3]; + if ((CodCS == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodCS)); + } + if ((CodMag == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodMag)); + } + DS_magazzino.BlocchiDataTable dataTable = new DS_magazzino.BlocchiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.BlocchiDataTable getByIdx(global::System.Nullable IdxBlocco) { + this.Adapter.SelectCommand = this.CommandCollection[4]; + if ((IdxBlocco.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxBlocco.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + DS_magazzino.BlocchiDataTable dataTable = new DS_magazzino.BlocchiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_magazzino.BlocchiDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_magazzino dataSet) { + return this.Adapter.Update(dataSet, "Blocchi"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(int Original_IdxBlocco, string Original_CodMag, string Original_CodCS, string Original_CodBlocco, string Original_DescBlocco, global::System.Nullable Original_NumX, global::System.Nullable Original_NumY, global::System.Nullable Original_NumZ) { + this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_IdxBlocco)); + if ((Original_CodMag == null)) { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_CodMag)); + } + if ((Original_CodCS == null)) { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_CodCS)); + } + if ((Original_CodBlocco == null)) { + this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_CodBlocco)); + } + if ((Original_DescBlocco == null)) { + this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_DescBlocco)); + } + if ((Original_NumX.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[10].Value = ((int)(Original_NumX.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value; + } + if ((Original_NumY.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[12].Value = ((int)(Original_NumY.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value; + } + if ((Original_NumZ.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[14].Value = ((int)(Original_NumZ.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[14].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string CodMag, string CodCS, string CodBlocco, string DescBlocco, global::System.Nullable NumX, global::System.Nullable NumY, global::System.Nullable NumZ) { + if ((CodMag == null)) { + this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodMag)); + } + if ((CodCS == null)) { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(CodCS)); + } + if ((CodBlocco == null)) { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(CodBlocco)); + } + if ((DescBlocco == null)) { + this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = ((string)(DescBlocco)); + } + if ((NumX.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[4].Value = ((int)(NumX.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; + } + if ((NumY.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[5].Value = ((int)(NumY.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; + } + if ((NumZ.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[6].Value = ((int)(NumZ.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update( + string CodMag, + string CodCS, + string CodBlocco, + string DescBlocco, + global::System.Nullable NumX, + global::System.Nullable NumY, + global::System.Nullable NumZ, + int Original_IdxBlocco, + string Original_CodMag, + string Original_CodCS, + string Original_CodBlocco, + string Original_DescBlocco, + global::System.Nullable Original_NumX, + global::System.Nullable Original_NumY, + global::System.Nullable Original_NumZ, + int IdxBlocco) { + if ((CodMag == null)) { + this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodMag)); + } + if ((CodCS == null)) { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(CodCS)); + } + if ((CodBlocco == null)) { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(CodBlocco)); + } + if ((DescBlocco == null)) { + this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(DescBlocco)); + } + if ((NumX.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[4].Value = ((int)(NumX.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + if ((NumY.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[5].Value = ((int)(NumY.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; + } + if ((NumZ.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[6].Value = ((int)(NumZ.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; + } + this.Adapter.UpdateCommand.Parameters[7].Value = ((int)(Original_IdxBlocco)); + if ((Original_CodMag == null)) { + this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_CodMag)); + } + if ((Original_CodCS == null)) { + this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Original_CodCS)); + } + if ((Original_CodBlocco == null)) { + this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(Original_CodBlocco)); + } + if ((Original_DescBlocco == null)) { + this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Original_DescBlocco)); + } + if ((Original_NumX.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[17].Value = ((int)(Original_NumX.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value; + } + if ((Original_NumY.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[19].Value = ((int)(Original_NumY.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value; + } + if ((Original_NumZ.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[21].Value = ((int)(Original_NumZ.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value; + } + this.Adapter.UpdateCommand.Parameters[22].Value = ((int)(IdxBlocco)); + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string CodMag, string CodCS, string CodBlocco, string DescBlocco, global::System.Nullable NumX, global::System.Nullable NumY, global::System.Nullable NumZ, int Original_IdxBlocco, string Original_CodMag, string Original_CodCS, string Original_CodBlocco, string Original_DescBlocco, global::System.Nullable Original_NumX, global::System.Nullable Original_NumY, global::System.Nullable Original_NumZ) { + return this.Update(CodMag, CodCS, CodBlocco, DescBlocco, NumX, NumY, NumZ, Original_IdxBlocco, Original_CodMag, Original_CodCS, Original_CodBlocco, Original_DescBlocco, Original_NumX, Original_NumY, Original_NumZ, Original_IdxBlocco); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, false)] + public virtual int DeleteQuery(int Original_IdxBlocco) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1]; + command.Parameters[0].Value = ((int)(Original_IdxBlocco)); + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int insertQuery(string CodMag, string CodCS, string CodBlocco, string DescBlocco, global::System.Nullable NumX, global::System.Nullable NumY, global::System.Nullable NumZ) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5]; + if ((CodMag == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(CodMag)); + } + if ((CodCS == null)) { + command.Parameters[2].Value = global::System.DBNull.Value; + } + else { + command.Parameters[2].Value = ((string)(CodCS)); + } + if ((CodBlocco == null)) { + command.Parameters[3].Value = global::System.DBNull.Value; + } + else { + command.Parameters[3].Value = ((string)(CodBlocco)); + } + if ((DescBlocco == null)) { + command.Parameters[4].Value = global::System.DBNull.Value; + } + else { + command.Parameters[4].Value = ((string)(DescBlocco)); + } + if ((NumX.HasValue == true)) { + command.Parameters[5].Value = ((int)(NumX.Value)); + } + else { + command.Parameters[5].Value = global::System.DBNull.Value; + } + if ((NumY.HasValue == true)) { + command.Parameters[6].Value = ((int)(NumY.Value)); + } + else { + command.Parameters[6].Value = global::System.DBNull.Value; + } + if ((NumZ.HasValue == true)) { + command.Parameters[7].Value = ((int)(NumZ.Value)); + } + else { + command.Parameters[7].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, false)] + public virtual int UpdateQuery(string CodMag, string CodCS, string CodBlocco, string DescBlocco, global::System.Nullable NumX, global::System.Nullable NumY, global::System.Nullable NumZ, int Original_IdxBlocco) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[6]; + if ((CodMag == null)) { + command.Parameters[0].Value = global::System.DBNull.Value; + } + else { + command.Parameters[0].Value = ((string)(CodMag)); + } + if ((CodCS == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(CodCS)); + } + if ((CodBlocco == null)) { + command.Parameters[2].Value = global::System.DBNull.Value; + } + else { + command.Parameters[2].Value = ((string)(CodBlocco)); + } + if ((DescBlocco == null)) { + command.Parameters[3].Value = global::System.DBNull.Value; + } + else { + command.Parameters[3].Value = ((string)(DescBlocco)); + } + if ((NumX.HasValue == true)) { + command.Parameters[4].Value = ((int)(NumX.Value)); + } + else { + command.Parameters[4].Value = global::System.DBNull.Value; + } + if ((NumY.HasValue == true)) { + command.Parameters[5].Value = ((int)(NumY.Value)); + } + else { + command.Parameters[5].Value = global::System.DBNull.Value; + } + if ((NumZ.HasValue == true)) { + command.Parameters[6].Value = ((int)(NumZ.Value)); + } + else { + command.Parameters[6].Value = global::System.DBNull.Value; + } + command.Parameters[7].Value = ((int)(Original_IdxBlocco)); + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class CelleTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public CelleTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "Celle"; + tableMapping.ColumnMappings.Add("IdxCella", "IdxCella"); + tableMapping.ColumnMappings.Add("CodCS", "CodCS"); + tableMapping.ColumnMappings.Add("CodCella", "CodCella"); + tableMapping.ColumnMappings.Add("IdxTipoCella", "IdxTipoCella"); + tableMapping.ColumnMappings.Add("Descrizione", "Descrizione"); + tableMapping.ColumnMappings.Add("Attiva", "Attiva"); + tableMapping.ColumnMappings.Add("IdxBlocco", "IdxBlocco"); + tableMapping.ColumnMappings.Add("X", "X"); + tableMapping.ColumnMappings.Add("Y", "Y"); + tableMapping.ColumnMappings.Add("Z", "Z"); + tableMapping.ColumnMappings.Add("Piena", "Piena"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[Celle] WHERE (([IdxCella] = @Original_IdxCella) AND ([CodCS] = @Original_CodCS) AND ([CodCella] = @Original_CodCella) AND ((@IsNull_IdxTipoCella = 1 AND [IdxTipoCella] IS NULL) OR ([IdxTipoCella] = @Original_IdxTipoCella)) AND ((@IsNull_Descrizione = 1 AND [Descrizione] IS NULL) OR ([Descrizione] = @Original_Descrizione)) AND ((@IsNull_Attiva = 1 AND [Attiva] IS NULL) OR ([Attiva] = @Original_Attiva)) AND ((@IsNull_Piena = 1 AND [Piena] IS NULL) OR ([Piena] = @Original_Piena)) AND ([IdxBlocco] = @Original_IdxBlocco) AND ([X] = @Original_X) AND ([Y] = @Original_Y) AND ([Z] = @Original_Z))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxCella", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxCella", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCella", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCella", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_IdxTipoCella", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxTipoCella", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxTipoCella", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxTipoCella", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Descrizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descrizione", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Descrizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descrizione", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Attiva", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Attiva", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Attiva", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Attiva", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Piena", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Piena", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Piena", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Piena", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxBlocco", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxBlocco", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_X", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "X", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Y", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Y", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Z", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Z", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[Celle] ([CodCS], [CodCella], [IdxTipoCella], [Descrizione], [Attiva], [Piena], [IdxBlocco], [X], [Y], [Z]) VALUES (@CodCS, @CodCella, @IdxTipoCella, @Descrizione, @Attiva, @Piena, @IdxBlocco, @X, @Y, @Z); +SELECT IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z FROM Celle WHERE (IdxCella = SCOPE_IDENTITY())"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCella", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCella", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxTipoCella", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxTipoCella", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Descrizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descrizione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Attiva", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Attiva", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Piena", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Piena", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxBlocco", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxBlocco", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@X", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "X", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Y", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Y", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Z", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Z", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[Celle] SET [CodCS] = @CodCS, [CodCella] = @CodCella, [IdxTipoCella] = @IdxTipoCella, [Descrizione] = @Descrizione, [Attiva] = @Attiva, [Piena] = @Piena, [IdxBlocco] = @IdxBlocco, [X] = @X, [Y] = @Y, [Z] = @Z WHERE (([IdxCella] = @Original_IdxCella) AND ([CodCS] = @Original_CodCS) AND ([CodCella] = @Original_CodCella) AND ((@IsNull_IdxTipoCella = 1 AND [IdxTipoCella] IS NULL) OR ([IdxTipoCella] = @Original_IdxTipoCella)) AND ((@IsNull_Descrizione = 1 AND [Descrizione] IS NULL) OR ([Descrizione] = @Original_Descrizione)) AND ((@IsNull_Attiva = 1 AND [Attiva] IS NULL) OR ([Attiva] = @Original_Attiva)) AND ((@IsNull_Piena = 1 AND [Piena] IS NULL) OR ([Piena] = @Original_Piena)) AND ([IdxBlocco] = @Original_IdxBlocco) AND ([X] = @Original_X) AND ([Y] = @Original_Y) AND ([Z] = @Original_Z)); +SELECT IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z FROM Celle WHERE (IdxCella = @IdxCella)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCella", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCella", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxTipoCella", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxTipoCella", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Descrizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descrizione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Attiva", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Attiva", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Piena", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Piena", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxBlocco", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxBlocco", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@X", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "X", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Y", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Y", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Z", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Z", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxCella", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxCella", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCella", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCella", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_IdxTipoCella", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxTipoCella", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxTipoCella", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxTipoCella", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Descrizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descrizione", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Descrizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descrizione", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Attiva", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Attiva", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Attiva", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Attiva", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Piena", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Piena", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Piena", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Piena", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxBlocco", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxBlocco", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_X", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "X", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Y", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Y", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Z", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Z", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxCella", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "IdxCella", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[14]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT * FROM dbo.Celle"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "dbo.stp_celle_deleteQuery"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[1].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[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxCella", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[2].Connection = this.Connection; + this._commandCollection[2].CommandText = "dbo.stp_cellaGetByCodCella"; + this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[2].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[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCella", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[3].Connection = this.Connection; + this._commandCollection[3].CommandText = "dbo.stp_cellaGetByCodCellaLike"; + this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[3].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[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCella", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3].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[4] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[4].Connection = this.Connection; + this._commandCollection[4].CommandText = "dbo.stp_cellaGetByCodMag"; + this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[4].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[4].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[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMag", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[5].Connection = this.Connection; + this._commandCollection[5].CommandText = "dbo.stp_cellaGetByIdxBlocco"; + this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxBlocco", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[6].Connection = this.Connection; + this._commandCollection[6].CommandText = "dbo.stp_cellaGetByIdxCella"; + this._commandCollection[6].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[6].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[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxCella", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[7].Connection = this.Connection; + this._commandCollection[7].CommandText = "dbo.stp_cellaGetByTipoCella"; + this._commandCollection[7].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[7].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[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxTipoCella", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[8] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[8].Connection = this.Connection; + this._commandCollection[8].CommandText = "dbo.stp_cellaGetFirstByPosizione"; + this._commandCollection[8].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[8].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[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@posizione", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[9] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[9].Connection = this.Connection; + this._commandCollection[9].CommandText = "dbo.stp_celleLibereGetByIdxBlocco"; + 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("@IdxBlocco", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[10] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[10].Connection = this.Connection; + this._commandCollection[10].CommandText = "dbo.stp_celleNonAttiveByIdxBlocco"; + this._commandCollection[10].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[10].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[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxBlocco", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[11] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[11].Connection = this.Connection; + this._commandCollection[11].CommandText = "dbo.stp_celle_updAttiva"; + this._commandCollection[11].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[11].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[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxCella", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Attiva", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[12] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[12].Connection = this.Connection; + this._commandCollection[12].CommandText = "dbo.stp_celle_updPiena"; + this._commandCollection[12].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[12].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[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxCella", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Piena", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[13] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[13].Connection = this.Connection; + this._commandCollection[13].CommandText = "dbo.stp_celle_updateQuery"; + this._commandCollection[13].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[13].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[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxCella", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[13].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[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCella", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxTipoCella", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Descrizione", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Attiva", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Piena", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxBlocco", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@X", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Y", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Z", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_magazzino.CelleDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_magazzino.CelleDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_magazzino.CelleDataTable dataTable = new DS_magazzino.CelleDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.CelleDataTable getByCodCella(string CodCella) { + this.Adapter.SelectCommand = this.CommandCollection[2]; + if ((CodCella == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodCella)); + } + DS_magazzino.CelleDataTable dataTable = new DS_magazzino.CelleDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.CelleDataTable getByCodCellaLike(string CodCella, string CodCS) { + this.Adapter.SelectCommand = this.CommandCollection[3]; + if ((CodCella == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodCella)); + } + if ((CodCS == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodCS)); + } + DS_magazzino.CelleDataTable dataTable = new DS_magazzino.CelleDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.CelleDataTable getByCodMag(string CodCS, string CodMag) { + this.Adapter.SelectCommand = this.CommandCollection[4]; + if ((CodCS == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodCS)); + } + if ((CodMag == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodMag)); + } + DS_magazzino.CelleDataTable dataTable = new DS_magazzino.CelleDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.CelleDataTable getByIdxBlocco(global::System.Nullable IdxBlocco) { + this.Adapter.SelectCommand = this.CommandCollection[5]; + if ((IdxBlocco.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxBlocco.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + DS_magazzino.CelleDataTable dataTable = new DS_magazzino.CelleDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.CelleDataTable getByIdxCella(global::System.Nullable IdxCella) { + this.Adapter.SelectCommand = this.CommandCollection[6]; + if ((IdxCella.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxCella.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + DS_magazzino.CelleDataTable dataTable = new DS_magazzino.CelleDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.CelleDataTable getByTipoCella(global::System.Nullable IdxTipoCella) { + this.Adapter.SelectCommand = this.CommandCollection[7]; + if ((IdxTipoCella.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxTipoCella.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + DS_magazzino.CelleDataTable dataTable = new DS_magazzino.CelleDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.CelleDataTable getFirstByPosizione(string posizione) { + this.Adapter.SelectCommand = this.CommandCollection[8]; + if ((posizione == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(posizione)); + } + DS_magazzino.CelleDataTable dataTable = new DS_magazzino.CelleDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.CelleDataTable getLibereByIdxBlocco(global::System.Nullable IdxBlocco) { + this.Adapter.SelectCommand = this.CommandCollection[9]; + if ((IdxBlocco.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxBlocco.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + DS_magazzino.CelleDataTable dataTable = new DS_magazzino.CelleDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.CelleDataTable getNonAttiveByIdxBlocco(global::System.Nullable IdxBlocco) { + this.Adapter.SelectCommand = this.CommandCollection[10]; + if ((IdxBlocco.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxBlocco.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + DS_magazzino.CelleDataTable dataTable = new DS_magazzino.CelleDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_magazzino.CelleDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_magazzino dataSet) { + return this.Adapter.Update(dataSet, "Celle"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(int Original_IdxCella, string Original_CodCS, string Original_CodCella, global::System.Nullable Original_IdxTipoCella, string Original_Descrizione, global::System.Nullable Original_Attiva, global::System.Nullable Original_Piena, int Original_IdxBlocco, int Original_X, int Original_Y, int Original_Z) { + this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_IdxCella)); + if ((Original_CodCS == null)) { + throw new global::System.ArgumentNullException("Original_CodCS"); + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_CodCS)); + } + if ((Original_CodCella == null)) { + throw new global::System.ArgumentNullException("Original_CodCella"); + } + else { + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_CodCella)); + } + if ((Original_IdxTipoCella.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[4].Value = ((int)(Original_IdxTipoCella.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; + } + if ((Original_Descrizione == null)) { + this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_Descrizione)); + } + if ((Original_Attiva.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[8].Value = ((bool)(Original_Attiva.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value; + } + if ((Original_Piena.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[10].Value = ((bool)(Original_Piena.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value; + } + this.Adapter.DeleteCommand.Parameters[11].Value = ((int)(Original_IdxBlocco)); + this.Adapter.DeleteCommand.Parameters[12].Value = ((int)(Original_X)); + this.Adapter.DeleteCommand.Parameters[13].Value = ((int)(Original_Y)); + this.Adapter.DeleteCommand.Parameters[14].Value = ((int)(Original_Z)); + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string CodCS, string CodCella, global::System.Nullable IdxTipoCella, string Descrizione, global::System.Nullable Attiva, global::System.Nullable Piena, int IdxBlocco, int X, int Y, int Z) { + if ((CodCS == null)) { + throw new global::System.ArgumentNullException("CodCS"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodCS)); + } + if ((CodCella == null)) { + throw new global::System.ArgumentNullException("CodCella"); + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(CodCella)); + } + if ((IdxTipoCella.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[2].Value = ((int)(IdxTipoCella.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + if ((Descrizione == null)) { + this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = ((string)(Descrizione)); + } + if ((Attiva.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[4].Value = ((bool)(Attiva.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; + } + if ((Piena.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[5].Value = ((bool)(Piena.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; + } + this.Adapter.InsertCommand.Parameters[6].Value = ((int)(IdxBlocco)); + this.Adapter.InsertCommand.Parameters[7].Value = ((int)(X)); + this.Adapter.InsertCommand.Parameters[8].Value = ((int)(Y)); + this.Adapter.InsertCommand.Parameters[9].Value = ((int)(Z)); + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update( + string CodCS, + string CodCella, + global::System.Nullable IdxTipoCella, + string Descrizione, + global::System.Nullable Attiva, + global::System.Nullable Piena, + int IdxBlocco, + int X, + int Y, + int Z, + int Original_IdxCella, + string Original_CodCS, + string Original_CodCella, + global::System.Nullable Original_IdxTipoCella, + string Original_Descrizione, + global::System.Nullable Original_Attiva, + global::System.Nullable Original_Piena, + int Original_IdxBlocco, + int Original_X, + int Original_Y, + int Original_Z, + int IdxCella) { + if ((CodCS == null)) { + throw new global::System.ArgumentNullException("CodCS"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodCS)); + } + if ((CodCella == null)) { + throw new global::System.ArgumentNullException("CodCella"); + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(CodCella)); + } + if ((IdxTipoCella.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(IdxTipoCella.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + if ((Descrizione == null)) { + this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Descrizione)); + } + if ((Attiva.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[4].Value = ((bool)(Attiva.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + if ((Piena.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[5].Value = ((bool)(Piena.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; + } + this.Adapter.UpdateCommand.Parameters[6].Value = ((int)(IdxBlocco)); + this.Adapter.UpdateCommand.Parameters[7].Value = ((int)(X)); + this.Adapter.UpdateCommand.Parameters[8].Value = ((int)(Y)); + this.Adapter.UpdateCommand.Parameters[9].Value = ((int)(Z)); + this.Adapter.UpdateCommand.Parameters[10].Value = ((int)(Original_IdxCella)); + if ((Original_CodCS == null)) { + throw new global::System.ArgumentNullException("Original_CodCS"); + } + else { + this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Original_CodCS)); + } + if ((Original_CodCella == null)) { + throw new global::System.ArgumentNullException("Original_CodCella"); + } + else { + this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Original_CodCella)); + } + if ((Original_IdxTipoCella.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[13].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[14].Value = ((int)(Original_IdxTipoCella.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[13].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value; + } + if ((Original_Descrizione == null)) { + this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(Original_Descrizione)); + } + if ((Original_Attiva.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[18].Value = ((bool)(Original_Attiva.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value; + } + if ((Original_Piena.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[20].Value = ((bool)(Original_Piena.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value; + } + this.Adapter.UpdateCommand.Parameters[21].Value = ((int)(Original_IdxBlocco)); + this.Adapter.UpdateCommand.Parameters[22].Value = ((int)(Original_X)); + this.Adapter.UpdateCommand.Parameters[23].Value = ((int)(Original_Y)); + this.Adapter.UpdateCommand.Parameters[24].Value = ((int)(Original_Z)); + this.Adapter.UpdateCommand.Parameters[25].Value = ((int)(IdxCella)); + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update( + string CodCS, + string CodCella, + global::System.Nullable IdxTipoCella, + string Descrizione, + global::System.Nullable Attiva, + global::System.Nullable Piena, + int IdxBlocco, + int X, + int Y, + int Z, + int Original_IdxCella, + string Original_CodCS, + string Original_CodCella, + global::System.Nullable Original_IdxTipoCella, + string Original_Descrizione, + global::System.Nullable Original_Attiva, + global::System.Nullable Original_Piena, + int Original_IdxBlocco, + int Original_X, + int Original_Y, + int Original_Z) { + return this.Update(CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z, Original_IdxCella, Original_CodCS, Original_CodCella, Original_IdxTipoCella, Original_Descrizione, Original_Attiva, Original_Piena, Original_IdxBlocco, Original_X, Original_Y, Original_Z, Original_IdxCella); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, false)] + public virtual int DeleteQuery(global::System.Nullable Original_IdxCella) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1]; + if ((Original_IdxCella.HasValue == true)) { + command.Parameters[1].Value = ((int)(Original_IdxCella.Value)); + } + else { + command.Parameters[1].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int stp_celle_updAttiva(global::System.Nullable IdxCella, global::System.Nullable Attiva) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[11]; + if ((IdxCella.HasValue == true)) { + command.Parameters[1].Value = ((int)(IdxCella.Value)); + } + else { + command.Parameters[1].Value = global::System.DBNull.Value; + } + if ((Attiva.HasValue == true)) { + command.Parameters[2].Value = ((bool)(Attiva.Value)); + } + else { + command.Parameters[2].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int stp_celle_updPiena(global::System.Nullable IdxCella, global::System.Nullable Piena) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[12]; + if ((IdxCella.HasValue == true)) { + command.Parameters[1].Value = ((int)(IdxCella.Value)); + } + else { + command.Parameters[1].Value = global::System.DBNull.Value; + } + if ((Piena.HasValue == true)) { + command.Parameters[2].Value = ((bool)(Piena.Value)); + } + else { + command.Parameters[2].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, false)] + public virtual int UpdateQuery(global::System.Nullable Original_IdxCella, string CodCS, string CodCella, global::System.Nullable IdxTipoCella, string Descrizione, global::System.Nullable Attiva, global::System.Nullable Piena, global::System.Nullable IdxBlocco, global::System.Nullable X, global::System.Nullable Y, global::System.Nullable Z) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[13]; + if ((Original_IdxCella.HasValue == true)) { + command.Parameters[1].Value = ((int)(Original_IdxCella.Value)); + } + else { + command.Parameters[1].Value = global::System.DBNull.Value; + } + if ((CodCS == null)) { + command.Parameters[2].Value = global::System.DBNull.Value; + } + else { + command.Parameters[2].Value = ((string)(CodCS)); + } + if ((CodCella == null)) { + command.Parameters[3].Value = global::System.DBNull.Value; + } + else { + command.Parameters[3].Value = ((string)(CodCella)); + } + if ((IdxTipoCella.HasValue == true)) { + command.Parameters[4].Value = ((int)(IdxTipoCella.Value)); + } + else { + command.Parameters[4].Value = global::System.DBNull.Value; + } + if ((Descrizione == null)) { + command.Parameters[5].Value = global::System.DBNull.Value; + } + else { + command.Parameters[5].Value = ((string)(Descrizione)); + } + if ((Attiva.HasValue == true)) { + command.Parameters[6].Value = ((bool)(Attiva.Value)); + } + else { + command.Parameters[6].Value = global::System.DBNull.Value; + } + if ((Piena.HasValue == true)) { + command.Parameters[7].Value = ((bool)(Piena.Value)); + } + else { + command.Parameters[7].Value = global::System.DBNull.Value; + } + if ((IdxBlocco.HasValue == true)) { + command.Parameters[8].Value = ((int)(IdxBlocco.Value)); + } + else { + command.Parameters[8].Value = global::System.DBNull.Value; + } + if ((X.HasValue == true)) { + command.Parameters[9].Value = ((int)(X.Value)); + } + else { + command.Parameters[9].Value = global::System.DBNull.Value; + } + if ((Y.HasValue == true)) { + command.Parameters[10].Value = ((int)(Y.Value)); + } + else { + command.Parameters[10].Value = global::System.DBNull.Value; + } + if ((Z.HasValue == true)) { + command.Parameters[11].Value = ((int)(Z.Value)); + } + else { + command.Parameters[11].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class TipoCellaTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TipoCellaTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "TipoCella"; + tableMapping.ColumnMappings.Add("IdxTipoCella", "IdxTipoCella"); + tableMapping.ColumnMappings.Add("CodMag", "CodMag"); + tableMapping.ColumnMappings.Add("CodCS", "CodCS"); + tableMapping.ColumnMappings.Add("Quantita", "Quantita"); + tableMapping.ColumnMappings.Add("Capienza", "Capienza"); + tableMapping.ColumnMappings.Add("Max_X", "Max_X"); + tableMapping.ColumnMappings.Add("Max_Y", "Max_Y"); + tableMapping.ColumnMappings.Add("Max_Z", "Max_Z"); + tableMapping.ColumnMappings.Add("Max_Kg", "Max_Kg"); + tableMapping.ColumnMappings.Add("CheckPiena", "CheckPiena"); + tableMapping.ColumnMappings.Add("SetMag", "SetMag"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = @"DELETE FROM [TipoCella] WHERE (([IdxTipoCella] = @Original_IdxTipoCella) AND ([CodMag] = @Original_CodMag) AND ([CodCS] = @Original_CodCS) AND ([Quantita] = @Original_Quantita) AND ([Capienza] = @Original_Capienza) AND ((@IsNull_Max_X = 1 AND [Max_X] IS NULL) OR ([Max_X] = @Original_Max_X)) AND ((@IsNull_Max_Y = 1 AND [Max_Y] IS NULL) OR ([Max_Y] = @Original_Max_Y)) AND ((@IsNull_Max_Z = 1 AND [Max_Z] IS NULL) OR ([Max_Z] = @Original_Max_Z)) AND ((@IsNull_Max_Kg = 1 AND [Max_Kg] IS NULL) OR ([Max_Kg] = @Original_Max_Kg)) AND ([CheckPiena] = @Original_CheckPiena) AND ((@IsNull_SetMag = 1 AND [SetMag] IS NULL) OR ([SetMag] = @Original_SetMag)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxTipoCella", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxTipoCella", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodMag", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodMag", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Quantita", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Quantita", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Capienza", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Capienza", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Max_X", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Max_X", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Max_X", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Max_X", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Max_Y", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Max_Y", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Max_Y", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Max_Y", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Max_Z", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Max_Z", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Max_Z", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Max_Z", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Max_Kg", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Max_Kg", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Max_Kg", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Max_Kg", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CheckPiena", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CheckPiena", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_SetMag", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SetMag", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SetMag", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SetMag", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = @"INSERT INTO [TipoCella] ([CodMag], [CodCS], [Quantita], [Capienza], [Max_X], [Max_Y], [Max_Z], [Max_Kg], [CheckPiena], [SetMag]) VALUES (@CodMag, @CodCS, @Quantita, @Capienza, @Max_X, @Max_Y, @Max_Z, @Max_Kg, @CheckPiena, @SetMag); +SELECT IdxTipoCella, CodMag, CodCS, Quantita, Capienza, Max_X, Max_Y, Max_Z, Max_Kg, CheckPiena, SetMag FROM TipoCella WHERE (IdxTipoCella = SCOPE_IDENTITY())"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMag", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodMag", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Quantita", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Quantita", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Capienza", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Capienza", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Max_X", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Max_X", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Max_Y", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Max_Y", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Max_Z", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Max_Z", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Max_Kg", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Max_Kg", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CheckPiena", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CheckPiena", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SetMag", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SetMag", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [TipoCella] SET [CodMag] = @CodMag, [CodCS] = @CodCS, [Quantita] = @Quantita, [Capienza] = @Capienza, [Max_X] = @Max_X, [Max_Y] = @Max_Y, [Max_Z] = @Max_Z, [Max_Kg] = @Max_Kg, [CheckPiena] = @CheckPiena, [SetMag] = @SetMag WHERE (([IdxTipoCella] = @Original_IdxTipoCella) AND ([CodMag] = @Original_CodMag) AND ([CodCS] = @Original_CodCS) AND ([Quantita] = @Original_Quantita) AND ([Capienza] = @Original_Capienza) AND ((@IsNull_Max_X = 1 AND [Max_X] IS NULL) OR ([Max_X] = @Original_Max_X)) AND ((@IsNull_Max_Y = 1 AND [Max_Y] IS NULL) OR ([Max_Y] = @Original_Max_Y)) AND ((@IsNull_Max_Z = 1 AND [Max_Z] IS NULL) OR ([Max_Z] = @Original_Max_Z)) AND ((@IsNull_Max_Kg = 1 AND [Max_Kg] IS NULL) OR ([Max_Kg] = @Original_Max_Kg)) AND ([CheckPiena] = @Original_CheckPiena) AND ((@IsNull_SetMag = 1 AND [SetMag] IS NULL) OR ([SetMag] = @Original_SetMag))); +SELECT IdxTipoCella, CodMag, CodCS, Quantita, Capienza, Max_X, Max_Y, Max_Z, Max_Kg, CheckPiena, SetMag FROM TipoCella WHERE (IdxTipoCella = @IdxTipoCella)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMag", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodMag", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Quantita", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Quantita", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Capienza", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Capienza", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Max_X", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Max_X", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Max_Y", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Max_Y", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Max_Z", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Max_Z", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Max_Kg", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Max_Kg", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CheckPiena", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CheckPiena", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SetMag", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SetMag", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxTipoCella", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxTipoCella", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodMag", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodMag", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Quantita", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Quantita", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Capienza", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Capienza", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Max_X", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Max_X", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Max_X", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Max_X", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Max_Y", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Max_Y", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Max_Y", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Max_Y", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Max_Z", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Max_Z", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Max_Z", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Max_Z", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Max_Kg", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Max_Kg", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Max_Kg", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Max_Kg", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CheckPiena", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CheckPiena", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_SetMag", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SetMag", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SetMag", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SetMag", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxTipoCella", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "IdxTipoCella", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[5]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT *\r\nFROM TipoCella"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "dbo.stp_TipoCella_deleteQuery"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[1].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[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxTipoCella", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[2].Connection = this.Connection; + this._commandCollection[2].CommandText = "dbo.stp_TipoCellaGetByCodMag"; + this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[2].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[2].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[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMag", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[3].Connection = this.Connection; + this._commandCollection[3].CommandText = "dbo.stp_TipoCellaGetByIdx"; + this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[3].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[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxTipoCella", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[4].Connection = this.Connection; + this._commandCollection[4].CommandText = "dbo.stp_TipoCella_updateQuery"; + this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[4].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[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxTipoCella", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMag", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].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[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Quantita", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Capienza", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Max_X", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Max_Y", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Max_Z", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Max_Kg", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CheckPiena", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SetMag", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_magazzino.TipoCellaDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_magazzino.TipoCellaDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_magazzino.TipoCellaDataTable dataTable = new DS_magazzino.TipoCellaDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.TipoCellaDataTable getByCodMag(string CodCS, string CodMag) { + this.Adapter.SelectCommand = this.CommandCollection[2]; + if ((CodCS == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodCS)); + } + if ((CodMag == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodMag)); + } + DS_magazzino.TipoCellaDataTable dataTable = new DS_magazzino.TipoCellaDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.TipoCellaDataTable getByIdx(global::System.Nullable IdxTipoCella) { + this.Adapter.SelectCommand = this.CommandCollection[3]; + if ((IdxTipoCella.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxTipoCella.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + DS_magazzino.TipoCellaDataTable dataTable = new DS_magazzino.TipoCellaDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_magazzino.TipoCellaDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_magazzino dataSet) { + return this.Adapter.Update(dataSet, "TipoCella"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(int Original_IdxTipoCella, string Original_CodMag, string Original_CodCS, int Original_Quantita, int Original_Capienza, global::System.Nullable Original_Max_X, global::System.Nullable Original_Max_Y, global::System.Nullable Original_Max_Z, global::System.Nullable Original_Max_Kg, bool Original_CheckPiena, global::System.Nullable Original_SetMag) { + this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_IdxTipoCella)); + if ((Original_CodMag == null)) { + throw new global::System.ArgumentNullException("Original_CodMag"); + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_CodMag)); + } + if ((Original_CodCS == null)) { + throw new global::System.ArgumentNullException("Original_CodCS"); + } + else { + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_CodCS)); + } + this.Adapter.DeleteCommand.Parameters[3].Value = ((int)(Original_Quantita)); + this.Adapter.DeleteCommand.Parameters[4].Value = ((int)(Original_Capienza)); + if ((Original_Max_X.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[6].Value = ((double)(Original_Max_X.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value; + } + if ((Original_Max_Y.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[8].Value = ((double)(Original_Max_Y.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value; + } + if ((Original_Max_Z.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[10].Value = ((double)(Original_Max_Z.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value; + } + if ((Original_Max_Kg.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[12].Value = ((double)(Original_Max_Kg.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value; + } + this.Adapter.DeleteCommand.Parameters[13].Value = ((bool)(Original_CheckPiena)); + if ((Original_SetMag.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[14].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[15].Value = ((bool)(Original_SetMag.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[14].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[15].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string CodMag, string CodCS, int Quantita, int Capienza, global::System.Nullable Max_X, global::System.Nullable Max_Y, global::System.Nullable Max_Z, global::System.Nullable Max_Kg, bool CheckPiena, global::System.Nullable SetMag) { + if ((CodMag == null)) { + throw new global::System.ArgumentNullException("CodMag"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodMag)); + } + if ((CodCS == null)) { + throw new global::System.ArgumentNullException("CodCS"); + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(CodCS)); + } + this.Adapter.InsertCommand.Parameters[2].Value = ((int)(Quantita)); + this.Adapter.InsertCommand.Parameters[3].Value = ((int)(Capienza)); + if ((Max_X.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[4].Value = ((double)(Max_X.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; + } + if ((Max_Y.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[5].Value = ((double)(Max_Y.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; + } + if ((Max_Z.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[6].Value = ((double)(Max_Z.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; + } + if ((Max_Kg.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[7].Value = ((double)(Max_Kg.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; + } + this.Adapter.InsertCommand.Parameters[8].Value = ((bool)(CheckPiena)); + if ((SetMag.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[9].Value = ((bool)(SetMag.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update( + string CodMag, + string CodCS, + int Quantita, + int Capienza, + global::System.Nullable Max_X, + global::System.Nullable Max_Y, + global::System.Nullable Max_Z, + global::System.Nullable Max_Kg, + bool CheckPiena, + global::System.Nullable SetMag, + int Original_IdxTipoCella, + string Original_CodMag, + string Original_CodCS, + int Original_Quantita, + int Original_Capienza, + global::System.Nullable Original_Max_X, + global::System.Nullable Original_Max_Y, + global::System.Nullable Original_Max_Z, + global::System.Nullable Original_Max_Kg, + bool Original_CheckPiena, + global::System.Nullable Original_SetMag, + int IdxTipoCella) { + if ((CodMag == null)) { + throw new global::System.ArgumentNullException("CodMag"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodMag)); + } + if ((CodCS == null)) { + throw new global::System.ArgumentNullException("CodCS"); + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(CodCS)); + } + this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(Quantita)); + this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(Capienza)); + if ((Max_X.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[4].Value = ((double)(Max_X.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + if ((Max_Y.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[5].Value = ((double)(Max_Y.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; + } + if ((Max_Z.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[6].Value = ((double)(Max_Z.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; + } + if ((Max_Kg.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[7].Value = ((double)(Max_Kg.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; + } + this.Adapter.UpdateCommand.Parameters[8].Value = ((bool)(CheckPiena)); + if ((SetMag.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[9].Value = ((bool)(SetMag.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value; + } + this.Adapter.UpdateCommand.Parameters[10].Value = ((int)(Original_IdxTipoCella)); + if ((Original_CodMag == null)) { + throw new global::System.ArgumentNullException("Original_CodMag"); + } + else { + this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Original_CodMag)); + } + if ((Original_CodCS == null)) { + throw new global::System.ArgumentNullException("Original_CodCS"); + } + else { + this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Original_CodCS)); + } + this.Adapter.UpdateCommand.Parameters[13].Value = ((int)(Original_Quantita)); + this.Adapter.UpdateCommand.Parameters[14].Value = ((int)(Original_Capienza)); + if ((Original_Max_X.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[16].Value = ((double)(Original_Max_X.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value; + } + if ((Original_Max_Y.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[18].Value = ((double)(Original_Max_Y.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value; + } + if ((Original_Max_Z.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[20].Value = ((double)(Original_Max_Z.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value; + } + if ((Original_Max_Kg.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[22].Value = ((double)(Original_Max_Kg.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value; + } + this.Adapter.UpdateCommand.Parameters[23].Value = ((bool)(Original_CheckPiena)); + if ((Original_SetMag.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[25].Value = ((bool)(Original_SetMag.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value; + } + this.Adapter.UpdateCommand.Parameters[26].Value = ((int)(IdxTipoCella)); + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update( + string CodMag, + string CodCS, + int Quantita, + int Capienza, + global::System.Nullable Max_X, + global::System.Nullable Max_Y, + global::System.Nullable Max_Z, + global::System.Nullable Max_Kg, + bool CheckPiena, + global::System.Nullable SetMag, + int Original_IdxTipoCella, + string Original_CodMag, + string Original_CodCS, + int Original_Quantita, + int Original_Capienza, + global::System.Nullable Original_Max_X, + global::System.Nullable Original_Max_Y, + global::System.Nullable Original_Max_Z, + global::System.Nullable Original_Max_Kg, + bool Original_CheckPiena, + global::System.Nullable Original_SetMag) { + return this.Update(CodMag, CodCS, Quantita, Capienza, Max_X, Max_Y, Max_Z, Max_Kg, CheckPiena, SetMag, Original_IdxTipoCella, Original_CodMag, Original_CodCS, Original_Quantita, Original_Capienza, Original_Max_X, Original_Max_Y, Original_Max_Z, Original_Max_Kg, Original_CheckPiena, Original_SetMag, Original_IdxTipoCella); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, false)] + public virtual int DeleteQuery(global::System.Nullable Original_IdxTipoCella) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1]; + if ((Original_IdxTipoCella.HasValue == true)) { + command.Parameters[1].Value = ((int)(Original_IdxTipoCella.Value)); + } + else { + command.Parameters[1].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, false)] + public virtual int UpdateQuery(global::System.Nullable Original_IdxTipoCella, string CodMag, string CodCS, global::System.Nullable Quantita, global::System.Nullable Capienza, global::System.Nullable Max_X, global::System.Nullable Max_Y, global::System.Nullable Max_Z, global::System.Nullable Max_Kg, global::System.Nullable CheckPiena, global::System.Nullable SetMag) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4]; + if ((Original_IdxTipoCella.HasValue == true)) { + command.Parameters[1].Value = ((int)(Original_IdxTipoCella.Value)); + } + else { + command.Parameters[1].Value = global::System.DBNull.Value; + } + if ((CodMag == null)) { + command.Parameters[2].Value = global::System.DBNull.Value; + } + else { + command.Parameters[2].Value = ((string)(CodMag)); + } + if ((CodCS == null)) { + command.Parameters[3].Value = global::System.DBNull.Value; + } + else { + command.Parameters[3].Value = ((string)(CodCS)); + } + if ((Quantita.HasValue == true)) { + command.Parameters[4].Value = ((int)(Quantita.Value)); + } + else { + command.Parameters[4].Value = global::System.DBNull.Value; + } + if ((Capienza.HasValue == true)) { + command.Parameters[5].Value = ((int)(Capienza.Value)); + } + else { + command.Parameters[5].Value = global::System.DBNull.Value; + } + if ((Max_X.HasValue == true)) { + command.Parameters[6].Value = ((double)(Max_X.Value)); + } + else { + command.Parameters[6].Value = global::System.DBNull.Value; + } + if ((Max_Y.HasValue == true)) { + command.Parameters[7].Value = ((double)(Max_Y.Value)); + } + else { + command.Parameters[7].Value = global::System.DBNull.Value; + } + if ((Max_Z.HasValue == true)) { + command.Parameters[8].Value = ((double)(Max_Z.Value)); + } + else { + command.Parameters[8].Value = global::System.DBNull.Value; + } + if ((Max_Kg.HasValue == true)) { + command.Parameters[9].Value = ((double)(Max_Kg.Value)); + } + else { + command.Parameters[9].Value = global::System.DBNull.Value; + } + if ((CheckPiena.HasValue == true)) { + command.Parameters[10].Value = ((bool)(CheckPiena.Value)); + } + else { + command.Parameters[10].Value = global::System.DBNull.Value; + } + if ((SetMag.HasValue == true)) { + command.Parameters[11].Value = ((bool)(SetMag.Value)); + } + else { + command.Parameters[11].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class v_UdcDetailTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_UdcDetailTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "v_UdcDetail"; + tableMapping.ColumnMappings.Add("UDC", "UDC"); + 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("DescImpianto", "DescImpianto"); + tableMapping.ColumnMappings.Add("DataFus", "DataFus"); + tableMapping.ColumnMappings.Add("TurnoFus", "TurnoFus"); + tableMapping.ColumnMappings.Add("CodImballo", "CodImballo"); + tableMapping.ColumnMappings.Add("Qta", "Qta"); + tableMapping.ColumnMappings.Add("DescStato", "DescStato"); + tableMapping.ColumnMappings.Add("ModDate", "ModDate"); + tableMapping.ColumnMappings.Add("CodMag", "CodMag"); + tableMapping.ColumnMappings.Add("CodBlocco", "CodBlocco"); + tableMapping.ColumnMappings.Add("CodCella", "CodCella"); + tableMapping.ColumnMappings.Add("X", "X"); + tableMapping.ColumnMappings.Add("Y", "Y"); + tableMapping.ColumnMappings.Add("Z", "Z"); + tableMapping.ColumnMappings.Add("IdxCella", "IdxCella"); + tableMapping.ColumnMappings.Add("IdxPosizione", "IdxPosizione"); + tableMapping.ColumnMappings.Add("Note", "Note"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[8]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT * FROM dbo.v_UdcDetail"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "dbo.componiUdc"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.NVarChar, 13, global::System.Data.ParameterDirection.ReturnValue, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.NVarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Flusso", global::System.Data.SqlDbType.NVarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Anno", global::System.Data.SqlDbType.NVarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@numUdc", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[2].Connection = this.Connection; + this._commandCollection[2].CommandText = "dbo.stp_UdcDetailGetByCodCella"; + this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[2].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[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@codCella", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[3].Connection = this.Connection; + this._commandCollection[3].CommandText = "dbo.stp_getUdcDetailFullCode"; + this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[3].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[3].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[3].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[4] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[4].Connection = this.Connection; + this._commandCollection[4].CommandText = "dbo.stp_UdcDetailGetByIdxBloccoCodMagLog"; + this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[4].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[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxBlocco", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMagLog", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[5].Connection = this.Connection; + this._commandCollection[5].CommandText = "dbo.stp_getUdcDetailLikeSearch"; + this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@searchVal", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[6].Connection = this.Connection; + this._commandCollection[6].CommandText = "dbo.stp_UdcDetailGetByIdxBlocco"; + this._commandCollection[6].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[6].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[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxBlocco", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[7].Connection = this.Connection; + this._commandCollection[7].CommandText = "dbo.stp_UdcDetailGetByIdxCella"; + this._commandCollection[7].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[7].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[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxCella", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_magazzino.v_UdcDetailDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_magazzino.v_UdcDetailDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_magazzino.v_UdcDetailDataTable dataTable = new DS_magazzino.v_UdcDetailDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.v_UdcDetailDataTable getByCodCella(string codCella) { + this.Adapter.SelectCommand = this.CommandCollection[2]; + if ((codCella == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(codCella)); + } + DS_magazzino.v_UdcDetailDataTable dataTable = new DS_magazzino.v_UdcDetailDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.v_UdcDetailDataTable getByFullUdc(string UDC, string CodCS) { + this.Adapter.SelectCommand = this.CommandCollection[3]; + if ((UDC == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(UDC)); + } + if ((CodCS == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodCS)); + } + DS_magazzino.v_UdcDetailDataTable dataTable = new DS_magazzino.v_UdcDetailDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.v_UdcDetailDataTable getByIdxBloccoCodMagLog(global::System.Nullable IdxBlocco, global::System.Nullable CodMagLog) { + this.Adapter.SelectCommand = this.CommandCollection[4]; + if ((IdxBlocco.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxBlocco.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + if ((CodMagLog.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[2].Value = ((int)(CodMagLog.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + DS_magazzino.v_UdcDetailDataTable dataTable = new DS_magazzino.v_UdcDetailDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.v_UdcDetailDataTable getByLikeSearch(string searchVal, string CodCS) { + this.Adapter.SelectCommand = this.CommandCollection[5]; + if ((searchVal == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(searchVal)); + } + if ((CodCS == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodCS)); + } + DS_magazzino.v_UdcDetailDataTable dataTable = new DS_magazzino.v_UdcDetailDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.v_UdcDetailDataTable getUdcDetailByIdxBlocco(global::System.Nullable IdxBlocco) { + this.Adapter.SelectCommand = this.CommandCollection[6]; + if ((IdxBlocco.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxBlocco.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + DS_magazzino.v_UdcDetailDataTable dataTable = new DS_magazzino.v_UdcDetailDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.v_UdcDetailDataTable getUdcDetailByIdxCella(global::System.Nullable IdxCella) { + this.Adapter.SelectCommand = this.CommandCollection[7]; + if ((IdxCella.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxCella.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + DS_magazzino.v_UdcDetailDataTable dataTable = new DS_magazzino.v_UdcDetailDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual object componiUdc(string CodCS, string Flusso, string Anno, global::System.Nullable numUdc) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1]; + if ((CodCS == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(CodCS)); + } + if ((Flusso == null)) { + command.Parameters[2].Value = global::System.DBNull.Value; + } + else { + command.Parameters[2].Value = ((string)(Flusso)); + } + if ((Anno == null)) { + command.Parameters[3].Value = global::System.DBNull.Value; + } + else { + command.Parameters[3].Value = ((string)(Anno)); + } + if ((numUdc.HasValue == true)) { + command.Parameters[4].Value = ((int)(numUdc.Value)); + } + else { + command.Parameters[4].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + object returnValue; + try { + returnValue = command.ExecuteScalar(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + if (((returnValue == null) + || (returnValue.GetType() == typeof(global::System.DBNull)))) { + return null; + } + else { + return ((object)(returnValue)); + } + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class AnagImballiTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagImballiTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "AnagImballi"; + tableMapping.ColumnMappings.Add("CodImballo", "CodImballo"); + tableMapping.ColumnMappings.Add("ClasseArticolo", "ClasseArticolo"); + tableMapping.ColumnMappings.Add("DescImballo", "DescImballo"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = @"DELETE FROM [RilPro].[AnagImballi] WHERE (([CodImballo] = @Original_CodImballo) AND ((@IsNull_ClasseArticolo = 1 AND [ClasseArticolo] IS NULL) OR ([ClasseArticolo] = @Original_ClasseArticolo)) AND ((@IsNull_DescImballo = 1 AND [DescImballo] IS NULL) OR ([DescImballo] = @Original_DescImballo)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodImballo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImballo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ClasseArticolo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ClasseArticolo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ClasseArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ClasseArticolo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescImballo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescImballo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescImballo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescImballo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = "INSERT INTO [RilPro].[AnagImballi] ([CodImballo], [ClasseArticolo], [DescImballo]" + + ") VALUES (@CodImballo, @ClasseArticolo, @DescImballo);\r\nSELECT CodImballo, Class" + + "eArticolo, DescImballo FROM RilPro.AnagImballi WHERE (CodImballo = @CodImballo)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImballo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImballo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ClasseArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ClasseArticolo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescImballo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescImballo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [RilPro].[AnagImballi] SET [CodImballo] = @CodImballo, [ClasseArticolo] = @ClasseArticolo, [DescImballo] = @DescImballo WHERE (([CodImballo] = @Original_CodImballo) AND ((@IsNull_ClasseArticolo = 1 AND [ClasseArticolo] IS NULL) OR ([ClasseArticolo] = @Original_ClasseArticolo)) AND ((@IsNull_DescImballo = 1 AND [DescImballo] IS NULL) OR ([DescImballo] = @Original_DescImballo))); +SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi WHERE (CodImballo = @CodImballo)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImballo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImballo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ClasseArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ClasseArticolo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescImballo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescImballo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodImballo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodImballo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ClasseArticolo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ClasseArticolo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ClasseArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ClasseArticolo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescImballo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescImballo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescImballo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescImballo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "dbo.stp_getImballoByCod"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[1].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[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImballo", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[2].Connection = this.Connection; + this._commandCollection[2].CommandText = "dbo.stp_getImballoLikeSearch"; + this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[2].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[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@searchVal", 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.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_magazzino.AnagImballiDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_magazzino.AnagImballiDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_magazzino.AnagImballiDataTable dataTable = new DS_magazzino.AnagImballiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.AnagImballiDataTable getByCod(string CodImballo) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((CodImballo == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodImballo)); + } + DS_magazzino.AnagImballiDataTable dataTable = new DS_magazzino.AnagImballiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.AnagImballiDataTable getByLikeSearch(string searchVal) { + this.Adapter.SelectCommand = this.CommandCollection[2]; + if ((searchVal == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(searchVal)); + } + DS_magazzino.AnagImballiDataTable dataTable = new DS_magazzino.AnagImballiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_magazzino.AnagImballiDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_magazzino dataSet) { + return this.Adapter.Update(dataSet, "AnagImballi"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_CodImballo, string Original_ClasseArticolo, string Original_DescImballo) { + if ((Original_CodImballo == null)) { + throw new global::System.ArgumentNullException("Original_CodImballo"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodImballo)); + } + if ((Original_ClasseArticolo == null)) { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_ClasseArticolo)); + } + if ((Original_DescImballo == null)) { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_DescImballo)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string CodImballo, string ClasseArticolo, string DescImballo) { + if ((CodImballo == null)) { + throw new global::System.ArgumentNullException("CodImballo"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodImballo)); + } + if ((ClasseArticolo == null)) { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(ClasseArticolo)); + } + if ((DescImballo == null)) { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(DescImballo)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string CodImballo, string ClasseArticolo, string DescImballo, string Original_CodImballo, string Original_ClasseArticolo, string Original_DescImballo) { + if ((CodImballo == null)) { + throw new global::System.ArgumentNullException("CodImballo"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodImballo)); + } + if ((ClasseArticolo == null)) { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(ClasseArticolo)); + } + if ((DescImballo == null)) { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(DescImballo)); + } + if ((Original_CodImballo == null)) { + throw new global::System.ArgumentNullException("Original_CodImballo"); + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Original_CodImballo)); + } + if ((Original_ClasseArticolo == null)) { + this.Adapter.UpdateCommand.Parameters[4].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Original_ClasseArticolo)); + } + if ((Original_DescImballo == null)) { + this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Original_DescImballo)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string ClasseArticolo, string DescImballo, string Original_CodImballo, string Original_ClasseArticolo, string Original_DescImballo) { + return this.Update(Original_CodImballo, ClasseArticolo, DescImballo, Original_CodImballo, Original_ClasseArticolo, Original_DescImballo); + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class V_ParticolariOverviewTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public V_ParticolariOverviewTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "V_ParticolariOverview"; + tableMapping.ColumnMappings.Add("Particolare", "Particolare"); + tableMapping.ColumnMappings.Add("DescParticolare", "DescParticolare"); + tableMapping.ColumnMappings.Add("NumUDC", "NumUDC"); + tableMapping.ColumnMappings.Add("TotQta", "TotQta"); + tableMapping.ColumnMappings.Add("NumInMag", "NumInMag"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[5]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT Particolare, DescParticolare, NumUDC, TotQta, NumInMag FROM dbo.V_Particol" + + "ariOverview"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "dbo.stp_ParticolariOverviewPerListaPrelievo"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[1].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[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].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[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Esponente", global::System.Data.SqlDbType.NVarChar, 6, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Figura", global::System.Data.SqlDbType.NVarChar, 4, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImballo", global::System.Data.SqlDbType.NVarChar, 15, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoLista", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[2].Connection = this.Connection; + this._commandCollection[2].CommandText = "dbo.stp_ParticolariOverviewLikePrefix"; + this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[2].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[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@searchVal", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2].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[3] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[3].Connection = this.Connection; + this._commandCollection[3].CommandText = "dbo.stp_ParticolariOverviewLike"; + this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[3].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[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@searchVal", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3].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[4] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[4].Connection = this.Connection; + this._commandCollection[4].CommandText = "dbo.stp_ParticolariOverview"; + this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[4].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[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@searchVal", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].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, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_magazzino.V_ParticolariOverviewDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_magazzino.V_ParticolariOverviewDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_magazzino.V_ParticolariOverviewDataTable dataTable = new DS_magazzino.V_ParticolariOverviewDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.V_ParticolariOverviewDataTable getByDatiListaPrelievo(string Particolare, string CodCS, string Esponente, string Figura, string CodImballo, string CodTipoLista) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((Particolare == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(Particolare)); + } + if ((CodCS == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodCS)); + } + if ((Esponente == null)) { + this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[3].Value = ((string)(Esponente)); + } + if ((Figura == null)) { + this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[4].Value = ((string)(Figura)); + } + if ((CodImballo == null)) { + this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[5].Value = ((string)(CodImballo)); + } + if ((CodTipoLista == null)) { + this.Adapter.SelectCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[6].Value = ((string)(CodTipoLista)); + } + DS_magazzino.V_ParticolariOverviewDataTable dataTable = new DS_magazzino.V_ParticolariOverviewDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.V_ParticolariOverviewDataTable getByLikePrefix(string searchVal, string CodCS) { + this.Adapter.SelectCommand = this.CommandCollection[2]; + if ((searchVal == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(searchVal)); + } + if ((CodCS == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodCS)); + } + DS_magazzino.V_ParticolariOverviewDataTable dataTable = new DS_magazzino.V_ParticolariOverviewDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.V_ParticolariOverviewDataTable getByLikeSearch(string searchVal, string CodCS) { + this.Adapter.SelectCommand = this.CommandCollection[3]; + if ((searchVal == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(searchVal)); + } + if ((CodCS == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodCS)); + } + DS_magazzino.V_ParticolariOverviewDataTable dataTable = new DS_magazzino.V_ParticolariOverviewDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.V_ParticolariOverviewDataTable getByParticolareFull(string searchVal, string CodCS) { + this.Adapter.SelectCommand = this.CommandCollection[4]; + if ((searchVal == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(searchVal)); + } + if ((CodCS == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodCS)); + } + DS_magazzino.V_ParticolariOverviewDataTable dataTable = new DS_magazzino.V_ParticolariOverviewDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class V_MagazziniOverviewTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public V_MagazziniOverviewTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "V_MagazziniOverview"; + tableMapping.ColumnMappings.Add("CodCS", "CodCS"); + tableMapping.ColumnMappings.Add("CodMag", "CodMag"); + tableMapping.ColumnMappings.Add("DescMag", "DescMag"); + tableMapping.ColumnMappings.Add("IdxBlocco", "IdxBlocco"); + tableMapping.ColumnMappings.Add("CodBlocco", "CodBlocco"); + tableMapping.ColumnMappings.Add("TotCelle", "TotCelle"); + tableMapping.ColumnMappings.Add("CelleAttive", "CelleAttive"); + tableMapping.ColumnMappings.Add("CelleOccupate", "CelleOccupate"); + tableMapping.ColumnMappings.Add("CelleLibere", "CelleLibere"); + tableMapping.ColumnMappings.Add("Oldest", "Oldest"); + tableMapping.ColumnMappings.Add("Newest", "Newest"); + tableMapping.ColumnMappings.Add("DescBlocco", "DescBlocco"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[4]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT *\r\nFROM dbo.V_MagazziniOverview"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "dbo.stp_magazzinoOverview"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[1].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[1].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[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@particolare", global::System.Data.SqlDbType.NVarChar, 15, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[2].Connection = this.Connection; + this._commandCollection[2].CommandText = "dbo.stp_magazzinoOverview_maxCelle"; + this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[2].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[2].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[3] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[3].Connection = this.Connection; + this._commandCollection[3].CommandText = "dbo.stp_magazzinoOverviewByMag_maxCelle"; + this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[3].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[3].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[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMag", 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.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_magazzino.V_MagazziniOverviewDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_magazzino.V_MagazziniOverviewDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_magazzino.V_MagazziniOverviewDataTable dataTable = new DS_magazzino.V_MagazziniOverviewDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.V_MagazziniOverviewDataTable getByCodCS_particolare(string CodCS, string particolare) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((CodCS == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodCS)); + } + if ((particolare == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(particolare)); + } + DS_magazzino.V_MagazziniOverviewDataTable dataTable = new DS_magazzino.V_MagazziniOverviewDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.V_MagazziniOverviewDataTable getMaxCelle(string CodCS) { + this.Adapter.SelectCommand = this.CommandCollection[2]; + if ((CodCS == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodCS)); + } + DS_magazzino.V_MagazziniOverviewDataTable dataTable = new DS_magazzino.V_MagazziniOverviewDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.V_MagazziniOverviewDataTable getMaxCelleByMag(string CodCS, string CodMag) { + this.Adapter.SelectCommand = this.CommandCollection[3]; + if ((CodCS == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodCS)); + } + if ((CodMag == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodMag)); + } + DS_magazzino.V_MagazziniOverviewDataTable dataTable = new DS_magazzino.V_MagazziniOverviewDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class V_DettMagPartTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public V_DettMagPartTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "V_DettMagPart"; + tableMapping.ColumnMappings.Add("CodCS", "CodCS"); + tableMapping.ColumnMappings.Add("CodMag", "CodMag"); + tableMapping.ColumnMappings.Add("DescMag", "DescMag"); + tableMapping.ColumnMappings.Add("IdxBlocco", "IdxBlocco"); + tableMapping.ColumnMappings.Add("CodBlocco", "CodBlocco"); + tableMapping.ColumnMappings.Add("Particolare", "Particolare"); + tableMapping.ColumnMappings.Add("NumUDC", "NumUDC"); + tableMapping.ColumnMappings.Add("Oldest", "Oldest"); + tableMapping.ColumnMappings.Add("Newest", "Newest"); + tableMapping.ColumnMappings.Add("QtaTotPz", "QtaTotPz"); + tableMapping.ColumnMappings.Add("DescStato", "DescStato"); + tableMapping.ColumnMappings.Add("Esponente", "Esponente"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[6]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT * FROM dbo.V_DettMagPart"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "dbo.stp_paretoDettPartByFullSpec"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[1].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[1].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[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMag", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxBlocco", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[2].Connection = this.Connection; + this._commandCollection[2].CommandText = "dbo.stp_paretoDettPartByFullSpecMagLog"; + this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[2].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[2].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[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMag", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxBlocco", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMagLog", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[3].Connection = this.Connection; + this._commandCollection[3].CommandText = "dbo.stp_paretoPartByMagBlocco"; + this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[3].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[3].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[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMag", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxBlocco", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[4].Connection = this.Connection; + this._commandCollection[4].CommandText = "dbo.stp_paretoPartByMagBloccoCodMagLog"; + this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[4].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[4].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[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMag", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxBlocco", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMagLog", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[5].Connection = this.Connection; + this._commandCollection[5].CommandText = "dbo.stp_paretoDettMagByParticolare"; + this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_magazzino.V_DettMagPartDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_magazzino.V_DettMagPartDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_magazzino.V_DettMagPartDataTable dataTable = new DS_magazzino.V_DettMagPartDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.V_DettMagPartDataTable getParetoByFullSpec(string CodCS, string CodMag, global::System.Nullable IdxBlocco, string Particolare) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((CodCS == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodCS)); + } + if ((CodMag == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodMag)); + } + if ((IdxBlocco.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[3].Value = ((int)(IdxBlocco.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; + } + if ((Particolare == null)) { + this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[4].Value = ((string)(Particolare)); + } + DS_magazzino.V_DettMagPartDataTable dataTable = new DS_magazzino.V_DettMagPartDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.V_DettMagPartDataTable getParetoByFullSpecMagLog(string CodCS, string CodMag, global::System.Nullable IdxBlocco, string Particolare, global::System.Nullable CodMagLog) { + this.Adapter.SelectCommand = this.CommandCollection[2]; + if ((CodCS == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodCS)); + } + if ((CodMag == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodMag)); + } + if ((IdxBlocco.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[3].Value = ((int)(IdxBlocco.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; + } + if ((Particolare == null)) { + this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[4].Value = ((string)(Particolare)); + } + if ((CodMagLog.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[5].Value = ((int)(CodMagLog.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value; + } + DS_magazzino.V_DettMagPartDataTable dataTable = new DS_magazzino.V_DettMagPartDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.V_DettMagPartDataTable getParetoByMagBlocco(string CodCS, string CodMag, global::System.Nullable IdxBlocco) { + this.Adapter.SelectCommand = this.CommandCollection[3]; + if ((CodCS == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodCS)); + } + if ((CodMag == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodMag)); + } + if ((IdxBlocco.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[3].Value = ((int)(IdxBlocco.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; + } + DS_magazzino.V_DettMagPartDataTable dataTable = new DS_magazzino.V_DettMagPartDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.V_DettMagPartDataTable getParetoByMagBloccoMagLog(string CodCS, string CodMag, global::System.Nullable IdxBlocco, global::System.Nullable CodMagLog) { + this.Adapter.SelectCommand = this.CommandCollection[4]; + if ((CodCS == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodCS)); + } + if ((CodMag == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodMag)); + } + if ((IdxBlocco.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[3].Value = ((int)(IdxBlocco.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; + } + if ((CodMagLog.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[4].Value = ((int)(CodMagLog.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value; + } + DS_magazzino.V_DettMagPartDataTable dataTable = new DS_magazzino.V_DettMagPartDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.V_DettMagPartDataTable getParetoByParticolare(string CodCS, string Particolare) { + this.Adapter.SelectCommand = this.CommandCollection[5]; + if ((CodCS == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodCS)); + } + if ((Particolare == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(Particolare)); + } + DS_magazzino.V_DettMagPartDataTable dataTable = new DS_magazzino.V_DettMagPartDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class TipoListaPrelievoTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public TipoListaPrelievoTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "TipoListaPrelievo"; + tableMapping.ColumnMappings.Add("CodTipoLista", "CodTipoLista"); + tableMapping.ColumnMappings.Add("DescrLista", "DescrLista"); + tableMapping.ColumnMappings.Add("CodCella", "CodCella"); + tableMapping.ColumnMappings.Add("CodEvento", "CodEvento"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[TipoListaPrelievo] WHERE (([CodTipoLista] = @Original_CodTipoLista) AND ((@IsNull_DescrLista = 1 AND [DescrLista] IS NULL) OR ([DescrLista] = @Original_DescrLista)) AND ([CodCella] = @Original_CodCella) AND ([CodEvento] = @Original_CodEvento))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodTipoLista", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoLista", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrLista", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrLista", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrLista", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrLista", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCella", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCella", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[TipoListaPrelievo] ([CodTipoLista], [DescrLista], [CodCella], [CodEvento]) VALUES (@CodTipoLista, @DescrLista, @CodCella, @CodEvento); +SELECT CodTipoLista, DescrLista, CodCella, CodEvento FROM TipoListaPrelievo WHERE (CodTipoLista = @CodTipoLista)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoLista", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoLista", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrLista", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrLista", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCella", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCella", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[TipoListaPrelievo] SET [CodTipoLista] = @CodTipoLista, [DescrLista] = @DescrLista, [CodCella] = @CodCella, [CodEvento] = @CodEvento WHERE (([CodTipoLista] = @Original_CodTipoLista) AND ((@IsNull_DescrLista = 1 AND [DescrLista] IS NULL) OR ([DescrLista] = @Original_DescrLista)) AND ([CodCella] = @Original_CodCella) AND ([CodEvento] = @Original_CodEvento)); +SELECT CodTipoLista, DescrLista, CodCella, CodEvento FROM TipoListaPrelievo WHERE (CodTipoLista = @CodTipoLista)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoLista", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoLista", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrLista", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrLista", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCella", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCella", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodTipoLista", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodTipoLista", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrLista", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrLista", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrLista", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrLista", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCella", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCella", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT CodTipoLista, DescrLista, CodCella, CodEvento FROM TipoListaPrelievo"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "dbo.stp_TL_getByCodTipoLista"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[1].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[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoLista", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_magazzino.TipoListaPrelievoDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_magazzino.TipoListaPrelievoDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_magazzino.TipoListaPrelievoDataTable dataTable = new DS_magazzino.TipoListaPrelievoDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.TipoListaPrelievoDataTable getByCodTipoLista(string CodTipoLista) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((CodTipoLista == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodTipoLista)); + } + DS_magazzino.TipoListaPrelievoDataTable dataTable = new DS_magazzino.TipoListaPrelievoDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_magazzino.TipoListaPrelievoDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_magazzino dataSet) { + return this.Adapter.Update(dataSet, "TipoListaPrelievo"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_CodTipoLista, string Original_DescrLista, string Original_CodCella, string Original_CodEvento) { + if ((Original_CodTipoLista == null)) { + throw new global::System.ArgumentNullException("Original_CodTipoLista"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodTipoLista)); + } + if ((Original_DescrLista == null)) { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_DescrLista)); + } + if ((Original_CodCella == null)) { + throw new global::System.ArgumentNullException("Original_CodCella"); + } + else { + this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_CodCella)); + } + if ((Original_CodEvento == null)) { + throw new global::System.ArgumentNullException("Original_CodEvento"); + } + else { + this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_CodEvento)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string CodTipoLista, string DescrLista, string CodCella, string CodEvento) { + if ((CodTipoLista == null)) { + throw new global::System.ArgumentNullException("CodTipoLista"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodTipoLista)); + } + if ((DescrLista == null)) { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(DescrLista)); + } + if ((CodCella == null)) { + throw new global::System.ArgumentNullException("CodCella"); + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(CodCella)); + } + if ((CodEvento == null)) { + throw new global::System.ArgumentNullException("CodEvento"); + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = ((string)(CodEvento)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string CodTipoLista, string DescrLista, string CodCella, string CodEvento, string Original_CodTipoLista, string Original_DescrLista, string Original_CodCella, string Original_CodEvento) { + if ((CodTipoLista == null)) { + throw new global::System.ArgumentNullException("CodTipoLista"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodTipoLista)); + } + if ((DescrLista == null)) { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(DescrLista)); + } + if ((CodCella == null)) { + throw new global::System.ArgumentNullException("CodCella"); + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(CodCella)); + } + if ((CodEvento == null)) { + throw new global::System.ArgumentNullException("CodEvento"); + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(CodEvento)); + } + if ((Original_CodTipoLista == null)) { + throw new global::System.ArgumentNullException("Original_CodTipoLista"); + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_CodTipoLista)); + } + if ((Original_DescrLista == null)) { + this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_DescrLista)); + } + if ((Original_CodCella == null)) { + throw new global::System.ArgumentNullException("Original_CodCella"); + } + else { + this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Original_CodCella)); + } + if ((Original_CodEvento == null)) { + throw new global::System.ArgumentNullException("Original_CodEvento"); + } + else { + this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_CodEvento)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string DescrLista, string CodCella, string CodEvento, string Original_CodTipoLista, string Original_DescrLista, string Original_CodCella, string Original_CodEvento) { + return this.Update(Original_CodTipoLista, DescrLista, CodCella, CodEvento, Original_CodTipoLista, Original_DescrLista, Original_CodCella, Original_CodEvento); + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class RigheListePrelievoTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public RigheListePrelievoTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "RigheListePrelievo"; + tableMapping.ColumnMappings.Add("CodLista", "CodLista"); + tableMapping.ColumnMappings.Add("UDC", "UDC"); + tableMapping.ColumnMappings.Add("Qta", "Qta"); + tableMapping.ColumnMappings.Add("Proposto", "Proposto"); + tableMapping.ColumnMappings.Add("Prelevato", "Prelevato"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[RigheListePrelievo] WHERE (([CodLista] = @Original_CodLista) AND ([UDC] = @Original_UDC) AND ([Qta] = @Original_Qta) AND ((@IsNull_Proposto = 1 AND [Proposto] IS NULL) OR ([Proposto] = @Original_Proposto)) AND ((@IsNull_Prelevato = 1 AND [Prelevato] IS NULL) OR ([Prelevato] = @Original_Prelevato)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodLista", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodLista", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Qta", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 10, 2, "Qta", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Proposto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Proposto", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Proposto", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Proposto", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Prelevato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Prelevato", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Prelevato", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Prelevato", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[RigheListePrelievo] ([CodLista], [UDC], [Qta], [Proposto], [Prelevato]) VALUES (@CodLista, @UDC, @Qta, @Proposto, @Prelevato); +SELECT CodLista, UDC, Qta, Proposto, Prelevato FROM RigheListePrelievo WHERE (CodLista = @CodLista) AND (UDC = @UDC)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodLista", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodLista", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Qta", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 10, 2, "Qta", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Proposto", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Proposto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Prelevato", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Prelevato", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[RigheListePrelievo] SET [CodLista] = @CodLista, [UDC] = @UDC, [Qta] = @Qta, [Proposto] = @Proposto, [Prelevato] = @Prelevato WHERE (([CodLista] = @Original_CodLista) AND ([UDC] = @Original_UDC) AND ([Qta] = @Original_Qta) AND ((@IsNull_Proposto = 1 AND [Proposto] IS NULL) OR ([Proposto] = @Original_Proposto)) AND ((@IsNull_Prelevato = 1 AND [Prelevato] IS NULL) OR ([Prelevato] = @Original_Prelevato))); +SELECT CodLista, UDC, Qta, Proposto, Prelevato FROM RigheListePrelievo WHERE (CodLista = @CodLista) AND (UDC = @UDC)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodLista", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodLista", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Qta", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 10, 2, "Qta", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Proposto", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Proposto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Prelevato", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Prelevato", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodLista", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodLista", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Qta", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 10, 2, "Qta", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Proposto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Proposto", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Proposto", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Proposto", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Prelevato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Prelevato", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Prelevato", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Prelevato", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[16]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT CodLista, UDC, Qta, Proposto, Prelevato FROM dbo.RigheListePrelievo"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "dbo.stp_RLP_getBloccateMovByUdc"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[1].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[1].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[2] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[2].Connection = this.Connection; + this._commandCollection[2].CommandText = "dbo.stp_RLP_getBloccateQtaByUdc"; + this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[2].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[2].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[3] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[3].Connection = this.Connection; + this._commandCollection[3].CommandText = "dbo.stp_getRigaPrelievoByCodLista"; + this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[3].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[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodLista", global::System.Data.SqlDbType.NVarChar, 12, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[4].Connection = this.Connection; + this._commandCollection[4].CommandText = "dbo.stp_getRigaPrelievoByCodListaPrelevate"; + this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[4].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[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodLista", global::System.Data.SqlDbType.NVarChar, 12, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[5].Connection = this.Connection; + this._commandCollection[5].CommandText = "dbo.stp_RLP_getByUdc"; + this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[6].Connection = this.Connection; + this._commandCollection[6].CommandText = "dbo.stp_RLP_getOpenByUserTipo"; + this._commandCollection[6].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[6].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[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.NVarChar, 17, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoLista", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[7].Connection = this.Connection; + this._commandCollection[7].CommandText = "dbo.stp_righePrelevateByUdc"; + this._commandCollection[7].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[7].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[7].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[8] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[8].Connection = this.Connection; + this._commandCollection[8].CommandText = "dbo.stp_setAnnullaUdcPrelevato"; + this._commandCollection[8].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[8].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[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodLista", global::System.Data.SqlDbType.NVarChar, 12, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[8].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] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[9].Connection = this.Connection; + this._commandCollection[9].CommandText = "dbo.stp_RigheListePrelievo_eliminaNonPrelevate"; + 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("@CodLista", global::System.Data.SqlDbType.VarChar, 12, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[10] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[10].Connection = this.Connection; + this._commandCollection[10].CommandText = "dbo.stp_RLP_deleteFromCodLista"; + this._commandCollection[10].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[10].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[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodLista", global::System.Data.SqlDbType.VarChar, 12, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[11] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[11].Connection = this.Connection; + this._commandCollection[11].CommandText = "dbo.stp_RLP_eliminaNonPrelevate"; + this._commandCollection[11].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[11].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[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodLista", global::System.Data.SqlDbType.NVarChar, 12, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[12] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[12].Connection = this.Connection; + this._commandCollection[12].CommandText = "dbo.stp_RLP_resetPrelevate"; + this._commandCollection[12].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[12].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[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodLista", global::System.Data.SqlDbType.NVarChar, 12, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[13] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[13].Connection = this.Connection; + this._commandCollection[13].CommandText = "dbo.stp_RLP_sbloccaNonPrelevate"; + this._commandCollection[13].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[13].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[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodLista", global::System.Data.SqlDbType.NVarChar, 12, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[13].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[14] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[14].Connection = this.Connection; + this._commandCollection[14].CommandText = "dbo.stp_RLP_updateQty"; + this._commandCollection[14].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[14].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[14].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[14].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Qta", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[15] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[15].Connection = this.Connection; + this._commandCollection[15].CommandText = "dbo.stp_UDC_upsertPrelevato"; + this._commandCollection[15].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[15].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[15].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodLista", global::System.Data.SqlDbType.NVarChar, 12, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[15].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.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_magazzino.RigheListePrelievoDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_magazzino.RigheListePrelievoDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_magazzino.RigheListePrelievoDataTable dataTable = new DS_magazzino.RigheListePrelievoDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.RigheListePrelievoDataTable getBloccateMovByUdc(string UDC) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((UDC == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(UDC)); + } + DS_magazzino.RigheListePrelievoDataTable dataTable = new DS_magazzino.RigheListePrelievoDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.RigheListePrelievoDataTable getBloccateQtaByUdc(string UDC) { + this.Adapter.SelectCommand = this.CommandCollection[2]; + if ((UDC == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(UDC)); + } + DS_magazzino.RigheListePrelievoDataTable dataTable = new DS_magazzino.RigheListePrelievoDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.RigheListePrelievoDataTable getByCodLista(string CodLista) { + this.Adapter.SelectCommand = this.CommandCollection[3]; + if ((CodLista == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodLista)); + } + DS_magazzino.RigheListePrelievoDataTable dataTable = new DS_magazzino.RigheListePrelievoDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.RigheListePrelievoDataTable getByCodListaPrelevate(string CodLista) { + this.Adapter.SelectCommand = this.CommandCollection[4]; + if ((CodLista == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodLista)); + } + DS_magazzino.RigheListePrelievoDataTable dataTable = new DS_magazzino.RigheListePrelievoDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.RigheListePrelievoDataTable getByUdc(string UDC) { + this.Adapter.SelectCommand = this.CommandCollection[5]; + if ((UDC == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(UDC)); + } + DS_magazzino.RigheListePrelievoDataTable dataTable = new DS_magazzino.RigheListePrelievoDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.RigheListePrelievoDataTable getOpenByUserTipo(string CodSoggetto, string CodTipoLista) { + this.Adapter.SelectCommand = this.CommandCollection[6]; + if ((CodSoggetto == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodSoggetto)); + } + if ((CodTipoLista == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodTipoLista)); + } + DS_magazzino.RigheListePrelievoDataTable dataTable = new DS_magazzino.RigheListePrelievoDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.RigheListePrelievoDataTable getPrelevateByUdc(string UDC) { + this.Adapter.SelectCommand = this.CommandCollection[7]; + if ((UDC == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(UDC)); + } + DS_magazzino.RigheListePrelievoDataTable dataTable = new DS_magazzino.RigheListePrelievoDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.RigheListePrelievoDataTable setAnnullaUdcPrelevato(string CodLista, string UDC) { + this.Adapter.SelectCommand = this.CommandCollection[8]; + if ((CodLista == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodLista)); + } + if ((UDC == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(UDC)); + } + DS_magazzino.RigheListePrelievoDataTable dataTable = new DS_magazzino.RigheListePrelievoDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.RigheListePrelievoDataTable upsertPrelevato(string CodLista, string UDC) { + this.Adapter.SelectCommand = this.CommandCollection[15]; + if ((CodLista == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodLista)); + } + if ((UDC == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(UDC)); + } + DS_magazzino.RigheListePrelievoDataTable dataTable = new DS_magazzino.RigheListePrelievoDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_magazzino.RigheListePrelievoDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_magazzino dataSet) { + return this.Adapter.Update(dataSet, "RigheListePrelievo"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_CodLista, string Original_UDC, decimal Original_Qta, global::System.Nullable Original_Proposto, global::System.Nullable Original_Prelevato) { + if ((Original_CodLista == null)) { + throw new global::System.ArgumentNullException("Original_CodLista"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodLista)); + } + if ((Original_UDC == null)) { + throw new global::System.ArgumentNullException("Original_UDC"); + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_UDC)); + } + this.Adapter.DeleteCommand.Parameters[2].Value = ((decimal)(Original_Qta)); + if ((Original_Proposto.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[4].Value = ((bool)(Original_Proposto.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; + } + if ((Original_Prelevato.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[6].Value = ((bool)(Original_Prelevato.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string CodLista, string UDC, decimal Qta, global::System.Nullable Proposto, global::System.Nullable Prelevato) { + if ((CodLista == null)) { + throw new global::System.ArgumentNullException("CodLista"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodLista)); + } + if ((UDC == null)) { + throw new global::System.ArgumentNullException("UDC"); + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(UDC)); + } + this.Adapter.InsertCommand.Parameters[2].Value = ((decimal)(Qta)); + if ((Proposto.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[3].Value = ((bool)(Proposto.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; + } + if ((Prelevato.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[4].Value = ((bool)(Prelevato.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string CodLista, string UDC, decimal Qta, global::System.Nullable Proposto, global::System.Nullable Prelevato, string Original_CodLista, string Original_UDC, decimal Original_Qta, global::System.Nullable Original_Proposto, global::System.Nullable Original_Prelevato) { + if ((CodLista == null)) { + throw new global::System.ArgumentNullException("CodLista"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodLista)); + } + if ((UDC == null)) { + throw new global::System.ArgumentNullException("UDC"); + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(UDC)); + } + this.Adapter.UpdateCommand.Parameters[2].Value = ((decimal)(Qta)); + if ((Proposto.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[3].Value = ((bool)(Proposto.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; + } + if ((Prelevato.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[4].Value = ((bool)(Prelevato.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + if ((Original_CodLista == null)) { + throw new global::System.ArgumentNullException("Original_CodLista"); + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Original_CodLista)); + } + if ((Original_UDC == null)) { + throw new global::System.ArgumentNullException("Original_UDC"); + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_UDC)); + } + this.Adapter.UpdateCommand.Parameters[7].Value = ((decimal)(Original_Qta)); + if ((Original_Proposto.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[9].Value = ((bool)(Original_Proposto.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value; + } + if ((Original_Prelevato.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[11].Value = ((bool)(Original_Prelevato.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(decimal Qta, global::System.Nullable Proposto, global::System.Nullable Prelevato, string Original_CodLista, string Original_UDC, decimal Original_Qta, global::System.Nullable Original_Proposto, global::System.Nullable Original_Prelevato) { + return this.Update(Original_CodLista, Original_UDC, Qta, Proposto, Prelevato, Original_CodLista, Original_UDC, Original_Qta, Original_Proposto, Original_Prelevato); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int stp_RigheListePrelievo_eliminaNonPrelevate(string CodLista) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[9]; + if ((CodLista == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(CodLista)); + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int stp_RLP_deleteFromCodLista(string Original_CodLista) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[10]; + if ((Original_CodLista == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(Original_CodLista)); + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int stp_RLP_eliminaNonPrelevate(string CodLista) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[11]; + if ((CodLista == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(CodLista)); + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int stp_RLP_resetPrelevate(string CodLista) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[12]; + if ((CodLista == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(CodLista)); + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int stp_RLP_sbloccaNonPrelevate(string CodLista, string UDC) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[13]; + if ((CodLista == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(CodLista)); + } + if ((UDC == null)) { + command.Parameters[2].Value = global::System.DBNull.Value; + } + else { + command.Parameters[2].Value = ((string)(UDC)); + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int stp_RLP_updateQty(string UDC, global::System.Nullable Qta) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[14]; + if ((UDC == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(UDC)); + } + if ((Qta.HasValue == true)) { + command.Parameters[2].Value = ((decimal)(Qta.Value)); + } + else { + command.Parameters[2].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class ElencoListePrelievoTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public ElencoListePrelievoTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "ElencoListePrelievo"; + tableMapping.ColumnMappings.Add("CodLista", "CodLista"); + tableMapping.ColumnMappings.Add("CodTipoLista", "CodTipoLista"); + tableMapping.ColumnMappings.Add("CodCS", "CodCS"); + tableMapping.ColumnMappings.Add("DataCreaz", "DataCreaz"); + tableMapping.ColumnMappings.Add("CodCliente", "CodCliente"); + tableMapping.ColumnMappings.Add("RagSociale", "RagSociale"); + tableMapping.ColumnMappings.Add("CodSoggetto", "CodSoggetto"); + tableMapping.ColumnMappings.Add("Particolare", "Particolare"); + tableMapping.ColumnMappings.Add("DescParticolare", "DescParticolare"); + tableMapping.ColumnMappings.Add("DisegnoGrezzo", "DisegnoGrezzo"); + tableMapping.ColumnMappings.Add("Esponente", "Esponente"); + tableMapping.ColumnMappings.Add("CodImballo", "CodImballo"); + tableMapping.ColumnMappings.Add("QtaTot", "QtaTot"); + tableMapping.ColumnMappings.Add("CodStatoLista", "CodStatoLista"); + tableMapping.ColumnMappings.Add("Prelevato", "Prelevato"); + tableMapping.ColumnMappings.Add("Figura", "Figura"); + tableMapping.ColumnMappings.Add("Destinatario", "Destinatario"); + tableMapping.ColumnMappings.Add("DestinatarioDescrizione", "DestinatarioDescrizione"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[11]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT * FROM dbo.V_ElencoListePrelievo"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "dbo.stp_LP_deleteQuery"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[1].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[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodLista", global::System.Data.SqlDbType.VarChar, 12, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[2].Connection = this.Connection; + this._commandCollection[2].CommandText = "dbo.stp_elencoListePrelievoByCodLista"; + this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[2].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[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodLista", global::System.Data.SqlDbType.NVarChar, 12, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[3].Connection = this.Connection; + this._commandCollection[3].CommandText = "dbo.stp_elencoLP_attiveByCodSoggetto"; + this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[3].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[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.NVarChar, 17, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[4].Connection = this.Connection; + this._commandCollection[4].CommandText = "dbo.stp_elencoListePrelievoFilt"; + this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[4].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[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataFrom", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataTo", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[5].Connection = this.Connection; + this._commandCollection[5].CommandText = "dbo.stp_LP_getOpenByUserTipo"; + this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.NVarChar, 17, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoLista", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[6].Connection = this.Connection; + this._commandCollection[6].CommandText = "dbo.stp_LP_getOpenByUserTipoPart"; + this._commandCollection[6].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[6].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[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.NVarChar, 17, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoLista", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.VarChar, 15, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[7].Connection = this.Connection; + this._commandCollection[7].CommandText = "dbo.stp_creaListaPrelievo"; + this._commandCollection[7].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[7].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[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Anno", global::System.Data.SqlDbType.NVarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Mese", global::System.Data.SqlDbType.NVarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoLista", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.NChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.NVarChar, 6, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RagSociale", global::System.Data.SqlDbType.NVarChar, 35, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.NChar, 17, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.NVarChar, 15, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescParticolare", global::System.Data.SqlDbType.NVarChar, 30, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DisegnoGrezzo", global::System.Data.SqlDbType.NVarChar, 30, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Esponente", global::System.Data.SqlDbType.NVarChar, 6, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Figura", global::System.Data.SqlDbType.NVarChar, 4, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImballo", global::System.Data.SqlDbType.NVarChar, 15, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QtaTot", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 10, 2, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Destinatario", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DestinatarioDescrizione", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[8] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[8].Connection = this.Connection; + this._commandCollection[8].CommandText = "dbo.stp_LP_exportToAs400"; + this._commandCollection[8].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[8].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[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodLista", global::System.Data.SqlDbType.NVarChar, 12, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[9] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[9].Connection = this.Connection; + this._commandCollection[9].CommandText = "dbo.stp_LP_updateDestTipo"; + 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("@Original_CodLista", global::System.Data.SqlDbType.NVarChar, 12, 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("@CodTipoLista", 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("@CodCliente", 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("@RagSociale", global::System.Data.SqlDbType.NVarChar, 35, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[10] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[10].Connection = this.Connection; + this._commandCollection[10].CommandText = "dbo.stp_elencoListePrelievoUpdateStato"; + this._commandCollection[10].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[10].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[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NewCodSoggetto", global::System.Data.SqlDbType.NChar, 17, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodListaAttuale", global::System.Data.SqlDbType.VarChar, 12, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodStatoLista", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_magazzino.ElencoListePrelievoDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_magazzino.ElencoListePrelievoDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_magazzino.ElencoListePrelievoDataTable dataTable = new DS_magazzino.ElencoListePrelievoDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.ElencoListePrelievoDataTable getByCodLista(string CodLista) { + this.Adapter.SelectCommand = this.CommandCollection[2]; + if ((CodLista == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodLista)); + } + DS_magazzino.ElencoListePrelievoDataTable dataTable = new DS_magazzino.ElencoListePrelievoDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.ElencoListePrelievoDataTable getByCodSogg(string CodSoggetto) { + this.Adapter.SelectCommand = this.CommandCollection[3]; + if ((CodSoggetto == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodSoggetto)); + } + DS_magazzino.ElencoListePrelievoDataTable dataTable = new DS_magazzino.ElencoListePrelievoDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.ElencoListePrelievoDataTable getByFilt(global::System.Nullable DataFrom, global::System.Nullable DataTo) { + this.Adapter.SelectCommand = this.CommandCollection[4]; + if ((DataFrom.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[1].Value = ((System.DateTime)(DataFrom.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + if ((DataTo.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(DataTo.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + DS_magazzino.ElencoListePrelievoDataTable dataTable = new DS_magazzino.ElencoListePrelievoDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.ElencoListePrelievoDataTable getOpenByUserTipo(string CodSoggetto, string CodTipoLista) { + this.Adapter.SelectCommand = this.CommandCollection[5]; + if ((CodSoggetto == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodSoggetto)); + } + if ((CodTipoLista == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodTipoLista)); + } + DS_magazzino.ElencoListePrelievoDataTable dataTable = new DS_magazzino.ElencoListePrelievoDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.ElencoListePrelievoDataTable getOpenByUserTipoPart(string CodSoggetto, string CodTipoLista, string Particolare) { + this.Adapter.SelectCommand = this.CommandCollection[6]; + if ((CodSoggetto == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodSoggetto)); + } + if ((CodTipoLista == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodTipoLista)); + } + if ((Particolare == null)) { + this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[3].Value = ((string)(Particolare)); + } + DS_magazzino.ElencoListePrelievoDataTable dataTable = new DS_magazzino.ElencoListePrelievoDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.ElencoListePrelievoDataTable InsertQuery( + string Anno, + string Mese, + string CodTipoLista, + string CodCS, + string CodCliente, + string RagSociale, + string CodSoggetto, + string Particolare, + string DescParticolare, + string DisegnoGrezzo, + string Esponente, + string Figura, + string CodImballo, + global::System.Nullable QtaTot, + string Destinatario, + string DestinatarioDescrizione) { + this.Adapter.SelectCommand = this.CommandCollection[7]; + if ((Anno == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(Anno)); + } + if ((Mese == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(Mese)); + } + if ((CodTipoLista == null)) { + this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[3].Value = ((string)(CodTipoLista)); + } + if ((CodCS == null)) { + this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[4].Value = ((string)(CodCS)); + } + if ((CodCliente == null)) { + this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[5].Value = ((string)(CodCliente)); + } + if ((RagSociale == null)) { + this.Adapter.SelectCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[6].Value = ((string)(RagSociale)); + } + if ((CodSoggetto == null)) { + this.Adapter.SelectCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[7].Value = ((string)(CodSoggetto)); + } + if ((Particolare == null)) { + this.Adapter.SelectCommand.Parameters[8].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[8].Value = ((string)(Particolare)); + } + if ((DescParticolare == null)) { + this.Adapter.SelectCommand.Parameters[9].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[9].Value = ((string)(DescParticolare)); + } + if ((DisegnoGrezzo == null)) { + this.Adapter.SelectCommand.Parameters[10].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[10].Value = ((string)(DisegnoGrezzo)); + } + if ((Esponente == null)) { + this.Adapter.SelectCommand.Parameters[11].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[11].Value = ((string)(Esponente)); + } + if ((Figura == null)) { + this.Adapter.SelectCommand.Parameters[12].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[12].Value = ((string)(Figura)); + } + if ((CodImballo == null)) { + this.Adapter.SelectCommand.Parameters[13].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[13].Value = ((string)(CodImballo)); + } + if ((QtaTot.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[14].Value = ((decimal)(QtaTot.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[14].Value = global::System.DBNull.Value; + } + if ((Destinatario == null)) { + this.Adapter.SelectCommand.Parameters[15].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[15].Value = ((string)(Destinatario)); + } + if ((DestinatarioDescrizione == null)) { + this.Adapter.SelectCommand.Parameters[16].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[16].Value = ((string)(DestinatarioDescrizione)); + } + DS_magazzino.ElencoListePrelievoDataTable dataTable = new DS_magazzino.ElencoListePrelievoDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.ElencoListePrelievoDataTable updateStato(string NewCodSoggetto, string CodListaAttuale, global::System.Nullable CodStatoLista) { + this.Adapter.SelectCommand = this.CommandCollection[10]; + if ((NewCodSoggetto == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(NewCodSoggetto)); + } + if ((CodListaAttuale == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodListaAttuale)); + } + if ((CodStatoLista.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[3].Value = ((int)(CodStatoLista.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; + } + DS_magazzino.ElencoListePrelievoDataTable dataTable = new DS_magazzino.ElencoListePrelievoDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int DeleteQuery(string Original_CodLista) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1]; + if ((Original_CodLista == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(Original_CodLista)); + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int stp_LP_exportToAs400(string CodLista) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[8]; + if ((CodLista == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(CodLista)); + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int stp_LP_updateDestTipo(string Original_CodLista, string CodTipoLista, string CodCliente, string RagSociale) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[9]; + if ((Original_CodLista == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(Original_CodLista)); + } + if ((CodTipoLista == null)) { + command.Parameters[2].Value = global::System.DBNull.Value; + } + else { + command.Parameters[2].Value = ((string)(CodTipoLista)); + } + if ((CodCliente == null)) { + command.Parameters[3].Value = global::System.DBNull.Value; + } + else { + command.Parameters[3].Value = ((string)(CodCliente)); + } + if ((RagSociale == null)) { + command.Parameters[4].Value = global::System.DBNull.Value; + } + else { + command.Parameters[4].Value = ((string)(RagSociale)); + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class v_righeListePrelievoPosizioneTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_righeListePrelievoPosizioneTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "v_righeListePrelievoPosizione"; + tableMapping.ColumnMappings.Add("CodLista", "CodLista"); + tableMapping.ColumnMappings.Add("UDC", "UDC"); + tableMapping.ColumnMappings.Add("Qta", "Qta"); + tableMapping.ColumnMappings.Add("Proposto", "Proposto"); + tableMapping.ColumnMappings.Add("Prelevato", "Prelevato"); + tableMapping.ColumnMappings.Add("CodCella", "CodCella"); + tableMapping.ColumnMappings.Add("CodMag", "CodMag"); + tableMapping.ColumnMappings.Add("CodBlocco", "CodBlocco"); + tableMapping.ColumnMappings.Add("X", "X"); + tableMapping.ColumnMappings.Add("Y", "Y"); + tableMapping.ColumnMappings.Add("Z", "Z"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[4]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT CodLista, UDC, Qta, Proposto, Prelevato, CodCella, CodMag, CodBlocco, X, Y" + + ", Z FROM dbo.v_righeListePrelievoPosizione"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "dbo.stp_RLP_delete"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[1].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[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodLista", global::System.Data.SqlDbType.VarChar, 12, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UDC", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[2].Connection = this.Connection; + this._commandCollection[2].CommandText = "dbo.stp_getRigaPrelievoPosizioneByCodLista"; + this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[2].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[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodLista", global::System.Data.SqlDbType.NVarChar, 12, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[3].Connection = this.Connection; + this._commandCollection[3].CommandText = "dbo.stp_LP_updateUDC"; + this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[3].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[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodLista", global::System.Data.SqlDbType.VarChar, 12, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UDC", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3].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.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_magazzino.v_righeListePrelievoPosizioneDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_magazzino.v_righeListePrelievoPosizioneDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_magazzino.v_righeListePrelievoPosizioneDataTable dataTable = new DS_magazzino.v_righeListePrelievoPosizioneDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.v_righeListePrelievoPosizioneDataTable getByCodLista(string CodLista) { + this.Adapter.SelectCommand = this.CommandCollection[2]; + if ((CodLista == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodLista)); + } + DS_magazzino.v_righeListePrelievoPosizioneDataTable dataTable = new DS_magazzino.v_righeListePrelievoPosizioneDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int DeleteQuery(string Original_CodLista, string Original_UDC) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1]; + if ((Original_CodLista == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(Original_CodLista)); + } + if ((Original_UDC == null)) { + command.Parameters[2].Value = global::System.DBNull.Value; + } + else { + command.Parameters[2].Value = ((string)(Original_UDC)); + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int updateUDC(string Original_CodLista, string Original_UDC, string UDC) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3]; + if ((Original_CodLista == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(Original_CodLista)); + } + if ((Original_UDC == null)) { + command.Parameters[2].Value = global::System.DBNull.Value; + } + else { + command.Parameters[2].Value = ((string)(Original_UDC)); + } + if ((UDC == null)) { + command.Parameters[3].Value = global::System.DBNull.Value; + } + else { + command.Parameters[3].Value = ((string)(UDC)); + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class v_particolariEsponenteFiguraTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_particolariEsponenteFiguraTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "v_particolariEsponenteFigura"; + tableMapping.ColumnMappings.Add("Particolare", "Particolare"); + tableMapping.ColumnMappings.Add("DescParticolare", "DescParticolare"); + tableMapping.ColumnMappings.Add("Esponente", "Esponente"); + tableMapping.ColumnMappings.Add("Figura", "Figura"); + tableMapping.ColumnMappings.Add("CodImballo", "CodImballo"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[4]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT * FROM dbo.v_particolariEsponenteFigura"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "dbo.stp_ParticolariEspByParticolare"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[1].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[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[2].Connection = this.Connection; + this._commandCollection[2].CommandText = "dbo.stp_ParticolariFiguraByParticolare"; + this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[2].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[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[3].Connection = this.Connection; + this._commandCollection[3].CommandText = "dbo.stp_ParticolariImballoByParticolare"; + this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[3].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[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", 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.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_magazzino.v_particolariEsponenteFiguraDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_magazzino.v_particolariEsponenteFiguraDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_magazzino.v_particolariEsponenteFiguraDataTable dataTable = new DS_magazzino.v_particolariEsponenteFiguraDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.v_particolariEsponenteFiguraDataTable getEspByPart(string Particolare) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((Particolare == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(Particolare)); + } + DS_magazzino.v_particolariEsponenteFiguraDataTable dataTable = new DS_magazzino.v_particolariEsponenteFiguraDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.v_particolariEsponenteFiguraDataTable getFigByPart(string Particolare) { + this.Adapter.SelectCommand = this.CommandCollection[2]; + if ((Particolare == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(Particolare)); + } + DS_magazzino.v_particolariEsponenteFiguraDataTable dataTable = new DS_magazzino.v_particolariEsponenteFiguraDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.v_particolariEsponenteFiguraDataTable getImbByPart(string Particolare) { + this.Adapter.SelectCommand = this.CommandCollection[3]; + if ((Particolare == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(Particolare)); + } + DS_magazzino.v_particolariEsponenteFiguraDataTable dataTable = new DS_magazzino.v_particolariEsponenteFiguraDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class AnagPosizioniTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagPosizioniTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "AnagPosizioni"; + tableMapping.ColumnMappings.Add("IdxPosizione", "IdxPosizione"); + tableMapping.ColumnMappings.Add("DescPosizione", "DescPosizione"); + tableMapping.ColumnMappings.Add("IsRiattivaEnabled", "IsRiattivaEnabled"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[AnagPosizioni] WHERE (([IdxPosizione] = @Original_IdxPosizione) AND ((@IsNull_DescPosizione = 1 AND [DescPosizione] IS NULL) OR ([DescPosizione] = @Original_DescPosizione)) AND ((@IsNull_IsRiattivaEnabled = 1 AND [IsRiattivaEnabled] IS NULL) OR ([IsRiattivaEnabled] = @Original_IsRiattivaEnabled)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxPosizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPosizione", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescPosizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescPosizione", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescPosizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescPosizione", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_IsRiattivaEnabled", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IsRiattivaEnabled", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IsRiattivaEnabled", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IsRiattivaEnabled", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[AnagPosizioni] ([IdxPosizione], [DescPosizione], [IsRiattivaEnabled]) VALUES (@IdxPosizione, @DescPosizione, @IsRiattivaEnabled); +SELECT IdxPosizione, DescPosizione, IsRiattivaEnabled FROM AnagPosizioni WHERE (IdxPosizione = @IdxPosizione)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxPosizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPosizione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescPosizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescPosizione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsRiattivaEnabled", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IsRiattivaEnabled", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[AnagPosizioni] SET [IdxPosizione] = @IdxPosizione, [DescPosizione] = @DescPosizione, [IsRiattivaEnabled] = @IsRiattivaEnabled WHERE (([IdxPosizione] = @Original_IdxPosizione) AND ((@IsNull_DescPosizione = 1 AND [DescPosizione] IS NULL) OR ([DescPosizione] = @Original_DescPosizione)) AND ((@IsNull_IsRiattivaEnabled = 1 AND [IsRiattivaEnabled] IS NULL) OR ([IsRiattivaEnabled] = @Original_IsRiattivaEnabled))); +SELECT IdxPosizione, DescPosizione, IsRiattivaEnabled FROM AnagPosizioni WHERE (IdxPosizione = @IdxPosizione)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxPosizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPosizione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescPosizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescPosizione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsRiattivaEnabled", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IsRiattivaEnabled", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxPosizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPosizione", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescPosizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescPosizione", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescPosizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescPosizione", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_IsRiattivaEnabled", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IsRiattivaEnabled", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IsRiattivaEnabled", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IsRiattivaEnabled", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT * FROM dbo.AnagPosizioni"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "SELECT IdxPosizione, DescPosizione, IsRiattivaEnabled\r\nFROM Ana" + + "gPosizioni\r\nWHERE (IdxPosizione = @IdxPosizione)"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxPosizione", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPosizione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_magazzino.AnagPosizioniDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_magazzino.AnagPosizioniDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_magazzino.AnagPosizioniDataTable dataTable = new DS_magazzino.AnagPosizioniDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.AnagPosizioniDataTable getByIdxPosizione(int IdxPosizione) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + this.Adapter.SelectCommand.Parameters[0].Value = ((int)(IdxPosizione)); + DS_magazzino.AnagPosizioniDataTable dataTable = new DS_magazzino.AnagPosizioniDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_magazzino.AnagPosizioniDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_magazzino dataSet) { + return this.Adapter.Update(dataSet, "AnagPosizioni"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(int Original_IdxPosizione, string Original_DescPosizione, global::System.Nullable Original_IsRiattivaEnabled) { + this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_IdxPosizione)); + if ((Original_DescPosizione == null)) { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_DescPosizione)); + } + if ((Original_IsRiattivaEnabled.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[4].Value = ((bool)(Original_IsRiattivaEnabled.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(int IdxPosizione, string DescPosizione, global::System.Nullable IsRiattivaEnabled) { + this.Adapter.InsertCommand.Parameters[0].Value = ((int)(IdxPosizione)); + if ((DescPosizione == null)) { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(DescPosizione)); + } + if ((IsRiattivaEnabled.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[2].Value = ((bool)(IsRiattivaEnabled.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(int IdxPosizione, string DescPosizione, global::System.Nullable IsRiattivaEnabled, int Original_IdxPosizione, string Original_DescPosizione, global::System.Nullable Original_IsRiattivaEnabled) { + this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(IdxPosizione)); + if ((DescPosizione == null)) { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(DescPosizione)); + } + if ((IsRiattivaEnabled.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[2].Value = ((bool)(IsRiattivaEnabled.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(Original_IdxPosizione)); + if ((Original_DescPosizione == null)) { + this.Adapter.UpdateCommand.Parameters[4].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Original_DescPosizione)); + } + if ((Original_IsRiattivaEnabled.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[7].Value = ((bool)(Original_IsRiattivaEnabled.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string DescPosizione, global::System.Nullable IsRiattivaEnabled, int Original_IdxPosizione, string Original_DescPosizione, global::System.Nullable Original_IsRiattivaEnabled) { + return this.Update(Original_IdxPosizione, DescPosizione, IsRiattivaEnabled, Original_IdxPosizione, Original_DescPosizione, Original_IsRiattivaEnabled); + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class V_statoCelleCapienzaAssegnatiTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public V_statoCelleCapienzaAssegnatiTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "V_statoCelleCapienzaAssegnati"; + tableMapping.ColumnMappings.Add("IdxCella", "IdxCella"); + tableMapping.ColumnMappings.Add("CodCella", "CodCella"); + tableMapping.ColumnMappings.Add("Capienza", "Capienza"); + tableMapping.ColumnMappings.Add("UdcAssegnati", "UdcAssegnati"); + tableMapping.ColumnMappings.Add("Piena", "Piena"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[4]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT IdxCella, CodCella, Capienza, UdcAssegnati, Piena FROM dbo.V_statoCelleCap" + + "ienzaAssegnati"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "dbo.stp_StatoCelleByCodCella"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[1].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[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCella", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[2].Connection = this.Connection; + this._commandCollection[2].CommandText = "dbo.stp_StatoCelleByIdxCella"; + this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[2].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[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxCella", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[3].Connection = this.Connection; + this._commandCollection[3].CommandText = "dbo.stp_StatoCelleOverbooked"; + this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[3].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, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_magazzino.V_statoCelleCapienzaAssegnatiDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_magazzino.V_statoCelleCapienzaAssegnatiDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_magazzino.V_statoCelleCapienzaAssegnatiDataTable dataTable = new DS_magazzino.V_statoCelleCapienzaAssegnatiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.V_statoCelleCapienzaAssegnatiDataTable getByCodCella(string CodCella) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((CodCella == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodCella)); + } + DS_magazzino.V_statoCelleCapienzaAssegnatiDataTable dataTable = new DS_magazzino.V_statoCelleCapienzaAssegnatiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.V_statoCelleCapienzaAssegnatiDataTable getByIdxCella(global::System.Nullable IdxCella) { + this.Adapter.SelectCommand = this.CommandCollection[2]; + if ((IdxCella.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxCella.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + DS_magazzino.V_statoCelleCapienzaAssegnatiDataTable dataTable = new DS_magazzino.V_statoCelleCapienzaAssegnatiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.V_statoCelleCapienzaAssegnatiDataTable getOverbooked() { + this.Adapter.SelectCommand = this.CommandCollection[3]; + DS_magazzino.V_statoCelleCapienzaAssegnatiDataTable dataTable = new DS_magazzino.V_statoCelleCapienzaAssegnatiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class V_MagazziniLogiciOverviewTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public V_MagazziniLogiciOverviewTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "V_MagazziniLogiciOverview"; + tableMapping.ColumnMappings.Add("CodCS", "CodCS"); + tableMapping.ColumnMappings.Add("CodMagLogico", "CodMagLogico"); + tableMapping.ColumnMappings.Add("DescMagLogico", "DescMagLogico"); + tableMapping.ColumnMappings.Add("IdxBlocco", "IdxBlocco"); + tableMapping.ColumnMappings.Add("CodMag", "CodMag"); + tableMapping.ColumnMappings.Add("CodBlocco", "CodBlocco"); + tableMapping.ColumnMappings.Add("CelleOccupate", "CelleOccupate"); + tableMapping.ColumnMappings.Add("Oldest", "Oldest"); + tableMapping.ColumnMappings.Add("Newest", "Newest"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT *\r\nFROM dbo.V_MagazziniLogiciOverview"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "dbo.stp_magazzinoLogicoOverview"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[1].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[1].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, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_magazzino.V_MagazziniLogiciOverviewDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_magazzino.V_MagazziniLogiciOverviewDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_magazzino.V_MagazziniLogiciOverviewDataTable dataTable = new DS_magazzino.V_MagazziniLogiciOverviewDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.V_MagazziniLogiciOverviewDataTable getByCodCS(string CodCS) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((CodCS == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodCS)); + } + DS_magazzino.V_MagazziniLogiciOverviewDataTable dataTable = new DS_magazzino.V_MagazziniLogiciOverviewDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class RapQualTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public RapQualTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "RapQual"; + tableMapping.ColumnMappings.Add("nRapQual", "nRapQual"); + tableMapping.ColumnMappings.Add("DataRapQual", "DataRapQual"); + tableMapping.ColumnMappings.Add("ProgUDC", "ProgUDC"); + tableMapping.ColumnMappings.Add("CodFor", "CodFor"); + tableMapping.ColumnMappings.Add("DestTerz", "DestTerz"); + tableMapping.ColumnMappings.Add("CodLega", "CodLega"); + tableMapping.ColumnMappings.Add("DataPrelFus", "DataPrelFus"); + tableMapping.ColumnMappings.Add("TurnoPrelFus", "TurnoPrelFus"); + tableMapping.ColumnMappings.Add("Qta", "Qta"); + tableMapping.ColumnMappings.Add("DestLega", "DestLega"); + tableMapping.ColumnMappings.Add("LegaScaric", "LegaScaric"); + tableMapping.ColumnMappings.Add("BenesQual", "BenesQual"); + tableMapping.ColumnMappings.Add("UDC", "UDC"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = @"DELETE FROM [RilPro].[RapQual] WHERE (([nRapQual] = @Original_nRapQual) AND ([DataRapQual] = @Original_DataRapQual) AND ([ProgUDC] = @Original_ProgUDC) AND ([CodFor] = @Original_CodFor) AND ([DestTerz] = @Original_DestTerz) AND ([CodLega] = @Original_CodLega) AND ([DataPrelFus] = @Original_DataPrelFus) AND ([TurnoPrelFus] = @Original_TurnoPrelFus) AND ([Qta] = @Original_Qta) AND ([DestLega] = @Original_DestLega) AND ([LegaScaric] = @Original_LegaScaric) AND ([BenesQual] = @Original_BenesQual) AND ((@IsNull_UDC = 1 AND [UDC] IS NULL) OR ([UDC] = @Original_UDC)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_nRapQual", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 6, 0, "nRapQual", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataRapQual", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 8, 0, "DataRapQual", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ProgUDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ProgUDC", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodFor", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFor", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DestTerz", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DestTerz", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodLega", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodLega", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataPrelFus", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 8, 0, "DataPrelFus", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TurnoPrelFus", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TurnoPrelFus", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Qta", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 5, 0, "Qta", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DestLega", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DestLega", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_LegaScaric", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LegaScaric", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_BenesQual", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BenesQual", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_UDC", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = @"INSERT INTO [RilPro].[RapQual] ([nRapQual], [DataRapQual], [ProgUDC], [CodFor], [DestTerz], [CodLega], [DataPrelFus], [TurnoPrelFus], [Qta], [DestLega], [LegaScaric], [BenesQual], [UDC]) VALUES (@nRapQual, @DataRapQual, @ProgUDC, @CodFor, @DestTerz, @CodLega, @DataPrelFus, @TurnoPrelFus, @Qta, @DestLega, @LegaScaric, @BenesQual, @UDC); +SELECT nRapQual, DataRapQual, ProgUDC, CodFor, DestTerz, CodLega, DataPrelFus, TurnoPrelFus, Qta, DestLega, LegaScaric, BenesQual, UDC FROM RilPro.RapQual WHERE (ProgUDC = @ProgUDC)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nRapQual", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 6, 0, "nRapQual", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataRapQual", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 8, 0, "DataRapQual", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ProgUDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ProgUDC", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodFor", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFor", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DestTerz", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DestTerz", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodLega", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodLega", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataPrelFus", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 8, 0, "DataPrelFus", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TurnoPrelFus", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TurnoPrelFus", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Qta", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 5, 0, "Qta", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DestLega", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DestLega", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LegaScaric", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LegaScaric", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BenesQual", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BenesQual", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [RilPro].[RapQual] SET [nRapQual] = @nRapQual, [DataRapQual] = @DataRapQual, [ProgUDC] = @ProgUDC, [CodFor] = @CodFor, [DestTerz] = @DestTerz, [CodLega] = @CodLega, [DataPrelFus] = @DataPrelFus, [TurnoPrelFus] = @TurnoPrelFus, [Qta] = @Qta, [DestLega] = @DestLega, [LegaScaric] = @LegaScaric, [BenesQual] = @BenesQual, [UDC] = @UDC WHERE (([nRapQual] = @Original_nRapQual) AND ([DataRapQual] = @Original_DataRapQual) AND ([ProgUDC] = @Original_ProgUDC) AND ([CodFor] = @Original_CodFor) AND ([DestTerz] = @Original_DestTerz) AND ([CodLega] = @Original_CodLega) AND ([DataPrelFus] = @Original_DataPrelFus) AND ([TurnoPrelFus] = @Original_TurnoPrelFus) AND ([Qta] = @Original_Qta) AND ([DestLega] = @Original_DestLega) AND ([LegaScaric] = @Original_LegaScaric) AND ([BenesQual] = @Original_BenesQual) AND ((@IsNull_UDC = 1 AND [UDC] IS NULL) OR ([UDC] = @Original_UDC))); +SELECT nRapQual, DataRapQual, ProgUDC, CodFor, DestTerz, CodLega, DataPrelFus, TurnoPrelFus, Qta, DestLega, LegaScaric, BenesQual, UDC FROM RilPro.RapQual WHERE (ProgUDC = @ProgUDC)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nRapQual", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 6, 0, "nRapQual", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataRapQual", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 8, 0, "DataRapQual", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ProgUDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ProgUDC", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodFor", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFor", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DestTerz", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DestTerz", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodLega", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodLega", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataPrelFus", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 8, 0, "DataPrelFus", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TurnoPrelFus", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TurnoPrelFus", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Qta", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 5, 0, "Qta", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DestLega", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DestLega", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LegaScaric", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LegaScaric", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BenesQual", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BenesQual", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_nRapQual", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 6, 0, "nRapQual", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataRapQual", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 8, 0, "DataRapQual", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ProgUDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ProgUDC", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodFor", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFor", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DestTerz", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DestTerz", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodLega", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodLega", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataPrelFus", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 8, 0, "DataPrelFus", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TurnoPrelFus", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TurnoPrelFus", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Qta", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 5, 0, "Qta", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DestLega", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DestLega", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_LegaScaric", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LegaScaric", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_BenesQual", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BenesQual", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_UDC", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[6]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT nRapQual, DataRapQual, ProgUDC, CodFor, DestTerz, CodLega, DataPrelFus, Tu" + + "rnoPrelFus, Qta, DestLega, LegaScaric, BenesQual, UDC FROM RilPro.RapQual"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "dbo.stp_rappQualGetByNumRapQual"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[1].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[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nRapQual", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[2].Connection = this.Connection; + this._commandCollection[2].CommandText = "dbo.stp_rappQualGetByNumRapQualSenzaUdc"; + this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[2].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[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nRapQual", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[3].Connection = this.Connection; + this._commandCollection[3].CommandText = "dbo.stp_rappQualGetByUDC"; + this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[3].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[3].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[4] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[4].Connection = this.Connection; + this._commandCollection[4].CommandText = "dbo.stp_rappQualConsumabili"; + this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[4].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[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataFrom", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataTo", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[5].Connection = this.Connection; + this._commandCollection[5].CommandText = "dbo.stp_rappQualAssociaUdc"; + this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ProgUDC", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.NVarChar, 13, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_magazzino.RapQualDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_magazzino.RapQualDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_magazzino.RapQualDataTable dataTable = new DS_magazzino.RapQualDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.RapQualDataTable getByNumRapQual(global::System.Nullable nRapQual) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((nRapQual.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[1].Value = ((int)(nRapQual.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + DS_magazzino.RapQualDataTable dataTable = new DS_magazzino.RapQualDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.RapQualDataTable getByNumRapQualNoUdc(global::System.Nullable nRapQual) { + this.Adapter.SelectCommand = this.CommandCollection[2]; + if ((nRapQual.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[1].Value = ((int)(nRapQual.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + DS_magazzino.RapQualDataTable dataTable = new DS_magazzino.RapQualDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.RapQualDataTable getByUdc(string UDC) { + this.Adapter.SelectCommand = this.CommandCollection[3]; + if ((UDC == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(UDC)); + } + DS_magazzino.RapQualDataTable dataTable = new DS_magazzino.RapQualDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.RapQualDataTable getConsumabiliByData(global::System.Nullable dataFrom, global::System.Nullable dataTo) { + this.Adapter.SelectCommand = this.CommandCollection[4]; + if ((dataFrom.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[1].Value = ((System.DateTime)(dataFrom.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + if ((dataTo.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(dataTo.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + DS_magazzino.RapQualDataTable dataTable = new DS_magazzino.RapQualDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.RapQualDataTable stp_associaUDC(string ProgUDC, string UDC) { + this.Adapter.SelectCommand = this.CommandCollection[5]; + if ((ProgUDC == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(ProgUDC)); + } + if ((UDC == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(UDC)); + } + DS_magazzino.RapQualDataTable dataTable = new DS_magazzino.RapQualDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_magazzino.RapQualDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_magazzino dataSet) { + return this.Adapter.Update(dataSet, "RapQual"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(decimal Original_nRapQual, decimal Original_DataRapQual, string Original_ProgUDC, string Original_CodFor, string Original_DestTerz, string Original_CodLega, decimal Original_DataPrelFus, string Original_TurnoPrelFus, decimal Original_Qta, string Original_DestLega, string Original_LegaScaric, string Original_BenesQual, string Original_UDC) { + this.Adapter.DeleteCommand.Parameters[0].Value = ((decimal)(Original_nRapQual)); + this.Adapter.DeleteCommand.Parameters[1].Value = ((decimal)(Original_DataRapQual)); + if ((Original_ProgUDC == null)) { + throw new global::System.ArgumentNullException("Original_ProgUDC"); + } + else { + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_ProgUDC)); + } + if ((Original_CodFor == null)) { + throw new global::System.ArgumentNullException("Original_CodFor"); + } + else { + this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_CodFor)); + } + if ((Original_DestTerz == null)) { + throw new global::System.ArgumentNullException("Original_DestTerz"); + } + else { + this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_DestTerz)); + } + if ((Original_CodLega == null)) { + throw new global::System.ArgumentNullException("Original_CodLega"); + } + else { + this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(Original_CodLega)); + } + this.Adapter.DeleteCommand.Parameters[6].Value = ((decimal)(Original_DataPrelFus)); + if ((Original_TurnoPrelFus == null)) { + throw new global::System.ArgumentNullException("Original_TurnoPrelFus"); + } + else { + this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(Original_TurnoPrelFus)); + } + this.Adapter.DeleteCommand.Parameters[8].Value = ((decimal)(Original_Qta)); + if ((Original_DestLega == null)) { + throw new global::System.ArgumentNullException("Original_DestLega"); + } + else { + this.Adapter.DeleteCommand.Parameters[9].Value = ((string)(Original_DestLega)); + } + if ((Original_LegaScaric == null)) { + throw new global::System.ArgumentNullException("Original_LegaScaric"); + } + else { + this.Adapter.DeleteCommand.Parameters[10].Value = ((string)(Original_LegaScaric)); + } + if ((Original_BenesQual == null)) { + throw new global::System.ArgumentNullException("Original_BenesQual"); + } + else { + this.Adapter.DeleteCommand.Parameters[11].Value = ((string)(Original_BenesQual)); + } + if ((Original_UDC == null)) { + this.Adapter.DeleteCommand.Parameters[12].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[13].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[12].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[13].Value = ((string)(Original_UDC)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(decimal nRapQual, decimal DataRapQual, string ProgUDC, string CodFor, string DestTerz, string CodLega, decimal DataPrelFus, string TurnoPrelFus, decimal Qta, string DestLega, string LegaScaric, string BenesQual, string UDC) { + this.Adapter.InsertCommand.Parameters[0].Value = ((decimal)(nRapQual)); + this.Adapter.InsertCommand.Parameters[1].Value = ((decimal)(DataRapQual)); + if ((ProgUDC == null)) { + throw new global::System.ArgumentNullException("ProgUDC"); + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(ProgUDC)); + } + if ((CodFor == null)) { + throw new global::System.ArgumentNullException("CodFor"); + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = ((string)(CodFor)); + } + if ((DestTerz == null)) { + throw new global::System.ArgumentNullException("DestTerz"); + } + else { + this.Adapter.InsertCommand.Parameters[4].Value = ((string)(DestTerz)); + } + if ((CodLega == null)) { + throw new global::System.ArgumentNullException("CodLega"); + } + else { + this.Adapter.InsertCommand.Parameters[5].Value = ((string)(CodLega)); + } + this.Adapter.InsertCommand.Parameters[6].Value = ((decimal)(DataPrelFus)); + if ((TurnoPrelFus == null)) { + throw new global::System.ArgumentNullException("TurnoPrelFus"); + } + else { + this.Adapter.InsertCommand.Parameters[7].Value = ((string)(TurnoPrelFus)); + } + this.Adapter.InsertCommand.Parameters[8].Value = ((decimal)(Qta)); + if ((DestLega == null)) { + throw new global::System.ArgumentNullException("DestLega"); + } + else { + this.Adapter.InsertCommand.Parameters[9].Value = ((string)(DestLega)); + } + if ((LegaScaric == null)) { + throw new global::System.ArgumentNullException("LegaScaric"); + } + else { + this.Adapter.InsertCommand.Parameters[10].Value = ((string)(LegaScaric)); + } + if ((BenesQual == null)) { + throw new global::System.ArgumentNullException("BenesQual"); + } + else { + this.Adapter.InsertCommand.Parameters[11].Value = ((string)(BenesQual)); + } + if ((UDC == null)) { + this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[12].Value = ((string)(UDC)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update( + decimal nRapQual, + decimal DataRapQual, + string ProgUDC, + string CodFor, + string DestTerz, + string CodLega, + decimal DataPrelFus, + string TurnoPrelFus, + decimal Qta, + string DestLega, + string LegaScaric, + string BenesQual, + string UDC, + decimal Original_nRapQual, + decimal Original_DataRapQual, + string Original_ProgUDC, + string Original_CodFor, + string Original_DestTerz, + string Original_CodLega, + decimal Original_DataPrelFus, + string Original_TurnoPrelFus, + decimal Original_Qta, + string Original_DestLega, + string Original_LegaScaric, + string Original_BenesQual, + string Original_UDC) { + this.Adapter.UpdateCommand.Parameters[0].Value = ((decimal)(nRapQual)); + this.Adapter.UpdateCommand.Parameters[1].Value = ((decimal)(DataRapQual)); + if ((ProgUDC == null)) { + throw new global::System.ArgumentNullException("ProgUDC"); + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(ProgUDC)); + } + if ((CodFor == null)) { + throw new global::System.ArgumentNullException("CodFor"); + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(CodFor)); + } + if ((DestTerz == null)) { + throw new global::System.ArgumentNullException("DestTerz"); + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(DestTerz)); + } + if ((CodLega == null)) { + throw new global::System.ArgumentNullException("CodLega"); + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(CodLega)); + } + this.Adapter.UpdateCommand.Parameters[6].Value = ((decimal)(DataPrelFus)); + if ((TurnoPrelFus == null)) { + throw new global::System.ArgumentNullException("TurnoPrelFus"); + } + else { + this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(TurnoPrelFus)); + } + this.Adapter.UpdateCommand.Parameters[8].Value = ((decimal)(Qta)); + if ((DestLega == null)) { + throw new global::System.ArgumentNullException("DestLega"); + } + else { + this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(DestLega)); + } + if ((LegaScaric == null)) { + throw new global::System.ArgumentNullException("LegaScaric"); + } + else { + this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(LegaScaric)); + } + if ((BenesQual == null)) { + throw new global::System.ArgumentNullException("BenesQual"); + } + else { + this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(BenesQual)); + } + if ((UDC == null)) { + this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(UDC)); + } + this.Adapter.UpdateCommand.Parameters[13].Value = ((decimal)(Original_nRapQual)); + this.Adapter.UpdateCommand.Parameters[14].Value = ((decimal)(Original_DataRapQual)); + if ((Original_ProgUDC == null)) { + throw new global::System.ArgumentNullException("Original_ProgUDC"); + } + else { + this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Original_ProgUDC)); + } + if ((Original_CodFor == null)) { + throw new global::System.ArgumentNullException("Original_CodFor"); + } + else { + this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(Original_CodFor)); + } + if ((Original_DestTerz == null)) { + throw new global::System.ArgumentNullException("Original_DestTerz"); + } + else { + this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(Original_DestTerz)); + } + if ((Original_CodLega == null)) { + throw new global::System.ArgumentNullException("Original_CodLega"); + } + else { + this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(Original_CodLega)); + } + this.Adapter.UpdateCommand.Parameters[19].Value = ((decimal)(Original_DataPrelFus)); + if ((Original_TurnoPrelFus == null)) { + throw new global::System.ArgumentNullException("Original_TurnoPrelFus"); + } + else { + this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(Original_TurnoPrelFus)); + } + this.Adapter.UpdateCommand.Parameters[21].Value = ((decimal)(Original_Qta)); + if ((Original_DestLega == null)) { + throw new global::System.ArgumentNullException("Original_DestLega"); + } + else { + this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Original_DestLega)); + } + if ((Original_LegaScaric == null)) { + throw new global::System.ArgumentNullException("Original_LegaScaric"); + } + else { + this.Adapter.UpdateCommand.Parameters[23].Value = ((string)(Original_LegaScaric)); + } + if ((Original_BenesQual == null)) { + throw new global::System.ArgumentNullException("Original_BenesQual"); + } + else { + this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(Original_BenesQual)); + } + if ((Original_UDC == null)) { + this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[26].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(Original_UDC)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update( + decimal nRapQual, + decimal DataRapQual, + string CodFor, + string DestTerz, + string CodLega, + decimal DataPrelFus, + string TurnoPrelFus, + decimal Qta, + string DestLega, + string LegaScaric, + string BenesQual, + string UDC, + decimal Original_nRapQual, + decimal Original_DataRapQual, + string Original_ProgUDC, + string Original_CodFor, + string Original_DestTerz, + string Original_CodLega, + decimal Original_DataPrelFus, + string Original_TurnoPrelFus, + decimal Original_Qta, + string Original_DestLega, + string Original_LegaScaric, + string Original_BenesQual, + string Original_UDC) { + return this.Update(nRapQual, DataRapQual, Original_ProgUDC, CodFor, DestTerz, CodLega, DataPrelFus, TurnoPrelFus, Qta, DestLega, LegaScaric, BenesQual, UDC, Original_nRapQual, Original_DataRapQual, Original_ProgUDC, Original_CodFor, Original_DestTerz, Original_CodLega, Original_DataPrelFus, Original_TurnoPrelFus, Original_Qta, Original_DestLega, Original_LegaScaric, Original_BenesQual, Original_UDC); + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class v_posizioniDelibereTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_posizioniDelibereTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "v_posizioniDelibere"; + tableMapping.ColumnMappings.Add("IdxPosizione", "IdxPosizione"); + tableMapping.ColumnMappings.Add("CodTipoDelibera", "CodTipoDelibera"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT IdxPosizione, CodTipoDelibera FROM dbo.v_posizioniDelibere"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "SELECT IdxPosizione, CodTipoDelibera\r\nFROM v_posizioniDelibere\r" + + "\nWHERE (IdxPosizione = @IdxPosizione)"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxPosizione", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPosizione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_magazzino.v_posizioniDelibereDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_magazzino.v_posizioniDelibereDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_magazzino.v_posizioniDelibereDataTable dataTable = new DS_magazzino.v_posizioniDelibereDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.v_posizioniDelibereDataTable getByIdxPosizione(int IdxPosizione) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + this.Adapter.SelectCommand.Parameters[0].Value = ((int)(IdxPosizione)); + DS_magazzino.v_posizioniDelibereDataTable dataTable = new DS_magazzino.v_posizioniDelibereDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class v_RapQualSuntoTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_RapQualSuntoTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "v_RapQualSunto"; + tableMapping.ColumnMappings.Add("nRapQual", "nRapQual"); + tableMapping.ColumnMappings.Add("DataRapQual", "DataRapQual"); + tableMapping.ColumnMappings.Add("CodFor", "CodFor"); + tableMapping.ColumnMappings.Add("CodLega", "CodLega"); + tableMapping.ColumnMappings.Add("Qta", "Qta"); + tableMapping.ColumnMappings.Add("BenesQual", "BenesQual"); + tableMapping.ColumnMappings.Add("UdcTot", "UdcTot"); + tableMapping.ColumnMappings.Add("UdcAssoc", "UdcAssoc"); + tableMapping.ColumnMappings.Add("LegaScaric", "LegaScaric"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT *\r\nFROM dbo.v_RapQualSunto"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "dbo.stp_rappQualSuntoGetByDataRange"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[1].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[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataFrom", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataTo", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[2].Connection = this.Connection; + this._commandCollection[2].CommandText = "dbo.stp_rappQualSuntoGetByNumRap"; + this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[2].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[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nRapQual", global::System.Data.SqlDbType.NVarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_magazzino.v_RapQualSuntoDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_magazzino.v_RapQualSuntoDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_magazzino.v_RapQualSuntoDataTable dataTable = new DS_magazzino.v_RapQualSuntoDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.v_RapQualSuntoDataTable getByDateRange(global::System.Nullable dataFrom, global::System.Nullable dataTo) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((dataFrom.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[1].Value = ((System.DateTime)(dataFrom.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + if ((dataTo.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(dataTo.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + DS_magazzino.v_RapQualSuntoDataTable dataTable = new DS_magazzino.v_RapQualSuntoDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.v_RapQualSuntoDataTable getByNumRap(string nRapQual) { + this.Adapter.SelectCommand = this.CommandCollection[2]; + if ((nRapQual == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(nRapQual)); + } + DS_magazzino.v_RapQualSuntoDataTable dataTable = new DS_magazzino.v_RapQualSuntoDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class AnagParticolariTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagParticolariTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "AnagParticolari"; + tableMapping.ColumnMappings.Add("Particolare", "Particolare"); + tableMapping.ColumnMappings.Add("CodCS", "CodCS"); + tableMapping.ColumnMappings.Add("CodCliente", "CodCliente"); + tableMapping.ColumnMappings.Add("DisegnoGrezzo", "DisegnoGrezzo"); + tableMapping.ColumnMappings.Add("CodFamiglia", "CodFamiglia"); + tableMapping.ColumnMappings.Add("DescParticolare", "DescParticolare"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = @"DELETE FROM [RilPro].[AnagParticolari] WHERE (([Particolare] = @Original_Particolare) AND ([CodCS] = @Original_CodCS) AND ([CodCliente] = @Original_CodCliente) AND ([DisegnoGrezzo] = @Original_DisegnoGrezzo) AND ((@IsNull_CodFamiglia = 1 AND [CodFamiglia] IS NULL) OR ([CodFamiglia] = @Original_CodFamiglia)) AND ((@IsNull_DescParticolare = 1 AND [DescParticolare] IS NULL) OR ([DescParticolare] = @Original_DescParticolare)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Particolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Particolare", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DisegnoGrezzo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DisegnoGrezzo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodFamiglia", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFamiglia", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodFamiglia", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFamiglia", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescParticolare", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescParticolare", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescParticolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescParticolare", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = @"INSERT INTO [RilPro].[AnagParticolari] ([Particolare], [CodCS], [CodCliente], [DisegnoGrezzo], [CodFamiglia], [DescParticolare]) VALUES (@Particolare, @CodCS, @CodCliente, @DisegnoGrezzo, @CodFamiglia, @DescParticolare); +SELECT Particolare, CodCS, CodCliente, DisegnoGrezzo, CodFamiglia, DescParticolare FROM RilPro.AnagParticolari WHERE (Particolare = @Particolare)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Particolare", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DisegnoGrezzo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DisegnoGrezzo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodFamiglia", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFamiglia", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescParticolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescParticolare", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [RilPro].[AnagParticolari] SET [Particolare] = @Particolare, [CodCS] = @CodCS, [CodCliente] = @CodCliente, [DisegnoGrezzo] = @DisegnoGrezzo, [CodFamiglia] = @CodFamiglia, [DescParticolare] = @DescParticolare WHERE (([Particolare] = @Original_Particolare) AND ([CodCS] = @Original_CodCS) AND ([CodCliente] = @Original_CodCliente) AND ([DisegnoGrezzo] = @Original_DisegnoGrezzo) AND ((@IsNull_CodFamiglia = 1 AND [CodFamiglia] IS NULL) OR ([CodFamiglia] = @Original_CodFamiglia)) AND ((@IsNull_DescParticolare = 1 AND [DescParticolare] IS NULL) OR ([DescParticolare] = @Original_DescParticolare))); +SELECT Particolare, CodCS, CodCliente, DisegnoGrezzo, CodFamiglia, DescParticolare FROM RilPro.AnagParticolari WHERE (Particolare = @Particolare)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Particolare", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DisegnoGrezzo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DisegnoGrezzo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodFamiglia", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFamiglia", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescParticolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescParticolare", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Particolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Particolare", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DisegnoGrezzo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DisegnoGrezzo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodFamiglia", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFamiglia", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodFamiglia", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFamiglia", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescParticolare", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescParticolare", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescParticolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescParticolare", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT Particolare, CodCS, CodCliente, DisegnoGrezzo, CodFamiglia, DescParticolar" + + "e FROM RilPro.AnagParticolari"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "dbo.stp_ParticolariGetLike"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[1].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[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@searchVal", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].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, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_magazzino.AnagParticolariDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_magazzino.AnagParticolariDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_magazzino.AnagParticolariDataTable dataTable = new DS_magazzino.AnagParticolariDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_magazzino.AnagParticolariDataTable likeSearch(string searchVal, string CodCS) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((searchVal == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(searchVal)); + } + if ((CodCS == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodCS)); + } + DS_magazzino.AnagParticolariDataTable dataTable = new DS_magazzino.AnagParticolariDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_magazzino.AnagParticolariDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_magazzino dataSet) { + return this.Adapter.Update(dataSet, "AnagParticolari"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_Particolare, string Original_CodCS, string Original_CodCliente, string Original_DisegnoGrezzo, string Original_CodFamiglia, string Original_DescParticolare) { + if ((Original_Particolare == null)) { + throw new global::System.ArgumentNullException("Original_Particolare"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_Particolare)); + } + if ((Original_CodCS == null)) { + throw new global::System.ArgumentNullException("Original_CodCS"); + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_CodCS)); + } + if ((Original_CodCliente == null)) { + throw new global::System.ArgumentNullException("Original_CodCliente"); + } + else { + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_CodCliente)); + } + if ((Original_DisegnoGrezzo == null)) { + throw new global::System.ArgumentNullException("Original_DisegnoGrezzo"); + } + else { + this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_DisegnoGrezzo)); + } + if ((Original_CodFamiglia == null)) { + this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(Original_CodFamiglia)); + } + if ((Original_DescParticolare == null)) { + this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(Original_DescParticolare)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string Particolare, string CodCS, string CodCliente, string DisegnoGrezzo, string CodFamiglia, string DescParticolare) { + if ((Particolare == null)) { + throw new global::System.ArgumentNullException("Particolare"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(Particolare)); + } + if ((CodCS == null)) { + throw new global::System.ArgumentNullException("CodCS"); + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(CodCS)); + } + if ((CodCliente == null)) { + throw new global::System.ArgumentNullException("CodCliente"); + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(CodCliente)); + } + if ((DisegnoGrezzo == null)) { + throw new global::System.ArgumentNullException("DisegnoGrezzo"); + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = ((string)(DisegnoGrezzo)); + } + if ((CodFamiglia == null)) { + this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[4].Value = ((string)(CodFamiglia)); + } + if ((DescParticolare == null)) { + this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[5].Value = ((string)(DescParticolare)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string Particolare, string CodCS, string CodCliente, string DisegnoGrezzo, string CodFamiglia, string DescParticolare, string Original_Particolare, string Original_CodCS, string Original_CodCliente, string Original_DisegnoGrezzo, string Original_CodFamiglia, string Original_DescParticolare) { + if ((Particolare == null)) { + throw new global::System.ArgumentNullException("Particolare"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(Particolare)); + } + if ((CodCS == null)) { + throw new global::System.ArgumentNullException("CodCS"); + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(CodCS)); + } + if ((CodCliente == null)) { + throw new global::System.ArgumentNullException("CodCliente"); + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(CodCliente)); + } + if ((DisegnoGrezzo == null)) { + throw new global::System.ArgumentNullException("DisegnoGrezzo"); + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(DisegnoGrezzo)); + } + if ((CodFamiglia == null)) { + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(CodFamiglia)); + } + if ((DescParticolare == null)) { + this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(DescParticolare)); + } + if ((Original_Particolare == null)) { + throw new global::System.ArgumentNullException("Original_Particolare"); + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_Particolare)); + } + if ((Original_CodCS == null)) { + throw new global::System.ArgumentNullException("Original_CodCS"); + } + else { + this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Original_CodCS)); + } + if ((Original_CodCliente == null)) { + throw new global::System.ArgumentNullException("Original_CodCliente"); + } + else { + this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_CodCliente)); + } + if ((Original_DisegnoGrezzo == null)) { + throw new global::System.ArgumentNullException("Original_DisegnoGrezzo"); + } + else { + this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_DisegnoGrezzo)); + } + if ((Original_CodFamiglia == null)) { + this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Original_CodFamiglia)); + } + if ((Original_DescParticolare == null)) { + this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(Original_DescParticolare)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string CodCS, string CodCliente, string DisegnoGrezzo, string CodFamiglia, string DescParticolare, string Original_Particolare, string Original_CodCS, string Original_CodCliente, string Original_DisegnoGrezzo, string Original_CodFamiglia, string Original_DescParticolare) { + return this.Update(Original_Particolare, CodCS, CodCliente, DisegnoGrezzo, CodFamiglia, DescParticolare, Original_Particolare, Original_CodCS, Original_CodCliente, Original_DisegnoGrezzo, Original_CodFamiglia, Original_DescParticolare); + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class AnagLegheTableAdapter : 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagLegheTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "AnagLeghe"; + tableMapping.ColumnMappings.Add("CodLega", "CodLega"); + tableMapping.ColumnMappings.Add("DescLega", "DescLega"); + tableMapping.ColumnMappings.Add("DescLega2", "DescLega2"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = "DELETE FROM [RilPro].[AnagLeghe] WHERE (([CodLega] = @Original_CodLega) AND ((@Is" + + "Null_DescLega = 1 AND [DescLega] IS NULL) OR ([DescLega] = @Original_DescLega)) " + + "AND ((@IsNull_DescLega2 = 1 AND [DescLega2] IS NULL) OR ([DescLega2] = @Original" + + "_DescLega2)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodLega", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodLega", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescLega", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescLega", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescLega", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescLega", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescLega2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescLega2", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescLega2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescLega2", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = "INSERT INTO [RilPro].[AnagLeghe] ([CodLega], [DescLega], [DescLega2]) VALUES (@Co" + + "dLega, @DescLega, @DescLega2);\r\nSELECT CodLega, DescLega, DescLega2 FROM RilPro." + + "AnagLeghe WHERE (CodLega = @CodLega)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodLega", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodLega", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescLega", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescLega", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescLega2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescLega2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [RilPro].[AnagLeghe] SET [CodLega] = @CodLega, [DescLega] = @DescLega, [DescLega2] = @DescLega2 WHERE (([CodLega] = @Original_CodLega) AND ((@IsNull_DescLega = 1 AND [DescLega] IS NULL) OR ([DescLega] = @Original_DescLega)) AND ((@IsNull_DescLega2 = 1 AND [DescLega2] IS NULL) OR ([DescLega2] = @Original_DescLega2))); +SELECT CodLega, DescLega, DescLega2 FROM RilPro.AnagLeghe WHERE (CodLega = @CodLega)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodLega", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodLega", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescLega", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescLega", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescLega2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescLega2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodLega", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodLega", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescLega", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescLega", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescLega", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescLega", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescLega2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescLega2", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescLega2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescLega2", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 = "SELECT CodLega, DescLega, DescLega2 FROM RilPro.AnagLeghe"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_magazzino.AnagLegheDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_magazzino.AnagLegheDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_magazzino.AnagLegheDataTable dataTable = new DS_magazzino.AnagLegheDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_magazzino.AnagLegheDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_magazzino dataSet) { + return this.Adapter.Update(dataSet, "AnagLeghe"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_CodLega, string Original_DescLega, string Original_DescLega2) { + if ((Original_CodLega == null)) { + throw new global::System.ArgumentNullException("Original_CodLega"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodLega)); + } + if ((Original_DescLega == null)) { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_DescLega)); + } + if ((Original_DescLega2 == null)) { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_DescLega2)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string CodLega, string DescLega, string DescLega2) { + if ((CodLega == null)) { + throw new global::System.ArgumentNullException("CodLega"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodLega)); + } + if ((DescLega == null)) { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(DescLega)); + } + if ((DescLega2 == null)) { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(DescLega2)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string CodLega, string DescLega, string DescLega2, string Original_CodLega, string Original_DescLega, string Original_DescLega2) { + if ((CodLega == null)) { + throw new global::System.ArgumentNullException("CodLega"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodLega)); + } + if ((DescLega == null)) { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(DescLega)); + } + if ((DescLega2 == null)) { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(DescLega2)); + } + if ((Original_CodLega == null)) { + throw new global::System.ArgumentNullException("Original_CodLega"); + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Original_CodLega)); + } + if ((Original_DescLega == null)) { + this.Adapter.UpdateCommand.Parameters[4].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Original_DescLega)); + } + if ((Original_DescLega2 == null)) { + this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Original_DescLega2)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string DescLega, string DescLega2, string Original_CodLega, string Original_DescLega, string Original_DescLega2) { + return this.Update(Original_CodLega, DescLega, DescLega2, Original_CodLega, Original_DescLega, Original_DescLega2); + } + } + + /// + ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios + /// + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" + + "esigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")] + public partial class TableAdapterManager : global::System.ComponentModel.Component { + + private UpdateOrderOption _updateOrder; + + private ElencoCartelliniTableAdapter _elencoCartelliniTableAdapter; + + private AnagMagTableAdapter _anagMagTableAdapter; + + private PosizioneUdcCorrenteTableAdapter _posizioneUdcCorrenteTableAdapter; + + private PosizioneUdcStoricoTableAdapter _posizioneUdcStoricoTableAdapter; + + private BlocchiTableAdapter _blocchiTableAdapter; + + private CelleTableAdapter _celleTableAdapter; + + private TipoCellaTableAdapter _tipoCellaTableAdapter; + + private AnagImballiTableAdapter _anagImballiTableAdapter; + + private TipoListaPrelievoTableAdapter _tipoListaPrelievoTableAdapter; + + private RigheListePrelievoTableAdapter _righeListePrelievoTableAdapter; + + private AnagPosizioniTableAdapter _anagPosizioniTableAdapter; + + private RapQualTableAdapter _rapQualTableAdapter; + + private AnagParticolariTableAdapter _anagParticolariTableAdapter; + + private AnagLegheTableAdapter _anagLegheTableAdapter; + + private bool _backupDataSetBeforeUpdate; + + private global::System.Data.IDbConnection _connection; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public UpdateOrderOption UpdateOrder { + get { + return this._updateOrder; + } + set { + this._updateOrder = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public ElencoCartelliniTableAdapter ElencoCartelliniTableAdapter { + get { + return this._elencoCartelliniTableAdapter; + } + set { + this._elencoCartelliniTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public AnagMagTableAdapter AnagMagTableAdapter { + get { + return this._anagMagTableAdapter; + } + set { + this._anagMagTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public PosizioneUdcCorrenteTableAdapter PosizioneUdcCorrenteTableAdapter { + get { + return this._posizioneUdcCorrenteTableAdapter; + } + set { + this._posizioneUdcCorrenteTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public PosizioneUdcStoricoTableAdapter PosizioneUdcStoricoTableAdapter { + get { + return this._posizioneUdcStoricoTableAdapter; + } + set { + this._posizioneUdcStoricoTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public BlocchiTableAdapter BlocchiTableAdapter { + get { + return this._blocchiTableAdapter; + } + set { + this._blocchiTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public CelleTableAdapter CelleTableAdapter { + get { + return this._celleTableAdapter; + } + set { + this._celleTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public TipoCellaTableAdapter TipoCellaTableAdapter { + get { + return this._tipoCellaTableAdapter; + } + set { + this._tipoCellaTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public AnagImballiTableAdapter AnagImballiTableAdapter { + get { + return this._anagImballiTableAdapter; + } + set { + this._anagImballiTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public TipoListaPrelievoTableAdapter TipoListaPrelievoTableAdapter { + get { + return this._tipoListaPrelievoTableAdapter; + } + set { + this._tipoListaPrelievoTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public RigheListePrelievoTableAdapter RigheListePrelievoTableAdapter { + get { + return this._righeListePrelievoTableAdapter; + } + set { + this._righeListePrelievoTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public AnagPosizioniTableAdapter AnagPosizioniTableAdapter { + get { + return this._anagPosizioniTableAdapter; + } + set { + this._anagPosizioniTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public RapQualTableAdapter RapQualTableAdapter { + get { + return this._rapQualTableAdapter; + } + set { + this._rapQualTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public AnagParticolariTableAdapter AnagParticolariTableAdapter { + get { + return this._anagParticolariTableAdapter; + } + set { + this._anagParticolariTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public AnagLegheTableAdapter AnagLegheTableAdapter { + get { + return this._anagLegheTableAdapter; + } + set { + this._anagLegheTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool BackupDataSetBeforeUpdate { + get { + return this._backupDataSetBeforeUpdate; + } + set { + this._backupDataSetBeforeUpdate = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public global::System.Data.IDbConnection Connection { + get { + if ((this._connection != null)) { + return this._connection; + } + if (((this._elencoCartelliniTableAdapter != null) + && (this._elencoCartelliniTableAdapter.Connection != null))) { + return this._elencoCartelliniTableAdapter.Connection; + } + if (((this._anagMagTableAdapter != null) + && (this._anagMagTableAdapter.Connection != null))) { + return this._anagMagTableAdapter.Connection; + } + if (((this._posizioneUdcCorrenteTableAdapter != null) + && (this._posizioneUdcCorrenteTableAdapter.Connection != null))) { + return this._posizioneUdcCorrenteTableAdapter.Connection; + } + if (((this._posizioneUdcStoricoTableAdapter != null) + && (this._posizioneUdcStoricoTableAdapter.Connection != null))) { + return this._posizioneUdcStoricoTableAdapter.Connection; + } + if (((this._blocchiTableAdapter != null) + && (this._blocchiTableAdapter.Connection != null))) { + return this._blocchiTableAdapter.Connection; + } + if (((this._celleTableAdapter != null) + && (this._celleTableAdapter.Connection != null))) { + return this._celleTableAdapter.Connection; + } + if (((this._tipoCellaTableAdapter != null) + && (this._tipoCellaTableAdapter.Connection != null))) { + return this._tipoCellaTableAdapter.Connection; + } + if (((this._anagImballiTableAdapter != null) + && (this._anagImballiTableAdapter.Connection != null))) { + return this._anagImballiTableAdapter.Connection; + } + if (((this._tipoListaPrelievoTableAdapter != null) + && (this._tipoListaPrelievoTableAdapter.Connection != null))) { + return this._tipoListaPrelievoTableAdapter.Connection; + } + if (((this._righeListePrelievoTableAdapter != null) + && (this._righeListePrelievoTableAdapter.Connection != null))) { + return this._righeListePrelievoTableAdapter.Connection; + } + if (((this._anagPosizioniTableAdapter != null) + && (this._anagPosizioniTableAdapter.Connection != null))) { + return this._anagPosizioniTableAdapter.Connection; + } + if (((this._rapQualTableAdapter != null) + && (this._rapQualTableAdapter.Connection != null))) { + return this._rapQualTableAdapter.Connection; + } + if (((this._anagParticolariTableAdapter != null) + && (this._anagParticolariTableAdapter.Connection != null))) { + return this._anagParticolariTableAdapter.Connection; + } + if (((this._anagLegheTableAdapter != null) + && (this._anagLegheTableAdapter.Connection != null))) { + return this._anagLegheTableAdapter.Connection; + } + return null; + } + set { + this._connection = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int TableAdapterInstanceCount { + get { + int count = 0; + if ((this._elencoCartelliniTableAdapter != null)) { + count = (count + 1); + } + if ((this._anagMagTableAdapter != null)) { + count = (count + 1); + } + if ((this._posizioneUdcCorrenteTableAdapter != null)) { + count = (count + 1); + } + if ((this._posizioneUdcStoricoTableAdapter != null)) { + count = (count + 1); + } + if ((this._blocchiTableAdapter != null)) { + count = (count + 1); + } + if ((this._celleTableAdapter != null)) { + count = (count + 1); + } + if ((this._tipoCellaTableAdapter != null)) { + count = (count + 1); + } + if ((this._anagImballiTableAdapter != null)) { + count = (count + 1); + } + if ((this._tipoListaPrelievoTableAdapter != null)) { + count = (count + 1); + } + if ((this._righeListePrelievoTableAdapter != null)) { + count = (count + 1); + } + if ((this._anagPosizioniTableAdapter != null)) { + count = (count + 1); + } + if ((this._rapQualTableAdapter != null)) { + count = (count + 1); + } + if ((this._anagParticolariTableAdapter != null)) { + count = (count + 1); + } + if ((this._anagLegheTableAdapter != null)) { + count = (count + 1); + } + return count; + } + } + + /// + ///Update rows in top-down order. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private int UpdateUpdatedRows(DS_magazzino dataSet, global::System.Collections.Generic.List allChangedRows, global::System.Collections.Generic.List allAddedRows) { + int result = 0; + if ((this._anagMagTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.AnagMag.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._anagMagTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._tipoListaPrelievoTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.TipoListaPrelievo.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._tipoListaPrelievoTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._anagPosizioniTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.AnagPosizioni.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._anagPosizioniTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._blocchiTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.Blocchi.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._blocchiTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._tipoCellaTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.TipoCella.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._tipoCellaTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._elencoCartelliniTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.ElencoCartellini.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._elencoCartelliniTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._celleTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.Celle.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._celleTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._rapQualTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.RapQual.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._rapQualTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._posizioneUdcCorrenteTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.PosizioneUdcCorrente.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._posizioneUdcCorrenteTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._righeListePrelievoTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.RigheListePrelievo.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._righeListePrelievoTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._anagParticolariTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.AnagParticolari.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._anagParticolariTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._anagImballiTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.AnagImballi.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._anagImballiTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._posizioneUdcStoricoTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.PosizioneUdcStorico.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._posizioneUdcStoricoTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._anagLegheTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.AnagLeghe.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._anagLegheTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + return result; + } + + /// + ///Insert rows in top-down order. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private int UpdateInsertedRows(DS_magazzino dataSet, global::System.Collections.Generic.List allAddedRows) { + int result = 0; + if ((this._anagMagTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.AnagMag.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._anagMagTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._tipoListaPrelievoTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.TipoListaPrelievo.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._tipoListaPrelievoTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._anagPosizioniTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.AnagPosizioni.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._anagPosizioniTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._blocchiTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.Blocchi.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._blocchiTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._tipoCellaTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.TipoCella.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._tipoCellaTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._elencoCartelliniTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.ElencoCartellini.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._elencoCartelliniTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._celleTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.Celle.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._celleTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._rapQualTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.RapQual.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._rapQualTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._posizioneUdcCorrenteTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.PosizioneUdcCorrente.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._posizioneUdcCorrenteTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._righeListePrelievoTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.RigheListePrelievo.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._righeListePrelievoTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._anagParticolariTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.AnagParticolari.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._anagParticolariTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._anagImballiTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.AnagImballi.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._anagImballiTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._posizioneUdcStoricoTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.PosizioneUdcStorico.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._posizioneUdcStoricoTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._anagLegheTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.AnagLeghe.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._anagLegheTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + return result; + } + + /// + ///Delete rows in bottom-up order. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private int UpdateDeletedRows(DS_magazzino dataSet, global::System.Collections.Generic.List allChangedRows) { + int result = 0; + if ((this._anagLegheTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.AnagLeghe.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._anagLegheTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._posizioneUdcStoricoTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.PosizioneUdcStorico.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._posizioneUdcStoricoTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._anagImballiTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.AnagImballi.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._anagImballiTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._anagParticolariTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.AnagParticolari.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._anagParticolariTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._righeListePrelievoTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.RigheListePrelievo.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._righeListePrelievoTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._posizioneUdcCorrenteTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.PosizioneUdcCorrente.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._posizioneUdcCorrenteTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._rapQualTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.RapQual.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._rapQualTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._celleTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.Celle.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._celleTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._elencoCartelliniTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.ElencoCartellini.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._elencoCartelliniTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._tipoCellaTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.TipoCella.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._tipoCellaTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._blocchiTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.Blocchi.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._blocchiTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._anagPosizioniTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.AnagPosizioni.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._anagPosizioniTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._tipoListaPrelievoTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.TipoListaPrelievo.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._tipoListaPrelievoTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._anagMagTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.AnagMag.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._anagMagTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + return result; + } + + /// + ///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private global::System.Data.DataRow[] GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List allAddedRows) { + if (((updatedRows == null) + || (updatedRows.Length < 1))) { + return updatedRows; + } + if (((allAddedRows == null) + || (allAddedRows.Count < 1))) { + return updatedRows; + } + global::System.Collections.Generic.List realUpdatedRows = new global::System.Collections.Generic.List(); + for (int i = 0; (i < updatedRows.Length); i = (i + 1)) { + global::System.Data.DataRow row = updatedRows[i]; + if ((allAddedRows.Contains(row) == false)) { + realUpdatedRows.Add(row); + } + } + return realUpdatedRows.ToArray(); + } + + /// + ///Update all changes to the dataset. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public virtual int UpdateAll(DS_magazzino dataSet) { + if ((dataSet == null)) { + throw new global::System.ArgumentNullException("dataSet"); + } + if ((dataSet.HasChanges() == false)) { + return 0; + } + if (((this._elencoCartelliniTableAdapter != null) + && (this.MatchTableAdapterConnection(this._elencoCartelliniTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._anagMagTableAdapter != null) + && (this.MatchTableAdapterConnection(this._anagMagTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._posizioneUdcCorrenteTableAdapter != null) + && (this.MatchTableAdapterConnection(this._posizioneUdcCorrenteTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._posizioneUdcStoricoTableAdapter != null) + && (this.MatchTableAdapterConnection(this._posizioneUdcStoricoTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._blocchiTableAdapter != null) + && (this.MatchTableAdapterConnection(this._blocchiTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._celleTableAdapter != null) + && (this.MatchTableAdapterConnection(this._celleTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._tipoCellaTableAdapter != null) + && (this.MatchTableAdapterConnection(this._tipoCellaTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._anagImballiTableAdapter != null) + && (this.MatchTableAdapterConnection(this._anagImballiTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._tipoListaPrelievoTableAdapter != null) + && (this.MatchTableAdapterConnection(this._tipoListaPrelievoTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._righeListePrelievoTableAdapter != null) + && (this.MatchTableAdapterConnection(this._righeListePrelievoTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._anagPosizioniTableAdapter != null) + && (this.MatchTableAdapterConnection(this._anagPosizioniTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._rapQualTableAdapter != null) + && (this.MatchTableAdapterConnection(this._rapQualTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._anagParticolariTableAdapter != null) + && (this.MatchTableAdapterConnection(this._anagParticolariTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._anagLegheTableAdapter != null) + && (this.MatchTableAdapterConnection(this._anagLegheTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + global::System.Data.IDbConnection workConnection = this.Connection; + if ((workConnection == null)) { + throw new global::System.ApplicationException("TableAdapterManager contains no connection information. Set each TableAdapterMana" + + "ger TableAdapter property to a valid TableAdapter instance."); + } + bool workConnOpened = false; + if (((workConnection.State & global::System.Data.ConnectionState.Broken) + == global::System.Data.ConnectionState.Broken)) { + workConnection.Close(); + } + if ((workConnection.State == global::System.Data.ConnectionState.Closed)) { + workConnection.Open(); + workConnOpened = true; + } + global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction(); + if ((workTransaction == null)) { + throw new global::System.ApplicationException("The transaction cannot begin. The current data connection does not support transa" + + "ctions or the current state is not allowing the transaction to begin."); + } + global::System.Collections.Generic.List allChangedRows = new global::System.Collections.Generic.List(); + global::System.Collections.Generic.List allAddedRows = new global::System.Collections.Generic.List(); + global::System.Collections.Generic.List adaptersWithAcceptChangesDuringUpdate = new global::System.Collections.Generic.List(); + global::System.Collections.Generic.Dictionary revertConnections = new global::System.Collections.Generic.Dictionary(); + int result = 0; + global::System.Data.DataSet backupDataSet = null; + if (this.BackupDataSetBeforeUpdate) { + backupDataSet = new global::System.Data.DataSet(); + backupDataSet.Merge(dataSet); + } + try { + // ---- Prepare for update ----------- + // + if ((this._elencoCartelliniTableAdapter != null)) { + revertConnections.Add(this._elencoCartelliniTableAdapter, this._elencoCartelliniTableAdapter.Connection); + this._elencoCartelliniTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._elencoCartelliniTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._elencoCartelliniTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._elencoCartelliniTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._elencoCartelliniTableAdapter.Adapter); + } + } + if ((this._anagMagTableAdapter != null)) { + revertConnections.Add(this._anagMagTableAdapter, this._anagMagTableAdapter.Connection); + this._anagMagTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._anagMagTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._anagMagTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._anagMagTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._anagMagTableAdapter.Adapter); + } + } + if ((this._posizioneUdcCorrenteTableAdapter != null)) { + revertConnections.Add(this._posizioneUdcCorrenteTableAdapter, this._posizioneUdcCorrenteTableAdapter.Connection); + this._posizioneUdcCorrenteTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._posizioneUdcCorrenteTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._posizioneUdcCorrenteTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._posizioneUdcCorrenteTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._posizioneUdcCorrenteTableAdapter.Adapter); + } + } + if ((this._posizioneUdcStoricoTableAdapter != null)) { + revertConnections.Add(this._posizioneUdcStoricoTableAdapter, this._posizioneUdcStoricoTableAdapter.Connection); + this._posizioneUdcStoricoTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._posizioneUdcStoricoTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._posizioneUdcStoricoTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._posizioneUdcStoricoTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._posizioneUdcStoricoTableAdapter.Adapter); + } + } + if ((this._blocchiTableAdapter != null)) { + revertConnections.Add(this._blocchiTableAdapter, this._blocchiTableAdapter.Connection); + this._blocchiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._blocchiTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._blocchiTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._blocchiTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._blocchiTableAdapter.Adapter); + } + } + if ((this._celleTableAdapter != null)) { + revertConnections.Add(this._celleTableAdapter, this._celleTableAdapter.Connection); + this._celleTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._celleTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._celleTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._celleTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._celleTableAdapter.Adapter); + } + } + if ((this._tipoCellaTableAdapter != null)) { + revertConnections.Add(this._tipoCellaTableAdapter, this._tipoCellaTableAdapter.Connection); + this._tipoCellaTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._tipoCellaTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._tipoCellaTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._tipoCellaTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._tipoCellaTableAdapter.Adapter); + } + } + if ((this._anagImballiTableAdapter != null)) { + revertConnections.Add(this._anagImballiTableAdapter, this._anagImballiTableAdapter.Connection); + this._anagImballiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._anagImballiTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._anagImballiTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._anagImballiTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._anagImballiTableAdapter.Adapter); + } + } + if ((this._tipoListaPrelievoTableAdapter != null)) { + revertConnections.Add(this._tipoListaPrelievoTableAdapter, this._tipoListaPrelievoTableAdapter.Connection); + this._tipoListaPrelievoTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._tipoListaPrelievoTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._tipoListaPrelievoTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._tipoListaPrelievoTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._tipoListaPrelievoTableAdapter.Adapter); + } + } + if ((this._righeListePrelievoTableAdapter != null)) { + revertConnections.Add(this._righeListePrelievoTableAdapter, this._righeListePrelievoTableAdapter.Connection); + this._righeListePrelievoTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._righeListePrelievoTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._righeListePrelievoTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._righeListePrelievoTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._righeListePrelievoTableAdapter.Adapter); + } + } + if ((this._anagPosizioniTableAdapter != null)) { + revertConnections.Add(this._anagPosizioniTableAdapter, this._anagPosizioniTableAdapter.Connection); + this._anagPosizioniTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._anagPosizioniTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._anagPosizioniTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._anagPosizioniTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._anagPosizioniTableAdapter.Adapter); + } + } + if ((this._rapQualTableAdapter != null)) { + revertConnections.Add(this._rapQualTableAdapter, this._rapQualTableAdapter.Connection); + this._rapQualTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._rapQualTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._rapQualTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._rapQualTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._rapQualTableAdapter.Adapter); + } + } + if ((this._anagParticolariTableAdapter != null)) { + revertConnections.Add(this._anagParticolariTableAdapter, this._anagParticolariTableAdapter.Connection); + this._anagParticolariTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._anagParticolariTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._anagParticolariTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._anagParticolariTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._anagParticolariTableAdapter.Adapter); + } + } + if ((this._anagLegheTableAdapter != null)) { + revertConnections.Add(this._anagLegheTableAdapter, this._anagLegheTableAdapter.Connection); + this._anagLegheTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._anagLegheTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._anagLegheTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._anagLegheTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._anagLegheTableAdapter.Adapter); + } + } + // + //---- Perform updates ----------- + // + if ((this.UpdateOrder == UpdateOrderOption.UpdateInsertDelete)) { + result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows)); + result = (result + this.UpdateInsertedRows(dataSet, allAddedRows)); + } + else { + result = (result + this.UpdateInsertedRows(dataSet, allAddedRows)); + result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows)); + } + result = (result + this.UpdateDeletedRows(dataSet, allChangedRows)); + // + //---- Commit updates ----------- + // + workTransaction.Commit(); + if ((0 < allAddedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count]; + allAddedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + } + } + if ((0 < allChangedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allChangedRows.Count]; + allChangedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + } + } + } + catch (global::System.Exception ex) { + workTransaction.Rollback(); + // ---- Restore the dataset ----------- + if (this.BackupDataSetBeforeUpdate) { + global::System.Diagnostics.Debug.Assert((backupDataSet != null)); + dataSet.Clear(); + dataSet.Merge(backupDataSet); + } + else { + if ((0 < allAddedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count]; + allAddedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + row.SetAdded(); + } + } + } + throw ex; + } + finally { + if (workConnOpened) { + workConnection.Close(); + } + if ((this._elencoCartelliniTableAdapter != null)) { + this._elencoCartelliniTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._elencoCartelliniTableAdapter])); + this._elencoCartelliniTableAdapter.Transaction = null; + } + if ((this._anagMagTableAdapter != null)) { + this._anagMagTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagMagTableAdapter])); + this._anagMagTableAdapter.Transaction = null; + } + if ((this._posizioneUdcCorrenteTableAdapter != null)) { + this._posizioneUdcCorrenteTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._posizioneUdcCorrenteTableAdapter])); + this._posizioneUdcCorrenteTableAdapter.Transaction = null; + } + if ((this._posizioneUdcStoricoTableAdapter != null)) { + this._posizioneUdcStoricoTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._posizioneUdcStoricoTableAdapter])); + this._posizioneUdcStoricoTableAdapter.Transaction = null; + } + if ((this._blocchiTableAdapter != null)) { + this._blocchiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._blocchiTableAdapter])); + this._blocchiTableAdapter.Transaction = null; + } + if ((this._celleTableAdapter != null)) { + this._celleTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._celleTableAdapter])); + this._celleTableAdapter.Transaction = null; + } + if ((this._tipoCellaTableAdapter != null)) { + this._tipoCellaTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._tipoCellaTableAdapter])); + this._tipoCellaTableAdapter.Transaction = null; + } + if ((this._anagImballiTableAdapter != null)) { + this._anagImballiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagImballiTableAdapter])); + this._anagImballiTableAdapter.Transaction = null; + } + if ((this._tipoListaPrelievoTableAdapter != null)) { + this._tipoListaPrelievoTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._tipoListaPrelievoTableAdapter])); + this._tipoListaPrelievoTableAdapter.Transaction = null; + } + if ((this._righeListePrelievoTableAdapter != null)) { + this._righeListePrelievoTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._righeListePrelievoTableAdapter])); + this._righeListePrelievoTableAdapter.Transaction = null; + } + if ((this._anagPosizioniTableAdapter != null)) { + this._anagPosizioniTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagPosizioniTableAdapter])); + this._anagPosizioniTableAdapter.Transaction = null; + } + if ((this._rapQualTableAdapter != null)) { + this._rapQualTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._rapQualTableAdapter])); + this._rapQualTableAdapter.Transaction = null; + } + if ((this._anagParticolariTableAdapter != null)) { + this._anagParticolariTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagParticolariTableAdapter])); + this._anagParticolariTableAdapter.Transaction = null; + } + if ((this._anagLegheTableAdapter != null)) { + this._anagLegheTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagLegheTableAdapter])); + this._anagLegheTableAdapter.Transaction = null; + } + if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) { + global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count]; + adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters); + for (int i = 0; (i < adapters.Length); i = (i + 1)) { + global::System.Data.Common.DataAdapter adapter = adapters[i]; + adapter.AcceptChangesDuringUpdate = true; + } + } + } + return result; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected virtual void SortSelfReferenceRows(global::System.Data.DataRow[] rows, global::System.Data.DataRelation relation, bool childFirst) { + global::System.Array.Sort(rows, new SelfReferenceComparer(relation, childFirst)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected virtual bool MatchTableAdapterConnection(global::System.Data.IDbConnection inputConnection) { + if ((this._connection != null)) { + return true; + } + if (((this.Connection == null) + || (inputConnection == null))) { + return true; + } + if (string.Equals(this.Connection.ConnectionString, inputConnection.ConnectionString, global::System.StringComparison.Ordinal)) { + return true; + } + return false; + } + + /// + ///Update Order Option + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public enum UpdateOrderOption { + + InsertUpdateDelete = 0, + + UpdateInsertDelete = 1, + } + + /// + ///Used to sort self-referenced table's rows + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private class SelfReferenceComparer : object, global::System.Collections.Generic.IComparer { + + private global::System.Data.DataRelation _relation; + + private int _childFirst; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal SelfReferenceComparer(global::System.Data.DataRelation relation, bool childFirst) { + this._relation = relation; + if (childFirst) { + this._childFirst = -1; + } + else { + this._childFirst = 1; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private global::System.Data.DataRow GetRoot(global::System.Data.DataRow row, out int distance) { + global::System.Diagnostics.Debug.Assert((row != null)); + global::System.Data.DataRow root = row; + distance = 0; + + global::System.Collections.Generic.IDictionary traversedRows = new global::System.Collections.Generic.Dictionary(); + traversedRows[row] = row; + + global::System.Data.DataRow parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default); + for ( + ; ((parent != null) + && (traversedRows.ContainsKey(parent) == false)); + ) { + distance = (distance + 1); + root = parent; + traversedRows[parent] = parent; + parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default); + } + + if ((distance == 0)) { + traversedRows.Clear(); + traversedRows[row] = row; + parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original); + for ( + ; ((parent != null) + && (traversedRows.ContainsKey(parent) == false)); + ) { + distance = (distance + 1); + root = parent; + traversedRows[parent] = parent; + parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original); + } + } + + return root; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int Compare(global::System.Data.DataRow row1, global::System.Data.DataRow row2) { + if (object.ReferenceEquals(row1, row2)) { + return 0; + } + if ((row1 == null)) { + return -1; + } + if ((row2 == null)) { + return 1; + } + + int distance1 = 0; + global::System.Data.DataRow root1 = this.GetRoot(row1, out distance1); + + int distance2 = 0; + global::System.Data.DataRow root2 = this.GetRoot(row2, out distance2); + + if (object.ReferenceEquals(root1, root2)) { + return (this._childFirst * distance1.CompareTo(distance2)); + } + else { + global::System.Diagnostics.Debug.Assert(((root1.Table != null) + && (root2.Table != null))); + if ((root1.Table.Rows.IndexOf(root1) < root2.Table.Rows.IndexOf(root2))) { + return -1; + } + else { + return 1; + } + } + } + } + } +} + +#pragma warning restore 1591 \ No newline at end of file diff --git a/GMW_data/DS_magazzino.cs b/GMW_data/DS_magazzino.cs new file mode 100644 index 00000000..70fb95ac --- /dev/null +++ b/GMW_data/DS_magazzino.cs @@ -0,0 +1,21 @@ +namespace GMW_data { + + + public partial class DS_magazzino { + } +} + +namespace GMW_data.DS_magazzinoTableAdapters { + + + public partial class ElencoListePrelievoTableAdapter { + } +} + +namespace GMW_data.DS_magazzinoTableAdapters +{ + + + public partial class RapQualTableAdapter { + } +} diff --git a/GMW_data/DS_magazzino.xsc b/GMW_data/DS_magazzino.xsc new file mode 100644 index 00000000..551fc56f --- /dev/null +++ b/GMW_data/DS_magazzino.xsc @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/GMW_data/DS_magazzino.xsd b/GMW_data/DS_magazzino.xsd new file mode 100644 index 00000000..1a48221a --- /dev/null +++ b/GMW_data/DS_magazzino.xsd @@ -0,0 +1,4069 @@ + + + + + + + + + + + + + + + DELETE FROM [dbo].[ElencoCartellini] WHERE (([UDC] = @Original_UDC) AND ((@IsNull_CodCS = 1 AND [CodCS] IS NULL) OR ([CodCS] = @Original_CodCS)) AND ((@IsNull_CodCliente = 1 AND [CodCliente] IS NULL) OR ([CodCliente] = @Original_CodCliente)) AND ((@IsNull_RagSociale = 1 AND [RagSociale] IS NULL) OR ([RagSociale] = @Original_RagSociale)) AND ((@IsNull_Particolare = 1 AND [Particolare] IS NULL) OR ([Particolare] = @Original_Particolare)) AND ((@IsNull_DescParticolare = 1 AND [DescParticolare] IS NULL) OR ([DescParticolare] = @Original_DescParticolare)) AND ((@IsNull_DisegnoGrezzo = 1 AND [DisegnoGrezzo] IS NULL) OR ([DisegnoGrezzo] = @Original_DisegnoGrezzo)) AND ((@IsNull_Esponente = 1 AND [Esponente] IS NULL) OR ([Esponente] = @Original_Esponente)) AND ((@IsNull_CodImpianto = 1 AND [CodImpianto] IS NULL) OR ([CodImpianto] = @Original_CodImpianto)) AND ((@IsNull_DescImpianto = 1 AND [DescImpianto] IS NULL) OR ([DescImpianto] = @Original_DescImpianto)) AND ((@IsNull_CodStampo = 1 AND [CodStampo] IS NULL) OR ([CodStampo] = @Original_CodStampo)) AND ((@IsNull_Figura = 1 AND [Figura] IS NULL) OR ([Figura] = @Original_Figura)) AND ((@IsNull_DataFus = 1 AND [DataFus] IS NULL) OR ([DataFus] = @Original_DataFus)) AND ((@IsNull_TurnoFus = 1 AND [TurnoFus] IS NULL) OR ([TurnoFus] = @Original_TurnoFus)) AND ((@IsNull_CodImballo = 1 AND [CodImballo] IS NULL) OR ([CodImballo] = @Original_CodImballo)) AND ((@IsNull_CodSoggetto = 1 AND [CodSoggetto] IS NULL) OR ([CodSoggetto] = @Original_CodSoggetto)) AND ((@IsNull_NumCont = 1 AND [NumCont] IS NULL) OR ([NumCont] = @Original_NumCont)) AND ((@IsNull_Tara = 1 AND [Tara] IS NULL) OR ([Tara] = @Original_Tara)) AND ((@IsNull_Qta = 1 AND [Qta] IS NULL) OR ([Qta] = @Original_Qta)) AND ((@IsNull_CodStato = 1 AND [CodStato] IS NULL) OR ([CodStato] = @Original_CodStato)) AND ((@IsNull_IdxPosizione = 1 AND [IdxPosizione] IS NULL) OR ([IdxPosizione] = @Original_IdxPosizione)) AND ((@IsNull_PesoTot = 1 AND [PesoTot] IS NULL) OR ([PesoTot] = @Original_PesoTot)) AND ((@IsNull_PesoCad = 1 AND [PesoCad] IS NULL) OR ([PesoCad] = @Original_PesoCad)) AND ((@IsNull_CreateDate = 1 AND [CreateDate] IS NULL) OR ([CreateDate] = @Original_CreateDate)) AND ((@IsNull_ModDate = 1 AND [ModDate] IS NULL) OR ([ModDate] = @Original_ModDate)) AND ((@IsNull_Note = 1 AND [Note] IS NULL) OR ([Note] = @Original_Note))) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + INSERT INTO [dbo].[ElencoCartellini] ([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], [Note]) VALUES (@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, @Note); +SELECT 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, Note FROM ElencoCartellini WHERE (UDC = @UDC) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SELECT * +FROM dbo.ElencoCartellini + + + + + + UPDATE [dbo].[ElencoCartellini] SET [UDC] = @UDC, [CodCS] = @CodCS, [CodCliente] = @CodCliente, [RagSociale] = @RagSociale, [Particolare] = @Particolare, [DescParticolare] = @DescParticolare, [DisegnoGrezzo] = @DisegnoGrezzo, [Esponente] = @Esponente, [CodImpianto] = @CodImpianto, [DescImpianto] = @DescImpianto, [CodStampo] = @CodStampo, [Figura] = @Figura, [DataFus] = @DataFus, [TurnoFus] = @TurnoFus, [CodImballo] = @CodImballo, [CodSoggetto] = @CodSoggetto, [NumCont] = @NumCont, [Tara] = @Tara, [Qta] = @Qta, [CodStato] = @CodStato, [IdxPosizione] = @IdxPosizione, [PesoTot] = @PesoTot, [PesoCad] = @PesoCad, [CreateDate] = @CreateDate, [ModDate] = @ModDate, [Note] = @Note WHERE (([UDC] = @Original_UDC) AND ((@IsNull_CodCS = 1 AND [CodCS] IS NULL) OR ([CodCS] = @Original_CodCS)) AND ((@IsNull_CodCliente = 1 AND [CodCliente] IS NULL) OR ([CodCliente] = @Original_CodCliente)) AND ((@IsNull_RagSociale = 1 AND [RagSociale] IS NULL) OR ([RagSociale] = @Original_RagSociale)) AND ((@IsNull_Particolare = 1 AND [Particolare] IS NULL) OR ([Particolare] = @Original_Particolare)) AND ((@IsNull_DescParticolare = 1 AND [DescParticolare] IS NULL) OR ([DescParticolare] = @Original_DescParticolare)) AND ((@IsNull_DisegnoGrezzo = 1 AND [DisegnoGrezzo] IS NULL) OR ([DisegnoGrezzo] = @Original_DisegnoGrezzo)) AND ((@IsNull_Esponente = 1 AND [Esponente] IS NULL) OR ([Esponente] = @Original_Esponente)) AND ((@IsNull_CodImpianto = 1 AND [CodImpianto] IS NULL) OR ([CodImpianto] = @Original_CodImpianto)) AND ((@IsNull_DescImpianto = 1 AND [DescImpianto] IS NULL) OR ([DescImpianto] = @Original_DescImpianto)) AND ((@IsNull_CodStampo = 1 AND [CodStampo] IS NULL) OR ([CodStampo] = @Original_CodStampo)) AND ((@IsNull_Figura = 1 AND [Figura] IS NULL) OR ([Figura] = @Original_Figura)) AND ((@IsNull_DataFus = 1 AND [DataFus] IS NULL) OR ([DataFus] = @Original_DataFus)) AND ((@IsNull_TurnoFus = 1 AND [TurnoFus] IS NULL) OR ([TurnoFus] = @Original_TurnoFus)) AND ((@IsNull_CodImballo = 1 AND [CodImballo] IS NULL) OR ([CodImballo] = @Original_CodImballo)) AND ((@IsNull_CodSoggetto = 1 AND [CodSoggetto] IS NULL) OR ([CodSoggetto] = @Original_CodSoggetto)) AND ((@IsNull_NumCont = 1 AND [NumCont] IS NULL) OR ([NumCont] = @Original_NumCont)) AND ((@IsNull_Tara = 1 AND [Tara] IS NULL) OR ([Tara] = @Original_Tara)) AND ((@IsNull_Qta = 1 AND [Qta] IS NULL) OR ([Qta] = @Original_Qta)) AND ((@IsNull_CodStato = 1 AND [CodStato] IS NULL) OR ([CodStato] = @Original_CodStato)) AND ((@IsNull_IdxPosizione = 1 AND [IdxPosizione] IS NULL) OR ([IdxPosizione] = @Original_IdxPosizione)) AND ((@IsNull_PesoTot = 1 AND [PesoTot] IS NULL) OR ([PesoTot] = @Original_PesoTot)) AND ((@IsNull_PesoCad = 1 AND [PesoCad] IS NULL) OR ([PesoCad] = @Original_PesoCad)) AND ((@IsNull_CreateDate = 1 AND [CreateDate] IS NULL) OR ([CreateDate] = @Original_CreateDate)) AND ((@IsNull_ModDate = 1 AND [ModDate] IS NULL) OR ([ModDate] = @Original_ModDate)) AND ((@IsNull_Note = 1 AND [Note] IS NULL) OR ([Note] = @Original_Note))); +SELECT 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, Note FROM ElencoCartellini WHERE (UDC = @UDC) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_UDC_getByFlussoDate + + + + + + + + + + + + + + dbo.stp_UDC_getByTipoDelibera + + + + + + + + + + + + + dbo.stp_UDC_getByUdc + + + + + + + + + + + dbo.stp_getDetailsUdcByUdc + + + + + + + + + + + dbo.stp_UDC_getLast_ByParticolare + + + + + + + + + + + + dbo.stp_getUDC_Older + + + + + + + + + + + + + dbo.stp_getUDC_UnusedOlder + + + + + + + + + + + dbo.stp_UDC_updateIdxPosizione + + + + + + + + + + + + + dbo.stp_UDC_updateQty + + + + + + + + + + + + + + + + + + + DELETE FROM [dbo].[AnagMag] WHERE (([CodMag] = @Original_CodMag) AND ([CodCS] = @Original_CodCS) AND ((@IsNull_DescMag = 1 AND [DescMag] IS NULL) OR ([DescMag] = @Original_DescMag)) AND ((@IsNull_Nascosto = 1 AND [Nascosto] IS NULL) OR ([Nascosto] = @Original_Nascosto))) + + + + + + + + + + + + + INSERT INTO [dbo].[AnagMag] ([CodMag], [CodCS], [DescMag], [Nascosto]) VALUES (@CodMag, @CodCS, @DescMag, @Nascosto); +SELECT CodMag, CodCS, DescMag, Nascosto FROM AnagMag WHERE (CodCS = @CodCS) AND (CodMag = @CodMag) + + + + + + + + + + + SELECT * FROM dbo.AnagMag + + + + + + UPDATE [dbo].[AnagMag] SET [CodMag] = @CodMag, [CodCS] = @CodCS, [DescMag] = @DescMag, [Nascosto] = @Nascosto WHERE (([CodMag] = @Original_CodMag) AND ([CodCS] = @Original_CodCS) AND ((@IsNull_DescMag = 1 AND [DescMag] IS NULL) OR ([DescMag] = @Original_DescMag)) AND ((@IsNull_Nascosto = 1 AND [Nascosto] IS NULL) OR ([Nascosto] = @Original_Nascosto))); +SELECT CodMag, CodCS, DescMag, Nascosto FROM AnagMag WHERE (CodCS = @CodCS) AND (CodMag = @CodMag) + + + + + + + + + + + + + + + + + + + + + + + + + + + DELETE FROM AnagMag +WHERE (CodCS = @CodCS) AND (CodMag = @Original_CodMag) + + + + + + + + + + + dbo.stp_magGetByCS + + + + + + + + + + + dbo.stp_magGetByCodMag + + + + + + + + + + + + UPDATE AnagMag +SET CodCS = @CodCS, CodMag = @CodMag, DescMag = @DescMag, Nascosto = @Nascosto +WHERE (CodCS = @Original_CodCS) AND (CodMag = @Original_CodMag) + + + + + + + + + + + + + + + + + + + DELETE FROM [dbo].[PosizioneUdcCorrente] WHERE (([UDC] = @Original_UDC) AND ([IdxCella] = @Original_IdxCella) AND ([CodCS] = @Original_CodCS) AND ((@IsNull_DataRif = 1 AND [DataRif] IS NULL) OR ([DataRif] = @Original_DataRif))) + + + + + + + + + + + + INSERT INTO [dbo].[PosizioneUdcCorrente] ([UDC], [IdxCella], [CodCS], [DataRif]) VALUES (@UDC, @IdxCella, @CodCS, @DataRif); +SELECT UDC, IdxCella, CodCS, DataRif FROM PosizioneUdcCorrente WHERE (IdxCella = @IdxCella) AND (UDC = @UDC) + + + + + + + + + + + SELECT UDC, IdxCella, CodCS, DataRif FROM dbo.PosizioneUdcCorrente + + + + + + UPDATE [dbo].[PosizioneUdcCorrente] SET [UDC] = @UDC, [IdxCella] = @IdxCella, [CodCS] = @CodCS, [DataRif] = @DataRif WHERE (([UDC] = @Original_UDC) AND ([IdxCella] = @Original_IdxCella) AND ([CodCS] = @Original_CodCS) AND ((@IsNull_DataRif = 1 AND [DataRif] IS NULL) OR ([DataRif] = @Original_DataRif))); +SELECT UDC, IdxCella, CodCS, DataRif FROM PosizioneUdcCorrente WHERE (IdxCella = @IdxCella) AND (UDC = @UDC) + + + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_posizioniGetByIdxCellaUdc + + + + + + + + + + + + dbo.stp_posizioniGetByIdxBlocco + + + + + + + + + + + dbo.stp_posizioniGetByIdxCella + + + + + + + + + + + dbo.stp_getPosizioneByUdc + + + + + + + + + + + dbo.stp_getPosizioneByUdcCodMag + + + + + + + + + + + + dbo.stp_scaricaUdc + + + + + + + + + + + + + + dbo.stp_spostaUdc + + + + + + + + + + + + + + + + + + DELETE FROM [dbo].[PosizioneUdcStorico] WHERE (([UDC] = @Original_UDC) AND ([IdxCella] = @Original_IdxCella) AND ([CodCS] = @Original_CodCS) AND ([DataInizio] = @Original_DataInizio) AND ((@IsNull_DataFine = 1 AND [DataFine] IS NULL) OR ([DataFine] = @Original_DataFine))) + + + + + + + + + + + + + INSERT INTO [dbo].[PosizioneUdcStorico] ([UDC], [IdxCella], [CodCS], [DataInizio], [DataFine]) VALUES (@UDC, @IdxCella, @CodCS, @DataInizio, @DataFine); +SELECT UDC, IdxCella, CodCS, DataInizio, DataFine FROM PosizioneUdcStorico WHERE (IdxCella = @IdxCella) AND (UDC = @UDC) + + + + + + + + + + + + SELECT UDC, IdxCella, CodCS, DataInizio, DataFine FROM dbo.PosizioneUdcStorico + + + + + + UPDATE [dbo].[PosizioneUdcStorico] SET [UDC] = @UDC, [IdxCella] = @IdxCella, [CodCS] = @CodCS, [DataInizio] = @DataInizio, [DataFine] = @DataFine WHERE (([UDC] = @Original_UDC) AND ([IdxCella] = @Original_IdxCella) AND ([CodCS] = @Original_CodCS) AND ([DataInizio] = @Original_DataInizio) AND ((@IsNull_DataFine = 1 AND [DataFine] IS NULL) OR ([DataFine] = @Original_DataFine))); +SELECT UDC, IdxCella, CodCS, DataInizio, DataFine FROM PosizioneUdcStorico WHERE (IdxCella = @IdxCella) AND (UDC = @UDC) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DELETE FROM [dbo].[Blocchi] WHERE (([IdxBlocco] = @Original_IdxBlocco) AND ((@IsNull_CodMag = 1 AND [CodMag] IS NULL) OR ([CodMag] = @Original_CodMag)) AND ((@IsNull_CodCS = 1 AND [CodCS] IS NULL) OR ([CodCS] = @Original_CodCS)) AND ((@IsNull_CodBlocco = 1 AND [CodBlocco] IS NULL) OR ([CodBlocco] = @Original_CodBlocco)) AND ((@IsNull_DescBlocco = 1 AND [DescBlocco] IS NULL) OR ([DescBlocco] = @Original_DescBlocco)) AND ((@IsNull_NumX = 1 AND [NumX] IS NULL) OR ([NumX] = @Original_NumX)) AND ((@IsNull_NumY = 1 AND [NumY] IS NULL) OR ([NumY] = @Original_NumY)) AND ((@IsNull_NumZ = 1 AND [NumZ] IS NULL) OR ([NumZ] = @Original_NumZ))) + + + + + + + + + + + + + + + + + + + + + + INSERT INTO [dbo].[Blocchi] ([CodMag], [CodCS], [CodBlocco], [DescBlocco], [NumX], [NumY], [NumZ]) VALUES (@CodMag, @CodCS, @CodBlocco, @DescBlocco, @NumX, @NumY, @NumZ); +SELECT IdxBlocco, CodMag, CodCS, CodBlocco, DescBlocco, NumX, NumY, NumZ FROM Blocchi WHERE (IdxBlocco = SCOPE_IDENTITY()) + + + + + + + + + + + + + + SELECT IdxBlocco, CodMag, CodCS, CodBlocco, DescBlocco, NumX, NumY, NumZ FROM dbo.Blocchi + + + + + + UPDATE [dbo].[Blocchi] SET [CodMag] = @CodMag, [CodCS] = @CodCS, [CodBlocco] = @CodBlocco, [DescBlocco] = @DescBlocco, [NumX] = @NumX, [NumY] = @NumY, [NumZ] = @NumZ WHERE (([IdxBlocco] = @Original_IdxBlocco) AND ((@IsNull_CodMag = 1 AND [CodMag] IS NULL) OR ([CodMag] = @Original_CodMag)) AND ((@IsNull_CodCS = 1 AND [CodCS] IS NULL) OR ([CodCS] = @Original_CodCS)) AND ((@IsNull_CodBlocco = 1 AND [CodBlocco] IS NULL) OR ([CodBlocco] = @Original_CodBlocco)) AND ((@IsNull_DescBlocco = 1 AND [DescBlocco] IS NULL) OR ([DescBlocco] = @Original_DescBlocco)) AND ((@IsNull_NumX = 1 AND [NumX] IS NULL) OR ([NumX] = @Original_NumX)) AND ((@IsNull_NumY = 1 AND [NumY] IS NULL) OR ([NumY] = @Original_NumY)) AND ((@IsNull_NumZ = 1 AND [NumZ] IS NULL) OR ([NumZ] = @Original_NumZ))); +SELECT IdxBlocco, CodMag, CodCS, CodBlocco, DescBlocco, NumX, NumY, NumZ FROM Blocchi WHERE (IdxBlocco = @IdxBlocco) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DELETE FROM [dbo].[Blocchi] WHERE ([IdxBlocco] = @Original_IdxBlocco) + + + + + + + + + + dbo.stp_BlocchiGetByCodBlocco + + + + + + + + + + + dbo.stp_BlocchiGetByCodMag + + + + + + + + + + + + dbo.stp_BlocchiGetByIdx + + + + + + + + + + + dbo.stp_Blocchi_Insert + + + + + + + + + + + + + + + + + UPDATE Blocchi +SET CodMag = @CodMag, CodCS = @CodCS, CodBlocco = @CodBlocco, DescBlocco = @DescBlocco, NumX = @NumX, NumY = @NumY, NumZ = @NumZ +WHERE (IdxBlocco = @Original_IdxBlocco) + + + + + + + + + + + + + + + + + + + + + DELETE FROM [dbo].[Celle] WHERE (([IdxCella] = @Original_IdxCella) AND ([CodCS] = @Original_CodCS) AND ([CodCella] = @Original_CodCella) AND ((@IsNull_IdxTipoCella = 1 AND [IdxTipoCella] IS NULL) OR ([IdxTipoCella] = @Original_IdxTipoCella)) AND ((@IsNull_Descrizione = 1 AND [Descrizione] IS NULL) OR ([Descrizione] = @Original_Descrizione)) AND ((@IsNull_Attiva = 1 AND [Attiva] IS NULL) OR ([Attiva] = @Original_Attiva)) AND ((@IsNull_Piena = 1 AND [Piena] IS NULL) OR ([Piena] = @Original_Piena)) AND ([IdxBlocco] = @Original_IdxBlocco) AND ([X] = @Original_X) AND ([Y] = @Original_Y) AND ([Z] = @Original_Z)) + + + + + + + + + + + + + + + + + + + + + + INSERT INTO [dbo].[Celle] ([CodCS], [CodCella], [IdxTipoCella], [Descrizione], [Attiva], [Piena], [IdxBlocco], [X], [Y], [Z]) VALUES (@CodCS, @CodCella, @IdxTipoCella, @Descrizione, @Attiva, @Piena, @IdxBlocco, @X, @Y, @Z); +SELECT IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z FROM Celle WHERE (IdxCella = SCOPE_IDENTITY()) + + + + + + + + + + + + + + + + + SELECT * FROM dbo.Celle + + + + + + UPDATE [dbo].[Celle] SET [CodCS] = @CodCS, [CodCella] = @CodCella, [IdxTipoCella] = @IdxTipoCella, [Descrizione] = @Descrizione, [Attiva] = @Attiva, [Piena] = @Piena, [IdxBlocco] = @IdxBlocco, [X] = @X, [Y] = @Y, [Z] = @Z WHERE (([IdxCella] = @Original_IdxCella) AND ([CodCS] = @Original_CodCS) AND ([CodCella] = @Original_CodCella) AND ((@IsNull_IdxTipoCella = 1 AND [IdxTipoCella] IS NULL) OR ([IdxTipoCella] = @Original_IdxTipoCella)) AND ((@IsNull_Descrizione = 1 AND [Descrizione] IS NULL) OR ([Descrizione] = @Original_Descrizione)) AND ((@IsNull_Attiva = 1 AND [Attiva] IS NULL) OR ([Attiva] = @Original_Attiva)) AND ((@IsNull_Piena = 1 AND [Piena] IS NULL) OR ([Piena] = @Original_Piena)) AND ([IdxBlocco] = @Original_IdxBlocco) AND ([X] = @Original_X) AND ([Y] = @Original_Y) AND ([Z] = @Original_Z)); +SELECT IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z FROM Celle WHERE (IdxCella = @IdxCella) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_celle_deleteQuery + + + + + + + + + + + dbo.stp_cellaGetByCodCella + + + + + + + + + + + dbo.stp_cellaGetByCodCellaLike + + + + + + + + + + + + dbo.stp_cellaGetByCodMag + + + + + + + + + + + + dbo.stp_cellaGetByIdxBlocco + + + + + + + + + + + dbo.stp_cellaGetByIdxCella + + + + + + + + + + + dbo.stp_cellaGetByTipoCella + + + + + + + + + + + dbo.stp_cellaGetFirstByPosizione + + + + + + + + + + + dbo.stp_celleLibereGetByIdxBlocco + + + + + + + + + + + dbo.stp_celleNonAttiveByIdxBlocco + + + + + + + + + + + dbo.stp_celle_updAttiva + + + + + + + + + + + + dbo.stp_celle_updPiena + + + + + + + + + + + + dbo.stp_celle_updateQuery + + + + + + + + + + + + + + + + + + + + + + + + + DELETE FROM [TipoCella] WHERE (([IdxTipoCella] = @Original_IdxTipoCella) AND ([CodMag] = @Original_CodMag) AND ([CodCS] = @Original_CodCS) AND ([Quantita] = @Original_Quantita) AND ([Capienza] = @Original_Capienza) AND ((@IsNull_Max_X = 1 AND [Max_X] IS NULL) OR ([Max_X] = @Original_Max_X)) AND ((@IsNull_Max_Y = 1 AND [Max_Y] IS NULL) OR ([Max_Y] = @Original_Max_Y)) AND ((@IsNull_Max_Z = 1 AND [Max_Z] IS NULL) OR ([Max_Z] = @Original_Max_Z)) AND ((@IsNull_Max_Kg = 1 AND [Max_Kg] IS NULL) OR ([Max_Kg] = @Original_Max_Kg)) AND ([CheckPiena] = @Original_CheckPiena) AND ((@IsNull_SetMag = 1 AND [SetMag] IS NULL) OR ([SetMag] = @Original_SetMag))) + + + + + + + + + + + + + + + + + + + + + + + INSERT INTO [TipoCella] ([CodMag], [CodCS], [Quantita], [Capienza], [Max_X], [Max_Y], [Max_Z], [Max_Kg], [CheckPiena], [SetMag]) VALUES (@CodMag, @CodCS, @Quantita, @Capienza, @Max_X, @Max_Y, @Max_Z, @Max_Kg, @CheckPiena, @SetMag); +SELECT IdxTipoCella, CodMag, CodCS, Quantita, Capienza, Max_X, Max_Y, Max_Z, Max_Kg, CheckPiena, SetMag FROM TipoCella WHERE (IdxTipoCella = SCOPE_IDENTITY()) + + + + + + + + + + + + + + + + + SELECT * +FROM TipoCella + + + + + + UPDATE [TipoCella] SET [CodMag] = @CodMag, [CodCS] = @CodCS, [Quantita] = @Quantita, [Capienza] = @Capienza, [Max_X] = @Max_X, [Max_Y] = @Max_Y, [Max_Z] = @Max_Z, [Max_Kg] = @Max_Kg, [CheckPiena] = @CheckPiena, [SetMag] = @SetMag WHERE (([IdxTipoCella] = @Original_IdxTipoCella) AND ([CodMag] = @Original_CodMag) AND ([CodCS] = @Original_CodCS) AND ([Quantita] = @Original_Quantita) AND ([Capienza] = @Original_Capienza) AND ((@IsNull_Max_X = 1 AND [Max_X] IS NULL) OR ([Max_X] = @Original_Max_X)) AND ((@IsNull_Max_Y = 1 AND [Max_Y] IS NULL) OR ([Max_Y] = @Original_Max_Y)) AND ((@IsNull_Max_Z = 1 AND [Max_Z] IS NULL) OR ([Max_Z] = @Original_Max_Z)) AND ((@IsNull_Max_Kg = 1 AND [Max_Kg] IS NULL) OR ([Max_Kg] = @Original_Max_Kg)) AND ([CheckPiena] = @Original_CheckPiena) AND ((@IsNull_SetMag = 1 AND [SetMag] IS NULL) OR ([SetMag] = @Original_SetMag))); +SELECT IdxTipoCella, CodMag, CodCS, Quantita, Capienza, Max_X, Max_Y, Max_Z, Max_Kg, CheckPiena, SetMag FROM TipoCella WHERE (IdxTipoCella = @IdxTipoCella) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_TipoCella_deleteQuery + + + + + + + + + + + dbo.stp_TipoCellaGetByCodMag + + + + + + + + + + + + dbo.stp_TipoCellaGetByIdx + + + + + + + + + + + dbo.stp_TipoCella_updateQuery + + + + + + + + + + + + + + + + + + + + + + + + + SELECT * FROM dbo.v_UdcDetail + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dbo.componiUdc + + + + + + + + + + + + + + dbo.stp_UdcDetailGetByCodCella + + + + + + + + + + + dbo.stp_getUdcDetailFullCode + + + + + + + + + + + + dbo.stp_UdcDetailGetByIdxBloccoCodMagLog + + + + + + + + + + + + dbo.stp_getUdcDetailLikeSearch + + + + + + + + + + + + dbo.stp_UdcDetailGetByIdxBlocco + + + + + + + + + + + dbo.stp_UdcDetailGetByIdxCella + + + + + + + + + + + + + + + DELETE FROM [RilPro].[AnagImballi] WHERE (([CodImballo] = @Original_CodImballo) AND ((@IsNull_ClasseArticolo = 1 AND [ClasseArticolo] IS NULL) OR ([ClasseArticolo] = @Original_ClasseArticolo)) AND ((@IsNull_DescImballo = 1 AND [DescImballo] IS NULL) OR ([DescImballo] = @Original_DescImballo))) + + + + + + + + + + + + INSERT INTO [RilPro].[AnagImballi] ([CodImballo], [ClasseArticolo], [DescImballo]) VALUES (@CodImballo, @ClasseArticolo, @DescImballo); +SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi WHERE (CodImballo = @CodImballo) + + + + + + + + + + SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi + + + + + + UPDATE [RilPro].[AnagImballi] SET [CodImballo] = @CodImballo, [ClasseArticolo] = @ClasseArticolo, [DescImballo] = @DescImballo WHERE (([CodImballo] = @Original_CodImballo) AND ((@IsNull_ClasseArticolo = 1 AND [ClasseArticolo] IS NULL) OR ([ClasseArticolo] = @Original_ClasseArticolo)) AND ((@IsNull_DescImballo = 1 AND [DescImballo] IS NULL) OR ([DescImballo] = @Original_DescImballo))); +SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi WHERE (CodImballo = @CodImballo) + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_getImballoByCod + + + + + + + + + + + dbo.stp_getImballoLikeSearch + + + + + + + + + + + + + + + SELECT Particolare, DescParticolare, NumUDC, TotQta, NumInMag FROM dbo.V_ParticolariOverview + + + + + + + + + + + + + + + + + dbo.stp_ParticolariOverviewPerListaPrelievo + + + + + + + + + + + + + + + + dbo.stp_ParticolariOverviewLikePrefix + + + + + + + + + + + + dbo.stp_ParticolariOverviewLike + + + + + + + + + + + + dbo.stp_ParticolariOverview + + + + + + + + + + + + + + + + SELECT * +FROM dbo.V_MagazziniOverview + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_magazzinoOverview + + + + + + + + + + + + dbo.stp_magazzinoOverview_maxCelle + + + + + + + + + + + dbo.stp_magazzinoOverviewByMag_maxCelle + + + + + + + + + + + + + + + + SELECT * FROM dbo.V_DettMagPart + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_paretoDettPartByFullSpec + + + + + + + + + + + + + + dbo.stp_paretoDettPartByFullSpecMagLog + + + + + + + + + + + + + + + dbo.stp_paretoPartByMagBlocco + + + + + + + + + + + + + dbo.stp_paretoPartByMagBloccoCodMagLog + + + + + + + + + + + + + + dbo.stp_paretoDettMagByParticolare + + + + + + + + + + + + + + + + DELETE FROM [dbo].[TipoListaPrelievo] WHERE (([CodTipoLista] = @Original_CodTipoLista) AND ((@IsNull_DescrLista = 1 AND [DescrLista] IS NULL) OR ([DescrLista] = @Original_DescrLista)) AND ([CodCella] = @Original_CodCella) AND ([CodEvento] = @Original_CodEvento)) + + + + + + + + + + + + INSERT INTO [dbo].[TipoListaPrelievo] ([CodTipoLista], [DescrLista], [CodCella], [CodEvento]) VALUES (@CodTipoLista, @DescrLista, @CodCella, @CodEvento); +SELECT CodTipoLista, DescrLista, CodCella, CodEvento FROM TipoListaPrelievo WHERE (CodTipoLista = @CodTipoLista) + + + + + + + + + + + SELECT CodTipoLista, DescrLista, CodCella, CodEvento FROM TipoListaPrelievo + + + + + + UPDATE [dbo].[TipoListaPrelievo] SET [CodTipoLista] = @CodTipoLista, [DescrLista] = @DescrLista, [CodCella] = @CodCella, [CodEvento] = @CodEvento WHERE (([CodTipoLista] = @Original_CodTipoLista) AND ((@IsNull_DescrLista = 1 AND [DescrLista] IS NULL) OR ([DescrLista] = @Original_DescrLista)) AND ([CodCella] = @Original_CodCella) AND ([CodEvento] = @Original_CodEvento)); +SELECT CodTipoLista, DescrLista, CodCella, CodEvento FROM TipoListaPrelievo WHERE (CodTipoLista = @CodTipoLista) + + + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_TL_getByCodTipoLista + + + + + + + + + + + + + + + DELETE FROM [dbo].[RigheListePrelievo] WHERE (([CodLista] = @Original_CodLista) AND ([UDC] = @Original_UDC) AND ([Qta] = @Original_Qta) AND ((@IsNull_Proposto = 1 AND [Proposto] IS NULL) OR ([Proposto] = @Original_Proposto)) AND ((@IsNull_Prelevato = 1 AND [Prelevato] IS NULL) OR ([Prelevato] = @Original_Prelevato))) + + + + + + + + + + + + + + INSERT INTO [dbo].[RigheListePrelievo] ([CodLista], [UDC], [Qta], [Proposto], [Prelevato]) VALUES (@CodLista, @UDC, @Qta, @Proposto, @Prelevato); +SELECT CodLista, UDC, Qta, Proposto, Prelevato FROM RigheListePrelievo WHERE (CodLista = @CodLista) AND (UDC = @UDC) + + + + + + + + + + + + SELECT CodLista, UDC, Qta, Proposto, Prelevato FROM dbo.RigheListePrelievo + + + + + + UPDATE [dbo].[RigheListePrelievo] SET [CodLista] = @CodLista, [UDC] = @UDC, [Qta] = @Qta, [Proposto] = @Proposto, [Prelevato] = @Prelevato WHERE (([CodLista] = @Original_CodLista) AND ([UDC] = @Original_UDC) AND ([Qta] = @Original_Qta) AND ((@IsNull_Proposto = 1 AND [Proposto] IS NULL) OR ([Proposto] = @Original_Proposto)) AND ((@IsNull_Prelevato = 1 AND [Prelevato] IS NULL) OR ([Prelevato] = @Original_Prelevato))); +SELECT CodLista, UDC, Qta, Proposto, Prelevato FROM RigheListePrelievo WHERE (CodLista = @CodLista) AND (UDC = @UDC) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_RLP_getBloccateMovByUdc + + + + + + + + + + + dbo.stp_RLP_getBloccateQtaByUdc + + + + + + + + + + + dbo.stp_getRigaPrelievoByCodLista + + + + + + + + + + + dbo.stp_getRigaPrelievoByCodListaPrelevate + + + + + + + + + + + dbo.stp_RLP_getByUdc + + + + + + + + + + + dbo.stp_RLP_getOpenByUserTipo + + + + + + + + + + + + dbo.stp_righePrelevateByUdc + + + + + + + + + + + dbo.stp_setAnnullaUdcPrelevato + + + + + + + + + + + + dbo.stp_RigheListePrelievo_eliminaNonPrelevate + + + + + + + + + + + dbo.stp_RLP_deleteFromCodLista + + + + + + + + + + + dbo.stp_RLP_eliminaNonPrelevate + + + + + + + + + + + dbo.stp_RLP_resetPrelevate + + + + + + + + + + + dbo.stp_RLP_sbloccaNonPrelevate + + + + + + + + + + + + dbo.stp_RLP_updateQty + + + + + + + + + + + + dbo.stp_UDC_upsertPrelevato + + + + + + + + + + + + + + + + SELECT * FROM dbo.V_ElencoListePrelievo + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_LP_deleteQuery + + + + + + + + + + + dbo.stp_elencoListePrelievoByCodLista + + + + + + + + + + + dbo.stp_elencoLP_attiveByCodSoggetto + + + + + + + + + + + dbo.stp_elencoListePrelievoFilt + + + + + + + + + + + + dbo.stp_LP_getOpenByUserTipo + + + + + + + + + + + + dbo.stp_LP_getOpenByUserTipoPart + + + + + + + + + + + + + dbo.stp_creaListaPrelievo + + + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_LP_exportToAs400 + + + + + + + + + + + dbo.stp_LP_updateDestTipo + + + + + + + + + + + + + + dbo.stp_elencoListePrelievoUpdateStato + + + + + + + + + + + + + + + + + SELECT CodLista, UDC, Qta, Proposto, Prelevato, CodCella, CodMag, CodBlocco, X, Y, Z FROM dbo.v_righeListePrelievoPosizione + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_RLP_delete + + + + + + + + + + + + dbo.stp_getRigaPrelievoPosizioneByCodLista + + + + + + + + + + + dbo.stp_LP_updateUDC + + + + + + + + + + + + + + + + + SELECT * FROM dbo.v_particolariEsponenteFigura + + + + + + + + + + + + + + + + + dbo.stp_ParticolariEspByParticolare + + + + + + + + + + + dbo.stp_ParticolariFiguraByParticolare + + + + + + + + + + + dbo.stp_ParticolariImballoByParticolare + + + + + + + + + + + + + + + DELETE FROM [dbo].[AnagPosizioni] WHERE (([IdxPosizione] = @Original_IdxPosizione) AND ((@IsNull_DescPosizione = 1 AND [DescPosizione] IS NULL) OR ([DescPosizione] = @Original_DescPosizione)) AND ((@IsNull_IsRiattivaEnabled = 1 AND [IsRiattivaEnabled] IS NULL) OR ([IsRiattivaEnabled] = @Original_IsRiattivaEnabled))) + + + + + + + + + + + + INSERT INTO [dbo].[AnagPosizioni] ([IdxPosizione], [DescPosizione], [IsRiattivaEnabled]) VALUES (@IdxPosizione, @DescPosizione, @IsRiattivaEnabled); +SELECT IdxPosizione, DescPosizione, IsRiattivaEnabled FROM AnagPosizioni WHERE (IdxPosizione = @IdxPosizione) + + + + + + + + + + SELECT * FROM dbo.AnagPosizioni + + + + + + UPDATE [dbo].[AnagPosizioni] SET [IdxPosizione] = @IdxPosizione, [DescPosizione] = @DescPosizione, [IsRiattivaEnabled] = @IsRiattivaEnabled WHERE (([IdxPosizione] = @Original_IdxPosizione) AND ((@IsNull_DescPosizione = 1 AND [DescPosizione] IS NULL) OR ([DescPosizione] = @Original_DescPosizione)) AND ((@IsNull_IsRiattivaEnabled = 1 AND [IsRiattivaEnabled] IS NULL) OR ([IsRiattivaEnabled] = @Original_IsRiattivaEnabled))); +SELECT IdxPosizione, DescPosizione, IsRiattivaEnabled FROM AnagPosizioni WHERE (IdxPosizione = @IdxPosizione) + + + + + + + + + + + + + + + + + + + + + + + + SELECT IdxPosizione, DescPosizione, IsRiattivaEnabled +FROM AnagPosizioni +WHERE (IdxPosizione = @IdxPosizione) + + + + + + + + + + + + + + SELECT IdxCella, CodCella, Capienza, UdcAssegnati, Piena FROM dbo.V_statoCelleCapienzaAssegnati + + + + + + + + + + + + + + + + + dbo.stp_StatoCelleByCodCella + + + + + + + + + + + dbo.stp_StatoCelleByIdxCella + + + + + + + + + + + dbo.stp_StatoCelleOverbooked + + + + + + + + + + + + + + SELECT * +FROM dbo.V_MagazziniLogiciOverview + + + + + + + + + + + + + + + + + + + + + dbo.stp_magazzinoLogicoOverview + + + + + + + + + + + + + + + DELETE FROM [RilPro].[RapQual] WHERE (([nRapQual] = @Original_nRapQual) AND ([DataRapQual] = @Original_DataRapQual) AND ([ProgUDC] = @Original_ProgUDC) AND ([CodFor] = @Original_CodFor) AND ([DestTerz] = @Original_DestTerz) AND ([CodLega] = @Original_CodLega) AND ([DataPrelFus] = @Original_DataPrelFus) AND ([TurnoPrelFus] = @Original_TurnoPrelFus) AND ([Qta] = @Original_Qta) AND ([DestLega] = @Original_DestLega) AND ([LegaScaric] = @Original_LegaScaric) AND ([BenesQual] = @Original_BenesQual) AND ((@IsNull_UDC = 1 AND [UDC] IS NULL) OR ([UDC] = @Original_UDC))) + + + + + + + + + + + + + + + + + + + + + INSERT INTO [RilPro].[RapQual] ([nRapQual], [DataRapQual], [ProgUDC], [CodFor], [DestTerz], [CodLega], [DataPrelFus], [TurnoPrelFus], [Qta], [DestLega], [LegaScaric], [BenesQual], [UDC]) VALUES (@nRapQual, @DataRapQual, @ProgUDC, @CodFor, @DestTerz, @CodLega, @DataPrelFus, @TurnoPrelFus, @Qta, @DestLega, @LegaScaric, @BenesQual, @UDC); +SELECT nRapQual, DataRapQual, ProgUDC, CodFor, DestTerz, CodLega, DataPrelFus, TurnoPrelFus, Qta, DestLega, LegaScaric, BenesQual, UDC FROM RilPro.RapQual WHERE (ProgUDC = @ProgUDC) + + + + + + + + + + + + + + + + + + + + SELECT nRapQual, DataRapQual, ProgUDC, CodFor, DestTerz, CodLega, DataPrelFus, TurnoPrelFus, Qta, DestLega, LegaScaric, BenesQual, UDC FROM RilPro.RapQual + + + + + + UPDATE [RilPro].[RapQual] SET [nRapQual] = @nRapQual, [DataRapQual] = @DataRapQual, [ProgUDC] = @ProgUDC, [CodFor] = @CodFor, [DestTerz] = @DestTerz, [CodLega] = @CodLega, [DataPrelFus] = @DataPrelFus, [TurnoPrelFus] = @TurnoPrelFus, [Qta] = @Qta, [DestLega] = @DestLega, [LegaScaric] = @LegaScaric, [BenesQual] = @BenesQual, [UDC] = @UDC WHERE (([nRapQual] = @Original_nRapQual) AND ([DataRapQual] = @Original_DataRapQual) AND ([ProgUDC] = @Original_ProgUDC) AND ([CodFor] = @Original_CodFor) AND ([DestTerz] = @Original_DestTerz) AND ([CodLega] = @Original_CodLega) AND ([DataPrelFus] = @Original_DataPrelFus) AND ([TurnoPrelFus] = @Original_TurnoPrelFus) AND ([Qta] = @Original_Qta) AND ([DestLega] = @Original_DestLega) AND ([LegaScaric] = @Original_LegaScaric) AND ([BenesQual] = @Original_BenesQual) AND ((@IsNull_UDC = 1 AND [UDC] IS NULL) OR ([UDC] = @Original_UDC))); +SELECT nRapQual, DataRapQual, ProgUDC, CodFor, DestTerz, CodLega, DataPrelFus, TurnoPrelFus, Qta, DestLega, LegaScaric, BenesQual, UDC FROM RilPro.RapQual WHERE (ProgUDC = @ProgUDC) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_rappQualGetByNumRapQual + + + + + + + + + + + dbo.stp_rappQualGetByNumRapQualSenzaUdc + + + + + + + + + + + dbo.stp_rappQualGetByUDC + + + + + + + + + + + dbo.stp_rappQualConsumabili + + + + + + + + + + + + dbo.stp_rappQualAssociaUdc + + + + + + + + + + + + + + + + SELECT IdxPosizione, CodTipoDelibera FROM dbo.v_posizioniDelibere + + + + + + + + + + + + + + SELECT IdxPosizione, CodTipoDelibera +FROM v_posizioniDelibere +WHERE (IdxPosizione = @IdxPosizione) + + + + + + + + + + + + + + SELECT * +FROM dbo.v_RapQualSunto + + + + + + + + + + + + + + + + + + + + + dbo.stp_rappQualSuntoGetByDataRange + + + + + + + + + + + + dbo.stp_rappQualSuntoGetByNumRap + + + + + + + + + + + + + + + DELETE FROM [RilPro].[AnagParticolari] WHERE (([Particolare] = @Original_Particolare) AND ([CodCS] = @Original_CodCS) AND ([CodCliente] = @Original_CodCliente) AND ([DisegnoGrezzo] = @Original_DisegnoGrezzo) AND ((@IsNull_CodFamiglia = 1 AND [CodFamiglia] IS NULL) OR ([CodFamiglia] = @Original_CodFamiglia)) AND ((@IsNull_DescParticolare = 1 AND [DescParticolare] IS NULL) OR ([DescParticolare] = @Original_DescParticolare))) + + + + + + + + + + + + + + + INSERT INTO [RilPro].[AnagParticolari] ([Particolare], [CodCS], [CodCliente], [DisegnoGrezzo], [CodFamiglia], [DescParticolare]) VALUES (@Particolare, @CodCS, @CodCliente, @DisegnoGrezzo, @CodFamiglia, @DescParticolare); +SELECT Particolare, CodCS, CodCliente, DisegnoGrezzo, CodFamiglia, DescParticolare FROM RilPro.AnagParticolari WHERE (Particolare = @Particolare) + + + + + + + + + + + + + SELECT Particolare, CodCS, CodCliente, DisegnoGrezzo, CodFamiglia, DescParticolare FROM RilPro.AnagParticolari + + + + + + UPDATE [RilPro].[AnagParticolari] SET [Particolare] = @Particolare, [CodCS] = @CodCS, [CodCliente] = @CodCliente, [DisegnoGrezzo] = @DisegnoGrezzo, [CodFamiglia] = @CodFamiglia, [DescParticolare] = @DescParticolare WHERE (([Particolare] = @Original_Particolare) AND ([CodCS] = @Original_CodCS) AND ([CodCliente] = @Original_CodCliente) AND ([DisegnoGrezzo] = @Original_DisegnoGrezzo) AND ((@IsNull_CodFamiglia = 1 AND [CodFamiglia] IS NULL) OR ([CodFamiglia] = @Original_CodFamiglia)) AND ((@IsNull_DescParticolare = 1 AND [DescParticolare] IS NULL) OR ([DescParticolare] = @Original_DescParticolare))); +SELECT Particolare, CodCS, CodCliente, DisegnoGrezzo, CodFamiglia, DescParticolare FROM RilPro.AnagParticolari WHERE (Particolare = @Particolare) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_ParticolariGetLike + + + + + + + + + + + + + + + + DELETE FROM [RilPro].[AnagLeghe] WHERE (([CodLega] = @Original_CodLega) AND ((@IsNull_DescLega = 1 AND [DescLega] IS NULL) OR ([DescLega] = @Original_DescLega)) AND ((@IsNull_DescLega2 = 1 AND [DescLega2] IS NULL) OR ([DescLega2] = @Original_DescLega2))) + + + + + + + + + + + + INSERT INTO [RilPro].[AnagLeghe] ([CodLega], [DescLega], [DescLega2]) VALUES (@CodLega, @DescLega, @DescLega2); +SELECT CodLega, DescLega, DescLega2 FROM RilPro.AnagLeghe WHERE (CodLega = @CodLega) + + + + + + + + + + SELECT CodLega, DescLega, DescLega2 FROM RilPro.AnagLeghe + + + + + + UPDATE [RilPro].[AnagLeghe] SET [CodLega] = @CodLega, [DescLega] = @DescLega, [DescLega2] = @DescLega2 WHERE (([CodLega] = @Original_CodLega) AND ((@IsNull_DescLega = 1 AND [DescLega] IS NULL) OR ([DescLega] = @Original_DescLega)) AND ((@IsNull_DescLega2 = 1 AND [DescLega2] IS NULL) OR ([DescLega2] = @Original_DescLega2))); +SELECT CodLega, DescLega, DescLega2 FROM RilPro.AnagLeghe WHERE (CodLega = @CodLega) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/GMW_data/DS_magazzino.xss b/GMW_data/DS_magazzino.xss new file mode 100644 index 00000000..b1caa62d --- /dev/null +++ b/GMW_data/DS_magazzino.xss @@ -0,0 +1,177 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 338 + 655 + + + 409 + 655 + + + + + + + 338 + 416 + + + 412 + 416 + + + + + + + 1254 + 618 + + + 1254 + 655 + + + + + + + 712 + 687 + + + 654 + 687 + + + + + + + 1072 + 754 + + + 1012 + 754 + + + + + + + 1139 + 389 + + + 1139 + 347 + + + + + + + 211 + 725 + + + 211 + 797 + + + + + + + 430 + 926 + + + 352 + 926 + + + + + + + 735 + 977 + + + 667 + 977 + + + + + + + 392 + 256 + + + 392 + 353 + + + 338 + 353 + + + + + + + 1029 + 347 + + + 1029 + 437 + + + 1012 + 437 + + + + + \ No newline at end of file diff --git a/GMW_data/DataMatrix.cs b/GMW_data/DataMatrix.cs new file mode 100644 index 00000000..60fd64d4 --- /dev/null +++ b/GMW_data/DataMatrix.cs @@ -0,0 +1,101 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using SteamWare; + +namespace GMW_data +{ + /// + /// fa da proxy singleton x gli oggetti legati ai DATAMATRIX + /// + public class DataMatrix + { + #region area table adapters + + public DS_DataMatrixTableAdapters.ElencoDataMatrixTableAdapter taElencoDM; + public DS_DataMatrixTableAdapters.v_trasfDataMatrixTableAdapter taDtMtxOrig; + + /// + /// init dei table adapters + /// + protected void initTA() + { + taElencoDM = new GMW_data.DS_DataMatrixTableAdapters.ElencoDataMatrixTableAdapter(); + taDtMtxOrig = new GMW_data.DS_DataMatrixTableAdapters.v_trasfDataMatrixTableAdapter(); + } + /// + /// effettua setup dei connection strings da web.config delal singola applicazione + /// + protected virtual void setupConnectionStringBase() + { + // connections strings del db verso GMW + string connString = memLayer.ML.confReadString("GMWConnectionString"); + taElencoDM.Connection.ConnectionString = connString; + taDtMtxOrig.Connection.ConnectionString = connString; + } + + #endregion + + protected DataMatrix() + { + initTA(); + setupConnectionStringBase(); + } + + /// + /// singleton datamatrix + /// + public static DataMatrix mgr = new DataMatrix(); + /// + /// effettua import nuovi dati datamatrix/gitterbox + /// + /// + public bool importNuoviDati() + { + bool answ = false; + try + { + taElencoDM.stp_DtMtrx_import(memLayer.ML.confReadString("CodCS"), memLayer.ML.confReadInt("IdxPosizioneOdette"), MagClass.magazzino.CodSoggCurrUser); + answ = true; + } + catch + { } + return answ; + } + /// + /// restituisce codice gitterbox dato datamatrix + /// + /// + /// + public string gitterboxFromDataMatrix(decimal codDataMatrix) + { + string answ = ""; + try + { + answ = taElencoDM.getByCode(codDataMatrix)[0].CodGitterbox; + } + catch + { } + return answ; + } + /// + /// restituisce codice gitterbox ORIGINALE (pre import) dato datamatrix + /// + /// + /// + public string gitterboxOrigFromDataMatrix(decimal codDataMatrix) + { + string answ = ""; + try + { + answ = DataMatrix.mgr.taDtMtxOrig.getByDtMtx(codDataMatrix.ToString())[0].CodGitterbox; + } + catch + { } + return answ; + } + + + } +} diff --git a/GMW_data/DataProxy.cs b/GMW_data/DataProxy.cs new file mode 100644 index 00000000..561fb7a4 --- /dev/null +++ b/GMW_data/DataProxy.cs @@ -0,0 +1,113 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using SteamWare; + +namespace GMW_data +{ + /// + /// fa da proxy singleton x gli oggetti applicativi + /// + public class DataProxy + { + #region area table adapters + + public DS_ApplicazioneTableAdapters.AnagImpiantiTableAdapter taAnagImp; + public DS_ApplicazioneTableAdapters.AnagBilanceTableAdapter taAnagBil; + public DS_ApplicazioneTableAdapters.ElencoCartelliniTableAdapter taCartellini; + public DS_ApplicazioneTableAdapters.AnagTipoDichiarazTableAdapter taTipoDich; + public DS_ApplicazioneTableAdapters.AnagStatiProdottoTableAdapter taStatiProd; + public DS_ApplicazioneTableAdapters.AnagImballiTableAdapter taAnagImballi; + public DS_ApplicazioneTableAdapters.v_ArtInProdTableAdapter taArtInProd; + public DS_ApplicazioneTableAdapters.RelazUDCTableAdapter taRelazUDC; + public DS_ApplicazioneTableAdapters.AnagCompanySitoTableAdapter taAnagCS; + public DS_ApplicazioneTableAdapters.AnagClientiTableAdapter taAnagClienti; + public DS_ApplicazioneTableAdapters.AnagOperatoriTableAdapter taAnagOperatore; + public DS_ApplicazioneTableAdapters.AnagParticolariTableAdapter taAnagParticolari; + public DS_ApplicazioneTableAdapters.AnagFamiglieTableAdapter taAnagFamiglie; + public DS_ApplicazioneTableAdapters.Soggetti2UtenteTableAdapter taSogg2Oper; + public DS_ApplicazioneTableAdapters.v_specParticolariTableAdapter taSpecPart; + public DS_ApplicazioneTableAdapters.ElencoPostazioniTableAdapter taElPost; + public DS_ApplicazioneTableAdapters.v_RapQualNoteTableAdapter taRQN; + + public DS_cartelliniTableAdapters.stp_prtCartAnimeByUDCTableAdapter taPrtCartAnime; + public DS_cartelliniTableAdapters.stp_prtCartByUDCTableAdapter taPrtCart; + public DS_cartelliniTableAdapters.stp_prtCartMatPrimaByUDCTableAdapter taPrtCartMP; + public DS_cartelliniTableAdapters.stp_prtCartLiquidi_F10ByUDCTableAdapter taPrtCartLiqF10; + public DS_cartelliniTableAdapters.stp_prtCartLiquidi_F18ByUDCTableAdapter taPrtCartLiqF18; + + + /// + /// init dei table adapters + /// + protected void initTA() + { + taAnagImp = new GMW_data.DS_ApplicazioneTableAdapters.AnagImpiantiTableAdapter(); + taAnagBil = new GMW_data.DS_ApplicazioneTableAdapters.AnagBilanceTableAdapter(); + taTipoDich = new GMW_data.DS_ApplicazioneTableAdapters.AnagTipoDichiarazTableAdapter(); + taCartellini = new GMW_data.DS_ApplicazioneTableAdapters.ElencoCartelliniTableAdapter(); + taStatiProd = new GMW_data.DS_ApplicazioneTableAdapters.AnagStatiProdottoTableAdapter(); + taAnagImballi = new GMW_data.DS_ApplicazioneTableAdapters.AnagImballiTableAdapter(); + taArtInProd = new GMW_data.DS_ApplicazioneTableAdapters.v_ArtInProdTableAdapter(); + taRelazUDC = new GMW_data.DS_ApplicazioneTableAdapters.RelazUDCTableAdapter(); + taAnagCS = new GMW_data.DS_ApplicazioneTableAdapters.AnagCompanySitoTableAdapter(); + taAnagClienti = new GMW_data.DS_ApplicazioneTableAdapters.AnagClientiTableAdapter(); + taAnagOperatore = new GMW_data.DS_ApplicazioneTableAdapters.AnagOperatoriTableAdapter(); + taAnagParticolari = new GMW_data.DS_ApplicazioneTableAdapters.AnagParticolariTableAdapter(); + taAnagFamiglie = new GMW_data.DS_ApplicazioneTableAdapters.AnagFamiglieTableAdapter(); + taSogg2Oper = new GMW_data.DS_ApplicazioneTableAdapters.Soggetti2UtenteTableAdapter(); + taSpecPart = new GMW_data.DS_ApplicazioneTableAdapters.v_specParticolariTableAdapter(); + taElPost = new GMW_data.DS_ApplicazioneTableAdapters.ElencoPostazioniTableAdapter(); + taRQN = new GMW_data.DS_ApplicazioneTableAdapters.v_RapQualNoteTableAdapter(); + + taPrtCartAnime = new GMW_data.DS_cartelliniTableAdapters.stp_prtCartAnimeByUDCTableAdapter(); + taPrtCart = new GMW_data.DS_cartelliniTableAdapters.stp_prtCartByUDCTableAdapter(); + taPrtCartMP = new GMW_data.DS_cartelliniTableAdapters.stp_prtCartMatPrimaByUDCTableAdapter(); + taPrtCartLiqF10 = new GMW_data.DS_cartelliniTableAdapters.stp_prtCartLiquidi_F10ByUDCTableAdapter(); + taPrtCartLiqF18 = new GMW_data.DS_cartelliniTableAdapters.stp_prtCartLiquidi_F18ByUDCTableAdapter(); + } + /// + /// effettua setup dei connection strings da web.config delal singola applicazione + /// + protected virtual void setupConnectionStringBase() + { + string connString = memLayer.ML.confReadString("GMWConnectionString"); + // connections strings del db + taAnagImp.Connection.ConnectionString = connString; + taAnagBil.Connection.ConnectionString = connString; + taCartellini.Connection.ConnectionString = connString; + taTipoDich.Connection.ConnectionString = connString; + taStatiProd.Connection.ConnectionString = connString; + taAnagImballi.Connection.ConnectionString = connString; + taArtInProd.Connection.ConnectionString = connString; + taRelazUDC.Connection.ConnectionString = connString; + taAnagCS.Connection.ConnectionString = connString; + taAnagClienti.Connection.ConnectionString = connString; + taAnagOperatore.Connection.ConnectionString = connString; + taAnagParticolari.Connection.ConnectionString = connString; + taAnagFamiglie.Connection.ConnectionString = connString; + taSogg2Oper.Connection.ConnectionString = connString; + taSpecPart.Connection.ConnectionString = connString; + taElPost.Connection.ConnectionString = connString; + taRQN.Connection.ConnectionString = connString; + + taPrtCartAnime.Connection.ConnectionString = connString; + taPrtCart.Connection.ConnectionString = connString; + taPrtCartMP.Connection.ConnectionString = connString; + taPrtCartLiqF10.Connection.ConnectionString = connString; + taPrtCartLiqF18.Connection.ConnectionString = connString; + } + + #endregion + + protected DataProxy() + { + initTA(); + setupConnectionStringBase(); + } + + + public static DataProxy obj = new DataProxy(); + } +} diff --git a/GMW_data/GMW_data.csproj b/GMW_data/GMW_data.csproj new file mode 100644 index 00000000..2bf97cc5 --- /dev/null +++ b/GMW_data/GMW_data.csproj @@ -0,0 +1,465 @@ + + + + Debug + AnyCPU + 9.0.30729 + 2.0 + {47143721-A018-4BDA-B544-EC3E10BC87A2} + Library + Properties + GMW_data + GMW_data + v3.5 + 512 + + + 3.5 + + publish\ + true + Disk + false + Foreground + 7 + Days + false + false + true + 0 + 1.0.0.%2a + false + false + true + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + AllRules.ruleset + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + AllRules.ruleset + + + bin\InstallerTK\ + TRACE + true + pdbonly + AnyCPU + prompt + AllRules.ruleset + + + bin\InstallerSP\ + TRACE + true + pdbonly + AnyCPU + prompt + AllRules.ruleset + + + bin\SP_test\ + TRACE + true + pdbonly + AnyCPU + bin\InstallerSP\GMW_data.dll.CodeAnalysisLog.xml + true + GlobalSuppressions.cs + prompt + AllRules.ruleset + ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets + false + ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules + false + false + + + bin\SP_prod\ + TRACE + true + pdbonly + AnyCPU + bin\InstallerSP\GMW_data.dll.CodeAnalysisLog.xml + true + GlobalSuppressions.cs + prompt + AllRules.ruleset + ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets + false + ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules + false + + + bin\TK_prod\ + TRACE + true + pdbonly + AnyCPU + bin\InstallerSP\GMW_data.dll.CodeAnalysisLog.xml + true + GlobalSuppressions.cs + prompt + AllRules.ruleset + ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets + false + ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules + false + + + bin\TK_test\ + TRACE + true + pdbonly + AnyCPU + bin\InstallerSP\GMW_data.dll.CodeAnalysisLog.xml + true + GlobalSuppressions.cs + prompt + AllRules.ruleset + ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets + false + ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules + false + + + + + + 3.5 + + + + + 3.5 + + + 3.5 + + + + + + + + + True + True + DS_Applicazione.xsd + + + True + True + DS_cartellini.xsd + + + True + True + DS_DataMatrix.xsd + + + DS_magazzino.xsd + Component + + + True + True + DS_magazzino.xsd + + + True + True + DS_Odette.xsd + + + True + True + DS_SM.xsd + + + True + True + DS_Utility.xsd + + + + + + True + True + Settings.settings + + + + + + + + + + + + + + + + + + + + + + + + + {2872DCFE-8B46-43B2-BAA0-842A816A2DD5} + SteamWare + + + + + + DS_Applicazione.xsd + + + Designer + MSDataSetGenerator + DS_Applicazione.Designer.cs + + + DS_Applicazione.xsd + + + DS_cartellini.xsd + + + Designer + MSDataSetGenerator + DS_cartellini.Designer.cs + + + DS_cartellini.xsd + + + DS_DataMatrix.xsd + + + Designer + MSDataSetGenerator + DS_DataMatrix.Designer.cs + + + DS_DataMatrix.xsd + + + DS_magazzino.xsd + + + Designer + MSDataSetGenerator + DS_magazzino.Designer.cs + + + DS_magazzino.xsd + + + DS_Odette.xsd + + + Designer + MSDataSetGenerator + DS_Odette.Designer.cs + + + DS_Odette.xsd + + + DS_SM.xsd + + + Designer + MSDataSetGenerator + DS_SM.Designer.cs + + + DS_SM.xsd + + + DS_Utility.xsd + + + Designer + MSDataSetGenerator + DS_Utility.Designer.cs + + + DS_Utility.xsd + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + False + .NET Framework 3.5 SP1 Client Profile + false + + + False + .NET Framework 3.5 SP1 + true + + + False + Windows Installer 3.1 + true + + + + + \ No newline at end of file diff --git a/GMW_data/GMW_data.csproj.user b/GMW_data/GMW_data.csproj.user new file mode 100644 index 00000000..e98b7a34 --- /dev/null +++ b/GMW_data/GMW_data.csproj.user @@ -0,0 +1,13 @@ + + + + + + + + + + en-US + false + + \ No newline at end of file diff --git a/GMW_data/MagClass.cs b/GMW_data/MagClass.cs new file mode 100644 index 00000000..aaee59e3 --- /dev/null +++ b/GMW_data/MagClass.cs @@ -0,0 +1,1896 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using SteamWare; + +namespace GMW_data +{ + /// + /// classe gestione operazioni sul magazzino + /// + public class MagClass + { + #region area table adapters + + // variabile di tipo table adapter + public DS_magazzinoTableAdapters.AnagMagTableAdapter taAnagMag; + public DS_magazzinoTableAdapters.BlocchiTableAdapter taBlocchi; + public DS_magazzinoTableAdapters.CelleTableAdapter taCelle; + public DS_magazzinoTableAdapters.TipoCellaTableAdapter taTipoCella; + public DS_magazzinoTableAdapters.ElencoCartelliniTableAdapter taCartellini; + public DS_magazzinoTableAdapters.PosizioneUdcCorrenteTableAdapter taPosUdcCorr; + public DS_magazzinoTableAdapters.PosizioneUdcStoricoTableAdapter taPosUdcStorico; + public DS_magazzinoTableAdapters.V_MagazziniOverviewTableAdapter taMagOverw; + public DS_magazzinoTableAdapters.V_DettMagPartTableAdapter taDettMagPart; + public DS_magazzinoTableAdapters.v_UdcDetailTableAdapter taDettUDC; + public DS_magazzinoTableAdapters.ElencoListePrelievoTableAdapter taElencoListePrelievo; + public DS_magazzinoTableAdapters.RigheListePrelievoTableAdapter taRigheListePrelievo; + public DS_magazzinoTableAdapters.TipoListaPrelievoTableAdapter taTipoListaPrelievo; + public DS_magazzinoTableAdapters.V_ParticolariOverviewTableAdapter taVParticolariOverwiew; + public DS_magazzinoTableAdapters.v_particolariEsponenteFiguraTableAdapter taPartExpFig; + public DS_magazzinoTableAdapters.V_statoCelleCapienzaAssegnatiTableAdapter taStatoCelle; + public DS_magazzinoTableAdapters.RapQualTableAdapter taRapQual; + public DS_magazzinoTableAdapters.v_RapQualSuntoTableAdapter taRQ_sunto; + public DS_magazzinoTableAdapters.AnagLegheTableAdapter taAnagLeghe; + public DS_magazzinoTableAdapters.v_posizioniDelibereTableAdapter taPosizDelib; + public DS_magazzinoTableAdapters.AnagParticolariTableAdapter taAnagPart; + public DS_magazzinoTableAdapters.AnagPosizioniTableAdapter taAnagPos; + + + /// + /// init dei table adapters + /// + protected void initTA() + { + // istanzio oggetto + + taAnagMag = new GMW_data.DS_magazzinoTableAdapters.AnagMagTableAdapter(); + taBlocchi = new GMW_data.DS_magazzinoTableAdapters.BlocchiTableAdapter(); + taCelle = new GMW_data.DS_magazzinoTableAdapters.CelleTableAdapter(); + taTipoCella = new GMW_data.DS_magazzinoTableAdapters.TipoCellaTableAdapter(); + taCartellini = new GMW_data.DS_magazzinoTableAdapters.ElencoCartelliniTableAdapter(); + taPosUdcCorr = new GMW_data.DS_magazzinoTableAdapters.PosizioneUdcCorrenteTableAdapter(); + taPosUdcStorico = new GMW_data.DS_magazzinoTableAdapters.PosizioneUdcStoricoTableAdapter(); + taMagOverw = new GMW_data.DS_magazzinoTableAdapters.V_MagazziniOverviewTableAdapter(); + taDettMagPart = new GMW_data.DS_magazzinoTableAdapters.V_DettMagPartTableAdapter(); + taDettUDC = new GMW_data.DS_magazzinoTableAdapters.v_UdcDetailTableAdapter(); + taElencoListePrelievo = new GMW_data.DS_magazzinoTableAdapters.ElencoListePrelievoTableAdapter(); + taRigheListePrelievo = new GMW_data.DS_magazzinoTableAdapters.RigheListePrelievoTableAdapter(); + taTipoListaPrelievo = new GMW_data.DS_magazzinoTableAdapters.TipoListaPrelievoTableAdapter(); + taVParticolariOverwiew = new GMW_data.DS_magazzinoTableAdapters.V_ParticolariOverviewTableAdapter(); + taPartExpFig = new GMW_data.DS_magazzinoTableAdapters.v_particolariEsponenteFiguraTableAdapter(); + taStatoCelle = new GMW_data.DS_magazzinoTableAdapters.V_statoCelleCapienzaAssegnatiTableAdapter(); + taRapQual = new GMW_data.DS_magazzinoTableAdapters.RapQualTableAdapter(); + taRQ_sunto = new GMW_data.DS_magazzinoTableAdapters.v_RapQualSuntoTableAdapter(); + taAnagLeghe = new GMW_data.DS_magazzinoTableAdapters.AnagLegheTableAdapter(); + taPosizDelib = new GMW_data.DS_magazzinoTableAdapters.v_posizioniDelibereTableAdapter(); + taAnagPart = new GMW_data.DS_magazzinoTableAdapters.AnagParticolariTableAdapter(); + taAnagPos = new GMW_data.DS_magazzinoTableAdapters.AnagPosizioniTableAdapter(); + } + /// + /// effettua setup dei connection strings da web.config delal singola applicazione + /// + protected virtual void setupConnectionStringBase() + { + string connString = memLayer.ML.confReadString("GMWConnectionString"); + // connections del db + taAnagMag.Connection.ConnectionString = connString; + taBlocchi.Connection.ConnectionString = connString; + taCelle.Connection.ConnectionString = connString; + taTipoCella.Connection.ConnectionString = connString; + taCartellini.Connection.ConnectionString = connString; + taPosUdcCorr.Connection.ConnectionString = connString; + taPosUdcStorico.Connection.ConnectionString = connString; + taMagOverw.Connection.ConnectionString = connString; + taDettMagPart.Connection.ConnectionString = connString; + taDettUDC.Connection.ConnectionString = connString; + taElencoListePrelievo.Connection.ConnectionString = connString; + taRigheListePrelievo.Connection.ConnectionString = connString; + taTipoListaPrelievo.Connection.ConnectionString = connString; + taVParticolariOverwiew.Connection.ConnectionString = connString; + taPartExpFig.Connection.ConnectionString = connString; + taStatoCelle.Connection.ConnectionString = connString; + taRapQual.Connection.ConnectionString = connString; + taRQ_sunto.Connection.ConnectionString = connString; + taAnagLeghe.Connection.ConnectionString = connString; + taPosizDelib.Connection.ConnectionString = connString; + taAnagPart.Connection.ConnectionString = connString; + taAnagPos.Connection.ConnectionString = connString; + } + + #endregion + + #region Inizializzazione + + protected MagClass() + { + initTA(); + setupConnectionStringBase(); + } + + /// + /// oggetto static per fare chiamate sul magazzino + /// + public static MagClass magazzino = new MagClass(); + + #endregion + + #region metodi protected + + /// + /// aggiunge le righe liste di prelievo necessarie a soddisfare la richiesta in logica FIFO dato un elenco di cartellini, la qta totale da allocare e la lista attuale + /// + /// + /// + /// + private void allocaRigheListaPrelievo(decimal QtaTot, string codListaAttuale, DS_magazzino.ElencoCartelliniDataTable tabellaElencoCartellini) + { + //ricavo il valore UDC della riga del più vecchio + string udcAttuale; + bool qtaOk = false; + bool dataFinished = false; + int progrUdc = 0; + int numUdcDisponibili = tabellaElencoCartellini.Rows.Count; + // contiene la quantità della riga attuale + decimal qtaRiga; + // somma progressiva della qta allocata - calcolo da db! + decimal qtaAllocata = taElencoListePrelievo.getByCodLista(codListaAttuale)[0].Prelevato; + //ciclo WHILE per lo riempimento FIFO con UDC secondo richiesta a partire da elenco fornito + while (!qtaOk && !dataFinished) + { + /* + * crea una riga in righelistaprelievo passando come valori + * il codlista attuale ricavato da sopr + * l'UDC dal primo della tabella getOlderUDC + * + * + * recupero quantità dalla riga corrente; + * + * imposto proposto a 1; + * imposto prelevato 0; + * taRighelistePreliveo.Insert; + * + * qtaAllocata = qtaAllocata + Qta di questa riga (riuso il valore della colonna QTA + * tabella[contatore]; contatore++; + * qtaOk = (qtaAllocata >= qtaRichiesta) + * dataFinished = (contatore >= numRighe); + * + * */ + // ricavo la riga più vecchia + qtaRiga = tabellaElencoCartellini[progrUdc].Qta; + udcAttuale = tabellaElencoCartellini[progrUdc].UDC; + // eseguo query di insert + taRigheListePrelievo.Insert(codListaAttuale, udcAttuale, qtaRiga, true, false); + + //incremento qta allocata + qtaAllocata = (qtaAllocata + qtaRiga); + //incremento contatore + progrUdc++; + + // verifico le condizioni, false se non cambia nulla true se cambia e si esce dal while + qtaOk = (qtaAllocata >= QtaTot); + dataFinished = (progrUdc >= numUdcDisponibili); + } + } + + #endregion + + #region Metodi esposti + + #region operazioni su UDC + + /// + /// effettua lo spostamento di un UDC tra 2 posizioni indicate + /// + /// Codice company/sito + /// Codice UDC + /// Cella di destinazione + /// indica se sia richiesto resettare le Righe Liste Prelievo con lo spostsamento + /// IP del chiamante + /// esito comando + public bool spostaUDC(string CodCS, string UDC, int IdxCellaTo, bool resetRLP, string clientIp) + { + bool answ = false; + // procedo SOLO se la cella di dest è VUOTA... + if (!MagClass.magazzino.cellaPiena(CodCS, IdxCellaTo)) + { + try + { + taPosUdcCorr.stp_spostaUdc(CodCS, UDC, IdxCellaTo, resetRLP); + // cerco nuova posizione... + if (taPosUdcCorr.getByCellaUdc(UDC, IdxCellaTo).Rows.Count > 0) + { + answ = true; + } + } + catch (Exception e) + { + logger.lg.scriviLog(string.Format(" | {1} | Errore durante spostamento cella: {0}", e, clientIp), tipoLog.EXCEPTION); + } + // solo se ha fatto spostamento posizione corrente verifico se fare spostamento in posizione LOGICA magazzino + if (answ) + { + try + { + // verifico tipo cella e se ci sia da fare spostamento in mag logico/contabile + int idxTipoCella = taCelle.getByIdxCella(IdxCellaTo)[0].IdxTipoCella; + bool needSetMag = taTipoCella.getByIdx(idxTipoCella)[0].SetMag; + if (needSetMag) + { + // cambio (eventualmente) la posizione "logica" dato lo spostamento (il codice magazzino...) + int idxBlocco = taCelle.getByIdxCella(IdxCellaTo)[0].IdxBlocco; + int idxPosizione = Convert.ToInt32(taBlocchi.getByIdx(idxBlocco)[0].CodMag); + taCartellini.updateIdxPosizione(UDC, idxPosizione, CodSoggCurrUser); + } + } + catch (Exception e) + { + logger.lg.scriviLog(string.Format(" | {1} | Errore durante indicazione posizione UDC: {0}", e, clientIp), tipoLog.EXCEPTION); + } + } + } + else + { + logger.lg.scriviLog(string.Format(" | {1} | Errore, cella {0} di destinazione piena!!!", IdxCellaTo, clientIp), tipoLog.ERROR); + } + return answ; + } + /// + /// effettua lo scaricamento di un UDC (x spedizione) + /// + /// Codice UDC + /// Codice posizione UDC finale + /// Codice evento associato allo scaricamento + /// IP del chiamante + /// esito comando + public bool scaricaUDC(string UDC, int IdxPosizUdc, string CodEvento, string clientIp) + { + bool answ = false; + try + { + taPosUdcCorr.stp_scaricaUdc(UDC, IdxPosizUdc, CodEvento, CodSoggCurrUser); + logger.lg.scriviLog(string.Format(" | {0} | Scaricato UDC {1} | posizione {2} | CodEvento {3} | soggetto {4}", clientIp, UDC, IdxPosizUdc, CodEvento, CodSoggCurrUser), tipoLog.INFO); + answ = true; + } + catch (Exception exc) + { + logger.lg.scriviLog(string.Format(" | {2} | Errore in scaricaUDC:{0}{1}", Environment.NewLine, exc, clientIp), tipoLog.EXCEPTION); + } + return answ; + } + /// + /// rettifica la qta di un UDC + /// + /// Codice soggetto/operatore + /// Codice UDC + /// Nuova quantita associata + /// IP del chiamante + /// esito comando + public bool rettificaQtaUDC(string UDC, decimal qta, string clientIp) + { + string CodSoggetto = CodSoggCurrUser; + bool answ = false; + try + { + int fatti = 0; + fatti = taCartellini.updateQty(UDC, CodSoggetto, "U", "UDC_QTY", qta).Rows.Count; + if (fatti > 0) + { + answ = true; + logger.lg.scriviLog(string.Format(" | {0} | Rettifica qta UDC {1} | qta {2} | soggetto {3}", clientIp, UDC, qta, CodSoggetto), tipoLog.INFO); + } + } + catch + { } + return answ; + } + /// + /// verifica se l'UDC indicato sia valido, ovvero esistente + /// + /// + /// + public bool checkUDC(string UDC) + { + bool answ = false; + try + { + answ = (taCartellini.getDetailsUdcByUdc(UDC).Rows.Count > 0); + } + catch + { } + return answ; + } + /// + /// verifica se l'UDC indicato POSSA ESSERE MOVIMENTATO (ovvero NON in LDP in stato "bloccato") + /// + /// + /// + public bool checkUDC_mov(string UDC) + { + bool answ = false; + try + { + answ = (taRigheListePrelievo.getBloccateMovByUdc(UDC).Rows.Count == 0); + } + catch + { } + return answ; + } + /// + /// verifica se l'UDC indicato POSSA ESSERE OGGETTO DI RETTIFICA QTA (ovvero NON in LDP in stato "bloccato") + /// + /// + /// + public bool checkUDC_qty(string UDC) + { + bool answ = false; + try + { + answ = (taRigheListePrelievo.getBloccateQtaByUdc(UDC).Rows.Count == 0); + } + catch + { } + return answ; + } + /// + /// effettua lo scaricamento (da db e da AS400) degli UDC di MP/WIP, registrando l'evento "UDC_CONS" + /// + /// Codice UDC + /// IP del chiamante + /// + public bool scaricaUdcMpWip(string UDC, string clientIp) + { + // inizializzo + bool answ = false; + int idxCellaFrom = 0; + int idxPosizUdcCorr = 0; + int idxPosizUdcDest = 0; + string CodEvento = "UDC_CONS"; + // calcolo posizione UDC corrente (se c'è...) + try + { + // mi serve per posizione udc corrente + DS_magazzino.PosizioneUdcCorrenteRow rigaUdcCorrente = taPosUdcCorr.getByUDC(UDC)[0]; + // il secondo idx che mi serve + idxCellaFrom = rigaUdcCorrente.IdxCella; + } + catch (Exception e) + { + logger.lg.scriviLog(string.Format(" | {3} | Errore in fase di recupero cella per l'UDC {0}: {1}{2}", UDC, Environment.NewLine, e, clientIp), tipoLog.EXCEPTION); + } + // ora calcolo gli altri dati dalla rica ElencoCartellini dell'UDC + try + { + // calcolo posizione destinazione da state machine... + idxPosizUdcCorr = taCartellini.getDetailsUdcByUdc(UDC)[0].IdxPosizione; + idxPosizUdcDest = StateMachine.SM.getIdxPostizioneTo(CodEvento, idxPosizUdcCorr); + } + catch (Exception e) + { + logger.lg.scriviLog(string.Format(" | {3} | Errore in fase di recupero dati posizioni from/to per l'UDC {0}: {1}{2}", UDC, Environment.NewLine, e, clientIp), tipoLog.EXCEPTION); + } + // ora provo ad eseguire! + try + { + if (idxPosizUdcDest != 0) // solo se c'è una posizione da cui poter fare lo scaricamento... + { + // sposto UDC + answ = scaricaUDC(UDC, idxPosizUdcDest, CodEvento, clientIp); + } + } + catch (Exception e) + { + logger.lg.scriviLog(string.Format(" | {3} | Errore in fase di scaricamneto dell'UDC {0}: {1}{2}", UDC, Environment.NewLine, e, clientIp), tipoLog.EXCEPTION); + } + + return answ; + } + /// + /// riattiva un UDC (se permesso) da una posizione consumata ad una valida + /// + /// Codice UDC + /// Cod soggetto utente + /// IP del chiamante + /// + public bool riattivaUdc(string UDC, string CodSoggetto, string clientIp) + { + // init + bool answ = false; + try + { + // salvo dati cartellino PRE + DS_Applicazione.ElencoCartelliniRow rigaUdcPre = DataProxy.obj.taCartellini.stp_getByUdc(UDC)[0]; + GMW_data.DataProxy.obj.taCartellini.stp_riattivaUdc(UDC, CodSoggetto); + logger.lg.scriviLog(string.Format(" | {0} | riattivato UDC {1} | soggetto {2}", clientIp, UDC, CodSoggetto), tipoLog.INFO); + // salvo dati cartellino POST + DS_Applicazione.ElencoCartelliniRow rigaUdcPost = DataProxy.obj.taCartellini.stp_getByUdc(UDC)[0]; + answ = true; + } + catch (Exception e) + { + logger.lg.scriviLog(string.Format(" | {2} | Eccezione: {0}{1}", Environment.NewLine, e, clientIp), tipoLog.EXCEPTION); + } + + return answ; + } + /// + /// sblocca un UDC (se permesso) + /// + /// Codice UDC + /// Cod soggetto utente + /// IP del chiamante + /// + public bool sbloccaUdc(string UDC, string CodSoggetto, string clientIp) + { + // init + bool answ = false; + try + { + GMW_data.DataProxy.obj.taCartellini.stp_sbloccaUdc(UDC, CodSoggetto); + logger.lg.scriviLog(string.Format(" | {0} | sbloccato UDC {1} | soggetto {2}", clientIp, UDC, CodSoggetto), tipoLog.INFO); + answ = true; + } + catch (Exception e) + { + logger.lg.scriviLog(string.Format(" | {2} | Eccezione: {0}{1}", Environment.NewLine, e, clientIp), tipoLog.EXCEPTION); + } + return answ; + } + /// + /// controlla se l'udc della qualità indicato ha benestare qualità ("S") + /// + /// + /// + public bool udcMpHasBenesQual(string UDC) + { + bool answ = false; + try + { + DS_magazzino.RapQualRow rigaRapQual = taRapQual.getByUdc(UDC)[0]; + if (rigaRapQual.BenesQual == "S") + { + answ = true; + } + } + catch + { } + return answ; + } + /// + /// controlla se l'udc deaal qualità indicato è già stato consumato + /// + /// + /// + public bool udcMpIsConsumabile(string UDC) + { + bool answ = false; + try + { + DS_magazzino.ElencoCartelliniRow rigaUDC = taCartellini.getByUdc(UDC)[0]; + if (rigaUDC.IdxPosizione > 0) + { + answ = true; + } + } + catch + { } + return answ; + } + /// + /// fornisce il codice UDC calcolato + /// + /// + /// + /// 2 cifre + /// + /// + public string getComposizioneUDC(string codCS, string flusso, string anno, int numUDC) + { + string answ = ""; + try + { + answ = string.Format("U{0}{1}{2}{3}", codCS, flusso, anno, numUDC.ToString().PadLeft(6, '0')); + } + catch + { } + return answ; + } + /// + /// Fornisce un nuovo codice UDC tipo completo (con pezzi e cod magazzino) a partire dalla richiesta e salva i dati + /// + /// codice anagrafico della bilanca che effettua la richiesta (codice della pesa) + /// codice anagrafico del cliente + /// codice del particolare (articolo) - da anagrafica! + /// Codice dell'impianto + /// Codice dello stampo + /// codice dell'esponente dello stampo + /// Codice figura + /// Data di rif per la dichiarazione + /// Turno di rif per la dichiarazione + /// codice dell'imballo (tipo cassone) - string LIBERO (non facciamo controlli in input) + /// codice dell'operatore + /// codice dell'UDC parent (UDC della tara) + /// peso in kg (0 se non noto) da associare all'UDC come tara del contenitore + /// tipo di dichiarazione (vedere relativa anagrafica consentita, es U=uomo, M=macchina...) + /// numero pezzi associati all'UDC + /// Peso totale rilevato + /// Peso unitario rilevato + /// Codice dello stato del pezzo (da anagrafica: sabbiato, ...) + /// Codice del magazzino in cui inserire l'UDC + /// NOME della posizione default in cui creare UDC + /// cod evento da associare al movimento mag + /// note (opzionali) + /// cod UDC pre-calcolato, se "" verrà calcolato dalla query + /// anno in cui intestare i cartellini, trimma a 2 cifre DX + /// Ip del client + /// UDC del nuovo cartellino per FINITI + public string creaUdc(string CodBilancia, string CodCliente, string Particolare, string CodImpianto, string CodStampo, string Esponente, string Figura, string UDC_Parent, double Tara, string CodImballo, string CodTipoDichiarazione, string CodSoggetto, int Quantita, float PesoTot, float PesoCad, DateTime DataRif, int TurnoRif, string CodStato, int CodMag, string defIdxPosiz, string codEvento, string note, string UDC, int anno, string clientIp) + { + // trim fix + string CodBilanciaTrim = CodBilancia.Trim(); + string CodClienteTrim = CodCliente.Trim(); + string ParticolareTrim = Particolare.Trim(); + string CodImpiantoTrim = CodImpianto.Trim(); + string CodStampoTrim = CodStampo.Trim(); + string EsponenteTrim = Esponente.Trim(); + string FiguraTrim = Figura.Trim(); + string UDC_ParentTrim = UDC_Parent.Trim(); + string CodImballoTrim = CodImballo.Trim(); + string CodTipoDichiarazioneTrim = CodTipoDichiarazione.Trim(); + string CodSoggettoTrim = CodSoggetto.Trim(); + string CodStatoTrim = CodStato.Trim(); + string defIdxPosizTrim = defIdxPosiz.Trim(); + string codEventoTrim = codEvento.Trim(); + string noteTrim = note.Trim(); + string annoTrim = anno.ToString(); + if (annoTrim.Length > 2) + { + annoTrim = annoTrim.Substring(2, 2); + } + // determino se cancellare udcTara + bool doDeleteUdcTara = false; // memLayer.ML.confReadBool("doDeleteUdcTara"); + // ricavo cod company... + string CodCS = "ND"; + string answ = "NA"; + try + { + CodCS = DataProxy.obj.taAnagBil.stp_getByCodBilancia(CodBilanciaTrim)[0].CodCS; + } + catch + { + CodCS = memLayer.ML.confReadString("CodCS"); + } + int IdxPosizione = 0; + if (CodMag > 0) + { + IdxPosizione = CodMag; + } + else + { + IdxPosizione = memLayer.ML.confReadInt(defIdxPosizTrim); + } + // controllo di avere codice soggetto e particolare validi (!="") + if (ParticolareTrim != "" && CodSoggettoTrim != "") + { + // creo nuovo cartellino! + DS_Applicazione.ElencoCartelliniDataTable tabUdc; + // controllo se UDC già definito o meno... + if (UDC != "") + { + // insert nuovo UDC con codice impostato + tabUdc = DataProxy.obj.taCartellini.stp_insNewFull_fixUDC(UDC, CodCS, CodBilanciaTrim, annoTrim, CodClienteTrim, ParticolareTrim, CodImpiantoTrim, CodStampoTrim, EsponenteTrim, FiguraTrim, DataRif, TurnoRif, CodImballoTrim, CodSoggettoTrim, Tara, IdxPosizione, CodTipoDichiarazioneTrim, codEventoTrim, Quantita, PesoTot, PesoCad, CodStatoTrim, UDC_ParentTrim, doDeleteUdcTara, noteTrim); + answ = UDC; + } + else + { + // insert con calcolo UDC + tabUdc = DataProxy.obj.taCartellini.stp_insNewFull(CodCS, CodBilanciaTrim, annoTrim, CodClienteTrim, ParticolareTrim, CodImpiantoTrim, CodStampoTrim, EsponenteTrim, FiguraTrim, DataRif, TurnoRif, CodImballoTrim, CodSoggettoTrim, Tara, IdxPosizione, CodTipoDichiarazioneTrim, codEventoTrim, Quantita, PesoTot, PesoCad, CodStatoTrim, UDC_ParentTrim, doDeleteUdcTara, noteTrim); + } + // leggo la riga + answ = tabUdc[0].UDC; + // loggo tutto! + if (memLayer.ML.confReadInt("_logLevel") > 5) + { + try + { + logger.lg.scriviLog(string.Format(" | {24} | NUOVO cartellino da postazione: {0} | {1} | {2} | {3} | {4} | {5} | {6} | {7} | {8} | {9} | {10} | {11} | {12} | {13} | {14} | {15} | {16} | {17} | {18} | {19} | {20} | {21} | {22} | {23}", answ, CodCS, CodBilanciaTrim, annoTrim, CodClienteTrim, ParticolareTrim, CodImpiantoTrim, CodStampoTrim, EsponenteTrim, FiguraTrim, DataRif, TurnoRif, CodImballoTrim, CodSoggettoTrim, Tara, IdxPosizione, CodTipoDichiarazioneTrim, codEventoTrim, Quantita, PesoTot, PesoCad, CodStatoTrim, UDC_ParentTrim, noteTrim, clientIp), tipoLog.INFO); + } + catch + { } + } + // solo se UDC parent != vuoto... + if (UDC_ParentTrim != "") + { + try + { + // salvo associazione parent-child tra UDC! + DataProxy.obj.taRelazUDC.Insert(UDC_ParentTrim, answ); + } + catch + { } + } + } + else + { + logger.lg.scriviLog(string.Format(" | {24} | CodSoggetto / particolare non validi! tentativo di creazione cartellino come {0} | {1} | {2} | {3} | {4} | {5} | {6} | {7} | {8} | {9} | {10} | {11} | {12} | {13} | {14} | {15} | {16} | {17} | {18} | {19} | {20} | {21} | {22}", CodCS, CodBilanciaTrim, annoTrim, CodClienteTrim, ParticolareTrim, CodImpiantoTrim, CodStampoTrim, EsponenteTrim, FiguraTrim, DataRif, TurnoRif, CodImballoTrim, CodSoggettoTrim, Tara, IdxPosizione, CodTipoDichiarazioneTrim, codEventoTrim, Quantita, PesoTot, PesoCad, CodStatoTrim, UDC_ParentTrim, noteTrim, clientIp), tipoLog.ERROR); + } + return answ; + } + /// + /// associa udc all'UDCParent + /// + /// + /// + /// + public bool associaUdcParent(string codUdc, string codParent) + { + bool answ = false; + try + { + DataProxy.obj.taCartellini.stp_UDC_associaParent(codUdc, codParent); + answ = true; + } + catch + { } + return answ; + } + /// + /// effettua la stampa di un dato UDC + /// + /// Codice UDC + /// stampante specifica (da postazioen o std da webconfig, a cura dell'utente + /// IP del chiamante + /// + public bool stampaUdc(string UDC, string printer, tipoCartellino tipoCart, string clientIp) + { + bool answ = false; + // controllo se esista UDC + if (checkUDC(UDC)) + { + answ = reportPrinter.obj.stampaCartellino(tipoCart, UDC, printer); + logger.lg.scriviLog(string.Format(" | {0} | stampato UDC {1} | stampante {2} | tipo {2}", clientIp, UDC, printer, tipoCart), tipoLog.INFO); + } + return answ; + } + /// + /// restituisce particolare da UDC + /// + /// + /// + public string getParticolareByUDC(string UDC) + { + string answ = ""; + try + { + answ = (taCartellini.getDetailsUdcByUdc(UDC)[0].Particolare); + } + catch + { } + return answ; + } + + #endregion + + #region procedure di verifica e traduzione dati da anagrafiche + + /// + /// Verifica la corrispondenza dati tra RigheListePrelievo ed ElencoCartellini + /// + /// + /// + /// + public bool verificaDatiUdc(string CodLista, string UDC) + { + bool answ = false; + + try + { + DS_magazzino.ElencoListePrelievoDataTable tabellaElenco = taElencoListePrelievo.getByCodLista(CodLista); + DS_magazzino.ElencoListePrelievoRow rigaElenco = tabellaElenco[0]; + + DS_magazzino.ElencoCartelliniDataTable tabellaUDC = taCartellini.getDetailsUdcByUdc(UDC); + DS_magazzino.ElencoCartelliniRow rigaUDC = tabellaUDC[0]; + + // ricavo dati da confrontare - da Lista ricavo particolare/esponente/figura + string particolareLista = rigaElenco.Particolare.Trim(); + string esponenteLista = rigaElenco.Esponente.Trim(); + string figuraLista = rigaElenco.Figura.Trim(); + string codImballoLista = rigaElenco.CodImballo.Trim(); + + //stessi dati da UDC + string particolareUDC = rigaUDC.Particolare.Trim(); + string esponenteUDC = rigaUDC.Esponente.Trim(); + string figuraUDC = rigaUDC.Figura.Trim(); + string codImballoUDC = rigaUDC.CodImballo.Trim(); + + // condizioni di uguaglianza... + bool particolareOk = false; + bool esponenteOk = false; + bool figuraOk = false; + bool codImballoOk = false; + // verifico le condizioni 1 ad 1... + particolareOk = (particolareLista == particolareUDC); + if (esponenteLista == "*") + { + esponenteOk = true; + } + else + { + esponenteOk = (esponenteLista == esponenteUDC); + } + if (figuraLista == "*") + { + figuraOk = true; + } + else + { + figuraOk = (figuraLista == figuraUDC); + } + if (codImballoLista == "*") + { + codImballoOk = true; + } + else + { + codImballoOk = (codImballoLista == codImballoUDC); + } + + // verifica finale del risultato uguaglianza... + answ = (particolareOk && esponenteOk && figuraOk && codImballoOk); + } + catch + { + answ = false; + } + + return answ; + } + /// + /// restituisce codice soggetto dell'user corrente + /// + /// + public string CodSoggCurrUser + { + get + { + // ricavo da session... + string codSoggetto = ""; + try + { + codSoggetto = DataProxy.obj.taSogg2Oper.getByUserDominio(user_std.UtSn.utente, user_std.UtSn.dominio)[0].CodSoggetto; + // salvo in sessione... + memLayer.ML.setSessionVal("CodSoggetto", codSoggetto); + } + catch (Exception e) + { + logger.lg.scriviLog(string.Format("Non sono riuscito a recuperare il codice soggetto per l'utente loggato: {0}, errore {1}{2}", user_std.UtSn.userNameAD, Environment.NewLine, e), tipoLog.ERROR); + } + return codSoggetto; + } + } + /// + /// restituisce l'IdxCella dato il CodCella + /// + /// Codice company/sito + /// + /// + public int IdxCellaByCodCella(string CodCS, string CodCella) + { + int answ = 0; + try + { + answ = taCelle.getByCodCella(CodCella)[0].IdxCella; // NON controllo il CodCS... + } + catch + { } + return answ; + } + /// + /// restituisce il CodCella dato l'IdxCella + /// + /// Codice company/sito + /// + /// + public string CodCellaByIdxCella(string CodCS, int IdxCella) + { + string answ = ""; + try + { + answ = taCelle.getByIdxCella(IdxCella)[0].CodCella; // NON controllo il CodCS... + } + catch + { } + return answ; + } + /// + /// verifica se la cella indicata sia attiva + /// + /// Codice company/sito + /// + /// + public bool cellaAttiva(string CodCS, int IdxCella) + { + bool answ = false; + try + { + answ = taCelle.getByIdxCella(IdxCella)[0].Attiva; // NON controllo il CodCS... + } + catch + { } + return answ; + } + /// + /// verifica se la cella indicata sia piena + /// + /// Codice company/sito + /// + /// + public bool cellaPiena(string CodCS, int IdxCella) + { + bool answ = false; //default non piena = permette caricamento + int idxTipoCella = 0; + bool checkPiena = true; + try + { + // controllo il tipo cella, se richiede check piena (altrimenti do ok...) + idxTipoCella = taCelle.getByIdxCella(IdxCella)[0].IdxTipoCella; + checkPiena = taTipoCella.getByIdx(idxTipoCella)[0].CheckPiena; + } + catch + { } + if (checkPiena) + { + try + { + // faccio controllo effettivo cella piena + answ = taCelle.getByIdxCella(IdxCella)[0].Piena; // NON controllo il CodCS... + } + catch + { } + } + return answ; + } + /// + /// restituisce cod UDC associato ad una cella + /// + /// Codice company/sito + /// + /// + public string udcInCella(string CodCS, int IdxCella) + { + string answ = ""; + try + { + answ = taPosUdcCorr.getByIdxCella(IdxCella)[0].UDC; + } + catch + { } + return answ; + } + /// + /// verifica la cella indicata sia valida, ovvero esistente + /// + /// + /// + public bool checkCella(string CodCella) + { + bool answ = false; + try + { + answ = (taCelle.getByCodCella(CodCella).Rows.Count > 0); + } + catch + { } + return answ; + } + /// + /// verifica se il particolare indicato sia valido, ovvero esistente + /// + /// Codice company/sito + /// + /// + public bool checkParticolare(string CodCS, string Particolare) + { + bool answ = false; + try + { + answ = (taVParticolariOverwiew.getByParticolareFull(Particolare, CodCS).Rows.Count > 0); + } + catch + { } + return answ; + } + /// + /// restituisce il num di UDC che corrispondono alla richiesta indicata + /// + /// + /// + /// + /// + /// + /// + /// + public int numUdcDaPart(string CodCS, string Particolare, string codEsponente, string codFigura, string codImballo, string codTipoLista) + { + int answ = 0; + try + { + answ = taVParticolariOverwiew.getByDatiListaPrelievo(Particolare, CodCS, codEsponente, codFigura, codImballo, codTipoLista)[0].NumUDC; + } + catch + { } + return answ; + } + /// + /// verifica se l'UDC sia riattivabile, ovvero + /// - sia permesso da web.config + /// - l'UDC sia in un mag che permette riattivazione + /// + /// + /// + public bool udcIsRiattivabile(string UDC) + { + bool answ = false; + // se permesso da web config controllo + if (memLayer.ML.confReadBool("riattUdcPermessa")) + { + try + { + // recupero posizione attuale + int idxPosizione = taCartellini.getDetailsUdcByUdc(UDC)[0].IdxPosizione; + // verifico se riattivabile + answ = taAnagPos.getByIdxPosizione(idxPosizione)[0].IsRiattivaEnabled; + } + catch (Exception e) + { + logger.lg.scriviLog(string.Format("Errore nella riattivazione dell'UDC {0}:{1}{2}", UDC, Environment.NewLine, e), tipoLog.EXCEPTION); + } + } + return answ; + } + + #endregion + + #region liste di prelievo + + /// + /// Crea una lista di prelievo andando a prenotare gli UDC del particolare richiesto in logica FIFO + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + public string creaListaPrelievo(string CodCS, string TipoListaPrelievo, string Particolare, string Esponente, string Figura, decimal QtaTot, string CodImballo, string Destinatario, string DestinatarioDescrizione) + { + /* + * - ordini gli UDC per data dal + vecchio (data fusione? direi di si!) + * + * - prenda 1 ad 1 gli UDC, e crei dall'UDC un record in RigheListePrelievo con + * - CodLista (dal record appena generato) + * - UDC (il + vecchio trovato) + * - QTA (dell'UDC) + * - Proposto = 1 (vero) + * - Prelevato = 0 (falso) + * - questo loop di prelievo va eseguito fino a quanto la somam delle qty sia maggiore o uguale alla qty richiesta, o fino a quando siano finiti gli UDC + * + * - potrebbe esser cambiato approccio e si potrebbe fare una query ceh seleziona i + vecchi UDC in numero corretto fin dall'inizio da includere facendo una cosa del tipo + * - calcolo media qty degli UDC papabili x le condizioni dette prima + * - dato il totale ottengo quanti UDC mi servono arrotondando x eccesso (se ho 200 richiesti, media 70, CEIL(200/70) = 3) + * - faccio un SELECT TOP n (qui 3) * FROM ElencoCartellini WHERE ... + * - e questa select la uso x farci un INSERT INTO in RigheListePrelievo + * + * - terminati questi step si aggiorna la lista di prelievo emttendo come qty quella data dalla somma degli UDC davvero proposti + * + * - la stored deve restituire il codice della lista di prelievo e passarla qui, che a sua volta passerà al chiamante il codice della lista + * */ + + string answ = "K"; + + // variabile di tipo datetime per data corrente + DateTime adesso = DateTime.Now; + // non la valorizzo qui ma calcolo ... se non fa verificare + string RagioneSociale = ""; + + // ricavo da session... + string codSoggetto = CodSoggCurrUser; + // proseguo SOLO se ho trovato cod soggetto... + if (codSoggetto != "") + { + // li ricavo da db successivamente + string disegnoGrezzo = ""; + string descParticolare = ""; + string codCliente = ""; + + + // ricavo codCliente + try + { + codCliente = DataProxy.obj.taAnagParticolari.getByParticolare(Particolare)[0].CodCliente; + } + catch { } + + // ricavo disegnoGrezzo + try + { + disegnoGrezzo = DataProxy.obj.taAnagParticolari.getByParticolare(Particolare)[0].DisegnoGrezzo; + } + catch { } + + try + { + descParticolare = DataProxy.obj.taAnagParticolari.getByParticolare(Particolare)[0].DescParticolare; + } + catch { } + + // dato codcliente ricavo la ragione sociale + try + { + RagioneSociale = DataProxy.obj.taAnagClienti.getRagioneSocialeByCodCliente(codCliente)[0].RagSociale; + } + catch { } + + + string codListaAttuale = ""; + try + { + // eseguo soltanto la query (meglio con try catch così se non c'è non dà errore...) + DS_magazzino.ElencoListePrelievoDataTable tabellaElencoListe = taElencoListePrelievo.InsertQuery(string.Format("{0:yy}", adesso), string.Format("{0:MM}", adesso), TipoListaPrelievo, memLayer.ML.confReadString("CodCS"), codCliente, RagioneSociale, codSoggetto, Particolare, descParticolare, disegnoGrezzo, Esponente, Figura, CodImballo, QtaTot, Destinatario, DestinatarioDescrizione); + + // ricavo prima (e unica) riga dalla select + DS_magazzino.ElencoListePrelievoRow rigaElencoListe = tabellaElencoListe[0]; + + // ricavo valore del CodLista attuale appena inserito + codListaAttuale = rigaElencoListe.CodLista; + } + catch (Exception e) + { + logger.lg.scriviLog(string.Format("Eccezione creazione lista prelievo: {0}{1}", Environment.NewLine, e), tipoLog.ERROR); + } + if (codListaAttuale != "") + { + answ = codListaAttuale; + DS_magazzino.ElencoCartelliniDataTable tabellaElencoCartellini = taCartellini.getUdcUnusedOlder(codListaAttuale); + allocaRigheListaPrelievo(QtaTot, codListaAttuale, tabellaElencoCartellini); + } + } + return answ; + } + /// + /// Crea una lista di prelievo andando a prenotare gli UDC del particolare richiesto in logica FIFO + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + public string creaListaPrelievoSmart(string CodCS, string TipoListaPrelievo, string Particolare, string Esponente, string Figura, decimal QtaTot, string CodImballo, string Destinatario, string DestinatarioDescrizione) + { + string answ = "K"; + + // variabile di tipo datetime per data corrente + DateTime adesso = DateTime.Now; + // non la valorizzo qui ma calcolo ... se non fa verificare + string RagioneSociale = ""; + + // ricavo da session... + string codSoggetto = CodSoggCurrUser; + // proseguo SOLO se ho trovato cod soggetto... + if (codSoggetto != "") + { + // li ricavo da db successivamente + string disegnoGrezzo = ""; + string descParticolare = ""; + string codCliente = ""; + + + // ricavo codCliente + try + { + codCliente = DataProxy.obj.taAnagParticolari.getByParticolare(Particolare)[0].CodCliente; + } + catch { } + + // ricavo disegnoGrezzo + try + { + disegnoGrezzo = DataProxy.obj.taAnagParticolari.getByParticolare(Particolare)[0].DisegnoGrezzo; + } + catch { } + + try + { + descParticolare = DataProxy.obj.taAnagParticolari.getByParticolare(Particolare)[0].DescParticolare; + } + catch { } + + // dato codcliente ricavo la ragione sociale + try + { + RagioneSociale = DataProxy.obj.taAnagClienti.getRagioneSocialeByCodCliente(codCliente)[0].RagSociale; + } + catch { } + + + string codListaAttuale = ""; + try + { + // eseguo soltanto la query (meglio con try catch così se non c'è non dà errore...) + DS_magazzino.ElencoListePrelievoDataTable tabellaElencoListe = taElencoListePrelievo.InsertQuery(string.Format("{0:yy}", adesso), string.Format("{0:MM}", adesso), TipoListaPrelievo, memLayer.ML.confReadString("CodCS"), codCliente, RagioneSociale, codSoggetto, Particolare, descParticolare, disegnoGrezzo, Esponente, Figura, CodImballo, QtaTot, Destinatario, DestinatarioDescrizione); + + // ricavo prima (e unica) riga dalla select + DS_magazzino.ElencoListePrelievoRow rigaElencoListe = tabellaElencoListe[0]; + + // ricavo valore del CodLista attuale appena inserito + codListaAttuale = rigaElencoListe.CodLista; + } + catch (Exception e) + { + logger.lg.scriviLog(string.Format("Eccezione creazione lista prelievo: {0}{1}", Environment.NewLine, e), tipoLog.ERROR); + } + if (codListaAttuale != "") + { + answ = codListaAttuale; + } + } + return answ; + } + /// + /// indica come attivata in carico di una lista di prelievo + /// + /// Codice company/sito + /// codice della lista di prelievo + /// cod operatore carrellista + /// + public esitoOperazione attivaListaPrelievo(string CodCS, string CodLista, string CodSoggetto) + { + // da chiamare quando clicco e inizio lista prelievo .... vedi sopra + esitoOperazione answ = esitoOperazione.errore; + try + { + // la query recupera la lista in base al CodLista + DS_magazzino.ElencoListePrelievoDataTable tabella = taElencoListePrelievo.getByCodLista(CodLista); + DS_magazzino.ElencoListePrelievoRow riga = tabella[0]; + + // se la lista esiste... + if (tabella.Rows.Count > 0) + { + // se la lista è ancora non completata + if (riga.CodStatoLista == (int)statoLista.bozza) + { + taElencoListePrelievo.updateStato(CodSoggetto, CodLista, (int)statoLista.generata); + answ = esitoOperazione.ok; + } + // se è solo iniziata permetto di riportarla a generata... + else if (riga.CodStatoLista == (int)statoLista.iniziata) + { + taElencoListePrelievo.updateStato(CodSoggetto, CodLista, (int)statoLista.generata); + answ = esitoOperazione.ok; + } + // se è già completata dà errore + else + { + answ = esitoOperazione.errore_readOnly; + } + } + // se la lista non esiste dai errore + else + { + answ = esitoOperazione.errore; + } + } + catch + { } + return answ; + } + /// + /// indica presa in carico di una lista di prelievo + /// + /// Codice company/sito + /// codice della lista di prelievo + /// cod operatore carrellista + /// + public esitoOperazione iniziaListaPrelievo(string CodCS, string CodLista, string CodSoggetto) + { + memLayer.ML.setSessionVal("activeTask", string.Format("Lista Prelievo {0}", CodLista)); + memLayer.ML.setSessionVal("CodListaAttiva", CodLista, true); + // da chiamare quando clicco e inizio lista prelievo .... vedi sopra + esitoOperazione answ = esitoOperazione.errore; + + try + { + // la query recupera la lista in base al CodLista + DS_magazzino.ElencoListePrelievoDataTable tabella = taElencoListePrelievo.getByCodLista(CodLista); + DS_magazzino.ElencoListePrelievoRow riga = tabella[0]; + + // se la lista esiste... + if (tabella.Rows.Count > 0) + { + // se la lista è ancora non completata + if (riga.CodStatoLista == (int)statoLista.generata) + { + taElencoListePrelievo.updateStato(CodSoggetto, CodLista, (int)statoLista.iniziata); + answ = esitoOperazione.ok; + } + // se è già completata o iniziata dà errore + else + { + answ = esitoOperazione.errore_readOnly; + } + } + // se la lista non esiste dai errore + else + { + answ = esitoOperazione.errore; + } + } + catch + { } + return answ; + } + /// + /// indica come completata (da parte del magazziniere) una lista di prelievo + /// + /// Codice company/sito + /// codice della lista di prelievo + /// cod operatore carrellista + /// IP del client + /// + public esitoOperazione completaListaPrelievo(string CodCS, string CodLista, string CodSoggetto, string clientIp) + { + // da chiamare quando clicco e inizio lista prelievo .... vedi sopra + esitoOperazione answ = esitoOperazione.errore; + try + { + // la query recupera la lista in base al CodLista + DS_magazzino.ElencoListePrelievoDataTable tabella = taElencoListePrelievo.getByCodLista(CodLista); + DS_magazzino.ElencoListePrelievoRow riga = tabella[0]; + + // se la lista esiste... + if (tabella.Rows.Count > 0) + { + // se la lista è ancora non completata + if (riga.CodStatoLista == (int)statoLista.iniziata) + { + // controllo se ALMENO un UDC sia stsato prelevato + int numUdcPrelevati = taRigheListePrelievo.getByCodListaPrelevate(CodLista).Rows.Count; + if (numUdcPrelevati > 0) + { + // ricavo il codtipolista + string codTipoListaAttuale = riga.CodTipoLista; + + //leggo da tipoLista prelievo alcuni dati (es codcella di destinazione) + DS_magazzino.TipoListaPrelievoDataTable tabellaTipoLista = taTipoListaPrelievo.getByCodTipoLista(codTipoListaAttuale); + DS_magazzino.TipoListaPrelievoRow rigaTipoLista = tabellaTipoLista[0]; + + // leggo da righe lista prelievo il dato udc che mi serve + DS_magazzino.RigheListePrelievoDataTable tabellaRigheListaPrelievo = taRigheListePrelievo.getByCodListaPrelevate(CodLista); + DS_magazzino.RigheListePrelievoRow rigaListaPrelievo = tabellaRigheListaPrelievo[0]; + + // leggo il codice della cella... + string codCellaDestAttuale = rigaTipoLista.CodCella; + // lo trasformo x avere la cella di destinazione... + int idxCellaTo = taCelle.getByCodCella(codCellaDestAttuale)[0].IdxCella; + // sposto ("metto a terra") gli UDC + foreach (DS_magazzino.RigheListePrelievoRow row in tabellaRigheListaPrelievo.Rows) + { + // ricavo il codice UDC... + string _UDC = row.UDC; + // sposto UDC + spostaUDC(CodCS, _UDC, idxCellaTo, false, clientIp); + // dopo aver spostato UDC sistemo eventuali Righe di Prelievo x lo stesso UDC pending... + taRigheListePrelievo.stp_RLP_sbloccaNonPrelevate(CodLista, _UDC); + } + // libero le righe non prelevate... + taRigheListePrelievo.stp_RLP_eliminaNonPrelevate(CodLista); + // aggiorno stato lista + taElencoListePrelievo.updateStato(CodSoggetto, CodLista, (int)statoLista.completata); + answ = esitoOperazione.ok; + memLayer.ML.emptySessionVal("CodListaAttiva"); + memLayer.ML.emptySessionVal("activeTask"); + } + else //nessun UDC prelevato + { + answ = esitoOperazione.errore_noUdc; + } + } + // se è già completata o NON iniziata dà errore + else + { + answ = esitoOperazione.errore_readOnly; + } + } + // se la lista non esiste dai errore + else + { + answ = esitoOperazione.errore; + } + } + catch + { } + return answ; + } + /// + /// Effettua lo scaricamento della lista di prelievo indicata, ovvero + /// - toglie dalle posizioni di magazzino tutti gli UDC indicati come prelevati (liberando tali posizioni) + /// - assegna tutti gli UDC prelevati alla cella indicata per il tipo di lista di prelievo interessata + /// - elimina eventuali righe di prelievo della lista per UDC non effettivamente prelevate + /// - chiude la lista di prelievo (completata = 1) + /// + /// Codice company/sito + /// codice della lista di prelievo + /// cod operatore carrellista + /// IP del client + /// esito comando + public esitoOperazione scaricaListaPrelievo(string CodCS, string CodLista, string CodSoggetto, string clientIp) + { + /* + * Questa funzione serve ALLA FINE delle operazioni di prelievo, x chiudere la lista di prelievo + * - controllo se la lista esiste, ed è ancora NON completata + * - se risulta già completata errore xché è "readOnly" la lista essendo già completata (vedere l'enum in fondo al codice) + * - se la lista è ok + * - leggo da tipoLista prelievo alcuni dati (es codcella di destinazione) + * - sposto TUTTI gli UDC delle righeListaPrelievo, da posizione attuale a posizione indicata da tipo lista + * (quindi da codCella --> IdxCella --> spostamento + * indico la lista come completata = 1 (true) + * */ + // setup eventuali valori x rettifica + bool fatto = false; + + esitoOperazione answ = esitoOperazione.errore; + int trovate = 0; + DS_magazzino.ElencoListePrelievoDataTable tabella; + DS_magazzino.ElencoListePrelievoRow riga; + try + { + tabella = taElencoListePrelievo.getByCodLista(CodLista); + riga = tabella[0]; + trovate = tabella.Rows.Count; + + // se la lista esiste... + if (trovate > 0) + { + // se la lista è completata + if (riga.CodStatoLista == (int)statoLista.completata) + { + // ricavo il codtipolista + string codTipoListaAttuale = riga.CodTipoLista; + + //leggo da tipoLista prelievo alcuni dati (es codcella di destinazione) + DS_magazzino.TipoListaPrelievoDataTable tabellaTipoLista = taTipoListaPrelievo.getByCodTipoLista(codTipoListaAttuale); + DS_magazzino.TipoListaPrelievoRow rigaTipoLista = tabellaTipoLista[0]; + + // leggo da righe lista prelievo il dato udc che mi serve + DS_magazzino.RigheListePrelievoDataTable tabellaRigheListaPrelievo = taRigheListePrelievo.getByCodListaPrelevate(CodLista); + DS_magazzino.RigheListePrelievoRow rigaListaPrelievo = tabellaRigheListaPrelievo[0]; + + // leggo il codice della cella... + string CodEvento = rigaTipoLista.CodEvento; + // posizione corrente dell'UDC + int idxPosizUdcCorr = 0; + // posizioen di destinazione per UDC corrente + int idxPosizUdcDest = 0; + // cella di provenienza + int idxCellaFrom = 0; + // cella di destinazione + int idxCellaTo = 0; + /* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + * ora controllo se la lista sia DAVVERO scaricabile, cioè + * - destinatario IMPOSTATO + * - TUTTE le righe hanno una posizione di destinazione valida, + * OVVERO tutte le righe hanno nella tab trans posiz eventi una riga valida + * ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */ + bool listaScaricabile = true; + if (riga.Destinatario == "") + { + listaScaricabile = false; + } + else + { + foreach (DS_magazzino.RigheListePrelievoRow row in tabellaRigheListaPrelievo.Rows) + { + // ricavo il codice UDC... + string UDC = row.UDC; + // mi serve per posizione udc corrente + DS_magazzino.PosizioneUdcCorrenteRow rigaUdcCorrente = taPosUdcCorr.getByUDC(UDC)[0]; + // calcolo posizione destinazione da state machine... + idxPosizUdcCorr = taCartellini.getDetailsUdcByUdc(UDC)[0].IdxPosizione; + idxPosizUdcDest = StateMachine.SM.getIdxPostizioneTo(CodEvento, idxPosizUdcCorr); + if (idxPosizUdcDest == 0) + { + listaScaricabile = false; + } + } + } + // SE la lista è scaricabile procedo... + if (listaScaricabile) + { + // scarico i vari UDC dal magazzino (come posizione corrente) + foreach (DS_magazzino.RigheListePrelievoRow row in tabellaRigheListaPrelievo.Rows) + { + // ricavo il codice UDC... + string UDC = row.UDC; + // mi serve per posizione udc corrente + DS_magazzino.PosizioneUdcCorrenteRow rigaUdcCorrente = taPosUdcCorr.getByUDC(UDC)[0]; + // il secondo idx che mi serve + idxCellaFrom = rigaUdcCorrente.IdxCella; + // calcolo posizione destinazione da state machine... + idxPosizUdcCorr = taCartellini.getDetailsUdcByUdc(UDC)[0].IdxPosizione; + idxPosizUdcDest = StateMachine.SM.getIdxPostizioneTo(CodEvento, idxPosizUdcCorr); + // a questo punto mi calcolo se c'è una cella di destinazione associata + try + { + idxCellaTo = MagClass.magazzino.taCelle.getByCodMag(CodCS, idxPosizUdcDest.ToString())[0].IdxCella; + } + catch + { + idxCellaTo = 0; + } + // sposto UDC, e così facendo genero movimenti batch x AS400 + fatto = scaricaUDC(UDC, idxPosizUdcDest, CodEvento, clientIp); + // sposto nella PRIMA cella di destinazione associata l'UDC + if (idxCellaTo > 0) + { + spostaUDC(CodCS, UDC, idxCellaTo, false, clientIp); + } + if (fatto) + { + // dopo aver scaricato UDC sistemo eventuali Righe di Prelievo x lo stesso pending... + magazzino.taRigheListePrelievo.stp_RLP_sbloccaNonPrelevate(CodLista, UDC); + } + } + // segna come scaricata la lista prelievo + taElencoListePrelievo.updateStato(CodSoggetto, CodLista, (int)statoLista.scaricata); + // restituisce ok + answ = esitoOperazione.ok; + // ora eseguo stored x copiare in altra tabella (quella per AS...) - SOLO SE NON E' prelievo fusi... + taElencoListePrelievo.stp_LP_exportToAs400(CodLista); + } + else + { + answ = esitoOperazione.errore_nonScaricabile; + } + } + // se è già completata dà errore + else + { + answ = esitoOperazione.errore_readOnly; + } + } + // se la lista non esiste dai errore + else + { + answ = esitoOperazione.errore; + } + } + catch + { } + return answ; + } + /// + /// resetta (riporta in bozza) una lista di prelievo, spostando gli UDC alla posizione standard precedente + /// + /// Codice company/sito + /// codice della lista di prelievo + /// cod operatore carrellista + /// IP del client + /// + public esitoOperazione resetListaPrelievo(string CodCS, string CodLista, string CodSoggetto, string clientIp) + { + memLayer.ML.emptySessionVal("CodListaAttiva"); + memLayer.ML.emptySessionVal("activeTask"); + // da chiamare quando clicco e inizio lista prelievo .... vedi sopra + esitoOperazione answ = esitoOperazione.errore; + // posizione corrente dell'UDC + int idxPosizUdcCorr = 0; + int idxPosizioneTo = 0; + int idxCellaTo = 0; + try + { + // la query recupera la lista in base al CodLista + DS_magazzino.ElencoListePrelievoDataTable tabella = taElencoListePrelievo.getByCodLista(CodLista); + DS_magazzino.ElencoListePrelievoRow riga = tabella[0]; + + // se la lista esiste... + if (tabella.Rows.Count > 0) + { + // ricontrollo che la lista sia completata + if (riga.CodStatoLista >= (int)statoLista.completata) + { + // calcolo tipo lista di prelievo + string codTipoListaAttuale = riga.CodTipoLista; + // dal tipo lista determino l'evento + string codEvento = taTipoListaPrelievo.getByCodTipoLista(codTipoListaAttuale)[0].CodEvento; + // leggo da righe lista prelievo il dato udc che mi serve + DS_magazzino.RigheListePrelievoDataTable tabellaRigheListaPrelievo = taRigheListePrelievo.getByCodListaPrelevate(CodLista); + DS_magazzino.RigheListePrelievoRow rigaListaPrelievo = tabellaRigheListaPrelievo[0]; + + // Modifica x gestioen "blocco " da stato LDP: PRIMA passo a bozza... + taElencoListePrelievo.updateStato(CodSoggetto, CodLista, (int)statoLista.bozza); + + // sposto ("metto a terra") gli UDC + string _UDC = ""; + foreach (DS_magazzino.RigheListePrelievoRow row in tabellaRigheListaPrelievo.Rows) + { + // ricavo il codice UDC... + _UDC = row.UDC; + // posizione corrente + idxPosizUdcCorr = taCartellini.getDetailsUdcByUdc(_UDC)[0].IdxPosizione; + // calcolo posizione destinazione da state machine... + idxPosizioneTo = StateMachine.SM.taTTPE.getByEventoPosizione(codEvento, idxPosizUdcCorr)[0].IdxPosizioneTo; + // lo trasformo x avere la cella di destinazione... + if (idxPosizUdcCorr < 0) + { + // se parto da cella negativa (consumato) calcolo destinazione da cella TO... + idxCellaTo = taCelle.getFirstByPosizione(idxPosizioneTo.ToString())[0].IdxCella; + } + else + { + try + { + // altrimenti uso la posizione corrente (NON faccio vero spostamento... + idxCellaTo = taCelle.getFirstByPosizione(idxPosizUdcCorr.ToString())[0].IdxCella; + } + catch + { + // se parto da cella negativa (consumato) calcolo destinazione da cella TO... + idxCellaTo = taCelle.getFirstByPosizione(idxPosizioneTo.ToString())[0].IdxCella; + } + } + // sposto UDC + spostaUDC(CodCS, _UDC, idxCellaTo, false, clientIp); + } + // indico le righe come NON prelevate... + taRigheListePrelievo.stp_RLP_resetPrelevate(CodLista); + //// aggiorno stato lista che torna a BOZZA + //taElencoListePrelievo.updateStato(CodSoggetto, CodLista, (int)statoLista.bozza); + answ = esitoOperazione.ok; + logger.lg.scriviLog(string.Format(" | {0} | resettata lista di prelievo UDC {1} | utente {2} | tipo {2}", clientIp, CodLista, CodSoggetto), tipoLog.INFO); + } + // se è già completata o NON iniziata dà errore + else + { + answ = esitoOperazione.errore_readOnly; + } + } + // se la lista non esiste dai errore + else + { + answ = esitoOperazione.errore; + } + } + catch (Exception e) + { + logger.lg.scriviLog(string.Format(" | {1} | Errore in reset lista prelievo: {0}", e, clientIp), tipoLog.EXCEPTION); + } + return answ; + } + + + /// + /// Conferma che un dato UDC è stato prelevato per soddisfare la lista di prelievo ed aggiorna o aggiunge riga in RigheListePrelievo + /// + /// codice della lista di prelievo + /// Codice UDC + /// esito comando + public esitoOperazione confermaUdcPrelevatoPerLista(string CodLista, string UDC) + { + esitoOperazione answ = esitoOperazione.errore; + + // verifico che i dati corrispondano con il metodo relativo (vedi sopra) + bool datiUdcOk = verificaDatiUdc(CodLista, UDC); + + if (datiUdcOk) + { + // richiamo stored di upsert + taRigheListePrelievo.upsertPrelevato(CodLista, UDC); + // ...dò risposta positiva + answ = esitoOperazione.ok; + + } + else + { + // altrimenti dò errore mismatch e non proseguo + return answ = esitoOperazione.errore_mismatch; + } + + return answ; + } + /// + /// annulla il prelievo di un UDC, aggiornando RigheListePrelievo (solo preventivato...) + /// + /// codice della lista di prelievo + /// Codice UDC + /// esito comando + public esitoOperazione annullaUdcPrelevatoPerLista(string CodLista, string UDC) + { + esitoOperazione answ = esitoOperazione.errore; + + /* + * Questa funzione va chiamata da web o da terminalino ogni volta che si fa un annullamento di avvenuto prelievo, ovvero il carrellista ha ANNULLATO un prelievo di un UDC associato ad una lista + * + * - in primis controllo: esiste questa riga di prelievo udc/lista? + * - se i dati non corrispondono esco e mando falso --> vedere l'enum in fondo al codice ed + * usare esitoOperazione.errore_mismatch + * - se i dati corrispondono allora + * - cerco riga e tolgo check come prelevato + * - se tutto ok passo esito ok + * + * */ + try + { + // ricavo dati + DS_magazzino.RigheListePrelievoDataTable tabella = taRigheListePrelievo.getByCodLista(CodLista); + DS_magazzino.RigheListePrelievoRow riga = tabella[0]; + + // se i dati esistono procedo - eseguo stored che setta non prelevato = false per la riga selezionata + if (tabella.Rows.Count > 0) + { + taRigheListePrelievo.setAnnullaUdcPrelevato(CodLista, UDC); + answ = esitoOperazione.ok; + } + + else + { + answ = esitoOperazione.errore_mismatch; + } + } + catch + { } + return answ; + } + /// + /// Rigenera una Lista di prelievo togliendo gli UDC non ancora prelevati rimettendo in logica FIFO gli UDC "liberi" disponibili + /// + /// codice della lista di prelievo + /// esito comando + public esitoOperazione scambiaUdcPerLista(string CodLista) + { + esitoOperazione answ = esitoOperazione.errore; + + /* + * Questa funzione va chiamata da web o da terminalino ogni volta che si fa una richiesta di cambio per un UDC già prelevato, ovvero un altro carrellista prelevato un UDC associato alla mia lista corrente - rigenera UDC da prelevare + * */ + try + { + // ricavo dati + DS_magazzino.ElencoListePrelievoRow riga = taElencoListePrelievo.getByCodLista(CodLista)[0]; + // svuoto PRIMA gli UDC non prelevati + taRigheListePrelievo.stp_RigheListePrelievo_eliminaNonPrelevate(CodLista); + // rigenero righe UDC da prelevare + DS_magazzino.ElencoCartelliniDataTable tabellaElencoCartellini = taCartellini.getUdcUnusedOlder(CodLista); + allocaRigheListaPrelievo(riga.QtaTot, CodLista, tabellaElencoCartellini); + } + catch + { } + return answ; + } + /// + /// Aggiunge UN SOLO UDC in logica FIFO tra gli UDC "liberi" disponibili + /// + /// codice della lista di prelievo + /// esito comando + public esitoOperazione addUdcPerLista(string CodLista) + { + esitoOperazione answ = esitoOperazione.errore; + try + { + // ricavo dati + DS_magazzino.ElencoListePrelievoRow riga = taElencoListePrelievo.getByCodLista(CodLista)[0]; + // rigenero righe UDC da prelevare + DS_magazzino.ElencoCartelliniDataTable tabellaElencoCartellini = new DS_magazzino.ElencoCartelliniDataTable(); + // aggiungo l'UDC + vecchio (se c'è) + try + { + tabellaElencoCartellini.ImportRow(taCartellini.getUdcUnusedOlder(CodLista)[0]); + } + catch (Exception e) + { + logger.lg.scriviLog(String.Format("Errore in aggiunta UDC a lista prelievo: {0}", e), tipoLog.EXCEPTION); + } + allocaRigheListaPrelievo(riga.QtaTot, CodLista, tabellaElencoCartellini); + } + catch + { } + return answ; + } + /// + /// vero/falso che l'utent eha una lista di prelievo attiva + /// + public bool userHasActiveLP + { + get + { + bool answ = false; + try + { + answ = (MagClass.magazzino.taElencoListePrelievo.getByCodSogg(CodSoggCurrUser).Rows.Count > 0); + } + catch + { } + return answ; + } + } + /// + /// codice della lista di prelievo attiva + /// + public string codListaAttivaUtente + { + get + { + string answ = ""; + try + { + answ = MagClass.magazzino.taElencoListePrelievo.getByCodSogg(CodSoggCurrUser)[0].CodLista; + } + catch + { } + return answ; + } + } + /// + /// + /// + /// + /// + public bool listaPrelevabile(string CodLista) + { + bool answ = false; + try + { + answ = (MagClass.magazzino.taElencoListePrelievo.getByCodLista(CodLista).Select("CodStatoLista = 1").Length > 0); // filtro su stato = 1 (può esser presa in carico) + } + catch + { } + return answ; + } + + #endregion + + #region area rapporti qualità + + /// + /// Crea gli UDC da associare ai cartellini dei rapporti qualità deliberati, li associa e se richiesto lancia stampa + /// + /// identificativo rapp qualità + /// true/false se stampare + /// IP del client + /// + public bool creaUdcDaRappQualita(int numRapQual, string note, bool doPrint, string printerName, string clientIp) + { + bool answ = false; + string codStato = ""; + // ottengo elenco righe dei cartellini del rapp qualità indicato SENZA righe UDC + DS_magazzino.RapQualDataTable tabRapQual = taRapQual.getByNumRapQualNoUdc(numRapQual); + // per prima cosa verifico che ci sia il rapporto di qualità in esame e che abbia righe da associare ad UDC + if (tabRapQual.Rows.Count > 0) + { + string UDC = ""; + foreach (DS_magazzino.RapQualRow rqRow in tabRapQual) + { + // se non ha già un UDC... e se NON E' stato già scaricato... + if (rqRow.UDC == "" && rqRow.LegaScaric.ToUpper() == "N") + { + answ = true; + // controllo se sia con benestare, se "N" imposto con stato Non accettata (da web.config) altrimenti con stato MP ok... + if (rqRow.BenesQual == "N") + { + codStato = memLayer.ML.confReadString("CodStatoMP-NA"); + } + else + { + codStato = memLayer.ML.confReadString("CodStatoMP"); + } + // per ogni riga creo un UDC + DS_Applicazione.ElencoCartelliniDataTable tabCartellini = DataProxy.obj.taCartellini.stp_insNewFull(memLayer.ML.confReadString("CodCS"), memLayer.ML.confReadString("BilanciaMP"), string.Format("{0:yy}", DateTime.Now), rqRow.CodFor, rqRow.CodLega, "", "", "", "", DateTime.Now, 0, memLayer.ML.confReadString("CodImballoMP"), CodSoggCurrUser, 0, memLayer.ML.confReadInt("IdxPosizMP"), "M", "UDC_MP", rqRow.Qta, Convert.ToDouble(rqRow.Qta), 1, codStato, rqRow.ProgUDC, false, note); // UDC_MP HARD CODED!!! + try + { + UDC = tabCartellini[0].UDC; + // lo associo! + taRapQual.stp_associaUDC(rqRow.ProgUDC, UDC); + } + catch (Exception e) + { + logger.lg.scriviLog(string.Format(" | {3} | Non sono riuscito a creare associazione UDC / rapp qual: UDC creato: {0}, progRappQual: {1}, eccezione: {2}", UDC, rqRow.ProgUDC, e, clientIp), tipoLog.EXCEPTION); + } + try + { + if (rqRow.BenesQual == "N") + { + // se non c'è benestare cambio posizione ad un altra cella, la prima (terra) del cod blocco MP - N.C. + int idxPosizTo = taCelle.getByCodMag(memLayer.ML.confReadString("CodCS"), memLayer.ML.confReadString("CodMagMP_NA"))[0].IdxCella; + magazzino.spostaUDC(memLayer.ML.confReadString("CodCS"), UDC, idxPosizTo, true, clientIp); + } + } + catch (Exception e) + { + logger.lg.scriviLog(string.Format(" | {3} | Non sono riuscito a spostare UDC non conforme: UDC creato: {0}, progRappQual: {1}, eccezione: {2}", UDC, rqRow.ProgUDC, e, clientIp), tipoLog.EXCEPTION); + } + } + } + + // se devo stampare lancio stampa... + if (doPrint) + { + stampaUdcDaRappQualita(numRapQual, printerName); + } + } + return answ; + } + /// + /// aggiorna le note di un RDQ + /// + /// + /// + public bool updateNoteRDQ(int numRapQual, string note) + { + bool answ = false; + try + { + DataProxy.obj.taRQN.stp_UDC_updateNoteByRQ(numRapQual, note, CodSoggCurrUser); + answ = true; + } + catch + { } + return answ; + } + /// + /// effettua la (ri)stampa di TUTTI gli UDC dato un rapporto di qualità + /// + /// identificativo rapp qualità + /// + public bool stampaUdcDaRappQualita(int numRapQual, string printerName) + { + bool answ = false; + // ottengo elenco righe dei cartellini del rapp qualità indicato SENZA righe UDC + DS_magazzino.RapQualDataTable tabRapQual = taRapQual.getByNumRapQual(numRapQual); + // per prima cosa verifico che ci sia il rapporto di qualità in esame e che abbia righe da associare ad UDC + if (tabRapQual.Rows.Count > 0) + { + answ = true; + foreach (DS_magazzino.RapQualRow rqRow in tabRapQual) + { + answ = reportPrinter.obj.stampaCartellino(tipoCartellino.cartMP, rqRow.UDC, printerName); + } + } + return answ; + } + + + #endregion + + #endregion + + } +} + +public enum esitoOperazione +{ + ok, // tutto ok, come true + errore, // non è andata, errore generico + errore_mismatch, // errore x mancanza corrispondenza tra dati (particolare-esponente-figura di lista ed UDC, ad esempio) + errore_readOnly, // errore xché il dato è read only o bloccato (es lista di prelievo già completata, NON posso riprenderla in carico) + errore_posUDC, // errore perché UDC è in una posizione che non consente l'operazione indicata + errore_noUdc, // errore non ci sono UDC + errore_nonScaricabile // errore perché destinatario mancante o UDC con posizione non gestita da tab transiz pos eventi +} + +public enum statoLista +{ + bozza = 0, + generata, + iniziata, + completata, + scaricata +} \ No newline at end of file diff --git a/GMW_data/Odette.cs b/GMW_data/Odette.cs new file mode 100644 index 00000000..21d00bdf --- /dev/null +++ b/GMW_data/Odette.cs @@ -0,0 +1,655 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using SteamWare; + + +namespace GMW_data +{ + /// + /// fa da proxy singleton x gli oggetti legati ai cartellini ODETTE + /// + public class Odette + { + #region area table adapters + + public DS_OdetteTableAdapters.OdetteTableAdapter taOdette; + public DS_OdetteTableAdapters.BORI202JTableAdapter taBORI; + public DS_OdetteTableAdapters.stp_OdetteStatoCreateTableAdapter taOdCreate; + + /// + /// init dei table adapters + /// + protected void initTA() + { + taOdette = new GMW_data.DS_OdetteTableAdapters.OdetteTableAdapter(); + taBORI = new GMW_data.DS_OdetteTableAdapters.BORI202JTableAdapter(); + taOdCreate = new GMW_data.DS_OdetteTableAdapters.stp_OdetteStatoCreateTableAdapter(); + } + /// + /// effettua setup dei connection strings da web.config delal singola applicazione + /// + protected virtual void setupConnectionStringBase() + { + string connString = memLayer.ML.confReadString("GMWConnectionString"); + // connections strings del db + taOdette.Connection.ConnectionString = connString; + taBORI.Connection.ConnectionString = connString; + taOdCreate.Connection.ConnectionString = connString; + } + #endregion + + protected Odette() + { + initTA(); + setupConnectionStringBase(); + } + + #region area protected + + /// + /// carica le label di lingua su un etichetta odette (che deve già esistere) + /// + /// + /// + /// + protected bool caricaEtichetteLinguaPerOdette(string UDC, string lingua) + { + bool answ = false; + // controllo se etichetta odette esiste... + if (taOdette.getByUdc(UDC).Rows.Count > 0) + { + // carico le mie labels tradotte... + string Campo1_1 = traduci("Campo1_1", lingua); + string Campo2_1 = traduci("Campo2_1", lingua); + string Campo3_1 = traduci("Campo3_1", lingua); + string Campo4_1 = traduci("Campo4_1", lingua); + string Campo5_1 = traduci("Campo5_1", lingua); + string Campo6_1 = traduci("Campo6_1", lingua); + string Campo7_1 = traduci("Campo7_1", lingua); + string Campo8_1 = traduci("Campo8_1", lingua); + string Campo9_1 = traduci("Campo9_1", lingua); + string Campo10_1 = traduci("Campo10_1", lingua); + string Campo11_1_1 = traduci("Campo11_1_1", lingua); + string Campo11_2_1 = traduci("Campo11_2_1", lingua); + string Campo12_1 = traduci("Campo12_1", lingua); + string Campo13_1 = traduci("Campo13_1", lingua); + string Campo14_1 = traduci("Campo14_1", lingua); + string Campo15_1 = traduci("Campo15_1", lingua); + string Campo16_1 = traduci("Campo16_1", lingua); + // effettuo update! + taOdette.updateLingua(UDC, Campo1_1, Campo2_1, Campo3_1, Campo4_1, Campo5_1, Campo6_1, Campo7_1, Campo8_1, Campo9_1, Campo10_1, Campo11_1_1, Campo11_2_1, Campo12_1, Campo13_1, Campo14_1, Campo15_1, Campo16_1); + } + else + { + logger.lg.scriviLog(string.Format("Attenzione! etichetta odette non trovata per l'UDC {0}", UDC), tipoLog.ERROR); + } + return answ; + } + /// + /// verifica una etichetta odette e salva in db il valore di check x consistenza dei dati + /// + /// + /// + protected bool updateStatoOdette(string UDC) + { + bool answ = false; + try + { + // effettuo verifiche sulla riga odette... + // !!!FARE!!! + answ = true; + taOdette.setStato(UDC, answ); + } + catch + { } + return answ; + } + /// + /// carica i dati per l'etichetta Odette provenienti dalla bolla indicata + /// + /// + /// + /// + /// codice bolla + /// data bolla formato YYYYMMDD + /// + /// + protected bool caricaDatiBollaEtichettaOdette(string UDC, string RaggMag, string GrpBolla, decimal numBolla, decimal dataBolla, string particolare) + { + bool answ = false; + string ragSocCli = ""; + string indirCli = ""; + string capCittCli = ""; + string destP1 = ""; + string destP2 = ""; + string destP3 = ""; + string destinatario = ""; + decimal peso = 0; + string pesoNetto = ""; + string pesoLordo = ""; + string numColli = ""; + string disPart = ""; + string descPart = ""; + string codPart = ""; + string codImb = ""; + string codMaz = ""; + string codNael = ""; + string codNaelP1 = ""; + string codNaelP2 = ""; + string codNaelP3 = ""; + // in primis recupero la riga di dati da AS400... + int trovati = 0; + DS_Odette.BORI202JDataTable tabAs400 = new DS_Odette.BORI202JDataTable(); + try + { + tabAs400 = taBORI.getByKeyFull(RaggMag, GrpBolla, numBolla, dataBolla, particolare); + trovati = tabAs400.Rows.Count; + } + catch + { + logger.lg.scriviLog(string.Format("Non trovati dati per {0}-{1}-{2}-{3}-{4}", RaggMag, GrpBolla, numBolla, dataBolla, particolare), tipoLog.EXCEPTION); + } + if (trovati >= 1) + { + DS_Odette.BORI202JRow rigaAs = tabAs400[0]; + // in base al valore di CDINB definisco i campi... + if (rigaAs.CDINB != "") + { + // campo1 + try + { + ragSocCli = rigaAs.RA1ND.Trim(); + indirCli = rigaAs.RA2ND.Trim(); + capCittCli = string.Format("{0} {1}", rigaAs.CAPND.Trim(), rigaAs.CITND.Trim()); + } + catch + { + logger.lg.scriviLog("Errore campo1 (101)", tipoLog.ERROR); + } + // campo2 + try + { + destP2 = rigaAs.INEND.Substring(0, 15).Trim(); + destP1 = rigaAs.INEND.Substring(15, 15).Trim(); + if (rigaAs.CRAGCL.Trim() == "13" || rigaAs.TELND.Substring(18, 2) == "13") + { + destP3 = "/S"; + } + destinatario = string.Format("{0}/{1}{2}", destP1, destP2, destP3); + } + catch + { + logger.lg.scriviLog("Errore campo2 (102)", tipoLog.ERROR); + } + // campo12 + try + { + if (rigaAs.CRAGCL.Trim() == "13" || rigaAs.TELND.Substring(18, 2) == "13") + { + codMaz = rigaAs.PERND.Trim(); + } + } + catch + { + logger.lg.scriviLog("Errore campo12 (112)", tipoLog.ERROR); + } + } + else + { + // campo1 + try + { + ragSocCli = rigaAs.RASCL.Trim(); + indirCli = rigaAs.INDCL.Trim(); + capCittCli = string.Format("{0} {1} {2}", rigaAs.CAPCL.Trim(), rigaAs.LOCCL.Trim(), rigaAs.PROCL.Trim()); + } + catch + { + logger.lg.scriviLog("Errore campo1 (201)", tipoLog.ERROR); + } + // campo2 + try + { + destP1 = rigaAs.CCDMOL.Trim(); + destP2 = rigaAs.CCDPTR.Trim(); + if (rigaAs.CRAGCL.Trim() == "13") + { + destP3 = "/S"; + } + destinatario = string.Format("{0}/{1}{2}", destP1, destP2, destP3); + } + catch + { + logger.lg.scriviLog("Errore campo2 (202)", tipoLog.ERROR); + } + // campo12 + try + { + if (rigaAs.CRAGCL.Trim() == "13" || rigaAs.TELND.Substring(18, 2) == "13") + { + codMaz = rigaAs.CCDET1.Trim(); + } + } + catch + { + logger.lg.scriviLog("Errore campo12 (212)", tipoLog.ERROR); + } + } + // campo5 + try + { + peso = Math.Round(rigaAs.EPLAVO * memLayer.ML.confReadInt("qtaOdette"), 2); + pesoNetto = peso.ToString(); + } + catch + { + logger.lg.scriviLog("Errore campo5 (005)", tipoLog.ERROR); + } + // campo6 + try + { + pesoLordo = Math.Round(rigaAs.PELDB / rigaAs.NRC1B, 2).ToString(); + } + catch + { + logger.lg.scriviLog("Errore campo6 (006)", tipoLog.ERROR); + } + // campo7 + try + { + numColli = rigaAs.NRC1B.ToString(); + } + catch + { + logger.lg.scriviLog("Errore campo7 (007)", tipoLog.ERROR); + } + // campo8 + try + { + disPart = rigaAs.ECMM01.Trim(); + } + catch + { + logger.lg.scriviLog("Errore campo8 (008)", tipoLog.ERROR); + } + // campo10 + try + { + descPart = rigaAs.DEPAR.Trim(); + } + catch + { + logger.lg.scriviLog("Errore campo10 (010)", tipoLog.ERROR); + } + // campo 11_1 + try + { + codPart = rigaAs.CDARS.Trim(); + } + catch + { + logger.lg.scriviLog("Errore campo11_1 (011_1)", tipoLog.ERROR); + } + // campo 11_2 + try + { + codImb = rigaAs.RCARTC.Trim(); + } + catch + { + logger.lg.scriviLog("Errore campo11_2 (011_2)", tipoLog.ERROR); + } + // campo14 + try + { + codNaelP1 = rigaAs.ECDNAE.Trim(); + codNaelP2 = rigaAs.ECDNA1.Trim(); + codNaelP3 = rigaAs.EESPMD.Trim(); + codNael = string.Format("ZI:{0} {1} AI:{2}", codNaelP1, codNaelP2, codNaelP3); + } + catch + { + logger.lg.scriviLog("Errore campo14 (014)", tipoLog.ERROR); + } + } + if (trovati >= 1) + { + try + { + taOdette.updateValAs400(UDC, ragSocCli, indirCli, capCittCli, destinatario, "", "", pesoNetto, pesoLordo, numColli, disPart, descPart, codPart, codImb, codMaz, codNael); + answ = true; + } + catch + { + answ = false; + } + } + return answ; + } + + #endregion + + #region area public + + /// + /// singleton + /// + public static Odette mgr = new Odette(); + /// + /// wrapper traduzione + /// + /// + /// + /// + public string traduci(string lemma, string lingua) + { + return user_std.UtSn.Traduci(lemma, lingua); + } + + /// + /// verifica l'esistenza di una bolla dato il suo codice + data + /// + /// cod raggr magazzino + /// gruppo bolla + /// codice bolla NUMERICO + /// data bolla formato numerico YYYYMMDD + /// codice particolare + /// + public bool checkCodBolla(string RaggMag, string GrpBolla, decimal numBolla, decimal dataBolla, string particolare) + { + bool answ = false; + int righeBolla = 0; + // controllo che la bolla esista... + try + { + // provo a caricarle con stored... + taBORI.caricaDatiBolla(RaggMag, GrpBolla, numBolla.ToString(), dataBolla.ToString(), particolare); + // rileggo se presenti... + righeBolla = taBORI.getByKeyFull(RaggMag, GrpBolla, Convert.ToDecimal(numBolla), Convert.ToDecimal(dataBolla), particolare).Rows.Count; + answ = (righeBolla >= 1); + } + catch + { } + // controllo che la bolla non sia già associata... ovvero SENZA NESSUNA etichetta odette associata x quel particolare... + if (answ) + { + // controllo se trovo odette associate a tale bolla... + answ = (taOdette.getByBolla(RaggMag, GrpBolla, numBolla, dataBolla, particolare).Rows.Count == 0); + } + return answ; + } + /// + /// conteggia il num di colli x una data bolla + /// + /// cod raggr magazzino + /// gruppo bolla + /// codice bolla NUMERICO + /// data bolla formato numerico YYYYMMDD + /// codice particolare + /// + public int totColliBolla(string RaggMag, string GrpBolla, decimal numBolla, decimal dataBolla, string particolare) + { + int answ = 0; + try + { + // calcolo il totale dei pezzi: ogni riga contiene il totale colli della bolla... + answ = (int)taBORI.getByKeyFull(RaggMag, GrpBolla, Convert.ToDecimal(numBolla), Convert.ToDecimal(dataBolla), particolare)[0].NRC1B; + } + catch + { } + return answ; + } + /// + /// conteggia il num di pezzi x una data bolla + /// + /// cod raggr magazzino + /// gruppo bolla + /// codice bolla NUMERICO + /// data bolla formato numerico YYYYMMDD + /// codice particolare + /// + public int totPezziBolla(string RaggMag, string GrpBolla, decimal numBolla, decimal dataBolla, string particolare) + { + int answ = 0; + try + { + // rileggo se presenti... + answ = Convert.ToInt32(taBORI.getByKeyFull(RaggMag, GrpBolla, Convert.ToDecimal(numBolla), Convert.ToDecimal(dataBolla), particolare).Compute("SUM(QTCNS)", "")); + //answ = (int)taBORI.getByKeyFull(RaggMag, GrpBolla, Convert.ToDecimal(numBolla), Convert.ToDecimal(dataBolla), particolare)[0].QTCNS; + } + catch + { } + return answ; + } + + /// + /// crea tutte le righe encessarie alal stampa dei cartellini Odette dati lista di prelievo, bolla da associare + /// + /// codice lista di prelievo + /// cod raggr magazzino + /// gruppo bolla + /// codice bolla NUMERICO + /// data bolla formato numerico YYYYMMDD + /// codice particolare + /// IT/EN/... + /// in caso di errore e ritorno false, salva in sessione il messaggio di errore relativo in errCreazOdette + public bool creaOdetteByBollaPackList(string CodLista, string RaggMag, string GrpBolla, decimal numBolla, decimal dataBolla, string particolare, string lingua) + { + bool answ = false; + string errCreazOdette = ""; + int totUdc = 0; + int totPz = 0; + int udcOk = 0; + DS_magazzino.RigheListePrelievoDataTable ElencoUdc = new DS_magazzino.RigheListePrelievoDataTable(); + // conto totale etichette da creare + try + { + ElencoUdc = MagClass.magazzino.taRigheListePrelievo.getByCodLista(CodLista); + totUdc = ElencoUdc.Rows.Count; + totPz = (int)MagClass.magazzino.taElencoListePrelievo.getByCodLista(CodLista)[0].Prelevato; + } + catch + { + errCreazOdette = string.Format("Errore: non ci sono UDC da creare per la PackList {0}", CodLista); + logger.lg.scriviLog(errCreazOdette, tipoLog.ERROR); + } + // in primis comunque verifico che la bolla ci sia altrimenti non procedo (anche se avrebbe già dovuto controllare...) + if (checkCodBolla(RaggMag, GrpBolla, numBolla, dataBolla, particolare) && totUdc > 0) + { + // controllo se il totale colli corrisponde al totale etichette.. + if (totColliBolla(RaggMag, GrpBolla, numBolla, dataBolla, particolare) == totUdc) + { + // controllo se il totale pezzi corrisponde al totale qta... + if (totPezziBolla(RaggMag, GrpBolla, numBolla, dataBolla, particolare) == totPz) + { + // leggo elenco UDC da packing list + foreach (DS_magazzino.RigheListePrelievoRow rigaUdc in ElencoUdc) + { + // per ogni UDC creo una riga + taOdette.upsertUdc(rigaUdc.UDC, memLayer.ML.confReadString("CodCS"), numBolla.ToString(), dataBolla.ToString(), RaggMag, GrpBolla, particolare, CodLista, memLayer.ML.confReadString("indStabFrom"), rigaUdc.Qta.ToString()); + udcOk++; + // per ogni riga inserisco traduzione nella lingua richiesta + caricaEtichetteLinguaPerOdette(rigaUdc.UDC, lingua); + // vado a caricare i dati dalla tab dei dati bolle + caricaDatiBollaEtichettaOdette(rigaUdc.UDC, RaggMag, GrpBolla, numBolla, dataBolla, particolare); + // effettuo check della riga odette e determino se sia conforme + updateStatoOdette(rigaUdc.UDC); + } + } + else + { + errCreazOdette = string.Format("Errore assegnazione bolle/odette, il num di pezzi non corrisponde: num bolla {0} del {1}, lista prelievo {2}", numBolla, dataBolla, CodLista); + logger.lg.scriviLog(errCreazOdette, tipoLog.ERROR); + } + } + else + { + errCreazOdette = string.Format("Errore assegnazione bolle/odette, il num di colli non corrisponde: num bolla {0} del {1}, lista prelievo {2}", numBolla, dataBolla, CodLista); + logger.lg.scriviLog(errCreazOdette, tipoLog.ERROR); + } + } + else + { + errCreazOdette = string.Format("Tentativo di generazione etichette odette da bolla inesistente/già impiegata: codice {0} del {1}", numBolla, dataBolla); + logger.lg.scriviLog(errCreazOdette, tipoLog.ERROR); + } + // controllo se tutte le etichette sono sstate create + if (totUdc == udcOk) + { + answ = true; + } + memLayer.ML.setSessionVal("errCreazOdette", errCreazOdette); + 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 + /// + /// + /// + /// + 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 + /// + /// + /// + public bool listaHasOdette(string codLista) + { + bool answ = false; + try + { + DS_Odette.stp_OdetteStatoCreateRow rigaCreate = taOdCreate.GetData(codLista)[0]; + answ = rigaCreate.OdetteCreate > 0; + } + catch + { } + return answ; + } + /// + /// restituisce info se un gitterbox abbia una etichetta odette associata + /// + /// + public bool gitterboxInOdette(string codGitterbox) + { + bool answ = false; + try + { + answ = taOdette.getByUdc(codGitterbox).Rows.Count > 0; + } + catch + { } + return answ; + } + /// + /// restituisce info se un datamatrix faccia parte di un gitterbox con una etichetta odette associata + /// + public bool datamatrixInOdette(decimal codDataMatrix) + { + bool answ = false; + string codGitterbox = DataMatrix.mgr.gitterboxFromDataMatrix(codDataMatrix); + answ = gitterboxInOdette(codGitterbox); + return answ; + } + /// + /// Restituisce info se un datamatrix possa essere spostato tra 2 gitterbox (il suo d'origine e quello indicato), + /// mantenendo l'omogeneità dei prodotti nel gitterbox. + /// Verifiche: + /// - se il datamatrix ha un gitterbox associato --> le prime 2 cifre dei gitterbox devono coincidere + /// - se il datamatrix non ha un gitterbox associato --> rileggo gitterbox originale pre importazione e faccio verifica dei primi 2 char + /// + /// + /// + public bool dtMtxGtboxCompatibili(decimal codDataMatrix, string codGitterboxTo) + { + bool answ = false; + string codGitterboxFrom = ""; + try + { + codGitterboxFrom = DataMatrix.mgr.gitterboxFromDataMatrix(codDataMatrix); + if (codGitterboxFrom != "EmptyGBox") + { + answ = (codGitterboxFrom.Substring(0, 2) == codGitterboxTo.Substring(0, 2)); + } + else + { + // cerco gitterbox originale... + codGitterboxFrom = DataMatrix.mgr.gitterboxOrigFromDataMatrix(codDataMatrix); + answ = (codGitterboxFrom.Substring(0, 2) == codGitterboxTo.Substring(0, 2)); + } + } + catch + { } + return answ; + } + /// + /// restituisce info se un datamatrix esista + /// + /// + public bool datamatrixEsiste(decimal codDataMatrix) + { + bool answ = false; + try + { + answ = DataMatrix.mgr.taElencoDM.getByCode(codDataMatrix).Rows.Count > 0; + } + catch + { } + return answ; + } + + + #endregion + + } +} \ No newline at end of file diff --git a/GMW_data/Properties/AssemblyInfo.cs b/GMW_data/Properties/AssemblyInfo.cs new file mode 100644 index 00000000..92bbeb27 --- /dev/null +++ b/GMW_data/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("GMW_data")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("GMW_data")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2010")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("61bef1a5-eb5d-4bb5-8d56-f7b4c197d2c8")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/GMW_data/Properties/Settings.Designer.cs b/GMW_data/Properties/Settings.Designer.cs new file mode 100644 index 00000000..520b2dcc --- /dev/null +++ b/GMW_data/Properties/Settings.Designer.cs @@ -0,0 +1,48 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.17626 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW_data.Properties { + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default { + get { + return defaultInstance; + } + } + + [global::System.Configuration.ApplicationScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.ConnectionString)] + [global::System.Configuration.DefaultSettingValueAttribute("Data Source=10.74.82.217\\SQL2008R2;Initial Catalog=GMW;Persist Security Info=True" + + ";User ID=sa;Password=keyhammer")] + public string GMWConnectionString { + get { + return ((string)(this["GMWConnectionString"])); + } + } + + [global::System.Configuration.ApplicationScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.ConnectionString)] + [global::System.Configuration.DefaultSettingValueAttribute("Data Source=10.74.82.217\\SQL2008R2;Initial Catalog=SP_produzione;Persist Security" + + " Info=True;User ID=sa;Password=keyhammer")] + public string SP_produzioneConnectionString { + get { + return ((string)(this["SP_produzioneConnectionString"])); + } + } + } +} diff --git a/GMW_data/Properties/Settings.settings b/GMW_data/Properties/Settings.settings new file mode 100644 index 00000000..6dd5f5c7 --- /dev/null +++ b/GMW_data/Properties/Settings.settings @@ -0,0 +1,22 @@ + + + + + + <?xml version="1.0" encoding="utf-16"?> +<SerializableConnectionString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> + <ConnectionString>Data Source=10.74.82.217\SQL2008R2;Initial Catalog=GMW;Persist Security Info=True;User ID=sa;Password=keyhammer</ConnectionString> + <ProviderName>System.Data.SqlClient</ProviderName> +</SerializableConnectionString> + Data Source=10.74.82.217\SQL2008R2;Initial Catalog=GMW;Persist Security Info=True;User ID=sa;Password=keyhammer + + + <?xml version="1.0" encoding="utf-16"?> +<SerializableConnectionString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> + <ConnectionString>Data Source=10.74.82.217\SQL2008R2;Initial Catalog=SP_produzione;Persist Security Info=True;User ID=sa;Password=keyhammer</ConnectionString> + <ProviderName>System.Data.SqlClient</ProviderName> +</SerializableConnectionString> + Data Source=10.74.82.217\SQL2008R2;Initial Catalog=SP_produzione;Persist Security Info=True;User ID=sa;Password=keyhammer + + + \ No newline at end of file diff --git a/GMW_data/SqlScripts/V1.1/GMW_00051.sql b/GMW_data/SqlScripts/V1.1/GMW_00051.sql new file mode 100644 index 00000000..ce515777 --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00051.sql @@ -0,0 +1,1708 @@ +/* primo update x gestioen reale magazzini */ + +-- creo tab Celle + +set xact_abort on +go + +begin transaction +go + +create table Celle( + IdxCella int not null identity constraint PK_Celle primary key, + CodCS nchar(2) not null, + CodCella nvarchar(50) not null, + IdxTipoCella int, + Descrizione nvarchar(50), + Attiva bit, + IdxBlocco int not null constraint DF_Celle_IdxBlocco default (0), + X int not null, + Y int not null, + Z int not null +) +go + +exec sp_addextendedproperty 'MS_Description', N'indica se sia attiva, se non lo fosse è impedito caricamento nella stessa', 'SCHEMA', 'dbo', 'TABLE', 'Celle', 'COLUMN', 'Attiva' +go + +exec sp_addextendedproperty 'MS_Description', 'posizione X (colonna)', 'SCHEMA', 'dbo', 'TABLE', 'Celle', 'COLUMN', 'X' +go + +exec sp_addextendedproperty 'MS_Description', 'posizione Y (livello/ripiano)', 'SCHEMA', 'dbo', 'TABLE', 'Celle', 'COLUMN', 'Y' +go + +exec sp_addextendedproperty 'MS_Description', 'posizione Z (profondita)', 'SCHEMA', 'dbo', 'TABLE', 'Celle', 'COLUMN', 'Z' +go + +commit +go + + +-- update tab AnagMag + +set xact_abort on +go + +begin transaction +go + +alter table AnagMag add + CodCS nchar(2) not null , + DescMag nvarchar(50) +go + +alter table AnagMag drop + column DescrMag, + constraint PK_AnagMag +go + +alter table AnagMag add + constraint PK_AnagMag primary key(CodMag,CodCS) +go + +set ANSI_NULLS on +go + +create VIEW v_selMag +AS +SELECT TOP (100) PERCENT CodMag AS value, DescMag AS label, CodCS AS conditio +FROM dbo.AnagMag +ORDER BY label +go + + +commit +go + + + +-- blocchi + +set xact_abort on +go + +begin transaction +go + +create table Blocchi( + IdxBlocco int not null identity constraint PK_Blocchi primary key, + CodMag nvarchar(50), + CodCS nchar(2), + CodBlocco nvarchar(3), + DescBlocco nvarchar(50), + NumX int, + NumY int, + NumZ int +) +go + +alter table Blocchi add + constraint FK_Blocchi_AnagMag foreign key(CodMag,CodCS) references AnagMag(CodMag,CodCS) on update cascade +go + +exec sp_addextendedproperty 'MS_Description', 'numero elementi X (colonne)', 'SCHEMA', 'dbo', 'TABLE', 'Blocchi', 'COLUMN', 'NumX' +go + +exec sp_addextendedproperty 'MS_Description', 'numero elementi Y (livelli/ripiani)', 'SCHEMA', 'dbo', 'TABLE', 'Blocchi', 'COLUMN', 'NumY' +go + +exec sp_addextendedproperty 'MS_Description', 'numero elementi Z (profondita)', 'SCHEMA', 'dbo', 'TABLE', 'Blocchi', 'COLUMN', 'NumZ' +go + +commit +go + + + +-- logUpdate + +create table LogUpdateDb( + Versione int not null constraint PK_LogUpdateDb primary key, + Data datetime +) +go + + +-- permessi +set xact_abort on +go + +begin transaction +go + +create table Permessi( + COD_PERMESSO varchar(50) not null constraint PK_Permessi primary key, + URL varchar(250) not null, + GRUPPO int, + NUMERO int, + NOME varchar(50), + DESCRIZIONE varchar(50) +) +go + +create table Permessi2Funzione( + COD_PERMESSO varchar(50) not null, + COD_FUNZIONE nvarchar(31) not null, + READWRITE char(1), + + constraint PK_Permessi2Funzione primary key(COD_PERMESSO,COD_FUNZIONE) +) +go + +alter table Permessi2Funzione add + constraint FK_Permessi2Funzione_Permessi foreign key(COD_PERMESSO) references Permessi(COD_PERMESSO) on update cascade +go + +commit +go + + + +-- tipocella +set xact_abort on +go + +begin transaction +go + +create table TipoCella( + IdxTipoCella int not null identity constraint PK_TipoCella primary key, + CodMag nvarchar(50) not null, + CodCS nchar(2) not null, + Quantita int not null, + Capienza int not null, + Max_X float, + Max_Y float, + Max_Z float, + Max_Kg float +) +go + +alter table TipoCella add + constraint FK_TipoCella_AnagMag foreign key(CodMag,CodCS) references AnagMag(CodMag,CodCS) on update cascade +go + +commit +go + + +-- posizione +set xact_abort on +go + +begin transaction +go + +create table PosizioneUdcCorrente( + UDC nvarchar(50) not null, + IdxCella int not null, + CodCS nchar(2) not null, + DataRif datetime, + + constraint PK_PosizioneUdcCorrente primary key(UDC,IdxCella) +) +go + +alter table PosizioneUdcCorrente add + constraint FK_PosizioneUdcCorrente_ElencoCartellini foreign key(UDC) references ElencoCartellini(UDC) on update cascade, + constraint FK_PosizioneUdcCorrente_Celle foreign key(IdxCella) references Celle(IdxCella) on update cascade +go + +create table PosizioneUdcStorico( + UDC nvarchar(50) not null, + IdxCella int not null, + CodCS nchar(2) not null, + DataInizio datetime not null, + DataFine datetime, + + constraint PK_PosizioneUdcStorico_1 primary key(UDC,IdxCella) +) +go + +alter table PosizioneUdcStorico add + constraint FK_PosizioneUdcStorico_ElencoCartellini foreign key(UDC) references ElencoCartellini(UDC) on update cascade +go + +commit +go + + +-- viste +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +create VIEW v_selBlocco +AS +SELECT IdxBlocco AS value, CodBlocco + ' - ' + DescBlocco + ' (' + CAST(NumX AS varchar) + 'x' + CAST(NumY AS varchar) + 'x' + CAST(NumZ AS varchar) + ')' AS label, + CodCS, CodMag +FROM dbo.Blocchi +go + + +create VIEW v_selTipoCella +AS +SELECT IdxTipoCella AS value, 'n°' + CAST(Capienza AS varchar) + ' - ' + CAST(Max_Kg AS varchar) + 'kg (' + CAST(Max_X AS varchar) + 'x' + CAST(Max_Y AS varchar) + + 'x' + CAST(Max_Z AS varchar) + ')' AS label, CodMag, CodCS +FROM dbo.TipoCella +go + + +create VIEW v_UdcDetail +AS +SELECT dbo.ElencoCartellini.UDC, dbo.ElencoCartellini.RagSociale, dbo.ElencoCartellini.Particolare, dbo.ElencoCartellini.DescParticolare, + dbo.ElencoCartellini.DisegnoGrezzo, dbo.ElencoCartellini.Esponente, dbo.ElencoCartellini.DescImpianto, dbo.ElencoCartellini.DataFus, + dbo.ElencoCartellini.TurnoFus, dbo.ElencoCartellini.CodImballo, dbo.ElencoCartellini.Qta, dbo.AnagStatiProdotto.DescStato, dbo.ElencoCartellini.ModDate, + ISNULL(dbo.Blocchi.CodMag, N'') AS CodMag, ISNULL(dbo.Blocchi.CodBlocco, N'') AS CodBlocco, ISNULL(dbo.Celle.CodCella, N'') AS CodCella, ISNULL(dbo.Celle.X, + 0) AS X, ISNULL(dbo.Celle.Y, 0) AS Y, ISNULL(dbo.Celle.Z, 0) AS Z +FROM dbo.AnagStatiProdotto RIGHT OUTER JOIN + dbo.ElencoCartellini ON dbo.AnagStatiProdotto.CodStato = dbo.ElencoCartellini.CodStato AND + dbo.AnagStatiProdotto.CodStato = dbo.ElencoCartellini.CodStato LEFT OUTER JOIN + dbo.Celle INNER JOIN + dbo.PosizioneUdcCorrente ON dbo.Celle.IdxCella = dbo.PosizioneUdcCorrente.IdxCella AND dbo.Celle.IdxCella = dbo.PosizioneUdcCorrente.IdxCella AND + dbo.Celle.IdxCella = dbo.PosizioneUdcCorrente.IdxCella INNER JOIN + dbo.Blocchi ON dbo.Celle.IdxBlocco = dbo.Blocchi.IdxBlocco INNER JOIN + dbo.AnagMag ON dbo.Blocchi.CodMag = dbo.AnagMag.CodMag AND dbo.Blocchi.CodCS = dbo.AnagMag.CodCS AND + dbo.Blocchi.CodMag = dbo.AnagMag.CodMag AND dbo.Blocchi.CodCS = dbo.AnagMag.CodCS AND dbo.Blocchi.CodMag = dbo.AnagMag.CodMag AND + dbo.Blocchi.CodCS = dbo.AnagMag.CodCS ON dbo.ElencoCartellini.UDC = dbo.PosizioneUdcCorrente.UDC +go + +commit +go + + + +set xact_abort on +go + +begin transaction +go + +exec sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "Blocchi" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 229 + Right = 208 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 9 + Width = 284 + Width = 1500 + Width = 2295 + Width = 1500 + Width = 3210 + Width = 4410 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_selBlocco' +go + +exec sp_addextendedproperty 'MS_DiagramPaneCount', 1, 'SCHEMA', 'dbo', 'VIEW', 'v_selBlocco' +go + +exec sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "AnagMag" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 118 + Right = 208 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 9 + Width = 284 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_selMag' +go + +exec sp_addextendedproperty 'MS_DiagramPaneCount', 1, 'SCHEMA', 'dbo', 'VIEW', 'v_selMag' +go + +exec sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "TipoCella" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 237 + Right = 208 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 9 + Width = 284 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_selTipoCella' +go + +exec sp_addextendedproperty 'MS_DiagramPaneCount', 1, 'SCHEMA', 'dbo', 'VIEW', 'v_selTipoCella' +go + +exec sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "AnagStatiProdotto" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 101 + Right = 208 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "ElencoCartellini" + Begin Extent = + Top = 6 + Left = 246 + Bottom = 135 + Right = 416 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "Celle" + Begin Extent = + Top = 6 + Left = 454 + Bottom = 135 + Right = 624 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "PosizioneUdcCorrente" + Begin Extent = + Top = 6 + Left = 662 + Bottom = 135 + Right = 832 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "Blocchi" + Begin Extent = + Top = 6 + Left = 870 + Bottom = 135 + Right = 1040 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "AnagMag" + Begin Extent = + Top = 6 + Left = 1078 + Bottom = 118 + Right = 1248 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 9 + Width = 284 + Width = 1500 + ', 'SCHEMA', 'dbo', 'VIEW', 'v_UdcDetail' +go + +exec sp_addextendedproperty 'MS_DiagramPane2', ' Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_UdcDetail' +go + +exec sp_addextendedproperty 'MS_DiagramPaneCount', 2, 'SCHEMA', 'dbo', 'VIEW', 'v_UdcDetail' +go + +commit +go + + +-- stored! + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_BlocchiGetByCodMag +* +* ottiene l'elenco dei blocchi di magazzino dal codice Company/Sito + codice magazzino richiesti +* +* Steamware, S.E.L. +* mod: 2010.05.17 +* +****************************************/ +create PROCEDURE stp_BlocchiGetByCodMag +( + @CodCS VARCHAR(2), + @CodMag VARCHAR(50) +) +AS + + SELECT * + FROM Blocchi + WHERE CodCS = @CodCS + AND CodMag = @CodMag + +RETURN +go + +/*************************************** +* STORED stp_BlocchiGetByIdx +* +* ottiene l'elenco dei blocchi di magazzino dall'Idx richiesto +* +* Steamware, S.E.L. +* mod: 2010.05.18 +* +****************************************/ +create PROCEDURE stp_BlocchiGetByIdx +( + @IdxBlocco INT +) +AS + + SELECT * + FROM Blocchi + WHERE IdxBlocco = @IdxBlocco + +RETURN +go + +/*************************************** +* STORED stp_celleMagGetByCodMagCS +* +* ottiene l'elenco delle celle dato codice dei magazzini e Company/Sito richiesti +* +* Steamware, S.E.L. +* mod: 2010.05.12 +* +****************************************/ +create PROCEDURE stp_cellaGetByCodMag +( + @CodCS VARCHAR(2), + @CodMag VARCHAR(50) +) +AS + + SELECT Celle.* + FROM Blocchi INNER JOIN + Celle ON Blocchi.IdxBlocco = Celle.IdxBlocco + WHERE (Blocchi.CodCS = @CodCS) AND (Blocchi.CodMag = @CodMag) + +RETURN +go + +/*************************************** +* STORED stp_cellaGetByIdxBlocco +* +* ottiene l'elenco delle celle dato codice del blocco di appartenenza +* +* Steamware, S.E.L. +* mod: 2010.05.17 +* +****************************************/ +create PROCEDURE stp_cellaGetByIdxBlocco +( + @IdxBlocco INT +) +AS + + SELECT * + FROM Celle + WHERE IdxBlocco = @IdxBlocco +RETURN +go + +/*************************************** +* STORED stp_cellaGetByTipoCella +* +* ottiene l'elenco delle celle dato codice del tipo cella +* +* Steamware, S.E.L. +* mod: 2010.05.17 +* +****************************************/ +create PROCEDURE stp_cellaGetByTipoCella +( + @IdxTipoCella INT +) +AS + + SELECT * + FROM Celle + WHERE IdxTipoCella = @IdxTipoCella +RETURN +go + +/*************************************** +* STORED stp_celleCreaMancantiBlocco +* +* crea il numero di celle richeiste e le assegna al blocco con valori default +* +* Steamware, S.E.L. +* mod: 2010.05.18 +* +****************************************/ +create PROCEDURE stp_celleCreaMancantiBlocco +( + @CodCS VARCHAR(2), + @CodMag VARCHAR(50), + @IdxBlocco INT +) +AS + +--------------------------------------------------------------------- +-- setup iniziale valori XYZ del blocco +--------------------------------------------------------------------- +DECLARE @CodBlocco VARCHAR(3); +SET @CodBlocco = (SELECT CodBlocco FROM Blocchi WHERE IdxBlocco = @IdxBlocco) +DECLARE @NumX INT; +DECLARE @NumY INT; +DECLARE @NumZ INT; +SET @NumX = (SELECT NumX FROM Blocchi WHERE IdxBlocco = @IdxBlocco) ; +SET @NumY = (SELECT NumY FROM Blocchi WHERE IdxBlocco = @IdxBlocco) ; +SET @NumZ = (SELECT NumZ FROM Blocchi WHERE IdxBlocco = @IdxBlocco) ; + +DECLARE @Index INT ; +DECLARE @IdxTipoCella INT; + + +--------------------------------------------------------------------- +-- creazione temp table x numeri delle dimensioni XYZ del blocco +--------------------------------------------------------------------- +DECLARE @DimTable TABLE +( + dimensione VARCHAR(1), + valore INT +) + +-- inserisco X +SET @Index = 1 ; +WHILE @Index <= @NumX + BEGIN + INSERT @DimTable(dimensione, valore) + VALUES ('X', @Index) + SET @Index = @Index + 1 ; + END +-- inserisco Y +SET @Index = 1 ; +WHILE @Index <= @NumY + BEGIN + INSERT @DimTable(dimensione, valore) + VALUES ('Y', @Index) + SET @Index = @Index + 1 ; + END +-- inserisco Z +SET @Index = 1 ; +WHILE @Index <= @NumZ + BEGIN + INSERT @DimTable(dimensione, valore) + VALUES ('Z', @Index) + SET @Index = @Index + 1 ; + END + + +--------------------------------------------------------------------- +-- creazione temp table x schema COMPLETO posizioni blocco +--------------------------------------------------------------------- +DECLARE @SchemaBlocco TABLE +( + X INT, + Y INT, + Z INT +) +INSERT INTO @SchemaBlocco +SELECT X_val.valore, Y_val.valore, Z_val.valore +FROM (SELECT * FROM @DimTable WHERE dimensione='X') AS X_val, + (SELECT * FROM @DimTable WHERE dimensione='Y') AS Y_val, + (SELECT * FROM @DimTable WHERE dimensione='Z') AS Z_val + +--------------------------------------------------------------------- +-- cerco primo tipo di celle per il mag indicato +--------------------------------------------------------------------- +SET @IdxTipoCella = (SELECT TOP (1) ISNULL(IdxTipoCella, 0) AS IdxTipoCella + FROM TipoCella + WHERE (CodCS = @CodCS) AND (CodMag = @CodMag)) +--------------------------------------------------------------------- +-- inserisco le celle nelle posizioni LIBERE del blocco +--------------------------------------------------------------------- +INSERT INTO Celle(CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco,X,Y,Z) +SELECT @CodCS, @CodBlocco + dbo.f_padLeft(CAST(sb.X AS VARCHAR),2,'0') + dbo.f_padLeft(CAST(sb.Y AS VARCHAR),2,'0') + dbo.f_padLeft(CAST(sb.Z AS VARCHAR),2,'0'), @IdxTipoCella, '-', 1, @IdxBlocco, sb.X, sb.Y, sb.Z +FROM @SchemaBlocco sb LEFT OUTER JOIN (SELECT * +FROM Celle +WHERE IdxBlocco = @IdxBlocco) c +ON sb.X = c.X AND sb.Y = c.Y AND sb.Z = c.Z +WHERE c.IdxCella IS NULL +ORDER BY sb.X,sb.Y,sb.Z ASC + + +RETURN +go + +/*************************************** +* STORED stp_ContaCelle4Blocchi +* +* effettua conteggio celle dai blocchi assegnati dato codice magazzino +* +* Steamware, S.E.L. +* mod: 2010.05.17 +* +****************************************/ +create PROCEDURE stp_ContaCelle4Blocchi +( + @CodCS VARCHAR(2), + @CodMag VARCHAR(50), + @TotCelle INT OUTPUT +) +AS + + SET @TotCelle = (SELECT SUM(NumX * NumY * numz) AS Totale + FROM Blocchi + WHERE (CodCS = @CodCS) AND (CodMag = @CodMag)) + + +RETURN @TotCelle +go + +/*************************************** +* STORED stp_ContaCelle4Tipo +* +* effettua conteggio celle dai tipi assegnati dato codice magazzino +* +* Steamware, S.E.L. +* mod: 2010.05.17 +* +****************************************/ +create PROCEDURE stp_ContaCelle4Tipo +( + @CodCS VARCHAR(2), + @CodMag VARCHAR(50), + @TotCelle INT OUTPUT +) +AS + + SET @TotCelle = (SELECT SUM(Quantita * Capienza) AS Totale + FROM TipoCella + WHERE (CodCS = @CodCS) AND (CodMag = @CodMag)) + + +RETURN @TotCelle +go + +/*************************************** +* STORED stp_ContaCelle4Tipo +* +* effettua conteggio celle x blocco, dato filtro su attive (si/no) e su posizioen assegnata (0 = non assegnata, 1 = assegnata) +* +* Steamware, S.E.L. +* mod: 2010.05.18 +* +****************************************/ +create PROCEDURE stp_ContaCelleBlocco +( + @CodCS VARCHAR(2), + @CodMag VARCHAR(50), + @FiltAttive BIT, + @PosAssegnata BIT, + @TotCelle INT OUTPUT +) +AS + + SET @TotCelle = (SELECT Count(IdxCella) AS Totale + FROM Celle + WHERE (IdxBlocco IN (SELECT IdxBlocco FROM Blocchi WHERE (CodCS = @CodCS) AND (CodMag = @CodMag))) -- cerco i blocchi + AND (Attiva = @FiltAttive) -- cerco attive/non attive + AND ((ISNULL(X,0)+ISNULL(Y,0)+ISNULL(Z,0)) = (CASE @PosAssegnata WHEN 0 THEN 0 ELSE (ISNULL(X,0)+ISNULL(Y,0)+ISNULL(Z,0)) END)) + AND ((ISNULL(X,0)+ISNULL(Y,0)+ISNULL(Z,0)) > (CASE @PosAssegnata WHEN 0 THEN (ISNULL(X,0)+ISNULL(Y,0)+ISNULL(Z,0)) - 1 ELSE 0 END)) + ) + +RETURN @TotCelle +go + +/*************************************** +* STORED stp_ContaCelleCreate +* +* effettua conteggio celle create nei blocchi del magazzino +* +* Steamware, S.E.L. +* mod: 2010.05.18 +* +****************************************/ +create PROCEDURE stp_ContaCelleCreate +( + @CodCS VARCHAR(2), + @CodMag VARCHAR(50), + @TotCelle INT OUTPUT +) +AS + + SET @TotCelle = (SELECT Count(IdxCella) AS Totale + FROM Celle + WHERE (IdxBlocco IN (SELECT IdxBlocco FROM Blocchi WHERE (CodCS = @CodCS) AND (CodMag = @CodMag))) + ) + +RETURN @TotCelle +go + +/*************************************** +* STORED stp_ContaDeltaCelleBlocco +* +* effettua conteggio celle x blocco, restituisce la differenza tra le celle necessarie al blocco e quelle già create (0 = tutto ok) +* +* Steamware, S.E.L. +* mod: 2010.05.18 +* +****************************************/ +create PROCEDURE stp_ContaDeltaCelleBlocco +( + @IdxBlocco INT, + @DeltaCelle INT OUTPUT +) +AS + -- calcolo quanto richiesto dai blocchi + DECLARE @NumInBlocco INT + SET @NumInBlocco = (SELECT SUM(NumX * NumY * numz) AS Totale + FROM Blocchi + WHERE IdxBlocco = @IdxBlocco) + + -- calcolo quante celle create + DECLARE @NumCelle INT + SET @NumCelle = (SELECT COUNT(IdxCella) AS Totale + FROM Celle + WHERE IdxBlocco = @IdxBlocco) + + SET @DeltaCelle = @NumInBlocco - @NumCelle + + +RETURN @DeltaCelle +go + +commit +go + + +-- altra tranche di stored! +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_getUdcDetailFullCode +* +* ottiene l'elenco degli UDC con i dati significativi partendo da un codice UDC COMPLETO +* +* Steamware, S.E.L. +* mod: 2010.05.24 +* +****************************************/ +create PROCEDURE stp_getUdcDetailFullCode +( + @UDC VARCHAR(50), + @CodCS VARCHAR(2) +) +AS + +SELECT ElencoCartellini.UDC, ElencoCartellini.RagSociale, ElencoCartellini.Particolare, ElencoCartellini.DescParticolare, ElencoCartellini.DisegnoGrezzo, + ElencoCartellini.Esponente, ElencoCartellini.DescImpianto, ElencoCartellini.DataFus, ElencoCartellini.TurnoFus, ElencoCartellini.CodImballo, ElencoCartellini.Qta, + AnagStatiProdotto.DescStato, ElencoCartellini.ModDate, ISNULL(Blocchi.CodMag, N'') AS CodMag, ISNULL(Blocchi.CodBlocco, N'') AS CodBlocco, + ISNULL(Celle.CodCella, N'') AS CodCella, ISNULL(Celle.X, 0) AS X, ISNULL(Celle.Y, 0) AS Y, ISNULL(Celle.Z, 0) AS Z +FROM AnagStatiProdotto RIGHT OUTER JOIN + ElencoCartellini ON AnagStatiProdotto.CodStato = ElencoCartellini.CodStato AND AnagStatiProdotto.CodStato = ElencoCartellini.CodStato LEFT OUTER JOIN + Celle INNER JOIN + PosizioneUdcCorrente ON Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND + Celle.IdxCella = PosizioneUdcCorrente.IdxCella INNER JOIN + Blocchi ON Celle.IdxBlocco = Blocchi.IdxBlocco INNER JOIN + AnagMag ON Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND + Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS ON + ElencoCartellini.UDC = PosizioneUdcCorrente.UDC +WHERE (ElencoCartellini.UDC = @UDC) AND (ElencoCartellini.CodCS = @CodCS) + +RETURN +go + +/*************************************** +* STORED stp_getUdcDetailFullCode +* +* ottiene l'elenco degli UDC con i dati significativi partendo da un valore da cercare come LIKE in +* - UDC +* - Particolare +* +* Steamware, S.E.L. +* mod: 2010.05.24 +* +****************************************/ +create PROCEDURE stp_getUdcDetailLikeSearch +( + @searchVal VARCHAR(50), + @CodCS VARCHAR(2) +) +AS + +SELECT ElencoCartellini.UDC, ElencoCartellini.RagSociale, ElencoCartellini.Particolare, ElencoCartellini.DescParticolare, ElencoCartellini.DisegnoGrezzo, + ElencoCartellini.Esponente, ElencoCartellini.DescImpianto, ElencoCartellini.DataFus, ElencoCartellini.TurnoFus, ElencoCartellini.CodImballo, ElencoCartellini.Qta, + AnagStatiProdotto.DescStato, ElencoCartellini.ModDate, ISNULL(Blocchi.CodMag, N'') AS CodMag, ISNULL(Blocchi.CodBlocco, N'') AS CodBlocco, + ISNULL(Celle.CodCella, N'') AS CodCella, ISNULL(Celle.X, 0) AS X, ISNULL(Celle.Y, 0) AS Y, ISNULL(Celle.Z, 0) AS Z +FROM AnagStatiProdotto RIGHT OUTER JOIN + ElencoCartellini ON AnagStatiProdotto.CodStato = ElencoCartellini.CodStato AND AnagStatiProdotto.CodStato = ElencoCartellini.CodStato LEFT OUTER JOIN + Celle INNER JOIN + PosizioneUdcCorrente ON Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND + Celle.IdxCella = PosizioneUdcCorrente.IdxCella INNER JOIN + Blocchi ON Celle.IdxBlocco = Blocchi.IdxBlocco INNER JOIN + AnagMag ON Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND + Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS ON + ElencoCartellini.UDC = PosizioneUdcCorrente.UDC +WHERE (ElencoCartellini.CodCS = @CodCS) AND ((ElencoCartellini.UDC like '%'+ @searchVal+'%') OR (ElencoCartellini.Particolare like '%'+ @searchVal+'%')) + +RETURN +go + +/*************************************** +* STORED stp_magGetByCodMag +* +* ottiene l'elenco dei magazzini dal codice Company/Sito + codice magazzino richiesti +* +* Steamware, S.E.L. +* mod: 2010.05.12 +* +****************************************/ +create PROCEDURE stp_magGetByCodMag +( + @CodCS VARCHAR(2), + @CodMag VARCHAR(50) +) +AS + + SELECT * + FROM AnagMag + WHERE CodCS = @CodCS + AND CodMag = @CodMag + +RETURN +go + +/*************************************** +* STORED stp_magGetByCS +* +* ottiene l'elenco dei magazzini dal codice Company/Sito richiesto +* +* Steamware, S.E.L. +* mod: 2010.05.12 +* +****************************************/ +create PROCEDURE stp_magGetByCS +( + @CodCS VARCHAR(2) +) +AS + + SELECT * + FROM AnagMag + WHERE CodCS = @CodCS + +RETURN +go + +/*************************************** +* STORED stp_TipoCellaGetByCodMag +* +* ottiene l'elenco dei tipi di celle dal codice Company/Sito + codice magazzino richiesti +* +* Steamware, S.E.L. +* mod: 2010.05.17 +* +****************************************/ +create PROCEDURE stp_TipoCellaGetByCodMag +( + @CodCS VARCHAR(2), + @CodMag VARCHAR(50) +) +AS + + SELECT * + FROM TipoCella + WHERE CodCS = @CodCS + AND CodMag = @CodMag + +RETURN +go + +/*************************************** +* STORED stp_TipoCellaGetByIdx +* +* ottiene l'elenco dei tipi di celle dal codice Idx +* +* Steamware, S.E.L. +* mod: 2010.05.19 +* +****************************************/ +create PROCEDURE stp_TipoCellaGetByIdx +( + @IdxTipoCella INT +) +AS + + SELECT * + FROM TipoCella + WHERE IdxTipoCella = @IdxTipoCella + +RETURN +go + +commit +go + + +-- update UDC con "U" iniziale +set xact_abort on +go + +begin transaction +go + +drop procedure stp_getStatoByUDC +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_UDC_insNew +* +* crea un nuovo record nella TabStatoOdpUdc e restituisce il codice UDC appena creato +* +* Steamware, S.E.L. +* mod: 2010.04.28 +* +****************************************/ +alter PROCEDURE stp_UDC_insNew +( + @CodCS VARCHAR(2), + @Flusso VARCHAR(2), + @Anno VARCHAR(2), + @Tara FLOAT, + @CodImballo AS VARCHAR(50), + @CodTipoDichiaraz CHAR(1), + @CodOperatore AS VARCHAR(50), + @CodEvento VARCHAR(10) +) +AS + +-- DECLARE iniziali +DECLARE @UDC AS VARCHAR(20) +DECLARE @numFlu AS INT +DECLARE @numUdc AS INT +DECLARE @nextUdc AS INT + +------------------------------------------------------------------------------------------------------ +-- Flusso +------------------------------------------------------------------------------------------------------ +-- controllo se esiste il flusso (bilancia)... +SET @numFlu = ( + SELECT count(*) + FROM AnagBilance + WHERE CodBilancia = @Flusso +) +-- ...sennò lo creo... +IF(@numFlu = 0) + BEGIN + -- se c'è inserisco in tab + INSERT INTO AnagBilance(CodBilancia, DescrImpianto, CodCS) + VALUES (@Flusso, @Flusso, @CodCS) + END +------------------------------------------------------------------------------------------------------ + + +------------------------------------------------------------------------------------------------------ +-- UDC +------------------------------------------------------------------------------------------------------ +-- controllo se ci sia già un UDC per company / flusso anno +BEGIN TRAN + -- cerco nella tab contatori UDC l'ultimo valido + SET @numUdc = ( + SELECT count(*) + FROM ContatoriUdc + WHERE CodCS = @CodCS + AND Flusso = @Flusso + AND Anno = @Anno + ) + -- controllo se record c'è... + IF(@numUdc > 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 @numUdc = ( + SELECT LastIdx + FROM ContatoriUdc + WHERE CodCS = @CodCS + AND Flusso = @Flusso + AND Anno = @Anno + ) +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- Ciclo principale x inserimento nuovo record +------------------------------------------------------------------------------------------------------ +-- ottengo il nuovo codice UDC completo +SET @UDC = 'U' + @CodCS + @Flusso + @Anno + dbo.f_padLeft(CAST(@numUdc AS VARCHAR(6)), 6, '0') + +-- inserisco un nuovo record +INSERT INTO ElencoCartellini(CodCS, UDC, Tara, IdxPosizione, Qta, CodImballo, CreateDate, ModDate) +VALUES (@CodCS, @UDC, @Tara, 0, 0, @CodImballo, GETDATE(), GETDATE()) +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- restituisco la tab dati con l'udc appena inserito +------------------------------------------------------------------------------------------------------ +SELECT * +FROM ElencoCartellini +WHERE UDC = @UDC +------------------------------------------------------------------------------------------------------ + +RETURN +go + +/*************************************** +* STORED stp_UDC_insNewFull +* +* crea un nuovo record nella TabStatoOdpUdc FULL (con pesi, qta...) e restituisce il codice UDC appena creato +* +* Steamware, S.E.L. +* mod: 2010.04.28 +* +****************************************/ +alter PROCEDURE stp_UDC_insNewFull +( + @CodCS VARCHAR(2), + @Flusso VARCHAR(2), + @Anno VARCHAR(2), + @CodCliente VARCHAR(6), + @Particolare VARCHAR(15), + @CodImpianto AS VARCHAR(50), + @CodStampo VARCHAR(8), + @Esponente VARCHAR(6), + @Figura VARCHAR(4), + @DataFus DATETIME, + @TurnoFus INT, + @CodImballo VARCHAR(15), + @CodSoggetto VARCHAR(16), + @Tara FLOAT, + @IdxPosizione INT, + @CodTipoDichiaraz CHAR(1), + @CodEvento VARCHAR(10), + @Qta DECIMAL(10,2), + @PesoTot FLOAT, + @PesoCad FLOAT, + @CodStato VARCHAR(50), + @UDC_parent VARCHAR(20) +) +AS + +-- DECLARE iniziali +DECLARE @UDC AS VARCHAR(20) +DECLARE @RagSociale AS VARCHAR(35) +DECLARE @DescParticolare AS VARCHAR(30) +DECLARE @DescImpianto AS VARCHAR(50) +DECLARE @DisegnoGrezzo AS VARCHAR(30) +DECLARE @NumCont AS INT +DECLARE @numFlu AS INT +DECLARE @numUdc AS INT +DECLARE @nextUdc AS INT + +------------------------------------------------------------------------------------------------------ +-- Caricamento Dati da anagrafica +------------------------------------------------------------------------------------------------------ +-- cerco la ragione sociale... +SET @RagSociale = ( + SELECT ISNULL(RagSociale, 'ND') AS RagSociale + FROM RilPro.AnagClienti + WHERE (CodCliente = @CodCliente) +) + +-- Cerco descrizione del particolare... +SET @DescParticolare = ( + SELECT ISNULL(DescParticolare, 'ND') AS DescParticolare + FROM RilPro.AnagParticolari + WHERE (Particolare = @Particolare) +) + +-- cerco codice disegno grezzo +SET @DisegnoGrezzo = ( + SELECT ISNULL(DisegnoGrezzo, 'ND') AS DescParticolare + FROM RilPro.AnagParticolari + WHERE (Particolare = @Particolare) +) + +-- cerco descrizione Impianto +SET @DescImpianto = ( + SELECT ISNULL(DescImpianto, 'ND') AS DescImpianto + FROM AnagImpianti + WHERE (CodImpianto = @CodImpianto) +) + + + +-- Calcolo contatore intero successivo x il contenitore... +SET @NumCont = ( + SELECT ISNULL(MAX(NumCont), 0) + 1 AS NumCont + FROM ElencoCartellini + WHERE (Particolare = @Particolare) + AND (DataFus = @DataFus) + AND (TurnoFus = @TurnoFus) + AND (CodImpianto = @CodImpianto) + AND (CodStampo = @CodStampo) + AND (Figura = @Figura) +) + + +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- Flusso +------------------------------------------------------------------------------------------------------ +-- controllo se esiste il flusso (bilancia)... +SET @numFlu = ( + SELECT count(*) + FROM AnagBilance + WHERE CodBilancia = @Flusso +) +-- ...sennò lo creo... +IF(@numFlu = 0) + BEGIN + -- se c'è inserisco in tab + INSERT INTO AnagBilance(CodBilancia, DescrImpianto, CodCS) + VALUES (@Flusso, @Flusso, @CodCS) + END +------------------------------------------------------------------------------------------------------ + + +------------------------------------------------------------------------------------------------------ +-- UDC +------------------------------------------------------------------------------------------------------ +-- controllo se ci sia già un UDC per company / flusso anno +BEGIN TRAN + -- cerco nella tab contatori UDC l'ultimo valido + SET @numUdc = ( + SELECT count(*) + FROM ContatoriUdc + WHERE CodCS = @CodCS + AND Flusso = @Flusso + AND Anno = @Anno + ) + -- controllo se record c'è... + IF(@numUdc > 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 @numUdc = ( + SELECT LastIdx + FROM ContatoriUdc + WHERE CodCS = @CodCS + AND Flusso = @Flusso + AND Anno = @Anno + ) +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- Ciclo principale x inserimento nuovo record +------------------------------------------------------------------------------------------------------ +BEGIN TRAN + -- ottengo il nuovo codice UDC completo + SET @UDC = 'U' + @CodCS + @Flusso + @Anno + dbo.f_padLeft(CAST(@numUdc AS VARCHAR(6)), 6, '0') + + -- inserisco un nuovo record + INSERT INTO ElencoCartellini(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) + VALUES (@UDC, @CodCS, @CodCliente, @RagSociale, @Particolare, @DescParticolare, @DisegnoGrezzo, @Esponente, @CodImpianto, @DescImpianto, @CodStampo, @Figura, @DataFus, @TurnoFus, @CodImballo, @CodSoggetto, @NumCont, @Tara, @Qta, @CodStato, @IdxPosizione, @PesoTot, @PesoCad, GETDATE(), GETDATE()) + + -- inserisco relazione aprent-child tra UDC vecchio (tara) e nuovo (pesa) + INSERT INTO RelazUDC(UDC_parent, UDC_child) + VALUES (@UDC_parent, @UDC) +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + +/* +------------------------------------------------------------------------------------------------------ +-- Salvataggio dati evento in tab StoricoEventi +------------------------------------------------------------------------------------------------------ +INSERT INTO StoricoEventi(DataEv, CodEvento, CodOperatore, CodTipoDichiaraz, CodCS, UDC, Qta, PesoTot, PesoCad, Particolare, CodStato, CodStampo, Figura, FiguraIncisa) +VALUES (GETDATE(), @CodEvento, @CodOperatore, @CodTipoDichiaraz, @CodCS, @UDC, @Qta, @PesoTot, @PesoCad, @Particolare, @CodStato, @CodStampo, @Figura, @FiguraIncisa) +------------------------------------------------------------------------------------------------------ +*/ + +------------------------------------------------------------------------------------------------------ +-- restituisco la tab dati con l'udc appena inserito +------------------------------------------------------------------------------------------------------ +SELECT * +FROM ElencoCartellini +WHERE UDC = @UDC +------------------------------------------------------------------------------------------------------ + +RETURN +go + +commit +go + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(51, GETDATE()) +GO \ No newline at end of file diff --git a/GMW_data/SqlScripts/V1.1/GMW_00052.sql b/GMW_data/SqlScripts/V1.1/GMW_00052.sql new file mode 100644 index 00000000..f24da5c9 --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00052.sql @@ -0,0 +1,75 @@ +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_prtCartByUDC +* +* ottiene il record del Cartellino dato l'UDC richiesto x la sstampa +* +* Steamware, S.E.L. +* mod: 2010.05.28 +* +****************************************/ +alter PROCEDURE stp_prtCartByUDC +( + @UDC VARCHAR(50) +) +AS + 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 + 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 + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(52, GETDATE()) +GO \ No newline at end of file diff --git a/GMW_data/SqlScripts/V1.1/GMW_00070.sql b/GMW_data/SqlScripts/V1.1/GMW_00070.sql new file mode 100644 index 00000000..becb2b88 --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00070.sql @@ -0,0 +1,81 @@ +/* Aggiornamento ed udpate DB!*/ + +-- drop stored inutilizzate +set xact_abort on +go + +begin transaction +go + +drop procedure stp_getImp2Art_ByImpData +go + +drop procedure stp_getImp2Art_currProd +go + +commit +go + + +-- nuove stored! +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_dummy +* +* stored dummy per poter settare stringhe di connessione alle stored operative associate allos tesso oggetto del dataset +* +* Steamware, S.E.L. +* mod: 2010.05.18 +* +****************************************/ +create PROCEDURE stp_dummy +AS + +SELECT * FROM LogUpdateDb + +RETURN +go + +/*************************************** +* STORED stp_getImballoLikeSearch +* +* carica le righe imballo da ricerca like +* +* Steamware, S.E.L. +* mod: 2010.05.28 +* +****************************************/ +create PROCEDURE stp_getImballoLikeSearch +( + @searchVal VARCHAR(50) +) +AS + + SELECT CodImballo, ClasseArticolo, DescImballo + FROM RilPro.AnagImballi + WHERE (CodImballo LIKE '%' + @searchVal + '%') + OR (DescImballo LIKE '%' + @searchVal + '%') + +RETURN +go + +commit +go + + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(70, GETDATE()) +GO \ No newline at end of file diff --git a/GMW_data/SqlScripts/V1.1/GMW_00080.sql b/GMW_data/SqlScripts/V1.1/GMW_00080.sql new file mode 100644 index 00000000..9260d051 --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00080.sql @@ -0,0 +1,687 @@ +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +create VIEW V_CelleOverview +AS +SELECT dbo.Celle.CodCS, dbo.Celle.IdxCella, dbo.Celle.CodCella, dbo.Celle.X, dbo.Celle.Y, dbo.Celle.Z, ISNULL(dbo.PosizioneUdcCorrente.UDC, '') AS UDC +FROM dbo.Celle LEFT OUTER JOIN + dbo.PosizioneUdcCorrente ON dbo.Celle.IdxCella = dbo.PosizioneUdcCorrente.IdxCella +go + +exec sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "Celle" + Begin Extent = + Top = 35 + Left = 80 + Bottom = 285 + Right = 250 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "PosizioneUdcCorrente" + Begin Extent = + Top = 42 + Left = 422 + Bottom = 171 + Right = 592 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 9 + Width = 284 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'V_CelleOverview' +go + +exec sp_addextendedproperty 'MS_DiagramPaneCount', 1, 'SCHEMA', 'dbo', 'VIEW', 'V_CelleOverview' +go + +create VIEW V_DettMagPart +AS +SELECT TOP (100) PERCENT dbo.AnagMag.CodCS, dbo.AnagMag.CodMag, dbo.AnagMag.DescMag, dbo.Blocchi.IdxBlocco, dbo.Blocchi.CodBlocco, + dbo.ElencoCartellini.Particolare, dbo.ElencoCartellini.Esponente, COUNT(dbo.PosizioneUdcCorrente.UDC) AS NumUDC, + ISNULL(MIN(dbo.PosizioneUdcCorrente.DataRif), GETDATE()) AS Oldest, ISNULL(MAX(dbo.PosizioneUdcCorrente.DataRif), GETDATE()) AS Newest, + SUM(dbo.ElencoCartellini.Qta) AS QtaTotPz, dbo.AnagStatiProdotto.DescStato +FROM dbo.AnagMag INNER JOIN + dbo.Blocchi ON dbo.AnagMag.CodMag = dbo.Blocchi.CodMag AND dbo.AnagMag.CodCS = dbo.Blocchi.CodCS INNER JOIN + dbo.Celle INNER JOIN + dbo.ElencoCartellini INNER JOIN + dbo.PosizioneUdcCorrente ON dbo.ElencoCartellini.UDC = dbo.PosizioneUdcCorrente.UDC ON dbo.Celle.IdxCella = dbo.PosizioneUdcCorrente.IdxCella ON + dbo.Blocchi.IdxBlocco = dbo.Celle.IdxBlocco INNER JOIN + dbo.AnagStatiProdotto ON dbo.ElencoCartellini.CodStato = dbo.AnagStatiProdotto.CodStato +WHERE (dbo.Celle.Attiva = 1) +GROUP BY dbo.AnagMag.CodCS, dbo.AnagMag.CodMag, dbo.AnagMag.DescMag, dbo.Blocchi.IdxBlocco, dbo.Blocchi.CodBlocco, dbo.Blocchi.NumX, dbo.Blocchi.NumY, + dbo.Blocchi.NumZ, dbo.ElencoCartellini.Particolare, dbo.AnagStatiProdotto.DescStato, dbo.ElencoCartellini.Esponente +ORDER BY QtaTotPz DESC +go + +exec sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "AnagMag" + Begin Extent = + Top = 22 + Left = 1012 + Bottom = 134 + Right = 1198 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "Blocchi" + Begin Extent = + Top = 16 + Left = 737 + Bottom = 145 + Right = 923 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "Celle" + Begin Extent = + Top = 6 + Left = 486 + Bottom = 135 + Right = 672 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "ElencoCartellini" + Begin Extent = + Top = 163 + Left = 416 + Bottom = 328 + Right = 602 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "PosizioneUdcCorrente" + Begin Extent = + Top = 116 + Left = 35 + Bottom = 245 + Right = 221 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "AnagStatiProdotto" + Begin Extent = + Top = 226 + Left = 650 + Bottom = 321 + Right = 836 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 13 + Width = 284 + Width = ', 'SCHEMA', 'dbo', 'VIEW', 'V_DettMagPart' +go + +exec sp_addextendedproperty 'MS_DiagramPane2', '1500 + Width = 1500 + Width = 2145 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 2415 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 12 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'V_DettMagPart' +go + +exec sp_addextendedproperty 'MS_DiagramPaneCount', 2, 'SCHEMA', 'dbo', 'VIEW', 'V_DettMagPart' +go + +create VIEW V_MagazziniOverview +AS +SELECT dbo.AnagMag.CodCS, dbo.AnagMag.CodMag, dbo.AnagMag.DescMag, dbo.Blocchi.IdxBlocco, dbo.Blocchi.CodBlocco, + dbo.Blocchi.NumX * dbo.Blocchi.NumY * dbo.Blocchi.NumZ AS TotCelle, COUNT(dbo.Celle.IdxCella) AS CelleAttive, COUNT(dbo.PosizioneUdcCorrente.UDC) + AS CelleOccupate, COUNT(dbo.Celle.IdxCella) - COUNT(dbo.PosizioneUdcCorrente.UDC) AS CelleLibere, ISNULL(MIN(dbo.PosizioneUdcCorrente.DataRif), GETDATE()) + AS Oldest, ISNULL(MAX(dbo.PosizioneUdcCorrente.DataRif), GETDATE()) AS Newest +FROM dbo.Celle RIGHT OUTER JOIN + dbo.AnagMag INNER JOIN + dbo.Blocchi ON dbo.AnagMag.CodMag = dbo.Blocchi.CodMag AND dbo.AnagMag.CodCS = dbo.Blocchi.CodCS ON + dbo.Celle.IdxBlocco = dbo.Blocchi.IdxBlocco LEFT OUTER JOIN + dbo.PosizioneUdcCorrente ON dbo.Celle.IdxCella = dbo.PosizioneUdcCorrente.IdxCella +WHERE (dbo.Celle.Attiva = 1) +GROUP BY dbo.AnagMag.CodCS, dbo.AnagMag.CodMag, dbo.AnagMag.DescMag, dbo.Blocchi.IdxBlocco, dbo.Blocchi.CodBlocco, dbo.Blocchi.NumX, dbo.Blocchi.NumY, + dbo.Blocchi.NumZ +go + +exec sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "Celle" + Begin Extent = + Top = 149 + Left = 629 + Bottom = 313 + Right = 799 + End + DisplayFlags = 280 + TopColumn = 4 + End + Begin Table = "AnagMag" + Begin Extent = + Top = 6 + Left = 662 + Bottom = 118 + Right = 832 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "Blocchi" + Begin Extent = + Top = 36 + Left = 974 + Bottom = 257 + Right = 1144 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "PosizioneUdcCorrente" + Begin Extent = + Top = 159 + Left = 201 + Bottom = 288 + Right = 371 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 11 + Width = 284 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1665 + Width = 1665 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 12 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or', 'SCHEMA', 'dbo', 'VIEW', 'V_MagazziniOverview' +go + +exec sp_addextendedproperty 'MS_DiagramPane2', ' = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'V_MagazziniOverview' +go + +exec sp_addextendedproperty 'MS_DiagramPaneCount', 2, 'SCHEMA', 'dbo', 'VIEW', 'V_MagazziniOverview' +go + +create VIEW V_ParticolariOverview +AS +SELECT RilPro.AnagParticolari.Particolare, RilPro.AnagParticolari.DescParticolare, ISNULL(COUNT(dbo.ElencoCartellini.UDC), 0) AS NumUDC, + ISNULL(SUM(dbo.ElencoCartellini.Qta), 0) AS TotQta, ISNULL(COUNT(dbo.PosizioneUdcCorrente.IdxCella), 0) AS NumInMag +FROM RilPro.AnagParticolari LEFT OUTER JOIN + dbo.ElencoCartellini ON RilPro.AnagParticolari.Particolare = dbo.ElencoCartellini.Particolare LEFT OUTER JOIN + dbo.PosizioneUdcCorrente ON dbo.ElencoCartellini.UDC = dbo.PosizioneUdcCorrente.UDC +GROUP BY RilPro.AnagParticolari.Particolare, RilPro.AnagParticolari.DescParticolare, dbo.ElencoCartellini.UDC, dbo.ElencoCartellini.Qta, dbo.PosizioneUdcCorrente.IdxCella +go + +exec sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "AnagParticolari (RilPro)" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 191 + Right = 208 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "ElencoCartellini" + Begin Extent = + Top = 6 + Left = 277 + Bottom = 270 + Right = 447 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "PosizioneUdcCorrente" + Begin Extent = + Top = 7 + Left = 533 + Bottom = 136 + Right = 703 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 9 + Width = 284 + Width = 1500 + Width = 2580 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 12 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'V_ParticolariOverview' +go + +exec sp_addextendedproperty 'MS_DiagramPaneCount', 1, 'SCHEMA', 'dbo', 'VIEW', 'V_ParticolariOverview' +go + +commit +go + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(80, GETDATE()) +GO \ No newline at end of file diff --git a/GMW_data/SqlScripts/V1.1/GMW_00081.sql b/GMW_data/SqlScripts/V1.1/GMW_00081.sql new file mode 100644 index 00000000..c54d437a --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00081.sql @@ -0,0 +1,65 @@ +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_celleLibereGetByIdxBlocco +* +* ottiene l'elenco delle posizioni LIBERE associate ad un dato blocco +* +* Steamware, S.E.L. +* mod: 2010.06.02 +* +****************************************/ +create PROCEDURE stp_celleLibereGetByIdxBlocco +( + @IdxBlocco INT +) +AS + + SELECT Celle.IdxCella, Celle.CodCS, Celle.CodCella, Celle.IdxTipoCella, Celle.Descrizione, Celle.Attiva, Celle.IdxBlocco, Celle.X, Celle.Y, Celle.Z + FROM Celle LEFT OUTER JOIN + PosizioneUdcCorrente ON Celle.IdxCella = PosizioneUdcCorrente.IdxCella + WHERE (Celle.IdxBlocco = @IdxBlocco) AND (Celle.Attiva = 1) AND (PosizioneUdcCorrente.IdxCella IS NULL) +RETURN +go + +/*************************************** +* STORED stp_celleNonAttiveByIdxBlocco +* +* ottiene l'elenco delle posizioni NON ATTIVE associate ad un dato blocco +* +* Steamware, S.E.L. +* mod: 2010.06.03 +* +****************************************/ +create PROCEDURE stp_celleNonAttiveByIdxBlocco +( + @IdxBlocco INT +) +AS + + SELECT Celle.IdxCella, Celle.CodCS, Celle.CodCella, Celle.IdxTipoCella, Celle.Descrizione, Celle.Attiva, Celle.IdxBlocco, + Celle.X, Celle.Y, Celle.Z + FROM Celle + WHERE (Celle.IdxBlocco = @IdxBlocco) AND (Celle.Attiva = 0) +RETURN +go + +commit +go + + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(81, GETDATE()) +GO \ No newline at end of file diff --git a/GMW_data/SqlScripts/V1.1/GMW_00082.sql b/GMW_data/SqlScripts/V1.1/GMW_00082.sql new file mode 100644 index 00000000..23a5bcac --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00082.sql @@ -0,0 +1,100 @@ +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_ParticolariOverview +* +* elenco di overview sullo stato dei magazzini (dettaglio a "maglie larghe") +* +* Steamware, S.E.L. +* mod: 2010.06.02 +* +****************************************/ +create PROCEDURE stp_magazzinoOverview +( + @CodCS VARCHAR(2) +) +AS + + SELECT dbo.AnagMag.CodCS, dbo.AnagMag.CodMag, dbo.AnagMag.DescMag, dbo.Blocchi.IdxBlocco, dbo.Blocchi.CodBlocco, + dbo.Blocchi.NumX * dbo.Blocchi.NumY * dbo.Blocchi.NumZ AS TotCelle, COUNT(dbo.Celle.IdxCella) AS CelleAttive, + COUNT(dbo.PosizioneUdcCorrente.UDC) AS CelleOccupate, COUNT(dbo.Celle.IdxCella) - COUNT(dbo.PosizioneUdcCorrente.UDC) AS CelleLibere, + ISNULL(MIN(dbo.PosizioneUdcCorrente.DataRif), GETDATE()) + AS Oldest, ISNULL(MAX(dbo.PosizioneUdcCorrente.DataRif), GETDATE()) AS Newest + FROM dbo.Celle RIGHT OUTER JOIN + dbo.AnagMag INNER JOIN + dbo.Blocchi ON dbo.AnagMag.CodMag = dbo.Blocchi.CodMag AND dbo.AnagMag.CodCS = dbo.Blocchi.CodCS ON + dbo.Celle.IdxBlocco = dbo.Blocchi.IdxBlocco LEFT OUTER JOIN + dbo.PosizioneUdcCorrente ON dbo.Celle.IdxCella = dbo.PosizioneUdcCorrente.IdxCella + WHERE (dbo.Celle.Attiva = 1) AND dbo.AnagMag.CodCS = @CodCS + GROUP BY dbo.AnagMag.CodCS, dbo.AnagMag.CodMag, dbo.AnagMag.DescMag, dbo.Blocchi.IdxBlocco, dbo.Blocchi.CodBlocco, + dbo.Blocchi.NumX, dbo.Blocchi.NumY, dbo.Blocchi.NumZ + +RETURN +go + +/*************************************** +* STORED stp_ParticolariOverview +* +* restituisce solo la riga con il num max di celle DI UN DATO magazzino +* +* Steamware, S.E.L. +* mod: 2010.06.02 +* +****************************************/ +create PROCEDURE stp_magazzinoOverviewByMag_maxCelle +( + @CodCS VARCHAR(2), + @CodMag VARCHAR(50) +) +AS + + SELECT TOP (1) AnagMag.CodCS, AnagMag.CodMag, AnagMag.DescMag, Blocchi.IdxBlocco, Blocchi.CodBlocco, ISNULL(Blocchi.NumX * Blocchi.NumY * Blocchi.NumZ,1) AS TotCelle, + 0 AS CelleAttive, 0 AS CelleOccupate, 0 AS CelleLibere, GETDATE() AS Oldest, GETDATE() AS Newest + FROM AnagMag INNER JOIN Blocchi ON AnagMag.CodMag = Blocchi.CodMag AND AnagMag.CodCS = Blocchi.CodCS + WHERE (AnagMag.CodCS = @CodCS) AND AnagMag.CodMag = @CodMag + ORDER BY TotCelle DESC + +RETURN +go + +/*************************************** +* STORED stp_ParticolariOverview +* +* restituisce solo la riga con il num max di celle +* +* Steamware, S.E.L. +* mod: 2010.06.02 +* +****************************************/ +create PROCEDURE stp_magazzinoOverview_maxCelle +( + @CodCS VARCHAR(2) +) +AS + + SELECT TOP (1) AnagMag.CodCS, AnagMag.CodMag, AnagMag.DescMag, Blocchi.IdxBlocco, Blocchi.CodBlocco, ISNULL(Blocchi.NumX * Blocchi.NumY * Blocchi.NumZ,1) AS TotCelle, + 0 AS CelleAttive, 0 AS CelleOccupate, 0 AS CelleLibere, GETDATE() AS Oldest, GETDATE() AS Newest + FROM AnagMag INNER JOIN Blocchi ON AnagMag.CodMag = Blocchi.CodMag AND AnagMag.CodCS = Blocchi.CodCS + WHERE (AnagMag.CodCS = @CodCS) + ORDER BY TotCelle DESC + +RETURN +go + +commit +go + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(82, GETDATE()) +GO \ No newline at end of file diff --git a/GMW_data/SqlScripts/V1.1/GMW_00083.sql b/GMW_data/SqlScripts/V1.1/GMW_00083.sql new file mode 100644 index 00000000..034c88a0 --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00083.sql @@ -0,0 +1,101 @@ + + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_ParticolariOverview +* +* elenco di overview sullo stato dei magazzini (dettaglio a "maglie larghe") +* +* Steamware, S.E.L. +* mod: 2010.06.02 +* +****************************************/ +create PROCEDURE stp_magazzinoOverview +( + @CodCS VARCHAR(2) +) +AS + + SELECT dbo.AnagMag.CodCS, dbo.AnagMag.CodMag, dbo.AnagMag.DescMag, dbo.Blocchi.IdxBlocco, dbo.Blocchi.CodBlocco, + dbo.Blocchi.NumX * dbo.Blocchi.NumY * dbo.Blocchi.NumZ AS TotCelle, COUNT(dbo.Celle.IdxCella) AS CelleAttive, + COUNT(dbo.PosizioneUdcCorrente.UDC) AS CelleOccupate, COUNT(dbo.Celle.IdxCella) - COUNT(dbo.PosizioneUdcCorrente.UDC) AS CelleLibere, + ISNULL(MIN(dbo.PosizioneUdcCorrente.DataRif), GETDATE()) + AS Oldest, ISNULL(MAX(dbo.PosizioneUdcCorrente.DataRif), GETDATE()) AS Newest + FROM dbo.Celle RIGHT OUTER JOIN + dbo.AnagMag INNER JOIN + dbo.Blocchi ON dbo.AnagMag.CodMag = dbo.Blocchi.CodMag AND dbo.AnagMag.CodCS = dbo.Blocchi.CodCS ON + dbo.Celle.IdxBlocco = dbo.Blocchi.IdxBlocco LEFT OUTER JOIN + dbo.PosizioneUdcCorrente ON dbo.Celle.IdxCella = dbo.PosizioneUdcCorrente.IdxCella + WHERE (dbo.Celle.Attiva = 1) AND dbo.AnagMag.CodCS = @CodCS + GROUP BY dbo.AnagMag.CodCS, dbo.AnagMag.CodMag, dbo.AnagMag.DescMag, dbo.Blocchi.IdxBlocco, dbo.Blocchi.CodBlocco, + dbo.Blocchi.NumX, dbo.Blocchi.NumY, dbo.Blocchi.NumZ + +RETURN +go + +/*************************************** +* STORED stp_ParticolariOverview +* +* restituisce solo la riga con il num max di celle DI UN DATO magazzino +* +* Steamware, S.E.L. +* mod: 2010.06.02 +* +****************************************/ +create PROCEDURE stp_magazzinoOverviewByMag_maxCelle +( + @CodCS VARCHAR(2), + @CodMag VARCHAR(50) +) +AS + + SELECT TOP (1) AnagMag.CodCS, AnagMag.CodMag, AnagMag.DescMag, Blocchi.IdxBlocco, Blocchi.CodBlocco, ISNULL(Blocchi.NumX * Blocchi.NumY * Blocchi.NumZ,1) AS TotCelle, + 0 AS CelleAttive, 0 AS CelleOccupate, 0 AS CelleLibere, GETDATE() AS Oldest, GETDATE() AS Newest + FROM AnagMag INNER JOIN Blocchi ON AnagMag.CodMag = Blocchi.CodMag AND AnagMag.CodCS = Blocchi.CodCS + WHERE (AnagMag.CodCS = @CodCS) AND AnagMag.CodMag = @CodMag + ORDER BY TotCelle DESC + +RETURN +go + +/*************************************** +* STORED stp_ParticolariOverview +* +* restituisce solo la riga con il num max di celle +* +* Steamware, S.E.L. +* mod: 2010.06.02 +* +****************************************/ +create PROCEDURE stp_magazzinoOverview_maxCelle +( + @CodCS VARCHAR(2) +) +AS + + SELECT TOP (1) AnagMag.CodCS, AnagMag.CodMag, AnagMag.DescMag, Blocchi.IdxBlocco, Blocchi.CodBlocco, ISNULL(Blocchi.NumX * Blocchi.NumY * Blocchi.NumZ,1) AS TotCelle, + 0 AS CelleAttive, 0 AS CelleOccupate, 0 AS CelleLibere, GETDATE() AS Oldest, GETDATE() AS Newest + FROM AnagMag INNER JOIN Blocchi ON AnagMag.CodMag = Blocchi.CodMag AND AnagMag.CodCS = Blocchi.CodCS + WHERE (AnagMag.CodCS = @CodCS) + ORDER BY TotCelle DESC + +RETURN +go + +commit +go + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(83, GETDATE()) +GO \ No newline at end of file diff --git a/GMW_data/SqlScripts/V1.1/GMW_00084.sql b/GMW_data/SqlScripts/V1.1/GMW_00084.sql new file mode 100644 index 00000000..1b741695 --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00084.sql @@ -0,0 +1,268 @@ +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_paretoDettMagByParticolare +* +* restituisce elenco giacenze a magazzino in logica pareto (quantità) per un dato particolare +* +* Steamware, S.E.L. +* mod: 2010.06.04 +* +****************************************/ +create PROCEDURE stp_paretoDettMagByParticolare +( + @CodCS VARCHAR(2), + @Particolare VARCHAR(20) +) +AS + + SELECT TOP (100) PERCENT AnagMag.CodCS, AnagMag.CodMag, AnagMag.DescMag, Blocchi.IdxBlocco, Blocchi.CodBlocco, ElencoCartellini.Particolare, + ElencoCartellini.Esponente, COUNT(PosizioneUdcCorrente.UDC) AS NumUDC, ISNULL(MIN(PosizioneUdcCorrente.DataRif), + GETDATE()) AS Oldest, ISNULL(MAX(PosizioneUdcCorrente.DataRif), GETDATE()) AS Newest, SUM(ElencoCartellini.Qta) AS QtaTotPz, + AnagStatiProdotto.DescStato + FROM AnagMag INNER JOIN + Blocchi ON AnagMag.CodMag = Blocchi.CodMag AND AnagMag.CodCS = Blocchi.CodCS INNER JOIN + Celle INNER JOIN + ElencoCartellini INNER JOIN + PosizioneUdcCorrente ON ElencoCartellini.UDC = PosizioneUdcCorrente.UDC ON Celle.IdxCella = PosizioneUdcCorrente.IdxCella ON + Blocchi.IdxBlocco = Celle.IdxBlocco INNER JOIN + AnagStatiProdotto ON ElencoCartellini.CodStato = AnagStatiProdotto.CodStato + WHERE (Celle.Attiva = 1) AND (AnagMag.CodCS = @CodCS) AND (ElencoCartellini.Particolare = @Particolare) + GROUP BY AnagMag.CodCS, AnagMag.CodMag, AnagMag.DescMag, Blocchi.IdxBlocco, Blocchi.CodBlocco, Blocchi.NumX, Blocchi.NumY, Blocchi.NumZ, + ElencoCartellini.Particolare, ElencoCartellini.Esponente, AnagStatiProdotto.DescStato + ORDER BY QtaTotPz DESC + + +RETURN +go + +/*************************************** +* STORED stp_paretoDettPartByFullSpec +* +* restituisce elenco particolari in logica pareto (quantità) per un dato blocco di magazzino e il particolare +* +* Steamware, S.E.L. +* mod: 2010.06.04 +* +****************************************/ +create PROCEDURE stp_paretoDettPartByFullSpec +( + @CodCS VARCHAR(2), + @CodMag VARCHAR(50), + @IdxBlocco INT, + @Particolare VARCHAR(20) +) +AS + + SELECT TOP (100) PERCENT AnagMag.CodCS, AnagMag.CodMag, AnagMag.DescMag, Blocchi.IdxBlocco, Blocchi.CodBlocco, ElencoCartellini.Particolare, + ElencoCartellini.Esponente, COUNT(PosizioneUdcCorrente.UDC) AS NumUDC, ISNULL(MIN(PosizioneUdcCorrente.DataRif), + GETDATE()) AS Oldest, ISNULL(MAX(PosizioneUdcCorrente.DataRif), GETDATE()) AS Newest, SUM(ElencoCartellini.Qta) AS QtaTotPz, + AnagStatiProdotto.DescStato + FROM AnagMag INNER JOIN + Blocchi ON AnagMag.CodMag = Blocchi.CodMag AND AnagMag.CodCS = Blocchi.CodCS INNER JOIN + Celle INNER JOIN + ElencoCartellini INNER JOIN + PosizioneUdcCorrente ON ElencoCartellini.UDC = PosizioneUdcCorrente.UDC ON Celle.IdxCella = PosizioneUdcCorrente.IdxCella ON + Blocchi.IdxBlocco = Celle.IdxBlocco INNER JOIN + AnagStatiProdotto ON ElencoCartellini.CodStato = AnagStatiProdotto.CodStato + WHERE (Celle.Attiva = 1) AND (AnagMag.CodCS = @CodCS) AND (AnagMag.CodMag = @CodMag) AND (Blocchi.IdxBlocco = @IdxBlocco) AND + (ElencoCartellini.Particolare = @Particolare) + GROUP BY AnagMag.CodCS, AnagMag.CodMag, AnagMag.DescMag, Blocchi.IdxBlocco, Blocchi.CodBlocco, Blocchi.NumX, Blocchi.NumY, Blocchi.NumZ, + ElencoCartellini.Particolare, ElencoCartellini.Esponente, AnagStatiProdotto.DescStato + ORDER BY QtaTotPz DESC + + +RETURN +go + +/*************************************** +* STORED stp_paretoPartByMagBlocco +* +* restituisce elenco particolari in logica pareto (quantità) per un dato blocco di magazzino, aggregati (no stato) +* +* Steamware, S.E.L. +* mod: 2010.06.03 +* +****************************************/ +create PROCEDURE stp_paretoPartByMagBlocco +( + @CodCS VARCHAR(2), + @CodMag VARCHAR(50), + @IdxBlocco INT +) +AS + + SELECT TOP (100) PERCENT + dbo.AnagMag.CodCS, dbo.AnagMag.CodMag, dbo.AnagMag.DescMag, dbo.Blocchi.IdxBlocco, dbo.Blocchi.CodBlocco, + dbo.ElencoCartellini.Particolare, '' as Esponente, COUNT(dbo.PosizioneUdcCorrente.UDC) AS NumUDC, ISNULL(MIN(dbo.PosizioneUdcCorrente.DataRif), + GETDATE()) AS Oldest, ISNULL(MAX(dbo.PosizioneUdcCorrente.DataRif), GETDATE()) AS Newest, SUM(dbo.ElencoCartellini.Qta) AS QtaTotPz, + '' AS DescStato + FROM dbo.AnagMag INNER JOIN + dbo.Blocchi ON dbo.AnagMag.CodMag = dbo.Blocchi.CodMag AND dbo.AnagMag.CodCS = dbo.Blocchi.CodCS INNER JOIN + dbo.Celle INNER JOIN + dbo.ElencoCartellini INNER JOIN + dbo.PosizioneUdcCorrente ON dbo.ElencoCartellini.UDC = dbo.PosizioneUdcCorrente.UDC + ON dbo.Celle.IdxCella = dbo.PosizioneUdcCorrente.IdxCella + ON dbo.Blocchi.IdxBlocco = dbo.Celle.IdxBlocco INNER JOIN + dbo.AnagStatiProdotto ON dbo.ElencoCartellini.CodStato = dbo.AnagStatiProdotto.CodStato +WHERE (dbo.Celle.Attiva = 1) AND (AnagMag.CodCS = @CodCS) AND AnagMag.CodMag = @CodMag AND Blocchi.IdxBlocco = @IdxBlocco +GROUP BY dbo.AnagMag.CodCS, dbo.AnagMag.CodMag, dbo.AnagMag.DescMag, dbo.Blocchi.IdxBlocco, dbo.Blocchi.CodBlocco, + dbo.Blocchi.NumX, dbo.Blocchi.NumY, dbo.Blocchi.NumZ, dbo.ElencoCartellini.Particolare +ORDER BY QtaTotPz DESC + + +RETURN +go + +/*************************************** +* STORED stp_ParticolariOverview +* +* elenco di overview sull'impiego dei particolari (dettaglio a "maglie larghe") +* +* Steamware, S.E.L. +* mod: 2010.05.31 +* +****************************************/ +create PROCEDURE stp_ParticolariOverview +( + @searchVal VARCHAR(50), + @CodCS VARCHAR(2) +) +AS + + SELECT RilPro.AnagParticolari.Particolare, RilPro.AnagParticolari.DescParticolare, ISNULL(COUNT(dbo.ElencoCartellini.UDC), 0) AS NumUDC, + ISNULL(SUM(dbo.ElencoCartellini.Qta), 0) AS TotQta, ISNULL(COUNT(dbo.PosizioneUdcCorrente.IdxCella), 0) AS NumInMag + FROM RilPro.AnagParticolari LEFT OUTER JOIN + dbo.ElencoCartellini ON RilPro.AnagParticolari.Particolare = dbo.ElencoCartellini.Particolare LEFT OUTER JOIN + dbo.PosizioneUdcCorrente ON dbo.ElencoCartellini.UDC = dbo.PosizioneUdcCorrente.UDC + WHERE RilPro.AnagParticolari.CodCS = @CodCS AND RilPro.AnagParticolari.Particolare = @searchVal + GROUP BY RilPro.AnagParticolari.Particolare, RilPro.AnagParticolari.DescParticolare + +RETURN +go + +/*************************************** +* STORED stp_ParticolariOverviewLike +* +* elenco di overview sull'impiego dei particolari (dettaglio a "maglie larghe") - modalità LIKE +* +* Steamware, S.E.L. +* mod: 2010.05.31 +* +****************************************/ +create PROCEDURE stp_ParticolariOverviewLike +( + @searchVal VARCHAR(50), + @CodCS VARCHAR(2) +) +AS + + SELECT RilPro.AnagParticolari.Particolare, RilPro.AnagParticolari.DescParticolare, ISNULL(COUNT(ElencoCartellini.UDC), 0) AS NumUDC, + SUM(ISNULL(ElencoCartellini.Qta, 0)) AS TotQta, ISNULL(COUNT(PosizioneUdcCorrente.IdxCella), 0) AS NumInMag + FROM RilPro.AnagParticolari LEFT OUTER JOIN + ElencoCartellini ON RilPro.AnagParticolari.Particolare = ElencoCartellini.Particolare LEFT OUTER JOIN + PosizioneUdcCorrente ON ElencoCartellini.UDC = PosizioneUdcCorrente.UDC + WHERE (RilPro.AnagParticolari.CodCS = @CodCS) AND (RilPro.AnagParticolari.Particolare LIKE '%' + @searchVal + '%') + GROUP BY RilPro.AnagParticolari.Particolare, RilPro.AnagParticolari.DescParticolare + +RETURN +go + +/*************************************** +* STORED stp_posizioniGetByIdxBlocco +* +* ottiene l'elenco delle posizioni UDC associate ad un dato blocco +* +* Steamware, S.E.L. +* mod: 2010.06.02 +* +****************************************/ +create PROCEDURE stp_posizioniGetByIdxBlocco +( + @IdxBlocco INT +) +AS + + SELECT PosizioneUdcCorrente.UDC, PosizioneUdcCorrente.IdxCella, PosizioneUdcCorrente.CodCS, PosizioneUdcCorrente.DataRif + FROM Celle INNER JOIN + PosizioneUdcCorrente ON Celle.IdxCella = PosizioneUdcCorrente.IdxCella + WHERE (Celle.IdxBlocco = @IdxBlocco) +RETURN +go + +/*************************************** +* STORED stp_posizioniGetByIdxCella +* +* ottiene una singola posizione data la cella richiesta +* +* Steamware, S.E.L. +* mod: 2010.06.03 +* +****************************************/ +create PROCEDURE stp_posizioniGetByIdxCella +( + @IdxCella INT +) +AS + + SELECT UDC, IdxCella, CodCS, DataRif + FROM PosizioneUdcCorrente + WHERE (IdxCella = @IdxCella) +RETURN +go + +/*************************************** +* STORED stp_UdcDetailGetByIdxBlocco +* +* ottiene l'elenco degli UDC con dettaglio posizioni OCCUPATE associati ad un dato blocco di magazzino +* +* Steamware, S.E.L. +* mod: 2010.06.03 +* +****************************************/ +create PROCEDURE stp_UdcDetailGetByIdxBlocco +( + @IdxBlocco INT +) +AS + +SELECT ElencoCartellini.UDC, ElencoCartellini.RagSociale, ElencoCartellini.Particolare, ElencoCartellini.DescParticolare, + ElencoCartellini.DisegnoGrezzo, ElencoCartellini.Esponente, ElencoCartellini.DescImpianto, ElencoCartellini.DataFus, + ElencoCartellini.TurnoFus, ElencoCartellini.CodImballo, ElencoCartellini.Qta, AnagStatiProdotto.DescStato, ElencoCartellini.ModDate, + ISNULL(Blocchi.CodMag, N'') AS CodMag, ISNULL(Blocchi.CodBlocco, N'') AS CodBlocco, ISNULL(Celle.CodCella, N'') AS CodCella, + ISNULL(Celle.X, 0) AS X, ISNULL(Celle.Y, 0) AS Y, ISNULL(Celle.Z, 0) AS Z +FROM AnagStatiProdotto RIGHT OUTER JOIN ElencoCartellini + ON AnagStatiProdotto.CodStato = ElencoCartellini.CodStato AND AnagStatiProdotto.CodStato = ElencoCartellini.CodStato + LEFT OUTER JOIN Celle INNER JOIN PosizioneUdcCorrente + ON Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND + Celle.IdxCella = PosizioneUdcCorrente.IdxCella INNER JOIN + Blocchi ON Celle.IdxBlocco = Blocchi.IdxBlocco INNER JOIN + AnagMag ON Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND + Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS ON + ElencoCartellini.UDC = PosizioneUdcCorrente.UDC +WHERE (Celle.IdxBlocco = @IdxBlocco) + +RETURN +go + +commit +go + + + + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(84, GETDATE()) +GO \ No newline at end of file diff --git a/GMW_data/SqlScripts/V1.1/GMW_00085.sql b/GMW_data/SqlScripts/V1.1/GMW_00085.sql new file mode 100644 index 00000000..79219cd8 --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00085.sql @@ -0,0 +1,3093 @@ +/* FIX dati */ +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.Permessi + VALUES ('ADMIN', 'menu.aspx', 5, 0, 'Admin', 'Admin') +INSERT INTO dbo.Permessi + VALUES ('ADMIN_vocab', 'vocabolario.aspx', 5, 1, 'Vocabolario', 'Vocabolario') +INSERT INTO dbo.Permessi + VALUES ('ANAG', 'menu.aspx', 1, 0, 'AnagraficheBase', 'AnagraficheBase') +INSERT INTO dbo.Permessi + VALUES ('ANAG_celle', 'anagCelle.aspx', 1, 2, 'AnagCelle', 'AnagCelleExpl') +INSERT INTO dbo.Permessi + VALUES ('ANAG_mag', 'anagMagazzini.aspx', 1, 1, 'AnagMagazzini', 'AnagMagazziniExpl') +INSERT INTO dbo.Permessi + VALUES ('MAG', 'menu.aspx', 2, 0, 'GestioneMagazzino', 'GestioneMagazzinoExpl') +INSERT INTO dbo.Permessi + VALUES ('MAG_block', 'DettaglioBlocco.aspx', 999, 1, 'DettaglioBlocco', 'DettaglioBloccoExpl') +INSERT INTO dbo.Permessi + VALUES ('MAG_mag', 'StatoMag.aspx', 2, 2, 'StatoMagazzino', 'StatoMagazzinoExpl') +INSERT INTO dbo.Permessi + VALUES ('MAG_search', 'SearchMag.aspx', 2, 1, 'MagSearch', 'MagSearchExpl') +INSERT INTO dbo.Permessi + VALUES ('USER', 'menu.aspx', 6, 0, 'UserFunc', 'UserFuncExpl') +INSERT INTO dbo.Permessi + VALUES ('USER_chLang', 'chLang.aspx', 6, 1, 'ModLang', 'ModLangExpl') +go + +commit transaction +go + + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.Permessi2Funzione + VALUES ('ADMIN', N'GMW_admin', 'S') +INSERT INTO dbo.Permessi2Funzione + VALUES ('ADMIN_vocab', N'GMW_admin', 'S') +INSERT INTO dbo.Permessi2Funzione + VALUES ('ANAG', N'GMW_admin', 'S') +INSERT INTO dbo.Permessi2Funzione + VALUES ('ANAG_celle', N'GMW_admin', 's') +INSERT INTO dbo.Permessi2Funzione + VALUES ('ANAG_mag', N'GMW_admin', 'S') +INSERT INTO dbo.Permessi2Funzione + VALUES ('MAG', N'GMW_user', 'S') +INSERT INTO dbo.Permessi2Funzione + VALUES ('MAG_block', N'GMW_user', 'S') +INSERT INTO dbo.Permessi2Funzione + VALUES ('MAG_mag', N'GMW_user', 'S') +INSERT INTO dbo.Permessi2Funzione + VALUES ('MAG_search', N'GMW_user', 'S') +INSERT INTO dbo.Permessi2Funzione + VALUES ('USER', N'GMW_admin', 'S') +INSERT INTO dbo.Permessi2Funzione + VALUES ('USER', N'GMW_user', 'S') +INSERT INTO dbo.Permessi2Funzione + VALUES ('USER_chLang', N'GMW_admin', 'S') +INSERT INTO dbo.Permessi2Funzione + VALUES ('USER_chLang', N'GMW_user', 'S') +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.AnagMag + VALUES (N'M1', N'MA', N'Magazzino M1, Ambivere') +INSERT INTO dbo.AnagMag + VALUES (N'M1', N'MP', N'Magazzino M1, Ponte') +INSERT INTO dbo.AnagMag + VALUES (N'M2', N'MA', N'Magazzino M2, Ambivere') +INSERT INTO dbo.AnagMag + VALUES (N'M2', N'MP', N'Magazzino M2, Ponte') +INSERT INTO dbo.AnagMag + VALUES (N'M3', N'MA', N'Magazzino M3, Ambivere') +INSERT INTO dbo.AnagMag + VALUES (N'MP', N'MA', N'Magazzino MP, Ambivere') +INSERT INTO dbo.AnagMag + VALUES (N'MP', N'MP', N'Magazzino MP, Ponte') +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +set identity_insert dbo.TipoCella on +go + +INSERT INTO dbo.TipoCella + (IdxTipoCella, CodMag, CodCS, Quantita, Capienza, Max_X, Max_Y, Max_Z, Max_Kg) + VALUES (5, N'M1', N'MA', 200, 1, 850, 900, 1300, 1200) +go + +set identity_insert dbo.TipoCella off +go + +commit transaction +go + + + + + +set xact_abort on +go + +begin transaction +go + +set identity_insert dbo.Blocchi on +go + +INSERT INTO dbo.Blocchi + (IdxBlocco, CodMag, CodCS, CodBlocco, DescBlocco, NumX, NumY, NumZ) + VALUES (1, N'M1', N'MA', N'S01', N'blocco S01', 15, 5, 1) +INSERT INTO dbo.Blocchi + (IdxBlocco, CodMag, CodCS, CodBlocco, DescBlocco, NumX, NumY, NumZ) + VALUES (4, N'M1', N'MA', N'S02', N'blocco S02', 15, 5, 1) +INSERT INTO dbo.Blocchi + (IdxBlocco, CodMag, CodCS, CodBlocco, DescBlocco, NumX, NumY, NumZ) + VALUES (5, N'M2', N'MA', N'A01', N'posiz.a terra', 1, 1, 100) +INSERT INTO dbo.Blocchi + (IdxBlocco, CodMag, CodCS, CodBlocco, DescBlocco, NumX, NumY, NumZ) + VALUES (6, N'M1', N'MA', N'S03', N'blocco S03', 10, 5, 1) +INSERT INTO dbo.Blocchi + (IdxBlocco, CodMag, CodCS, CodBlocco, DescBlocco, NumX, NumY, NumZ) + VALUES (8, N'MP', N'MA', N'B01', N'blocco 1 MP', 1, 1, 50) +INSERT INTO dbo.Blocchi + (IdxBlocco, CodMag, CodCS, CodBlocco, DescBlocco, NumX, NumY, NumZ) + VALUES (9, N'MP', N'MA', N'B02', N'blocco 2 MP', 1, 1, 50) +INSERT INTO dbo.Blocchi + (IdxBlocco, CodMag, CodCS, CodBlocco, DescBlocco, NumX, NumY, NumZ) + VALUES (10, N'MP', N'MA', N'B03', N'blocco 3 MP', 1, 1, 50) +INSERT INTO dbo.Blocchi + (IdxBlocco, CodMag, CodCS, CodBlocco, DescBlocco, NumX, NumY, NumZ) + VALUES (11, N'M3', N'MA', N'F01', N'Blocco F01', 20, 5, 1) +INSERT INTO dbo.Blocchi + (IdxBlocco, CodMag, CodCS, CodBlocco, DescBlocco, NumX, NumY, NumZ) + VALUES (12, N'M3', N'MA', N'F02', N'Blocco F02', 20, 5, 1) +INSERT INTO dbo.Blocchi + (IdxBlocco, CodMag, CodCS, CodBlocco, DescBlocco, NumX, NumY, NumZ) + VALUES (13, N'M3', N'MA', N'F03', N'Blocco F03', 20, 5, 1) +INSERT INTO dbo.Blocchi + (IdxBlocco, CodMag, CodCS, CodBlocco, DescBlocco, NumX, NumY, NumZ) + VALUES (14, N'M3', N'MA', N'F04', N'Blocco F04', 20, 5, 1) +INSERT INTO dbo.Blocchi + (IdxBlocco, CodMag, CodCS, CodBlocco, DescBlocco, NumX, NumY, NumZ) + VALUES (15, N'M3', N'MA', N'F05', N'Blocco F05', 20, 5, 1) +go + +set identity_insert dbo.Blocchi off +go + +commit transaction +go + +set xact_abort on +go + +begin transaction +go + +set identity_insert dbo.Celle on +go + +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (1, N'MA', N'A01010101', 9, N'-', 1, 5, 1, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (2, N'MA', N'A01010102', 9, N'-', 1, 5, 1, 1, 2) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (3, N'MA', N'A01010103', 9, N'-', 1, 5, 1, 1, 3) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (4, N'MA', N'A01010104', 9, N'-', 1, 5, 1, 1, 4) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (5, N'MA', N'A01010105', 9, N'-', 1, 5, 1, 1, 5) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (6, N'MA', N'A01010106', 9, N'-', 1, 5, 1, 1, 6) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (7, N'MA', N'A01010107', 9, N'-', 1, 5, 1, 1, 7) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (8, N'MA', N'A01010108', 9, N'-', 1, 5, 1, 1, 8) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (9, N'MA', N'A01010109', 9, N'-', 1, 5, 1, 1, 9) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (10, N'MA', N'A01010110', 9, N'-', 1, 5, 1, 1, 10) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (11, N'MA', N'A01010111', 9, N'-', 1, 5, 1, 1, 11) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (12, N'MA', N'A01010112', 9, N'-', 1, 5, 1, 1, 12) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (13, N'MA', N'A01010113', 9, N'-', 1, 5, 1, 1, 13) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (14, N'MA', N'A01010114', 9, N'-', 1, 5, 1, 1, 14) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (15, N'MA', N'A01010115', 9, N'-', 1, 5, 1, 1, 15) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (16, N'MA', N'A01010116', 9, N'-', 1, 5, 1, 1, 16) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (17, N'MA', N'A01010117', 9, N'-', 1, 5, 1, 1, 17) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (18, N'MA', N'A01010118', 9, N'-', 1, 5, 1, 1, 18) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (19, N'MA', N'A01010119', 9, N'-', 1, 5, 1, 1, 19) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (20, N'MA', N'A01010120', 9, N'-', 1, 5, 1, 1, 20) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (21, N'MA', N'A01010121', 9, N'-', 1, 5, 1, 1, 21) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (22, N'MA', N'A01010122', 9, N'-', 1, 5, 1, 1, 22) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (23, N'MA', N'A01010123', 9, N'-', 1, 5, 1, 1, 23) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (24, N'MA', N'A01010124', 9, N'-', 1, 5, 1, 1, 24) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (25, N'MA', N'A01010125', 9, N'-', 1, 5, 1, 1, 25) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (26, N'MA', N'A01010126', 9, N'-', 1, 5, 1, 1, 26) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (27, N'MA', N'A01010127', 9, N'-', 1, 5, 1, 1, 27) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (28, N'MA', N'A01010128', 9, N'-', 1, 5, 1, 1, 28) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (29, N'MA', N'A01010129', 9, N'-', 1, 5, 1, 1, 29) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (30, N'MA', N'A01010130', 9, N'-', 1, 5, 1, 1, 30) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (31, N'MA', N'A01010131', 9, N'-', 1, 5, 1, 1, 31) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (32, N'MA', N'A01010132', 9, N'-', 1, 5, 1, 1, 32) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (33, N'MA', N'A01010133', 9, N'-', 1, 5, 1, 1, 33) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (34, N'MA', N'A01010134', 9, N'-', 1, 5, 1, 1, 34) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (35, N'MA', N'A01010135', 9, N'-', 1, 5, 1, 1, 35) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (36, N'MA', N'A01010136', 9, N'-', 1, 5, 1, 1, 36) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (37, N'MA', N'A01010137', 9, N'-', 1, 5, 1, 1, 37) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (38, N'MA', N'A01010138', 9, N'-', 1, 5, 1, 1, 38) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (39, N'MA', N'A01010139', 9, N'-', 1, 5, 1, 1, 39) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (40, N'MA', N'A01010140', 9, N'-', 1, 5, 1, 1, 40) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (41, N'MA', N'A01010141', 9, N'-', 1, 5, 1, 1, 41) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (42, N'MA', N'A01010142', 9, N'-', 1, 5, 1, 1, 42) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (43, N'MA', N'A01010143', 9, N'-', 1, 5, 1, 1, 43) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (44, N'MA', N'A01010144', 9, N'-', 1, 5, 1, 1, 44) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (45, N'MA', N'A01010145', 9, N'-', 1, 5, 1, 1, 45) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (46, N'MA', N'A01010146', 9, N'-', 1, 5, 1, 1, 46) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (47, N'MA', N'A01010147', 9, N'-', 1, 5, 1, 1, 47) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (48, N'MA', N'A01010148', 9, N'-', 1, 5, 1, 1, 48) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (49, N'MA', N'A01010149', 9, N'-', 1, 5, 1, 1, 49) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (50, N'MA', N'A01010150', 9, N'-', 1, 5, 1, 1, 50) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (51, N'MA', N'A01010151', 9, N'-', 1, 5, 1, 1, 51) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (52, N'MA', N'A01010152', 9, N'-', 1, 5, 1, 1, 52) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (53, N'MA', N'A01010153', 9, N'-', 1, 5, 1, 1, 53) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (54, N'MA', N'A01010154', 9, N'-', 1, 5, 1, 1, 54) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (55, N'MA', N'A01010155', 9, N'-', 1, 5, 1, 1, 55) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (56, N'MA', N'A01010156', 9, N'-', 1, 5, 1, 1, 56) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (57, N'MA', N'A01010157', 9, N'-', 1, 5, 1, 1, 57) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (58, N'MA', N'A01010158', 9, N'-', 1, 5, 1, 1, 58) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (59, N'MA', N'A01010159', 9, N'-', 1, 5, 1, 1, 59) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (60, N'MA', N'A01010160', 9, N'-', 1, 5, 1, 1, 60) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (61, N'MA', N'A01010161', 9, N'-', 1, 5, 1, 1, 61) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (62, N'MA', N'A01010162', 9, N'-', 1, 5, 1, 1, 62) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (63, N'MA', N'A01010163', 9, N'-', 1, 5, 1, 1, 63) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (64, N'MA', N'A01010164', 9, N'-', 1, 5, 1, 1, 64) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (65, N'MA', N'A01010165', 9, N'-', 1, 5, 1, 1, 65) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (66, N'MA', N'A01010166', 9, N'-', 1, 5, 1, 1, 66) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (67, N'MA', N'A01010167', 9, N'-', 1, 5, 1, 1, 67) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (68, N'MA', N'A01010168', 9, N'-', 1, 5, 1, 1, 68) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (69, N'MA', N'A01010169', 9, N'-', 1, 5, 1, 1, 69) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (70, N'MA', N'A01010170', 9, N'-', 1, 5, 1, 1, 70) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (71, N'MA', N'A01010171', 9, N'-', 1, 5, 1, 1, 71) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (72, N'MA', N'A01010172', 9, N'-', 1, 5, 1, 1, 72) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (73, N'MA', N'A01010173', 9, N'-', 1, 5, 1, 1, 73) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (74, N'MA', N'A01010174', 9, N'-', 1, 5, 1, 1, 74) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (75, N'MA', N'A01010175', 9, N'-', 1, 5, 1, 1, 75) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (76, N'MA', N'A01010176', 9, N'-', 1, 5, 1, 1, 76) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (77, N'MA', N'A01010177', 9, N'-', 1, 5, 1, 1, 77) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (78, N'MA', N'A01010178', 9, N'-', 1, 5, 1, 1, 78) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (79, N'MA', N'A01010179', 9, N'-', 1, 5, 1, 1, 79) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (80, N'MA', N'A01010180', 9, N'-', 1, 5, 1, 1, 80) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (81, N'MA', N'A01010181', 9, N'-', 1, 5, 1, 1, 81) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (82, N'MA', N'A01010182', 9, N'-', 1, 5, 1, 1, 82) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (83, N'MA', N'A01010183', 9, N'-', 1, 5, 1, 1, 83) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (84, N'MA', N'A01010184', 9, N'-', 1, 5, 1, 1, 84) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (85, N'MA', N'A01010185', 9, N'-', 1, 5, 1, 1, 85) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (86, N'MA', N'A01010186', 9, N'-', 1, 5, 1, 1, 86) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (87, N'MA', N'A01010187', 9, N'-', 1, 5, 1, 1, 87) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (88, N'MA', N'A01010188', 9, N'-', 1, 5, 1, 1, 88) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (89, N'MA', N'A01010189', 9, N'-', 1, 5, 1, 1, 89) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (90, N'MA', N'A01010190', 9, N'-', 1, 5, 1, 1, 90) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (91, N'MA', N'A01010191', 9, N'-', 1, 5, 1, 1, 91) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (92, N'MA', N'A01010192', 9, N'-', 1, 5, 1, 1, 92) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (93, N'MA', N'A01010193', 9, N'-', 1, 5, 1, 1, 93) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (94, N'MA', N'A01010194', 9, N'-', 1, 5, 1, 1, 94) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (95, N'MA', N'A01010195', 9, N'-', 1, 5, 1, 1, 95) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (96, N'MA', N'A01010196', 9, N'-', 1, 5, 1, 1, 96) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (97, N'MA', N'A01010197', 9, N'-', 1, 5, 1, 1, 97) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (98, N'MA', N'A01010198', 9, N'-', 1, 5, 1, 1, 98) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (99, N'MA', N'A01010199', 9, N'-', 1, 5, 1, 1, 99) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (100, N'MA', N'A010101100', 9, N'-', 1, 5, 1, 1, 100) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (101, N'MA', N'S01010101', 5, N'-', 1, 1, 1, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (102, N'MA', N'S01010201', 5, N'-', 1, 1, 1, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (103, N'MA', N'S01010301', 5, N'-', 1, 1, 1, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (104, N'MA', N'S01010401', 5, N'-', 1, 1, 1, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (105, N'MA', N'S01010501', 5, N'-', 1, 1, 1, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (106, N'MA', N'S01020101', 5, N'-', 1, 1, 2, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (107, N'MA', N'S01020201', 5, N'-', 1, 1, 2, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (108, N'MA', N'S01020301', 5, N'-', 1, 1, 2, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (109, N'MA', N'S01020401', 5, N'-', 1, 1, 2, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (110, N'MA', N'S01020501', 5, N'-', 1, 1, 2, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (111, N'MA', N'S01030101', 5, N'-', 1, 1, 3, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (112, N'MA', N'S01030201', 5, N'-', 1, 1, 3, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (113, N'MA', N'S01030301', 5, N'-', 1, 1, 3, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (114, N'MA', N'S01030401', 5, N'-', 1, 1, 3, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (115, N'MA', N'S01030501', 5, N'-', 1, 1, 3, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (116, N'MA', N'S01040101', 5, N'-', 1, 1, 4, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (117, N'MA', N'S01040201', 5, N'-', 1, 1, 4, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (118, N'MA', N'S01040301', 5, N'-', 1, 1, 4, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (119, N'MA', N'S01040401', 5, N'-', 1, 1, 4, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (120, N'MA', N'S01040501', 5, N'-', 1, 1, 4, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (121, N'MA', N'S01050101', 5, N'-', 1, 1, 5, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (122, N'MA', N'S01050201', 5, N'-', 1, 1, 5, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (123, N'MA', N'S01050301', 5, N'-', 1, 1, 5, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (124, N'MA', N'S01050401', 5, N'-', 1, 1, 5, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (125, N'MA', N'S01050501', 5, N'-', 1, 1, 5, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (126, N'MA', N'S01060101', 5, N'-', 1, 1, 6, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (127, N'MA', N'S01060201', 5, N'-', 1, 1, 6, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (128, N'MA', N'S01060301', 5, N'-', 1, 1, 6, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (129, N'MA', N'S01060401', 5, N'-', 1, 1, 6, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (130, N'MA', N'S01060501', 5, N'-', 1, 1, 6, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (131, N'MA', N'S01070101', 5, N'-', 1, 1, 7, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (132, N'MA', N'S01070201', 5, N'-', 1, 1, 7, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (133, N'MA', N'S01070301', 5, N'-', 1, 1, 7, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (134, N'MA', N'S01070401', 5, N'-', 1, 1, 7, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (135, N'MA', N'S01070501', 5, N'-', 1, 1, 7, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (136, N'MA', N'S01080101', 5, N'-', 1, 1, 8, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (137, N'MA', N'S01080201', 5, N'-', 1, 1, 8, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (138, N'MA', N'S01080301', 5, N'-', 1, 1, 8, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (139, N'MA', N'S01080401', 5, N'-', 1, 1, 8, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (140, N'MA', N'S01080501', 5, N'-', 1, 1, 8, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (141, N'MA', N'S01090101', 5, N'-', 1, 1, 9, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (142, N'MA', N'S01090201', 5, N'-', 1, 1, 9, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (143, N'MA', N'S01090301', 5, N'-', 1, 1, 9, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (144, N'MA', N'S01090401', 5, N'-', 1, 1, 9, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (145, N'MA', N'S01090501', 5, N'-', 1, 1, 9, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (146, N'MA', N'S01100101', 5, N'-', 1, 1, 10, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (147, N'MA', N'S01100201', 5, N'-', 1, 1, 10, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (148, N'MA', N'S01100301', 5, N'-', 1, 1, 10, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (149, N'MA', N'S01100401', 5, N'-', 1, 1, 10, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (150, N'MA', N'S01100501', 5, N'-', 1, 1, 10, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (151, N'MA', N'S01110101', 5, N'-', 1, 1, 11, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (152, N'MA', N'S01110201', 5, N'-', 1, 1, 11, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (153, N'MA', N'S01110301', 5, N'-', 1, 1, 11, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (154, N'MA', N'S01110401', 5, N'-', 1, 1, 11, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (155, N'MA', N'S01110501', 5, N'-', 1, 1, 11, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (156, N'MA', N'S01120101', 5, N'-', 1, 1, 12, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (157, N'MA', N'S01120201', 5, N'-', 1, 1, 12, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (158, N'MA', N'S01120301', 5, N'-', 1, 1, 12, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (159, N'MA', N'S01120401', 5, N'-', 1, 1, 12, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (160, N'MA', N'S01120501', 5, N'-', 1, 1, 12, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (161, N'MA', N'S01130101', 5, N'-', 1, 1, 13, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (162, N'MA', N'S01130201', 5, N'-', 1, 1, 13, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (163, N'MA', N'S01130301', 5, N'-', 1, 1, 13, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (164, N'MA', N'S01130401', 5, N'-', 1, 1, 13, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (165, N'MA', N'S01130501', 5, N'-', 1, 1, 13, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (166, N'MA', N'S01140101', 5, N'-', 1, 1, 14, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (167, N'MA', N'S01140201', 5, N'-', 1, 1, 14, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (168, N'MA', N'S01140301', 5, N'-', 1, 1, 14, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (169, N'MA', N'S01140401', 5, N'-', 1, 1, 14, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (170, N'MA', N'S01140501', 5, N'-', 1, 1, 14, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (171, N'MA', N'S01150101', 5, N'-', 1, 1, 15, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (172, N'MA', N'S01150201', 5, N'-', 1, 1, 15, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (173, N'MA', N'S01150301', 5, N'-', 1, 1, 15, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (174, N'MA', N'S01150401', 5, N'-', 1, 1, 15, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (175, N'MA', N'S01150501', 5, N'-', 1, 1, 15, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (176, N'MA', N'S02010101', 5, N'-', 1, 4, 1, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (177, N'MA', N'S02010201', 5, N'-', 1, 4, 1, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (178, N'MA', N'S02010301', 5, N'-', 1, 4, 1, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (179, N'MA', N'S02010401', 5, N'-', 1, 4, 1, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (180, N'MA', N'S02010501', 5, N'-', 1, 4, 1, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (181, N'MA', N'S02020101', 5, N'-', 1, 4, 2, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (182, N'MA', N'S02020201', 5, N'-', 1, 4, 2, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (183, N'MA', N'S02020301', 5, N'-', 1, 4, 2, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (184, N'MA', N'S02020401', 5, N'-', 1, 4, 2, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (185, N'MA', N'S02020501', 5, N'-', 1, 4, 2, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (186, N'MA', N'S02030101', 5, N'-', 1, 4, 3, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (187, N'MA', N'S02030201', 5, N'-', 1, 4, 3, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (188, N'MA', N'S02030301', 5, N'-', 1, 4, 3, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (189, N'MA', N'S02030401', 5, N'-', 1, 4, 3, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (190, N'MA', N'S02030501', 5, N'-', 1, 4, 3, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (191, N'MA', N'S02040101', 5, N'-', 1, 4, 4, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (192, N'MA', N'S02040201', 5, N'-', 1, 4, 4, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (193, N'MA', N'S02040301', 5, N'-', 1, 4, 4, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (194, N'MA', N'S02040401', 5, N'-', 1, 4, 4, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (195, N'MA', N'S02040501', 5, N'-', 1, 4, 4, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (196, N'MA', N'S02050101', 5, N'-', 1, 4, 5, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (197, N'MA', N'S02050201', 5, N'-', 1, 4, 5, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (198, N'MA', N'S02050301', 5, N'-', 1, 4, 5, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (199, N'MA', N'S02050401', 5, N'-', 1, 4, 5, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (200, N'MA', N'S02050501', 5, N'-', 1, 4, 5, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (201, N'MA', N'S02060101', 5, N'-', 1, 4, 6, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (202, N'MA', N'S02060201', 5, N'-', 1, 4, 6, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (203, N'MA', N'S02060301', 5, N'-', 1, 4, 6, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (204, N'MA', N'S02060401', 5, N'-', 1, 4, 6, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (205, N'MA', N'S02060501', 5, N'-', 1, 4, 6, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (206, N'MA', N'S02070101', 5, N'-', 1, 4, 7, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (207, N'MA', N'S02070201', 5, N'-', 1, 4, 7, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (208, N'MA', N'S02070301', 5, N'-', 1, 4, 7, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (209, N'MA', N'S02070401', 5, N'-', 1, 4, 7, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (210, N'MA', N'S02070501', 5, N'-', 1, 4, 7, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (211, N'MA', N'S02080101', 5, N'-', 1, 4, 8, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (212, N'MA', N'S02080201', 5, N'-', 1, 4, 8, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (213, N'MA', N'S02080301', 5, N'-', 1, 4, 8, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (214, N'MA', N'S02080401', 5, N'-', 1, 4, 8, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (215, N'MA', N'S02080501', 5, N'-', 1, 4, 8, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (216, N'MA', N'S02090101', 5, N'-', 1, 4, 9, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (217, N'MA', N'S02090201', 5, N'-', 1, 4, 9, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (218, N'MA', N'S02090301', 5, N'-', 1, 4, 9, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (219, N'MA', N'S02090401', 5, N'-', 1, 4, 9, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (220, N'MA', N'S02090501', 5, N'-', 1, 4, 9, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (221, N'MA', N'S02100101', 5, N'-', 1, 4, 10, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (222, N'MA', N'S02100201', 5, N'-', 1, 4, 10, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (223, N'MA', N'S02100301', 5, N'-', 1, 4, 10, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (224, N'MA', N'S02100401', 5, N'-', 1, 4, 10, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (225, N'MA', N'S02100501', 5, N'-', 1, 4, 10, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (226, N'MA', N'S02110101', 5, N'-', 1, 4, 11, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (227, N'MA', N'S02110201', 5, N'-', 1, 4, 11, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (228, N'MA', N'S02110301', 5, N'-', 1, 4, 11, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (229, N'MA', N'S02110401', 5, N'-', 1, 4, 11, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (230, N'MA', N'S02110501', 5, N'-', 1, 4, 11, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (231, N'MA', N'S02120101', 5, N'-', 1, 4, 12, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (232, N'MA', N'S02120201', 5, N'-', 1, 4, 12, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (233, N'MA', N'S02120301', 5, N'-', 1, 4, 12, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (234, N'MA', N'S02120401', 5, N'-', 1, 4, 12, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (235, N'MA', N'S02120501', 5, N'-', 1, 4, 12, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (236, N'MA', N'S02130101', 5, N'-', 1, 4, 13, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (237, N'MA', N'S02130201', 5, N'-', 1, 4, 13, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (238, N'MA', N'S02130301', 5, N'-', 1, 4, 13, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (239, N'MA', N'S02130401', 5, N'-', 1, 4, 13, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (240, N'MA', N'S02130501', 5, N'-', 1, 4, 13, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (241, N'MA', N'S02140101', 5, N'-', 1, 4, 14, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (242, N'MA', N'S02140201', 5, N'-', 1, 4, 14, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (243, N'MA', N'S02140301', 5, N'-', 1, 4, 14, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (244, N'MA', N'S02140401', 5, N'-', 1, 4, 14, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (245, N'MA', N'S02140501', 5, N'-', 1, 4, 14, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (246, N'MA', N'S02150101', 5, N'-', 1, 4, 15, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (247, N'MA', N'S02150201', 5, N'-', 1, 4, 15, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (248, N'MA', N'S02150301', 5, N'-', 1, 4, 15, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (249, N'MA', N'S02150401', 5, N'-', 1, 4, 15, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (250, N'MA', N'S02150501', 5, N'-', 1, 4, 15, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (251, N'MA', N'S03010101', 5, N'-', 1, 6, 1, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (252, N'MA', N'S03010201', 5, N'-', 1, 6, 1, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (253, N'MA', N'S03010301', 5, N'-', 1, 6, 1, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (254, N'MA', N'S03010401', 5, N'-', 1, 6, 1, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (255, N'MA', N'S03010501', 5, N'-', 1, 6, 1, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (256, N'MA', N'S03020101', 5, N'-', 1, 6, 2, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (257, N'MA', N'S03020201', 5, N'-', 1, 6, 2, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (258, N'MA', N'S03020301', 5, N'-', 1, 6, 2, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (259, N'MA', N'S03020401', 5, N'-', 1, 6, 2, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (260, N'MA', N'S03020501', 5, N'-', 1, 6, 2, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (261, N'MA', N'S03030101', 5, N'-', 1, 6, 3, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (262, N'MA', N'S03030201', 5, N'-', 1, 6, 3, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (263, N'MA', N'S03030301', 5, N'-', 1, 6, 3, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (264, N'MA', N'S03030401', 5, N'-', 1, 6, 3, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (265, N'MA', N'S03030501', 5, N'-', 1, 6, 3, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (266, N'MA', N'S03040101', 5, N'-', 1, 6, 4, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (267, N'MA', N'S03040201', 5, N'-', 1, 6, 4, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (268, N'MA', N'S03040301', 5, N'-', 1, 6, 4, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (269, N'MA', N'S03040401', 5, N'-', 1, 6, 4, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (270, N'MA', N'S03040501', 5, N'-', 1, 6, 4, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (271, N'MA', N'S03050101', 5, N'-', 1, 6, 5, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (272, N'MA', N'S03050201', 5, N'-', 1, 6, 5, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (273, N'MA', N'S03050301', 5, N'-', 1, 6, 5, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (274, N'MA', N'S03050401', 5, N'-', 1, 6, 5, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (275, N'MA', N'S03050501', 5, N'-', 1, 6, 5, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (276, N'MA', N'S03060101', 5, N'-', 1, 6, 6, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (277, N'MA', N'S03060201', 5, N'-', 1, 6, 6, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (278, N'MA', N'S03060301', 5, N'-', 1, 6, 6, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (279, N'MA', N'S03060401', 5, N'-', 1, 6, 6, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (280, N'MA', N'S03060501', 5, N'-', 1, 6, 6, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (281, N'MA', N'S03070101', 5, N'-', 1, 6, 7, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (282, N'MA', N'S03070201', 5, N'-', 1, 6, 7, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (283, N'MA', N'S03070301', 5, N'-', 1, 6, 7, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (284, N'MA', N'S03070401', 5, N'-', 1, 6, 7, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (285, N'MA', N'S03070501', 5, N'-', 1, 6, 7, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (286, N'MA', N'S03080101', 5, N'-', 1, 6, 8, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (287, N'MA', N'S03080201', 5, N'-', 1, 6, 8, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (288, N'MA', N'S03080301', 5, N'-', 1, 6, 8, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (289, N'MA', N'S03080401', 5, N'-', 1, 6, 8, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (290, N'MA', N'S03080501', 5, N'-', 1, 6, 8, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (291, N'MA', N'S03090101', 5, N'-', 1, 6, 9, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (292, N'MA', N'S03090201', 5, N'-', 1, 6, 9, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (293, N'MA', N'S03090301', 5, N'-', 1, 6, 9, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (294, N'MA', N'S03090401', 5, N'-', 1, 6, 9, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (295, N'MA', N'S03090501', 5, N'-', 1, 6, 9, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (296, N'MA', N'S03100101', 5, N'-', 1, 6, 10, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (297, N'MA', N'S03100201', 5, N'-', 1, 6, 10, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (298, N'MA', N'S03100301', 5, N'-', 1, 6, 10, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (299, N'MA', N'S03100401', 5, N'-', 1, 6, 10, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (300, N'MA', N'S03100501', 5, N'-', 1, 6, 10, 5, 1) +go + +set identity_insert dbo.Celle off +go + +commit transaction +go + +set xact_abort on +go + +begin transaction +go + +set identity_insert dbo.Celle on +go + +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (301, N'MA', N'B03010101', 11, N'-', 1, 10, 1, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (302, N'MA', N'B03010102', 11, N'-', 1, 10, 1, 1, 2) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (303, N'MA', N'B03010103', 11, N'-', 1, 10, 1, 1, 3) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (304, N'MA', N'B03010104', 11, N'-', 1, 10, 1, 1, 4) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (305, N'MA', N'B03010105', 11, N'-', 1, 10, 1, 1, 5) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (306, N'MA', N'B03010106', 11, N'-', 1, 10, 1, 1, 6) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (307, N'MA', N'B03010107', 11, N'-', 1, 10, 1, 1, 7) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (308, N'MA', N'B03010108', 11, N'-', 1, 10, 1, 1, 8) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (309, N'MA', N'B03010109', 11, N'-', 1, 10, 1, 1, 9) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (310, N'MA', N'B03010110', 11, N'-', 1, 10, 1, 1, 10) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (311, N'MA', N'B03010111', 11, N'-', 1, 10, 1, 1, 11) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (312, N'MA', N'B03010112', 11, N'-', 1, 10, 1, 1, 12) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (313, N'MA', N'B03010113', 11, N'-', 1, 10, 1, 1, 13) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (314, N'MA', N'B03010114', 11, N'-', 1, 10, 1, 1, 14) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (315, N'MA', N'B03010115', 11, N'-', 1, 10, 1, 1, 15) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (316, N'MA', N'B03010116', 11, N'-', 1, 10, 1, 1, 16) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (317, N'MA', N'B03010117', 11, N'-', 1, 10, 1, 1, 17) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (318, N'MA', N'B03010118', 11, N'-', 1, 10, 1, 1, 18) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (319, N'MA', N'B03010119', 11, N'-', 1, 10, 1, 1, 19) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (320, N'MA', N'B03010120', 11, N'-', 1, 10, 1, 1, 20) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (321, N'MA', N'B03010121', 11, N'-', 1, 10, 1, 1, 21) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (322, N'MA', N'B03010122', 11, N'-', 1, 10, 1, 1, 22) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (323, N'MA', N'B03010123', 11, N'-', 1, 10, 1, 1, 23) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (324, N'MA', N'B03010124', 11, N'-', 1, 10, 1, 1, 24) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (325, N'MA', N'B03010125', 11, N'-', 1, 10, 1, 1, 25) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (326, N'MA', N'B03010126', 11, N'-', 1, 10, 1, 1, 26) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (327, N'MA', N'B03010127', 11, N'-', 1, 10, 1, 1, 27) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (328, N'MA', N'B03010128', 11, N'-', 1, 10, 1, 1, 28) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (329, N'MA', N'B03010129', 11, N'-', 1, 10, 1, 1, 29) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (330, N'MA', N'B03010130', 11, N'-', 1, 10, 1, 1, 30) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (331, N'MA', N'B03010131', 11, N'-', 1, 10, 1, 1, 31) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (332, N'MA', N'B03010132', 11, N'-', 1, 10, 1, 1, 32) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (333, N'MA', N'B03010133', 11, N'-', 1, 10, 1, 1, 33) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (334, N'MA', N'B03010134', 11, N'-', 1, 10, 1, 1, 34) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (335, N'MA', N'B03010135', 11, N'-', 1, 10, 1, 1, 35) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (336, N'MA', N'B03010136', 11, N'-', 1, 10, 1, 1, 36) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (337, N'MA', N'B03010137', 11, N'-', 1, 10, 1, 1, 37) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (338, N'MA', N'B03010138', 11, N'-', 1, 10, 1, 1, 38) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (339, N'MA', N'B03010139', 11, N'-', 1, 10, 1, 1, 39) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (340, N'MA', N'B03010140', 11, N'-', 1, 10, 1, 1, 40) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (341, N'MA', N'B03010141', 11, N'-', 1, 10, 1, 1, 41) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (342, N'MA', N'B03010142', 11, N'-', 1, 10, 1, 1, 42) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (343, N'MA', N'B03010143', 11, N'-', 1, 10, 1, 1, 43) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (344, N'MA', N'B03010144', 11, N'-', 1, 10, 1, 1, 44) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (345, N'MA', N'B03010145', 11, N'-', 1, 10, 1, 1, 45) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (346, N'MA', N'B03010146', 11, N'-', 1, 10, 1, 1, 46) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (347, N'MA', N'B03010147', 11, N'-', 1, 10, 1, 1, 47) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (348, N'MA', N'B03010148', 11, N'-', 1, 10, 1, 1, 48) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (349, N'MA', N'B03010149', 11, N'-', 1, 10, 1, 1, 49) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (350, N'MA', N'B03010150', 11, N'-', 1, 10, 1, 1, 50) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (351, N'MA', N'B02010101', 11, N'-', 1, 9, 1, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (352, N'MA', N'B02010102', 11, N'-', 1, 9, 1, 1, 2) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (353, N'MA', N'B02010103', 11, N'-', 1, 9, 1, 1, 3) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (354, N'MA', N'B02010104', 11, N'-', 1, 9, 1, 1, 4) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (355, N'MA', N'B02010105', 11, N'-', 1, 9, 1, 1, 5) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (356, N'MA', N'B02010106', 11, N'-', 1, 9, 1, 1, 6) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (357, N'MA', N'B02010107', 11, N'-', 1, 9, 1, 1, 7) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (358, N'MA', N'B02010108', 11, N'-', 1, 9, 1, 1, 8) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (359, N'MA', N'B02010109', 11, N'-', 1, 9, 1, 1, 9) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (360, N'MA', N'B02010110', 11, N'-', 1, 9, 1, 1, 10) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (361, N'MA', N'B02010111', 11, N'-', 1, 9, 1, 1, 11) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (362, N'MA', N'B02010112', 11, N'-', 1, 9, 1, 1, 12) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (363, N'MA', N'B02010113', 11, N'-', 1, 9, 1, 1, 13) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (364, N'MA', N'B02010114', 11, N'-', 1, 9, 1, 1, 14) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (365, N'MA', N'B02010115', 11, N'-', 1, 9, 1, 1, 15) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (366, N'MA', N'B02010116', 11, N'-', 1, 9, 1, 1, 16) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (367, N'MA', N'B02010117', 11, N'-', 1, 9, 1, 1, 17) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (368, N'MA', N'B02010118', 11, N'-', 1, 9, 1, 1, 18) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (369, N'MA', N'B02010119', 11, N'-', 1, 9, 1, 1, 19) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (370, N'MA', N'B02010120', 11, N'-', 1, 9, 1, 1, 20) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (371, N'MA', N'B02010121', 11, N'-', 1, 9, 1, 1, 21) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (372, N'MA', N'B02010122', 11, N'-', 1, 9, 1, 1, 22) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (373, N'MA', N'B02010123', 11, N'-', 1, 9, 1, 1, 23) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (374, N'MA', N'B02010124', 11, N'-', 1, 9, 1, 1, 24) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (375, N'MA', N'B02010125', 11, N'-', 1, 9, 1, 1, 25) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (376, N'MA', N'B02010126', 11, N'-', 1, 9, 1, 1, 26) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (377, N'MA', N'B02010127', 11, N'-', 1, 9, 1, 1, 27) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (378, N'MA', N'B02010128', 11, N'-', 1, 9, 1, 1, 28) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (379, N'MA', N'B02010129', 11, N'-', 1, 9, 1, 1, 29) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (380, N'MA', N'B02010130', 11, N'-', 1, 9, 1, 1, 30) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (381, N'MA', N'B02010131', 11, N'-', 1, 9, 1, 1, 31) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (382, N'MA', N'B02010132', 11, N'-', 1, 9, 1, 1, 32) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (383, N'MA', N'B02010133', 11, N'-', 1, 9, 1, 1, 33) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (384, N'MA', N'B02010134', 11, N'-', 1, 9, 1, 1, 34) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (385, N'MA', N'B02010135', 11, N'-', 1, 9, 1, 1, 35) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (386, N'MA', N'B02010136', 11, N'-', 1, 9, 1, 1, 36) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (387, N'MA', N'B02010137', 11, N'-', 1, 9, 1, 1, 37) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (388, N'MA', N'B02010138', 11, N'-', 1, 9, 1, 1, 38) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (389, N'MA', N'B02010139', 11, N'-', 1, 9, 1, 1, 39) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (390, N'MA', N'B02010140', 11, N'-', 1, 9, 1, 1, 40) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (391, N'MA', N'B02010141', 11, N'-', 1, 9, 1, 1, 41) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (392, N'MA', N'B02010142', 11, N'-', 1, 9, 1, 1, 42) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (393, N'MA', N'B02010143', 11, N'-', 1, 9, 1, 1, 43) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (394, N'MA', N'B02010144', 11, N'-', 1, 9, 1, 1, 44) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (395, N'MA', N'B02010145', 11, N'-', 1, 9, 1, 1, 45) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (396, N'MA', N'B02010146', 11, N'-', 1, 9, 1, 1, 46) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (397, N'MA', N'B02010147', 11, N'-', 1, 9, 1, 1, 47) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (398, N'MA', N'B02010148', 11, N'-', 1, 9, 1, 1, 48) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (399, N'MA', N'B02010149', 11, N'-', 1, 9, 1, 1, 49) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (400, N'MA', N'B02010150', 11, N'-', 1, 9, 1, 1, 50) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (401, N'MA', N'B01010101', 11, N'-', 1, 8, 1, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (402, N'MA', N'B01010102', 11, N'-', 1, 8, 1, 1, 2) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (403, N'MA', N'B01010103', 11, N'-', 1, 8, 1, 1, 3) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (404, N'MA', N'B01010104', 11, N'-', 1, 8, 1, 1, 4) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (405, N'MA', N'B01010105', 11, N'-', 1, 8, 1, 1, 5) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (406, N'MA', N'B01010106', 11, N'-', 1, 8, 1, 1, 6) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (407, N'MA', N'B01010107', 11, N'-', 1, 8, 1, 1, 7) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (408, N'MA', N'B01010108', 11, N'-', 1, 8, 1, 1, 8) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (409, N'MA', N'B01010109', 11, N'-', 1, 8, 1, 1, 9) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (410, N'MA', N'B01010110', 11, N'-', 1, 8, 1, 1, 10) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (411, N'MA', N'B01010111', 11, N'-', 1, 8, 1, 1, 11) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (412, N'MA', N'B01010112', 11, N'-', 1, 8, 1, 1, 12) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (413, N'MA', N'B01010113', 11, N'-', 1, 8, 1, 1, 13) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (414, N'MA', N'B01010114', 11, N'-', 1, 8, 1, 1, 14) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (415, N'MA', N'B01010115', 11, N'-', 1, 8, 1, 1, 15) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (416, N'MA', N'B01010116', 11, N'-', 1, 8, 1, 1, 16) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (417, N'MA', N'B01010117', 11, N'-', 1, 8, 1, 1, 17) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (418, N'MA', N'B01010118', 11, N'-', 1, 8, 1, 1, 18) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (419, N'MA', N'B01010119', 11, N'-', 1, 8, 1, 1, 19) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (420, N'MA', N'B01010120', 11, N'-', 1, 8, 1, 1, 20) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (421, N'MA', N'B01010121', 11, N'-', 1, 8, 1, 1, 21) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (422, N'MA', N'B01010122', 11, N'-', 1, 8, 1, 1, 22) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (423, N'MA', N'B01010123', 11, N'-', 1, 8, 1, 1, 23) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (424, N'MA', N'B01010124', 11, N'-', 1, 8, 1, 1, 24) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (425, N'MA', N'B01010125', 11, N'-', 1, 8, 1, 1, 25) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (426, N'MA', N'B01010126', 11, N'-', 1, 8, 1, 1, 26) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (427, N'MA', N'B01010127', 11, N'-', 1, 8, 1, 1, 27) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (428, N'MA', N'B01010128', 11, N'-', 1, 8, 1, 1, 28) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (429, N'MA', N'B01010129', 11, N'-', 1, 8, 1, 1, 29) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (430, N'MA', N'B01010130', 11, N'-', 1, 8, 1, 1, 30) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (431, N'MA', N'B01010131', 11, N'-', 1, 8, 1, 1, 31) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (432, N'MA', N'B01010132', 11, N'-', 1, 8, 1, 1, 32) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (433, N'MA', N'B01010133', 11, N'-', 1, 8, 1, 1, 33) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (434, N'MA', N'B01010134', 11, N'-', 1, 8, 1, 1, 34) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (435, N'MA', N'B01010135', 11, N'-', 1, 8, 1, 1, 35) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (436, N'MA', N'B01010136', 11, N'-', 1, 8, 1, 1, 36) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (437, N'MA', N'B01010137', 11, N'-', 1, 8, 1, 1, 37) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (438, N'MA', N'B01010138', 11, N'-', 1, 8, 1, 1, 38) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (439, N'MA', N'B01010139', 11, N'-', 1, 8, 1, 1, 39) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (440, N'MA', N'B01010140', 11, N'-', 1, 8, 1, 1, 40) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (441, N'MA', N'B01010141', 11, N'-', 1, 8, 1, 1, 41) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (442, N'MA', N'B01010142', 11, N'-', 1, 8, 1, 1, 42) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (443, N'MA', N'B01010143', 11, N'-', 1, 8, 1, 1, 43) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (444, N'MA', N'B01010144', 11, N'-', 1, 8, 1, 1, 44) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (445, N'MA', N'B01010145', 11, N'-', 1, 8, 1, 1, 45) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (446, N'MA', N'B01010146', 11, N'-', 1, 8, 1, 1, 46) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (447, N'MA', N'B01010147', 11, N'-', 1, 8, 1, 1, 47) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (448, N'MA', N'B01010148', 11, N'-', 1, 8, 1, 1, 48) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (449, N'MA', N'B01010149', 11, N'-', 1, 8, 1, 1, 49) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (450, N'MA', N'B01010150', 11, N'-', 1, 8, 1, 1, 50) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (451, N'MA', N'F01010101', 12, N'-', 1, 11, 1, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (452, N'MA', N'F01010201', 12, N'-', 1, 11, 1, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (453, N'MA', N'F01010301', 12, N'-', 1, 11, 1, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (454, N'MA', N'F01010401', 12, N'-', 1, 11, 1, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (455, N'MA', N'F01010501', 12, N'-', 0, 11, 1, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (456, N'MA', N'F01020101', 12, N'-', 1, 11, 2, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (457, N'MA', N'F01020201', 12, N'-', 1, 11, 2, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (458, N'MA', N'F01020301', 12, N'-', 1, 11, 2, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (459, N'MA', N'F01020401', 12, N'-', 1, 11, 2, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (460, N'MA', N'F01020501', 12, N'-', 0, 11, 2, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (461, N'MA', N'F01030101', 12, N'-', 1, 11, 3, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (462, N'MA', N'F01030201', 12, N'-', 1, 11, 3, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (463, N'MA', N'F01030301', 12, N'-', 1, 11, 3, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (464, N'MA', N'F01030401', 12, N'-', 1, 11, 3, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (465, N'MA', N'F01030501', 12, N'-', 0, 11, 3, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (466, N'MA', N'F01040101', 12, N'-', 1, 11, 4, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (467, N'MA', N'F01040201', 12, N'-', 1, 11, 4, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (468, N'MA', N'F01040301', 12, N'-', 1, 11, 4, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (469, N'MA', N'F01040401', 12, N'-', 1, 11, 4, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (470, N'MA', N'F01040501', 12, N'-', 0, 11, 4, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (471, N'MA', N'F01050101', 12, N'-', 1, 11, 5, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (472, N'MA', N'F01050201', 12, N'-', 1, 11, 5, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (473, N'MA', N'F01050301', 12, N'-', 1, 11, 5, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (474, N'MA', N'F01050401', 12, N'-', 1, 11, 5, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (475, N'MA', N'F01050501', 12, N'-', 0, 11, 5, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (476, N'MA', N'F01060101', 12, N'-', 1, 11, 6, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (477, N'MA', N'F01060201', 12, N'-', 1, 11, 6, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (478, N'MA', N'F01060301', 12, N'-', 1, 11, 6, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (479, N'MA', N'F01060401', 12, N'-', 1, 11, 6, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (480, N'MA', N'F01060501', 12, N'-', 0, 11, 6, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (481, N'MA', N'F01070101', 12, N'-', 1, 11, 7, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (482, N'MA', N'F01070201', 12, N'-', 1, 11, 7, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (483, N'MA', N'F01070301', 12, N'-', 1, 11, 7, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (484, N'MA', N'F01070401', 12, N'-', 1, 11, 7, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (485, N'MA', N'F01070501', 12, N'-', 0, 11, 7, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (486, N'MA', N'F01080101', 12, N'-', 1, 11, 8, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (487, N'MA', N'F01080201', 12, N'-', 1, 11, 8, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (488, N'MA', N'F01080301', 12, N'-', 1, 11, 8, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (489, N'MA', N'F01080401', 12, N'-', 1, 11, 8, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (490, N'MA', N'F01080501', 12, N'-', 0, 11, 8, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (491, N'MA', N'F01090101', 12, N'-', 1, 11, 9, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (492, N'MA', N'F01090201', 12, N'-', 1, 11, 9, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (493, N'MA', N'F01090301', 12, N'-', 1, 11, 9, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (494, N'MA', N'F01090401', 12, N'-', 1, 11, 9, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (495, N'MA', N'F01090501', 12, N'-', 0, 11, 9, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (496, N'MA', N'F01100101', 12, N'-', 1, 11, 10, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (497, N'MA', N'F01100201', 12, N'-', 1, 11, 10, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (498, N'MA', N'F01100301', 12, N'-', 1, 11, 10, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (499, N'MA', N'F01100401', 12, N'-', 1, 11, 10, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (500, N'MA', N'F01100501', 12, N'-', 0, 11, 10, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (501, N'MA', N'F01110101', 12, N'-', 1, 11, 11, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (502, N'MA', N'F01110201', 12, N'-', 1, 11, 11, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (503, N'MA', N'F01110301', 12, N'-', 1, 11, 11, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (504, N'MA', N'F01110401', 12, N'-', 1, 11, 11, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (505, N'MA', N'F01110501', 12, N'-', 0, 11, 11, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (506, N'MA', N'F01120101', 12, N'-', 1, 11, 12, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (507, N'MA', N'F01120201', 12, N'-', 1, 11, 12, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (508, N'MA', N'F01120301', 12, N'-', 1, 11, 12, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (509, N'MA', N'F01120401', 12, N'-', 1, 11, 12, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (510, N'MA', N'F01120501', 12, N'-', 0, 11, 12, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (511, N'MA', N'F01130101', 12, N'-', 1, 11, 13, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (512, N'MA', N'F01130201', 12, N'-', 1, 11, 13, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (513, N'MA', N'F01130301', 12, N'-', 1, 11, 13, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (514, N'MA', N'F01130401', 12, N'-', 1, 11, 13, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (515, N'MA', N'F01130501', 12, N'-', 0, 11, 13, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (516, N'MA', N'F01140101', 12, N'-', 1, 11, 14, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (517, N'MA', N'F01140201', 12, N'-', 1, 11, 14, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (518, N'MA', N'F01140301', 12, N'-', 1, 11, 14, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (519, N'MA', N'F01140401', 12, N'-', 1, 11, 14, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (520, N'MA', N'F01140501', 12, N'-', 0, 11, 14, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (521, N'MA', N'F01150101', 12, N'-', 1, 11, 15, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (522, N'MA', N'F01150201', 12, N'-', 1, 11, 15, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (523, N'MA', N'F01150301', 12, N'-', 1, 11, 15, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (524, N'MA', N'F01150401', 12, N'-', 1, 11, 15, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (525, N'MA', N'F01150501', 12, N'-', 0, 11, 15, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (526, N'MA', N'F01160101', 12, N'-', 1, 11, 16, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (527, N'MA', N'F01160201', 12, N'-', 1, 11, 16, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (528, N'MA', N'F01160301', 12, N'-', 1, 11, 16, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (529, N'MA', N'F01160401', 12, N'-', 1, 11, 16, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (530, N'MA', N'F01160501', 12, N'-', 0, 11, 16, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (531, N'MA', N'F01170101', 12, N'-', 1, 11, 17, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (532, N'MA', N'F01170201', 12, N'-', 1, 11, 17, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (533, N'MA', N'F01170301', 12, N'-', 1, 11, 17, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (534, N'MA', N'F01170401', 12, N'-', 1, 11, 17, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (535, N'MA', N'F01170501', 12, N'-', 0, 11, 17, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (536, N'MA', N'F01180101', 12, N'-', 1, 11, 18, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (537, N'MA', N'F01180201', 12, N'-', 1, 11, 18, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (538, N'MA', N'F01180301', 12, N'-', 1, 11, 18, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (539, N'MA', N'F01180401', 12, N'-', 1, 11, 18, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (540, N'MA', N'F01180501', 12, N'-', 0, 11, 18, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (541, N'MA', N'F01190101', 12, N'-', 1, 11, 19, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (542, N'MA', N'F01190201', 12, N'-', 1, 11, 19, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (543, N'MA', N'F01190301', 12, N'-', 1, 11, 19, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (544, N'MA', N'F01190401', 12, N'-', 1, 11, 19, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (545, N'MA', N'F01190501', 12, N'-', 0, 11, 19, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (546, N'MA', N'F01200101', 12, N'-', 1, 11, 20, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (547, N'MA', N'F01200201', 12, N'-', 1, 11, 20, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (548, N'MA', N'F01200301', 12, N'-', 1, 11, 20, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (549, N'MA', N'F01200401', 12, N'-', 1, 11, 20, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (550, N'MA', N'F01200501', 12, N'-', 0, 11, 20, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (551, N'MA', N'F02010101', 12, N'-', 1, 12, 1, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (552, N'MA', N'F02010201', 12, N'-', 1, 12, 1, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (553, N'MA', N'F02010301', 12, N'-', 1, 12, 1, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (554, N'MA', N'F02010401', 12, N'-', 1, 12, 1, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (555, N'MA', N'F02010501', 12, N'-', 0, 12, 1, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (556, N'MA', N'F02020101', 12, N'-', 1, 12, 2, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (557, N'MA', N'F02020201', 12, N'-', 1, 12, 2, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (558, N'MA', N'F02020301', 12, N'-', 1, 12, 2, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (559, N'MA', N'F02020401', 12, N'-', 1, 12, 2, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (560, N'MA', N'F02020501', 12, N'-', 0, 12, 2, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (561, N'MA', N'F02030101', 12, N'-', 1, 12, 3, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (562, N'MA', N'F02030201', 12, N'-', 1, 12, 3, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (563, N'MA', N'F02030301', 12, N'-', 1, 12, 3, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (564, N'MA', N'F02030401', 12, N'-', 1, 12, 3, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (565, N'MA', N'F02030501', 12, N'-', 0, 12, 3, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (566, N'MA', N'F02040101', 12, N'-', 1, 12, 4, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (567, N'MA', N'F02040201', 12, N'-', 1, 12, 4, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (568, N'MA', N'F02040301', 12, N'-', 1, 12, 4, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (569, N'MA', N'F02040401', 12, N'-', 1, 12, 4, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (570, N'MA', N'F02040501', 12, N'-', 0, 12, 4, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (571, N'MA', N'F02050101', 12, N'-', 1, 12, 5, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (572, N'MA', N'F02050201', 12, N'-', 1, 12, 5, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (573, N'MA', N'F02050301', 12, N'-', 1, 12, 5, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (574, N'MA', N'F02050401', 12, N'-', 1, 12, 5, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (575, N'MA', N'F02050501', 12, N'-', 0, 12, 5, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (576, N'MA', N'F02060101', 12, N'-', 1, 12, 6, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (577, N'MA', N'F02060201', 12, N'-', 1, 12, 6, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (578, N'MA', N'F02060301', 12, N'-', 1, 12, 6, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (579, N'MA', N'F02060401', 12, N'-', 1, 12, 6, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (580, N'MA', N'F02060501', 12, N'-', 0, 12, 6, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (581, N'MA', N'F02070101', 12, N'-', 1, 12, 7, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (582, N'MA', N'F02070201', 12, N'-', 1, 12, 7, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (583, N'MA', N'F02070301', 12, N'-', 1, 12, 7, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (584, N'MA', N'F02070401', 12, N'-', 1, 12, 7, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (585, N'MA', N'F02070501', 12, N'-', 0, 12, 7, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (586, N'MA', N'F02080101', 12, N'-', 1, 12, 8, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (587, N'MA', N'F02080201', 12, N'-', 1, 12, 8, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (588, N'MA', N'F02080301', 12, N'-', 1, 12, 8, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (589, N'MA', N'F02080401', 12, N'-', 1, 12, 8, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (590, N'MA', N'F02080501', 12, N'-', 0, 12, 8, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (591, N'MA', N'F02090101', 12, N'-', 1, 12, 9, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (592, N'MA', N'F02090201', 12, N'-', 1, 12, 9, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (593, N'MA', N'F02090301', 12, N'-', 1, 12, 9, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (594, N'MA', N'F02090401', 12, N'-', 1, 12, 9, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (595, N'MA', N'F02090501', 12, N'-', 0, 12, 9, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (596, N'MA', N'F02100101', 12, N'-', 1, 12, 10, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (597, N'MA', N'F02100201', 12, N'-', 1, 12, 10, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (598, N'MA', N'F02100301', 12, N'-', 1, 12, 10, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (599, N'MA', N'F02100401', 12, N'-', 1, 12, 10, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (600, N'MA', N'F02100501', 12, N'-', 0, 12, 10, 5, 1) +go + +set identity_insert dbo.Celle off +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +set identity_insert dbo.Celle on +go + +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (601, N'MA', N'F02110101', 12, N'-', 1, 12, 11, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (602, N'MA', N'F02110201', 12, N'-', 1, 12, 11, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (603, N'MA', N'F02110301', 12, N'-', 1, 12, 11, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (604, N'MA', N'F02110401', 12, N'-', 1, 12, 11, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (605, N'MA', N'F02110501', 12, N'-', 0, 12, 11, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (606, N'MA', N'F02120101', 12, N'-', 1, 12, 12, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (607, N'MA', N'F02120201', 12, N'-', 1, 12, 12, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (608, N'MA', N'F02120301', 12, N'-', 1, 12, 12, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (609, N'MA', N'F02120401', 12, N'-', 1, 12, 12, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (610, N'MA', N'F02120501', 12, N'-', 0, 12, 12, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (611, N'MA', N'F02130101', 12, N'-', 1, 12, 13, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (612, N'MA', N'F02130201', 12, N'-', 1, 12, 13, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (613, N'MA', N'F02130301', 12, N'-', 1, 12, 13, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (614, N'MA', N'F02130401', 12, N'-', 1, 12, 13, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (615, N'MA', N'F02130501', 12, N'-', 0, 12, 13, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (616, N'MA', N'F02140101', 12, N'-', 1, 12, 14, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (617, N'MA', N'F02140201', 12, N'-', 1, 12, 14, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (618, N'MA', N'F02140301', 12, N'-', 1, 12, 14, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (619, N'MA', N'F02140401', 12, N'-', 1, 12, 14, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (620, N'MA', N'F02140501', 12, N'-', 0, 12, 14, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (621, N'MA', N'F02150101', 12, N'-', 1, 12, 15, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (622, N'MA', N'F02150201', 12, N'-', 1, 12, 15, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (623, N'MA', N'F02150301', 12, N'-', 1, 12, 15, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (624, N'MA', N'F02150401', 12, N'-', 1, 12, 15, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (625, N'MA', N'F02150501', 12, N'-', 0, 12, 15, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (626, N'MA', N'F02160101', 12, N'-', 1, 12, 16, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (627, N'MA', N'F02160201', 12, N'-', 1, 12, 16, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (628, N'MA', N'F02160301', 12, N'-', 1, 12, 16, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (629, N'MA', N'F02160401', 12, N'-', 1, 12, 16, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (630, N'MA', N'F02160501', 12, N'-', 0, 12, 16, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (631, N'MA', N'F02170101', 12, N'-', 1, 12, 17, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (632, N'MA', N'F02170201', 12, N'-', 1, 12, 17, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (633, N'MA', N'F02170301', 12, N'-', 1, 12, 17, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (634, N'MA', N'F02170401', 12, N'-', 1, 12, 17, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (635, N'MA', N'F02170501', 12, N'-', 0, 12, 17, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (636, N'MA', N'F02180101', 12, N'-', 1, 12, 18, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (637, N'MA', N'F02180201', 12, N'-', 1, 12, 18, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (638, N'MA', N'F02180301', 12, N'-', 1, 12, 18, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (639, N'MA', N'F02180401', 12, N'-', 1, 12, 18, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (640, N'MA', N'F02180501', 12, N'-', 0, 12, 18, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (641, N'MA', N'F02190101', 12, N'-', 1, 12, 19, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (642, N'MA', N'F02190201', 12, N'-', 1, 12, 19, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (643, N'MA', N'F02190301', 12, N'-', 1, 12, 19, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (644, N'MA', N'F02190401', 12, N'-', 1, 12, 19, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (645, N'MA', N'F02190501', 12, N'-', 0, 12, 19, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (646, N'MA', N'F02200101', 12, N'-', 1, 12, 20, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (647, N'MA', N'F02200201', 12, N'-', 1, 12, 20, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (648, N'MA', N'F02200301', 12, N'-', 1, 12, 20, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (649, N'MA', N'F02200401', 12, N'-', 1, 12, 20, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (650, N'MA', N'F02200501', 12, N'-', 0, 12, 20, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (651, N'MA', N'F03010101', 12, N'-', 1, 13, 1, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (652, N'MA', N'F03010201', 12, N'-', 1, 13, 1, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (653, N'MA', N'F03010301', 12, N'-', 1, 13, 1, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (654, N'MA', N'F03010401', 12, N'-', 1, 13, 1, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (655, N'MA', N'F03010501', 12, N'-', 0, 13, 1, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (656, N'MA', N'F03020101', 12, N'-', 1, 13, 2, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (657, N'MA', N'F03020201', 12, N'-', 1, 13, 2, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (658, N'MA', N'F03020301', 12, N'-', 1, 13, 2, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (659, N'MA', N'F03020401', 12, N'-', 1, 13, 2, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (660, N'MA', N'F03020501', 12, N'-', 0, 13, 2, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (661, N'MA', N'F03030101', 12, N'-', 1, 13, 3, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (662, N'MA', N'F03030201', 12, N'-', 1, 13, 3, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (663, N'MA', N'F03030301', 12, N'-', 1, 13, 3, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (664, N'MA', N'F03030401', 12, N'-', 1, 13, 3, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (665, N'MA', N'F03030501', 12, N'-', 0, 13, 3, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (666, N'MA', N'F03040101', 12, N'-', 1, 13, 4, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (667, N'MA', N'F03040201', 12, N'-', 1, 13, 4, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (668, N'MA', N'F03040301', 12, N'-', 1, 13, 4, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (669, N'MA', N'F03040401', 12, N'-', 1, 13, 4, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (670, N'MA', N'F03040501', 12, N'-', 0, 13, 4, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (671, N'MA', N'F03050101', 12, N'-', 1, 13, 5, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (672, N'MA', N'F03050201', 12, N'-', 1, 13, 5, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (673, N'MA', N'F03050301', 12, N'-', 1, 13, 5, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (674, N'MA', N'F03050401', 12, N'-', 1, 13, 5, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (675, N'MA', N'F03050501', 12, N'-', 0, 13, 5, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (676, N'MA', N'F03060101', 12, N'-', 1, 13, 6, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (677, N'MA', N'F03060201', 12, N'-', 1, 13, 6, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (678, N'MA', N'F03060301', 12, N'-', 1, 13, 6, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (679, N'MA', N'F03060401', 12, N'-', 1, 13, 6, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (680, N'MA', N'F03060501', 12, N'-', 0, 13, 6, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (681, N'MA', N'F03070101', 12, N'-', 1, 13, 7, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (682, N'MA', N'F03070201', 12, N'-', 1, 13, 7, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (683, N'MA', N'F03070301', 12, N'-', 1, 13, 7, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (684, N'MA', N'F03070401', 12, N'-', 1, 13, 7, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (685, N'MA', N'F03070501', 12, N'-', 0, 13, 7, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (686, N'MA', N'F03080101', 12, N'-', 1, 13, 8, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (687, N'MA', N'F03080201', 12, N'-', 1, 13, 8, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (688, N'MA', N'F03080301', 12, N'-', 1, 13, 8, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (689, N'MA', N'F03080401', 12, N'-', 1, 13, 8, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (690, N'MA', N'F03080501', 12, N'-', 0, 13, 8, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (691, N'MA', N'F03090101', 12, N'-', 1, 13, 9, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (692, N'MA', N'F03090201', 12, N'-', 1, 13, 9, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (693, N'MA', N'F03090301', 12, N'-', 1, 13, 9, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (694, N'MA', N'F03090401', 12, N'-', 1, 13, 9, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (695, N'MA', N'F03090501', 12, N'-', 0, 13, 9, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (696, N'MA', N'F03100101', 12, N'-', 1, 13, 10, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (697, N'MA', N'F03100201', 12, N'-', 1, 13, 10, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (698, N'MA', N'F03100301', 12, N'-', 1, 13, 10, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (699, N'MA', N'F03100401', 12, N'-', 1, 13, 10, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (700, N'MA', N'F03100501', 12, N'-', 0, 13, 10, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (701, N'MA', N'F03110101', 12, N'-', 1, 13, 11, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (702, N'MA', N'F03110201', 12, N'-', 1, 13, 11, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (703, N'MA', N'F03110301', 12, N'-', 1, 13, 11, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (704, N'MA', N'F03110401', 12, N'-', 1, 13, 11, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (705, N'MA', N'F03110501', 12, N'-', 0, 13, 11, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (706, N'MA', N'F03120101', 12, N'-', 1, 13, 12, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (707, N'MA', N'F03120201', 12, N'-', 1, 13, 12, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (708, N'MA', N'F03120301', 12, N'-', 1, 13, 12, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (709, N'MA', N'F03120401', 12, N'-', 1, 13, 12, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (710, N'MA', N'F03120501', 12, N'-', 0, 13, 12, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (711, N'MA', N'F03130101', 12, N'-', 1, 13, 13, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (712, N'MA', N'F03130201', 12, N'-', 1, 13, 13, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (713, N'MA', N'F03130301', 12, N'-', 1, 13, 13, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (714, N'MA', N'F03130401', 12, N'-', 1, 13, 13, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (715, N'MA', N'F03130501', 12, N'-', 0, 13, 13, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (716, N'MA', N'F03140101', 12, N'-', 1, 13, 14, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (717, N'MA', N'F03140201', 12, N'-', 1, 13, 14, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (718, N'MA', N'F03140301', 12, N'-', 1, 13, 14, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (719, N'MA', N'F03140401', 12, N'-', 1, 13, 14, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (720, N'MA', N'F03140501', 12, N'-', 0, 13, 14, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (721, N'MA', N'F03150101', 12, N'-', 1, 13, 15, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (722, N'MA', N'F03150201', 12, N'-', 1, 13, 15, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (723, N'MA', N'F03150301', 12, N'-', 1, 13, 15, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (724, N'MA', N'F03150401', 12, N'-', 1, 13, 15, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (725, N'MA', N'F03150501', 12, N'-', 0, 13, 15, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (726, N'MA', N'F03160101', 12, N'-', 1, 13, 16, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (727, N'MA', N'F03160201', 12, N'-', 1, 13, 16, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (728, N'MA', N'F03160301', 12, N'-', 1, 13, 16, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (729, N'MA', N'F03160401', 12, N'-', 1, 13, 16, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (730, N'MA', N'F03160501', 12, N'-', 0, 13, 16, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (731, N'MA', N'F03170101', 12, N'-', 1, 13, 17, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (732, N'MA', N'F03170201', 12, N'-', 1, 13, 17, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (733, N'MA', N'F03170301', 12, N'-', 1, 13, 17, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (734, N'MA', N'F03170401', 12, N'-', 1, 13, 17, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (735, N'MA', N'F03170501', 12, N'-', 0, 13, 17, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (736, N'MA', N'F03180101', 12, N'-', 1, 13, 18, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (737, N'MA', N'F03180201', 12, N'-', 1, 13, 18, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (738, N'MA', N'F03180301', 12, N'-', 1, 13, 18, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (739, N'MA', N'F03180401', 12, N'-', 1, 13, 18, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (740, N'MA', N'F03180501', 12, N'-', 0, 13, 18, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (741, N'MA', N'F03190101', 12, N'-', 1, 13, 19, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (742, N'MA', N'F03190201', 12, N'-', 1, 13, 19, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (743, N'MA', N'F03190301', 12, N'-', 1, 13, 19, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (744, N'MA', N'F03190401', 12, N'-', 1, 13, 19, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (745, N'MA', N'F03190501', 12, N'-', 0, 13, 19, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (746, N'MA', N'F03200101', 12, N'-', 1, 13, 20, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (747, N'MA', N'F03200201', 12, N'-', 1, 13, 20, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (748, N'MA', N'F03200301', 12, N'-', 1, 13, 20, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (749, N'MA', N'F03200401', 12, N'-', 1, 13, 20, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (750, N'MA', N'F03200501', 12, N'-', 0, 13, 20, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (751, N'MA', N'F04010101', 12, N'-', 1, 14, 1, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (752, N'MA', N'F04010201', 12, N'-', 1, 14, 1, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (753, N'MA', N'F04010301', 12, N'-', 1, 14, 1, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (754, N'MA', N'F04010401', 12, N'-', 1, 14, 1, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (755, N'MA', N'F04010501', 12, N'-', 0, 14, 1, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (756, N'MA', N'F04020101', 12, N'-', 1, 14, 2, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (757, N'MA', N'F04020201', 12, N'-', 1, 14, 2, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (758, N'MA', N'F04020301', 12, N'-', 1, 14, 2, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (759, N'MA', N'F04020401', 12, N'-', 1, 14, 2, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (760, N'MA', N'F04020501', 12, N'-', 0, 14, 2, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (761, N'MA', N'F04030101', 12, N'-', 1, 14, 3, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (762, N'MA', N'F04030201', 12, N'-', 1, 14, 3, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (763, N'MA', N'F04030301', 12, N'-', 1, 14, 3, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (764, N'MA', N'F04030401', 12, N'-', 1, 14, 3, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (765, N'MA', N'F04030501', 12, N'-', 0, 14, 3, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (766, N'MA', N'F04040101', 12, N'-', 1, 14, 4, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (767, N'MA', N'F04040201', 12, N'-', 1, 14, 4, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (768, N'MA', N'F04040301', 12, N'-', 1, 14, 4, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (769, N'MA', N'F04040401', 12, N'-', 1, 14, 4, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (770, N'MA', N'F04040501', 12, N'-', 0, 14, 4, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (771, N'MA', N'F04050101', 12, N'-', 1, 14, 5, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (772, N'MA', N'F04050201', 12, N'-', 1, 14, 5, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (773, N'MA', N'F04050301', 12, N'-', 1, 14, 5, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (774, N'MA', N'F04050401', 12, N'-', 1, 14, 5, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (775, N'MA', N'F04050501', 12, N'-', 0, 14, 5, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (776, N'MA', N'F04060101', 12, N'-', 1, 14, 6, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (777, N'MA', N'F04060201', 12, N'-', 1, 14, 6, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (778, N'MA', N'F04060301', 12, N'-', 1, 14, 6, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (779, N'MA', N'F04060401', 12, N'-', 1, 14, 6, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (780, N'MA', N'F04060501', 12, N'-', 0, 14, 6, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (781, N'MA', N'F04070101', 12, N'-', 1, 14, 7, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (782, N'MA', N'F04070201', 12, N'-', 1, 14, 7, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (783, N'MA', N'F04070301', 12, N'-', 1, 14, 7, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (784, N'MA', N'F04070401', 12, N'-', 1, 14, 7, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (785, N'MA', N'F04070501', 12, N'-', 0, 14, 7, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (786, N'MA', N'F04080101', 12, N'-', 1, 14, 8, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (787, N'MA', N'F04080201', 12, N'-', 1, 14, 8, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (788, N'MA', N'F04080301', 12, N'-', 1, 14, 8, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (789, N'MA', N'F04080401', 12, N'-', 1, 14, 8, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (790, N'MA', N'F04080501', 12, N'-', 0, 14, 8, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (791, N'MA', N'F04090101', 12, N'-', 1, 14, 9, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (792, N'MA', N'F04090201', 12, N'-', 1, 14, 9, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (793, N'MA', N'F04090301', 12, N'-', 1, 14, 9, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (794, N'MA', N'F04090401', 12, N'-', 1, 14, 9, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (795, N'MA', N'F04090501', 12, N'-', 0, 14, 9, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (796, N'MA', N'F04100101', 12, N'-', 1, 14, 10, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (797, N'MA', N'F04100201', 12, N'-', 1, 14, 10, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (798, N'MA', N'F04100301', 12, N'-', 1, 14, 10, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (799, N'MA', N'F04100401', 12, N'-', 1, 14, 10, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (800, N'MA', N'F04100501', 12, N'-', 0, 14, 10, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (801, N'MA', N'F04110101', 12, N'-', 1, 14, 11, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (802, N'MA', N'F04110201', 12, N'-', 1, 14, 11, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (803, N'MA', N'F04110301', 12, N'-', 1, 14, 11, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (804, N'MA', N'F04110401', 12, N'-', 1, 14, 11, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (805, N'MA', N'F04110501', 12, N'-', 0, 14, 11, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (806, N'MA', N'F04120101', 12, N'-', 1, 14, 12, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (807, N'MA', N'F04120201', 12, N'-', 1, 14, 12, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (808, N'MA', N'F04120301', 12, N'-', 1, 14, 12, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (809, N'MA', N'F04120401', 12, N'-', 1, 14, 12, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (810, N'MA', N'F04120501', 12, N'-', 0, 14, 12, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (811, N'MA', N'F04130101', 12, N'-', 1, 14, 13, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (812, N'MA', N'F04130201', 12, N'-', 1, 14, 13, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (813, N'MA', N'F04130301', 12, N'-', 1, 14, 13, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (814, N'MA', N'F04130401', 12, N'-', 1, 14, 13, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (815, N'MA', N'F04130501', 12, N'-', 0, 14, 13, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (816, N'MA', N'F04140101', 12, N'-', 1, 14, 14, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (817, N'MA', N'F04140201', 12, N'-', 1, 14, 14, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (818, N'MA', N'F04140301', 12, N'-', 1, 14, 14, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (819, N'MA', N'F04140401', 12, N'-', 1, 14, 14, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (820, N'MA', N'F04140501', 12, N'-', 0, 14, 14, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (821, N'MA', N'F04150101', 12, N'-', 1, 14, 15, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (822, N'MA', N'F04150201', 12, N'-', 1, 14, 15, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (823, N'MA', N'F04150301', 12, N'-', 1, 14, 15, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (824, N'MA', N'F04150401', 12, N'-', 1, 14, 15, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (825, N'MA', N'F04150501', 12, N'-', 0, 14, 15, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (826, N'MA', N'F04160101', 12, N'-', 1, 14, 16, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (827, N'MA', N'F04160201', 12, N'-', 1, 14, 16, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (828, N'MA', N'F04160301', 12, N'-', 1, 14, 16, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (829, N'MA', N'F04160401', 12, N'-', 1, 14, 16, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (830, N'MA', N'F04160501', 12, N'-', 0, 14, 16, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (831, N'MA', N'F04170101', 12, N'-', 1, 14, 17, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (832, N'MA', N'F04170201', 12, N'-', 1, 14, 17, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (833, N'MA', N'F04170301', 12, N'-', 1, 14, 17, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (834, N'MA', N'F04170401', 12, N'-', 1, 14, 17, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (835, N'MA', N'F04170501', 12, N'-', 0, 14, 17, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (836, N'MA', N'F04180101', 12, N'-', 1, 14, 18, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (837, N'MA', N'F04180201', 12, N'-', 1, 14, 18, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (838, N'MA', N'F04180301', 12, N'-', 1, 14, 18, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (839, N'MA', N'F04180401', 12, N'-', 1, 14, 18, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (840, N'MA', N'F04180501', 12, N'-', 0, 14, 18, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (841, N'MA', N'F04190101', 12, N'-', 1, 14, 19, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (842, N'MA', N'F04190201', 12, N'-', 1, 14, 19, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (843, N'MA', N'F04190301', 12, N'-', 1, 14, 19, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (844, N'MA', N'F04190401', 12, N'-', 1, 14, 19, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (845, N'MA', N'F04190501', 12, N'-', 0, 14, 19, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (846, N'MA', N'F04200101', 12, N'-', 1, 14, 20, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (847, N'MA', N'F04200201', 12, N'-', 1, 14, 20, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (848, N'MA', N'F04200301', 12, N'-', 1, 14, 20, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (849, N'MA', N'F04200401', 12, N'-', 1, 14, 20, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (850, N'MA', N'F04200501', 12, N'-', 0, 14, 20, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (851, N'MA', N'F05010101', 12, N'-', 1, 15, 1, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (852, N'MA', N'F05010201', 12, N'-', 1, 15, 1, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (853, N'MA', N'F05010301', 12, N'-', 1, 15, 1, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (854, N'MA', N'F05010401', 12, N'-', 1, 15, 1, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (855, N'MA', N'F05010501', 12, N'-', 0, 15, 1, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (856, N'MA', N'F05020101', 12, N'-', 1, 15, 2, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (857, N'MA', N'F05020201', 12, N'-', 1, 15, 2, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (858, N'MA', N'F05020301', 12, N'-', 1, 15, 2, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (859, N'MA', N'F05020401', 12, N'-', 1, 15, 2, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (860, N'MA', N'F05020501', 12, N'-', 0, 15, 2, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (861, N'MA', N'F05030101', 12, N'-', 1, 15, 3, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (862, N'MA', N'F05030201', 12, N'-', 1, 15, 3, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (863, N'MA', N'F05030301', 12, N'-', 1, 15, 3, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (864, N'MA', N'F05030401', 12, N'-', 1, 15, 3, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (865, N'MA', N'F05030501', 12, N'-', 0, 15, 3, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (866, N'MA', N'F05040101', 12, N'-', 1, 15, 4, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (867, N'MA', N'F05040201', 12, N'-', 1, 15, 4, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (868, N'MA', N'F05040301', 12, N'-', 1, 15, 4, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (869, N'MA', N'F05040401', 12, N'-', 1, 15, 4, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (870, N'MA', N'F05040501', 12, N'-', 0, 15, 4, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (871, N'MA', N'F05050101', 12, N'-', 1, 15, 5, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (872, N'MA', N'F05050201', 12, N'-', 1, 15, 5, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (873, N'MA', N'F05050301', 12, N'-', 1, 15, 5, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (874, N'MA', N'F05050401', 12, N'-', 1, 15, 5, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (875, N'MA', N'F05050501', 12, N'-', 0, 15, 5, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (876, N'MA', N'F05060101', 12, N'-', 1, 15, 6, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (877, N'MA', N'F05060201', 12, N'-', 1, 15, 6, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (878, N'MA', N'F05060301', 12, N'-', 1, 15, 6, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (879, N'MA', N'F05060401', 12, N'-', 1, 15, 6, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (880, N'MA', N'F05060501', 12, N'-', 0, 15, 6, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (881, N'MA', N'F05070101', 12, N'-', 1, 15, 7, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (882, N'MA', N'F05070201', 12, N'-', 1, 15, 7, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (883, N'MA', N'F05070301', 12, N'-', 1, 15, 7, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (884, N'MA', N'F05070401', 12, N'-', 1, 15, 7, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (885, N'MA', N'F05070501', 12, N'-', 0, 15, 7, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (886, N'MA', N'F05080101', 12, N'-', 1, 15, 8, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (887, N'MA', N'F05080201', 12, N'-', 1, 15, 8, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (888, N'MA', N'F05080301', 12, N'-', 1, 15, 8, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (889, N'MA', N'F05080401', 12, N'-', 1, 15, 8, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (890, N'MA', N'F05080501', 12, N'-', 0, 15, 8, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (891, N'MA', N'F05090101', 12, N'-', 1, 15, 9, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (892, N'MA', N'F05090201', 12, N'-', 1, 15, 9, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (893, N'MA', N'F05090301', 12, N'-', 1, 15, 9, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (894, N'MA', N'F05090401', 12, N'-', 1, 15, 9, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (895, N'MA', N'F05090501', 12, N'-', 0, 15, 9, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (896, N'MA', N'F05100101', 12, N'-', 1, 15, 10, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (897, N'MA', N'F05100201', 12, N'-', 1, 15, 10, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (898, N'MA', N'F05100301', 12, N'-', 1, 15, 10, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (899, N'MA', N'F05100401', 12, N'-', 1, 15, 10, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (900, N'MA', N'F05100501', 12, N'-', 0, 15, 10, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (901, N'MA', N'F05110101', 12, N'-', 1, 15, 11, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (902, N'MA', N'F05110201', 12, N'-', 1, 15, 11, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (903, N'MA', N'F05110301', 12, N'-', 1, 15, 11, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (904, N'MA', N'F05110401', 12, N'-', 1, 15, 11, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (905, N'MA', N'F05110501', 12, N'-', 0, 15, 11, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (906, N'MA', N'F05120101', 12, N'-', 1, 15, 12, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (907, N'MA', N'F05120201', 12, N'-', 1, 15, 12, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (908, N'MA', N'F05120301', 12, N'-', 1, 15, 12, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (909, N'MA', N'F05120401', 12, N'-', 1, 15, 12, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (910, N'MA', N'F05120501', 12, N'-', 0, 15, 12, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (911, N'MA', N'F05130101', 12, N'-', 1, 15, 13, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (912, N'MA', N'F05130201', 12, N'-', 1, 15, 13, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (913, N'MA', N'F05130301', 12, N'-', 1, 15, 13, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (914, N'MA', N'F05130401', 12, N'-', 1, 15, 13, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (915, N'MA', N'F05130501', 12, N'-', 0, 15, 13, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (916, N'MA', N'F05140101', 12, N'-', 1, 15, 14, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (917, N'MA', N'F05140201', 12, N'-', 1, 15, 14, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (918, N'MA', N'F05140301', 12, N'-', 1, 15, 14, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (919, N'MA', N'F05140401', 12, N'-', 1, 15, 14, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (920, N'MA', N'F05140501', 12, N'-', 0, 15, 14, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (921, N'MA', N'F05150101', 12, N'-', 1, 15, 15, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (922, N'MA', N'F05150201', 12, N'-', 1, 15, 15, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (923, N'MA', N'F05150301', 12, N'-', 1, 15, 15, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (924, N'MA', N'F05150401', 12, N'-', 1, 15, 15, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (925, N'MA', N'F05150501', 12, N'-', 0, 15, 15, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (926, N'MA', N'F05160101', 12, N'-', 1, 15, 16, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (927, N'MA', N'F05160201', 12, N'-', 1, 15, 16, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (928, N'MA', N'F05160301', 12, N'-', 1, 15, 16, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (929, N'MA', N'F05160401', 12, N'-', 1, 15, 16, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (930, N'MA', N'F05160501', 12, N'-', 0, 15, 16, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (931, N'MA', N'F05170101', 12, N'-', 1, 15, 17, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (932, N'MA', N'F05170201', 12, N'-', 1, 15, 17, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (933, N'MA', N'F05170301', 12, N'-', 1, 15, 17, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (934, N'MA', N'F05170401', 12, N'-', 1, 15, 17, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (935, N'MA', N'F05170501', 12, N'-', 0, 15, 17, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (936, N'MA', N'F05180101', 12, N'-', 1, 15, 18, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (937, N'MA', N'F05180201', 12, N'-', 1, 15, 18, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (938, N'MA', N'F05180301', 12, N'-', 1, 15, 18, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (939, N'MA', N'F05180401', 12, N'-', 1, 15, 18, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (940, N'MA', N'F05180501', 12, N'-', 0, 15, 18, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (941, N'MA', N'F05190101', 12, N'-', 1, 15, 19, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (942, N'MA', N'F05190201', 12, N'-', 1, 15, 19, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (943, N'MA', N'F05190301', 12, N'-', 1, 15, 19, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (944, N'MA', N'F05190401', 12, N'-', 1, 15, 19, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (945, N'MA', N'F05190501', 12, N'-', 0, 15, 19, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (946, N'MA', N'F05200101', 12, N'-', 1, 15, 20, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (947, N'MA', N'F05200201', 12, N'-', 1, 15, 20, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (948, N'MA', N'F05200301', 12, N'-', 1, 15, 20, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (949, N'MA', N'F05200401', 12, N'-', 1, 15, 20, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, IdxBlocco, X, Y, Z) + VALUES (950, N'MA', N'F05200501', 12, N'-', 0, 15, 20, 5, 1) +go + +set identity_insert dbo.Celle off +go + +commit transaction +go + + + + + + + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(85, GETDATE()) +GO \ No newline at end of file diff --git a/GMW_data/SqlScripts/V1.1/GMW_00090.sql b/GMW_data/SqlScripts/V1.1/GMW_00090.sql new file mode 100644 index 00000000..ebc7eb42 --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00090.sql @@ -0,0 +1,51 @@ +IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = OBJECT_ID(N'[DF_Soggetti2Utente_DOMINIO]') AND type = 'D') +BEGIN +ALTER TABLE [dbo].[Soggetti2Utente] DROP CONSTRAINT [DF_Soggetti2Utente_DOMINIO] +END + +GO + +USE [GMW_prod] +GO + +/****** Object: Table [dbo].[Soggetti2Utente] Script Date: 07/16/2010 17:30:24 ******/ +IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[Soggetti2Utente]') AND type in (N'U')) +DROP TABLE [dbo].[Soggetti2Utente] +GO + +-- creazione tabella Soggetti2Utenti + +create table Soggetti2Utente( + CodSoggetto nchar(16) not null, + USER_NAME nvarchar(50) not null, + DOMINIO varchar(30) collate SQL_Latin1_General_CP1_CI_AS constraint DF_Soggetti2Utente_DOMINIO default ('DOMITBREMBO'), + + constraint PK_Soggetti2Utente primary key(CodSoggetto,USER_NAME) +) +go + + +-- update dati tabella Soggetti2Utente + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.Soggetti2Utente + VALUES (N'O900000000000001', N'samuele', 'STEAMWAREWIN') +INSERT INTO dbo.Soggetti2Utente + VALUES (N'O900000000000002', N'marco', 'STEAMWAREWIN') +INSERT INTO dbo.Soggetti2Utente + VALUES (N'O900000000000003', N'ermanno', 'STEAMWAREWIN') +go + +commit transaction +go + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(90, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.1/GMW_00095.sql b/GMW_data/SqlScripts/V1.1/GMW_00095.sql new file mode 100644 index 00000000..78607105 --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00095.sql @@ -0,0 +1,293 @@ +-- elimina tabella COPIA se desiderato + +-- drop table AnagOperatori_Copia +-- go + +-- crea tab AnagPeriodi ok + +create table AnagPeriodi( + codPeriodo nvarchar(20) not null constraint PK_AnagPeriodi primary key, + lemmaPeriodo nvarchar(50) +) +go + + +-- crea tab AnagStatiListe ok + +create table AnagStatiListe( + CodStatoLista int not null constraint PK_AnagStatiListe primary key, + DescStato nvarchar(50) +) +go + + +-- modifica tab Celle utilizzando tab temporanee ok + +set xact_abort on +go + +begin transaction +go + +alter table PosizioneUdcCorrente drop + constraint FK_PosizioneUdcCorrente_Celle +go + +alter table Celle drop + constraint DF_Celle_IdxBlocco +go + +exec sp_rename 'PK_Celle', 'tmp__PK_Celle', 'OBJECT' +go + +exec sp_rename 'Celle', 'tmp__Celle_2', 'OBJECT' +go + +create table Celle( + IdxCella int not null identity constraint PK_Celle primary key, + CodCS nchar(2) not null, + CodCella nvarchar(50) not null, + IdxTipoCella int, + Descrizione nvarchar(50), + Attiva bit, + Piena bit not null constraint DF_Celle_Piena default (0), + IdxBlocco int not null constraint DF_Celle_IdxBlocco default (0), + X int not null, + Y int not null, + Z int not null +) +go + +exec sp_addextendedproperty 'MS_Description', N'indica se sia attiva, se non lo fosse è impedito caricamento nella stessa', 'SCHEMA', 'dbo', 'TABLE', 'Celle', 'COLUMN', 'Attiva' +go + +exec sp_addextendedproperty 'MS_Description', 'posizione X (colonna)', 'SCHEMA', 'dbo', 'TABLE', 'Celle', 'COLUMN', 'X' +go + +exec sp_addextendedproperty 'MS_Description', 'posizione Y (livello/ripiano)', 'SCHEMA', 'dbo', 'TABLE', 'Celle', 'COLUMN', 'Y' +go + +exec sp_addextendedproperty 'MS_Description', 'posizione Z (profondita)', 'SCHEMA', 'dbo', 'TABLE', 'Celle', 'COLUMN', 'Z' +go + +set identity_insert Celle on +go + +insert into Celle(IdxCella,CodCS,CodCella,IdxTipoCella,Descrizione,Attiva,IdxBlocco,X,Y,Z) select IdxCella,CodCS,CodCella,IdxTipoCella,Descrizione,Attiva,IdxBlocco,X,Y,Z from tmp__Celle_2 +go + +set identity_insert Celle off +go + +drop table tmp__Celle_2 +go + +alter table PosizioneUdcCorrente add + constraint FK_PosizioneUdcCorrente_Celle foreign key(IdxCella) references Celle(IdxCella) on update cascade +go + +commit +go + +-- crea tab ContatoriListePrelievo ok + +create table ContatoriListePrelievo( + CodCS nvarchar(2) not null, + Anno varchar(2) not null, + Mese varchar(2) not null, + LastIdx int constraint DF_ContatoriListePrelievo_LastIdx default (0), + + constraint PK_ContatoriListePrelievo primary key(CodCS,Anno,Mese) +) +go + + + +-- crea tab tipolistaPrelievo ok + +create table TipoListaPrelievo( + CodTipoLista nvarchar(10) not null constraint PK_TipoListaPrelievo primary key, + DescrLista nvarchar(250), + IdxPosizione int, + CodCella nvarchar(50) not null +) +go + + + +-- crea tab ElencoListe prelievo ok + +set xact_abort on +go + +begin transaction +go + +create table ElencoListePrelievo( + CodLista nvarchar(12) not null constraint PK_ElencoListePrelievo primary key, + CodTipoLista nvarchar(10) not null, + CodCS nchar(2) not null, + DataCreaz datetime not null, + CodCliente nvarchar(6), + RagSociale nvarchar(35), + CodSoggetto nchar(17) not null, + Particolare nvarchar(15) not null, + DescParticolare nvarchar(30), + DisegnoGrezzo nvarchar(30), + Esponente nvarchar(6), + CodImballo nvarchar(15), + QtaTot decimal(10,2) not null, + CodStatoLista int not null constraint DF_ElencoListePrelievo_CodStatoLista default (1) +) +go + +-- The script may need editing: Some other object must have been synchronized first! +go + +alter table ElencoListePrelievo add + constraint FK_ElencoListePrelievo_AnagStatiListe foreign key(CodStatoLista) references AnagStatiListe(CodStatoLista) on update cascade +go + +-- The script may need editing: Some other object must have been synchronized first! +go + +alter table ElencoListePrelievo add + constraint FK_ElencoListePrelievo_TipoListaPrelievo1 foreign key(CodTipoLista) references TipoListaPrelievo(CodTipoLista) on update cascade +go + +commit +go + +-- crea tab RigheLIstePrelievo ok + +set xact_abort on +go + +begin transaction +go + +create table RigheListePrelievo( + CodLista nvarchar(12) not null, + UDC nvarchar(50) not null, + Qta decimal(10,2) not null, + Proposto bit, + Prelevato bit, + + constraint PK_RigheListePrelievo primary key(CodLista,UDC) +) +go + +alter table RigheListePrelievo add + constraint FK_RigheListePrelievo_ElencoCartellini foreign key(UDC) references ElencoCartellini(UDC) on update cascade +go + +-- The script may need editing: Some other object must have been synchronized first! +go + +alter table RigheListePrelievo add + constraint FK_RigheListePrelievo_ElencoListePrelievo1 foreign key(CodLista) references ElencoListePrelievo(CodLista) on update cascade +go + +commit +go + +-- mod tab rilproAnagOperatori ok + +set xact_abort on +go + +begin transaction +go + +alter table RilPro.AnagOperatori drop + constraint PK_AnagOperatori_1 +go + +alter table RilPro.AnagOperatori alter column + CodSoggetto nchar(17) not null +go + +alter table RilPro.AnagOperatori add + constraint PK_AnagOperatori_1 primary key(CodSoggetto) +go + +commit +go + + +-- mod tab tipocella + +set xact_abort on +go + +begin transaction +go + +alter table TipoCella add + CheckPiena bit not null constraint DF_TipoCella_CheckPiena default (0) +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_TipoCella_updateQuery +* +* aggiorna tipo cella +* +* Steamware, S.E.L. +* mod: 2010.07.16 +* +****************************************/ +create PROCEDURE stp_TipoCella_updateQuery +( + @Original_IdxTipoCella INT, + @CodMag VARCHAR(50), + @CodCS VARCHAR(2), + @Quantita INT, + @Capienza INT, + @Max_X FLOAT, + @Max_Y FLOAT, + @Max_Z FLOAT, + @Max_Kg FLOAT, + @CheckPiena BIT +) + +AS + +UPDATE TipoCella +SET CodMag = @CodMag, CodCS = @CodCS, Quantita = @Quantita, Capienza = @Capienza, Max_X = @Max_X, Max_Y = @Max_Y, Max_Z = @Max_Z, + Max_Kg = @Max_Kg, CheckPiena = @CheckPiena +WHERE (IdxTipoCella = @Original_IdxTipoCella) + +RETURN +go + +/*************************************** +* STORED stp_TipoCella_deleteQuery +* +* elimina tipo cella +* +* Steamware, S.E.L. +* mod: 2010.07.16 +* +****************************************/ +create PROCEDURE stp_TipoCella_deleteQuery +( + @Original_IdxTipoCella INT +) + +AS + +DELETE FROM TipoCella +WHERE (IdxTipoCella = @Original_IdxTipoCella) + +RETURN +go + +commit +go + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(95, GETDATE()) +GO \ No newline at end of file diff --git a/GMW_data/SqlScripts/V1.1/GMW_00100.sql b/GMW_data/SqlScripts/V1.1/GMW_00100.sql new file mode 100644 index 00000000..58c79467 --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00100.sql @@ -0,0 +1,1606 @@ +-- crea vista + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +create VIEW v_righePrelevate +AS +SELECT CodLista, SUM(Qta) AS TotQta, Prelevato +FROM dbo.RigheListePrelievo +GROUP BY CodLista, Prelevato +HAVING (Prelevato = 1) +go + +exec sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "RigheListePrelievo" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 184 + Right = 189 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 9 + Width = 284 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 12 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_righePrelevate' +go + +exec sp_addextendedproperty 'MS_DiagramPaneCount', 1, 'SCHEMA', 'dbo', 'VIEW', 'v_righePrelevate' +go + +commit +go + +-- sistema la tab ElencoListePRelievo + +set xact_abort on +go + +begin transaction +go + +alter table RigheListePrelievo drop + constraint FK_RigheListePrelievo_ElencoListePrelievo1 +go + +drop table ElencoListePrelievo +go + +create table ElencoListePrelievo( + CodLista nvarchar(12) not null constraint PK_ElencoListePrelievo primary key, + CodTipoLista nvarchar(10) not null, + CodCS nchar(2) not null, + DataCreaz datetime not null, + CodCliente nvarchar(6), + RagSociale nvarchar(35), + CodSoggetto nchar(17) not null, + Particolare nvarchar(15) not null, + DescParticolare nvarchar(30), + DisegnoGrezzo nvarchar(30), + Esponente nvarchar(6), + Figura nvarchar(4), + CodImballo nvarchar(15), + QtaTot decimal(10,2) not null, + CodStatoLista int not null constraint DF_ElencoListePrelievo_CodStatoLista default (1) +) +go + +alter table ElencoListePrelievo add + constraint FK_ElencoListePrelievo_TipoListaPrelievo1 foreign key(CodTipoLista) references TipoListaPrelievo(CodTipoLista) on update cascade, + constraint FK_ElencoListePrelievo_AnagStatiListe foreign key(CodStatoLista) references AnagStatiListe(CodStatoLista) on update cascade +go + +alter table RigheListePrelievo add + constraint FK_RigheListePrelievo_ElencoListePrelievo1 foreign key(CodLista) references ElencoListePrelievo(CodLista) on update cascade +go + +commit +go + + +-- sistema la vista ElencoListePrelievo + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +create VIEW V_elencoListePrelievo +AS +SELECT TOP (100) PERCENT dbo.ElencoListePrelievo.CodLista, dbo.ElencoListePrelievo.CodTipoLista, dbo.ElencoListePrelievo.CodCS, dbo.ElencoListePrelievo.DataCreaz, + dbo.ElencoListePrelievo.CodCliente, dbo.ElencoListePrelievo.RagSociale, dbo.ElencoListePrelievo.CodSoggetto, dbo.ElencoListePrelievo.Particolare, + dbo.ElencoListePrelievo.DescParticolare, dbo.ElencoListePrelievo.DisegnoGrezzo, dbo.ElencoListePrelievo.Esponente, dbo.ElencoListePrelievo.Figura, + dbo.ElencoListePrelievo.CodImballo, dbo.ElencoListePrelievo.QtaTot, dbo.ElencoListePrelievo.CodStatoLista, ISNULL(dbo.v_righePrelevate.TotQta, 0) + AS Prelevato +FROM dbo.ElencoListePrelievo LEFT OUTER JOIN + dbo.v_righePrelevate ON dbo.ElencoListePrelievo.CodLista = dbo.v_righePrelevate.CodLista +ORDER BY dbo.ElencoListePrelievo.DataCreaz DESC +go + +exec sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "ElencoListePrelievo" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 350 + Right = 208 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "v_righePrelevate" + Begin Extent = + Top = 6 + Left = 454 + Bottom = 118 + Right = 624 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 16 + Width = 284 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'V_elencoListePrelievo' +go + +exec sp_addextendedproperty 'MS_DiagramPaneCount', 1, 'SCHEMA', 'dbo', 'VIEW', 'V_elencoListePrelievo' +go + +commit +go + + + +-- crea vista + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +create VIEW v_particolariEsponenteFigura +AS +SELECT RilPro.AnagParticolari.Particolare, RilPro.AnagParticolari.DescParticolare, ISNULL(dbo.ElencoCartellini.Esponente, N'*') AS Esponente, + ISNULL(dbo.ElencoCartellini.Figura, N'*') AS Figura, ISNULL(dbo.ElencoCartellini.CodImballo, N'*') AS CodImballo +FROM RilPro.AnagParticolari LEFT OUTER JOIN + dbo.ElencoCartellini ON RilPro.AnagParticolari.Particolare = dbo.ElencoCartellini.Particolare +GROUP BY RilPro.AnagParticolari.Particolare, RilPro.AnagParticolari.DescParticolare, dbo.ElencoCartellini.Esponente, dbo.ElencoCartellini.Figura, + dbo.ElencoCartellini.CodImballo +go + +exec sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "AnagParticolari (RilPro)" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 180 + Right = 224 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "ElencoCartellini" + Begin Extent = + Top = 6 + Left = 262 + Bottom = 329 + Right = 448 + End + DisplayFlags = 280 + TopColumn = 1 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 9 + Width = 284 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 12 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_particolariEsponenteFigura' +go + +exec sp_addextendedproperty 'MS_DiagramPaneCount', 1, 'SCHEMA', 'dbo', 'VIEW', 'v_particolariEsponenteFigura' +go + +commit +go + + +-- crea vista + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +create VIEW v_righeListePrelievoPosizione +AS +SELECT dbo.RigheListePrelievo.*, dbo.Celle.CodCella, dbo.Blocchi.CodMag, dbo.Blocchi.CodBlocco, dbo.Celle.X, dbo.Celle.Y, dbo.Celle.Z +FROM dbo.RigheListePrelievo INNER JOIN + dbo.PosizioneUdcCorrente ON dbo.RigheListePrelievo.UDC = dbo.PosizioneUdcCorrente.UDC INNER JOIN + dbo.Celle ON dbo.PosizioneUdcCorrente.IdxCella = dbo.Celle.IdxCella INNER JOIN + dbo.Blocchi ON dbo.Celle.IdxBlocco = dbo.Blocchi.IdxBlocco +go + +exec sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "RigheListePrelievo" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 188 + Right = 208 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "PosizioneUdcCorrente" + Begin Extent = + Top = 16 + Left = 413 + Bottom = 181 + Right = 583 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "Celle" + Begin Extent = + Top = 6 + Left = 621 + Bottom = 235 + Right = 791 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "Blocchi" + Begin Extent = + Top = 6 + Left = 829 + Bottom = 135 + Right = 999 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 13 + Width = 284 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + ', 'SCHEMA', 'dbo', 'VIEW', 'v_righeListePrelievoPosizione' +go + +exec sp_addextendedproperty 'MS_DiagramPane2', 'GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_righeListePrelievoPosizione' +go + +exec sp_addextendedproperty 'MS_DiagramPaneCount', 2, 'SCHEMA', 'dbo', 'VIEW', 'v_righeListePrelievoPosizione' +go + +commit +go + + +-- crea vista vocabolario + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +create VIEW v_vocabolario +AS +SELECT Lingua, Lemma, Traduzione +FROM SteamWare_Vocabolario.dbo.Vocabolario +go + +exec sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "Vocabolario (SteamWare_Vocabolario.dbo)" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 118 + Right = 208 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_vocabolario' +go + +exec sp_addextendedproperty 'MS_DiagramPaneCount', 1, 'SCHEMA', 'dbo', 'VIEW', 'v_vocabolario' +go + +commit +go + + +-- crea vista + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +create VIEW v_selPeriodiTrad +AS +SELECT TOP (100) PERCENT dbo.AnagPeriodi.codPeriodo AS value, dbo.v_vocabolario.Traduzione AS label, dbo.v_vocabolario.Lingua AS conditio +FROM dbo.AnagPeriodi INNER JOIN + dbo.v_vocabolario ON dbo.AnagPeriodi.lemmaPeriodo = dbo.v_vocabolario.Lemma +ORDER BY label +go + +exec sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "AnagPeriodi" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 101 + Right = 208 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "v_vocabolario" + Begin Extent = + Top = 6 + Left = 246 + Bottom = 118 + Right = 416 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 9 + Width = 284 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_selPeriodiTrad' +go + +exec sp_addextendedproperty 'MS_DiagramPaneCount', 1, 'SCHEMA', 'dbo', 'VIEW', 'v_selPeriodiTrad' +go + +commit +go + + +-- crea vista + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +create VIEW v_selStatiListe +AS +SELECT CodStatoLista AS value, DescStato AS label +FROM dbo.AnagStatiListe +go + +exec sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "AnagStatiListe" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 101 + Right = 208 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 9 + Width = 284 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_selStatiListe' +go + +exec sp_addextendedproperty 'MS_DiagramPaneCount', 1, 'SCHEMA', 'dbo', 'VIEW', 'v_selStatiListe' +go + +commit +go + + +-- crea vista + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +create VIEW v_selTipoLista +AS +SELECT CodTipoLista AS value, DescrLista AS label +FROM dbo.TipoListaPrelievo +go + +exec sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "TipoListaPrelievo" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 135 + Right = 208 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 9 + Width = 284 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_selTipoLista' +go + +exec sp_addextendedproperty 'MS_DiagramPaneCount', 1, 'SCHEMA', 'dbo', 'VIEW', 'v_selTipoLista' +go + +commit +go + + +-- crea vista + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +create VIEW v_selUdcByPart +AS +SELECT UDC AS value, ISNULL(RTRIM(UDC), '-') + ' - ' + ISNULL(RTRIM(Particolare), '...') + ' (' + ISNULL(RTRIM(DescParticolare), '') + ') ' + ISNULL(RTRIM(DisegnoGrezzo), '-') + + ' pz. ' + ISNULL(CAST(Qta AS varchar), '0') AS label, Particolare AS conditio +FROM dbo.ElencoCartellini +WHERE (NOT (Particolare IS NULL)) +go + +exec sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "ElencoCartellini" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 319 + Right = 208 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 9 + Width = 284 + Width = 1500 + Width = 8910 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_selUdcByPart' +go + +exec sp_addextendedproperty 'MS_DiagramPaneCount', 1, 'SCHEMA', 'dbo', 'VIEW', 'v_selUdcByPart' +go + +commit +go + + +-- crea vista + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +create VIEW V_statoCelleCapienzaAssegnati +AS +SELECT dbo.Celle.IdxCella, dbo.TipoCella.Capienza, COUNT(dbo.PosizioneUdcCorrente.UDC) AS UdcAssegnati, dbo.Celle.Piena +FROM dbo.TipoCella INNER JOIN + dbo.Celle ON dbo.TipoCella.IdxTipoCella = dbo.Celle.IdxTipoCella INNER JOIN + dbo.PosizioneUdcCorrente ON dbo.Celle.IdxCella = dbo.PosizioneUdcCorrente.IdxCella +GROUP BY dbo.TipoCella.Capienza, dbo.Celle.IdxCella, dbo.Celle.Piena +go + +exec sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "TipoCella" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 212 + Right = 208 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "Celle" + Begin Extent = + Top = 21 + Left = 318 + Bottom = 292 + Right = 488 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "PosizioneUdcCorrente" + Begin Extent = + Top = 6 + Left = 681 + Bottom = 198 + Right = 851 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 9 + Width = 284 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 12 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'V_statoCelleCapienzaAssegnati' +go + +exec sp_addextendedproperty 'MS_DiagramPaneCount', 1, 'SCHEMA', 'dbo', 'VIEW', 'V_statoCelleCapienzaAssegnati' +go + +commit +go + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(100, GETDATE()) +GO \ No newline at end of file diff --git a/GMW_data/SqlScripts/V1.1/GMW_00105.sql b/GMW_data/SqlScripts/V1.1/GMW_00105.sql new file mode 100644 index 00000000..3a40aae8 --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00105.sql @@ -0,0 +1,1146 @@ +-- creat tab + +create table ElencoListePrelievo_AS( + CodLista nvarchar(12) not null constraint PK_ElencoListePrelievo_AS primary key, + CodTipoLista nvarchar(10) not null, + CodCS nchar(2) not null, + DataCreaz datetime not null, + CodCliente nvarchar(6), + RagSociale nvarchar(35), + CodSoggetto nchar(17) not null, + Particolare nvarchar(15) not null, + DescParticolare nvarchar(30), + DisegnoGrezzo nvarchar(30), + Esponente nvarchar(6), + Figura nvarchar(4), + CodImballo nvarchar(15), + QtaTot decimal(10,2) not null, + CodStatoLista int not null constraint DF_ElencoListePrelievo_AS_CodStatoLista default (1) +) +go + + +-- crea tab + +create table RigheListePrelievo_AS( + CodLista nvarchar(12) not null, + UDC nvarchar(50) not null, + Qta decimal(10,2) not null, + Proposto bit, + Prelevato bit, + + constraint PK_RigheListePrelievo_AS primary key(CodLista,UDC) +) +go + + +--- sistemo tab + +set xact_abort on +go + +begin transaction +go + +alter table Soggetti2Utente drop + constraint PK_Soggetti2Utente +go + +alter table Soggetti2Utente alter column + CodSoggetto nchar(17) not null +go + + +set ANSI_NULLS on +go + +commit +go + +-- cancello dati e aggiungo struttura corretta + + +DELETE FROM [GMW_prod].[RilPro].[AnagOperatori] +WHERE CodCS LIKE '%MA%' +GO + +DELETE FROM [GMW_prod].[dbo].[Soggetti2Utente] +GO + +alter table Soggetti2Utente add + constraint PK_Soggetti2Utente primary key(CodSoggetto,USER_NAME), + constraint FK_Soggetti2Utente_AnagOperatori foreign key(CodSoggetto) references RilPro.AnagOperatori(CodSoggetto) on update cascade +go + +-- aggiungo dati corretti + + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO RilPro.AnagOperatori + VALUES (N'O0000000000000068', N'MA', N'0000083', N'000020', N'Fonderie Mario Mazzucconi ', N'0000000210', N'Ambivere ', N'ROTA ', N'GIANPIETRO ') +INSERT INTO RilPro.AnagOperatori + VALUES (N'O0000000000000069', N'MA', N'0000084', N'000020', N'Fonderie Mario Mazzucconi ', N'0000000210', N'Ambivere ', N'PANZA ', N'GIOVANNI ') +INSERT INTO RilPro.AnagOperatori + VALUES (N'O0000000000000080', N'MA', N'0000095', N'000020', N'Fonderie Mario Mazzucconi ', N'0000000210', N'Ambivere ', N'PERICO ', N'FAUSTO ') +INSERT INTO RilPro.AnagOperatori + VALUES (N'O0000000000000083', N'MA', N'0000098', N'000020', N'Fonderie Mario Mazzucconi ', N'0000000210', N'Ambivere ', N'BENEDETTI ', N'PIETRO ') +INSERT INTO RilPro.AnagOperatori + VALUES (N'O0000000000000090', N'MA', N'0000105', N'000020', N'Fonderie Mario Mazzucconi ', N'0000000210', N'Ambivere ', N'TINTORI ', N'ANTONELLO ') +INSERT INTO RilPro.AnagOperatori + VALUES (N'O0000000000099999', N'MA', N'', NULL, NULL, NULL, NULL, N'OPERATORE', N'PROVA') +INSERT INTO RilPro.AnagOperatori + VALUES (N'O9900000000000001', N'MA', N'0000001', N'000020', N'Fonderie Mario Mazzucconi', N'0000000210', N'Ambivere', N'Locatelli', N'Samuele') +INSERT INTO RilPro.AnagOperatori + VALUES (N'O9900000000000002', N'MA', N'0000002', N'000020', N'Fonderie Mario Mazzucconi', N'0000000210', N'Ambivere', N'Salvi', N'Marco') +INSERT INTO RilPro.AnagOperatori + VALUES (N'O9900000000000003', N'MA', N'0000003', N'000020', N'Fonderie Mario Mazzucconi', N'0000000210', N'Ambivere', N'Novali', N'Ermanno') +go + +commit transaction +go + + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.Soggetti2Utente + VALUES (N'O9900000000000001', N'samuele', 'STEAMWAREWIN') +INSERT INTO dbo.Soggetti2Utente + VALUES (N'O9900000000000002', N'marco', 'STEAMWAREWIN') +INSERT INTO dbo.Soggetti2Utente + VALUES (N'O9900000000000003', N'ermanno', 'STEAMWAREWIN') +go + +commit transaction +go + + +-- modifico vista + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +alter VIEW v_righeListePrelievoPosizione +AS +SELECT TOP (100) PERCENT dbo.RigheListePrelievo.CodLista, dbo.RigheListePrelievo.UDC, dbo.RigheListePrelievo.Qta, dbo.RigheListePrelievo.Proposto, + dbo.RigheListePrelievo.Prelevato, ISNULL(dbo.Celle.CodCella, N'') AS CodCella, ISNULL(dbo.Blocchi.CodMag, N'') AS CodMag, ISNULL(dbo.Blocchi.CodBlocco, N'') + AS CodBlocco, ISNULL(dbo.Celle.X, 0) AS X, ISNULL(dbo.Celle.Y, 0) AS Y, ISNULL(dbo.Celle.Z, 0) AS Z +FROM dbo.Celle INNER JOIN + dbo.PosizioneUdcCorrente ON dbo.Celle.IdxCella = dbo.PosizioneUdcCorrente.IdxCella INNER JOIN + dbo.Blocchi ON dbo.Celle.IdxBlocco = dbo.Blocchi.IdxBlocco RIGHT OUTER JOIN + dbo.RigheListePrelievo ON dbo.PosizioneUdcCorrente.UDC = dbo.RigheListePrelievo.UDC +ORDER BY dbo.RigheListePrelievo.CodLista DESC +go + +exec sp_updateextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "RigheListePrelievo" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 188 + Right = 208 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "PosizioneUdcCorrente" + Begin Extent = + Top = 18 + Left = 377 + Bottom = 183 + Right = 547 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "Celle" + Begin Extent = + Top = 6 + Left = 621 + Bottom = 235 + Right = 791 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "Blocchi" + Begin Extent = + Top = 5 + Left = 870 + Bottom = 134 + Right = 1040 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 13 + Width = 284 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + ', 'SCHEMA', 'dbo', 'VIEW', 'v_righeListePrelievoPosizione' +go + +exec sp_updateextendedproperty 'MS_DiagramPane2', ' GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_righeListePrelievoPosizione' +go + +commit +go + + + + +-- creo stored + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_cellaGetByCodCella +* +* ottiene l'elenco delle celle (1...) dato codice cella varchar +* +* Steamware, S.E.L. +* mod: 2010.06.12 +* +****************************************/ +create PROCEDURE stp_cellaGetByCodCella +( + @CodCella VARCHAR(50) +) +AS + + SELECT * + FROM Celle + WHERE CodCella = @CodCella +RETURN +go + +commit +go + + + +-- mod stored + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_celleCreaMancantiBlocco +* +* crea il numero di celle richeiste e le assegna al blocco con valori default +* +* Steamware, S.E.L. +* mod: 2010.05.18 +* +****************************************/ +alter PROCEDURE stp_celleCreaMancantiBlocco +( + @CodCS VARCHAR(2), + @CodMag VARCHAR(50), + @IdxBlocco INT +) +AS + +--------------------------------------------------------------------- +-- setup iniziale valori XYZ del blocco +--------------------------------------------------------------------- +DECLARE @CodBlocco VARCHAR(3); +SET @CodBlocco = (SELECT CodBlocco FROM Blocchi WHERE IdxBlocco = @IdxBlocco) +DECLARE @NumX INT; +DECLARE @NumY INT; +DECLARE @NumZ INT; +SET @NumX = (SELECT NumX FROM Blocchi WHERE IdxBlocco = @IdxBlocco) ; +SET @NumY = (SELECT NumY FROM Blocchi WHERE IdxBlocco = @IdxBlocco) ; +SET @NumZ = (SELECT NumZ FROM Blocchi WHERE IdxBlocco = @IdxBlocco) ; + +DECLARE @Index INT ; +DECLARE @IdxTipoCella INT; + + +--------------------------------------------------------------------- +-- creazione temp table x numeri delle dimensioni XYZ del blocco +--------------------------------------------------------------------- +DECLARE @DimTable TABLE +( + dimensione VARCHAR(1), + valore INT +) + +-- inserisco X +SET @Index = 1 ; +WHILE @Index <= @NumX + BEGIN + INSERT @DimTable(dimensione, valore) + VALUES ('X', @Index) + SET @Index = @Index + 1 ; + END +-- inserisco Y +SET @Index = 1 ; +WHILE @Index <= @NumY + BEGIN + INSERT @DimTable(dimensione, valore) + VALUES ('Y', @Index) + SET @Index = @Index + 1 ; + END +-- inserisco Z +SET @Index = 1 ; +WHILE @Index <= @NumZ + BEGIN + INSERT @DimTable(dimensione, valore) + VALUES ('Z', @Index) + SET @Index = @Index + 1 ; + END + + +--------------------------------------------------------------------- +-- creazione temp table x schema COMPLETO posizioni blocco +--------------------------------------------------------------------- +DECLARE @SchemaBlocco TABLE +( + X INT, + Y INT, + Z INT +) +INSERT INTO @SchemaBlocco +SELECT X_val.valore, Y_val.valore, Z_val.valore +FROM (SELECT * FROM @DimTable WHERE dimensione='X') AS X_val, + (SELECT * FROM @DimTable WHERE dimensione='Y') AS Y_val, + (SELECT * FROM @DimTable WHERE dimensione='Z') AS Z_val + +--------------------------------------------------------------------- +-- cerco primo tipo di celle per il mag indicato +--------------------------------------------------------------------- +SET @IdxTipoCella = (SELECT TOP (1) ISNULL(IdxTipoCella, 0) AS IdxTipoCella + FROM TipoCella + WHERE (CodCS = @CodCS) AND (CodMag = @CodMag)) +--------------------------------------------------------------------- +-- inserisco le celle nelle posizioni LIBERE del blocco +--------------------------------------------------------------------- +INSERT INTO Celle(CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco,X,Y,Z) +SELECT @CodCS, @CodBlocco + dbo.f_padLeft(CAST(sb.X AS VARCHAR),2,'0') + dbo.f_padLeft(CAST(sb.Y AS VARCHAR),2,'0') + dbo.f_padLeft(CAST(sb.Z AS VARCHAR),2,'0'), @IdxTipoCella, '-', 1, 0, @IdxBlocco, sb.X, sb.Y, sb.Z +FROM @SchemaBlocco sb LEFT OUTER JOIN (SELECT * +FROM Celle +WHERE IdxBlocco = @IdxBlocco) c +ON sb.X = c.X AND sb.Y = c.Y AND sb.Z = c.Z +WHERE c.IdxCella IS NULL +ORDER BY sb.X,sb.Y,sb.Z ASC + + +RETURN +go + +commit +go + + +-- mod stored + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_celleLibereGetByIdxBlocco +* +* ottiene l'elenco delle posizioni LIBERE associate ad un dato blocco +* +* Steamware, S.E.L. +* mod: 2010.06.02 +* +****************************************/ +alter PROCEDURE stp_celleLibereGetByIdxBlocco +( + @IdxBlocco INT +) +AS + + SELECT * + FROM Celle + WHERE (IdxBlocco = @IdxBlocco) AND (Attiva = 1) AND (Piena = 0) +RETURN +go + +commit +go + + +-- mod stored + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_celleNonAttiveByIdxBlocco +* +* ottiene l'elenco delle posizioni NON ATTIVE associate ad un dato blocco +* +* Steamware, S.E.L. +* mod: 2010.06.03 +* +****************************************/ +alter PROCEDURE stp_celleNonAttiveByIdxBlocco +( + @IdxBlocco INT +) +AS + + SELECT * + FROM Celle + WHERE (IdxBlocco = @IdxBlocco) AND (Attiva = 0) +RETURN +go + +commit +go + + +-- creo stored + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_celleOverbooked +* +* elenco delle celle con overbookinbg (più UDC assegnati rispetto alla capienza) +* +* Steamware, S.E.L. +* mod: 2010.06.29 +* +****************************************/ +create PROCEDURE stp_celleOverbooked +AS + +SELECT IdxCella, Capienza, UdcAssegnati, Piena +FROM V_statoCelleCapienzaAssegnati +WHERE (UdcAssegnati > Capienza) + +RETURN +go + +commit +go + + +-- creo stored + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_celle_deleteQuery +* +* cancella cella indicata +* +* Steamware, S.E.L. +* mod: 2010.07.16 +* +****************************************/ +create PROCEDURE stp_celle_deleteQuery +( + @Original_IdxCella INT +) +AS + +DELETE FROM Celle +WHERE ([IdxCella] = @Original_IdxCella) + +RETURN +go + +commit +go + + +-- creo stored + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_celle_updateQuery +* +* aggiorna cella indicata +* +* Steamware, S.E.L. +* mod: 2010.07.16 +* +****************************************/ +create PROCEDURE stp_celle_updateQuery +( + @Original_IdxCella INT, + @CodCS VARCHAR(2), + @CodCella VARCHAR(50), + @IdxTipoCella INT, + @Descrizione VARCHAR(50), + @Attiva BIT, + @Piena BIT, + @IdxBlocco INT, + @X INT, + @Y INT, + @Z INT +) +AS + + +UPDATE Celle +SET [CodCS] = @CodCS, [CodCella] = @CodCella, [IdxTipoCella] = @IdxTipoCella, [Descrizione] = @Descrizione, + [Attiva] = @Attiva, [Piena] = @Piena, [IdxBlocco] = @IdxBlocco, [X] = @X, [Y] = @Y, [Z] = @Z +WHERE ([IdxCella] = @Original_IdxCella) + + +RETURN +go + +commit +go + + + +-- creo stored + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_creaListaPrelievo +* +* crea un nuovo record nella ElencoListePrelievo e restituisce il codice ID appena creato +* +* Steamware, S.E.L. 8 (FROM Stintino) +* mod: 2010.07.06 +* +************************************/ +create PROCEDURE stp_creaListaPrelievo +( + @Anno NVARCHAR(2), + @Mese NVARCHAR(2), + @IdxPosizione INT, + @CodCS NCHAR(2), + @CodCliente NVARCHAR(6), + @RagSociale NVARCHAR(35), + @CodSoggetto NCHAR(16), + @Particolare NVARCHAR(15), + @DescParticolare NVARCHAR(30), + @DisegnoGrezzo NVARCHAR(30), + @Esponente NVARCHAR(6), + @Figura NVARCHAR(4), + @CodImballo NVARCHAR(15), + @QtaTot DECIMAL(10,2) +) +AS + +-- Dichiarazioni iniziali +DECLARE @CodLista AS NVARCHAR(12) +DECLARE @CodTipoLista AS NVARCHAR(10) +DECLARE @numLista AS INT +DECLARE @temp AS INT +DECLARE @ora AS DATETIME + + +SET @CodTipoLista = (SELECT CodTipoLista FROM TipoListaPrelievo WHERE idxPosizione = @idxPosizione) + +------------------------------------------------------------------------------------------------------ +-- codice lista di prelievo KAAMM00000 - K = start char, AA = anno, MM = mese, 00000 = progressivo +------------------------------------------------------------------------------------------------------ +-- controllo se ci sia già un UDC per company / flusso anno +BEGIN TRAN + -- cerco nella tab contatori UDC l'ultimo valido + SET @numLista = ( + SELECT COUNT(*) + FROM ContatoriListePrelievo + WHERE CodCS = @CodCS + AND Anno = @Anno + AND Mese = @Mese + ) + -- controllo se record c'è... + IF(@numLista > 0) + BEGIN + -- se c'è incremento di 1 in tab + UPDATE ContatoriListePrelievo + SET LastIdx = LastIdx + 1 + WHERE CodCS = @CodCS + AND Anno = @Anno + AND Mese = @Mese + + END + ELSE + BEGIN + -- lo creo! + INSERT INTO ContatoriListePrelievo(CodCS, Anno, Mese, LastIdx) + VALUES (@CodCS, @Anno, @Mese, 1) + END + -- aggiorno numero lista prelievo + SET @numLista = ( + SELECT LastIdx + FROM ContatoriListePrelievo + WHERE CodCS = @CodCS + AND Anno = @Anno + AND Mese = @Mese + + ) +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + +BEGIN TRAN + + ------------------------------------------------------------------------------------------------------ + -- Ciclo principale x inserimento nuovo record + ------------------------------------------------------------------------------------------------------ + -- ottengo il nuovo codice UDC completo + SET @CodLista = 'K' + @CodCS + @Anno + dbo.f_padLeft(CAST(@Mese AS NVARCHAR(2)), 2, '0') + + dbo.f_padLeft(CAST(@numLista AS NVARCHAR(5)), 5, '0') + + INSERT INTO ElencoListePrelievo + (CodLista, CodTipoLista, CodCS, DataCreaz, CodCliente, RagSociale, CodSoggetto, Particolare, DescParticolare, DisegnoGrezzo, Esponente, Figura, CodImballo, QtaTot, CodStatoLista) + VALUES (@CodLista, @CodTipoLista, @CodCS, GETDATE(), @CodCliente, @RagSociale, @CodSoggetto, @Particolare, @DescParticolare, @DisegnoGrezzo, @Esponente,@Figura, @CodImballo, @QtaTot, 0) + +COMMIT TRAN + +SELECT * FROM V_elencoListePrelievo WHERE CodLista = @CodLista; + +RETURN +go + +commit +go + + + +-- creo stored + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_elencoListePrelievoByCodLista +* +* Steamware, E.N. +* mod: 2010.06.25 +* +************************************/ +create PROCEDURE stp_elencoListePrelievoByCodLista +( + @CodLista NVARCHAR(12) +) +AS + +SELECT * +FROM V_elencoListePrelievo +WHERE (CodLista = @CodLista) +go + +commit +go + +-- creo stored + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_elencoListePrelievoFilt +* +* restituisce l'elenco delle liste di prelievo secondo criteri di filtraggio +* +* Steamware, S.E.L. +* mod: 2010.07.06 +* +****************************************/ +create PROCEDURE stp_elencoListePrelievoFilt +( + @DataFrom DATETIME, + @DataTo DATETIME +) +AS +-- utilizza la vista righe lista prelievo e quindi solo le prelevate ... + + SELECT * + FROM V_elencoListePrelievo + WHERE (DataCreaz BETWEEN @DataFrom AND @DataTo) + ORDER BY DataCreaz DESC + +RETURN +go + +commit +go + + +-- creo stored + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_getDetailsUdcByUdc +* +* Steamware, E.N. +* mod: 2010.06.28 +* +************************************/ +create PROCEDURE stp_getDetailsUdcByUdc +( + @UDC NVARCHAR(50) +) +AS + +SELECT * +FROM ElencoCartellini +WHERE (UDC = @UDC) +go + +commit +go + + +-- creo stored + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_elencoListePrelievoUpdateStato +* +* aggiorna la lista di prelievo indicando lo stato richiesto +* +* Steamware, S.E.L. +* mod: 2010.07.06 +* +************************************/ +create PROCEDURE stp_elencoListePrelievoUpdateStato +( + @NewCodSoggetto NCHAR(16), + @CodListaAttuale AS varchar(12), + @CodStatoLista INT +) +AS + +UPDATE ElencoListePrelievo +SET CodSoggetto = @NewCodSoggetto, CodStatoLista = @CodStatoLista +WHERE (CodLista = @CodListaAttuale) + +SELECT * FROM V_elencoListePrelievo WHERE (CodLista = @CodListaAttuale) +go + +commit +go + + +-- creo stored + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_getPosizioneByUdc +* +* Steamware, E.N. +* mod: 2010.06.25 +* +************************************/ +create PROCEDURE stp_getPosizioneByUdc +( + @UDC NVARCHAR(50) +) +AS + +SELECT * +FROM PosizioneUdcCorrente +where UDC = @UDC +go + +commit +go + + +-- creo stored + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_getRagioneSocialeByCodCliente +* +* Steamware, E.N. +* mod: 2010.06.25 +* +************************************/ +create PROCEDURE stp_getRagioneSocialeByCodCliente +( + @CodCliente NVARCHAR(6) +) +AS + +SELECT * +FROM RilPro.AnagClienti +WHERE (CodCliente = @CodCliente) +go + +commit +go + + +-- creo stored + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_getRigaPrelievoByCodLista +* +* Steamware, E.N. +* mod: 2010.06.25 +* +************************************/ +create PROCEDURE stp_getRigaPrelievoByCodLista +( + @CodLista NVARCHAR(12) +) +AS + +SELECT * +FROM RigheListePrelievo +WHERE (CodLista = @CodLista) +go + +commit +go + + +-- creo stored + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_getRigaPrelievoPosizioneByCodLista +* +* Steamware, S.E.L. +* mod: 2010.07.07 +* +************************************/ +create PROCEDURE stp_getRigaPrelievoPosizioneByCodLista +( + @CodLista NVARCHAR(12) +) +AS + +SELECT * +FROM v_RigheListePrelievoPosizione +WHERE (CodLista = @CodLista) +go + +commit +go + + + +-- creo stored + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_getTipoListaByCodTipoLista +* +* Steamware, E.N. +* mod: 2010.06.25 +* +************************************/ +create PROCEDURE stp_getTipoListaByCodTipoLista +( + @CodTipoLista NVARCHAR(10) +) +AS + +SELECT * +FROM TipoListaPrelievo +where CodTipoLista = @CodTipoLista +go + +commit +go + + +-- mod stored + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_getUdcDetailFullCode +* +* ottiene l'elenco degli UDC con i dati significativi partendo da un valore da cercare come LIKE in +* - UDC +* - Particolare +* +* Steamware, S.E.L. +* mod: 2010.05.24 +* +****************************************/ +alter PROCEDURE stp_getUdcDetailLikeSearch +( + @searchVal VARCHAR(50), + @CodCS VARCHAR(2) +) +AS + +SELECT ElencoCartellini.UDC, ElencoCartellini.RagSociale, ElencoCartellini.Particolare, ElencoCartellini.DescParticolare, ElencoCartellini.DisegnoGrezzo, + ElencoCartellini.Esponente, ElencoCartellini.DescImpianto, ElencoCartellini.DataFus, ElencoCartellini.TurnoFus, ElencoCartellini.CodImballo, ElencoCartellini.Qta, + AnagStatiProdotto.DescStato, ElencoCartellini.ModDate, ISNULL(Blocchi.CodMag, N'') AS CodMag, ISNULL(Blocchi.CodBlocco, N'') AS CodBlocco, + ISNULL(Celle.CodCella, N'') AS CodCella, ISNULL(Celle.X, 0) AS X, ISNULL(Celle.Y, 0) AS Y, ISNULL(Celle.Z, 0) AS Z +FROM AnagStatiProdotto RIGHT OUTER JOIN + ElencoCartellini ON AnagStatiProdotto.CodStato = ElencoCartellini.CodStato AND AnagStatiProdotto.CodStato = ElencoCartellini.CodStato LEFT OUTER JOIN + Celle INNER JOIN + PosizioneUdcCorrente ON Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND + Celle.IdxCella = PosizioneUdcCorrente.IdxCella INNER JOIN + Blocchi ON Celle.IdxBlocco = Blocchi.IdxBlocco INNER JOIN + AnagMag ON Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND + Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS ON + ElencoCartellini.UDC = PosizioneUdcCorrente.UDC +WHERE (ElencoCartellini.CodCS = @CodCS) AND ((ElencoCartellini.UDC like '%'+ @searchVal+'%') OR (ElencoCartellini.Particolare like '%'+ @searchVal+'%') OR (ElencoCartellini.RagSociale like '%'+ @searchVal+'%')) + +RETURN +go + +commit +go + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(105, GETDATE()) +GO + + + diff --git a/GMW_data/SqlScripts/V1.1/GMW_00110.sql b/GMW_data/SqlScripts/V1.1/GMW_00110.sql new file mode 100644 index 00000000..8e8da328 --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00110.sql @@ -0,0 +1,939 @@ +-- mod tabella + +set xact_abort on +go + +begin transaction +go + +alter table TipoListaPrelievo add + IdxPosizioneFinal int +go + +exec sp_rename 'stp_getTipoListaByCodTipoLista', 'stp_TL_getByCodTipoLista', 'object' +go + +commit +go + + +-- crea stored + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_getUDC_Older +* +* ottiene l'elenco degli UDC più vecchi in ordine asc TRA QUELLI in una data posizione +* +* Steamware, S.E.L. +* mod: 2010.07.06 +* +****************************************/ +create PROCEDURE stp_getUDC_Older +( + @Esponente VARCHAR(50), + @Particolare VARCHAR (50), + @IdxPosizione INT +) +AS + +SELECT * +FROM ElencoCartellini +WHERE (Esponente = @Esponente) AND (Particolare = @Particolare) AND (IdxPosizione = @IdxPosizione) +ORDER BY DataFus + +RETURN +go + +commit +go + + +-- crea stored + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_getUDC_UnusedOlder +* +* ottiene l'elenco degli UDC più vecchi in ordine asc TRA QUELLI NON ANCORA PRELEVATI nè proposti nella lista corrente +* +* Steamware, S.E.L. +* mod: 2010.07.06 +* +****************************************/ +create PROCEDURE stp_getUDC_UnusedOlder +( + @CodLista VARCHAR(12) +) +AS + + -- variabili locali che mi servono + DECLARE @Figura AS VARCHAR(4) + DECLARE @Esponente AS VARCHAR(6) + DECLARE @CodImballo AS VARCHAR(15) + DECLARE @Particolare AS VARCHAR (50) + DECLARE @CodTipoLista AS VARCHAR (10) + DECLARE @IdxPosizione AS INT + SET @Figura = (SELECT Figura FROM ElencoListePrelievo WHERE CodLista = @CodLista) + SET @Esponente = (SELECT Esponente FROM ElencoListePrelievo WHERE CodLista = @CodLista) + SET @CodImballo = (SELECT CodImballo FROM ElencoListePrelievo WHERE CodLista = @CodLista) + SET @Particolare = (SELECT Particolare FROM ElencoListePrelievo WHERE CodLista = @CodLista) + SET @CodTipoLista = (SELECT CodTipoLista FROM ElencoListePrelievo WHERE CodLista = @CodLista) + SET @IdxPosizione = (SELECT IdxPosizione FROM TipoListaPrelievo WHERE CodTipoLista = @CodTipoLista) + + -- effettuo la selezione + SELECT * + FROM ElencoCartellini + WHERE (Particolare = @Particolare) AND (IdxPosizione = @IdxPosizione) AND + (Figura = CASE WHEN @Figura = '*' THEN Figura ELSE @Figura END) AND + (Esponente = CASE WHEN @Esponente = '*' THEN Esponente ELSE @Esponente END) AND + (CodImballo = CASE WHEN @CodImballo = '*' THEN CodImballo ELSE @CodImballo END) + AND UDC NOT IN ( + SELECT DISTINCT UDC + FROM RigheListePrelievo INNER JOIN ElencoListePrelievo + ON RigheListePrelievo.CodLista = ElencoListePrelievo.CodLista + WHERE (ElencoListePrelievo.CodLista = @CodLista) + OR (ElencoListePrelievo.CodLista <> @CodLista AND CodStatoLista > 1 AND Prelevato = 1) + ) + ORDER BY ElencoCartellini.DataFus + +RETURN +go + +commit +go + + + + +-- crea stored + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_LP_deleteQuery +* +* elimina lista di prelievo (e righe lista associate) della list aindicata +* +* Steamware, S.E.L. 8 (from Stintino) +* mod: 2010.07.15 +* +************************************/ +create PROCEDURE stp_LP_deleteQuery +( + @Original_CodLista varchar(12) +) +AS + +-- cancello righe lista + DELETE FROM RigheListePrelievo + WHERE CodLista = @Original_CodLista + +-- cancello record lista + DELETE FROM ElencoListePrelievo + WHERE CodLista = @Original_CodLista + +RETURN +go + +commit +go + + + + +-- crea stored + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_LP_exportToAs400 +* +* esporta la lista di prelievo (e le relative righe) verso AS400 andando a copaire nelle relative tabelle _AS +* +* Steamware, S.E.L. +* mod: 2010.07.19 +* +****************************************/ +create PROCEDURE stp_LP_exportToAs400 +( + @CodLista NVARCHAR(12) +) +AS + +-- copio la lista (intestazione) +INSERT INTO ElencoListePrelievo_AS +SELECT * +FROM ElencoListePrelievo +WHERE (CodLista = @CodLista) + +-- copio le righe lista di dettaglio +INSERT INTO RigheListePrelievo_AS +SELECT * +FROM RigheListePrelievo +WHERE (CodLista = @CodLista) AND Prelevato = 1 + +-- aggiorno le quantità passate ad AS... +UPDATE ElencoListePrelievo_AS +SET QtaTot = ( SELECT SUM(Qta) AS QtaTot FROM RigheListePrelievo WHERE (CodLista =@CodLista) AND Prelevato = 1 ) +WHERE (CodLista = @CodLista) + +RETURN +go + +commit +go + + + + +-- crea stored + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_LP_updateUDC +* +* modifica l'UDC in una riga di lista prelievo +* +* Steamware, S.E.L. 8 (from Stintino) +* mod: 2010.07.15 +* +************************************/ +create PROCEDURE stp_LP_updateUDC +( + @Original_CodLista VARCHAR(12), + @Original_UDC VARCHAR(50), + @UDC VARCHAR(50) + +) +AS + +-- aggiorno lista prelievo con nuovo UDC + UPDATE RigheListePrelievo + SET UDC = @UDC, QTA = (SELECT Qta FROM ElencoCartellini WHERE UDC = @UDC) + WHERE CodLista = @Original_CodLista AND UDC = @Original_UDC + +RETURN +go + +commit +go + + + + +-- crea stored + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*( +* STORED stp_ParticolariEspByParticolare +* +* elenco distinct particolari/esponente da particoalre +* +* Steamware, S.E.L. +* mod: 2010.07.07 +* +****************************************/ +create PROCEDURE stp_ParticolariEspByParticolare +( + @Particolare VARCHAR(50) +) +AS + +SELECT DISTINCT Particolare, DescParticolare, Esponente, Figura, CodImballo + FROM ( + SELECT TOP (1) @Particolare AS Particolare, '' AS DescParticolare, '*' AS Esponente, '' AS Figura, '' AS CodImballo + FROM v_particolariEsponenteFigura + WHERE (Particolare = @Particolare) + UNION + SELECT DISTINCT Particolare, '' AS DescParticolare, Esponente, '' AS Figura, '' AS CodImballo + FROM v_particolariEsponenteFigura + WHERE Particolare = @Particolare + ) AS derivTab + + +RETURN +go + +commit +go + + + + +-- crea stored + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*( +* STORED stp_ParticolariFiguraByParticolare +* +* elenco distinct particolari/figure da particoalre +* +* Steamware, S.E.L. +* mod: 2010.07.07 +* +****************************************/ +create PROCEDURE stp_ParticolariFiguraByParticolare +( + @Particolare VARCHAR(50) +) +AS + SELECT DISTINCT Particolare, DescParticolare, Esponente, Figura, CodImballo + FROM ( + SELECT TOP (1) @Particolare AS Particolare, '' AS DescParticolare, '' AS Esponente, '*' AS Figura, '' AS CodImballo + FROM v_particolariEsponenteFigura + WHERE (Particolare = @Particolare) + UNION + SELECT DISTINCT Particolare, '' AS DescParticolare, '' AS Esponente, Figura, '' AS CodImballo + FROM v_particolariEsponenteFigura + WHERE Particolare = @Particolare + ) AS derivTab + +RETURN +go + +commit +go + + + + +-- crea stored + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*( +* STORED stp_ParticolariImballoByParticolare +* +* elenco distinct particolari/imballo da particoalre +* +* Steamware, S.E.L. +* mod: 2010.07.07 +* +****************************************/ +create PROCEDURE stp_ParticolariImballoByParticolare +( + @Particolare VARCHAR(50) +) +AS + SELECT DISTINCT Particolare, DescParticolare, Esponente, Figura, CodImballo + FROM ( + SELECT TOP (1) @Particolare AS Particolare, '' AS DescParticolare, '' AS Esponente, '' AS Figura, '*' AS CodImballo + FROM v_particolariEsponenteFigura + WHERE (Particolare = @Particolare) + UNION + SELECT DISTINCT Particolare, '' AS DescParticolare, '' AS Esponente, '' AS Figura, CodImballo + FROM v_particolariEsponenteFigura AS v_particolariEsponenteFigura_1 + WHERE (Particolare = @Particolare) + ) AS derivTab + +RETURN +go + +commit +go + + + + +-- mod stored + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_ParticolariOverviewLike +* +* elenco di overview sull'impiego dei particolari (dettaglio a "maglie larghe") - modalità LIKE +* +* Steamware, S.E.L. +* mod: 2010.05.31 +* +****************************************/ +alter PROCEDURE stp_ParticolariOverviewLike +( + @searchVal VARCHAR(50), + @CodCS VARCHAR(2) +) +AS + + SELECT RilPro.AnagParticolari.Particolare, RilPro.AnagParticolari.DescParticolare, ISNULL(COUNT(ElencoCartellini.UDC), 0) AS NumUDC, + SUM(ISNULL(ElencoCartellini.Qta, 0)) AS TotQta, ISNULL(COUNT(PosizioneUdcCorrente.IdxCella), 0) AS NumInMag + FROM RilPro.AnagParticolari LEFT OUTER JOIN + ElencoCartellini ON RilPro.AnagParticolari.Particolare = ElencoCartellini.Particolare LEFT OUTER JOIN + PosizioneUdcCorrente ON ElencoCartellini.UDC = PosizioneUdcCorrente.UDC + WHERE (RilPro.AnagParticolari.CodCS = @CodCS) AND ((RilPro.AnagParticolari.Particolare LIKE '%' + @searchVal + '%') OR (RilPro.AnagParticolari.DescParticolare LIKE '%' + @searchVal + '%')) + GROUP BY RilPro.AnagParticolari.Particolare, RilPro.AnagParticolari.DescParticolare + +RETURN +go + +commit +go + + + + +-- crea stored + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*( +* STORED stp_ParticolariOverviewLike +* +* elenco di overview sull'impiego dei particolari (dettaglio a "maglie larghe") - modalità LIKE con testo CHE INIZIA per searchVal +* +* Steamware, S.E.L. +* mod: 2010.07.07 +* +****************************************/ +create PROCEDURE stp_ParticolariOverviewLikePrefix +( + @searchVal VARCHAR(50), + @CodCS VARCHAR(2) +) +AS + + SELECT RilPro.AnagParticolari.Particolare, RilPro.AnagParticolari.DescParticolare, ISNULL(COUNT(ElencoCartellini.UDC), 0) AS NumUDC, + SUM(ISNULL(ElencoCartellini.Qta, 0)) AS TotQta, ISNULL(COUNT(PosizioneUdcCorrente.IdxCella), 0) AS NumInMag + FROM RilPro.AnagParticolari LEFT OUTER JOIN + ElencoCartellini ON RilPro.AnagParticolari.Particolare = ElencoCartellini.Particolare LEFT OUTER JOIN + PosizioneUdcCorrente ON ElencoCartellini.UDC = PosizioneUdcCorrente.UDC + WHERE (RilPro.AnagParticolari.CodCS = @CodCS) AND (RilPro.AnagParticolari.Particolare LIKE '%' + @searchVal + '%') + GROUP BY RilPro.AnagParticolari.Particolare, RilPro.AnagParticolari.DescParticolare + +RETURN +go + +commit +go + + + + +-- crea stored + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_posizioniGetByIdxCellaUdc +* +* ottiene una singola posizione data la cella richiesta e l'UDC (e quindi verifica se sono associate...) +* +* Steamware, S.E.L. +* mod: 2010.06.12 +* +****************************************/ +create PROCEDURE stp_posizioniGetByIdxCellaUdc +( + @UDC VARCHAR(50), + @IdxCella INT +) +AS + + SELECT UDC, IdxCella, CodCS, DataRif + FROM PosizioneUdcCorrente + WHERE (IdxCella = @IdxCella) AND (UDC = @UDC) +RETURN +go + +commit +go + + + + +-- crea stored + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_RigheListePrelievo_eliminaNonPrelevate +* +* aggiorna la lista di prelievo ELIMINANDO le righe non ancora prelevate (per poi rigenerare l'elenco) +* +* Steamware, S.E.L. +* mod: 2010.07.06 +* +************************************/ +create PROCEDURE stp_RigheListePrelievo_eliminaNonPrelevate +( + @CodLista AS varchar(12) +) +AS + +DELETE FROM RigheListePrelievo +WHERE CodLista = @CodLista AND Prelevato = 0 + +RETURN +go + +commit +go + + + + +-- crea stored + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_righePrelevateByUdc +* +* restituisce l'elenco delle righe delle liste di prelievo PRELEVATE dato un UDC +* +* Steamware, S.E.L. +* mod: 2010.07.06 +* +****************************************/ +create PROCEDURE stp_righePrelevateByUdc +( + @UDC VARCHAR(50) +) +AS + + SELECT * + FROM RigheListePrelievo + WHERE (UDC = @UDC) AND Prelevato = 1 + +RETURN +go + +commit +go + + +-- crea stored + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_S2U_getByUtente +* +* ottiene record x corrisponenda utente <-> cod soggetto +* +* Steamware, S.E.L. +* mod: 2010.07.16 +* +****************************************/ +create PROCEDURE stp_S2U_getByUtente +( + @USER_NAME VARCHAR(50), + @DOMINIO VARCHAR(30) +) +AS + +SELECT * +FROM Soggetti2Utente +WHERE [USER_NAME] = @USER_NAME AND DOMINIO = @DOMINIO + + +RETURN +go + +commit +go + + + + +-- crea stored + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_scaricaUdc +* +* elimina dalle posizioni correnti un UDC, salvandone la posizione precedente nella tab storica (per scaricamento / spedizione) +* +* Steamware, S.E.L. +* mod: 2010.07.19 +* +****************************************/ +create PROCEDURE stp_scaricaUdc +( + @CodCS VARCHAR(2), + @UDC VARCHAR(50), + @IdxCellaFrom INT, + @IdxPosizione INT +) +AS + +BEGIN TRAN + -- inizio mettendo in storico la posizione attuale dell'UDC (SE esiste) + INSERT INTO PosizioneUdcStorico(UDC, IdxCella, CodCS, DataInizio, DataFine) + ( + SELECT UDC, IdxCella, CodCS, DataRif as DataInizio, GETDATE() as DataFine + FROM PosizioneUdcCorrente + WHERE UDC = @UDC AND IdxCella = @IdxCellaFrom + ) + + -- libero la posizione attuale dell'UDC (se c'è...) + DELETE + FROM PosizioneUdcCorrente + WHERE UDC = @UDC AND IdxCella = @IdxCellaFrom + + -- aggiorno l'UDC come posizione finale... + UPDATE ElencoCartellini + SET IdxPosizione = @IdxPosizione + WHERE UDC = @UDC + +COMMIT TRAN + +RETURN +go + +commit +go + + + + +-- crea stored + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_setAnnullaUdcPrelevato +* +* Steamware, E.N. +* mod: 2010.06.25 +* +************************************/ +create PROCEDURE stp_setAnnullaUdcPrelevato +( + @CodLista NVARCHAR(12), + @UDC NVARCHAR(50) +) +AS + +UPDATE RigheListePrelievo +SET Prelevato=0 +WHERE (CodLista = @CodLista) AND (UDC = @UDC) + +SELECT * +FROM RigheListePrelievo +WHERE (CodLista = @CodLista) AND (UDC = @UDC) +go + +commit +go + + + + +-- crea stored + + +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 +* +****************************************/ +create PROCEDURE stp_spostaUdc +( + @CodCS VARCHAR(2), + @UDC VARCHAR(50), + @IdxCellaFrom INT, + @IdxCellaTo INT +) +AS + +BEGIN TRAN + -- inizio mettendo in storico la posizione attuale dell'UDC (SE esiste) + INSERT INTO PosizioneUdcStorico(UDC, IdxCella, CodCS, DataInizio, DataFine) + ( + SELECT UDC, IdxCella, CodCS, DataRif as DataInizio, GETDATE() as DataFine + FROM PosizioneUdcCorrente + WHERE UDC = @UDC AND IdxCella = @IdxCellaFrom + ) + + -- libero la posizione attuale dell'UDC (se c'è...) + DELETE + FROM PosizioneUdcCorrente + WHERE UDC = @UDC AND IdxCella = @IdxCellaFrom + + -- creo una nuova posizione per l'UDC + INSERT INTO PosizioneUdcCorrente(UDC, IdxCella, CodCS, DataRif) + VALUES(@UDC, @IdxCellaTo, @CodCS, GETDATE()) + +COMMIT TRAN + +RETURN +go + +commit +go + + + + +-- crea stored + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_UDC_updateQty +* +* aggiorna un cartellino x la sua quantità +* +* Steamware, S.E.L. +* mod: 2010.06.12 +* +****************************************/ +create PROCEDURE stp_UDC_updateQty +( + @UDC VARCHAR(20), + @CodSoggetto VARCHAR(16), + @CodTipoDichiaraz CHAR(1), + @CodEvento VARCHAR(10), + @Qta DECIMAL(10,2) +) +AS + + +------------------------------------------------------------------------------------------------------ +-- Ciclo principale x edit record +------------------------------------------------------------------------------------------------------ +BEGIN TRAN + + -- registro in StoricoCartellini + INSERT INTO StoricoCartellini(DataEv, CodEvento, CodTipoDichiaraz, UDC, CodCS,CodCliente, RagSociale, Particolare, DescParticolare, + DisegnoGrezzo, Esponente, CodImpianto, DescImpianto, CodStampo, Figura, DataFus, TurnoFus, CodImballo, CodSoggetto, + NumCont, Tara, Qta, CodStato, IdxPosizione, PesoTot, PesoCad) + SELECT GETDATE() AS DataEv, @CodEvento AS CodEvento, @CodTipoDichiaraz AS CodTipoDichiaraz, UDC, CodCS, + CodCliente, RagSociale, Particolare, DescParticolare, DisegnoGrezzo, Esponente, CodImpianto, DescImpianto, CodStampo, Figura, + DataFus, TurnoFus, CodImballo, @CodSoggetto AS CodSoggetto, NumCont, Tara, Qta, CodStato, IdxPosizione, PesoTot, PesoCad + FROM ElencoCartellini + WHERE (UDC = @UDC) + + -- modifico il record + UPDATE ElencoCartellini + SET Qta = @Qta, ModDate = GETDATE() + WHERE UDC = @UDC + +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- restituisco la tab dati con l'udc appena inserito +------------------------------------------------------------------------------------------------------ +SELECT * +FROM ElencoCartellini +WHERE UDC = @UDC +------------------------------------------------------------------------------------------------------ + +RETURN +go + +commit +go + + + + +-- crea stored + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_UDC_upsertPrelevato +* +* fa un upsert sulle righe liste prelievo indicando che è stato prelevato un dato udc +* (upsert: se c'è update, se non c'è insert...) +* +* Steamware, S.E.L. +* mod: 2010.06.29 +* +************************************/ +create PROCEDURE stp_UDC_upsertPrelevato +( + @CodLista NVARCHAR(12), + @UDC NVARCHAR(50) +) +AS + +-- controllo se ci sia l'UDC tra quelli proposti... +DECLARE @trovato AS BIT + +SET @trovato = (SELECT COUNT(*) AS trovati + FROM RigheListePrelievo + WHERE (CodLista = @CodLista) AND (UDC = @UDC)) + +-- controllo x scelta upsert + +IF ( @trovato > 0) -- UPDATE! + BEGIN + UPDATE RigheListePrelievo + SET Prelevato=1 + WHERE (CodLista = @CodLista) AND (UDC = @UDC) + END +ELSE -- INSERT! + BEGIN + INSERT INTO RigheListePrelievo (CodLista, UDC, Qta, Proposto, Prelevato) + SELECT @CodLista, @UDC, Qta, 0, 1 + FROM ElencoCartellini + WHERE (UDC = @UDC) + END + + +-- restituisce la tab delle righe di prelievo della lista indicata + +SELECT * +FROM RigheListePrelievo +WHERE (CodLista = @CodLista) AND (UDC = @UDC) +go + +commit +go + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(110, GETDATE()) +GO + + diff --git a/GMW_data/SqlScripts/V1.1/GMW_00160.sql b/GMW_data/SqlScripts/V1.1/GMW_00160.sql new file mode 100644 index 00000000..cffc0a82 --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00160.sql @@ -0,0 +1,922 @@ +/* versione 160 */ + +set xact_abort on +go + +begin transaction +go + +alter table ElencoListePrelievo add + Destinatario nvarchar(50) +go + +create index i_destinatario on ElencoListePrelievo(Destinatario) +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_creaListaPrelievo +* +* crea un nuovo record nella ElencoListePrelievo e restituisce il codice ID appena creato +* +* Steamware, S.E.L. 8 (FROM Stintino) +* mod: 2010.07.30 +* +************************************/ +alter PROCEDURE stp_creaListaPrelievo +( + @Anno NVARCHAR(2), + @Mese NVARCHAR(2), + @CodTipoLista NVARCHAR(10), + @CodCS NCHAR(2), + @CodCliente NVARCHAR(6), + @RagSociale NVARCHAR(35), + @CodSoggetto NCHAR(16), + @Particolare NVARCHAR(15), + @DescParticolare NVARCHAR(30), + @DisegnoGrezzo NVARCHAR(30), + @Esponente NVARCHAR(6), + @Figura NVARCHAR(4), + @CodImballo NVARCHAR(15), + @QtaTot DECIMAL(10,2), + @Destinatario NVARCHAR(50) +) +AS + +-- Dichiarazioni iniziali +DECLARE @CodLista AS NVARCHAR(12) +DECLARE @numLista AS INT +DECLARE @temp AS INT +DECLARE @ora AS DATETIME + +------------------------------------------------------------------------------------------------------ +-- codice lista di prelievo KAAMM00000 - K = start char, AA = anno, MM = mese, 00000 = progressivo +------------------------------------------------------------------------------------------------------ +-- controllo se ci sia già una lista di prelievo per company / flusso anno +BEGIN TRAN + -- cerco nella tab contatori liste prelievo l'ultimo valido + SET @numLista = ( + SELECT COUNT(*) + FROM ContatoriListePrelievo + WHERE CodCS = @CodCS + AND Anno = @Anno + AND Mese = @Mese + ) + -- controllo se record c'è... + IF(@numLista > 0) + BEGIN + -- se c'è incremento di 1 in tab + UPDATE ContatoriListePrelievo + SET LastIdx = LastIdx + 1 + WHERE CodCS = @CodCS + AND Anno = @Anno + AND Mese = @Mese + + END + ELSE + BEGIN + -- lo creo! + INSERT INTO ContatoriListePrelievo(CodCS, Anno, Mese, LastIdx) + VALUES (@CodCS, @Anno, @Mese, 1) + END + -- aggiorno numero lista prelievo + SET @numLista = ( + SELECT LastIdx + FROM ContatoriListePrelievo + WHERE CodCS = @CodCS + AND Anno = @Anno + AND Mese = @Mese + + ) +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + +BEGIN TRAN + + ------------------------------------------------------------------------------------------------------ + -- Ciclo principale x inserimento nuovo record + ------------------------------------------------------------------------------------------------------ + -- ottengo il nuovo codice lista di prelievo completo + SET @CodLista = 'K' + @CodCS + @Anno + dbo.f_padLeft(CAST(@Mese AS NVARCHAR(2)), 2, '0') + + dbo.f_padLeft(CAST(@numLista AS NVARCHAR(5)), 5, '0') + + INSERT INTO ElencoListePrelievo + (CodLista, CodTipoLista, CodCS, DataCreaz, CodCliente, RagSociale, CodSoggetto, Particolare, DescParticolare, DisegnoGrezzo, Esponente, Figura, CodImballo, QtaTot, CodStatoLista, Destinatario) + VALUES (@CodLista, @CodTipoLista, @CodCS, GETDATE(), @CodCliente, @RagSociale, @CodSoggetto, @Particolare, @DescParticolare, @DisegnoGrezzo, @Esponente,@Figura, @CodImballo, @QtaTot, 0, @Destinatario) + +COMMIT TRAN + +SELECT * FROM V_elencoListePrelievo WHERE CodLista = @CodLista; + +RETURN +go + +create VIEW v_selDestinatariListePrelievo +AS +SELECT DISTINCT ISNULL(Destinatario, '') AS Destinatario +FROM dbo.ElencoListePrelievo +go + +exec sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "ElencoListePrelievo" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 315 + Right = 208 + End + DisplayFlags = 280 + TopColumn = 2 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 9 + Width = 284 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_selDestinatariListePrelievo' +go + +exec sp_addextendedproperty 'MS_DiagramPaneCount', 1, 'SCHEMA', 'dbo', 'VIEW', 'v_selDestinatariListePrelievo' +go + +alter VIEW V_elencoListePrelievo +AS +SELECT TOP (100) PERCENT dbo.ElencoListePrelievo.CodLista, dbo.ElencoListePrelievo.CodTipoLista, dbo.ElencoListePrelievo.CodCS, dbo.ElencoListePrelievo.DataCreaz, + dbo.ElencoListePrelievo.CodCliente, dbo.ElencoListePrelievo.RagSociale, dbo.ElencoListePrelievo.CodSoggetto, dbo.ElencoListePrelievo.Particolare, + dbo.ElencoListePrelievo.DescParticolare, dbo.ElencoListePrelievo.DisegnoGrezzo, dbo.ElencoListePrelievo.Esponente, dbo.ElencoListePrelievo.Figura, + dbo.ElencoListePrelievo.CodImballo, dbo.ElencoListePrelievo.QtaTot, dbo.ElencoListePrelievo.CodStatoLista, ISNULL(dbo.v_righePrelevate.TotQta, 0) AS Prelevato, + dbo.ElencoListePrelievo.Destinatario +FROM dbo.ElencoListePrelievo LEFT OUTER JOIN + dbo.v_righePrelevate ON dbo.ElencoListePrelievo.CodLista = dbo.v_righePrelevate.CodLista +ORDER BY dbo.ElencoListePrelievo.DataCreaz DESC +go + +commit +go + + + +set xact_abort on +go + +begin transaction +go + +update ElencoListePrelievo +set Destinatario='-' +where Destinatario is null + +commit +go + +set xact_abort on +go + +begin transaction +go + +DELETE FROM dbo.RigheListePrelievo WHERE CodLista=N'KMA100700004' and UDC=N'UMAB310000752' +DELETE FROM dbo.RigheListePrelievo WHERE CodLista=N'KMA100700004' and UDC=N'UMAB310000754' +DELETE FROM dbo.RigheListePrelievo WHERE CodLista=N'KMA100700004' and UDC=N'UMAB310000756' +DELETE FROM dbo.RigheListePrelievo WHERE CodLista=N'KMA100700004' and UDC=N'UMAB310000758' +DELETE FROM dbo.RigheListePrelievo WHERE CodLista=N'KMA100700005' and UDC=N'UMAB310000752' +DELETE FROM dbo.RigheListePrelievo WHERE CodLista=N'KMA100700005' and UDC=N'UMAB310000754' +DELETE FROM dbo.RigheListePrelievo WHERE CodLista=N'KMA100700005' and UDC=N'UMAB310000756' +DELETE FROM dbo.RigheListePrelievo WHERE CodLista=N'KMA100700005' and UDC=N'UMAB310000758' +DELETE FROM dbo.RigheListePrelievo WHERE CodLista=N'KMA100700016' and UDC=N'UMAB310000752' +DELETE FROM dbo.RigheListePrelievo WHERE CodLista=N'KMA100700016' and UDC=N'UMAB310000754' +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +UPDATE dbo.ElencoListePrelievo SET + CodStatoLista=4, Destinatario=N'Gatti' + WHERE CodLista=N'KMA100700017' +INSERT INTO dbo.ElencoListePrelievo + VALUES (N'KMA100700019', N'02-PreCli', N'MA', '2010-07-27 12:06:38.443', N'00505 ', N'ZF LENKSYSTEME GmbH', N'O990000000000000', N'P00505005162', N'SCATOLA STERZO DX VOLVO ', N'7853 501 162 ', N'*', N'*', N'*', 100.00, 0, N'RoNo') +INSERT INTO dbo.ElencoListePrelievo + VALUES (N'KMA100700023', N'01-PreFus', N'MA', '2010-07-30 10:57:19.340', N'00505 ', N'ZF LENKSYSTEME GmbH', N'O990000000000000', N'P00505005162', N'SCATOLA STERZO DX VOLVO ', N'7853 501 162 ', N'*', N'*', N'*', 120.00, 4, N'-') +INSERT INTO dbo.ElencoListePrelievo + VALUES (N'KMA100700024', N'01-PreFus', N'MA', '2010-07-30 10:58:24.013', N'00505 ', N'ZF LENKSYSTEME GmbH', N'O990000000000000', N'P00505005162', N'SCATOLA STERZO DX VOLVO ', N'7853 501 162 ', N'*', N'*', N'*', 120.00, 4, N'-') +DELETE FROM dbo.ElencoListePrelievo WHERE CodLista=N'KMA100700004' +DELETE FROM dbo.ElencoListePrelievo WHERE CodLista=N'KMA100700005' +DELETE FROM dbo.ElencoListePrelievo WHERE CodLista=N'KMA100700016' +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.RigheListePrelievo_AS + VALUES (N'KMA100700017', N'UMAB310000442', 63.00, 1, 1) +INSERT INTO dbo.RigheListePrelievo_AS + VALUES (N'KMA100700017', N'UMAB310000444', 54.00, 1, 1) +INSERT INTO dbo.RigheListePrelievo_AS + VALUES (N'KMA100700023', N'UMAB310000004', 56.00, 1, 1) +INSERT INTO dbo.RigheListePrelievo_AS + VALUES (N'KMA100700023', N'UMAB310001248', 70.00, 1, 1) +INSERT INTO dbo.RigheListePrelievo_AS + VALUES (N'KMA100700024', N'UMAB310001246', 59.00, 1, 1) +INSERT INTO dbo.RigheListePrelievo_AS + VALUES (N'KMA100700024', N'UMAB310001250', 65.00, 1, 1) +go + +commit transaction +go + + + +set xact_abort on +go + +begin transaction +go + +alter table ElencoListePrelievo_AS add + Destinatario nvarchar(50) +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_LP_exportToAs400 +* +* esporta la lista di prelievo (e le relative righe) verso AS400 andando a copaire nelle relative tabelle _AS +* +* Steamware, S.E.L. +* mod: 2010.07.19 +* +****************************************/ +alter PROCEDURE stp_LP_exportToAs400 +( + @CodLista NVARCHAR(12) +) +AS + +-- copio la lista (intestazione) +INSERT INTO ElencoListePrelievo_AS +SELECT * +FROM ElencoListePrelievo +WHERE (CodLista = @CodLista) + +-- copio le righe lista di dettaglio +INSERT INTO RigheListePrelievo_AS +SELECT * +FROM RigheListePrelievo +WHERE (CodLista = @CodLista) AND Prelevato = 1 + +-- aggiorno le quantità passate ad AS... +UPDATE ElencoListePrelievo_AS +SET QtaTot = ( SELECT SUM(Qta) AS QtaTot FROM RigheListePrelievo WHERE (CodLista =@CodLista) AND Prelevato = 1 ) +WHERE (CodLista = @CodLista) + +RETURN +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.ElencoListePrelievo_AS + VALUES (N'KMA100700017', N'03-TerWip', N'MA', '2010-07-27 11:59:22.417', N'00505 ', N'ZF LENKSYSTEME GmbH', N'O990000000000000', N'P00505005162', N'SCATOLA STERZO DX VOLVO ', N'7853 501 162 ', N'*', N'*', N'*', 117.00, 4, NULL) +INSERT INTO dbo.ElencoListePrelievo_AS + VALUES (N'KMA100700023', N'01-PreFus', N'MA', '2010-07-30 10:57:19.340', N'00505 ', N'ZF LENKSYSTEME GmbH', N'O990000000000000', N'P00505005162', N'SCATOLA STERZO DX VOLVO ', N'7853 501 162 ', N'*', N'*', N'*', 126.00, 4, NULL) +INSERT INTO dbo.ElencoListePrelievo_AS + VALUES (N'KMA100700024', N'01-PreFus', N'MA', '2010-07-30 10:58:24.013', N'00505 ', N'ZF LENKSYSTEME GmbH', N'O990000000000000', N'P00505005162', N'SCATOLA STERZO DX VOLVO ', N'7853 501 162 ', N'*', N'*', N'*', 124.00, 4, NULL) +go + +commit transaction +go + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_getDestListePrelLike +* +* ottiene l'elenco dei destinatari liste di prelievo data la substring di ricerca +* +* Steamware, S.E.L. +* mod: 2010.07.30 +* +****************************************/ +create PROCEDURE stp_getDestListePrelLike +( + @cerca VARCHAR(2) +) +AS + + SELECT * FROM v_selDestinatariListePrelievo + WHERE Destinatario LIKE '%'+ @cerca + '%' + +RETURN +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +UPDATE dbo.Blocchi SET + NumX=15, NumY=5 + WHERE IdxBlocco=1 +UPDATE dbo.Blocchi SET + NumX=15, NumY=5 + WHERE IdxBlocco=4 +UPDATE dbo.Blocchi SET + NumX=10, NumY=5 + WHERE IdxBlocco=6 +DELETE FROM dbo.Blocchi WHERE IdxBlocco=23 +DELETE FROM dbo.Blocchi WHERE IdxBlocco=24 +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.PosizioneUdcCorrente + VALUES (N'UMAB310000114', 57, N'MA', '2010-04-29 01:00:00.000') +UPDATE dbo.PosizioneUdcCorrente SET + DataRif='2010-07-28 16:20:57.250' + WHERE UDC=N'UMAB310000140' and IdxCella=88 +INSERT INTO dbo.PosizioneUdcCorrente + VALUES (N'UMAB310000142', 88, N'MA', '2010-07-28 16:08:06.447') +INSERT INTO dbo.PosizioneUdcCorrente + VALUES (N'UMAB310000162', 99, N'MA', '2010-04-28 02:00:00.000') +UPDATE dbo.PosizioneUdcCorrente SET + DataRif='2010-07-23 18:12:54.563' + WHERE UDC=N'UMAB310000214' and IdxCella=129 +UPDATE dbo.PosizioneUdcCorrente SET + DataRif='2010-04-30 01:00:00.000' + WHERE UDC=N'UMAB310000220' and IdxCella=128 +DELETE FROM dbo.PosizioneUdcCorrente WHERE UDC=N'UMAB310000004' and IdxCella=2 +DELETE FROM dbo.PosizioneUdcCorrente WHERE UDC=N'UMAB310000114' and IdxCella=499 +DELETE FROM dbo.PosizioneUdcCorrente WHERE UDC=N'UMAB310000142' and IdxCella=89 +DELETE FROM dbo.PosizioneUdcCorrente WHERE UDC=N'UMAB310000162' and IdxCella=499 +DELETE FROM dbo.PosizioneUdcCorrente WHERE UDC=N'UMAB310000442' and IdxCella=76 +DELETE FROM dbo.PosizioneUdcCorrente WHERE UDC=N'UMAB310000444' and IdxCella=77 +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.PosizioneUdcStorico + VALUES (N'UMAB310000004', 2, N'MA', '2010-04-15 00:00:00.000', '2010-07-30 11:38:33.483') +INSERT INTO dbo.PosizioneUdcStorico + VALUES (N'UMAB310000004', 202, N'MA', '2010-07-30 11:38:33.493', '2010-07-30 11:38:38.883') +INSERT INTO dbo.PosizioneUdcStorico + VALUES (N'UMAB310000140', 88, N'MA', '2010-03-26 01:00:00.000', '2010-07-28 15:50:22.837') +INSERT INTO dbo.PosizioneUdcStorico + VALUES (N'UMAB310000140', 89, N'MA', '2010-07-28 15:50:22.837', '2010-07-28 16:00:20.507') +INSERT INTO dbo.PosizioneUdcStorico + VALUES (N'UMAB310000142', 88, N'MA', '2010-07-28 15:49:02.407', '2010-07-28 16:00:05.967') +INSERT INTO dbo.PosizioneUdcStorico + VALUES (N'UMAB310000142', 89, N'MA', '2010-03-24 00:00:00.000', '2010-07-28 15:49:02.357') +INSERT INTO dbo.PosizioneUdcStorico + VALUES (N'UMAB310000442', 76, N'MA', '2010-07-19 17:59:09.310', '2010-07-30 12:32:25.000') +INSERT INTO dbo.PosizioneUdcStorico + VALUES (N'UMAB310000442', 206, N'MA', '2010-07-30 12:32:25.000', '2010-07-30 12:32:28.307') +INSERT INTO dbo.PosizioneUdcStorico + VALUES (N'UMAB310000444', 77, N'MA', '2010-07-19 17:59:17.063', '2010-07-30 12:32:25.033') +INSERT INTO dbo.PosizioneUdcStorico + VALUES (N'UMAB310000444', 206, N'MA', '2010-07-30 12:32:25.033', '2010-07-30 12:32:28.313') +INSERT INTO dbo.PosizioneUdcStorico + VALUES (N'UMAB310001246', 202, N'MA', '2010-07-30 12:31:44.230', '2010-07-30 12:31:56.213') +INSERT INTO dbo.PosizioneUdcStorico + VALUES (N'UMAB310001248', 202, N'MA', '2010-07-30 12:31:34.947', '2010-07-30 12:31:47.127') +INSERT INTO dbo.PosizioneUdcStorico + VALUES (N'UMAB310001250', 202, N'MA', '2010-07-30 12:31:44.243', '2010-07-30 12:31:56.230') +DELETE FROM dbo.PosizioneUdcStorico WHERE UDC=N'UMAB310000114' and IdxCella=57 +DELETE FROM dbo.PosizioneUdcStorico WHERE UDC=N'UMAB310000162' and IdxCella=99 +DELETE FROM dbo.PosizioneUdcStorico WHERE UDC=N'UMAB310000214' and IdxCella=129 +DELETE FROM dbo.PosizioneUdcStorico WHERE UDC=N'UMAB310000214' and IdxCella=130 +DELETE FROM dbo.PosizioneUdcStorico WHERE UDC=N'UMAB310000214' and IdxCella=139 +DELETE FROM dbo.PosizioneUdcStorico WHERE UDC=N'UMAB310000220' and IdxCella=128 +DELETE FROM dbo.PosizioneUdcStorico WHERE UDC=N'UMAB310000220' and IdxCella=133 +go + +commit transaction +go + +set xact_abort on +go + +begin transaction +go + +UPDATE dbo.Celle SET + Piena=0 + WHERE IdxCella=5 +UPDATE dbo.Celle SET + IdxTipoCella=5 + WHERE IdxCella=76 +UPDATE dbo.Celle SET + Attiva=0 + WHERE IdxCella=80 +UPDATE dbo.Celle SET + Attiva=0 + WHERE IdxCella=85 +UPDATE dbo.Celle SET + Attiva=0 + WHERE IdxCella=90 +UPDATE dbo.Celle SET + Attiva=0 + WHERE IdxCella=95 +UPDATE dbo.Celle SET + Attiva=0 + WHERE IdxCella=100 +UPDATE dbo.Celle SET + Attiva=0 + WHERE IdxCella=105 +UPDATE dbo.Celle SET + Attiva=0 + WHERE IdxCella=110 +UPDATE dbo.Celle SET + Attiva=0 + WHERE IdxCella=115 +UPDATE dbo.Celle SET + Attiva=0 + WHERE IdxCella=120 +UPDATE dbo.Celle SET + Attiva=0 + WHERE IdxCella=125 +UPDATE dbo.Celle SET + Attiva=0 + WHERE IdxCella=130 +UPDATE dbo.Celle SET + Attiva=0 + WHERE IdxCella=135 +DELETE FROM dbo.Celle WHERE IdxCella=207 +DELETE FROM dbo.Celle WHERE IdxCella=208 +DELETE FROM dbo.Celle WHERE IdxCella=209 +DELETE FROM dbo.Celle WHERE IdxCella=210 +DELETE FROM dbo.Celle WHERE IdxCella=211 +DELETE FROM dbo.Celle WHERE IdxCella=212 +DELETE FROM dbo.Celle WHERE IdxCella=213 +DELETE FROM dbo.Celle WHERE IdxCella=214 +DELETE FROM dbo.Celle WHERE IdxCella=215 +DELETE FROM dbo.Celle WHERE IdxCella=216 +DELETE FROM dbo.Celle WHERE IdxCella=217 +DELETE FROM dbo.Celle WHERE IdxCella=218 +DELETE FROM dbo.Celle WHERE IdxCella=219 +DELETE FROM dbo.Celle WHERE IdxCella=220 +DELETE FROM dbo.Celle WHERE IdxCella=221 +DELETE FROM dbo.Celle WHERE IdxCella=222 +DELETE FROM dbo.Celle WHERE IdxCella=223 +DELETE FROM dbo.Celle WHERE IdxCella=224 +DELETE FROM dbo.Celle WHERE IdxCella=225 +DELETE FROM dbo.Celle WHERE IdxCella=226 +DELETE FROM dbo.Celle WHERE IdxCella=227 +DELETE FROM dbo.Celle WHERE IdxCella=228 +DELETE FROM dbo.Celle WHERE IdxCella=229 +DELETE FROM dbo.Celle WHERE IdxCella=230 +DELETE FROM dbo.Celle WHERE IdxCella=231 +DELETE FROM dbo.Celle WHERE IdxCella=232 +DELETE FROM dbo.Celle WHERE IdxCella=233 +DELETE FROM dbo.Celle WHERE IdxCella=234 +DELETE FROM dbo.Celle WHERE IdxCella=235 +DELETE FROM dbo.Celle WHERE IdxCella=236 +DELETE FROM dbo.Celle WHERE IdxCella=237 +DELETE FROM dbo.Celle WHERE IdxCella=238 +DELETE FROM dbo.Celle WHERE IdxCella=239 +DELETE FROM dbo.Celle WHERE IdxCella=240 +DELETE FROM dbo.Celle WHERE IdxCella=241 +DELETE FROM dbo.Celle WHERE IdxCella=242 +DELETE FROM dbo.Celle WHERE IdxCella=243 +DELETE FROM dbo.Celle WHERE IdxCella=244 +DELETE FROM dbo.Celle WHERE IdxCella=245 +DELETE FROM dbo.Celle WHERE IdxCella=246 +DELETE FROM dbo.Celle WHERE IdxCella=247 +DELETE FROM dbo.Celle WHERE IdxCella=248 +DELETE FROM dbo.Celle WHERE IdxCella=249 +DELETE FROM dbo.Celle WHERE IdxCella=250 +DELETE FROM dbo.Celle WHERE IdxCella=251 +DELETE FROM dbo.Celle WHERE IdxCella=252 +DELETE FROM dbo.Celle WHERE IdxCella=253 +DELETE FROM dbo.Celle WHERE IdxCella=254 +DELETE FROM dbo.Celle WHERE IdxCella=255 +DELETE FROM dbo.Celle WHERE IdxCella=256 +DELETE FROM dbo.Celle WHERE IdxCella=257 +DELETE FROM dbo.Celle WHERE IdxCella=258 +DELETE FROM dbo.Celle WHERE IdxCella=259 +DELETE FROM dbo.Celle WHERE IdxCella=260 +DELETE FROM dbo.Celle WHERE IdxCella=261 +DELETE FROM dbo.Celle WHERE IdxCella=262 +DELETE FROM dbo.Celle WHERE IdxCella=263 +DELETE FROM dbo.Celle WHERE IdxCella=264 +DELETE FROM dbo.Celle WHERE IdxCella=265 +DELETE FROM dbo.Celle WHERE IdxCella=266 +DELETE FROM dbo.Celle WHERE IdxCella=267 +DELETE FROM dbo.Celle WHERE IdxCella=268 +DELETE FROM dbo.Celle WHERE IdxCella=269 +DELETE FROM dbo.Celle WHERE IdxCella=270 +DELETE FROM dbo.Celle WHERE IdxCella=271 +DELETE FROM dbo.Celle WHERE IdxCella=272 +DELETE FROM dbo.Celle WHERE IdxCella=273 +DELETE FROM dbo.Celle WHERE IdxCella=274 +DELETE FROM dbo.Celle WHERE IdxCella=275 +DELETE FROM dbo.Celle WHERE IdxCella=276 +DELETE FROM dbo.Celle WHERE IdxCella=277 +DELETE FROM dbo.Celle WHERE IdxCella=278 +DELETE FROM dbo.Celle WHERE IdxCella=279 +DELETE FROM dbo.Celle WHERE IdxCella=280 +DELETE FROM dbo.Celle WHERE IdxCella=281 +DELETE FROM dbo.Celle WHERE IdxCella=282 +DELETE FROM dbo.Celle WHERE IdxCella=283 +DELETE FROM dbo.Celle WHERE IdxCella=284 +DELETE FROM dbo.Celle WHERE IdxCella=285 +DELETE FROM dbo.Celle WHERE IdxCella=286 +DELETE FROM dbo.Celle WHERE IdxCella=287 +DELETE FROM dbo.Celle WHERE IdxCella=288 +DELETE FROM dbo.Celle WHERE IdxCella=289 +DELETE FROM dbo.Celle WHERE IdxCella=290 +DELETE FROM dbo.Celle WHERE IdxCella=291 +DELETE FROM dbo.Celle WHERE IdxCella=292 +DELETE FROM dbo.Celle WHERE IdxCella=293 +DELETE FROM dbo.Celle WHERE IdxCella=294 +DELETE FROM dbo.Celle WHERE IdxCella=295 +DELETE FROM dbo.Celle WHERE IdxCella=296 +DELETE FROM dbo.Celle WHERE IdxCella=297 +DELETE FROM dbo.Celle WHERE IdxCella=298 +DELETE FROM dbo.Celle WHERE IdxCella=299 +DELETE FROM dbo.Celle WHERE IdxCella=300 +DELETE FROM dbo.Celle WHERE IdxCella=301 +DELETE FROM dbo.Celle WHERE IdxCella=302 +DELETE FROM dbo.Celle WHERE IdxCella=303 +DELETE FROM dbo.Celle WHERE IdxCella=304 +DELETE FROM dbo.Celle WHERE IdxCella=305 +DELETE FROM dbo.Celle WHERE IdxCella=306 +DELETE FROM dbo.Celle WHERE IdxCella=307 +DELETE FROM dbo.Celle WHERE IdxCella=308 +DELETE FROM dbo.Celle WHERE IdxCella=309 +DELETE FROM dbo.Celle WHERE IdxCella=310 +DELETE FROM dbo.Celle WHERE IdxCella=311 +DELETE FROM dbo.Celle WHERE IdxCella=312 +DELETE FROM dbo.Celle WHERE IdxCella=313 +DELETE FROM dbo.Celle WHERE IdxCella=314 +DELETE FROM dbo.Celle WHERE IdxCella=315 +DELETE FROM dbo.Celle WHERE IdxCella=316 +DELETE FROM dbo.Celle WHERE IdxCella=317 +DELETE FROM dbo.Celle WHERE IdxCella=318 +DELETE FROM dbo.Celle WHERE IdxCella=319 +DELETE FROM dbo.Celle WHERE IdxCella=320 +DELETE FROM dbo.Celle WHERE IdxCella=321 +DELETE FROM dbo.Celle WHERE IdxCella=322 +DELETE FROM dbo.Celle WHERE IdxCella=323 +DELETE FROM dbo.Celle WHERE IdxCella=324 +DELETE FROM dbo.Celle WHERE IdxCella=325 +DELETE FROM dbo.Celle WHERE IdxCella=326 +DELETE FROM dbo.Celle WHERE IdxCella=327 +DELETE FROM dbo.Celle WHERE IdxCella=328 +DELETE FROM dbo.Celle WHERE IdxCella=329 +DELETE FROM dbo.Celle WHERE IdxCella=330 +DELETE FROM dbo.Celle WHERE IdxCella=331 +DELETE FROM dbo.Celle WHERE IdxCella=332 +DELETE FROM dbo.Celle WHERE IdxCella=333 +DELETE FROM dbo.Celle WHERE IdxCella=334 +DELETE FROM dbo.Celle WHERE IdxCella=335 +DELETE FROM dbo.Celle WHERE IdxCella=336 +DELETE FROM dbo.Celle WHERE IdxCella=337 +DELETE FROM dbo.Celle WHERE IdxCella=338 +DELETE FROM dbo.Celle WHERE IdxCella=339 +DELETE FROM dbo.Celle WHERE IdxCella=340 +DELETE FROM dbo.Celle WHERE IdxCella=341 +DELETE FROM dbo.Celle WHERE IdxCella=342 +DELETE FROM dbo.Celle WHERE IdxCella=343 +DELETE FROM dbo.Celle WHERE IdxCella=344 +DELETE FROM dbo.Celle WHERE IdxCella=345 +DELETE FROM dbo.Celle WHERE IdxCella=346 +DELETE FROM dbo.Celle WHERE IdxCella=347 +DELETE FROM dbo.Celle WHERE IdxCella=348 +DELETE FROM dbo.Celle WHERE IdxCella=349 +DELETE FROM dbo.Celle WHERE IdxCella=350 +DELETE FROM dbo.Celle WHERE IdxCella=351 +DELETE FROM dbo.Celle WHERE IdxCella=352 +DELETE FROM dbo.Celle WHERE IdxCella=353 +DELETE FROM dbo.Celle WHERE IdxCella=354 +DELETE FROM dbo.Celle WHERE IdxCella=355 +DELETE FROM dbo.Celle WHERE IdxCella=356 +DELETE FROM dbo.Celle WHERE IdxCella=357 +DELETE FROM dbo.Celle WHERE IdxCella=358 +DELETE FROM dbo.Celle WHERE IdxCella=359 +DELETE FROM dbo.Celle WHERE IdxCella=360 +DELETE FROM dbo.Celle WHERE IdxCella=361 +DELETE FROM dbo.Celle WHERE IdxCella=362 +DELETE FROM dbo.Celle WHERE IdxCella=363 +DELETE FROM dbo.Celle WHERE IdxCella=364 +DELETE FROM dbo.Celle WHERE IdxCella=365 +DELETE FROM dbo.Celle WHERE IdxCella=366 +DELETE FROM dbo.Celle WHERE IdxCella=367 +DELETE FROM dbo.Celle WHERE IdxCella=368 +DELETE FROM dbo.Celle WHERE IdxCella=369 +DELETE FROM dbo.Celle WHERE IdxCella=370 +DELETE FROM dbo.Celle WHERE IdxCella=371 +DELETE FROM dbo.Celle WHERE IdxCella=372 +DELETE FROM dbo.Celle WHERE IdxCella=373 +DELETE FROM dbo.Celle WHERE IdxCella=374 +DELETE FROM dbo.Celle WHERE IdxCella=375 +DELETE FROM dbo.Celle WHERE IdxCella=376 +DELETE FROM dbo.Celle WHERE IdxCella=377 +DELETE FROM dbo.Celle WHERE IdxCella=378 +DELETE FROM dbo.Celle WHERE IdxCella=379 +DELETE FROM dbo.Celle WHERE IdxCella=380 +DELETE FROM dbo.Celle WHERE IdxCella=381 +DELETE FROM dbo.Celle WHERE IdxCella=382 +DELETE FROM dbo.Celle WHERE IdxCella=383 +DELETE FROM dbo.Celle WHERE IdxCella=384 +DELETE FROM dbo.Celle WHERE IdxCella=385 +DELETE FROM dbo.Celle WHERE IdxCella=386 +DELETE FROM dbo.Celle WHERE IdxCella=387 +DELETE FROM dbo.Celle WHERE IdxCella=388 +DELETE FROM dbo.Celle WHERE IdxCella=389 +DELETE FROM dbo.Celle WHERE IdxCella=390 +DELETE FROM dbo.Celle WHERE IdxCella=391 +DELETE FROM dbo.Celle WHERE IdxCella=392 +DELETE FROM dbo.Celle WHERE IdxCella=393 +DELETE FROM dbo.Celle WHERE IdxCella=394 +DELETE FROM dbo.Celle WHERE IdxCella=395 +DELETE FROM dbo.Celle WHERE IdxCella=396 +DELETE FROM dbo.Celle WHERE IdxCella=397 +DELETE FROM dbo.Celle WHERE IdxCella=398 +DELETE FROM dbo.Celle WHERE IdxCella=399 +DELETE FROM dbo.Celle WHERE IdxCella=400 +DELETE FROM dbo.Celle WHERE IdxCella=401 +DELETE FROM dbo.Celle WHERE IdxCella=402 +DELETE FROM dbo.Celle WHERE IdxCella=403 +DELETE FROM dbo.Celle WHERE IdxCella=404 +DELETE FROM dbo.Celle WHERE IdxCella=405 +DELETE FROM dbo.Celle WHERE IdxCella=406 +DELETE FROM dbo.Celle WHERE IdxCella=407 +DELETE FROM dbo.Celle WHERE IdxCella=408 +DELETE FROM dbo.Celle WHERE IdxCella=409 +DELETE FROM dbo.Celle WHERE IdxCella=410 +DELETE FROM dbo.Celle WHERE IdxCella=411 +DELETE FROM dbo.Celle WHERE IdxCella=412 +DELETE FROM dbo.Celle WHERE IdxCella=413 +DELETE FROM dbo.Celle WHERE IdxCella=414 +DELETE FROM dbo.Celle WHERE IdxCella=415 +DELETE FROM dbo.Celle WHERE IdxCella=416 +DELETE FROM dbo.Celle WHERE IdxCella=417 +DELETE FROM dbo.Celle WHERE IdxCella=418 +DELETE FROM dbo.Celle WHERE IdxCella=419 +DELETE FROM dbo.Celle WHERE IdxCella=420 +DELETE FROM dbo.Celle WHERE IdxCella=421 +DELETE FROM dbo.Celle WHERE IdxCella=422 +DELETE FROM dbo.Celle WHERE IdxCella=423 +DELETE FROM dbo.Celle WHERE IdxCella=424 +DELETE FROM dbo.Celle WHERE IdxCella=425 +DELETE FROM dbo.Celle WHERE IdxCella=426 +DELETE FROM dbo.Celle WHERE IdxCella=427 +DELETE FROM dbo.Celle WHERE IdxCella=428 +DELETE FROM dbo.Celle WHERE IdxCella=429 +DELETE FROM dbo.Celle WHERE IdxCella=430 +DELETE FROM dbo.Celle WHERE IdxCella=431 +DELETE FROM dbo.Celle WHERE IdxCella=432 +DELETE FROM dbo.Celle WHERE IdxCella=433 +DELETE FROM dbo.Celle WHERE IdxCella=434 +DELETE FROM dbo.Celle WHERE IdxCella=435 +DELETE FROM dbo.Celle WHERE IdxCella=436 +DELETE FROM dbo.Celle WHERE IdxCella=437 +DELETE FROM dbo.Celle WHERE IdxCella=438 +DELETE FROM dbo.Celle WHERE IdxCella=439 +DELETE FROM dbo.Celle WHERE IdxCella=440 +DELETE FROM dbo.Celle WHERE IdxCella=441 +DELETE FROM dbo.Celle WHERE IdxCella=442 +DELETE FROM dbo.Celle WHERE IdxCella=443 +DELETE FROM dbo.Celle WHERE IdxCella=444 +DELETE FROM dbo.Celle WHERE IdxCella=445 +DELETE FROM dbo.Celle WHERE IdxCella=446 +DELETE FROM dbo.Celle WHERE IdxCella=447 +DELETE FROM dbo.Celle WHERE IdxCella=448 +DELETE FROM dbo.Celle WHERE IdxCella=449 +DELETE FROM dbo.Celle WHERE IdxCella=450 +DELETE FROM dbo.Celle WHERE IdxCella=451 +DELETE FROM dbo.Celle WHERE IdxCella=452 +DELETE FROM dbo.Celle WHERE IdxCella=453 +DELETE FROM dbo.Celle WHERE IdxCella=454 +DELETE FROM dbo.Celle WHERE IdxCella=455 +DELETE FROM dbo.Celle WHERE IdxCella=456 +DELETE FROM dbo.Celle WHERE IdxCella=457 +DELETE FROM dbo.Celle WHERE IdxCella=458 +DELETE FROM dbo.Celle WHERE IdxCella=459 +DELETE FROM dbo.Celle WHERE IdxCella=460 +DELETE FROM dbo.Celle WHERE IdxCella=461 +DELETE FROM dbo.Celle WHERE IdxCella=462 +DELETE FROM dbo.Celle WHERE IdxCella=463 +DELETE FROM dbo.Celle WHERE IdxCella=464 +DELETE FROM dbo.Celle WHERE IdxCella=465 +DELETE FROM dbo.Celle WHERE IdxCella=466 +DELETE FROM dbo.Celle WHERE IdxCella=467 +DELETE FROM dbo.Celle WHERE IdxCella=468 +DELETE FROM dbo.Celle WHERE IdxCella=469 +DELETE FROM dbo.Celle WHERE IdxCella=470 +DELETE FROM dbo.Celle WHERE IdxCella=471 +DELETE FROM dbo.Celle WHERE IdxCella=472 +DELETE FROM dbo.Celle WHERE IdxCella=473 +DELETE FROM dbo.Celle WHERE IdxCella=474 +DELETE FROM dbo.Celle WHERE IdxCella=475 +DELETE FROM dbo.Celle WHERE IdxCella=476 +DELETE FROM dbo.Celle WHERE IdxCella=477 +DELETE FROM dbo.Celle WHERE IdxCella=478 +DELETE FROM dbo.Celle WHERE IdxCella=479 +DELETE FROM dbo.Celle WHERE IdxCella=480 +DELETE FROM dbo.Celle WHERE IdxCella=481 +DELETE FROM dbo.Celle WHERE IdxCella=482 +DELETE FROM dbo.Celle WHERE IdxCella=483 +DELETE FROM dbo.Celle WHERE IdxCella=484 +DELETE FROM dbo.Celle WHERE IdxCella=485 +DELETE FROM dbo.Celle WHERE IdxCella=486 +DELETE FROM dbo.Celle WHERE IdxCella=487 +DELETE FROM dbo.Celle WHERE IdxCella=488 +DELETE FROM dbo.Celle WHERE IdxCella=489 +DELETE FROM dbo.Celle WHERE IdxCella=490 +DELETE FROM dbo.Celle WHERE IdxCella=491 +DELETE FROM dbo.Celle WHERE IdxCella=492 +DELETE FROM dbo.Celle WHERE IdxCella=493 +DELETE FROM dbo.Celle WHERE IdxCella=494 +DELETE FROM dbo.Celle WHERE IdxCella=495 +DELETE FROM dbo.Celle WHERE IdxCella=496 +DELETE FROM dbo.Celle WHERE IdxCella=497 +DELETE FROM dbo.Celle WHERE IdxCella=498 +DELETE FROM dbo.Celle WHERE IdxCella=499 +DELETE FROM dbo.Celle WHERE IdxCella=500 +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +UPDATE dbo.TipoCella SET + Quantita=200, Capienza=3, Max_X=3000, Max_Kg=3000 + WHERE IdxTipoCella=5 +DELETE FROM dbo.TipoCella WHERE IdxTipoCella=16 +DELETE FROM dbo.TipoCella WHERE IdxTipoCella=17 +DELETE FROM dbo.TipoCella WHERE IdxTipoCella=18 +go + +commit transaction +go + + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(160, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.1/GMW_00200.sql b/GMW_data/SqlScripts/V1.1/GMW_00200.sql new file mode 100644 index 00000000..c890d194 --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00200.sql @@ -0,0 +1,491 @@ +/* Sistemo parametri x cambio posizioni da web.config */ +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.AnagTipoEvento + VALUES (N'UDC_FINITO', N'Richiesta UDC Finito') +INSERT INTO dbo.AnagTipoEvento + VALUES (N'UDC_WIP', N'Richiesta UDC WIP') +go + +commit transaction +go + + +exec sp_updateextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[41] 4[20] 2[11] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "Celle" + Begin Extent = + Top = 149 + Left = 629 + Bottom = 313 + Right = 799 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "AnagMag" + Begin Extent = + Top = 6 + Left = 662 + Bottom = 118 + Right = 832 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "Blocchi" + Begin Extent = + Top = 36 + Left = 974 + Bottom = 257 + Right = 1144 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "PosizioneUdcCorrente" + Begin Extent = + Top = 159 + Left = 201 + Bottom = 288 + Right = 371 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "TipoCella" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 135 + Right = 224 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 12 + Width = 284 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1665 + Width = 1665 + Width = 1500 + End + End + Begin CriteriaPane = + ', 'SCHEMA', 'dbo', 'VIEW', 'V_MagazziniOverview' +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +alter VIEW V_statoCelleCapienzaAssegnati +AS +SELECT dbo.Celle.IdxCella, dbo.Celle.CodCella, dbo.TipoCella.Capienza, COUNT(dbo.PosizioneUdcCorrente.UDC) AS UdcAssegnati, dbo.Celle.Piena +FROM dbo.TipoCella INNER JOIN + dbo.Celle ON dbo.TipoCella.IdxTipoCella = dbo.Celle.IdxTipoCella INNER JOIN + dbo.PosizioneUdcCorrente ON dbo.Celle.IdxCella = dbo.PosizioneUdcCorrente.IdxCella +GROUP BY dbo.TipoCella.Capienza, dbo.Celle.IdxCella, dbo.Celle.Piena, dbo.Celle.CodCella +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_anagOperatoriGetByCodSogg +* +* ottiene l'elenco degli operatori da CodSoggetto +* +* Steamware, S.E.L. +* mod: 2010.06.12 +* +****************************************/ +create PROCEDURE stp_anagOperatoriGetByCodSogg +( + @CodSoggetto VARCHAR(17) +) +AS + + SELECT * + FROM RilPro.AnagOperatori + WHERE (CodSoggetto = @CodSoggetto) + + +RETURN +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_elencoListePrelievoUpdateStato +* +* aggiorna la lista di prelievo indicando lo stato richiesto +* +* Steamware, S.E.L. +* mod: 2010.07.06 +* +************************************/ +alter PROCEDURE stp_elencoListePrelievoUpdateStato +( + @NewCodSoggetto NCHAR(17), + @CodListaAttuale AS varchar(12), + @CodStatoLista INT +) +AS + +UPDATE ElencoListePrelievo +SET CodSoggetto = @NewCodSoggetto, CodStatoLista = @CodStatoLista +WHERE (CodLista = @CodListaAttuale) + +SELECT * FROM V_elencoListePrelievo WHERE (CodLista = @CodListaAttuale) +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_elencoListePrelievoUpdateStato +* +* aggiorna la lista di prelievo indicando lo stato richiesto +* +* Steamware, S.E.L. +* mod: 2010.07.06 +* +************************************/ +alter PROCEDURE stp_elencoListePrelievoUpdateStato +( + @NewCodSoggetto NCHAR(17), + @CodListaAttuale AS varchar(12), + @CodStatoLista INT +) +AS + +UPDATE ElencoListePrelievo +SET CodSoggetto = @NewCodSoggetto, CodStatoLista = @CodStatoLista +WHERE (CodLista = @CodListaAttuale) + +SELECT * FROM V_elencoListePrelievo WHERE (CodLista = @CodListaAttuale) +go + +commit +go + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_elencoListePrelievoUpdateStato +* +* aggiorna la lista di prelievo indicando lo stato richiesto +* +* Steamware, S.E.L. +* mod: 2010.07.06 +* +************************************/ +alter PROCEDURE stp_elencoListePrelievoUpdateStato +( + @NewCodSoggetto NCHAR(17), + @CodListaAttuale AS varchar(12), + @CodStatoLista INT +) +AS + +UPDATE ElencoListePrelievo +SET CodSoggetto = @NewCodSoggetto, CodStatoLista = @CodStatoLista +WHERE (CodLista = @CodListaAttuale) + +SELECT * FROM V_elencoListePrelievo WHERE (CodLista = @CodListaAttuale) +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_elencoListePrelievoByCodLista +* +* elenco liste di prelievo ATTIVE da codice soggetto +* +* Steamware, S.E.L +* mod: 2010.08.25 +* +************************************/ +create PROCEDURE stp_elencoLP_attiveByCodSoggetto +( + @CodSoggetto NVARCHAR(17) +) +AS + +SELECT * +FROM V_elencoListePrelievo +WHERE CodStatoLista = 2 AND (CodSoggetto = @CodSoggetto) +go + +commit +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), + --@IdxCellaFrom INT, + @IdxCellaTo INT +) +AS + +BEGIN TRAN + -- inizio mettendo in storico la posizione attuale dell'UDC (SE esiste) + INSERT INTO PosizioneUdcStorico(UDC, IdxCella, CodCS, DataInizio, DataFine) + ( + SELECT UDC, IdxCella, CodCS, DataRif as DataInizio, GETDATE() as DataFine + FROM PosizioneUdcCorrente + WHERE UDC = @UDC-- AND IdxCella = @IdxCellaFrom + ) + + -- libero la posizione attuale dell'UDC (se c'è...) + DELETE + FROM PosizioneUdcCorrente + WHERE UDC = @UDC-- AND IdxCella = @IdxCellaFrom + + -- creo una nuova posizione per l'UDC + INSERT INTO PosizioneUdcCorrente(UDC, IdxCella, CodCS, DataRif) + VALUES(@UDC, @IdxCellaTo, @CodCS, GETDATE()) + +COMMIT TRAN + +RETURN +go + +/*************************************** +* STORED stp_StatoCelleByCodCella +* +* stato cella filtrato x CodCella +* +* Steamware, S.E.L. +* mod: 2010.08.03 +* +****************************************/ +create PROCEDURE stp_StatoCelleByCodCella +( + @CodCella VARCHAR(50) +) +AS + +SELECT * +FROM V_statoCelleCapienzaAssegnati +WHERE (CodCella= @CodCella) + +RETURN +go + +/*************************************** +* STORED stp_StatoCelleByIdxCella +* +* stato cella filtrato x idxCella +* +* Steamware, S.E.L. +* mod: 2010.08.03 +* +****************************************/ +create PROCEDURE stp_StatoCelleByIdxCella +( + @IdxCella INT +) +AS + +SELECT * +FROM V_statoCelleCapienzaAssegnati +WHERE (IdxCella= @IdxCella) + +RETURN +go + +/*************************************** +* STORED stp_StatoCelleOverbooked +* +* elenco delle celle con overbookinbg (UDC assegnati >= capienza) +* +* Steamware, S.E.L. +* mod: 2010.08.03 +* +****************************************/ +create PROCEDURE stp_StatoCelleOverbooked +AS + +SELECT * +FROM V_statoCelleCapienzaAssegnati +WHERE (UdcAssegnati >= Capienza) + +RETURN +go + +commit +go + + + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(200, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.1/GMW_00215.sql b/GMW_data/SqlScripts/V1.1/GMW_00215.sql new file mode 100644 index 00000000..2b28b8c9 --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00215.sql @@ -0,0 +1,152 @@ +/* Sistemo unique x cod blocco */ +set xact_abort on +go + +begin transaction +go + +update Blocchi set CodBlocco = N'' where CodBlocco is null +go + +alter table Blocchi alter column + CodBlocco nvarchar(3) not null +go + +alter table Blocchi add + constraint i_CodBlocco unique(CodBlocco) +go + +commit +go + + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_LP_exportToAs400 +* +* esporta la lista di prelievo (e le relative righe) verso AS400 andando a copaire nelle relative tabelle _AS +* +* Steamware, S.E.L. +* mod: 2010.07.19 +* +****************************************/ +alter PROCEDURE stp_LP_exportToAs400 +( + @CodLista NVARCHAR(12) +) +AS + +-- copio la lista (intestazione) +INSERT INTO ElencoListePrelievo_AS +SELECT * +FROM ElencoListePrelievo +WHERE (CodLista = @CodLista) + +-- copio le righe lista di dettaglio +INSERT INTO RigheListePrelievo_AS +SELECT * +FROM RigheListePrelievo +WHERE (CodLista = @CodLista) AND Prelevato = 1 + +-- aggiorno le quantità passate ad AS... +UPDATE ElencoListePrelievo_AS +SET QtaTot = ( SELECT SUM(Qta) AS QtaTot FROM RigheListePrelievo WHERE (CodLista = @CodLista) AND Prelevato = 1 ) +WHERE (CodLista = @CodLista) + +-- IMPORTANTE: in caso siano rimasti riferimenti ad un UDC scaricato in AS in altre liste di prelievo li tolgo in modo da "ripulirle" ed evitare che lo stesso UDC venga prelevato 2 volte... +DELETE RLP +FROM RigheListePrelievo RLP +INNER JOIN ElencoListePrelievo ELP + ON RLP.CodLista = ELP.CodLista +WHERE ELP.CodStatoLista < 4 AND RLP.CodLista <> @CodLista AND RLP.UDC IN ( + SELECT UDC + FROM RigheListePrelievo + WHERE (CodLista = @CodLista) AND Prelevato = 1 + ) + +RETURN +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_RLP_sbloccaNonPrelevate +* +* sblocca righe liste di prelievo ATTIVE x UDC non prelevati +* +* Steamware, S.E.L. +* mod: 2010.08.31 +* +****************************************/ +create PROCEDURE stp_RLP_sbloccaNonPrelevate +( + @UDC NVARCHAR(50) +) +AS + +-- creo una CTE x le righe liste prelievo ATTIVE (escludo bozze e liste scaricate) - candidate per sblocco +WITH cteUdcRigheAttive AS ( + SELECT RLP.CodLista, RLP.UDC, RLP.Prelevato + FROM RigheListePrelievo AS RLP INNER JOIN ElencoListePrelievo AS ELP + ON RLP.CodLista = ELP.CodLista + WHERE (ELP.CodStatoLista BETWEEN 1 AND 3) AND RLP.Prelevato = 1 + ) + /* + , + +-- creo una CTE x gli UDC che sono attualmente nella posizione virtuale di VLP (Virtual Lista Prelievo) e quindi VANNO ESCLUSE dallo sblocco + cteUdcInPrelievo AS ( + SELECT UDC + FROM PosizioneUdcCorrente + WHERE (IdxCella IN ( + SELECT c.IdxCella + FROM Celle AS c INNER JOIN TipoCella AS tc ON c.IdxTipoCella = tc.IdxTipoCella + WHERE (tc.CodMag = 'VMLP'))) + ) + +-- effettua "sblocco" delle righe liste prelievo che danno UDC prelevati ma che NON risultano +UPDATE cteUdcRigheAttive + SET Prelevato = 0 +WHERE (Prelevato = 1) + AND (UDC NOT IN (select * from cteUdcInPrelievo)) +*/ + +-- effettua "sblocco" delle righe liste prelievo che danno UDC prelevati ma che NON risultano +UPDATE cteUdcRigheAttive + SET Prelevato = 0 + WHERE UDC = @UDC + +RETURN +go + +commit +go + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(215, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.1/GMW_00220.sql b/GMW_data/SqlScripts/V1.1/GMW_00220.sql new file mode 100644 index 00000000..573ed815 --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00220.sql @@ -0,0 +1,209 @@ +/* Sistemo stored x bugs risolti */ + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_creaListaPrelievo +* +* crea un nuovo record nella ElencoListePrelievo e restituisce il codice ID appena creato +* +* Steamware, S.E.L. 8 (FROM Stintino) +* mod: 2010.07.30 +* +************************************/ +alter PROCEDURE stp_creaListaPrelievo +( + @Anno NVARCHAR(2), + @Mese NVARCHAR(2), + @CodTipoLista NVARCHAR(10), + @CodCS NCHAR(2), + @CodCliente NVARCHAR(6), + @RagSociale NVARCHAR(35), + @CodSoggetto NCHAR(17), + @Particolare NVARCHAR(15), + @DescParticolare NVARCHAR(30), + @DisegnoGrezzo NVARCHAR(30), + @Esponente NVARCHAR(6), + @Figura NVARCHAR(4), + @CodImballo NVARCHAR(15), + @QtaTot DECIMAL(10,2), + @Destinatario NVARCHAR(50) +) +AS + +-- Dichiarazioni iniziali +DECLARE @CodLista AS NVARCHAR(12) +DECLARE @numLista AS INT +DECLARE @temp AS INT +DECLARE @ora AS DATETIME + +------------------------------------------------------------------------------------------------------ +-- codice lista di prelievo KAAMM00000 - K = start char, AA = anno, MM = mese, 00000 = progressivo +------------------------------------------------------------------------------------------------------ +-- controllo se ci sia già una lista di prelievo per company / flusso anno +BEGIN TRAN + -- cerco nella tab contatori liste prelievo l'ultimo valido + SET @numLista = ( + SELECT COUNT(*) + FROM ContatoriListePrelievo + WHERE CodCS = @CodCS + AND Anno = @Anno + AND Mese = @Mese + ) + -- controllo se record c'è... + IF(@numLista > 0) + BEGIN + -- se c'è incremento di 1 in tab + UPDATE ContatoriListePrelievo + SET LastIdx = LastIdx + 1 + WHERE CodCS = @CodCS + AND Anno = @Anno + AND Mese = @Mese + + END + ELSE + BEGIN + -- lo creo! + INSERT INTO ContatoriListePrelievo(CodCS, Anno, Mese, LastIdx) + VALUES (@CodCS, @Anno, @Mese, 1) + END + -- aggiorno numero lista prelievo + SET @numLista = ( + SELECT LastIdx + FROM ContatoriListePrelievo + WHERE CodCS = @CodCS + AND Anno = @Anno + AND Mese = @Mese + + ) +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + +BEGIN TRAN + + ------------------------------------------------------------------------------------------------------ + -- Ciclo principale x inserimento nuovo record + ------------------------------------------------------------------------------------------------------ + -- ottengo il nuovo codice lista di prelievo completo + SET @CodLista = 'K' + @CodCS + @Anno + dbo.f_padLeft(CAST(@Mese AS NVARCHAR(2)), 2, '0') + + dbo.f_padLeft(CAST(@numLista AS NVARCHAR(5)), 5, '0') + + INSERT INTO ElencoListePrelievo + (CodLista, CodTipoLista, CodCS, DataCreaz, CodCliente, RagSociale, CodSoggetto, Particolare, DescParticolare, DisegnoGrezzo, Esponente, Figura, CodImballo, QtaTot, CodStatoLista, Destinatario) + VALUES (@CodLista, @CodTipoLista, @CodCS, GETDATE(), @CodCliente, @RagSociale, @CodSoggetto, @Particolare, @DescParticolare, @DisegnoGrezzo, @Esponente,@Figura, @CodImballo, @QtaTot, 0, @Destinatario) + +COMMIT TRAN + +SELECT * FROM V_elencoListePrelievo WHERE CodLista = @CodLista; + +RETURN +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_RLP_delete +* +* cancella riga x un UDC non prelevato +* +* Steamware, S.E.L. +* mod: 2010.09.03 +* +****************************************/ +create PROCEDURE stp_RLP_delete +( + @Original_CodLista AS varchar(12), + @Original_UDC NVARCHAR(50) +) +AS + +-- cancello + DELETE FROM RigheListePrelievo + WHERE CodLista = @Original_CodLista + AND UDC = @Original_UDC + +RETURN +go + +/*************************************** +* STORED stp_RLP_sbloccaNonPrelevate +* +* sblocca righe liste di prelievo ATTIVE x UDC non prelevati +* +* Steamware, S.E.L. +* mod: 2010.08.31 +* +****************************************/ +alter PROCEDURE stp_RLP_sbloccaNonPrelevate +( + @CodLista NVARCHAR(12), + @UDC NVARCHAR(50) +) +AS + +-- creo una CTE x le righe liste prelievo ATTIVE (escludo bozze e liste scaricate) - candidate per sblocco che NON fanno aprte della lista di prelievo attuale +WITH cteUdcRigheAttive AS ( + SELECT RLP.CodLista, RLP.UDC, RLP.Prelevato + FROM RigheListePrelievo AS RLP INNER JOIN ElencoListePrelievo AS ELP + ON RLP.CodLista = ELP.CodLista + WHERE (ELP.CodStatoLista BETWEEN 1 AND 3) AND RLP.Prelevato = 1 AND ELP.CodLista <> @CodLista + ) + +-- effettua "sblocco" delle righe liste prelievo che danno UDC prelevati ma che NON risultano +UPDATE cteUdcRigheAttive + SET Prelevato = 0 + WHERE UDC = @UDC + +RETURN +go + +/*************************************** +* STORED stp_RLP_updateQty +* +* aggiorna qta dato un UDC +* +* Steamware, S.E.L. +* mod: 2010.07.06 +* +****************************************/ +create PROCEDURE stp_RLP_updateQty +( + @UDC VARCHAR(50), + @Qta DECIMAL +) +AS + + update RigheListePrelievo + SET Qta = @Qta + WHERE (UDC = @UDC) + +RETURN +go + +commit +go + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(220, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.1/GMW_00225.sql b/GMW_data/SqlScripts/V1.1/GMW_00225.sql new file mode 100644 index 00000000..ebfce33f --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00225.sql @@ -0,0 +1,207 @@ +-- struttura + +alter table Celle add + constraint FK_Celle_TipoCella foreign key(IdxTipoCella) references TipoCella(IdxTipoCella) on update cascade +go + + +-- + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +alter VIEW V_statoCelleCapienzaAssegnati +AS +SELECT dbo.Celle.IdxCella, dbo.Celle.CodCella, dbo.TipoCella.Capienza, ISNULL(COUNT(dbo.PosizioneUdcCorrente.UDC), 0) AS UdcAssegnati, dbo.Celle.Piena +FROM dbo.TipoCella INNER JOIN + dbo.Celle ON dbo.TipoCella.IdxTipoCella = dbo.Celle.IdxTipoCella LEFT OUTER JOIN + dbo.PosizioneUdcCorrente ON dbo.Celle.IdxCella = dbo.PosizioneUdcCorrente.IdxCella +GROUP BY dbo.TipoCella.Capienza, dbo.Celle.IdxCella, dbo.Celle.Piena, dbo.Celle.CodCella +go + +commit +go + +-- + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_celleCreaMancantiBlocco +* +* crea il numero di celle richeiste e le assegna al blocco con valori default +* +* Steamware, S.E.L. +* mod: 2010.05.18 +* +****************************************/ +alter PROCEDURE stp_celleCreaMancantiBlocco +( + @CodCS VARCHAR(2), + @CodMag VARCHAR(50), + @IdxBlocco INT, + @IdxTipoCellaNew INT +) +AS + +--------------------------------------------------------------------- +-- setup iniziale valori XYZ del blocco +--------------------------------------------------------------------- +DECLARE @CodBlocco VARCHAR(3); +SET @CodBlocco = (SELECT CodBlocco FROM Blocchi WHERE IdxBlocco = @IdxBlocco) +DECLARE @NumX INT; +DECLARE @NumY INT; +DECLARE @NumZ INT; +SET @NumX = (SELECT NumX FROM Blocchi WHERE IdxBlocco = @IdxBlocco) ; +SET @NumY = (SELECT NumY FROM Blocchi WHERE IdxBlocco = @IdxBlocco) ; +SET @NumZ = (SELECT NumZ FROM Blocchi WHERE IdxBlocco = @IdxBlocco) ; + +DECLARE @Index INT ; +DECLARE @IdxTipoCella INT; + + +--------------------------------------------------------------------- +-- creazione temp table x numeri delle dimensioni XYZ del blocco +--------------------------------------------------------------------- +DECLARE @DimTable TABLE +( + dimensione VARCHAR(1), + valore INT +) + +-- inserisco X +SET @Index = 1 ; +WHILE @Index <= @NumX + BEGIN + INSERT @DimTable(dimensione, valore) + VALUES ('X', @Index) + SET @Index = @Index + 1 ; + END +-- inserisco Y +SET @Index = 1 ; +WHILE @Index <= @NumY + BEGIN + INSERT @DimTable(dimensione, valore) + VALUES ('Y', @Index) + SET @Index = @Index + 1 ; + END +-- inserisco Z +SET @Index = 1 ; +WHILE @Index <= @NumZ + BEGIN + INSERT @DimTable(dimensione, valore) + VALUES ('Z', @Index) + SET @Index = @Index + 1 ; + END + + +--------------------------------------------------------------------- +-- creazione temp table x schema COMPLETO posizioni blocco +--------------------------------------------------------------------- +DECLARE @SchemaBlocco TABLE +( + X INT, + Y INT, + Z INT +) +INSERT INTO @SchemaBlocco +SELECT X_val.valore, Y_val.valore, Z_val.valore +FROM (SELECT * FROM @DimTable WHERE dimensione='X') AS X_val, + (SELECT * FROM @DimTable WHERE dimensione='Y') AS Y_val, + (SELECT * FROM @DimTable WHERE dimensione='Z') AS Z_val + +---------------------------------------------------------------------------------- +-- cerco primo tipo di celle per il mag indicato SE non ce ne è una specificata +---------------------------------------------------------------------------------- +IF @IdxTipoCellaNew > 0 + BEGIN + SET @IdxTipoCella = @IdxTipoCellaNew + END +ELSE + BEGIN + SET @IdxTipoCella = (SELECT TOP (1) ISNULL(IdxTipoCella, 0) AS IdxTipoCella + FROM TipoCella + WHERE (CodCS = @CodCS) AND (CodMag = @CodMag)) + END +--------------------------------------------------------------------- +-- inserisco le celle nelle posizioni LIBERE del blocco +--------------------------------------------------------------------- +INSERT INTO Celle(CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco,X,Y,Z) +SELECT @CodCS, @CodBlocco + dbo.f_padLeft(CAST(sb.X AS VARCHAR),2,'0') + dbo.f_padLeft(CAST(sb.Y AS VARCHAR),2,'0') + dbo.f_padLeft(CAST(sb.Z AS VARCHAR),2,'0'), @IdxTipoCella, '-', 1, 0, @IdxBlocco, sb.X, sb.Y, sb.Z +FROM @SchemaBlocco sb LEFT OUTER JOIN (SELECT * +FROM Celle +WHERE IdxBlocco = @IdxBlocco) c +ON sb.X = c.X AND sb.Y = c.Y AND sb.Z = c.Z +WHERE c.IdxCella IS NULL +ORDER BY sb.X,sb.Y,sb.Z ASC + + +RETURN +go + +commit +go + +-- + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_ricercaFullTerminalino +* +* effettua una ricerca full text da terminalino x codice UDC (su cartellini), x nome particolare (AnagParticolari) o posizione (Celle) +* +* Steamware, S.E.L. +* mod: 2010.09.10 +* +****************************************/ +create PROCEDURE stp_ricercaFullTerminalino +( + @txtSearch VARCHAR(50) +) +AS + +SELECT 'UDC' AS Tipo, UDC AS label, UDC AS valore +FROM dbo.ElencoCartellini +WHERE UDC LIKE '%'+@txtSearch+'%' + +UNION + +SELECT 'Particolare' AS Tipo, Particolare AS label, Particolare AS valore +FROM RilPro.AnagParticolari +WHERE Particolare LIKE '%'+@txtSearch+'%' + +UNION + +SELECT 'Cella' AS Tipo, CodCella AS label, CAST(IdxCella AS NVARCHAR)AS valore +FROM dbo.Celle +WHERE CodCella LIKE '%'+@txtSearch+'%' + +RETURN +go + +commit +go + +-- DATI + diff --git a/GMW_data/SqlScripts/V1.1/GMW_00230.sql b/GMW_data/SqlScripts/V1.1/GMW_00230.sql new file mode 100644 index 00000000..98374fa8 --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00230.sql @@ -0,0 +1,163 @@ +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +-- ============================================= +-- Author: Samuele E. Locatelli +-- Create date: 2009-09-13 +-- Description: trigger x inserimento valori in archivio storico alla cancellazione/modifica del dato +-- ============================================= +create TRIGGER trg_storico + ON PosizioneUdcCorrente + AFTER DELETE,UPDATE +AS +BEGIN + -- SET NOCOUNT ON added to prevent extra result sets from + -- interfering with SELECT statements. + SET NOCOUNT ON; + + -- metto in storico la posizione attuale dell'UDC (SE esiste) CANCELLATO + INSERT INTO PosizioneUdcStorico(UDC, IdxCella, CodCS, DataInizio, DataFine) + ( + SELECT UDC, IdxCella, CodCS, DataRif as DataInizio, GETDATE() as DataFine + FROM deleted + ) + +END +go + +commit +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 +) +AS + +BEGIN TRAN + /* + -- inizio mettendo in storico la posizione attuale dell'UDC (SE esiste) + INSERT INTO PosizioneUdcStorico(UDC, IdxCella, CodCS, DataInizio, DataFine) + ( + SELECT UDC, IdxCella, CodCS, DataRif as DataInizio, GETDATE() as DataFine + FROM PosizioneUdcCorrente + WHERE UDC = @UDC + ) + */ + + -- libero la posizione attuale dell'UDC (se c'è...) + DELETE + FROM PosizioneUdcCorrente + WHERE UDC = @UDC-- AND IdxCella = @IdxCellaFrom + + -- creo una nuova posizione per l'UDC + INSERT INTO PosizioneUdcCorrente(UDC, IdxCella, CodCS, DataRif) + VALUES(@UDC, @IdxCellaTo, @CodCS, GETDATE()) + +COMMIT TRAN + +RETURN +go + +commit +go + + +-- + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_UDC_delibera +* +* fa la delibera dell'UDC andando a processare la state machien e quindi eventualmente cambiando la sua posizione +* +* Steamware, S.E.L. +* mod: 2010.09.13 +* +************************************/ +alter PROCEDURE stp_UDC_delibera +( + @CodTipoDelibera NVARCHAR(50), + @UDC NVARCHAR(50), + @CodSoggetto NVARCHAR(17), + @CodCS VARCHAR(2) +) + +AS + +BEGIN TRAN + DECLARE @IdxPosizioneTo AS INT + DECLARE @IdxCellaTo AS INT + + -- registro delibera + INSERT INTO DELIBERE + VALUES (@CodTipoDelibera, @UDC, GETDATE(), @CodSoggetto) + + -- ricavo nuova posizione + SET @IdxPosizioneTo = (SELECT tt.IdxPosizioneTo + FROM TabTranPosizEventi tt INNER JOIN AnagTipoDelibere atd ON tt.CodEvento = atd.CodEvento + WHERE (atd.CodTipoDelibera = @CodTipoDelibera)) + + -- calcolo la prima cella della nuova posizione... + SET @IdxCellaTo = ( + SELECT TOP 1 IdxCella FROM Celle + WHERE IdxBlocco = ( + SELECT IdxBlocco FROM Blocchi + WHERE CodMag=CAST(@IdxPosizioneTo AS VARCHAR(50))) + ) + + -- faccio update posizione + UPDATE ElencoCartellini + SET IdxPosizione = @IdxPosizioneTo + WHERE UDC = @UDC + + -- ora cambio anche la posizione corrente dell'UDC (e tramite trigger storicizza...) + EXEC stp_spostaUdc @CodCS, @UDC, @IdxCellaTo + +COMMIT TRAN + + +RETURN +go + +commit +go + + diff --git a/GMW_data/SqlScripts/V1.1/GMW_00235.sql b/GMW_data/SqlScripts/V1.1/GMW_00235.sql new file mode 100644 index 00000000..b0a6c49b --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00235.sql @@ -0,0 +1,143 @@ +-- update verisoni non inserito +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(225, GETDATE()) +GO + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(230, GETDATE()) +GO + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_ParticolariOverviewPerListaPrelievo +* +* elenco di overview sull'impiego dei particolari (dettaglio a "maglie larghe") x una possibile lista di prelievo +* +* Steamware, S.E.L. +* mod: 2010.05.31 +* +****************************************/ +create PROCEDURE stp_ParticolariOverviewPerListaPrelievo +( + @Particolare VARCHAR(50), + @CodCS VARCHAR(2), + @Esponente NVARCHAR(6), + @Figura NVARCHAR(4), + @CodImballo NVARCHAR(15), + @CodTipoLista NVARCHAR (10) +) +AS + DECLARE @IdxPosizione AS INT + SET @IdxPosizione = (SELECT tt.IdxPosizione + FROM TipoListaPrelievo tlp INNER JOIN TabTranPosizEventi tt ON tlp.CodEvento = tt.CodEvento + WHERE (tlp.CodTipoLista = @CodTipoLista)) + + SELECT RilPro.AnagParticolari.Particolare, RilPro.AnagParticolari.DescParticolare, ISNULL(COUNT(dbo.ElencoCartellini.UDC), 0) AS NumUDC, + ISNULL(SUM(dbo.ElencoCartellini.Qta), 0) AS TotQta, ISNULL(COUNT(dbo.PosizioneUdcCorrente.IdxCella), 0) AS NumInMag + FROM RilPro.AnagParticolari LEFT OUTER JOIN + dbo.ElencoCartellini ON RilPro.AnagParticolari.Particolare = dbo.ElencoCartellini.Particolare LEFT OUTER JOIN + dbo.PosizioneUdcCorrente ON dbo.ElencoCartellini.UDC = dbo.PosizioneUdcCorrente.UDC + WHERE RilPro.AnagParticolari.CodCS = @CodCS AND + RilPro.AnagParticolari.Particolare = @Particolare AND + (IdxPosizione = @IdxPosizione) AND + (dbo.ElencoCartellini.Figura = CASE WHEN @Figura = '*' THEN dbo.ElencoCartellini.Figura ELSE @Figura END) AND + (dbo.ElencoCartellini.Esponente = CASE WHEN @Esponente = '*' THEN dbo.ElencoCartellini.Esponente ELSE @Esponente END) AND + (dbo.ElencoCartellini.CodImballo = CASE WHEN @CodImballo = '*' THEN dbo.ElencoCartellini.CodImballo ELSE @CodImballo END) + GROUP BY RilPro.AnagParticolari.Particolare, RilPro.AnagParticolari.DescParticolare + +RETURN +go + +commit +go + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_UDC_updateIdxPosizione +* +* aggiorna un cartellino x la sua posizione logica +* +* Steamware, S.E.L. +* mod: 2010.06.12 +* +****************************************/ +create PROCEDURE stp_UDC_updateIdxPosizione +( + @UDC VARCHAR(20), + @CodSoggetto VARCHAR(16), + @CodTipoDichiaraz CHAR(1), + @CodEvento VARCHAR(10), + @IdxPosizione INT +) +AS + + +------------------------------------------------------------------------------------------------------ +-- Ciclo principale x edit record +------------------------------------------------------------------------------------------------------ +BEGIN TRAN + + -- registro in StoricoCartellini + INSERT INTO StoricoCartellini(DataEv, CodEvento, CodTipoDichiaraz, UDC, CodCS,CodCliente, RagSociale, Particolare, DescParticolare, + DisegnoGrezzo, Esponente, CodImpianto, DescImpianto, CodStampo, Figura, DataFus, TurnoFus, CodImballo, CodSoggetto, + NumCont, Tara, Qta, CodStato, IdxPosizione, PesoTot, PesoCad) + SELECT GETDATE() AS DataEv, @CodEvento AS CodEvento, @CodTipoDichiaraz AS CodTipoDichiaraz, UDC, CodCS, + CodCliente, RagSociale, Particolare, DescParticolare, DisegnoGrezzo, Esponente, CodImpianto, DescImpianto, CodStampo, Figura, + DataFus, TurnoFus, CodImballo, @CodSoggetto AS CodSoggetto, NumCont, Tara, Qta, CodStato, IdxPosizione, PesoTot, PesoCad + FROM ElencoCartellini + WHERE (UDC = @UDC) + + -- modifico il record + UPDATE ElencoCartellini + SET IdxPosizione = @IdxPosizione, ModDate = GETDATE() + WHERE UDC = @UDC + +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- restituisco la tab dati con l'udc appena inserito +------------------------------------------------------------------------------------------------------ +SELECT * +FROM ElencoCartellini +WHERE UDC = @UDC +------------------------------------------------------------------------------------------------------ + +RETURN +go + +commit +go + + +drop procedure stp_celleOverbooked +go + + + + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(235, GETDATE()) +GO \ No newline at end of file diff --git a/GMW_data/SqlScripts/V1.1/GMW_00240.sql b/GMW_data/SqlScripts/V1.1/GMW_00240.sql new file mode 100644 index 00000000..b5cae0cf --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00240.sql @@ -0,0 +1,118 @@ +--- gestioen della proprietà di setting magazzino logico x tipo cella +set xact_abort on +go + +begin transaction +go + +alter table TipoCella add + SetMag bit constraint DF_TipoCella_SetMag default (1) +go + +exec sp_addextendedproperty 'MS_Description', 'determina se deve o meno impostare il magazzino logico (contabile)', 'SCHEMA', 'dbo', 'TABLE', 'TipoCella', 'COLUMN', 'SetMag' +go + +update TipoCella set SetMag=1 +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_TipoCella_deleteQuery +* +* elimina tipo cella +* +* Steamware, S.E.L. +* mod: 2010.07.16 +* +****************************************/ +alter PROCEDURE stp_TipoCella_deleteQuery +( + @Original_IdxTipoCella INT +) + +AS + +DELETE FROM TipoCella +WHERE (IdxTipoCella = @Original_IdxTipoCella) + +RETURN +go + +commit +go + + +---setto di default a true il cambio mag logico +update TipoCella +set SetMag = 1 +go + +-- imposto a false x i magazzini "ovas" +update TipoCella +set SetMag = 0 +where CodMag ='OVAS' +go + +-- imposto a false x i magazzini "ovas" +update TipoCella +set SetMag = 0 +where CodMag ='VMLP' +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_TipoCella_updateQuery +* +* aggiorna tipo cella +* +* Steamware, S.E.L. +* mod: 2010.07.16 +* +****************************************/ +alter PROCEDURE stp_TipoCella_updateQuery +( + @Original_IdxTipoCella INT, + @CodMag VARCHAR(50), + @CodCS VARCHAR(2), + @Quantita INT, + @Capienza INT, + @Max_X FLOAT, + @Max_Y FLOAT, + @Max_Z FLOAT, + @Max_Kg FLOAT, + @CheckPiena BIT, + @SetMag BIT +) + +AS + +UPDATE TipoCella +SET CodMag = @CodMag, CodCS = @CodCS, Quantita = @Quantita, Capienza = @Capienza, Max_X = @Max_X, Max_Y = @Max_Y, Max_Z = @Max_Z, + Max_Kg = @Max_Kg, CheckPiena = @CheckPiena, SetMag = @SetMag +WHERE (IdxTipoCella = @Original_IdxTipoCella) + +RETURN +go + +commit +go + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(240, GETDATE()) +GO \ No newline at end of file diff --git a/GMW_data/SqlScripts/V1.1/GMW_00245.sql b/GMW_data/SqlScripts/V1.1/GMW_00245.sql new file mode 100644 index 00000000..29e35e90 --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00245.sql @@ -0,0 +1,605 @@ +-- update permessi x magazzino logico + +set xact_abort on +go + +begin transaction +go + +UPDATE dbo.Permessi SET + NUMERO=5 + WHERE COD_PERMESSO='MAG_delibere' +UPDATE dbo.Permessi SET + NUMERO=4 + WHERE COD_PERMESSO='MAG_elListe' +INSERT INTO dbo.Permessi + VALUES ('MAG_logico', 'MagLogico.aspx', 2, 3, 'StatoMagLogico', 'StatoMagLogicoExpl') +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.Permessi2Funzione + VALUES ('MAG_logico', N'GMW_user', 'S') +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +create VIEW V_MagazziniLogiciOverview +AS +SELECT TOP (100) PERCENT dbo.ElencoCartellini.CodCS, dbo.AnagPosizioni.IdxPosizione AS CodMagLogico, dbo.AnagPosizioni.DescPosizione AS DescMagLogico, + dbo.Blocchi.IdxBlocco, dbo.AnagMag.CodMag, dbo.Blocchi.CodBlocco, COUNT(dbo.ElencoCartellini.UDC) AS CelleOccupate, + ISNULL(MIN(dbo.PosizioneUdcCorrente.DataRif), GETDATE()) AS Oldest, ISNULL(MAX(dbo.PosizioneUdcCorrente.DataRif), GETDATE()) AS Newest +FROM dbo.Celle INNER JOIN + dbo.Blocchi INNER JOIN + dbo.AnagMag ON dbo.Blocchi.CodMag = dbo.AnagMag.CodMag AND dbo.Blocchi.CodCS = dbo.AnagMag.CodCS ON + dbo.Celle.IdxBlocco = dbo.Blocchi.IdxBlocco INNER JOIN + dbo.ElencoCartellini INNER JOIN + dbo.PosizioneUdcCorrente ON dbo.ElencoCartellini.UDC = dbo.PosizioneUdcCorrente.UDC INNER JOIN + dbo.AnagPosizioni ON dbo.ElencoCartellini.IdxPosizione = dbo.AnagPosizioni.IdxPosizione ON dbo.Celle.IdxCella = dbo.PosizioneUdcCorrente.IdxCella +GROUP BY dbo.ElencoCartellini.CodCS, dbo.AnagPosizioni.IdxPosizione, dbo.AnagPosizioni.DescPosizione, dbo.Blocchi.IdxBlocco, dbo.Blocchi.CodBlocco, + dbo.AnagMag.CodMag +ORDER BY CodMagLogico, dbo.Blocchi.CodBlocco +go + +exec sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "Blocchi" + Begin Extent = + Top = 6 + Left = 486 + Bottom = 135 + Right = 672 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "ElencoCartellini" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 135 + Right = 224 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "PosizioneUdcCorrente" + Begin Extent = + Top = 6 + Left = 934 + Bottom = 135 + Right = 1120 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "AnagPosizioni" + Begin Extent = + Top = 6 + Left = 262 + Bottom = 101 + Right = 448 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "Celle" + Begin Extent = + Top = 6 + Left = 710 + Bottom = 135 + Right = 896 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "AnagMag" + Begin Extent = + Top = 6 + Left = 1158 + Bottom = 118 + Right = 1344 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 12 + Width = 284 + Width = 1500 + ', 'SCHEMA', 'dbo', 'VIEW', 'V_MagazziniLogiciOverview' +go + +exec sp_addextendedproperty 'MS_DiagramPane2', ' Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 12 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'V_MagazziniLogiciOverview' +go + +exec sp_addextendedproperty 'MS_DiagramPaneCount', 2, 'SCHEMA', 'dbo', 'VIEW', 'V_MagazziniLogiciOverview' +go + +create VIEW v_selMagLogico +AS +SELECT DISTINCT TOP (100) PERCENT CAST(IdxPosizione AS NVARCHAR(20)) AS value, 'Mag. ' + CAST(IdxPosizione AS NVARCHAR(20)) AS label, CodCS AS conditio +FROM dbo.ElencoCartellini +ORDER BY label +go + +exec sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "ElencoCartellini" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 343 + Right = 208 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 9 + Width = 284 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_selMagLogico' +go + +exec sp_addextendedproperty 'MS_DiagramPaneCount', 1, 'SCHEMA', 'dbo', 'VIEW', 'v_selMagLogico' +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_ParticolariOverview +* +* elenco di overview sullo stato dei magazzini LOGICI (dettaglio a "maglie larghe") +* +* Steamware, S.E.L. +* mod: 2010.09.15 +* +****************************************/ +create PROCEDURE stp_magazzinoLogicoOverview +( + @CodCS VARCHAR(2) +) +AS + +SELECT ElencoCartellini.CodCS, AnagPosizioni.IdxPosizione AS CodMagLogico, AnagPosizioni.DescPosizione AS DescMagLogico, Blocchi.IdxBlocco, AnagMag.CodMag, + Blocchi.CodBlocco, COUNT(ElencoCartellini.UDC) AS CelleOccupate, ISNULL(MIN(PosizioneUdcCorrente.DataRif), GETDATE()) AS Oldest, + ISNULL(MAX(PosizioneUdcCorrente.DataRif), GETDATE()) AS Newest +FROM Celle INNER JOIN + Blocchi INNER JOIN + AnagMag ON Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS ON Celle.IdxBlocco = Blocchi.IdxBlocco INNER JOIN + ElencoCartellini INNER JOIN + PosizioneUdcCorrente ON ElencoCartellini.UDC = PosizioneUdcCorrente.UDC INNER JOIN + AnagPosizioni ON ElencoCartellini.IdxPosizione = AnagPosizioni.IdxPosizione ON Celle.IdxCella = PosizioneUdcCorrente.IdxCella +WHERE (ElencoCartellini.CodCS = @CodCS) +GROUP BY ElencoCartellini.CodCS, AnagPosizioni.IdxPosizione, AnagPosizioni.DescPosizione, Blocchi.IdxBlocco, Blocchi.CodBlocco, AnagMag.CodMag +ORDER BY CodMagLogico, Blocchi.CodBlocco + +RETURN +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_paretoDettPartByFullSpecMagLog +* +* restituisce elenco particolari in logica pareto (quantità) per un dato blocco di magazzino e il particolare ed il magazzino logico!!! +* +* Steamware, S.E.L. +* mod: 2010.09.15 +* +****************************************/ +create PROCEDURE stp_paretoDettPartByFullSpecMagLog +( + @CodCS VARCHAR(2), + @CodMag VARCHAR(50), + @IdxBlocco INT, + @Particolare VARCHAR(20), + @CodMagLog INT +) +AS + + SELECT TOP (100) PERCENT AnagMag.CodCS, AnagMag.CodMag, AnagMag.DescMag, Blocchi.IdxBlocco, Blocchi.CodBlocco, ElencoCartellini.Particolare, + ElencoCartellini.Esponente, COUNT(PosizioneUdcCorrente.UDC) AS NumUDC, ISNULL(MIN(PosizioneUdcCorrente.DataRif), + GETDATE()) AS Oldest, ISNULL(MAX(PosizioneUdcCorrente.DataRif), GETDATE()) AS Newest, SUM(ElencoCartellini.Qta) AS QtaTotPz, + AnagStatiProdotto.DescStato + FROM AnagMag INNER JOIN + Blocchi ON AnagMag.CodMag = Blocchi.CodMag AND AnagMag.CodCS = Blocchi.CodCS INNER JOIN + Celle INNER JOIN + ElencoCartellini INNER JOIN + PosizioneUdcCorrente ON ElencoCartellini.UDC = PosizioneUdcCorrente.UDC ON Celle.IdxCella = PosizioneUdcCorrente.IdxCella ON + Blocchi.IdxBlocco = Celle.IdxBlocco INNER JOIN + AnagStatiProdotto ON ElencoCartellini.CodStato = AnagStatiProdotto.CodStato + WHERE (Celle.Attiva = 1) AND (AnagMag.CodCS = @CodCS) AND (AnagMag.CodMag = @CodMag) AND (Blocchi.IdxBlocco = @IdxBlocco) AND + (ElencoCartellini.Particolare = @Particolare) AND ElencoCartellini.IdxPosizione = @CodMagLog + GROUP BY AnagMag.CodCS, AnagMag.CodMag, AnagMag.DescMag, Blocchi.IdxBlocco, Blocchi.CodBlocco, Blocchi.NumX, Blocchi.NumY, Blocchi.NumZ, + ElencoCartellini.Particolare, ElencoCartellini.Esponente, AnagStatiProdotto.DescStato + ORDER BY QtaTotPz DESC + + +RETURN +go + +/*************************************** +* STORED stp_paretoPartByMagBloccoCodMagLog +* +* restituisce elenco particolari in logica pareto (quantità) per un dato blocco di magazzino ed un dato magazzino logico, aggregati (no stato) +* +* Steamware, S.E.L. +* mod: 2010.09.15 +* +****************************************/ +create PROCEDURE stp_paretoPartByMagBloccoCodMagLog +( + @CodCS VARCHAR(2), + @CodMag VARCHAR(50), + @IdxBlocco INT, + @CodMagLog INT +) +AS + + SELECT TOP (100) PERCENT + dbo.AnagMag.CodCS, dbo.AnagMag.CodMag, dbo.AnagMag.DescMag, dbo.Blocchi.IdxBlocco, dbo.Blocchi.CodBlocco, + dbo.ElencoCartellini.Particolare, '' as Esponente, COUNT(dbo.PosizioneUdcCorrente.UDC) AS NumUDC, ISNULL(MIN(dbo.PosizioneUdcCorrente.DataRif), + GETDATE()) AS Oldest, ISNULL(MAX(dbo.PosizioneUdcCorrente.DataRif), GETDATE()) AS Newest, SUM(dbo.ElencoCartellini.Qta) AS QtaTotPz, + '' AS DescStato + FROM dbo.AnagMag INNER JOIN + dbo.Blocchi ON dbo.AnagMag.CodMag = dbo.Blocchi.CodMag AND dbo.AnagMag.CodCS = dbo.Blocchi.CodCS INNER JOIN + dbo.Celle INNER JOIN + dbo.ElencoCartellini INNER JOIN + dbo.PosizioneUdcCorrente ON dbo.ElencoCartellini.UDC = dbo.PosizioneUdcCorrente.UDC + ON dbo.Celle.IdxCella = dbo.PosizioneUdcCorrente.IdxCella + ON dbo.Blocchi.IdxBlocco = dbo.Celle.IdxBlocco INNER JOIN + dbo.AnagStatiProdotto ON dbo.ElencoCartellini.CodStato = dbo.AnagStatiProdotto.CodStato +WHERE (dbo.Celle.Attiva = 1) AND (AnagMag.CodCS = @CodCS) AND AnagMag.CodMag = @CodMag AND Blocchi.IdxBlocco = @IdxBlocco + AND ElencoCartellini.IdxPosizione = @CodMagLog +GROUP BY dbo.AnagMag.CodCS, dbo.AnagMag.CodMag, dbo.AnagMag.DescMag, dbo.Blocchi.IdxBlocco, dbo.Blocchi.CodBlocco, + dbo.Blocchi.NumX, dbo.Blocchi.NumY, dbo.Blocchi.NumZ, dbo.ElencoCartellini.Particolare +ORDER BY QtaTotPz DESC + + +RETURN +go + +/*************************************** +* STORED stp_UdcDetailGetByIdxBloccoCodMagLog +* +* ottiene l'elenco degli UDC con dettaglio posizioni OCCUPATE associati ad un dato blocco di magazzino ed ad un dato STATO LOGICO +* +* Steamware, S.E.L. +* mod: 2010.09.15 +* +****************************************/ +create PROCEDURE stp_UdcDetailGetByIdxBloccoCodMagLog +( + @IdxBlocco INT, + @CodMagLog INT +) +AS + +SELECT ElencoCartellini.UDC, ElencoCartellini.RagSociale, ElencoCartellini.Particolare, ElencoCartellini.DescParticolare, + ElencoCartellini.DisegnoGrezzo, ElencoCartellini.Esponente, ElencoCartellini.DescImpianto, ElencoCartellini.DataFus, + ElencoCartellini.TurnoFus, ElencoCartellini.CodImballo, ElencoCartellini.Qta, AnagStatiProdotto.DescStato, + ElencoCartellini.ModDate, ISNULL(Blocchi.CodMag, N'') AS CodMag, ISNULL(Blocchi.CodBlocco, N'') AS CodBlocco, + ISNULL(Celle.CodCella, N'') AS CodCella, ISNULL(dbo.Celle.IdxCella, 0) AS IdxCella, + ISNULL(Celle.X, 0) AS X, ISNULL(Celle.Y, 0) AS Y, ISNULL(Celle.Z, 0) AS Z +FROM Celle INNER JOIN + PosizioneUdcCorrente ON Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND + Celle.IdxCella = PosizioneUdcCorrente.IdxCella INNER JOIN + Blocchi ON Celle.IdxBlocco = Blocchi.IdxBlocco INNER JOIN + AnagMag ON Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND + Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS INNER JOIN + ElencoCartellini ON PosizioneUdcCorrente.UDC = ElencoCartellini.UDC LEFT OUTER JOIN + AnagStatiProdotto ON ElencoCartellini.CodStato = AnagStatiProdotto.CodStato AND ElencoCartellini.CodStato = AnagStatiProdotto.CodStato +WHERE (Celle.IdxBlocco = @IdxBlocco) AND ElencoCartellini.IdxPosizione = @CodMagLog + +RETURN +go + +commit +go + + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_paretoDettMagByParticolare +* +* restituisce elenco giacenze a magazzino in logica pareto (quantità) per un dato particolare +* +* Steamware, S.E.L. +* mod: 2010.06.04 +* +****************************************/ +alter PROCEDURE stp_paretoDettMagByParticolare +( + @CodCS VARCHAR(2), + @Particolare VARCHAR(20) +) +AS + + SELECT TOP (100) PERCENT AnagMag.CodCS, AnagMag.CodMag, AnagMag.DescMag, Blocchi.IdxBlocco, Blocchi.CodBlocco, ElencoCartellini.Particolare, + ElencoCartellini.Esponente, COUNT(PosizioneUdcCorrente.UDC) AS NumUDC, ISNULL(MIN(PosizioneUdcCorrente.DataRif), + GETDATE()) AS Oldest, ISNULL(MAX(PosizioneUdcCorrente.DataRif), GETDATE()) AS Newest, SUM(ElencoCartellini.Qta) AS QtaTotPz, + AnagStatiProdotto.DescStato, ElencoCartellini.IdxPosizione AS CodMagLog + FROM AnagMag INNER JOIN + Blocchi ON AnagMag.CodMag = Blocchi.CodMag AND AnagMag.CodCS = Blocchi.CodCS INNER JOIN + Celle INNER JOIN + ElencoCartellini INNER JOIN + PosizioneUdcCorrente ON ElencoCartellini.UDC = PosizioneUdcCorrente.UDC ON Celle.IdxCella = PosizioneUdcCorrente.IdxCella ON + Blocchi.IdxBlocco = Celle.IdxBlocco INNER JOIN + AnagStatiProdotto ON ElencoCartellini.CodStato = AnagStatiProdotto.CodStato + WHERE (Celle.Attiva = 1) AND (AnagMag.CodCS = @CodCS) AND (ElencoCartellini.Particolare = @Particolare) + GROUP BY AnagMag.CodCS, AnagMag.CodMag, AnagMag.DescMag, Blocchi.IdxBlocco, Blocchi.CodBlocco, Blocchi.NumX, Blocchi.NumY, Blocchi.NumZ, + ElencoCartellini.Particolare, ElencoCartellini.Esponente, ElencoCartellini.IdxPosizione, AnagStatiProdotto.DescStato + ORDER BY QtaTotPz DESC + + +RETURN +go + +commit +go + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(245, GETDATE()) +GO \ No newline at end of file diff --git a/GMW_data/SqlScripts/V1.1/GMW_00250.sql b/GMW_data/SqlScripts/V1.1/GMW_00250.sql new file mode 100644 index 00000000..14ea8293 --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00250.sql @@ -0,0 +1,525 @@ +-- update permessi x magazzino logico + + +-- dichiarazione variabili iniziale +DECLARE @IdxCella AS INT + +-- fix mag 84 +SET @IdxCella= (SELECT IdxCella FROM Celle c INNER JOIN Blocchi b ON c.IdxBlocco=b.IdxBlocco WHERE CodMag='84') + +insert into PosizioneUdcCorrente +select ec.UDC, @IdxCella as idxCella, 'MA' as codCS, GETDATE() as datarif +from ElencoCartellini ec +left outer join PosizioneUdcCorrente puc on ec.UDC= puc.UDC +where puc.IdxCella is null and IdxPosizione=84 + +-- fix mag 54 +SET @IdxCella= (SELECT IdxCella FROM Celle c INNER JOIN Blocchi b ON c.IdxBlocco=b.IdxBlocco WHERE CodMag='54') + +insert into PosizioneUdcCorrente +select ec.UDC, @IdxCella as idxCella, 'MA' as codCS, GETDATE() as datarif +from ElencoCartellini ec +left outer join PosizioneUdcCorrente puc on ec.UDC= puc.UDC +where puc.IdxCella is null and IdxPosizione=54 + +-- fix mag 56 +SET @IdxCella= (SELECT IdxCella FROM Celle c INNER JOIN Blocchi b ON c.IdxBlocco=b.IdxBlocco WHERE CodMag='56') + +insert into PosizioneUdcCorrente +select ec.UDC, @IdxCella as idxCella, 'MA' as codCS, GETDATE() as datarif +from ElencoCartellini ec +left outer join PosizioneUdcCorrente puc on ec.UDC= puc.UDC +where puc.IdxCella is null and IdxPosizione=56 + +-- fix mag 80 +SET @IdxCella= (SELECT IdxCella FROM Celle c INNER JOIN Blocchi b ON c.IdxBlocco=b.IdxBlocco WHERE CodMag='80') + +insert into PosizioneUdcCorrente +select ec.UDC, @IdxCella as idxCella, 'MA' as codCS, GETDATE() as datarif +from ElencoCartellini ec +left outer join PosizioneUdcCorrente puc on ec.UDC= puc.UDC +where puc.IdxCella is null and IdxPosizione=80 + +-- fix mag 0 --> 80 +SET @IdxCella= (SELECT IdxCella FROM Celle c INNER JOIN Blocchi b ON c.IdxBlocco=b.IdxBlocco WHERE CodMag='80') + +insert into PosizioneUdcCorrente +select ec.UDC, @IdxCella as idxCella, 'MA' as codCS, GETDATE() as datarif +from ElencoCartellini ec +left outer join PosizioneUdcCorrente puc on ec.UDC= puc.UDC +where puc.IdxCella is null and IdxPosizione=0 + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +alter VIEW v_UdcDetail +AS +SELECT dbo.ElencoCartellini.UDC, dbo.ElencoCartellini.RagSociale, dbo.ElencoCartellini.Particolare, dbo.ElencoCartellini.DescParticolare, + dbo.ElencoCartellini.DisegnoGrezzo, dbo.ElencoCartellini.Esponente, dbo.ElencoCartellini.DescImpianto, dbo.ElencoCartellini.DataFus, + dbo.ElencoCartellini.TurnoFus, dbo.ElencoCartellini.CodImballo, dbo.ElencoCartellini.Qta, dbo.AnagStatiProdotto.DescStato, dbo.ElencoCartellini.ModDate, + ISNULL(dbo.Blocchi.CodMag, N'') AS CodMag, ISNULL(dbo.Blocchi.CodBlocco, N'') AS CodBlocco, ISNULL(dbo.Celle.CodCella, N'') AS CodCella, + ISNULL(dbo.Celle.IdxCella, 0) AS IdxCella, ISNULL(dbo.Celle.X, 0) AS X, ISNULL(dbo.Celle.Y, 0) AS Y, ISNULL(dbo.Celle.Z, 0) AS Z, + dbo.ElencoCartellini.IdxPosizione +FROM dbo.AnagStatiProdotto RIGHT OUTER JOIN + dbo.ElencoCartellini ON dbo.AnagStatiProdotto.CodStato = dbo.ElencoCartellini.CodStato AND + dbo.AnagStatiProdotto.CodStato = dbo.ElencoCartellini.CodStato LEFT OUTER JOIN + dbo.Celle INNER JOIN + dbo.PosizioneUdcCorrente ON dbo.Celle.IdxCella = dbo.PosizioneUdcCorrente.IdxCella AND dbo.Celle.IdxCella = dbo.PosizioneUdcCorrente.IdxCella AND + dbo.Celle.IdxCella = dbo.PosizioneUdcCorrente.IdxCella INNER JOIN + dbo.Blocchi ON dbo.Celle.IdxBlocco = dbo.Blocchi.IdxBlocco INNER JOIN + dbo.AnagMag ON dbo.Blocchi.CodMag = dbo.AnagMag.CodMag AND dbo.Blocchi.CodCS = dbo.AnagMag.CodCS AND + dbo.Blocchi.CodMag = dbo.AnagMag.CodMag AND dbo.Blocchi.CodCS = dbo.AnagMag.CodCS AND dbo.Blocchi.CodMag = dbo.AnagMag.CodMag AND + dbo.Blocchi.CodCS = dbo.AnagMag.CodCS ON dbo.ElencoCartellini.UDC = dbo.PosizioneUdcCorrente.UDC +go + +exec sp_updateextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "AnagStatiProdotto" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 101 + Right = 208 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "ElencoCartellini" + Begin Extent = + Top = 6 + Left = 246 + Bottom = 309 + Right = 416 + End + DisplayFlags = 280 + TopColumn = 11 + End + Begin Table = "Celle" + Begin Extent = + Top = 27 + Left = 818 + Bottom = 156 + Right = 988 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "PosizioneUdcCorrente" + Begin Extent = + Top = 71 + Left = 548 + Bottom = 200 + Right = 718 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "Blocchi" + Begin Extent = + Top = 70 + Left = 1080 + Bottom = 199 + Right = 1250 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "AnagMag" + Begin Extent = + Top = 188 + Left = 799 + Bottom = 334 + Right = 969 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 21 + Width = 284 + Width = 15', 'SCHEMA', 'dbo', 'VIEW', 'v_UdcDetail' +go + +exec sp_updateextendedproperty 'MS_DiagramPane2', '00 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_UdcDetail' +go + +commit +go + + +-- + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_getUdcDetailFullCode +* +* ottiene l'elenco degli UDC con i dati significativi partendo da un codice UDC COMPLETO +* +* Steamware, S.E.L. +* mod: 2010.05.24 +* +****************************************/ +alter PROCEDURE stp_getUdcDetailFullCode +( + @UDC VARCHAR(50), + @CodCS VARCHAR(2) +) +AS + +SELECT ElencoCartellini.UDC, ElencoCartellini.RagSociale, ElencoCartellini.Particolare, ElencoCartellini.DescParticolare, ElencoCartellini.DisegnoGrezzo, + ElencoCartellini.Esponente, ElencoCartellini.DescImpianto, ElencoCartellini.DataFus, ElencoCartellini.TurnoFus, ElencoCartellini.CodImballo, + ElencoCartellini.Qta, AnagStatiProdotto.DescStato, ElencoCartellini.ModDate, ISNULL(Blocchi.CodMag, N'') AS CodMag, + ISNULL(Blocchi.CodBlocco, N'') AS CodBlocco, ISNULL(Celle.CodCella, N'') AS CodCella, ISNULL(dbo.Celle.IdxCella, 0) AS IdxCella, + ISNULL(Celle.X, 0) AS X, ISNULL(Celle.Y, 0) AS Y, ISNULL(Celle.Z, 0) AS Z, ElencoCartellini.IdxPosizione +FROM AnagStatiProdotto RIGHT OUTER JOIN + ElencoCartellini ON AnagStatiProdotto.CodStato = ElencoCartellini.CodStato AND AnagStatiProdotto.CodStato = ElencoCartellini.CodStato + LEFT OUTER JOIN Celle INNER JOIN PosizioneUdcCorrente ON Celle.IdxCella = PosizioneUdcCorrente.IdxCella + AND Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND Celle.IdxCella = PosizioneUdcCorrente.IdxCella + INNER JOIN Blocchi ON Celle.IdxBlocco = Blocchi.IdxBlocco INNER JOIN AnagMag ON Blocchi.CodMag = AnagMag.CodMag + AND Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag + AND Blocchi.CodCS = AnagMag.CodCS ON ElencoCartellini.UDC = PosizioneUdcCorrente.UDC +WHERE (ElencoCartellini.UDC = @UDC) AND (ElencoCartellini.CodCS = @CodCS) + +RETURN +go + +commit +go + + +-- + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_getUdcDetailFullCode +* +* ottiene l'elenco degli UDC con i dati significativi partendo da un valore da cercare come LIKE in +* - UDC +* - Particolare +* +* Steamware, S.E.L. +* mod: 2010.05.24 +* +****************************************/ +alter PROCEDURE stp_getUdcDetailLikeSearch +( + @searchVal VARCHAR(50), + @CodCS VARCHAR(2) +) +AS + +SELECT ElencoCartellini.UDC, ElencoCartellini.RagSociale, ElencoCartellini.Particolare, ElencoCartellini.DescParticolare, + ElencoCartellini.DisegnoGrezzo, ElencoCartellini.Esponente, ElencoCartellini.DescImpianto, ElencoCartellini.DataFus, + ElencoCartellini.TurnoFus, ElencoCartellini.CodImballo, ElencoCartellini.Qta, AnagStatiProdotto.DescStato, ElencoCartellini.ModDate, + ISNULL(Blocchi.CodMag, N'') AS CodMag, ISNULL(Blocchi.CodBlocco, N'') AS CodBlocco, ISNULL(Celle.CodCella, N'') AS CodCella, + ISNULL(dbo.Celle.IdxCella, 0) AS IdxCella, ISNULL(Celle.X, 0) AS X, ISNULL(Celle.Y, 0) AS Y, ISNULL(Celle.Z, 0) AS Z, ElencoCartellini.IdxPosizione +FROM AnagStatiProdotto RIGHT OUTER JOIN ElencoCartellini + ON AnagStatiProdotto.CodStato = ElencoCartellini.CodStato AND AnagStatiProdotto.CodStato = ElencoCartellini.CodStato + LEFT OUTER JOIN Celle INNER JOIN PosizioneUdcCorrente + ON Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND + Celle.IdxCella = PosizioneUdcCorrente.IdxCella INNER JOIN + Blocchi ON Celle.IdxBlocco = Blocchi.IdxBlocco INNER JOIN + AnagMag ON Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND + Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS ON + ElencoCartellini.UDC = PosizioneUdcCorrente.UDC +WHERE (ElencoCartellini.CodCS = @CodCS) AND + ((ElencoCartellini.UDC like '%'+ @searchVal+'%') OR (ElencoCartellini.Particolare like '%'+ @searchVal+'%') OR + (ElencoCartellini.RagSociale like '%'+ @searchVal+'%')) + +RETURN +go + +commit +go + + +-- + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_UdcDetailGetByIdxBlocco +* +* ottiene l'elenco degli UDC con dettaglio posizioni OCCUPATE associati ad un dato blocco di magazzino +* +* Steamware, S.E.L. +* mod: 2010.07.19 +* +****************************************/ +alter PROCEDURE stp_UdcDetailGetByIdxBlocco +( + @IdxBlocco INT +) +AS + +SELECT ElencoCartellini.UDC, ElencoCartellini.RagSociale, ElencoCartellini.Particolare, ElencoCartellini.DescParticolare, + ElencoCartellini.DisegnoGrezzo, ElencoCartellini.Esponente, ElencoCartellini.DescImpianto, ElencoCartellini.DataFus, + ElencoCartellini.TurnoFus, ElencoCartellini.CodImballo, ElencoCartellini.Qta, AnagStatiProdotto.DescStato, + ElencoCartellini.ModDate, ISNULL(Blocchi.CodMag, N'') AS CodMag, ISNULL(Blocchi.CodBlocco, N'') AS CodBlocco, + ISNULL(Celle.CodCella, N'') AS CodCella, ISNULL(dbo.Celle.IdxCella, 0) AS IdxCella, + ISNULL(Celle.X, 0) AS X, ISNULL(Celle.Y, 0) AS Y, ISNULL(Celle.Z, 0) AS Z, ElencoCartellini.IdxPosizione +FROM Celle INNER JOIN + PosizioneUdcCorrente ON Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND + Celle.IdxCella = PosizioneUdcCorrente.IdxCella INNER JOIN + Blocchi ON Celle.IdxBlocco = Blocchi.IdxBlocco INNER JOIN + AnagMag ON Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND + Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS INNER JOIN + ElencoCartellini ON PosizioneUdcCorrente.UDC = ElencoCartellini.UDC LEFT OUTER JOIN + AnagStatiProdotto ON ElencoCartellini.CodStato = AnagStatiProdotto.CodStato AND ElencoCartellini.CodStato = AnagStatiProdotto.CodStato +WHERE (Celle.IdxBlocco = @IdxBlocco) + +RETURN +go + +commit +go + +-- + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_UdcDetailGetByIdxBloccoCodMagLog +* +* ottiene l'elenco degli UDC con dettaglio posizioni OCCUPATE associati ad un dato blocco di magazzino ed ad un dato STATO LOGICO +* +* Steamware, S.E.L. +* mod: 2010.09.15 +* +****************************************/ +alter PROCEDURE stp_UdcDetailGetByIdxBloccoCodMagLog +( + @IdxBlocco INT, + @CodMagLog INT +) +AS + +SELECT ElencoCartellini.UDC, ElencoCartellini.RagSociale, ElencoCartellini.Particolare, ElencoCartellini.DescParticolare, + ElencoCartellini.DisegnoGrezzo, ElencoCartellini.Esponente, ElencoCartellini.DescImpianto, ElencoCartellini.DataFus, + ElencoCartellini.TurnoFus, ElencoCartellini.CodImballo, ElencoCartellini.Qta, AnagStatiProdotto.DescStato, + ElencoCartellini.ModDate, ISNULL(Blocchi.CodMag, N'') AS CodMag, ISNULL(Blocchi.CodBlocco, N'') AS CodBlocco, + ISNULL(Celle.CodCella, N'') AS CodCella, ISNULL(dbo.Celle.IdxCella, 0) AS IdxCella, + ISNULL(Celle.X, 0) AS X, ISNULL(Celle.Y, 0) AS Y, ISNULL(Celle.Z, 0) AS Z, ElencoCartellini.IdxPosizione +FROM Celle INNER JOIN + PosizioneUdcCorrente ON Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND + Celle.IdxCella = PosizioneUdcCorrente.IdxCella INNER JOIN + Blocchi ON Celle.IdxBlocco = Blocchi.IdxBlocco INNER JOIN + AnagMag ON Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND + Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS INNER JOIN + ElencoCartellini ON PosizioneUdcCorrente.UDC = ElencoCartellini.UDC LEFT OUTER JOIN + AnagStatiProdotto ON ElencoCartellini.CodStato = AnagStatiProdotto.CodStato AND ElencoCartellini.CodStato = AnagStatiProdotto.CodStato +WHERE (Celle.IdxBlocco = @IdxBlocco) AND ElencoCartellini.IdxPosizione = @CodMagLog + +RETURN +go + +commit +go + + +-- + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_UdcDetailGetByIdxCella +* +* ottiene l'elenco degli UDC con dettaglio per una data cella +* +* Steamware, S.E.L. +* mod: 2010.07.20 +* +****************************************/ +alter PROCEDURE stp_UdcDetailGetByIdxCella +( + @IdxCella INT +) +AS + +SELECT ElencoCartellini.UDC, ElencoCartellini.RagSociale, ElencoCartellini.Particolare, ElencoCartellini.DescParticolare, + ElencoCartellini.DisegnoGrezzo, ElencoCartellini.Esponente, ElencoCartellini.DescImpianto, ElencoCartellini.DataFus, + ElencoCartellini.TurnoFus, ElencoCartellini.CodImballo, ElencoCartellini.Qta, AnagStatiProdotto.DescStato, + ElencoCartellini.ModDate, ISNULL(Blocchi.CodMag, N'') AS CodMag, ISNULL(Blocchi.CodBlocco, N'') AS CodBlocco, + ISNULL(Celle.CodCella, N'') AS CodCella, ISNULL(dbo.Celle.IdxCella, 0) AS IdxCella, + ISNULL(Celle.X, 0) AS X, ISNULL(Celle.Y, 0) AS Y, ISNULL(Celle.Z, 0) AS Z, ElencoCartellini.IdxPosizione +FROM Celle INNER JOIN + PosizioneUdcCorrente ON Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND + Celle.IdxCella = PosizioneUdcCorrente.IdxCella INNER JOIN + Blocchi ON Celle.IdxBlocco = Blocchi.IdxBlocco INNER JOIN + AnagMag ON Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND + Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS INNER JOIN + ElencoCartellini ON PosizioneUdcCorrente.UDC = ElencoCartellini.UDC LEFT OUTER JOIN + AnagStatiProdotto ON ElencoCartellini.CodStato = AnagStatiProdotto.CodStato AND ElencoCartellini.CodStato = AnagStatiProdotto.CodStato +WHERE (Celle.IdxCella = @IdxCella) + +RETURN +go + +commit +go + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(250, GETDATE()) +GO \ No newline at end of file diff --git a/GMW_data/SqlScripts/V1.1/GMW_00255.sql b/GMW_data/SqlScripts/V1.1/GMW_00255.sql new file mode 100644 index 00000000..1ae81278 --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00255.sql @@ -0,0 +1,292 @@ +--- nuovi eventi x gestione triggers variazioni quantità magazzino AS +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.AnagTipoEvento + VALUES (N'UDC_DEL', N'Eliminato un UDC (per movimento AS400)') +INSERT INTO dbo.AnagTipoEvento + VALUES (N'UDC_MOV', N'Movimentazione contabile tra magazzini UDC') +INSERT INTO dbo.AnagTipoEvento + VALUES (N'UDC_NEW', N'Creato un nuovo UDC (per movimento AS400)') +INSERT INTO dbo.AnagTipoEvento + VALUES (N'UDC_NOQTY', N'Rettifica qta UDC creato se già in AS') +INSERT INTO dbo.AnagTipoEvento + VALUES (N'UDC_POS', N'Spostamento posizilne logica UDC') +go + +commit transaction +go + + +-- tab x gestioen batch AS400 +set xact_abort on +go + +begin transaction +go + +create table AS400_BatchMovimenti( + DataIns datetime not null, + CodEvento nvarchar(10) not null, + Particolare nvarchar(15) not null, + CodMagAS nvarchar(50) not null, + Quantita decimal(10,2) not null, + DataBatch datetime, + DataVerifica datetime, + + constraint PK_AS400_BatchMovimenti primary key(DataIns,CodEvento,Particolare,CodMagAS) +) +go + +alter table AS400_BatchMovimenti add + constraint FK_AS400_BatchMovimenti_AnagTipoEvento foreign key(CodEvento) references AnagTipoEvento(CodEvento) on update cascade +go + +exec sp_addextendedproperty 'MS_Description', 'dataora inserimento in coda caricamento', 'SCHEMA', 'dbo', 'TABLE', 'AS400_BatchMovimenti', 'COLUMN', 'DataIns' +go + +exec sp_addextendedproperty 'MS_Description', 'NON MODIFICARE: nel codice si usano questi campi x chiamate...', 'SCHEMA', 'dbo', 'TABLE', 'AS400_BatchMovimenti', 'COLUMN', 'CodEvento' +go + +exec sp_addextendedproperty 'MS_Description', 'dataora di caricamento batch verso AS', 'SCHEMA', 'dbo', 'TABLE', 'AS400_BatchMovimenti', 'COLUMN', 'DataBatch' +go + +exec sp_addextendedproperty 'MS_Description', N'dataora in cui è stato verificato il caricamento su AS', 'SCHEMA', 'dbo', 'TABLE', 'AS400_BatchMovimenti', 'COLUMN', 'DataVerifica' +go + +create table AS400_MagCont( + CodMagAS nvarchar(50) not null constraint PK_AS400_MagCont primary key, + Descrizione nvarchar(50), + Attivo bit +) +go + +alter table AS400_BatchMovimenti add + constraint FK_AS400_BatchMovimenti_AS400_MagCont foreign key(CodMagAS) references AS400_MagCont(CodMagAS) on update cascade +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.AS400_MagCont + VALUES (N'54', N'Finiti', 1) +INSERT INTO dbo.AS400_MagCont + VALUES (N'56', N'Materia Prima', 1) +INSERT INTO dbo.AS400_MagCont + VALUES (N'80', N'Fusi', 1) +INSERT INTO dbo.AS400_MagCont + VALUES (N'84', N'WIP', 1) +INSERT INTO dbo.AS400_MagCont + VALUES (N'88', N'Rientro da terzista', 1) +go + +commit transaction +go + + +-- triggers! +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +-- ============================================= +-- Author: Samuele E. Locatelli +-- Create date: 2009-09-20 +-- Description: trigger x inserimento movimenti +-- nella coda di trasferimento batch +-- verso AS400 x UPDATE UDC +-- ============================================= +create TRIGGER trg_updMovAS + ON ElencoCartellini + AFTER UPDATE +AS +BEGIN + + -- setup variabili e verbosità + SET NOCOUNT ON; + DECLARE @partOk AS BIT + DECLARE @IdxPosFrom AS INT + DECLARE @IdxPosTo AS INT + DECLARE @magFrom AS NVARCHAR(50) + DECLARE @magTo AS NVARCHAR(50) + DECLARE @qta AS DECIMAL(10,2) + + -- controllo che CI SIA il particolare (altrimenti non eseguo) + SET @partOk = (SELECT CASE WHEN ISNULL(Particolare,'n.d.') = 'n.d.' THEN 0 ELSE 1 END FROM deleted) + + IF(@partOk = 1) + SET @qta = (SELECT Qta FROM inserted) + -- se c'è stata modifica di quantità inizio a rettificare quella + IF UPDATE(Qta) + BEGIN + INSERT INTO AS400_BatchMovimenti(DataIns, CodEvento, Particolare, CodMagAS, Quantita) + ( + SELECT GETDATE(), 'UDC_MOD', Particolare, CAST(IdxPosizione AS NVARCHAR(50)), @qta-Qta + FROM deleted + ) + END + + -- controllo poi se sia cambiato il magazzino, altrimenti non lo inserisco + IF UPDATE(IdxPosizione) + BEGIN + -- Prendo le posizioni di magazzino precedente e nuova + SET @IdxPosFrom = (SELECT IdxPosizione FROM deleted) + SET @IdxPosTo = (SELECT IdxPosizione FROM inserted) + -- Le trasformo nelle equivalenti stringhe del codMag SE attive + SET @magFrom = (SELECT ISNULL(CodMagAS,'---') FROM AS400_MagCont WHERE Attivo = 1 AND CodMagAs = CAST(@IdxPosFrom AS NVARCHAR(50))) + SET @magTo = (SELECT ISNULL(CodMagAS,'---') FROM AS400_MagCont WHERE Attivo = 1 AND CodMagAs = CAST(@IdxPosTo AS NVARCHAR(50))) + + -- inserisco un movimento di deposito verso mag nuovo (SE attivo) + IF (@magFrom <> '---') + BEGIN + INSERT INTO AS400_BatchMovimenti(DataIns, CodEvento, Particolare, CodMagAS, Quantita) + ( + SELECT GETDATE(), 'UDC_MOV', Particolare, CAST(IdxPosizione AS NVARCHAR(50)), -@qta + FROM deleted + ) + END + -- inserisco un movimento di prelievo verso mag vecchio (SE attivo) + IF (@magTo <> '---') + BEGIN + INSERT INTO AS400_BatchMovimenti(DataIns, CodEvento, Particolare, CodMagAS, Quantita) + ( + SELECT GETDATE(), 'UDC_MOV', Particolare, CAST(IdxPosizione AS NVARCHAR(50)), @qta + FROM inserted + ) + END + END + +END +go + +-- ============================================= +-- Author: Samuele E. Locatelli +-- Create date: 2009-09-20 +-- Description: trigger x inserimento movimenti +-- nella coda di trasferimento batch +-- verso AS400 x DELETE UDC +-- ============================================= +create TRIGGER trg_DelMovAS + ON ElencoCartellini + AFTER DELETE +AS +BEGIN + + -- setup variabili e verbosità + SET NOCOUNT ON; + DECLARE @partOk AS BIT + + -- controllo che CI SIA il particoalre (altrimenti non eseguo) + SET @partOk = (SELECT CASE WHEN ISNULL(Particolare,'n.d.') = 'n.d.' THEN 0 ELSE 1 END FROM deleted) + + IF(@partOk = 1) + BEGIN + -- metto in storico la posizione attuale dell'UDC (SE esiste) CANCELLATO + INSERT INTO AS400_BatchMovimenti(DataIns, CodEvento, Particolare, CodMagAS, Quantita) + ( + SELECT GETDATE(), 'UDC_DEL', Particolare, CAST(IdxPosizione AS NVARCHAR(50)), -Qta + FROM deleted + ) + END + +END +go + +-- ============================================= +-- Author: Samuele E. Locatelli +-- Create date: 2009-09-20 +-- Description: trigger x inserimento movimenti +-- nella coda di trasferimento batch +-- verso AS400 x INSERT UDC +-- ============================================= +create TRIGGER trg_InsMovAS + ON ElencoCartellini + AFTER INSERT +AS +BEGIN + + -- setup variabili e verbosità + SET NOCOUNT ON; + DECLARE @partOk AS BIT + + -- controllo che CI SIA il particoalre (altrimenti non eseguo) + SET @partOk = (SELECT CASE WHEN ISNULL(Particolare,'n.d.') = 'n.d.' THEN 0 ELSE 1 END FROM inserted) + + IF(@partOk = 1) + BEGIN + -- metto in storico la posizione attuale dell'UDC (SE esiste) CANCELLATO + INSERT INTO AS400_BatchMovimenti(DataIns, CodEvento, Particolare, CodMagAS, Quantita) + ( + SELECT GETDATE(), 'UDC_NEW', Particolare, CAST(IdxPosizione AS NVARCHAR(50)), Qta + FROM inserted + ) + END + +END +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_rettMovAs400 +* +* inserisce nella tabella per i trasferimenti batch verso magazzino AS una quantità di rettifica (con segno - )per UDC eventualmente già scaricati a sistema +* +* Steamware, S.E.L. +* mod: 2010.09.20 +* +****************************************/ +create PROCEDURE stp_rettMovAs400 +( + @Particolare NVARCHAR(50), + @CodMagAS NVARCHAR(50), + @Qta DECIMAL(10,2) +) +AS + +BEGIN + + INSERT INTO AS400_BatchMovimenti(DataIns, CodEvento, Particolare, CodMagAS, Quantita) + VALUES (GETDATE(), 'UDC_NOQTY', @Particolare, @CodMagAS, -@Qta) + +END + +RETURN +go + +commit +go + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(255, GETDATE()) +GO \ No newline at end of file diff --git a/GMW_data/SqlScripts/V1.1/GMW_00257.sql b/GMW_data/SqlScripts/V1.1/GMW_00257.sql new file mode 100644 index 00000000..93e1fb1d --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00257.sql @@ -0,0 +1,698 @@ +--- alter degli schema AS400 --> RawData (caricamento dati grezzi) + +create schema RawData authorization db_accessadmin +go + +-- creo schema x gestione richieste batch +create schema BatchQueue authorization db_accessadmin +go + + +-- lascio in schema As400 i dati attuali, creo tab nuove RAW +create table RawData.XOGIX00F( + XRPQLN numeric(6,0) not null constraint DF_XOGIX00F_XRPQLN default (0), + XRPQLD numeric(8,0) not null constraint DF_XOGIX00F_XRPQLD default (0), + XNRETI char(10) not null constraint DF_XOGIX00F_XNRETI default (''), + XCDFOR char(6) not null constraint DF_XOGIX00F_XCDFOR default (''), + XCDTER char(6) not null constraint DF_XOGIX00F_XCDTER default (''), + XCDPAR char(15) not null constraint DF_XOGIX00F_XCDPAR default (''), + XDTPRO numeric(8,0) not null constraint DF_XOGIX00F_XDTPRO default (0), + XTRPRO char(5) not null constraint DF_XOGIX00F_XTRPRO default (''), + XQTPRO numeric(5,0) not null constraint DF_XOGIX00F_XQTPRO default (0), + XDESMT char(3) not null constraint DF_XOGIX00F_XDESMT default (''), + XMATSC char(1) not null constraint DF_XOGIX00F_XMATSC default (''), + XBENQL char(1) not null +) +go + + + + + +-- travaso dati da tab As400 a RawData +INSERT INTO RawData.XOGIX00F +SELECT * +FROM As400.t_XOGIX00F +GO + +-- aggiungo tab rilpro + +set xact_abort on +go + +begin transaction +go + +create table RilPro.RapQual( + nRapQual numeric(6,0) not null, + DataRapQual numeric(8,0) not null, + ProgUDC nvarchar(10) not null constraint PK_RapQual primary key, + CodFor nvarchar(6) not null, + DestTerz nvarchar(6) not null, + CodLega nvarchar(15) not null, + DataPrelFus numeric(8,0) not null, + TurnoPrelFus nvarchar(5) not null, + Qta numeric(5,0) not null, + DestLega nvarchar(3) not null, + LegaScaric nvarchar(1) not null, + BenesQual nvarchar(1) not null, + UDC nvarchar(13) +) +go + +create index i_numRap on RilPro.RapQual(nRapQual) +go + +create index i_dataRap on RilPro.RapQual(DataRapQual) +go + +create index i_numDataRap on RilPro.RapQual(nRapQual,DataRapQual) +go + +commit +go + +-- aggiungo stored di travaso! +set xact_abort on +go + +begin transaction +go + +create schema BatchQueue authorization db_accessadmin +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_batch_RapQual_S01 +* +* Esegue lo step 1 (caricamento dati RAW da AS400) per la tab dei rapporti di qualità +* +* Steamware, S.E.L. +* mod: 2010.09.23 +* +****************************************/ +create PROCEDURE BatchQueue.stp_batch_RapQual_S01 +( + @minNumRapQual INT +) +AS + -- BOZZA DA COMPLETARE A CURA MAZZUCCONI!!! + + DECLARE @SQL AS NVARCHAR(1000) + + -- svuoto tab raw attuale + /* + DELETE FROM RawData.XOGIX00F + */ + + + -- INSERISCO DA AS400 + /* + INSERT INTO RawData.XOGIX00F + ( + SET @SQL = + N'SELECT + XRPQLN + ,XRPQLD + ,XNRETI + ,XCDFOR + ,XCDTER + ,XCDPAR + ,XDTPRO + ,XTRPRO + ,XQTPRO + ,XDESMT + ,XMATSC + ,XBENQL + FROM OPENQUERY( P65220DC, ''SELECT * FROM MAZZT_DTV3.XOGIX00F WHERE XRPQLN >= ' + SET @SQL = @SQL + @minNumRapQual + ''' )' + + EXEC sp_executesql @SQL + ) + */ + +RETURN +go + +/*************************************** +* STORED stp_batch_RapQual_S01 +* +* Esegue lo step 2 (travaso dati RAW in RilPro) per la tab dei rapporti di qualità +* +* Steamware, S.E.L. +* mod: 2010.09.23 +* +****************************************/ +create PROCEDURE BatchQueue.stp_batch_RapQual_S02 +AS + -- eseguo UPSERT x tutti i dati disponibili in tab Raw... + + -- se il dato esiste faccio UPDATE!!! + UPDATE RilPro.RapQual + SET CodFor = u.XCDFOR, + DestTerz = u.XCDTER, + CodLega = u.XCDPAR, + DataPrelFus = u.XDTPRO, + TurnoPrelFus= u.XTRPRO, + Qta = u.XQTPRO, + DestLega = u.XDESMT, + LegaScaric = u.XMATSC, + BenesQual = u.XBENQL + FROM RilPro.RapQual rq + INNER JOIN RawData.XOGIX00F u ON u.XNRETI = rq.ProgUDC; -- AND u.XRPQLN = rq.nRapQual AND u.XRPQLD = rq.DataRapQual; -- se XNRETI è univoco ... + + + -- creo tab temporanea x i dati inesistenti.. + WITH cteInsert AS + (SELECT x.* + FROM RawData.XOGIX00F x LEFT OUTER JOIN RilPro.RapQual rq + ON x.XNRETI = rq.ProgUDC -- AND u.XRPQLN = rq.nRapQual AND u.XRPQLD = rq.DataRapQual; -- se XNRETI è univoco ... + WHERE rq.ProgUDC IS NULL ) + + -- se il dato non c'è faccio INSERT!!! + INSERT INTO RilPro.RapQual(nRapQual, DataRapQual, ProgUDC, CodFor, DestTerz, CodLega, DataPrelFus, TurnoPrelFus, Qta, DestLega, LegaScaric, BenesQual) + SELECT XRPQLN AS nRapQual, + XRPQLD AS DataRapQual, + XNRETI AS ProgUDC, + XCDFOR AS CodFor, + XCDTER AS DestTerz, + XCDPAR AS CodLega, + XDTPRO AS DataPrelFus, + XTRPRO AS TurnoPrelFus, + XQTPRO AS Qta, + XDESMT AS DestLega, + XMATSC AS LegaScaric, + XBENQL AS BenesQual + FROM cteInsert + + +RETURN +go + +commit +go + + +- nuove functions +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* function componiUdc +* +* compone il cod UDC a partire da +* - CodCS (codice company sito, 2 char) +* - Flusso (codice flusso-bilancia 2 char) +* - @Anno (anno, 2 char) +* - @numUdc (progr annuale, 2 char) +* +* Steamware, S.E.L. +* mod: 2010.09.23 +* +****************************************/ +create FUNCTION componiUdc +( + @CodCS NVARCHAR(2), + @Flusso NVARCHAR(2), + @Anno NVARCHAR(2), + @numUdc INT +) +RETURNS NVARCHAR(13) +AS + BEGIN + + DECLARE @answ AS NVARCHAR(50) + + SET @answ = 'U' + @CodCS + @Flusso + @Anno + dbo.f_padLeft(CAST(@numUdc AS VARCHAR(6)), 6, '0') + + RETURN @answ + END +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* function getUdcComp +* +* effettua la "compattazione" dell'UDC, andando a prendere un sottoinsieme dei dati iniziali (UAAxxxx dove AA = anno...) +* +* Steamware, S.E.L. +* mod: 2010.09.23 +* +****************************************/ +create FUNCTION getUdcComp +( + @fullUDC NVARCHAR(50), + @maxLen INTEGER +) +RETURNS NVARCHAR(20) +AS + BEGIN + -- calcolo lunghezza originale + DECLARE @fullLen AS INT + SET @fullLen = LEN(@fullUDC) + + -- dichiaro stringa out (max 20 char) + DECLARE @answ NVARCHAR(20) + + -- recupero parte finale (ultimi @maxLen caratteri...) + + + -- compongo codice + SET @answ = 'U' + RIGHT(LEFT(@fullUDC, 7), 2) + RIGHT(@fullUDC,@maxLen-3) -- tolgo 3 char: U + anno... + + RETURN @answ + END +go + +commit +go + + + + + +-- altre stored +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_rappQualAssociaUdc +* +* Associa l'UDC (creato) ad un rapp qualità di AS esistente SOLO SE UDC è NULL +* +* Steamware, S.E.L. +* mod: 2010.09.23 +* +****************************************/ +create PROCEDURE stp_rappQualAssociaUdc +( + @ProgUDC NVARCHAR(10), + @UDC NVARCHAR(13) +) +AS + UPDATE RilPro.RapQual + SET UDC = @UDC + WHERE (ProgUDC = @ProgUDC) AND (UDC IS NULL) + + -- restituisce la riga aggiornata + SELECT * + FROM RilPro.RapQual + WHERE ProgUDC = @ProgUDC + +RETURN +go + +/*************************************** +* STORED stp_rappQualGetByNumRapQual +* +* Ottiene l'elenco dei record di rapp qualità di AS dato il numero del rapporto di qualità che NON HANNO UDC +* +* Steamware, S.E.L. +* mod: 2010.09.23 +* +****************************************/ +create PROCEDURE stp_rappQualGetByNumRapQual +( + @nRapQual INT +) +AS + -- restituisce le righe richieste + SELECT * + FROM RilPro.RapQual + WHERE (nRapQual = @nRapQual) AND (UDC IS NULL) + +RETURN +go + +commit +go + + + + +-- update stored + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_UDC_insNew +* +* crea un nuovo record nella TabStatoOdpUdc e restituisce il codice UDC appena creato +* +* Steamware, S.E.L. +* mod: 2010.04.28 +* +****************************************/ +alter PROCEDURE stp_UDC_insNew +( + @CodCS VARCHAR(2), + @Flusso VARCHAR(2), + @Anno VARCHAR(2), + @Tara FLOAT, + @CodImballo AS VARCHAR(50), + @CodTipoDichiaraz CHAR(1), + @CodOperatore AS VARCHAR(50), + @CodEvento VARCHAR(10) +) +AS + +-- DECLARE iniziali +DECLARE @UDC AS VARCHAR(20) +DECLARE @numFlu AS INT +DECLARE @numUdc AS INT +DECLARE @nextUdc AS INT + +------------------------------------------------------------------------------------------------------ +-- Flusso +------------------------------------------------------------------------------------------------------ +-- controllo se esiste il flusso (bilancia)... +SET @numFlu = ( + SELECT count(*) + FROM AnagBilance + WHERE CodBilancia = @Flusso +) +-- ...sennò lo creo... +IF(@numFlu = 0) + BEGIN + -- se c'è inserisco in tab + INSERT INTO AnagBilance(CodBilancia, DescrImpianto, CodCS) + VALUES (@Flusso, @Flusso, @CodCS) + END +------------------------------------------------------------------------------------------------------ + + +------------------------------------------------------------------------------------------------------ +-- UDC +------------------------------------------------------------------------------------------------------ +-- controllo se ci sia già un UDC per company / flusso anno +BEGIN TRAN + -- cerco nella tab contatori UDC l'ultimo valido + SET @numUdc = ( + SELECT count(*) + FROM ContatoriUdc + WHERE CodCS = @CodCS + AND Flusso = @Flusso + AND Anno = @Anno + ) + -- controllo se record c'è... + IF(@numUdc > 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 @numUdc = ( + SELECT LastIdx + FROM ContatoriUdc + WHERE CodCS = @CodCS + AND Flusso = @Flusso + AND Anno = @Anno + ) +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- Ciclo principale x inserimento nuovo record +------------------------------------------------------------------------------------------------------ +-- ottengo il nuovo codice UDC completo +--SET @UDC = 'U' + @CodCS + @Flusso + @Anno + dbo.f_padLeft(CAST(@numUdc AS VARCHAR(6)), 6, '0') +SET @UDC = dbo.componiUdc(@CodCS, @Flusso, @Anno, @numUdc) + +-- inserisco un nuovo record +INSERT INTO ElencoCartellini(CodCS, UDC, Tara, IdxPosizione, Qta, CodImballo, CreateDate, ModDate) +VALUES (@CodCS, @UDC, @Tara, 0, 0, @CodImballo, GETDATE(), GETDATE()) +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- restituisco la tab dati con l'udc appena inserito +------------------------------------------------------------------------------------------------------ +SELECT * +FROM ElencoCartellini +WHERE UDC = @UDC +------------------------------------------------------------------------------------------------------ + +RETURN +go + +/*************************************** +* STORED stp_UDC_insNewFull +* +* crea un nuovo record nella TabStatoOdpUdc FULL (con pesi, qta...) e restituisce il codice UDC appena creato +* +* Steamware, S.E.L. +* mod: 2010.04.28 +* +****************************************/ +alter PROCEDURE stp_UDC_insNewFull +( + @CodCS VARCHAR(2), + @Flusso VARCHAR(2), + @Anno VARCHAR(2), + @CodCliente VARCHAR(6), + @Particolare VARCHAR(15), + @CodImpianto AS VARCHAR(50), + @CodStampo VARCHAR(8), + @Esponente VARCHAR(6), + @Figura VARCHAR(4), + @DataFus DATETIME, + @TurnoFus INT, + @CodImballo VARCHAR(15), + @CodSoggetto VARCHAR(17), + @Tara FLOAT, + @IdxPosizione INT, + @CodTipoDichiaraz CHAR(1), + @CodEvento VARCHAR(10), + @Qta DECIMAL(10,2), + @PesoTot FLOAT, + @PesoCad FLOAT, + @CodStato VARCHAR(50), + @UDC_parent VARCHAR(20) +) +AS + +-- DECLARE iniziali +DECLARE @UDC AS VARCHAR(20) +DECLARE @RagSociale AS VARCHAR(35) +DECLARE @DescParticolare AS VARCHAR(30) +DECLARE @DescImpianto AS VARCHAR(50) +DECLARE @DisegnoGrezzo AS VARCHAR(30) +DECLARE @NumCont AS INT +DECLARE @numFlu AS INT +DECLARE @numUdc AS INT +DECLARE @nextUdc AS INT + +------------------------------------------------------------------------------------------------------ +-- Caricamento Dati da anagrafica +------------------------------------------------------------------------------------------------------ +-- cerco la ragione sociale... +SET @RagSociale = ( + SELECT ISNULL(RagSociale, 'ND') AS RagSociale + FROM RilPro.AnagClienti + WHERE (CodCliente = @CodCliente) +) + +-- Cerco descrizione del particolare... +SET @DescParticolare = ( + SELECT ISNULL(DescParticolare, 'ND') AS DescParticolare + FROM RilPro.AnagParticolari + WHERE (Particolare = @Particolare) +) + +-- cerco codice disegno grezzo +SET @DisegnoGrezzo = ( + SELECT ISNULL(DisegnoGrezzo, 'ND') AS DescParticolare + FROM RilPro.AnagParticolari + WHERE (Particolare = @Particolare) +) + +-- cerco descrizione Impianto +SET @DescImpianto = ( + SELECT ISNULL(DescImpianto, 'ND') AS DescImpianto + FROM AnagImpianti + WHERE (CodImpianto = @CodImpianto) +) + + + +-- Calcolo contatore intero successivo x il contenitore... +SET @NumCont = ( + SELECT ISNULL(MAX(NumCont), 0) + 1 AS NumCont + FROM ElencoCartellini + WHERE (Particolare = @Particolare) + AND (DataFus = @DataFus) + AND (TurnoFus = @TurnoFus) + AND (CodImpianto = @CodImpianto) + AND (CodStampo = @CodStampo) + AND (Figura = @Figura) +) + + +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- Flusso +------------------------------------------------------------------------------------------------------ +-- controllo se esiste il flusso (bilancia)... +SET @numFlu = ( + SELECT count(*) + FROM AnagBilance + WHERE CodBilancia = @Flusso +) +-- ...sennò lo creo... +IF(@numFlu = 0) + BEGIN + -- se c'è inserisco in tab + INSERT INTO AnagBilance(CodBilancia, DescrImpianto, CodCS) + VALUES (@Flusso, @Flusso, @CodCS) + END +------------------------------------------------------------------------------------------------------ + + +------------------------------------------------------------------------------------------------------ +-- UDC +------------------------------------------------------------------------------------------------------ +-- controllo se ci sia già un UDC per company / flusso anno +BEGIN TRAN + -- cerco nella tab contatori UDC l'ultimo valido + SET @numUdc = ( + SELECT count(*) + FROM ContatoriUdc + WHERE CodCS = @CodCS + AND Flusso = @Flusso + AND Anno = @Anno + ) + -- controllo se record c'è... + IF(@numUdc > 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 @numUdc = ( + SELECT LastIdx + FROM ContatoriUdc + WHERE CodCS = @CodCS + AND Flusso = @Flusso + AND Anno = @Anno + ) +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- Ciclo principale x inserimento nuovo record +------------------------------------------------------------------------------------------------------ +BEGIN TRAN + -- ottengo il nuovo codice UDC completo + --SET @UDC = 'U' + @CodCS + @Flusso + @Anno + dbo.f_padLeft(CAST(@numUdc AS VARCHAR(6)), 6, '0') + SET @UDC = dbo.componiUdc(@CodCS, @Flusso, @Anno, @numUdc) + + + -- inserisco un nuovo record + INSERT INTO ElencoCartellini(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) + VALUES (@UDC, @CodCS, @CodCliente, @RagSociale, @Particolare, @DescParticolare, @DisegnoGrezzo, @Esponente, @CodImpianto, @DescImpianto, @CodStampo, @Figura, @DataFus, @TurnoFus, @CodImballo, @CodSoggetto, @NumCont, @Tara, @Qta, @CodStato, @IdxPosizione, @PesoTot, @PesoCad, GETDATE(), GETDATE()) + + -- inserisco relazione aprent-child tra UDC vecchio (tara) e nuovo (pesa) + INSERT INTO RelazUDC(UDC_parent, UDC_child) + VALUES (@UDC_parent, @UDC) +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + +/* +------------------------------------------------------------------------------------------------------ +-- Salvataggio dati evento in tab StoricoEventi +------------------------------------------------------------------------------------------------------ +INSERT INTO StoricoEventi(DataEv, CodEvento, CodOperatore, CodTipoDichiaraz, CodCS, UDC, Qta, PesoTot, PesoCad, Particolare, CodStato, CodStampo, Figura, FiguraIncisa) +VALUES (GETDATE(), @CodEvento, @CodOperatore, @CodTipoDichiaraz, @CodCS, @UDC, @Qta, @PesoTot, @PesoCad, @Particolare, @CodStato, @CodStampo, @Figura, @FiguraIncisa) +------------------------------------------------------------------------------------------------------ +*/ + +------------------------------------------------------------------------------------------------------ +-- restituisco la tab dati con l'udc appena inserito +------------------------------------------------------------------------------------------------------ +SELECT * +FROM ElencoCartellini +WHERE UDC = @UDC +------------------------------------------------------------------------------------------------------ + +RETURN +go + +commit +go + + +-- aggiungo stato MP +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.AnagStatiProdotto + VALUES (N'MP', N'Materia Prima') +go + +commit transaction +go + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(257, GETDATE()) +GO \ No newline at end of file diff --git a/GMW_data/SqlScripts/V1.1/GMW_00258.sql b/GMW_data/SqlScripts/V1.1/GMW_00258.sql new file mode 100644 index 00000000..96b7740a --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00258.sql @@ -0,0 +1,132 @@ +-- svuotamento tabelle e dati test da UDC, posizioni e storici +-- eliminazione posizioni storiche +delete from PosizioneUdcStorico +go + +-- eliminazione posizioni attuali +delete from PosizioneUdcCorrente +go + +-- eliminazione posizioni storiche +delete from PosizioneUdcStorico +go + + +-- elimino da tab batch AS400 +delete from AS400_BatchMovimenti +go + + +-- elimino storico cartellini +delete from StoricoCartellini +go + +-- elimino righe liste di prelievo AS +delete from RigheListePrelievo_AS +go + +-- elimino righe liste di prelievo +delete from RigheListePrelievo +go + +-- elimino liste di prelievo AS +delete from ElencoListePrelievo_as +go + +-- elimino liste di prelievo +delete from ElencoListePrelievo +go + +-- elimino da delibere +delete from Delibere +go + +-- ============================================= +-- Author: Samuele E. Locatelli +-- Create date: 2009-09-20 +-- Description: trigger x inserimento movimenti +-- nella coda di trasferimento batch +-- verso AS400 x DELETE UDC +-- ============================================= +ALTER TRIGGER dbo.trg_DelMovAS + ON dbo.ElencoCartellini + AFTER DELETE +AS +BEGIN + + -- setup variabili e verbosità + SET NOCOUNT ON; + DECLARE @partOk AS BIT + + -- rifare: se c'è delete in blocco DEVE andare ad operare 1 riga alla volta... + + /* + -- controllo che CI SIA il particolare (altrimenti non eseguo) + SET @partOk = (SELECT CASE WHEN ISNULL(Particolare,'n.d.') = 'n.d.' THEN 0 ELSE 1 END FROM deleted) + + IF(@partOk = 1) + BEGIN + -- metto in storico la posizione attuale dell'UDC (SE esiste) CANCELLATO + INSERT INTO AS400_BatchMovimenti(DataIns, CodEvento, Particolare, CodMagAS, Quantita) + ( + SELECT GETDATE(), 'UDC_DEL', Particolare, CAST(IdxPosizione AS NVARCHAR(50)), -Qta + FROM deleted + WHERE CAST(IdxPosizione AS NVARCHAR(50)) IN (SELECT CodMagAS FROM AS400_MagCont WHERE Attivo = 1) + ) + END + */ +END + + +-- elimino cartellini correnti +delete from ElencoCartellini +go + +-- rimetto trigger +-- ============================================= +-- Author: Samuele E. Locatelli +-- Create date: 2009-09-20 +-- Description: trigger x inserimento movimenti +-- nella coda di trasferimento batch +-- verso AS400 x DELETE UDC +-- ============================================= +ALTER TRIGGER dbo.trg_DelMovAS + ON dbo.ElencoCartellini + AFTER DELETE +AS +BEGIN + + -- setup variabili e verbosità + SET NOCOUNT ON; + -- inserisco movimenti AS + INSERT INTO AS400_BatchMovimenti(DataIns, CodEvento, Particolare, CodMagAS, Quantita) + ( + SELECT GETDATE(), 'UDC_DEL', Particolare, CAST(IdxPosizione AS NVARCHAR(50)), -Qta + FROM deleted + WHERE CAST(IdxPosizione AS NVARCHAR(50)) IN (SELECT CodMagAS FROM AS400_MagCont WHERE Attivo = 1) AND ((CASE WHEN ISNULL(Particolare,'n.d.') = 'n.d.' THEN 0 ELSE 1 END) = 1) + ) + +END +go + + +-- elimino storico cartellini +DELETE FROM StoricoCartellini +go + +-- indico tutte celle vuote! +update Celle +set Piena = 0 +GO + +-- resetto contatori! +delete from ContatoriListePrelievo +go + +delete from ContatoriUdc +go + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(258, GETDATE()) +GO \ No newline at end of file diff --git a/GMW_data/SqlScripts/V1.1/GMW_00259.sql b/GMW_data/SqlScripts/V1.1/GMW_00259.sql new file mode 100644 index 00000000..c349dd55 --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00259.sql @@ -0,0 +1,694 @@ +-- update tab transizione eventi + +update AnagTipoDelibere +set CodEvento='DelWipPost' +where CodTipoDelibera='DelibWipPost' +go + +-- aggiunta valori nuovi in AnagTipoEvento e TabTranPosizEventi +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.AnagTipoEvento + VALUES (N'UDC_CONS', N'Consumo UDC') +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.AnagPosizioni + VALUES (-84, N'AM - WIP consumati') +INSERT INTO dbo.AnagPosizioni + VALUES (-56, N'AM - MP consumati') +go + +commit transaction +go + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.TabTranPosizEventi + VALUES (N'UDC_CONS', 56, -56) +INSERT INTO dbo.TabTranPosizEventi + VALUES (N'UDC_CONS', 84, -84) +go + +commit transaction +go + + +--- update tabelle varie: anag mag! +set xact_abort on +go + +begin transaction +go + +alter table AnagMag add + Nascosto bit constraint DF_AnagMag_Nascosto default (0) +go + +update AnagMag set Nascosto=0 +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_ParticolariOverview +* +* elenco di overview sullo stato dei magazzini (dettaglio a "maglie larghe") +* +* Steamware, S.E.L. +* mod: 2010.06.02 +* +****************************************/ +alter PROCEDURE stp_magazzinoOverview +( + @CodCS VARCHAR(2) +) +AS + + SELECT AnagMag.CodCS, AnagMag.CodMag, AnagMag.DescMag, Blocchi.IdxBlocco, Blocchi.CodBlocco, + TipoCella.Capienza * Blocchi.NumX * Blocchi.NumY * Blocchi.NumZ AS TotCelle, + TipoCella.Capienza * COUNT(DISTINCT Celle.IdxCella) AS CelleAttive, + COUNT(PosizioneUdcCorrente.UDC) AS CelleOccupate, + TipoCella.Capienza * COUNT(DISTINCT Celle.IdxCella) - COUNT(PosizioneUdcCorrente.UDC) AS CelleLibere, + ISNULL(MIN(PosizioneUdcCorrente.DataRif), GETDATE()) AS Oldest, ISNULL(MAX(PosizioneUdcCorrente.DataRif), GETDATE()) AS Newest +FROM TipoCella INNER JOIN + AnagMag INNER JOIN + Blocchi ON AnagMag.CodMag = Blocchi.CodMag AND AnagMag.CodCS = Blocchi.CodCS ON TipoCella.CodMag = AnagMag.CodMag AND + TipoCella.CodCS = AnagMag.CodCS LEFT OUTER JOIN + Celle ON TipoCella.IdxTipoCella = Celle.IdxTipoCella AND Blocchi.IdxBlocco = Celle.IdxBlocco LEFT OUTER JOIN + PosizioneUdcCorrente ON Celle.IdxCella = PosizioneUdcCorrente.IdxCella +WHERE (Celle.Attiva = 1) AND (AnagMag.CodCS = @CodCS) AND (ISNULL(AnagMag.Nascosto, 0) = 0) +GROUP BY AnagMag.CodCS, AnagMag.CodMag, AnagMag.DescMag, Blocchi.IdxBlocco, Blocchi.CodBlocco, Blocchi.NumX, Blocchi.NumY, Blocchi.NumZ, + TipoCella.Capienza +ORDER BY AnagMag.CodMag, Blocchi.CodBlocco + +RETURN +go + +/*************************************** +* STORED stp_ParticolariOverview +* +* elenco di overview sullo stato dei magazzini LOGICI (dettaglio a "maglie larghe") +* +* Steamware, S.E.L. +* mod: 2010.09.15 +* +****************************************/ +alter PROCEDURE stp_magazzinoLogicoOverview +( + @CodCS VARCHAR(2) +) +AS + +SELECT ElencoCartellini.CodCS, AnagPosizioni.IdxPosizione AS CodMagLogico, AnagPosizioni.DescPosizione AS DescMagLogico, Blocchi.IdxBlocco, AnagMag.CodMag, + Blocchi.CodBlocco, COUNT(ElencoCartellini.UDC) AS CelleOccupate, ISNULL(MIN(PosizioneUdcCorrente.DataRif), GETDATE()) AS Oldest, + ISNULL(MAX(PosizioneUdcCorrente.DataRif), GETDATE()) AS Newest +FROM Celle INNER JOIN + Blocchi INNER JOIN + AnagMag ON Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS ON Celle.IdxBlocco = Blocchi.IdxBlocco INNER JOIN + ElencoCartellini INNER JOIN + PosizioneUdcCorrente ON ElencoCartellini.UDC = PosizioneUdcCorrente.UDC INNER JOIN + AnagPosizioni ON ElencoCartellini.IdxPosizione = AnagPosizioni.IdxPosizione ON Celle.IdxCella = PosizioneUdcCorrente.IdxCella +WHERE (ElencoCartellini.CodCS = @CodCS) AND (ISNULL(AnagMag.Nascosto, 0) = 0) +GROUP BY ElencoCartellini.CodCS, AnagPosizioni.IdxPosizione, AnagPosizioni.DescPosizione, Blocchi.IdxBlocco, Blocchi.CodBlocco, AnagMag.CodMag +ORDER BY CodMagLogico, Blocchi.CodBlocco + +RETURN +go + +commit +go + + +-- update triggers cartellini +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +-- ============================================= +-- Author: Samuele E. Locatelli +-- Create date: 2009-09-20 +-- Description: trigger x inserimento movimenti +-- nella coda di trasferimento batch +-- verso AS400 x UPDATE UDC +-- ============================================= +alter TRIGGER trg_updMovAS + ON ElencoCartellini + AFTER UPDATE +AS +BEGIN + + -- setup variabili e verbosità + SET NOCOUNT ON; + DECLARE @partOk AS BIT + DECLARE @IdxPosFrom AS INT + DECLARE @IdxPosTo AS INT + DECLARE @magFrom AS NVARCHAR(50) + DECLARE @magTo AS NVARCHAR(50) + DECLARE @qta AS DECIMAL(10,2) + + -- controllo che CI SIA il particolare (altrimenti non eseguo) + SET @partOk = (SELECT CASE WHEN ISNULL(Particolare,'n.d.') = 'n.d.' THEN 0 ELSE 1 END FROM deleted) + + IF(@partOk = 1) + SET @qta = (SELECT Qta FROM inserted) + -- se c'è stata modifica di quantità inizio a rettificare quella + IF UPDATE(Qta) + BEGIN + INSERT INTO AS400_BatchMovimenti(DataIns, CodEvento, Particolare, CodMagAS, Quantita) + ( + SELECT GETDATE(), 'UDC_MOD', Particolare, CAST(IdxPosizione AS NVARCHAR(50)), @qta-Qta + FROM deleted + WHERE CAST(IdxPosizione AS NVARCHAR(50)) IN (SELECT CodMagAS FROM AS400_MagCont WHERE Attivo = 1) + ) + END + + -- controllo poi se sia cambiato il magazzino, altrimenti non lo inserisco + IF UPDATE(IdxPosizione) + BEGIN + -- Prendo le posizioni di magazzino precedente e nuova + SET @IdxPosFrom = (SELECT IdxPosizione FROM deleted) + SET @IdxPosTo = (SELECT IdxPosizione FROM inserted) + -- Le trasformo nelle equivalenti stringhe del codMag SE attive + SET @magFrom = (SELECT ISNULL(CodMagAS,'---') FROM AS400_MagCont WHERE Attivo = 1 AND CodMagAs = CAST(@IdxPosFrom AS NVARCHAR(50))) + SET @magTo = (SELECT ISNULL(CodMagAS,'---') FROM AS400_MagCont WHERE Attivo = 1 AND CodMagAs = CAST(@IdxPosTo AS NVARCHAR(50))) + + -- inserisco un movimento di deposito verso mag nuovo (SE attivo) + IF (@magFrom <> '---') + BEGIN + INSERT INTO AS400_BatchMovimenti(DataIns, CodEvento, Particolare, CodMagAS, Quantita) + ( + SELECT GETDATE(), 'UDC_MOV', Particolare, CAST(IdxPosizione AS NVARCHAR(50)), -@qta + FROM deleted + WHERE CAST(IdxPosizione AS NVARCHAR(50)) IN (SELECT CodMagAS FROM AS400_MagCont WHERE Attivo = 1) + ) + END + -- inserisco un movimento di prelievo verso mag vecchio (SE attivo) + IF (@magTo <> '---') + BEGIN + INSERT INTO AS400_BatchMovimenti(DataIns, CodEvento, Particolare, CodMagAS, Quantita) + ( + SELECT GETDATE(), 'UDC_MOV', Particolare, CAST(IdxPosizione AS NVARCHAR(50)), @qta + FROM inserted + WHERE CAST(IdxPosizione AS NVARCHAR(50)) IN (SELECT CodMagAS FROM AS400_MagCont WHERE Attivo = 1) + ) + END + END + +END +go + +-- ============================================= +-- Author: Samuele E. Locatelli +-- Create date: 2009-09-20 +-- Description: trigger x inserimento movimenti +-- nella coda di trasferimento batch +-- verso AS400 x DELETE UDC +-- ============================================= +alter TRIGGER trg_DelMovAS + ON ElencoCartellini + AFTER DELETE +AS +BEGIN + + -- setup variabili e verbosità + SET NOCOUNT ON; + -- inserisco movimenti AS + INSERT INTO AS400_BatchMovimenti(DataIns, CodEvento, Particolare, CodMagAS, Quantita) + ( + SELECT GETDATE(), 'UDC_DEL', Particolare, CAST(IdxPosizione AS NVARCHAR(50)), -Qta + FROM deleted + WHERE CAST(IdxPosizione AS NVARCHAR(50)) IN (SELECT CodMagAS FROM AS400_MagCont WHERE Attivo = 1) AND ((CASE WHEN ISNULL(Particolare,'n.d.') = 'n.d.' THEN 0 ELSE 1 END) = 1) + ) + +END +go + +-- ============================================= +-- Author: Samuele E. Locatelli +-- Create date: 2009-09-20 +-- Description: trigger x inserimento movimenti +-- nella coda di trasferimento batch +-- verso AS400 x INSERT UDC +-- ============================================= +alter TRIGGER trg_InsMovAS + ON ElencoCartellini + AFTER INSERT +AS +BEGIN + + -- setup variabili e verbosità + SET NOCOUNT ON; + DECLARE @partOk AS BIT + + -- controllo che CI SIA il particoalre (altrimenti non eseguo) + SET @partOk = (SELECT CASE WHEN ISNULL(Particolare,'n.d.') = 'n.d.' THEN 0 ELSE 1 END FROM inserted) + + IF(@partOk = 1) + BEGIN + -- metto in storico la posizione attuale dell'UDC (SE esiste) CANCELLATO + INSERT INTO AS400_BatchMovimenti(DataIns, CodEvento, Particolare, CodMagAS, Quantita) + ( + SELECT GETDATE(), 'UDC_NEW', Particolare, CAST(IdxPosizione AS NVARCHAR(50)), Qta + FROM inserted + WHERE CAST(IdxPosizione AS NVARCHAR(50)) IN (SELECT CodMagAS FROM AS400_MagCont WHERE Attivo = 1) + ) + END + +END +go + +commit +go + + +-- fix dei codSoggetto + +set xact_abort on +go + +begin transaction +go + +alter table StoricoCartellini alter column + CodSoggetto nchar(17) +go + +commit +go + +-- aggiungo vista +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +create VIEW v_posizioniDelibere +AS +SELECT DISTINCT tpe.IdxPosizione, atd.CodTipoDelibera +FROM dbo.TabTranPosizEventi AS tpe INNER JOIN + dbo.AnagTipoEvento AS ate ON tpe.CodEvento = ate.CodEvento INNER JOIN + dbo.AnagTipoDelibere AS atd ON ate.CodEvento = atd.CodEvento +go + +exec sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "tpe" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 118 + Right = 208 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "ate" + Begin Extent = + Top = 6 + Left = 246 + Bottom = 101 + Right = 416 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "atd" + Begin Extent = + Top = 6 + Left = 454 + Bottom = 118 + Right = 632 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 9 + Width = 284 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_posizioniDelibere' +go + +exec sp_addextendedproperty 'MS_DiagramPaneCount', 1, 'SCHEMA', 'dbo', 'VIEW', 'v_posizioniDelibere' +go + +commit +go + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +alter VIEW v_UdcDetail +AS +SELECT dbo.ElencoCartellini.UDC, ISNULL(dbo.ElencoCartellini.RagSociale, N'') AS RagSociale, ISNULL(dbo.ElencoCartellini.Particolare, N'') AS Particolare, + ISNULL(dbo.ElencoCartellini.DescParticolare, N'') AS DescParticolare, ISNULL(dbo.ElencoCartellini.DisegnoGrezzo, N'') AS DisegnoGrezzo, + ISNULL(dbo.ElencoCartellini.Esponente, N'') AS Esponente, ISNULL(dbo.ElencoCartellini.DescImpianto, N'') AS DescImpianto, ISNULL(dbo.ElencoCartellini.DataFus, + N'') AS DataFus, ISNULL(dbo.ElencoCartellini.TurnoFus, 0) AS TurnoFus, dbo.ElencoCartellini.CodImballo, dbo.ElencoCartellini.Qta, + ISNULL(dbo.AnagStatiProdotto.DescStato, N'') AS DescStato, dbo.ElencoCartellini.ModDate, ISNULL(dbo.Blocchi.CodMag, N'') AS CodMag, + ISNULL(dbo.Blocchi.CodBlocco, N'') AS CodBlocco, ISNULL(dbo.Celle.CodCella, N'') AS CodCella, ISNULL(dbo.Celle.IdxCella, 0) AS IdxCella, ISNULL(dbo.Celle.X, 0) + AS X, ISNULL(dbo.Celle.Y, 0) AS Y, ISNULL(dbo.Celle.Z, 0) AS Z, dbo.ElencoCartellini.IdxPosizione +FROM dbo.AnagStatiProdotto RIGHT OUTER JOIN + dbo.ElencoCartellini ON dbo.AnagStatiProdotto.CodStato = dbo.ElencoCartellini.CodStato AND + dbo.AnagStatiProdotto.CodStato = dbo.ElencoCartellini.CodStato LEFT OUTER JOIN + dbo.Celle INNER JOIN + dbo.PosizioneUdcCorrente ON dbo.Celle.IdxCella = dbo.PosizioneUdcCorrente.IdxCella AND dbo.Celle.IdxCella = dbo.PosizioneUdcCorrente.IdxCella AND + dbo.Celle.IdxCella = dbo.PosizioneUdcCorrente.IdxCella INNER JOIN + dbo.Blocchi ON dbo.Celle.IdxBlocco = dbo.Blocchi.IdxBlocco INNER JOIN + dbo.AnagMag ON dbo.Blocchi.CodMag = dbo.AnagMag.CodMag AND dbo.Blocchi.CodCS = dbo.AnagMag.CodCS AND + dbo.Blocchi.CodMag = dbo.AnagMag.CodMag AND dbo.Blocchi.CodCS = dbo.AnagMag.CodCS AND dbo.Blocchi.CodMag = dbo.AnagMag.CodMag AND + dbo.Blocchi.CodCS = dbo.AnagMag.CodCS ON dbo.ElencoCartellini.UDC = dbo.PosizioneUdcCorrente.UDC +go + +exec sp_updateextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "AnagStatiProdotto" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 101 + Right = 208 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "ElencoCartellini" + Begin Extent = + Top = 6 + Left = 246 + Bottom = 309 + Right = 416 + End + DisplayFlags = 280 + TopColumn = 11 + End + Begin Table = "Celle" + Begin Extent = + Top = 27 + Left = 818 + Bottom = 156 + Right = 988 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "PosizioneUdcCorrente" + Begin Extent = + Top = 71 + Left = 548 + Bottom = 200 + Right = 718 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "Blocchi" + Begin Extent = + Top = 70 + Left = 1080 + Bottom = 199 + Right = 1250 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "AnagMag" + Begin Extent = + Top = 188 + Left = 799 + Bottom = 334 + Right = 969 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 22 + Width = 284 + Width = 15', 'SCHEMA', 'dbo', 'VIEW', 'v_UdcDetail' +go + +exec sp_updateextendedproperty 'MS_DiagramPane2', '00 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_UdcDetail' +go + +commit +go + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(259, GETDATE()) +GO \ No newline at end of file diff --git a/GMW_data/SqlScripts/V1.1/GMW_00260.sql b/GMW_data/SqlScripts/V1.1/GMW_00260.sql new file mode 100644 index 00000000..622334c3 --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00260.sql @@ -0,0 +1,1103 @@ +-- update stored varie + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_consumaMP +* +* Salva il movimento di consumo dell'UDC di MP indicato +* +* Steamware, S.E.L. +* mod: 2010.09.24 +* +****************************************/ +create PROCEDURE BatchQueue.stp_consumaMP +( + @XRPQLN INT, --è il num rap qualità + @XNRETI NVARCHAR(10), -- è il numRapQual + @XDTPRO INT, -- data 8 cifre aaaammgg + @XTRPRO NVARCHAR(5) -- turno +) +AS + -- BOZZA DA COMPLETARE A CURA MAZZUCCONI!!! + + DECLARE @SQL AS NVARCHAR(1000) + + -- Faccio chiamata su AS400 + + SET @SQL = N' OPENQUERY( P65220DC, ''UPDATE MAZZT_DTV3.XOGIX00F' + SET @SQL = @SQL + 'SET XDTPRO = ' + @XDTPRO + ', XTRPRO = ' + @XTRPRO + SET @SQL = @SQL + ', XDESMT = ''F01'', XMATSC=''S'' ' + SET @SQL = @SQL + 'WHERE XRPQLN =' + @XRPQLN + ' AND XNRETI = ' + @XNRETI + ''' )' + + EXEC sp_executesql @SQL + +RETURN +go + +/*************************************** +* STORED stp_annullaUDC +* +* annulla un UDC +* +* Steamware, S.E.L. +* mod: 2010.04.28 +* +****************************************/ +alter PROCEDURE stp_annullaUDC +( + @UDC VARCHAR(20), + @CodSoggetto VARCHAR(17) +) +AS + +DECLARE @CodEvento VARCHAR(10) +DECLARE @CodTipoDichiaraz VARCHAR(1) + +SET @CodEvento = 'UDC_ANN' +SET @CodTipoDichiaraz = 'U' + +BEGIN TRAN + -- registro in StoricoCartellini + INSERT INTO StoricoCartellini(DataEv, CodEvento, CodTipoDichiaraz, UDC, CodCS,CodCliente, RagSociale, Particolare, DescParticolare, + DisegnoGrezzo, Esponente, CodImpianto, DescImpianto, CodStampo, Figura, DataFus, TurnoFus, CodImballo, CodSoggetto, + NumCont, Tara, Qta, CodStato, IdxPosizione, PesoTot, PesoCad) + SELECT GETDATE() AS DataEv, @CodEvento AS CodEvento, @CodTipoDichiaraz AS CodTipoDichiaraz, UDC, CodCS, + CodCliente, RagSociale, Particolare, DescParticolare, DisegnoGrezzo, Esponente, CodImpianto, DescImpianto, CodStampo, Figura, + DataFus, TurnoFus, CodImballo, @CodSoggetto AS CodSoggetto, NumCont, Tara, Qta, CodStato, IdxPosizione, PesoTot, PesoCad + FROM ElencoCartellini + WHERE (UDC = @UDC) + + -- faccio update + UPDATE ElencoCartellini + SET IdxPosizione = 0 + WHERE UDC = @UDC + + +COMMIT TRAN + +RETURN +go + +commit +go + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_getUdcDetailFullCode +* +* ottiene l'elenco degli UDC con i dati significativi partendo da un codice UDC COMPLETO +* +* Steamware, S.E.L. +* mod: 2010.05.24 +* +****************************************/ +alter PROCEDURE stp_getUdcDetailFullCode +( + @UDC VARCHAR(50), + @CodCS VARCHAR(2) +) +AS + +SELECT ElencoCartellini.UDC, 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.DescImpianto, N'') AS DescImpianto, + ISNULL(ElencoCartellini.DataFus, N'') AS DataFus, ISNULL(ElencoCartellini.TurnoFus, 0) AS TurnoFus, ElencoCartellini.CodImballo, + ElencoCartellini.Qta, ISNULL(AnagStatiProdotto.DescStato, N'') AS DescStato, ElencoCartellini.ModDate, + ISNULL(Blocchi.CodMag, N'') AS CodMag, + ISNULL(Blocchi.CodBlocco, N'') AS CodBlocco, ISNULL(Celle.CodCella, N'') AS CodCella, ISNULL(dbo.Celle.IdxCella, 0) AS IdxCella, + ISNULL(Celle.X, 0) AS X, ISNULL(Celle.Y, 0) AS Y, ISNULL(Celle.Z, 0) AS Z, ElencoCartellini.IdxPosizione +FROM AnagStatiProdotto RIGHT OUTER JOIN + ElencoCartellini ON AnagStatiProdotto.CodStato = ElencoCartellini.CodStato AND AnagStatiProdotto.CodStato = ElencoCartellini.CodStato + LEFT OUTER JOIN Celle INNER JOIN PosizioneUdcCorrente ON Celle.IdxCella = PosizioneUdcCorrente.IdxCella + AND Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND Celle.IdxCella = PosizioneUdcCorrente.IdxCella + INNER JOIN Blocchi ON Celle.IdxBlocco = Blocchi.IdxBlocco INNER JOIN AnagMag ON Blocchi.CodMag = AnagMag.CodMag + AND Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag + AND Blocchi.CodCS = AnagMag.CodCS ON ElencoCartellini.UDC = PosizioneUdcCorrente.UDC +WHERE (ElencoCartellini.UDC = @UDC) AND (ElencoCartellini.CodCS = @CodCS) + +RETURN +go + +/*************************************** +* STORED stp_getUdcDetailFullCode +* +* ottiene l'elenco degli UDC con i dati significativi partendo da un valore da cercare come LIKE in +* - UDC +* - Particolare +* +* Steamware, S.E.L. +* mod: 2010.05.24 +* +****************************************/ +alter PROCEDURE stp_getUdcDetailLikeSearch +( + @searchVal VARCHAR(50), + @CodCS VARCHAR(2) +) +AS + +SELECT ElencoCartellini.UDC, 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.DescImpianto, N'') AS DescImpianto, + ISNULL(ElencoCartellini.DataFus, N'') AS DataFus, ISNULL(ElencoCartellini.TurnoFus, 0) AS TurnoFus, ElencoCartellini.CodImballo, + ElencoCartellini.Qta, ISNULL(AnagStatiProdotto.DescStato, N'') AS DescStato, ElencoCartellini.ModDate, + ISNULL(Blocchi.CodMag, N'') AS CodMag, ISNULL(Blocchi.CodBlocco, N'') AS CodBlocco, ISNULL(Celle.CodCella, N'') AS CodCella, + ISNULL(dbo.Celle.IdxCella, 0) AS IdxCella, ISNULL(Celle.X, 0) AS X, ISNULL(Celle.Y, 0) AS Y, ISNULL(Celle.Z, 0) AS Z, ElencoCartellini.IdxPosizione +FROM AnagStatiProdotto RIGHT OUTER JOIN ElencoCartellini + ON AnagStatiProdotto.CodStato = ElencoCartellini.CodStato AND AnagStatiProdotto.CodStato = ElencoCartellini.CodStato + LEFT OUTER JOIN Celle INNER JOIN PosizioneUdcCorrente + ON Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND + Celle.IdxCella = PosizioneUdcCorrente.IdxCella INNER JOIN + Blocchi ON Celle.IdxBlocco = Blocchi.IdxBlocco INNER JOIN + AnagMag ON Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND + Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS ON + ElencoCartellini.UDC = PosizioneUdcCorrente.UDC +WHERE (ElencoCartellini.CodCS = @CodCS) AND + ((ElencoCartellini.UDC like '%'+ @searchVal+'%') OR (ElencoCartellini.Particolare like '%'+ @searchVal+'%') OR + (ElencoCartellini.RagSociale like '%'+ @searchVal+'%')) + +RETURN +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_rappQualGetByNumRapQual +* +* Ottiene l'elenco dei record di rapp qualità di AS dato il numero del rapporto di qualità che NON HANNO UDC +* +* Steamware, S.E.L. +* mod: 2010.09.23 +* +****************************************/ +alter PROCEDURE stp_rappQualGetByNumRapQual +( + @nRapQual INT +) +AS + -- restituisce le righe richieste + SELECT * + FROM RilPro.RapQual + WHERE (nRapQual = @nRapQual)-- AND (UDC IS NULL) + +RETURN +go + +/*************************************** +* STORED stp_sbloccaUdc +* +* sblocca un dato UDC per modifica +* +* Steamware, S.E.L. +* mod: 2010.04.28 +* +****************************************/ +alter PROCEDURE stp_sbloccaUdc +( + @UDC VARCHAR(20), + @CodSoggetto VARCHAR(17) +) +AS + +DECLARE @CodEvento VARCHAR(10) +DECLARE @CodTipoDichiaraz VARCHAR(1) + +SET @CodEvento = 'UDC_SBL' +SET @CodTipoDichiaraz = 'U' + +BEGIN TRAN + -- registro in StoricoCartellini + INSERT INTO StoricoCartellini(DataEv, CodEvento, CodTipoDichiaraz, UDC, CodCS,CodCliente, RagSociale, Particolare, DescParticolare, + DisegnoGrezzo, Esponente, CodImpianto, DescImpianto, CodStampo, Figura, DataFus, TurnoFus, CodImballo, CodSoggetto, + NumCont, Tara, Qta, CodStato, IdxPosizione, PesoTot, PesoCad) + SELECT GETDATE() AS DataEv, @CodEvento AS CodEvento, @CodTipoDichiaraz AS CodTipoDichiaraz, UDC, CodCS, + CodCliente, RagSociale, Particolare, DescParticolare, DisegnoGrezzo, Esponente, CodImpianto, DescImpianto, CodStampo, Figura, + DataFus, TurnoFus, CodImballo, @CodSoggetto AS CodSoggetto, NumCont, Tara, Qta, CodStato, IdxPosizione, PesoTot, PesoCad + FROM ElencoCartellini + WHERE (UDC = @UDC) + + -- faccio update + UPDATE ElencoCartellini + SET ModDate = GETDATE() + WHERE UDC = @UDC + +COMMIT TRAN + +RETURN +go + +/*************************************** +* STORED stp_scaricaUdc +* +* elimina dalle posizioni correnti un UDC, salvandone la posizione precedente nella tab storica (per scaricamento / spedizione) +* +* Steamware, S.E.L. +* mod: 2010.09.28 +* +****************************************/ +alter PROCEDURE stp_scaricaUdc +( + @UDC VARCHAR(50), + @IdxCellaFrom INT, + @IdxPosizione INT +) +AS + +BEGIN TRAN + /* + -- inizio mettendo in storico la posizione attuale dell'UDC (SE esiste) + INSERT INTO PosizioneUdcStorico(UDC, IdxCella, CodCS, DataInizio, DataFine) + ( + SELECT UDC, IdxCella, CodCS, DataRif as DataInizio, GETDATE() as DataFine + FROM PosizioneUdcCorrente + WHERE UDC = @UDC AND IdxCella = @IdxCellaFrom + ) + */ + -- libero la posizione attuale dell'UDC (se c'è...) + DELETE + FROM PosizioneUdcCorrente + WHERE UDC = @UDC AND IdxCella = @IdxCellaFrom + + -- aggiorno l'UDC come posizione finale... + UPDATE ElencoCartellini + SET IdxPosizione = @IdxPosizione + WHERE UDC = @UDC + +COMMIT TRAN + +RETURN +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_UDC_insNew +* +* crea un nuovo record nella TabStatoOdpUdc e restituisce il codice UDC appena creato +* +* Steamware, S.E.L. +* mod: 2010.04.28 +* +****************************************/ +alter PROCEDURE stp_UDC_insNew +( + @CodCS VARCHAR(2), + @Flusso VARCHAR(2), + @Anno VARCHAR(2), + @Tara FLOAT, + @CodImballo AS VARCHAR(50), + @CodTipoDichiaraz CHAR(1), + @CodSoggetto VARCHAR(17) +) +AS + +-- DECLARE iniziali +DECLARE @UDC AS VARCHAR(20) +DECLARE @numFlu AS INT +DECLARE @numUdc AS INT +DECLARE @nextUdc AS INT + +------------------------------------------------------------------------------------------------------ +-- Flusso +------------------------------------------------------------------------------------------------------ +-- controllo se esiste il flusso (bilancia)... +SET @numFlu = ( + SELECT count(*) + FROM AnagBilance + WHERE CodBilancia = @Flusso +) +-- ...sennò lo creo... +IF(@numFlu = 0) + BEGIN + -- se c'è inserisco in tab + INSERT INTO AnagBilance(CodBilancia, DescrImpianto, CodCS) + VALUES (@Flusso, @Flusso, @CodCS) + END +------------------------------------------------------------------------------------------------------ + + +------------------------------------------------------------------------------------------------------ +-- UDC +------------------------------------------------------------------------------------------------------ +-- controllo se ci sia già un UDC per company / flusso anno +BEGIN TRAN + -- cerco nella tab contatori UDC l'ultimo valido + SET @numUdc = ( + SELECT count(*) + FROM ContatoriUdc + WHERE CodCS = @CodCS + AND Flusso = @Flusso + AND Anno = @Anno + ) + -- controllo se record c'è... + IF(@numUdc > 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 @numUdc = ( + SELECT LastIdx + FROM ContatoriUdc + WHERE CodCS = @CodCS + AND Flusso = @Flusso + AND Anno = @Anno + ) +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- Ciclo principale x inserimento nuovo record +------------------------------------------------------------------------------------------------------ +-- ottengo il nuovo codice UDC completo +--SET @UDC = 'U' + @CodCS + @Flusso + @Anno + dbo.f_padLeft(CAST(@numUdc AS VARCHAR(6)), 6, '0') +SET @UDC = dbo.componiUdc(@CodCS, @Flusso, @Anno, @numUdc) + +-- inserisco un nuovo record +INSERT INTO ElencoCartellini(CodCS, UDC, Tara, IdxPosizione, Qta, CodImballo, CreateDate, ModDate) +VALUES (@CodCS, @UDC, @Tara, 0, 0, @CodImballo, GETDATE(), GETDATE()) +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- restituisco la tab dati con l'udc appena inserito +------------------------------------------------------------------------------------------------------ +SELECT * +FROM ElencoCartellini +WHERE UDC = @UDC +------------------------------------------------------------------------------------------------------ + +RETURN +go + +/*************************************** +* STORED stp_UDC_insNewFull +* +* crea un nuovo record nella TabStatoOdpUdc FULL (con pesi, qta...) e restituisce il codice UDC appena creato +* +* Steamware, S.E.L. +* mod: 2010.04.28 +* +****************************************/ +alter PROCEDURE stp_UDC_insNewFull +( + @CodCS VARCHAR(2), + @Flusso VARCHAR(2), + @Anno VARCHAR(2), + @CodCliente VARCHAR(6), + @Particolare VARCHAR(15), + @CodImpianto AS VARCHAR(50), + @CodStampo VARCHAR(8), + @Esponente VARCHAR(6), + @Figura VARCHAR(4), + @DataFus DATETIME, + @TurnoFus INT, + @CodImballo VARCHAR(15), + @CodSoggetto VARCHAR(17), + @Tara FLOAT, + @IdxPosizione INT, + @CodTipoDichiaraz CHAR(1), + @CodEvento VARCHAR(10), + @Qta DECIMAL(10,2), + @PesoTot FLOAT, + @PesoCad FLOAT, + @CodStato VARCHAR(50), + @UDC_parent VARCHAR(20), + @DoDeleteUdcParent BIT +) +AS + +-- DECLARE iniziali +DECLARE @UDC AS VARCHAR(20) +DECLARE @RagSociale AS VARCHAR(35) +DECLARE @DescParticolare AS VARCHAR(30) +DECLARE @DescImpianto AS VARCHAR(50) +DECLARE @DisegnoGrezzo AS VARCHAR(30) +DECLARE @NumCont AS INT +DECLARE @numFlu AS INT +DECLARE @numUdc AS INT +DECLARE @nextUdc AS INT +DECLARE @IdxCella AS INT + +------------------------------------------------------------------------------------------------------ +-- Caricamento Dati da anagrafica +------------------------------------------------------------------------------------------------------ +-- cerco la ragione sociale... +SET @RagSociale = ( + SELECT ISNULL(RagSociale, 'ND') AS RagSociale + FROM RilPro.AnagClienti + WHERE (CodCliente = @CodCliente) +) + +-- Cerco descrizione del particolare... +SET @DescParticolare = ( + SELECT ISNULL(DescParticolare, 'ND') AS DescParticolare + FROM RilPro.AnagParticolari + WHERE (Particolare = @Particolare) +) + +-- cerco codice disegno grezzo +SET @DisegnoGrezzo = ( + SELECT ISNULL(DisegnoGrezzo, 'ND') AS DescParticolare + FROM RilPro.AnagParticolari + WHERE (Particolare = @Particolare) +) + +-- cerco descrizione Impianto +SET @DescImpianto = ( + SELECT ISNULL(DescImpianto, 'ND') AS DescImpianto + FROM AnagImpianti + WHERE (CodImpianto = @CodImpianto) +) + + + +-- Calcolo contatore intero successivo x il contenitore... +SET @NumCont = ( + SELECT ISNULL(MAX(NumCont), 0) + 1 AS NumCont + FROM ElencoCartellini + WHERE (Particolare = @Particolare) + AND (DataFus = @DataFus) + AND (TurnoFus = @TurnoFus) + AND (CodImpianto = @CodImpianto) + AND (CodStampo = @CodStampo) + AND (Figura = @Figura) +) + + +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- Flusso +------------------------------------------------------------------------------------------------------ +-- controllo se esiste il flusso (bilancia)... +SET @numFlu = ( + SELECT count(*) + FROM AnagBilance + WHERE CodBilancia = @Flusso +) +-- ...sennò lo creo... +IF(@numFlu = 0) + BEGIN + -- se c'è inserisco in tab + INSERT INTO AnagBilance(CodBilancia, DescrImpianto, CodCS) + VALUES (@Flusso, @Flusso, @CodCS) + END +------------------------------------------------------------------------------------------------------ + + +------------------------------------------------------------------------------------------------------ +-- UDC +------------------------------------------------------------------------------------------------------ +-- controllo se ci sia già un UDC per company / flusso anno +BEGIN TRAN + -- cerco nella tab contatori UDC l'ultimo valido + SET @numUdc = ( + SELECT count(*) + FROM ContatoriUdc + WHERE CodCS = @CodCS + AND Flusso = @Flusso + AND Anno = @Anno + ) + -- controllo se record c'è... + IF(@numUdc > 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 @numUdc = ( + SELECT LastIdx + FROM ContatoriUdc + WHERE CodCS = @CodCS + AND Flusso = @Flusso + AND Anno = @Anno + ) +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- Ciclo principale x inserimento nuovo record +------------------------------------------------------------------------------------------------------ +BEGIN TRAN + -- ottengo il nuovo codice UDC completo + --SET @UDC = 'U' + @CodCS + @Flusso + @Anno + dbo.f_padLeft(CAST(@numUdc AS VARCHAR(6)), 6, '0') + SET @UDC = dbo.componiUdc(@CodCS, @Flusso, @Anno, @numUdc) + + + -- inserisco un nuovo record + INSERT INTO ElencoCartellini(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) + VALUES (@UDC, @CodCS, @CodCliente, @RagSociale, @Particolare, @DescParticolare, @DisegnoGrezzo, @Esponente, @CodImpianto, @DescImpianto, @CodStampo, @Figura, @DataFus, @TurnoFus, @CodImballo, @CodSoggetto, @NumCont, @Tara, @Qta, @CodStato, @IdxPosizione, @PesoTot, @PesoCad, GETDATE(), GETDATE()) + + -- inserisco relazione parent-child tra UDC vecchio (tara) e nuovo (pesa) + INSERT INTO RelazUDC(UDC_parent, UDC_child) + VALUES (@UDC_parent, @UDC) +COMMIT TRAN + +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- Ciclo secondario x eventuale cancelalzione UDC tara parent e inserimento in posizione +------------------------------------------------------------------------------------------------------ + -- se richiesto elimino l'UDC parent (tara) + IF(@DoDeleteUdcParent = 1) + BEGIN + DELETE FROM ElencoCartellini WHERE UDC = @UDC_parent + END + + -- calcolo la prima cella della posizione indicata.. + SET @IdxCella = ( + SELECT TOP 1 c.IdxCella + FROM Celle c INNER JOIN Blocchi b ON c.IdxBlocco=b.IdxBlocco + WHERE b.CodMag = CAST(@IdxPosizione AS NVARCHAR(50)) + ) + -- inserisco il cartellino nella prima cella della posizione indicata.. + INSERT INTO PosizioneUdcCorrente + VALUES (@UDC, @IdxCella, @CodCS, GETDATE()) +------------------------------------------------------------------------------------------------------ + +/* +------------------------------------------------------------------------------------------------------ +-- Salvataggio dati evento in tab StoricoEventi +------------------------------------------------------------------------------------------------------ +INSERT INTO StoricoEventi(DataEv, CodEvento, CodOperatore, CodTipoDichiaraz, CodCS, UDC, Qta, PesoTot, PesoCad, Particolare, CodStato, CodStampo, Figura, FiguraIncisa) +VALUES (GETDATE(), @CodEvento, @CodOperatore, @CodTipoDichiaraz, @CodCS, @UDC, @Qta, @PesoTot, @PesoCad, @Particolare, @CodStato, @CodStampo, @Figura, @FiguraIncisa) +------------------------------------------------------------------------------------------------------ +*/ + +------------------------------------------------------------------------------------------------------ +-- restituisco la tab dati con l'udc appena inserito +------------------------------------------------------------------------------------------------------ +SELECT * +FROM ElencoCartellini +WHERE UDC = @UDC +------------------------------------------------------------------------------------------------------ + +RETURN +go + +/*************************************** +* STORED stp_UDC_update +* +* aggiorna un cartellino dato il suo codice UDC e tutti i parametri da aggiornare +* +* Steamware, S.E.L. +* mod: 2010.04.30 +* +****************************************/ +alter PROCEDURE stp_UDC_update +( + @UDC_edit VARCHAR(20), + @CodCS VARCHAR(2), + @Flusso VARCHAR(2), + @Anno VARCHAR(2), + @CodCliente VARCHAR(6), + @Particolare VARCHAR(15), + @CodImpianto AS VARCHAR(50), + @CodStampo VARCHAR(8), + @Esponente VARCHAR(6), + @Figura VARCHAR(4), + @DataFus DATETIME, + @TurnoFus INT, + @CodImballo VARCHAR(15), + @CodSoggetto VARCHAR(17), + @Tara FLOAT, + @IdxPosizione INT, + @CodTipoDichiaraz CHAR(1), + @CodEvento VARCHAR(10), + @Qta DECIMAL(10,2), + @PesoTot FLOAT, + @PesoCad FLOAT, + @CodStato VARCHAR(50), + @UDC_parent VARCHAR(20) +) +AS + +-- DECLARE iniziali +DECLARE @RagSociale AS VARCHAR(35) +DECLARE @DescParticolare AS VARCHAR(30) +DECLARE @DescImpianto AS VARCHAR(50) +DECLARE @DisegnoGrezzo AS VARCHAR(30) +DECLARE @NumCont AS INT +DECLARE @numFlu AS INT +DECLARE @numUdc AS INT +DECLARE @nextUdc AS INT + +------------------------------------------------------------------------------------------------------ +-- Caricamento Dati da anagrafica +------------------------------------------------------------------------------------------------------ +-- cerco la ragione sociale... +SET @RagSociale = ( + SELECT ISNULL(RagSociale, 'ND') AS RagSociale + FROM RilPro.AnagClienti + WHERE (CodCliente = @CodCliente) +) + +-- Cerco descrizione del particolare... +SET @DescParticolare = ( + SELECT ISNULL(DescParticolare, 'ND') AS DescParticolare + FROM RilPro.AnagParticolari + WHERE (Particolare = @Particolare) +) + +-- cerco codice disegno grezzo +SET @DisegnoGrezzo = ( + SELECT ISNULL(DisegnoGrezzo, 'ND') AS DescParticolare + FROM RilPro.AnagParticolari + WHERE (Particolare = @Particolare) +) + +-- cerco descrizione Impianto +SET @DescImpianto = ( + SELECT ISNULL(DescImpianto, 'ND') AS DescImpianto + FROM AnagImpianti + WHERE (CodImpianto = @CodImpianto) +) + + + +-- Calcolo contatore intero successivo x il contenitore... +SET @NumCont = ( + SELECT NumCont + FROM ElencoCartellini + WHERE (UDC = @UDC_edit) +) + + +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- Flusso +------------------------------------------------------------------------------------------------------ +-- controllo se esiste il flusso (bilancia)... +SET @numFlu = ( + SELECT count(*) + FROM AnagBilance + WHERE CodBilancia = @Flusso +) +-- ...sennò lo creo... +IF(@numFlu = 0) + BEGIN + -- se c'è inserisco in tab + INSERT INTO AnagBilance(CodBilancia, DescrImpianto, CodCS) + VALUES (@Flusso, @Flusso, @CodCS) + END +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- Ciclo principale x edit record +------------------------------------------------------------------------------------------------------ +BEGIN TRAN + -- registro in StoricoCartellini + INSERT INTO StoricoCartellini(DataEv, CodEvento, CodTipoDichiaraz, UDC, CodCS,CodCliente, RagSociale, Particolare, DescParticolare, + DisegnoGrezzo, Esponente, CodImpianto, DescImpianto, CodStampo, Figura, DataFus, TurnoFus, CodImballo, CodSoggetto, + NumCont, Tara, Qta, CodStato, IdxPosizione, PesoTot, PesoCad) + SELECT GETDATE() AS DataEv, @CodEvento AS CodEvento, @CodTipoDichiaraz AS CodTipoDichiaraz, UDC, CodCS, + CodCliente, RagSociale, Particolare, DescParticolare, DisegnoGrezzo, Esponente, CodImpianto, DescImpianto, CodStampo, Figura, + DataFus, TurnoFus, CodImballo, @CodSoggetto AS CodSoggetto, NumCont, Tara, Qta, CodStato, IdxPosizione, PesoTot, PesoCad + FROM ElencoCartellini + WHERE (UDC = @UDC_edit) + + -- elimino vecchio record parent/child + DELETE FROM RelazUDC + WHERE (UDC_child = @UDC_edit) + + -- modifico il record + UPDATE ElencoCartellini + SET CodCS = @CodCS, CodCliente = @CodCliente, RagSociale = @RagSociale, Particolare = @Particolare, DescParticolare = @DescParticolare, + DisegnoGrezzo = @DisegnoGrezzo, Esponente = @Esponente, CodImpianto = @CodImpianto, DescImpianto = @DescImpianto, CodStampo = @CodStampo, + Figura = @Figura, DataFus = @DataFus, TurnoFus = @TurnoFus, CodImballo = @CodImballo, CodSoggetto = @CodSoggetto, NumCont = @NumCont, + Tara = @Tara, Qta = @Qta, CodStato = @CodStato, IdxPosizione = @IdxPosizione, PesoTot = @PesoTot, PesoCad = @PesoCad, ModDate = GETDATE() + WHERE UDC = @UDC_edit + + -- inserisco relazione aprent-child tra UDC vecchio (tara) e nuovo (pesa) + INSERT INTO RelazUDC(UDC_parent, UDC_child) + VALUES (@UDC_parent, @UDC_edit) +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- restituisco la tab dati con l'udc appena inserito +------------------------------------------------------------------------------------------------------ +SELECT * +FROM ElencoCartellini +WHERE UDC = @UDC_edit +------------------------------------------------------------------------------------------------------ + +RETURN +go + +/*************************************** +* STORED stp_UDC_updateIdxPosizione +* +* aggiorna un cartellino x la sua posizione logica +* +* Steamware, S.E.L. +* mod: 2010.06.12 +* +****************************************/ +alter PROCEDURE stp_UDC_updateIdxPosizione +( + @UDC VARCHAR(20), + @CodSoggetto VARCHAR(17), + @CodTipoDichiaraz CHAR(1), + @CodEvento VARCHAR(10), + @IdxPosizione INT +) +AS + + +------------------------------------------------------------------------------------------------------ +-- Ciclo principale x edit record +------------------------------------------------------------------------------------------------------ +BEGIN TRAN + + -- registro in StoricoCartellini + INSERT INTO StoricoCartellini(DataEv, CodEvento, CodTipoDichiaraz, UDC, CodCS,CodCliente, RagSociale, Particolare, DescParticolare, + DisegnoGrezzo, Esponente, CodImpianto, DescImpianto, CodStampo, Figura, DataFus, TurnoFus, CodImballo, CodSoggetto, + NumCont, Tara, Qta, CodStato, IdxPosizione, PesoTot, PesoCad) + SELECT GETDATE() AS DataEv, @CodEvento AS CodEvento, @CodTipoDichiaraz AS CodTipoDichiaraz, UDC, CodCS, + CodCliente, RagSociale, Particolare, DescParticolare, DisegnoGrezzo, Esponente, CodImpianto, DescImpianto, CodStampo, Figura, + DataFus, TurnoFus, CodImballo, @CodSoggetto AS CodSoggetto, NumCont, Tara, Qta, CodStato, IdxPosizione, PesoTot, PesoCad + FROM ElencoCartellini + WHERE (UDC = @UDC) + + -- modifico il record + UPDATE ElencoCartellini + SET IdxPosizione = @IdxPosizione, ModDate = GETDATE() + WHERE UDC = @UDC + +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- restituisco la tab dati con l'udc appena inserito +------------------------------------------------------------------------------------------------------ +SELECT * +FROM ElencoCartellini +WHERE UDC = @UDC +------------------------------------------------------------------------------------------------------ + +RETURN +go + +/*************************************** +* STORED stp_UDC_updateQty +* +* aggiorna un cartellino x la sua quantità +* +* Steamware, S.E.L. +* mod: 2010.06.12 +* +****************************************/ +alter PROCEDURE stp_UDC_updateQty +( + @UDC VARCHAR(20), + @CodSoggetto VARCHAR(17), + @CodTipoDichiaraz CHAR(1), + @CodEvento VARCHAR(10), + @Qta DECIMAL(10,2) +) +AS + + +------------------------------------------------------------------------------------------------------ +-- Ciclo principale x edit record +------------------------------------------------------------------------------------------------------ +BEGIN TRAN + + -- registro in StoricoCartellini + INSERT INTO StoricoCartellini(DataEv, CodEvento, CodTipoDichiaraz, UDC, CodCS,CodCliente, RagSociale, Particolare, DescParticolare, + DisegnoGrezzo, Esponente, CodImpianto, DescImpianto, CodStampo, Figura, DataFus, TurnoFus, CodImballo, CodSoggetto, + NumCont, Tara, Qta, CodStato, IdxPosizione, PesoTot, PesoCad) + SELECT GETDATE() AS DataEv, @CodEvento AS CodEvento, @CodTipoDichiaraz AS CodTipoDichiaraz, UDC, CodCS, + CodCliente, RagSociale, Particolare, DescParticolare, DisegnoGrezzo, Esponente, CodImpianto, DescImpianto, CodStampo, Figura, + DataFus, TurnoFus, CodImballo, @CodSoggetto AS CodSoggetto, NumCont, Tara, Qta, CodStato, IdxPosizione, PesoTot, PesoCad + FROM ElencoCartellini + WHERE (UDC = @UDC) + + -- modifico il record + UPDATE ElencoCartellini + SET Qta = @Qta, ModDate = GETDATE() + WHERE UDC = @UDC + +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- restituisco la tab dati con l'udc appena inserito +------------------------------------------------------------------------------------------------------ +SELECT * +FROM ElencoCartellini +WHERE UDC = @UDC +------------------------------------------------------------------------------------------------------ + +RETURN +go + +commit +go + + +-- ulteriori fix + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.AnagBilance + VALUES (N'MP', N'MP', N'MA') +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +UPDATE dbo.AnagTipoDelibere SET + CodEvento=N'DelWipPost' + WHERE CodTipoDelibera=N'DelibWipPost' +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +DELETE FROM dbo.AS400_MagCont WHERE CodMagAS=N'56' +go + +commit transaction +go + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.Permessi + VALUES ('LAB', 'menu.aspx', 3, 0, 'GestLaboratorioMP', 'GestLaboratorioMPExpl') +INSERT INTO dbo.Permessi + VALUES ('LAB_consumaUdc', 'LabConsumaUdc.aspx', 3, 2, 'ConsUDC', 'ConsUDCExpl') +INSERT INTO dbo.Permessi + VALUES ('LAB_stampaUdc', 'LabStampaUdc.aspx', 3, 1, 'AcqPrntUdc', 'AcqPrntUdcExpl') +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.Permessi2Funzione + VALUES ('LAB', N'GMW_lab', 'S') +INSERT INTO dbo.Permessi2Funzione + VALUES ('LAB_consumaUdc', N'GMW_lab', 'S') +INSERT INTO dbo.Permessi2Funzione + VALUES ('LAB_stampaUdc', N'GMW_lab', 'S') +go + +commit transaction +go + + + +/****** Object: StoredProcedure [dbo].[stp_UDC_insNew] Script Date: 09/29/2010 14:53:58 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + + +/*************************************** +* STORED stp_UDC_insNew +* +* crea un nuovo record nella TabStatoOdpUdc e restituisce il codice UDC appena creato +* +* Steamware, S.E.L. +* mod: 2010.04.28 +* +****************************************/ +ALTER PROCEDURE [dbo].[stp_UDC_insNew] +( + @CodCS VARCHAR(2), + @Flusso VARCHAR(2), + @Anno VARCHAR(2), + @Tara FLOAT, + @CodImballo AS VARCHAR(50), + @CodTipoDichiaraz CHAR(1), + @CodSoggetto VARCHAR(17) +) +AS + +-- DECLARE iniziali +DECLARE @UDC AS VARCHAR(20) +DECLARE @numFlu AS INT +DECLARE @numUdc AS INT +DECLARE @nextUdc AS INT + +------------------------------------------------------------------------------------------------------ +-- Flusso +------------------------------------------------------------------------------------------------------ +-- controllo se esiste il flusso (bilancia)... +SET @numFlu = ( + SELECT count(*) + FROM AnagBilance + WHERE CodBilancia = @Flusso +) +-- ...sennò lo creo... +IF(@numFlu = 0) + BEGIN + -- se c'è inserisco in tab + INSERT INTO AnagBilance(CodBilancia, DescrImpianto, CodCS) + VALUES (@Flusso, @Flusso, @CodCS) + END +------------------------------------------------------------------------------------------------------ + + +------------------------------------------------------------------------------------------------------ +-- UDC +------------------------------------------------------------------------------------------------------ +-- controllo se ci sia già un UDC per company / flusso anno +BEGIN TRAN + -- cerco nella tab contatori UDC l'ultimo valido + SET @numUdc = ( + SELECT count(*) + FROM ContatoriUdc + WHERE CodCS = @CodCS + AND Flusso = @Flusso + AND Anno = @Anno + ) + -- controllo se record c'è... + IF(@numUdc > 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 @numUdc = ( + SELECT LastIdx + FROM ContatoriUdc + WHERE CodCS = @CodCS + AND Flusso = @Flusso + AND Anno = @Anno + ) +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- Ciclo principale x inserimento nuovo record +------------------------------------------------------------------------------------------------------ +-- ottengo il nuovo codice UDC completo +--SET @UDC = 'U' + @CodCS + @Flusso + @Anno + dbo.f_padLeft(CAST(@numUdc AS VARCHAR(6)), 6, '0') +SET @UDC = dbo.componiUdc(@CodCS, @Flusso, @Anno, @numUdc) + +-- inserisco un nuovo record +INSERT INTO ElencoCartellini(CodCS, UDC, Tara, IdxPosizione, Qta, CodImballo, CodSoggetto, CreateDate, ModDate) +VALUES (@CodCS, @UDC, @Tara, 0, 0, @CodImballo, @CodSoggetto, GETDATE(), GETDATE()) +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- restituisco la tab dati con l'udc appena inserito +------------------------------------------------------------------------------------------------------ +SELECT * +FROM ElencoCartellini +WHERE UDC = @UDC +------------------------------------------------------------------------------------------------------ + +RETURN + +GO + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(260, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.1/GMW_00265.sql b/GMW_data/SqlScripts/V1.1/GMW_00265.sql new file mode 100644 index 00000000..d5de3376 --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00265.sql @@ -0,0 +1,435 @@ +-- update + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* function dateToAsFormat +* +* converte le date da DATETIME al formato AS 8 cifre AAAAMMGG +* +* Steamware, S.E.L. +* mod: 2010.09.29 +* +****************************************/ +create FUNCTION dateToAsFormat +( + @data DATETIME +) +RETURNS NVARCHAR(8) +AS + BEGIN + RETURN CONVERT(NVARCHAR(8), @data, 112) + END +go + +commit +go + + + + + +set xact_abort on +go + +begin transaction +go + +alter table PosizioneUdcStorico drop + constraint FK_PosizioneUdcStorico_ElencoCartellini +go + +exec sp_rename 'PK_PosizioneUdcStorico_1', 'tmp__PK_PosizioneUdcStorico_1', 'OBJECT' +go + +exec sp_rename 'PosizioneUdcStorico', 'tmp__PosizioneUdcStorico_0', 'OBJECT' +go + +create table PosizioneUdcStorico( + UDC nvarchar(50) not null, + IdxCella int not null, + DataInizio datetime not null, + CodCS nchar(2) not null, + DataFine datetime, + + constraint PK_PosizioneUdcStorico_1 primary key(UDC,IdxCella,DataInizio) +) +go + +alter table PosizioneUdcStorico add + constraint FK_PosizioneUdcStorico_ElencoCartellini foreign key(UDC) references ElencoCartellini(UDC) on update cascade +go + +insert into PosizioneUdcStorico(UDC,IdxCella,DataInizio,CodCS,DataFine) select UDC,IdxCella,DataInizio,CodCS,DataFine from tmp__PosizioneUdcStorico_0 +go + +drop table tmp__PosizioneUdcStorico_0 +go + +commit +go + + +create index [] on RilPro.RapQual(DataRapQual) + include(nRapQual,CodFor,CodLega,Qta,BenesQual,UDC) +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +create VIEW v_RapQualSunto +AS +SELECT TOP (100) PERCENT CAST(nRapQual AS NVARCHAR(20)) AS nRapQual, DataRapQual, CodFor, CodLega, SUM(Qta) AS Qta, BenesQual, COUNT(*) AS UdcTot, + COUNT(UDC) AS UdcAssoc +FROM RilPro.RapQual +GROUP BY nRapQual, DataRapQual, CodFor, CodLega, BenesQual +ORDER BY nRapQual +go + +exec sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "RapQual (RilPro)" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 314 + Right = 208 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 9 + Width = 284 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 12 + Column = 1440 + Alias = 1305 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_RapQualSunto' +go + +exec sp_addextendedproperty 'MS_DiagramPaneCount', 1, 'SCHEMA', 'dbo', 'VIEW', 'v_RapQualSunto' +go + +alter VIEW v_selMagLogico +AS +SELECT DISTINCT TOP (100) PERCENT CAST(IdxPosizione AS NVARCHAR(20)) AS value, 'Mag. ' + CAST(IdxPosizione AS NVARCHAR(20)) AS label, CodCS AS conditio +FROM dbo.ElencoCartellini +WHERE (IdxPosizione > 0) +ORDER BY label +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_batch_RapQual_S01 +* +* Esegue lo step 1 (caricamento dati RAW da AS400) per la tab dei rapporti di qualità +* +* Steamware, S.E.L. +* mod: 2010.09.23 +* +****************************************/ +alter PROCEDURE BatchQueue.stp_batch_RapQual_S01 +( + @minData DATETIME +) +AS + -- BOZZA DA COMPLETARE A CURA MAZZUCCONI!!! + + DECLARE @SQL AS NVARCHAR(1000) + DECLARE @dataAs400 AS VARCHAR(8) + + SET @dataAs400 = (SELECT dbo.dateToAsFormat(@minData)) + + -- svuoto tab raw attuale + /* + DELETE FROM RawData.XOGIX00F + */ + + + -- INSERISCO DA AS400 + /* + INSERT INTO RawData.XOGIX00F + ( + SET @SQL = + N'SELECT + XRPQLN + ,XRPQLD + ,XNRETI + ,XCDFOR + ,XCDTER + ,XCDPAR + ,XDTPRO + ,XTRPRO + ,XQTPRO + ,XDESMT + ,XMATSC + ,XBENQL + FROM OPENQUERY( P65220DC, ''SELECT * FROM MAZZT_DTV3.XOGIX00F WHERE XRPQLD >= ' + SET @SQL = @SQL + @dataAs400 + ''' )' + + EXEC sp_executesql @SQL + ) + */ + +RETURN +go + +commit +go + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_rappQualSuntoGetByDataRange +* +* Ottiene l'elenco dei record di rapp qualità di AS dato il range delle date +* +* Steamware, S.E.L. +* mod: 2010.09.29 +* +****************************************/ +create PROCEDURE stp_rappQualSuntoGetByDataRange +( + @dataFrom DATETIME, + @dataTo DATETIME +) +AS + -- restituisce le righe richieste + SELECT * + FROM v_RapQualSunto + WHERE (DataRapQual > dbo.dateToAsFormat(@dataFrom)) AND (DataRapQual < dbo.dateToAsFormat(@dataTo)) + ORDER BY nRapQual +RETURN +go + +/*************************************** +* STORED stp_rappQualSuntoGetByNumRap +* +* Ottiene il record di rapp qualità di AS dato il numero del rapporto di qualità +* +* Steamware, S.E.L. +* mod: 2010.09.29 +* +****************************************/ +create PROCEDURE stp_rappQualSuntoGetByNumRap +( + @nRapQual NVARCHAR(20) +) +AS + -- restituisce le righe richieste + SELECT * + FROM v_RapQualSunto + WHERE (nRapQual = @nRapQual) +RETURN +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 +) +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 + + -- 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(265, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.1/GMW_00270.sql b/GMW_data/SqlScripts/V1.1/GMW_00270.sql new file mode 100644 index 00000000..c4a72242 --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00270.sql @@ -0,0 +1,425 @@ +-- svuoto tab x procedere... +delete from AS400_BatchMovimenti +GO + + + +set xact_abort on +go + +begin transaction +go + +alter table AS400_BatchMovimenti drop + constraint FK_AS400_BatchMovimenti_AS400_MagCont , + constraint FK_AS400_BatchMovimenti_AnagTipoEvento +go + +exec sp_rename 'PK_AS400_BatchMovimenti', 'tmp__PK_AS400_BatchMovimenti', 'OBJECT' +go + +exec sp_rename 'AS400_BatchMovimenti', 'tmp__AS400_BatchMovimenti_1', 'OBJECT' +go + +create table AS400_BatchMovimenti( + DataIns datetime not null, + CodEvento nvarchar(10) not null, + Particolare nvarchar(15) not null, + UDC nvarchar(50) not null, + CodMagAS nvarchar(50) not null, + Quantita decimal(10,2) not null, + DataBatch datetime, + DataVerifica datetime, + + constraint PK_AS400_BatchMovimenti primary key(DataIns,CodEvento,Particolare,UDC,CodMagAS) +) +go + +alter table AS400_BatchMovimenti add + constraint FK_AS400_BatchMovimenti_AnagTipoEvento foreign key(CodEvento) references AnagTipoEvento(CodEvento) on update cascade, + constraint FK_AS400_BatchMovimenti_AS400_MagCont foreign key(CodMagAS) references AS400_MagCont(CodMagAS) on update cascade +go + +exec sp_addextendedproperty 'MS_Description', 'dataora inserimento in coda caricamento', 'SCHEMA', 'dbo', 'TABLE', 'AS400_BatchMovimenti', 'COLUMN', 'DataIns' +go + +exec sp_addextendedproperty 'MS_Description', 'NON MODIFICARE: nel codice si usano questi campi x chiamate...', 'SCHEMA', 'dbo', 'TABLE', 'AS400_BatchMovimenti', 'COLUMN', 'CodEvento' +go + +exec sp_addextendedproperty 'MS_Description', 'dataora di caricamento batch verso AS', 'SCHEMA', 'dbo', 'TABLE', 'AS400_BatchMovimenti', 'COLUMN', 'DataBatch' +go + +exec sp_addextendedproperty 'MS_Description', N'dataora in cui è stato verificato il caricamento su AS', 'SCHEMA', 'dbo', 'TABLE', 'AS400_BatchMovimenti', 'COLUMN', 'DataVerifica' +go + +insert into AS400_BatchMovimenti(DataIns,CodEvento,Particolare,UDC,CodMagAS,Quantita,DataBatch,DataVerifica) select DataIns,CodEvento,Particolare,N'',CodMagAS,Quantita,DataBatch,DataVerifica from tmp__AS400_BatchMovimenti_1 +go + +drop table tmp__AS400_BatchMovimenti_1 +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +-- ============================================= +-- Author: Samuele E. Locatelli +-- Create date: 2009-09-20 +-- Description: trigger x inserimento movimenti +-- nella coda di trasferimento batch +-- verso AS400 x UPDATE UDC +-- ============================================= +alter TRIGGER trg_updMovAS + ON ElencoCartellini + AFTER UPDATE +AS +BEGIN + + -- setup variabili e verbosità + SET NOCOUNT ON; + DECLARE @partOk AS BIT + DECLARE @IdxPosFrom AS INT + DECLARE @IdxPosTo AS INT + DECLARE @magFrom AS NVARCHAR(50) + DECLARE @magTo AS NVARCHAR(50) + DECLARE @qta AS DECIMAL(10,2) + + -- controllo che CI SIA il particolare (altrimenti non eseguo) + SET @partOk = (SELECT CASE WHEN ISNULL(Particolare,'n.d.') = 'n.d.' THEN 0 ELSE 1 END FROM deleted) + + IF(@partOk = 1) + SET @qta = (SELECT Qta FROM inserted) + -- se c'è stata modifica di quantità inizio a rettificare quella + IF UPDATE(Qta) + BEGIN + INSERT INTO AS400_BatchMovimenti(DataIns, CodEvento, Particolare, UDC, CodMagAS, Quantita) + ( + SELECT GETDATE(), 'UDC_MOD', Particolare, UDC, CAST(IdxPosizione AS NVARCHAR(50)), @qta-Qta + FROM deleted + WHERE CAST(IdxPosizione AS NVARCHAR(50)) IN (SELECT CodMagAS FROM AS400_MagCont WHERE Attivo = 1) + ) + END + + -- controllo poi se sia cambiato il magazzino, altrimenti non lo inserisco + IF UPDATE(IdxPosizione) + BEGIN + -- Prendo le posizioni di magazzino precedente e nuova + SET @IdxPosFrom = (SELECT IdxPosizione FROM deleted) + SET @IdxPosTo = (SELECT IdxPosizione FROM inserted) + -- Le trasformo nelle equivalenti stringhe del codMag SE attive + SET @magFrom = (SELECT ISNULL(CodMagAS,'---') FROM AS400_MagCont WHERE Attivo = 1 AND CodMagAs = CAST(@IdxPosFrom AS NVARCHAR(50))) + SET @magTo = (SELECT ISNULL(CodMagAS,'---') FROM AS400_MagCont WHERE Attivo = 1 AND CodMagAs = CAST(@IdxPosTo AS NVARCHAR(50))) + + -- inserisco un movimento di deposito verso mag nuovo (SE attivo) + IF (@magFrom <> '---') + BEGIN + INSERT INTO AS400_BatchMovimenti(DataIns, CodEvento, Particolare, UDC, CodMagAS, Quantita) + ( + SELECT GETDATE(), 'UDC_MOV', Particolare, UDC, CAST(IdxPosizione AS NVARCHAR(50)), -@qta + FROM deleted + WHERE CAST(IdxPosizione AS NVARCHAR(50)) IN (SELECT CodMagAS FROM AS400_MagCont WHERE Attivo = 1) + ) + END + -- inserisco un movimento di prelievo verso mag vecchio (SE attivo) + IF (@magTo <> '---') + BEGIN + INSERT INTO AS400_BatchMovimenti(DataIns, CodEvento, Particolare, UDC, CodMagAS, Quantita) + ( + SELECT GETDATE(), 'UDC_MOV', Particolare, UDC, CAST(IdxPosizione AS NVARCHAR(50)), @qta + FROM inserted + WHERE CAST(IdxPosizione AS NVARCHAR(50)) IN (SELECT CodMagAS FROM AS400_MagCont WHERE Attivo = 1) + ) + END + END + +END +go + +-- ============================================= +-- Author: Samuele E. Locatelli +-- Create date: 2009-09-20 +-- Description: trigger x inserimento movimenti +-- nella coda di trasferimento batch +-- verso AS400 x INSERT UDC +-- ============================================= +alter TRIGGER trg_InsMovAS + ON ElencoCartellini + AFTER INSERT +AS +BEGIN + + -- setup variabili e verbosità + SET NOCOUNT ON; + DECLARE @partOk AS BIT + + -- controllo che CI SIA il particoalre (altrimenti non eseguo) + SET @partOk = (SELECT CASE WHEN ISNULL(Particolare,'n.d.') = 'n.d.' THEN 0 ELSE 1 END FROM inserted) + + IF(@partOk = 1) + BEGIN + -- metto in storico la posizione attuale dell'UDC (SE esiste) CANCELLATO + INSERT INTO AS400_BatchMovimenti(DataIns, CodEvento, Particolare, UDC, CodMagAS, Quantita) + ( + SELECT GETDATE(), 'UDC_NEW', Particolare, UDC, CAST(IdxPosizione AS NVARCHAR(50)), Qta + FROM inserted + WHERE CAST(IdxPosizione AS NVARCHAR(50)) IN (SELECT CodMagAS FROM AS400_MagCont WHERE Attivo = 1) + ) + END + +END +go + +-- ============================================= +-- Author: Samuele E. Locatelli +-- Create date: 2009-09-20 +-- Description: trigger x inserimento movimenti +-- nella coda di trasferimento batch +-- verso AS400 x DELETE UDC +-- ============================================= +alter TRIGGER trg_DelMovAS + ON ElencoCartellini + AFTER DELETE +AS +BEGIN + + -- setup variabili e verbosità + SET NOCOUNT ON; + -- inserisco movimenti AS + INSERT INTO AS400_BatchMovimenti(DataIns, CodEvento, Particolare, UDC, CodMagAS, Quantita) + ( + SELECT GETDATE(), 'UDC_DEL', Particolare, UDC, CAST(IdxPosizione AS NVARCHAR(50)), -Qta + FROM deleted + WHERE CAST(IdxPosizione AS NVARCHAR(50)) IN (SELECT CodMagAS FROM AS400_MagCont WHERE Attivo = 1) AND ((CASE WHEN ISNULL(Particolare,'n.d.') = 'n.d.' THEN 0 ELSE 1 END) = 1) + ) + +END +go + +commit +go + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_batch_RapQual_S01 +* +* Esegue lo step 1 (caricamento dati RAW da AS400) per la tab dei rapporti di qualità +* +* Steamware, S.E.L. +* mod: 2010.09.23 +* +****************************************/ +alter PROCEDURE BatchQueue.stp_batch_RapQual_S01 +( + @minData DATETIME +) +AS + -- BOZZA DA COMPLETARE A CURA MAZZUCCONI!!! + + DECLARE @SQL AS NVARCHAR(1000) + DECLARE @dataAs400 AS VARCHAR(8) + + SET @dataAs400 = (SELECT dbo.dateToAsFormat(@minData)) + + -- svuoto tab raw attuale + /* + DELETE FROM RawData.XOGIX00F + */ + + + -- INSERISCO DA AS400 + /* + INSERT INTO RawData.XOGIX00F + ( + SET @SQL = + N'SELECT + XRPQLN + ,XRPQLD + ,XNRETI + ,XCDFOR + ,XCDTER + ,XCDPAR + ,XDTPRO + ,XTRPRO + ,XQTPRO + ,XDESMT + ,XMATSC + ,XBENQL + FROM OPENQUERY( P65220DC, ''SELECT * FROM MAZZT_DTV3.XOGIX00F WHERE XRPQLD >= ' + SET @SQL = @SQL + @dataAs400 + ''' )' + + EXEC sp_executesql @SQL + ) + */ + +RETURN +go + +commit +go + + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_rappQualSuntoGetByDataRange +* +* Ottiene l'elenco dei record di rapp qualità di AS dato il range delle date +* +* Steamware, S.E.L. +* mod: 2010.09.29 +* +****************************************/ +create PROCEDURE stp_rappQualSuntoGetByDataRange +( + @dataFrom DATETIME, + @dataTo DATETIME +) +AS + -- restituisce le righe richieste + SELECT * + FROM v_RapQualSunto + WHERE (DataRapQual > dbo.dateToAsFormat(@dataFrom)) AND (DataRapQual < dbo.dateToAsFormat(@dataTo)) + ORDER BY nRapQual +RETURN +go + +/*************************************** +* STORED stp_rappQualSuntoGetByNumRap +* +* Ottiene il record di rapp qualità di AS dato il numero del rapporto di qualità +* +* Steamware, S.E.L. +* mod: 2010.09.29 +* +****************************************/ +create PROCEDURE stp_rappQualSuntoGetByNumRap +( + @nRapQual NVARCHAR(20) +) +AS + -- restituisce le righe richieste + SELECT * + FROM v_RapQualSunto + WHERE (nRapQual = @nRapQual) +RETURN +go + +commit +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 +) +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 + + -- 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(270, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.1/GMW_00275.sql b/GMW_data/SqlScripts/V1.1/GMW_00275.sql new file mode 100644 index 00000000..d29cdc26 --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00275.sql @@ -0,0 +1,443 @@ +set xact_abort on +go + +begin transaction +go + +drop index [] on RilPro.RapQual +go + +alter table RilPro.RapQual alter column + UDC nvarchar(50) +go + +create index [] on RilPro.RapQual(DataRapQual) + include(nRapQual,CodFor,CodLega,Qta,BenesQual,UDC) +go + +create index i_dataPrelievo on RilPro.RapQual(DataPrelFus) +go + +commit +go + + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_prtCartMatPrimaByUDC +* +* ottiene il record del Cartellino Materia Prima dato l'UDC richiesto x la sstampa +* +****************************************/ +create PROCEDURE stp_prtCartMatPrimaByUDC +( + @UDC VARCHAR(50) +) +AS +SELECT + RQ.nRapQual, + RQ.DataRapQual, + RQ.ProgUDC, + RQ.CodFor, + RQ.DestTerz, + RQ.CodLega, + RQ.DataPrelFus, + RQ.TurnoPrelFus, + RQ.Qta, + RQ.DestLega, + RQ.LegaScaric, + RQ.BenesQual, + RQ.UDC, + Fo.DescFornitore, + Fo.DescFornitore2, + Le.CodLega AS CodLega2, + Le.DescLega, + Le.DescLega2 +FROM GMW.RilPro.RapQual AS RQ +INNER JOIN ReportAs400.RilPro.AnagFornitori AS Fo + ON RQ.CodFor = Fo.CodFornitore +INNER JOIN ReportAs400.RilPro.AnagLeghe Le + ON RQ.CodLega = 'L' + Le.CodLega +WHERE RQ.UDC = RTRIM(@UDC) -- 'UB31000000001' +RETURN +go + +/*************************************** +* STORED stp_rappQualConsumabili +* +* Ottiene l'elenco dei record di rapp qualità (e quindi degli UDC) di AS non ancora consumati per range di data di approvazione +* +* Steamware, S.E.L. +* mod: 2010.10.05 +* +****************************************/ +create PROCEDURE stp_rappQualConsumabili +( + @dataFrom DATETIME, + @dataTo DATETIME +) + +AS + -- restituisce le righe richieste + SELECT * + FROM RilPro.RapQual + WHERE ((DataPrelFus IS NULL) OR (DataPrelFus = 0)) AND -- condizione sul NON aver fatto ancora il prelievo + ((DataRapQual > dbo.dateToAsFormat(@dataFrom)) AND (DataRapQual < dbo.dateToAsFormat(@dataTo))) -- cond data RQ + +RETURN +go + +/*************************************** +* STORED stp_rappQualSuntoGetByDataRange +* +* Ottiene l'elenco dei record di rapp qualità di AS dato il range delle date +* +* Steamware, S.E.L. +* mod: 2010.09.29 +* +****************************************/ +create PROCEDURE stp_rappQualSuntoGetByDataRange +( + @dataFrom DATETIME, + @dataTo DATETIME +) +AS + -- restituisce le righe richieste + SELECT * + FROM v_RapQualSunto + WHERE (DataRapQual > dbo.dateToAsFormat(@dataFrom)) AND (DataRapQual < dbo.dateToAsFormat(@dataTo)) + ORDER BY nRapQual +RETURN +go + +/*************************************** +* STORED stp_rappQualSuntoGetByNumRap +* +* Ottiene il record di rapp qualità di AS dato il numero del rapporto di qualità +* +* Steamware, S.E.L. +* mod: 2010.09.29 +* +****************************************/ +create PROCEDURE stp_rappQualSuntoGetByNumRap +( + @nRapQual NVARCHAR(20) +) +AS + -- restituisce le righe richieste + SELECT * + FROM v_RapQualSunto + WHERE (nRapQual = @nRapQual) +RETURN +go + +commit +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 +) +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 + + -- 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 + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_batch_RapQual_S01 +* +* Esegue lo step 1 (caricamento dati RAW da AS400) per la tab dei rapporti di qualità +* +* Steamware, S.E.L. +* mod: 2010.09.23 +* +****************************************/ +alter PROCEDURE BatchQueue.stp_batch_RapQual_S01 +( + @minData DATETIME +) +AS + -- BOZZA DA COMPLETARE A CURA MAZZUCCONI!!! + + DECLARE @SQL AS NVARCHAR(1000) + DECLARE @dataAs400 AS VARCHAR(8) + + SET @dataAs400 = (SELECT dbo.dateToAsFormat(@minData)) + + -- svuoto tab raw attuale + /* + DELETE FROM RawData.XOGIX00F + */ + + + -- INSERISCO DA AS400 + /* + INSERT INTO RawData.XOGIX00F + ( + SET @SQL = + N'SELECT + XRPQLN + ,XRPQLD + ,XNRETI + ,XCDFOR + ,XCDTER + ,XCDPAR + ,XDTPRO + ,XTRPRO + ,XQTPRO + ,XDESMT + ,XMATSC + ,XBENQL + FROM OPENQUERY( P65220DC, ''SELECT * FROM MAZZT_DTV3.XOGIX00F WHERE XRPQLD >= ' + SET @SQL = @SQL + @dataAs400 + ''' )' + + EXEC sp_executesql @SQL + ) + */ + +RETURN +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +create table RilPro.AnagFornitori( + CodFornitore nvarchar(6) not null constraint PK_AnagFornitori primary key, + DescFornitore nvarchar(35), + DescFornitore2 nvarchar(35) +) +go + +create table RilPro.AnagLeghe( + CodLega nvarchar(12) not null constraint PK_AnagLeghe primary key, + CodLega2 nvarchar(12), + DescLega nvarchar(25), + DescLega2 nvarchar(25) +) +go + +commit +go + +set xact_abort on +go + +begin transaction +go + +alter table AS400_BatchMovimenti drop + constraint FK_AS400_BatchMovimenti_AS400_MagCont , + constraint FK_AS400_BatchMovimenti_AnagTipoEvento +go + +exec sp_rename 'PK_AS400_BatchMovimenti', 'tmp__PK_AS400_BatchMovimenti', 'OBJECT' +go + +exec sp_rename 'AS400_BatchMovimenti', 'tmp__AS400_BatchMovimenti_0', 'OBJECT' +go + +create table AS400_BatchMovimenti( + DataIns datetime not null, + CodEvento nvarchar(10) not null, + Particolare nvarchar(15) not null, + UDC nvarchar(50) not null, + CodMagAS nvarchar(50) not null, + Quantita decimal(10,2) not null, + DataBatch datetime, + DataVerifica datetime, + + constraint PK_AS400_BatchMovimenti primary key(DataIns,CodEvento,Particolare,UDC,CodMagAS) +) +go + +alter table AS400_BatchMovimenti add + constraint FK_AS400_BatchMovimenti_AnagTipoEvento foreign key(CodEvento) references AnagTipoEvento(CodEvento) on update cascade, + constraint FK_AS400_BatchMovimenti_AS400_MagCont foreign key(CodMagAS) references AS400_MagCont(CodMagAS) on update cascade +go + +exec sp_addextendedproperty 'MS_Description', 'dataora inserimento in coda caricamento', 'SCHEMA', 'dbo', 'TABLE', 'AS400_BatchMovimenti', 'COLUMN', 'DataIns' +go + +exec sp_addextendedproperty 'MS_Description', 'NON MODIFICARE: nel codice si usano questi campi x chiamate...', 'SCHEMA', 'dbo', 'TABLE', 'AS400_BatchMovimenti', 'COLUMN', 'CodEvento' +go + +exec sp_addextendedproperty 'MS_Description', 'dataora di caricamento batch verso AS', 'SCHEMA', 'dbo', 'TABLE', 'AS400_BatchMovimenti', 'COLUMN', 'DataBatch' +go + +exec sp_addextendedproperty 'MS_Description', N'dataora in cui è stato verificato il caricamento su AS', 'SCHEMA', 'dbo', 'TABLE', 'AS400_BatchMovimenti', 'COLUMN', 'DataVerifica' +go + +insert into AS400_BatchMovimenti(DataIns,CodEvento,Particolare,UDC,CodMagAS,Quantita,DataBatch,DataVerifica) select DataIns,CodEvento,Particolare,N'',CodMagAS,Quantita,DataBatch,DataVerifica from tmp__AS400_BatchMovimenti_0 +go + +drop table tmp__AS400_BatchMovimenti_0 +go + +commit +go + + + + + + + +set xact_abort on +go + +begin transaction +go + +alter table AS400_BatchMovimenti drop + constraint FK_AS400_BatchMovimenti_AS400_MagCont , + constraint FK_AS400_BatchMovimenti_AnagTipoEvento +go + +exec sp_rename 'PK_AS400_BatchMovimenti', 'tmp__PK_AS400_BatchMovimenti', 'OBJECT' +go + +exec sp_rename 'AS400_BatchMovimenti', 'tmp__AS400_BatchMovimenti_0', 'OBJECT' +go + +create table AS400_BatchMovimenti( + DataIns datetime not null, + CodEvento nvarchar(10) not null, + Particolare nvarchar(15) not null, + UDC nvarchar(50) not null, + CodMagAS nvarchar(50) not null, + Quantita decimal(10,2) not null, + DataBatch datetime, + DataVerifica datetime, + + constraint PK_AS400_BatchMovimenti primary key(DataIns,CodEvento,Particolare,UDC,CodMagAS) +) +go + +alter table AS400_BatchMovimenti add + constraint FK_AS400_BatchMovimenti_AnagTipoEvento foreign key(CodEvento) references AnagTipoEvento(CodEvento) on update cascade, + constraint FK_AS400_BatchMovimenti_AS400_MagCont foreign key(CodMagAS) references AS400_MagCont(CodMagAS) on update cascade +go + +exec sp_addextendedproperty 'MS_Description', 'dataora inserimento in coda caricamento', 'SCHEMA', 'dbo', 'TABLE', 'AS400_BatchMovimenti', 'COLUMN', 'DataIns' +go + +exec sp_addextendedproperty 'MS_Description', 'NON MODIFICARE: nel codice si usano questi campi x chiamate...', 'SCHEMA', 'dbo', 'TABLE', 'AS400_BatchMovimenti', 'COLUMN', 'CodEvento' +go + +exec sp_addextendedproperty 'MS_Description', 'dataora di caricamento batch verso AS', 'SCHEMA', 'dbo', 'TABLE', 'AS400_BatchMovimenti', 'COLUMN', 'DataBatch' +go + +exec sp_addextendedproperty 'MS_Description', N'dataora in cui è stato verificato il caricamento su AS', 'SCHEMA', 'dbo', 'TABLE', 'AS400_BatchMovimenti', 'COLUMN', 'DataVerifica' +go + +insert into AS400_BatchMovimenti(DataIns,CodEvento,Particolare,UDC,CodMagAS,Quantita,DataBatch,DataVerifica) select DataIns,CodEvento,Particolare,N'',CodMagAS,Quantita,DataBatch,DataVerifica from tmp__AS400_BatchMovimenti_0 +go + +drop table tmp__AS400_BatchMovimenti_0 +go + +commit +go + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(275, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.1/GMW_00276.sql b/GMW_data/SqlScripts/V1.1/GMW_00276.sql new file mode 100644 index 00000000..b3428038 --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00276.sql @@ -0,0 +1,268 @@ +create table AS400_BatchConsumoMP( + ProgUDC char(10) not null constraint PK_AS400_BatchPrelievoMP primary key, + UDC nvarchar(50) not null, + DataPrelFus numeric(8,0) not null, + TurnoPrelFus char(5) not null, + DestLega char(3), + DestTerz char(6), + DataInvioAs datetime +) +go + + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +-- ============================================= +-- Author: Samuele E. Locatelli +-- Create date: 2009-09-20 +-- Description: trigger x inserimento movimenti +-- nella coda di trasferimento batch +-- verso AS400 x UPDATE UDC +-- ============================================= +alter TRIGGER trg_updMovAS + ON ElencoCartellini + AFTER UPDATE +AS +BEGIN + + -- setup variabili e verbosità + SET NOCOUNT ON; + DECLARE @partOk AS BIT + DECLARE @IdxPosFrom AS INT + DECLARE @IdxPosTo AS INT + DECLARE @magFrom AS NVARCHAR(50) + DECLARE @magTo AS NVARCHAR(50) + DECLARE @qta AS DECIMAL(10,2) + DECLARE @qtaOld AS DECIMAL(10,2) + + -- controllo che CI SIA il particolare (altrimenti non eseguo) + SET @partOk = (SELECT CASE WHEN ISNULL(Particolare,'n.d.') = 'n.d.' THEN 0 ELSE 1 END FROM deleted) + + IF(@partOk = 1) + SET @qta = (SELECT Qta FROM inserted) + SET @qtaOld = (SELECT Qta FROM deleted) + -- se c'è stata modifica di quantità inizio a rettificare quella + IF (UPDATE(Qta)) AND(@qta <> @qtaOld) + BEGIN + INSERT INTO AS400_BatchMovimenti(DataIns, CodEvento, Particolare, UDC, CodMagAS, Quantita) + ( + SELECT GETDATE(), 'UDC_MOD', Particolare, UDC, CAST(IdxPosizione AS NVARCHAR(50)), @qta-Qta + FROM deleted + WHERE CAST(IdxPosizione AS NVARCHAR(50)) IN (SELECT CodMagAS FROM AS400_MagCont WHERE Attivo = 1) + ) + END + + -- controllo poi se sia cambiato il magazzino, altrimenti non lo inserisco + IF UPDATE(IdxPosizione) + BEGIN + -- Prendo le posizioni di magazzino precedente e nuova + SET @IdxPosFrom = (SELECT IdxPosizione FROM deleted) + SET @IdxPosTo = (SELECT IdxPosizione FROM inserted) + -- Le trasformo nelle equivalenti stringhe del codMag SE attive + SET @magFrom = (SELECT ISNULL(CodMagAS,'---') FROM AS400_MagCont WHERE Attivo = 1 AND CodMagAs = CAST(@IdxPosFrom AS NVARCHAR(50))) + SET @magTo = (SELECT ISNULL(CodMagAS,'---') FROM AS400_MagCont WHERE Attivo = 1 AND CodMagAs = CAST(@IdxPosTo AS NVARCHAR(50))) + + -- inserisco un movimento di deposito verso mag nuovo (SE attivo) + IF (@magFrom <> '---') + BEGIN + INSERT INTO AS400_BatchMovimenti(DataIns, CodEvento, Particolare, UDC, CodMagAS, Quantita) + ( + SELECT GETDATE(), 'UDC_MOV', Particolare, UDC, CAST(IdxPosizione AS NVARCHAR(50)), -@qta + FROM deleted + WHERE CAST(IdxPosizione AS NVARCHAR(50)) IN (SELECT CodMagAS FROM AS400_MagCont WHERE Attivo = 1) + ) + END + -- inserisco un movimento di prelievo verso mag vecchio (SE attivo) + IF (@magTo <> '---') + BEGIN + INSERT INTO AS400_BatchMovimenti(DataIns, CodEvento, Particolare, UDC, CodMagAS, Quantita) + ( + SELECT GETDATE(), 'UDC_MOV', Particolare, UDC, CAST(IdxPosizione AS NVARCHAR(50)), @qta + FROM inserted + WHERE CAST(IdxPosizione AS NVARCHAR(50)) IN (SELECT CodMagAS FROM AS400_MagCont WHERE Attivo = 1) + ) + END + END + +END +go + +commit +go + + +create index i_update on As400.t_CQNOC98L(NumDocRNC,TipoInterv,CodArticolo,MatrPezzo) +go + +set xact_abort on +go + +begin transaction +go + +create index i_update on As400.t_MOMA200F(NumSessione,NumMovimento) +go + +create index i_update on As400.t_MWMV200F(NomeUtente,CodCausale,CodParticolare,CodMagazzino,QtaMovimento,DataMovimento) +go + +create index i_update on As400.t_PACKL00F(CodStabilimento,ProgUDC,CodParticolare,CodContenitore,MatrContenitore) +go + +alter table As400.t_XOGIX00F add + XRPQLN numeric(6,0) not null constraint DFX_03434E4C default(0), + XRPQLD numeric(8,0) not null constraint DFX_03452060 default(0), + XNRETI char(10) not null constraint DFX_03434DA4 default(''), + XCDFOR char(6) not null constraint DFX_03463944 default(''), + XCDTER char(6) not null constraint DFX_03460E6C default(''), + XCDPAR char(15) not null constraint DFX_0345A2BC default(''), + XDTPRO numeric(8,0) not null constraint DFX_0345CC28 default(0), + XTRPRO char(5) not null constraint DFX_03434DDC default(''), + XQTPRO numeric(5,0) not null constraint DFX_034583E0 default(0), + XDESMT char(3) not null constraint DFX_037522B8 default(''), + XMATSC char(1) not null constraint DFX_03453C08 default(''), + XBENQL char(1) not null constraint DFX_03E1D3BC default('') +go + +alter table As400.t_XOGIX00F drop + column nRapQual, + column DataRapQual, + column ProgUDC, + column CodFor, + column DestTerz, + column CodLega, + column DataPrelFus, + column TurnoPrelFus, + column Qta, + column DestLega, + column LegaScaric, + column BenesQual +go + +create index i_update on As400.t_XOGIX00F(XRPQLN,XRPQLD,XNRETI) +go + +alter table As400.t_XOGIX00F drop + constraint DFX_03E1D3BC, + constraint DFX_03453C08, + constraint DFX_037522B8, + constraint DFX_034583E0, + constraint DFX_03434DDC, + constraint DFX_0345CC28, + constraint DFX_0345A2BC, + constraint DFX_03460E6C, + constraint DFX_03463944, + constraint DFX_03434DA4, + constraint DFX_03452060, + constraint DFX_03434E4C +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_accodaConsumoUdcMP +* +* Accoda alla tab Batch il consumo di un UDC +* +* Steamware, S.E.L. +* mod: 2010.10.10 +* +****************************************/ +create PROCEDURE stp_accodaConsumoUdcMP +( + @UDC NVARCHAR(50), + @DataPrelFus DATETIME, + @TurnoPrelFus CHAR(5), + @DestLega CHAR(3), + @DestTerz CHAR(3) + +) +AS + +BEGIN TRAN + + -- registro movimento da riconciliare + INSERT INTO AS400_BatchConsumoMP(ProgUDC, UDC, DataPrelFus, TurnoPrelFus, DestLega, DestTerz) + SELECT ProgUdc, UDC, dbo.dateToAsFormat(@DataPrelFus), @TurnoPrelFus, @DestLega, @DestTerz FROM RilPro.RapQual WHERE UDC = @UDC + + -- aggiorno con data e turno di prelievo su tab RilPro (locale) + UPDATE RilPro.RapQual + SET DataPrelFus = dbo.dateToAsFormat(@DataPrelFus), TurnoPrelFus = @TurnoPrelFus + WHERE UDC = @UDC + +COMMIT TRAN + +RETURN +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_rappQualConsumabili +* +* Ottiene l'elenco dei record di rapp qualità (e quindi degli UDC) di AS non ancora consumati per range di data di approvazione +* +* Steamware, S.E.L. +* mod: 2010.10.05 +* +****************************************/ +alter PROCEDURE stp_rappQualConsumabili +( + @dataFrom DATETIME, + @dataTo DATETIME +) + +AS + -- restituisce le righe richieste + SELECT * + FROM RilPro.RapQual + WHERE ((DataPrelFus IS NULL) OR (DataPrelFus = 0)) AND -- condizione sul NON aver fatto ancora il prelievo + ((DataRapQual > dbo.dateToAsFormat(@dataFrom)) AND (DataRapQual < dbo.dateToAsFormat(@dataTo))) -- cond data RQ + AND (ISNULL(UDC,'') <>'') -- non nullo UDC, quindi stampati... + +RETURN +go + +commit +go + + + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(276, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.1/GMW_00280.sql b/GMW_data/SqlScripts/V1.1/GMW_00280.sql new file mode 100644 index 00000000..52f9833a --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00280.sql @@ -0,0 +1,253 @@ +create index i_UDC on AS400_BatchConsumoMP(UDC) +go + + +create index i_UDC on RilPro.RapQual(UDC) +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_consumaMP +* +* Salva il movimento di consumo dell'UDC di MP indicato +* +* Steamware, S.E.L. +* mod: 2010.10.12 +* +****************************************/ +alter PROCEDURE BatchQueue.stp_consumaMP +( + @XRPQLN INT, --è il num rap qualità + @XNRETI NVARCHAR(10), -- è il numUdc prog + @XDTPRO INT, -- data 8 cifre aaaammgg + @XTRPRO NVARCHAR(5), -- turno + @XDESMT NVARCHAR(3), -- destinatario int/terzista + @XCDTER NVARCHAR(6) -- cod terzista +) +AS + -- BOZZA DA VERIFICARE E COMPLETARE A CURA MAZZUCCONI!!! + + DECLARE @SQL AS NVARCHAR(1000) + + -- Faccio chiamata su AS400 + + SET @SQL = N' OPENQUERY( P65220DC, ''UPDATE MAZZT_DTV3.XOGIX00F' + SET @SQL = @SQL + 'SET XDTPRO = ' + @XDTPRO + ', XTRPRO = ' + @XTRPRO + SET @SQL = @SQL + ', XDESMT = ''' + @XDESMT +''', XMATSC=''S'' , XCDTER = ''' + @XCDTER + ''' ' + SET @SQL = @SQL + 'WHERE XRPQLN =' + @XRPQLN + ' AND XNRETI = ' + @XNRETI + ''' )' + + EXEC sp_executesql @SQL + +RETURN +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_processaCodaConsumoMP +* +* Processa la coda dei consumo di UDC di MP e chiaam procedura x salvataggio dato su AS400 +* +* Steamware, S.E.L. +* mod: 2010.10.12 +* +****************************************/ +create PROCEDURE BatchQueue.stp_processaCodaConsumoMP +AS + -- BOZZA DA VERIFICARE E COMPLETARE A CURA MAZZUCCONI!!! + + -- faccio una query con un cursore x processare tutte le righe da inviare ad AS400.. + DECLARE @UDC NVARCHAR(50) + DECLARE @XRPQLN INT + DECLARE @XNRETI NVARCHAR(10) + DECLARE @XDTPRO INT + DECLARE @XTRPRO NVARCHAR(5) + DECLARE @XDESMT NVARCHAR(3) + DECLARE @XCDTER NVARCHAR(6) + + DECLARE @SqlCode NVARCHAR(1000) + + DECLARE UdcMpList CURSOR FOR + SELECT UDC FROM AS400_BatchConsumoMP WHERE DataInvioAs IS NULL + OPEN UdcMpList + FETCH NEXT FROM UdcMpList + INTO @UDC + WHILE @@FETCH_STATUS = 0 + BEGIN + -- controllo ci sia la riga + IF (SELECT COUNT(UDC) FROM AS400_BatchConsumoMP WHERE UDC=@UDC) > 0 + BEGIN + -- carico valori che mi servono + SELECT @XRPQLN=rq.nRapQual, @XNRETI=rq.ProgUDC, @XDTPRO=bcu.DataPrelFus, @XTRPRO=bcu.TurnoPrelFus, + @XDESMT=bcu.DestLega, @XCDTER=bcu.DestTerz + FROM AS400_BatchConsumoMP as bcu INNER JOIN RilPro.RapQual as rq ON bcu.UDC = rq.UDC + WHERE bcu.UDC=@UDC + -- compongo testo x exec + SET @SqlCode = N'EXEC BatchQueue.stp_consumaMP ' + CAST(@XRPQLN AS NVARCHAR(50)) + ' ' + @XNRETI + ' ' + CAST(@XDTPRO AS NVARCHAR(8)) + ' ' + LTRIM(RTRIM(@XTRPRO)) + ' ' + LTRIM(RTRIM(@XDESMT)) + ' ' + LTRIM(RTRIM(@XCDTER)) + -- lo mostro + print '%' + LTRIM(RTRIM(@SqlCode)) + '%' + + -- chiamo la stored ed eseguo invio + --EXEC sp_executesql @SqlCode -- decommentare se va bene... + FETCH NEXT FROM UdcMpList INTO @UDC + END + END + CLOSE UdcMpList + DEALLOCATE UdcMpList + + +RETURN +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_processaCodaConsumoMP +* +* Processa la coda dei consumo di UDC di MP e chiaam procedura x salvataggio dato su AS400 +* +* Steamware, S.E.L. +* mod: 2010.10.12 +* +****************************************/ +create PROCEDURE BatchQueue.stp_processaCodaConsumoMP +AS + -- BOZZA DA VERIFICARE E COMPLETARE A CURA MAZZUCCONI!!! + + -- faccio una query con un cursore x processare tutte le righe da inviare ad AS400.. + DECLARE @UDC NVARCHAR(50) + DECLARE @XRPQLN INT + DECLARE @XNRETI NVARCHAR(10) + DECLARE @XDTPRO INT + DECLARE @XTRPRO NVARCHAR(5) + DECLARE @XDESMT NVARCHAR(3) + DECLARE @XCDTER NVARCHAR(6) + + DECLARE @SqlCode NVARCHAR(1000) + + DECLARE UdcMpList CURSOR FOR + SELECT UDC FROM AS400_BatchConsumoMP WHERE DataInvioAs IS NULL + OPEN UdcMpList + FETCH NEXT FROM UdcMpList + INTO @UDC + WHILE @@FETCH_STATUS = 0 + BEGIN + -- controllo ci sia la riga + IF (SELECT COUNT(UDC) FROM AS400_BatchConsumoMP WHERE UDC=@UDC) > 0 + BEGIN + -- carico valori che mi servono + SELECT @XRPQLN=rq.nRapQual, @XNRETI=rq.ProgUDC, @XDTPRO=bcu.DataPrelFus, @XTRPRO=bcu.TurnoPrelFus, + @XDESMT=bcu.DestLega, @XCDTER=bcu.DestTerz + FROM AS400_BatchConsumoMP as bcu INNER JOIN RilPro.RapQual as rq ON bcu.UDC = rq.UDC + WHERE bcu.UDC=@UDC + -- compongo testo x exec + SET @SqlCode = N'EXEC BatchQueue.stp_consumaMP ' + CAST(@XRPQLN AS NVARCHAR(50)) + ' ' + @XNRETI + ' ' + CAST(@XDTPRO AS NVARCHAR(8)) + ' ' + LTRIM(RTRIM(@XTRPRO)) + ' ' + LTRIM(RTRIM(@XDESMT)) + ' ' + LTRIM(RTRIM(@XCDTER)) + -- lo mostro + print '%' + LTRIM(RTRIM(@SqlCode)) + '%' + + -- chiamo la stored ed eseguo invio + --EXEC sp_executesql @SqlCode -- decommentare se va bene... + FETCH NEXT FROM UdcMpList INTO @UDC + END + END + CLOSE UdcMpList + DEALLOCATE UdcMpList + + +RETURN +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_accodaConsumoUdcMP +* +* Accoda alla tab Batch il consumo di un UDC +* +* Steamware, S.E.L. +* mod: 2010.10.10 +* +****************************************/ +alter PROCEDURE stp_accodaConsumoUdcMP +( + @UDC NVARCHAR(50), + @DataPrelFus DATETIME, + @TurnoPrelFus CHAR(5), + @DestLega CHAR(3), + @DestTerz CHAR(6) +) +AS + +BEGIN TRAN + + -- registro movimento da riconciliare + INSERT INTO AS400_BatchConsumoMP(ProgUDC, UDC, DataPrelFus, TurnoPrelFus, DestLega, DestTerz) + SELECT ProgUdc, UDC, dbo.dateToAsFormat(@DataPrelFus), @TurnoPrelFus, @DestLega, @DestTerz FROM RilPro.RapQual WHERE UDC = @UDC + + -- aggiorno con data e turno di prelievo su tab RilPro (locale) + UPDATE RilPro.RapQual + SET DataPrelFus = dbo.dateToAsFormat(@DataPrelFus), TurnoPrelFus = @TurnoPrelFus + WHERE UDC = @UDC + +COMMIT TRAN + +RETURN +go + +commit +go + + + + + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(280, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.1/GMW_00285.sql b/GMW_data/SqlScripts/V1.1/GMW_00285.sql new file mode 100644 index 00000000..624c7748 --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00285.sql @@ -0,0 +1,827 @@ +set xact_abort on +go + +begin transaction +go + +create index i_dataFus on ElencoCartellini(DataFus) +go + +create index i_idxPosizione on ElencoCartellini(IdxPosizione) +go + +commit +go + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_ArtiInProd_ByImpData +* +* ottiene l'elenco dei particolari in lavorazione in una certa data/ora (già trasformato data+turno in dataora) su un impianto +* --> con dettaglio su articoli (da anagrafica) +* +* Steamware, S.E.L. +* mod: 2010.04.29 +* +****************************************/ +alter PROCEDURE stp_ArtiInProd_ByImpData +( + @CodImpianto VARCHAR(50), + @DataRif DATETIME +) +AS + +-- iniziamo definendo le varie viste accessorie +WITH cteUltStampo AS + (SELECT CodStampo, InizioValidita, ProgFigure, FineValidita, NumCommessa, NumFigure, CodCliente, CodArticolo, Particolare + FROM RilPro.StampoArticolo AS A + WHERE (@DataRif >= InizioValidita AND @DataRif <= ISNULL(FineValidita, DATEADD(year, 2, GETDATE()))) ), + cteEspAttivi AS + (SELECT s.CodStampo, s.Esponente, s.EspAttivo, s.DataInserim, s.DataValidita + FROM RilPro.StampoEsponente AS s INNER JOIN + (SELECT CodStampo, MAX(DataValidita) AS DataValidita + FROM RilPro.StampoEsponente + WHERE (DataValidita <= @DataRif) AND (EspAttivo = 'S') + GROUP BY CodStampo) AS s2 ON s.CodStampo = s2.CodStampo AND s.DataValidita = s2.DataValidita), + cteLineeAttive AS + (SELECT CodImpianto, CodStampo, NumStampate, CONVERT(DATETIME, DataInizio) AS DataInizio, DataFine, TurnoInizio, TurnoFine + FROM RilPro.LineaStampi + WHERE (@DataRif BETWEEN DataInizio AND ISNULL(DataFine, DATEADD(year, 2, GETDATE()))) + AND CodImpianto = @CodImpianto) + +-- faccio la select principale +SELECT l.CodImpianto, l.CodStampo, l.NumStampate, l.DataInizio, l.TurnoInizio, g.InizioValidita, g.FineValidita, g.NumFigure, + dbo.f_padLeft(CAST(g.CodCliente AS varchar(50)), 5, '0') AS CodCliente, ISNULL(cl.RagSociale,'-') AS RagSociale, CAST(g.CodArticolo AS varchar(50)) AS CodArticolo, + g.Particolare, pa.DescParticolare, pa.DisegnoGrezzo, pa.CodFamiglia, fa.DescFamiglia, fi.Figura, es.Esponente + FROM cteLineeAttive AS l INNER JOIN cteUltStampo AS g ON l.CodStampo = g.CodStampo LEFT OUTER JOIN + RilPro.StampoFigure AS fi ON l.CodStampo = fi.CodStampo LEFT OUTER JOIN + cteEspAttivi AS es ON g.CodStampo = es.CodStampo LEFT OUTER JOIN + RilPro.AnagParticolari AS pa ON g.Particolare = pa.Particolare LEFT OUTER JOIN + RilPro.AnagFamiglie AS fa ON pa.CodFamiglia = fa.CodFamiglia LEFT OUTER JOIN + RilPro.AnagClienti AS cl ON g.CodCliente = cl.CodCliente + ORDER BY l.CodImpianto + +RETURN +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_UDC_delibera +* +* fa la delibera dell'UDC andando a processare la state machien e quindi eventualmente cambiando la sua posizione +* +* Steamware, S.E.L. +* mod: 2010.09.13 +* +************************************/ +alter PROCEDURE stp_UDC_delibera +( + @CodTipoDelibera NVARCHAR(50), + @UDC NVARCHAR(50), + @CodSoggetto NVARCHAR(17), + @CodCS VARCHAR(2) +) + +AS + +BEGIN TRAN + DECLARE @IdxPosizioneTo AS INT + DECLARE @IdxPosizioneFrom AS INT + DECLARE @IdxPosizionePre AS NVARCHAR(50) + DECLARE @IdxCellaPre AS INT + DECLARE @IdxCellaTo AS INT + + -- ricavo cella ATTUALE + SET @IdxCellaPre = (SELECT IdxCella FROM PosizioneUdcCorrente WHERE UDC = @UDC) + + -- ricavo posizione ATTUALE + SET @IdxPosizionePre = (SELECT TOP 1 b.CodMag FROM Celle c INNER JOIN Blocchi b ON c.IdxBlocco=b.IdxBlocco WHERE c.IdxCella = @IdxCellaPre) + + + -- registro delibera + INSERT INTO DELIBERE + VALUES (@CodTipoDelibera, @UDC, GETDATE(), @CodSoggetto) + + -- ricavo nuova posizione + SET @IdxPosizioneTo = (SELECT tt.IdxPosizioneTo + FROM TabTranPosizEventi tt INNER JOIN AnagTipoDelibere atd ON tt.CodEvento = atd.CodEvento + WHERE (atd.CodTipoDelibera = @CodTipoDelibera)) + + -- ricavo posizione TEORICA VECCHIA + SET @IdxPosizioneFrom = (SELECT tt.IdxPosizione + FROM TabTranPosizEventi tt INNER JOIN AnagTipoDelibere atd ON tt.CodEvento = atd.CodEvento + WHERE (atd.CodTipoDelibera = @CodTipoDelibera)) + + -- calcolo la prima cella della nuova posizione... + SET @IdxCellaTo = ( + SELECT TOP 1 IdxCella FROM Celle + WHERE IdxBlocco = ( + SELECT IdxBlocco FROM Blocchi + WHERE CodMag=CAST(@IdxPosizioneTo AS NVARCHAR(50))) + ) + + -- faccio update posizione + UPDATE ElencoCartellini + SET IdxPosizione = @IdxPosizioneTo + WHERE UDC = @UDC + + -- controllo posizioni act e from teorica: SE e SOLO SE corrispondono faccio spostamento... + IF(CAST(@IdxPosizioneFrom AS NVARCHAR(50)) = @IdxPosizionePre) + BEGIN + -- ora cambio anche la posizione corrente dell'UDC (e tramite trigger storicizza...) + EXEC stp_spostaUdc @CodCS, @UDC, @IdxCellaTo + END + +COMMIT TRAN + + +RETURN +go + +/*************************************** +* STORED stp_UDC_getByFlussoDate +* +* elenco cartellini creati su una data bilancia in un periodo ti tempo indicato +* +* Steamware, S.E.L. +* mod: 2010.10.13 +* +****************************************/ +create PROCEDURE stp_UDC_getByFlussoDate +( + + @CodCS NVARCHAR(2), + @Flusso NVARCHAR(2), + @DataFrom DATETIME, + @DataTo DATETIME +) +AS + +SELECT * +FROM ElencoCartellini +WHERE (UDC LIKE 'U' + @CodCS + @Flusso + '%') + AND (DataFus >= @DataFrom) AND (DataFus <= @DataTo) +ORDER BY UDC DESC + +RETURN +go + +/*************************************** +* STORED stp_UDC_getLast_ByDataTurnoLineaParticolare +* +* elenco cartellini ULTIMI creati su una data bilancia dati data, turno, linea e particolare +* +* Steamware, S.E.L. +* mod: 2010.10.13 +* +****************************************/ +create PROCEDURE stp_UDC_getLast_ByDataTurnoLineaParticolare +( + @CodCS VARCHAR(2), + @Particolare VARCHAR(15), + @CodImpianto AS VARCHAR(50), + @DataFus DATETIME, + @TurnoFus INT +) +AS + +-- carico l'elenco dei dati "attivi" x il filtraggio richiesto +WITH cte_contAttivi AS( + SELECT CodCS, Particolare, Esponente, CodImpianto,CodStampo, Figura, DataFus, TurnoFus, MAX(NumCont) AS NumCont + FROM ElencoCartellini + GROUP BY CodCS, Particolare, Esponente, CodImpianto, CodStampo, Figura, DataFus, TurnoFus + HAVING (CodImpianto = @CodImpianto) AND (DataFus = @DataFus) AND (TurnoFus= @TurnoFus) AND (Particolare= @Particolare) AND CodCs = @CodCS +) + + -- traduco in tab estesa UDC + SELECT ec.* FROM ElencoCartellini ec INNER JOIN cte_contAttivi ca + ON ec.Particolare = ca.Particolare AND ec.Esponente=ca.Esponente AND ec.CodImpianto=ca.CodImpianto + AND ec.CodStampo=ca.CodStampo AND ec.Figura=ca.Figura AND ec.DataFus=ca.DataFus AND ec.TurnoFus=ca.TurnoFus + AND ec.NumCont=ca.NumCont AND ec.CodCs=ca.CodCs + +RETURN +go + +commit +go + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.TabTranPosizEventi + VALUES (N'MagPreFus', 84, 84) +go + +commit transaction +go + + + +drop table AS400_BatchMovimenti +go + + + + + + +set xact_abort on +go + +begin transaction +go + +create table AS400_BatchMovimenti( + IdxBatch int not null identity constraint PK_AS400_BatchMovimenti primary key, + DataIns datetime not null, + CodEvento nvarchar(10) not null, + Particolare nvarchar(15) not null, + UDC nvarchar(50) not null, + CodMagAS nvarchar(50) not null, + Quantita decimal(10,2) not null, + DataBatch datetime, + DataVerifica datetime +) +go + +alter table AS400_BatchMovimenti add + constraint FK_AS400_BatchMovimenti_AS400_MagCont foreign key(CodMagAS) references AS400_MagCont(CodMagAS) on update cascade, + constraint FK_AS400_BatchMovimenti_AnagTipoEvento foreign key(CodEvento) references AnagTipoEvento(CodEvento) on update cascade +go + +exec sp_addextendedproperty 'MS_Description', 'dataora inserimento in coda caricamento', 'SCHEMA', 'dbo', 'TABLE', 'AS400_BatchMovimenti', 'COLUMN', 'DataIns' +go + +exec sp_addextendedproperty 'MS_Description', 'NON MODIFICARE: nel codice si usano questi campi x chiamate...', 'SCHEMA', 'dbo', 'TABLE', 'AS400_BatchMovimenti', 'COLUMN', 'CodEvento' +go + +exec sp_addextendedproperty 'MS_Description', 'dataora di caricamento batch verso AS', 'SCHEMA', 'dbo', 'TABLE', 'AS400_BatchMovimenti', 'COLUMN', 'DataBatch' +go + +exec sp_addextendedproperty 'MS_Description', N'dataora in cui è stato verificato il caricamento su AS', 'SCHEMA', 'dbo', 'TABLE', 'AS400_BatchMovimenti', 'COLUMN', 'DataVerifica' +go + +commit +go + + + + + + +drop table RigheListePrelievo_AS +go + + + +create table RigheListePrelievo_AS( + IdxRiga int not null identity constraint PK_RigheListePrelievo_AS primary key, + CodLista nvarchar(12) not null, + UDC nvarchar(50) not null, + Qta decimal(10,2) not null, + Proposto bit, + Prelevato bit +) +go + + +drop table ElencoListePrelievo_AS +go + + +set xact_abort on +go + +begin transaction +go + +create table ElencoListePrelievo_AS( + CodLista nvarchar(12) not null constraint PK_ElencoListePrelievo_AS primary key, + CodTipoLista nvarchar(10) not null, + CodCS nchar(2) not null, + DataCreaz datetime not null, + CodCliente nvarchar(6), + RagSociale nvarchar(35), + CodSoggetto nchar(17) not null, + Particolare nvarchar(15) not null, + DescParticolare nvarchar(30), + DisegnoGrezzo nvarchar(30), + Esponente nvarchar(6), + Figura nvarchar(4), + CodImballo nvarchar(15), + QtaTot decimal(10,2) not null, + CodStatoLista int not null constraint DF_ElencoListePrelievo_AS_CodStatoLista default (1), + Destinatario nvarchar(50), + DataBatch datetime, + DataVerifica datetime +) +go + +exec sp_addextendedproperty 'MS_Description', 'dataora di caricamento batch verso AS', 'SCHEMA', 'dbo', 'TABLE', 'ElencoListePrelievo_AS', 'COLUMN', 'DataBatch' +go + +exec sp_addextendedproperty 'MS_Description', N'dataora in cui è stato verificato il caricamento su AS', 'SCHEMA', 'dbo', 'TABLE', 'ElencoListePrelievo_AS', 'COLUMN', 'DataVerifica' +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +create VIEW v_datiPackingList +AS +SELECT dbo.RigheListePrelievo_AS.IdxRiga, dbo.ElencoCartellini.UDC, dbo.ElencoListePrelievo_AS.Particolare, dbo.ElencoCartellini.CodImballo, + CAST(RIGHT(dbo.RigheListePrelievo_AS.UDC, 6) AS INT) AS matrUdc, CASE WHEN (dbo.ElencoListePrelievo_AS.CodTipoLista = '03-TerWip') + THEN 'FO' ELSE 'CL' END AS tipo, dbo.ElencoListePrelievo_AS.Destinatario, dbo.ElencoCartellini.Qta, + dbo.ElencoCartellini.PesoTot - dbo.ElencoCartellini.Tara AS PesoNetto, dbo.ElencoCartellini.PesoTot, 'B' AS Stato, GETDATE() AS data, + dbo.ElencoListePrelievo_AS.DataBatch +FROM dbo.ElencoListePrelievo_AS INNER JOIN + dbo.RigheListePrelievo_AS ON dbo.ElencoListePrelievo_AS.CodLista = dbo.RigheListePrelievo_AS.CodLista INNER JOIN + dbo.ElencoCartellini ON dbo.RigheListePrelievo_AS.UDC = dbo.ElencoCartellini.UDC +WHERE (dbo.ElencoListePrelievo_AS.DataBatch IS NULL) +go + +exec sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "ElencoCartellini" + Begin Extent = + Top = 14 + Left = 658 + Bottom = 376 + Right = 828 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "ElencoListePrelievo_AS" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 367 + Right = 208 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "RigheListePrelievo_AS" + Begin Extent = + Top = 5 + Left = 353 + Bottom = 200 + Right = 523 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 14 + Width = 284 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_datiPackingList' +go + +exec sp_addextendedproperty 'MS_DiagramPaneCount', 1, 'SCHEMA', 'dbo', 'VIEW', 'v_datiPackingList' +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_consumaMP +* +* Salva il movimento di consumo dell'UDC di MP indicato +* +* Steamware, S.E.L. +* mod: 2010.10.12 +* +****************************************/ +alter PROCEDURE BatchQueue.stp_consumaMP +( + @XRPQLN INT, --è il num rap qualità + @XNRETI NVARCHAR(10), -- è il numUdc prog + @XDTPRO INT, -- data 8 cifre aaaammgg + @XTRPRO NVARCHAR(5), -- turno + @XDESMT NVARCHAR(3), -- destinatario int/terzista + @XCDTER NVARCHAR(6) -- cod terzista +) +AS + -- BOZZA DA VERIFICARE E COMPLETARE A CURA MAZZUCCONI!!! + + DECLARE @SQL AS NVARCHAR(1000) + + -- Faccio chiamata su AS400 + + SET @SQL = N' OPENQUERY( P65220DC, ''UPDATE MAZZT_DTV3.XOGIX00F' + SET @SQL = @SQL + 'SET XDTPRO = ' + CAST(@XDTPRO AS NVARCHAR(8)) + ', XTRPRO = ' + @XTRPRO + SET @SQL = @SQL + ', XDESMT = ''' + @XDESMT +''', XMATSC=''S'' , XCDTER = ''' + @XCDTER + ''' ' + SET @SQL = @SQL + 'WHERE XRPQLN =' + CAST(@XRPQLN AS NVARCHAR(20)) + ' AND XNRETI = ' + @XNRETI + ''' )' + + EXEC sp_executesql @SQL + +RETURN +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*stp_processaCodaMovimMag +* STORED stp_processaCodaConsumoMP +* +* Processa la coda dei movimenti di magazzino e chiama procedura x salvataggio dato su AS400 +* +* Steamware, S.E.L. +* mod: 2010.10.15 +* +****************************************/ +create PROCEDURE BatchQueue.stp_processaCodaMovimMag +AS + -- BOZZA DA VERIFICARE E COMPLETARE A CURA MAZZUCCONI!!! + + -- campi x cursore e valorizzazione riga a riga + DECLARE @IdxRiga INT + DECLARE @CodStab CHAR(2) + DECLARE @UDC NVARCHAR(15) + DECLARE @Particolare NVARCHAR(15) + DECLARE @CodImb NVARCHAR(15) + DECLARE @Matr INT + DECLARE @Tipo NVARCHAR(2) + DECLARE @Dest NVARCHAR(10) + DECLARE @Qta INT + DECLARE @PesoNet NUMERIC(7,3) + DECLARE @PesoLor NUMERIC(7,3) + DECLARE @Stato CHAR(1) + DECLARE @Data NVARCHAR(8) + -- variabile x composizioen query + DECLARE @SqlCode NVARCHAR(1000) + -- faccio una query con un cursore x processare tutte le righe da inviare ad AS400.. + DECLARE RigaPackList CURSOR FOR + SELECT IdxRiga FROM v_datiPackingList + + -- setto il codice stabilimento da inviare ad AS... VERIFICARE!!! + SET @CodStab = '05' + + -- inizio cursore! + OPEN RigaPackList + FETCH NEXT FROM RigaPackList + INTO @IdxRiga + WHILE @@FETCH_STATUS = 0 + BEGIN + -- controllo ci sia la riga + IF (SELECT COUNT(IdxRiga) FROM v_datiPackingList WHERE IdxRiga = @IdxRiga) > 0 + BEGIN + -- carico valori che mi servono + SELECT @Particolare=pl.Particolare, @UDC=UDC, @CodImb=pl.CodImballo, @Matr = pl.matrUdc, @Tipo=pl.tipo, @Dest=pl.Destinatario, + @Qta=ABS(pl.Qta), @PesoNet=pl.PesoNetto, @PesoLor=pl.PesoTot, @Stato=pl.Stato, @Data=dbo.dateToAsFormat(pl.data) + FROM v_datiPackingList pl + WHERE IdxRiga = @IdxRiga + + -- compongo testo x exec + SET @SqlCode = N'EXEC BatchQueue.stp_registraPackList ' + @CodStab + ' ' + @UDC + ' ' + @Particolare + ' ' + @CodImb + ' ' + CAST(@Matr AS NVARCHAR(8)) + ' ' + @Tipo + ' ' + @Dest + ' ' + CAST(@Qta AS NVARCHAR(8)) + ' ' + CAST(@PesoNet AS NVARCHAR(8)) + ' ' + CAST(@PesoLor AS NVARCHAR(8)) + ' ' + @Stato + ' ' + @Data + -- lo mostro + print '%' + LTRIM(RTRIM(@SqlCode)) + '%' + + -- !!! TESTARE !!! + /* + -- chiamo la stored ed eseguo invio + EXEC sp_executesql @SqlCode -- decommentare se va bene... + + -- registro la data del movimento BATCH + UPDATE AS400_BatchMovimenti SET DataBatch = GETDATE() WHERE IdxRiga = @IdxRiga + */ + + FETCH NEXT FROM RigaPackList INTO @IdxRiga + END + END + CLOSE RigaPackList + DEALLOCATE RigaPackList + + +RETURN +go + +/*************************************** +* STORED stp_registraMovMag +* +* Salva il movimento di magazzino indicato +* +* Steamware, S.E.L. +* mod: 2010.10.15 +* +****************************************/ +create PROCEDURE BatchQueue.stp_registraMovMag +( + @NOMUS NVARCHAR(50), -- è il nome utente + @CDCAU NVARCHAR(2), -- è la causale del movimento + @CDPAR NVARCHAR(15), -- codice particolare + @CDMAG NVARCHAR(2), -- codice magazzino + @QTMOV INT, -- quantità movimento + @DAMOV NVARCHAR(8), -- data 8 cifre aaaammgg + @RIFFO NVARCHAR(8) -- cod UDC compresso +) +AS + -- BOZZA DA VERIFICARE E COMPLETARE A CURA MAZZUCCONI!!! + + DECLARE @SQL AS NVARCHAR(1000) + + -- Faccio chiamata su AS400 + SET @SQL = N' OPENQUERY( P65220DC, ''INSERT INTO MAZZT_DTV3.MWMV200F VALUES ' + SET @SQL = @SQL + @NOMUS + ', ' + @CDCAU + ', ' + @CDPAR + ', ' + @CDMAG + ', ' + SET @SQL = @SQL + CAST(@QTMOV AS NVARCHAR(8)) + ', ' + @DAMOV + ', ' + @RIFFO + ''' )' + + EXEC sp_executesql @SQL + +RETURN +go + +/*************************************** +* STORED stp_registraPackList +* +* Salva i dati di packing list indicati +* +* Steamware, S.E.L. +* mod: 2010.10.15 +* +****************************************/ +create PROCEDURE BatchQueue.stp_registraPackList +( + @PLREPA NVARCHAR(2), -- è il codice reparto/stabilimento (05 pressofusione) + @PLCART NVARCHAR(15), -- UDC + @PLARTI NVARCHAR(15), -- cod articolo + @PLCONT NVARCHAR(15), -- cod contenitore + @PLMATR INT, -- matricola contenitore (solo cifre finali INT) + @PLTPAN CHAR(2), -- tipo anagrafico CLiente / FOrnitore-terzista + @PLCDAN NVARCHAR(6), -- cod terzista / cliente + @PLQTA INT, -- quantità + @PLPNET NUMERIC(7, 3), -- peso netto + @PLPLOR NUMERIC(7, 3), -- peso lordo + @PLSTAT CHAR(1), -- stato "P" predisposto per packing list, "B" bolla stampata + @PLDTEN INT -- data entrata merce, data di carico dell'UDC 8 cifre aaaammgg +) +AS + -- BOZZA DA VERIFICARE E COMPLETARE A CURA MAZZUCCONI!!! + + DECLARE @SQL AS NVARCHAR(1000) + + -- Faccio chiamata su AS400 + SET @SQL = N' OPENQUERY( P65220DC, ''INSERT INTO MAZZT_DTV3.PACKL00F VALUES ' + SET @SQL = @SQL + @PLREPA + ', ' + @PLCART + ', ' + @PLARTI + ', ' + @PLCONT + ', ' + SET @SQL = @SQL + CAST(@PLMATR AS NVARCHAR(5)) + ', ' + @PLTPAN + ', ' + @PLCDAN + ', ' + CAST(@PLQTA AS NVARCHAR(10)) + ', ' + SET @SQL = @SQL + CAST(@PLPNET AS NVARCHAR(10)) + ', ' + CAST(@PLPLOR AS NVARCHAR(10)) + ', ' + @PLSTAT + ', ' + SET @SQL = @SQL + CAST(@PLDTEN AS NVARCHAR(8)) + ''' )' + + EXEC sp_executesql @SQL + +RETURN +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_ParticolariOverview +* +* restituisce solo la riga con il num max di celle DI UN DATO magazzino +* +* Steamware, S.E.L. +* mod: 2010.06.02 +* +****************************************/ +alter PROCEDURE stp_magazzinoOverviewByMag_maxCelle +( + @CodCS VARCHAR(2), + @CodMag VARCHAR(50) +) +AS + + +WITH cte_celle AS( + SELECT b.CodBlocco, c.IdxTipoCella, COUNT(c.IdxCella) * t.Capienza AS numCelle + FROM Celle AS c INNER JOIN + Blocchi AS b ON c.IdxBlocco = b.IdxBlocco INNER JOIN + TipoCella AS t ON c.IdxTipoCella = t.IdxTipoCella + WHERE (b.CodCS = @CodCS) AND (b.CodMag = @CodMag) + GROUP BY b.CodBlocco, c.IdxTipoCella, t.Capienza +) + + + SELECT TOP (1) AnagMag.CodCS, AnagMag.CodMag, AnagMag.DescMag, b.IdxBlocco, b.CodBlocco, + ISNULL(c.numCelle,ISNULL(b.NumX * b.NumY * b.NumZ,1)) AS TotCelle, + 0 AS CelleAttive, 0 AS CelleOccupate, 0 AS CelleLibere, GETDATE() AS Oldest, GETDATE() AS Newest + FROM AnagMag INNER JOIN Blocchi b ON AnagMag.CodMag = b.CodMag AND AnagMag.CodCS = b.CodCS INNER JOIN cte_celle c ON c.CodBlocco = b.CodBlocco + WHERE (AnagMag.CodCS = @CodCS) AND AnagMag.CodMag = @CodMag + ORDER BY TotCelle DESC +RETURN +go + +/*************************************** +* STORED stp_ParticolariOverview +* +* restituisce solo la riga con il num max di celle +* +* Steamware, S.E.L. +* mod: 2010.06.02 +* +****************************************/ +alter PROCEDURE stp_magazzinoOverview_maxCelle +( + @CodCS VARCHAR(2) +) +AS + +WITH cte_celle AS( + SELECT b.CodBlocco, c.IdxTipoCella, COUNT(c.IdxCella) * t.Capienza AS numCelle + FROM Celle AS c INNER JOIN + Blocchi AS b ON c.IdxBlocco = b.IdxBlocco INNER JOIN + TipoCella AS t ON c.IdxTipoCella = t.IdxTipoCella + WHERE (b.CodCS = @CodCS) + GROUP BY b.CodBlocco, c.IdxTipoCella, t.Capienza +) + + + SELECT TOP (1) AnagMag.CodCS, AnagMag.CodMag, AnagMag.DescMag, b.IdxBlocco, b.CodBlocco, + ISNULL(c.numCelle,ISNULL(b.NumX * b.NumY * b.NumZ,1)) AS TotCelle, + 0 AS CelleAttive, 0 AS CelleOccupate, 0 AS CelleLibere, GETDATE() AS Oldest, GETDATE() AS Newest + FROM AnagMag INNER JOIN Blocchi b ON AnagMag.CodMag = b.CodMag AND AnagMag.CodCS = b.CodCS INNER JOIN cte_celle c ON c.CodBlocco = b.CodBlocco + WHERE (AnagMag.CodCS = @CodCS) + ORDER BY TotCelle DESC + +RETURN +go + +commit +go + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(285, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.1/GMW_00286.sql b/GMW_data/SqlScripts/V1.1/GMW_00286.sql new file mode 100644 index 00000000..de2770ec --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00286.sql @@ -0,0 +1,198 @@ +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +alter VIEW v_selUdcByPart +AS +SELECT UDC AS value, ISNULL(RTRIM(UDC), '-') + ' - ' + ISNULL(RTRIM(Particolare), '...') + ' (' + ISNULL(RTRIM(DescParticolare), '') + ') ' + ISNULL(RTRIM(DisegnoGrezzo), '-') + + ' pz. ' + ISNULL(CAST(Qta AS varchar), '0') AS label, Particolare AS conditio, IdxPosizione +FROM dbo.ElencoCartellini +WHERE (NOT (Particolare IS NULL)) AND (IdxPosizione >= 0) +go + +exec sp_updateextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "ElencoCartellini" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 319 + Right = 208 + End + DisplayFlags = 280 + TopColumn = 11 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 9 + Width = 284 + Width = 1500 + Width = 8910 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_selUdcByPart' +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_getUdcDetailFullCode +* +* ottiene l'elenco degli UDC con i dati significativi partendo da un codice UDC COMPLETO +* +* Steamware, S.E.L. +* mod: 2010.05.24 +* +****************************************/ +alter PROCEDURE stp_getUdcDetailFullCode +( + @UDC VARCHAR(50), + @CodCS VARCHAR(2) +) +AS + +SELECT ec.UDC, ISNULL(ec.RagSociale, N'nd') AS RagSociale, ISNULL(ec.Particolare, N'nd') AS Particolare, + ISNULL(ec.DescParticolare, N'nd') AS DescParticolare, ISNULL(ec.DisegnoGrezzo, N'nd') AS DisegnoGrezzo, + ISNULL(ec.Esponente, N'nd') AS Esponente, ISNULL(ec.DescImpianto, N'nd') AS DescImpianto, + ISNULL(ec.DataFus, N'') AS DataFus, ISNULL(ec.TurnoFus, 0) AS TurnoFus, ec.CodImballo, + ec.Qta, ISNULL(AnagStatiProdotto.DescStato, N'nd') AS DescStato, ec.ModDate, + CASE WHEN(ec.IdxPosizione < 0) THEN 'Consum' ELSE ISNULL(Blocchi.CodMag, N'nd') END AS CodMag, + ISNULL(Blocchi.CodBlocco, N'nd') AS CodBlocco, ISNULL(Celle.CodCella, N'nd') AS CodCella, ISNULL(dbo.Celle.IdxCella, 0) AS IdxCella, + ISNULL(Celle.X, 0) AS X, ISNULL(Celle.Y, 0) AS Y, ISNULL(Celle.Z, 0) AS Z, ec.IdxPosizione +FROM AnagStatiProdotto RIGHT OUTER JOIN + ElencoCartellini ec ON AnagStatiProdotto.CodStato = ec.CodStato AND AnagStatiProdotto.CodStato = ec.CodStato + LEFT OUTER JOIN Celle INNER JOIN PosizioneUdcCorrente ON Celle.IdxCella = PosizioneUdcCorrente.IdxCella + AND Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND Celle.IdxCella = PosizioneUdcCorrente.IdxCella + INNER JOIN Blocchi ON Celle.IdxBlocco = Blocchi.IdxBlocco INNER JOIN AnagMag ON Blocchi.CodMag = AnagMag.CodMag + AND Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag + AND Blocchi.CodCS = AnagMag.CodCS ON ec.UDC = PosizioneUdcCorrente.UDC +WHERE (ec.UDC = @UDC) AND (ec.CodCS = @CodCS) + +RETURN +go + +commit +go + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(286, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.1/GMW_00287.sql b/GMW_data/SqlScripts/V1.1/GMW_00287.sql new file mode 100644 index 00000000..91ee9017 --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00287.sql @@ -0,0 +1,78 @@ + +set xact_abort on +go + +begin transaction +go + +alter table AS400_BatchConsumoMP alter column + TurnoPrelFus nvarchar(50) not null +go + +alter table AS400_BatchConsumoMP alter column + DestLega nvarchar(50) +go + +alter table AS400_BatchConsumoMP alter column + DestTerz nvarchar(50) +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_accodaConsumoUdcMP +* +* Accoda alla tab Batch il consumo di un UDC +* +* Steamware, S.E.L. +* mod: 2010.10.10 +* +****************************************/ +alter PROCEDURE stp_accodaConsumoUdcMP +( + @UDC NVARCHAR(50), + @DataPrelFus DATETIME, + @TurnoPrelFus NVARCHAR(5), + @DestLega NVARCHAR(3), + @DestTerz NVARCHAR(6) +) +AS + +BEGIN TRAN + + -- registro movimento da riconciliare + INSERT INTO AS400_BatchConsumoMP(ProgUDC, UDC, DataPrelFus, TurnoPrelFus, DestLega, DestTerz) + SELECT ProgUdc, UDC, dbo.dateToAsFormat(@DataPrelFus), LTRIM(RTRIM(@TurnoPrelFus)), LTRIM(RTRIM(@DestLega)), LTRIM(RTRIM(@DestTerz)) + FROM RilPro.RapQual WHERE UDC = @UDC + + -- aggiorno con data e turno di prelievo su tab RilPro (locale) + UPDATE RilPro.RapQual + SET DataPrelFus = dbo.dateToAsFormat(@DataPrelFus), TurnoPrelFus = LTRIM(RTRIM(@TurnoPrelFus)) + WHERE UDC = @UDC + +COMMIT TRAN + +RETURN +go + +commit +go + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(287, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.1/GMW_00288.sql b/GMW_data/SqlScripts/V1.1/GMW_00288.sql new file mode 100644 index 00000000..2fabd384 --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00288.sql @@ -0,0 +1,758 @@ +-- FIX parte As400 +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +alter VIEW v_datiPackingList +AS +SELECT dbo.ElencoListePrelievo_AS.CodLista, dbo.RigheListePrelievo_AS.IdxRiga, dbo.ElencoCartellini.UDC, dbo.ElencoListePrelievo_AS.Particolare, + dbo.ElencoCartellini.CodImballo, CAST(RIGHT(dbo.RigheListePrelievo_AS.UDC, 6) AS INT) AS matrUdc, + CASE WHEN (dbo.ElencoListePrelievo_AS.CodTipoLista = '03-TerWip') THEN 'FO' ELSE 'CL' END AS tipo, dbo.ElencoListePrelievo_AS.Destinatario, + dbo.ElencoCartellini.Qta, dbo.ElencoCartellini.PesoTot - dbo.ElencoCartellini.Tara AS PesoNetto, dbo.ElencoCartellini.PesoTot, 'B' AS Stato, GETDATE() AS data, + dbo.ElencoListePrelievo_AS.DataBatch +FROM dbo.ElencoListePrelievo_AS INNER JOIN + dbo.RigheListePrelievo_AS ON dbo.ElencoListePrelievo_AS.CodLista = dbo.RigheListePrelievo_AS.CodLista INNER JOIN + dbo.ElencoCartellini ON dbo.RigheListePrelievo_AS.UDC = dbo.ElencoCartellini.UDC +WHERE (dbo.ElencoListePrelievo_AS.DataBatch IS NULL) +go + +exec sp_updateextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "ElencoListePrelievo_AS" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 367 + Right = 238 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "RigheListePrelievo_AS" + Begin Extent = + Top = 5 + Left = 353 + Bottom = 200 + Right = 557 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "ElencoCartellini" + Begin Extent = + Top = 14 + Left = 658 + Bottom = 376 + Right = 828 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 14 + Width = 284 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_datiPackingList' +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_batch_RapQual_S01 +* +* Esegue lo step 1 (caricamento dati RAW da AS400) per la tab dei rapporti di qualità +* +* Steamware, S.E.L. +* mod: 2010.09.23 +* +****************************************/ +alter PROCEDURE BatchQueue.stp_batch_RapQual_S01 +( + @minData DATETIME +) +AS + SET NOCOUNT ON; + + -- BOZZA DA TESTARE A CURA MAZZUCCONI!!! + /* + XRPQLN AS nRapQual + XRPQLD AS DataRapQual + XNRETI AS ProgUDC + XCDFOR AS CodFor + XCDTER AS DestTerz + XCDPAR AS CodLega + XDTPRO AS DataPrelFus + XTRPRO AS TurnoPrelFus + XQTPRO AS Qta + XDESMT AS DestLega + XMATSC AS LegaScaric + XBENQL AS BenesQual + + WHERE XRPQLN <> 0 -- Se il n. rapporto di qualità è zero non sono cartellini materia prima + + */ + + DECLARE @SQL AS NVARCHAR(4000); + DECLARE @SqlOK AS INT; + + DECLARE @dataAs400 AS VARCHAR(8) + + SET @dataAs400 = (SELECT dbo.dateToAsFormat(@minData)) + + BEGIN TRY + + -- svuoto tab raw attuale + DELETE FROM RawData.XOGIX00F + + -- CREO L'ISTRUZIONE SQL DI INSERT PARAMETRICA + SET @SQL = + N'INSERT INTO RawData.XOGIX00F + SELECT XRPQLN + ,XRPQLD + ,XNRETI + ,XCDFOR + ,XCDTER + ,XCDPAR + ,XDTPRO + ,XTRPRO + ,XQTPRO + ,XDESMT + ,XMATSC + ,XBENQL + FROM OPENQUERY( P65220DC, ''SELECT * FROM MAZZT_DTV3.XOGIX00F WHERE XRPQLN <> 0 AND XRPQLD >= ' + + SET @SQL = @SQL + @dataAs400 + ' '' ) ' + + -- SELECT @SQL + + -- Eseguo il comando T-SQL verso AS400 e testo se OK + SET @SqlOK = 0; + + -- EXEC @SqlOK = sp_executesql @SQL se faccio così non mi valorizza la variabile se da errore + EXEC sp_executesql @SQL; + + END TRY + BEGIN CATCH + -- PRINT ERROR_NUMBER() + SET @SqlOK = ERROR_NUMBER(); + + END CATCH + + -- Memorizzo il comando per verifica T-SQL e l'esito del comando se 0 è OK + INSERT INTO RawData.AS400_Comandi + SELECT GETDATE(), 'stp_consumaMP', @SQL, @SqlOK; + + -- è possibile sollevare un RAISERROR ??? come si comporta poi il programma? + + -- NON SI FANNO RAISE ERROR E NON SI RESTITUISCE CODICE!!!!! + + --RETURN @SqlOK; -- commentato da Sam + +RETURN +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_consumaMP +* +* Salva il movimento di consumo dell'UDC di MP indicato +* +* Steamware, S.E.L. +* mod: 2010.10.12 +* +****************************************/ +alter PROCEDURE BatchQueue.stp_consumaMP +( + @XRPQLN INT, -- è il num rap qualità + @XNRETI NVARCHAR(10), -- è il numUdc prog AS400 + @XDTPRO INT, -- data 8 cifre aaaammgg Data Prelievo Fusione + @XTRPRO NVARCHAR(5), -- turno prelievo ( solo se interno ) + @XDESMT NVARCHAR(3), -- destinatario int/terzista ( F01 / T01 ) + @XCDTER NVARCHAR(6) -- cod terzista ( Anagrafico Depositi ) +) +AS + -- BOZZA DA VERIFICARE E COMPLETARE A CURA MAZZUCCONI!!! + -- L'UPDATE FUNZIONA VERSO AS400 DI TEST MAZZT_DTV3 effetiva MAZZ_DATV3 + + /* PER TESTARE + + DECLARE @XRPQLN INT, -- è il num rap qualità + @XNRETI NVARCHAR(10), -- è il numUdc prog + @XDTPRO INT, -- data 8 cifre aaaammgg + @XTRPRO NVARCHAR(5), -- turno + @XDESMT NVARCHAR(3), -- destinatario int/terzista + @XCDTER NVARCHAR(6) -- cod terzista + + SET @XRPQLN = 905793 -- è il num rap qualità + SET @XNRETI = 'U100548151' -- è il numUdc prog + SET @XDTPRO = 20100723 -- data 8 cifre aaaammgg + SET @XTRPRO = 'S' -- turno + SET @XDESMT = 'F01' -- destinatario int/terzista + SET @XCDTER = '' -- cod terzista + */ + + DECLARE @SQL AS NVARCHAR(4000); + DECLARE @SqlOK AS INT; + + BEGIN TRY + + -- TEST per generare errore + -- SET @XDTPRO = 99999920100723 -- data 8 cifre aaaammgg + + -- Creo l'istruzione SQL e faccio chiamata su AS400 + -- Forse è meglio controllare prima se già aggiornato e preso in carico da ACG??? + + SET @SQL = N'UPDATE OPENQUERY( P65220DC, ''SELECT * FROM MAZZT_DTV3.XOGIX00F ' + + SET @SQL = @SQL + 'WHERE XRPQLN = ' + CAST(@XRPQLN AS NVARCHAR(20)) -- Numero Rapporto Qualita + SET @SQL = @SQL + ' AND XNRETI = ''''' + @XNRETI + ''''''' ) ' -- Numero UDC AS400 + + SET @SQL = @SQL + 'SET XDTPRO = ' + CAST(@XDTPRO AS NVARCHAR(8)) + SET @SQL = @SQL + ', XTRPRO = ''' + @XTRPRO + '''' + SET @SQL = @SQL + ', XDESMT = ''' + @XDESMT + '''' + SET @SQL = @SQL + ', XMATSC = ''S''' -- Flag Lega Scaricata + SET @SQL = @SQL + ', XCDTER = ''' + @XCDTER + ''''; + + -- SELECT @SQL + + -- Eseguo il comando T-SQL verso AS400 e testo se OK + SET @SqlOK = 0; + + -- EXEC @SqlOK = sp_executesql @SQL se faccio così non mi valorizza la variabile se da errore + EXEC sp_executesql @SQL; + END TRY + BEGIN CATCH + -- PRINT ERROR_NUMBER() + SET @SqlOK = ERROR_NUMBER(); + + -- Uso RAISERROR mandare in errore la procedura e x per tornare le info + -- sull'errore originale che ha portato l'esecuzione nel blocco CATCH + --DECLARE @ErrorMessage NVARCHAR(4000); + --DECLARE @ErrorSeverity INT; + --DECLARE @ErrorState INT; + --SELECT @ErrorMessage = ERROR_MESSAGE(),@ErrorSeverity = ERROR_SEVERITY(),@ErrorState = ERROR_STATE(); + --RAISERROR (@ErrorMessage,@ErrorSeverity,@ErrorState); -- Se non uso RAISERROR la procedura non mi da errore es. se schedulata + END CATCH + + -- Memorizzo il comando per verifica T-SQL e l'esito del comando se 0 è OK + INSERT INTO RawData.AS400_Comandi + SELECT GETDATE(), 'stp_consumaMP', @SQL, @SqlOK; + + -- è possibile sollevare un RAISERROR ??? come si comporta poi il programma? + + -- NON SI FANNO RAISE ERROR E NON SI RESTITUISCE CODICE!!!!! + + --RETURN @SqlOK; -- commentato da Sam + + + + -- MANCA IL TEST SE HO AGGIORNATO EFFETTIVAMENTE o MENO + + /* + SELECT XRPQLN, XNRETI , XDTPRO, XTRPRO, XDESMT, XMATSC, XCDTER + FROM OPENQUERY( P65220DC, 'SELECT * FROM MAZZT_DTV3.XOGIX00F WHERE XRPQLN = 905793 AND XNRETI = ''U100548151'' ') + + -- Resetto l'UDC + UPDATE OPENQUERY( P65220DC, 'SELECT * FROM MAZZT_DTV3.XOGIX00F WHERE XRPQLN = 905793 AND XNRETI = ''U100548151'' ') + SET XDTPRO = 0 , XTRPRO = '', XDESMT = '', XMATSC = 'N', XCDTER = '' + + -- Comando OK + -- UPDATE OPENQUERY( P65220DC, 'SELECT * FROM MAZZT_DTV3.XOGIX00F WHERE XRPQLN = 905793 AND XNRETI = ''U100548151'' ') + -- SET XDTPRO = 20100723 , XTRPRO = 'S', XDESMT = 'F01', XMATSC = 'N', XCDTER = '' + */ + +RETURN +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/***************************************************** +* STORED sstp_processaCodaMovimMag +* +* Processa la coda dei movimenti di magazzino e chiama procedura x salvataggio dato su AS400 +* +* Steamware, S.E.L. +* mod: 2010.10.15 +* +****************************************/ +alter PROCEDURE BatchQueue.stp_processaCodaMovimMag +AS + + -- BOZZA DA VERIFICARE E COMPLETARE A CURA MAZZUCCONI!!! + -- campi variabili "globali" + DECLARE @IdxBatch INT + DECLARE @CodSoggetto NVARCHAR(17) + DECLARE @CodMovCarico CHAR(2) + DECLARE @CodMovScarico CHAR(2) + -- campi x cursore e valorizzazione riga a riga + DECLARE @Particolare NVARCHAR(15) + DECLARE @Causale NVARCHAR(2) + DECLARE @CodMag NVARCHAR(50) + DECLARE @Qta INT + DECLARE @Data NVARCHAR(8) + DECLARE @RIFFO NVARCHAR(8) + + -- faccio una query con un cursore x processare tutte le righe da inviare ad AS400.. + DECLARE RigaMovMag CURSOR FOR + SELECT IdxBatch FROM AS400_BatchMovimenti WHERE DataBatch IS NULL + + -- setto il codice soggetto da inviare ad AS... VERIFICARE!!! + SET @CodSoggetto = 'O0000000000099999' + + -- carico i 2 valori di default di carico e scarico da AS400 + SET @CodMovCarico = (SELECT CauCarico FROM RilPro.AnagCausaliMag) + SET @CodMovScarico = (SELECT CauScarico FROM RilPro.AnagCausaliMag) + + -- inizio cursore! + OPEN RigaMovMag + FETCH NEXT FROM RigaMovMag + INTO @IdxBatch + WHILE @@FETCH_STATUS = 0 + BEGIN + -- controllo ci sia la riga + IF (SELECT COUNT(IdxBatch) FROM AS400_BatchMovimenti WHERE IdxBatch = @IdxBatch) > 0 + BEGIN + -- carico valori che mi servono + SELECT @Particolare=bm.Particolare, @Causale=CASE WHEN bm.Quantita>0 THEN @CodMovCarico ELSE @CodMovScarico END, + @CodMag=bm.CodMagAS, @Qta = ABS(bm.Quantita), @Data=dbo.dateToAsFormat(GETDATE()), @RIFFO=dbo.getUdcComp(bm.UDC,8) + FROM AS400_BatchMovimenti bm + WHERE IdxBatch = @IdxBatch + + -- Eseguo la stored che registra il Packing List ??? + Execute BatchQueue.stp_registraMovMag @CodSoggetto, @Causale, @Particolare, @CodMag, @Qta, @Data, @RIFFO + + -- registro la data del movimento BATCH + UPDATE AS400_BatchMovimenti SET DataBatch = GETDATE() WHERE IdxBatch = @IdxBatch + + FETCH NEXT FROM RigaMovMag INTO @IdxBatch + END + END + CLOSE RigaMovMag + DEALLOCATE RigaMovMag + + +RETURN +go + +commit +go + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/* +* STORED stp_processaCodaMovimPackList +* +* Processa la coda delle packing list e chiama procedura x salvataggio dato su AS400 +* +* Steamware, S.E.L. +* mod: 2010.10.22 +* +****************************************/ +create PROCEDURE BatchQueue.stp_processaCodaMovimPackList +AS + + -- BOZZA DA VERIFICARE E COMPLETARE A CURA MAZZUCCONI!!! + + -- campi x cursore e valorizzazione riga a riga + DECLARE @IdxRiga INT + DECLARE @CodLista NVARCHAR(12) + DECLARE @CodListaPre NVARCHAR(12) + DECLARE @CodStab CHAR(2) + DECLARE @UDC NVARCHAR(15) + DECLARE @Particolare NVARCHAR(15) + DECLARE @CodImb NVARCHAR(15) + DECLARE @Matr INT + DECLARE @Tipo NVARCHAR(2) + DECLARE @Dest NVARCHAR(10) + DECLARE @Qta INT + DECLARE @PesoNet NUMERIC(7,3) + DECLARE @PesoLor NUMERIC(7,3) + DECLARE @Stato CHAR(1) + DECLARE @Data NVARCHAR(8) + + -- faccio una query con un cursore x processare tutte le righe da inviare ad AS400.. + DECLARE RigaPackList CURSOR FOR + SELECT IdxRiga FROM v_datiPackingList ORDER BY CodLista + + -- setto il codice stabilimento da inviare ad AS... VERIFICARE!!! + SET @CodStab = '05'; + + -- imposto prima codListaPre a vuoto... + SET @CodListaPre = ''; + -- inizio cursore! + OPEN RigaPackList + FETCH NEXT FROM RigaPackList + INTO @IdxRiga + WHILE @@FETCH_STATUS = 0 + BEGIN + -- controllo ci sia la riga + IF (SELECT COUNT(IdxRiga) FROM v_datiPackingList WHERE IdxRiga = @IdxRiga) > 0 + BEGIN + -- carico valori che mi servono + SELECT @Particolare=pl.Particolare, @UDC=UDC, @CodImb=pl.CodImballo, @Matr = pl.matrUdc, @Tipo=pl.tipo, @Dest=pl.Destinatario, + @Qta=ABS(pl.Qta), @PesoNet=pl.PesoNetto, @PesoLor=pl.PesoTot, @Stato=pl.Stato, @Data=dbo.dateToAsFormat(pl.data), + @CodLista=pl.CodLista + FROM v_datiPackingList pl + WHERE IdxRiga = @IdxRiga + + -- Eseguo la stored che registra il Packing List ??? + Execute BatchQueue.stp_registraPackList @CodStab, @UDC, @Particolare , @CodImb , @Matr , @Tipo , @Dest , @Qta , @PesoNet , @PesoLor , @Stato , @Data + + FETCH NEXT FROM RigaPackList INTO @IdxRiga + + -- controllo: se la lissta precedente è diversa dall'attuale la indico come scaricata (precedente) + IF(@CodListaPre <> @CodLista) + BEGIN + UPDATE ElencoListePrelievo_AS SET DataBatch = GETDATE() WHERE CodLista = @CodListaPre + -- cambio il cod pre da confrontare + SET @CodListaPre = @CodLista + END + END + -- registro la data del movimento BATCH dell'ultima lista processata + UPDATE ElencoListePrelievo_AS SET DataBatch = GETDATE() WHERE CodLista = @CodLista + + END + CLOSE RigaPackList + DEALLOCATE RigaPackList + +RETURN +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_registraMovMag +* +* Salva il movimento di magazzino indicato +* +* Steamware, S.E.L. +* mod: 2010.10.15 +* +****************************************/ +alter PROCEDURE BatchQueue.stp_registraMovMag +( + @NOMUS NVARCHAR(50), -- è il nome utente + @CDCAU NVARCHAR(2), -- è la causale del movimento + @CDPAR NVARCHAR(15), -- codice particolare + @CDMAG NVARCHAR(2), -- codice magazzino + @QTMOV NUMERIC(9,2), -- quantità movimento + @DAMOV NVARCHAR(8), -- data 8 cifre aaaammgg Data Movimento + @RIFFO NVARCHAR(8) -- cod UDC compresso +) +AS + + -- QUESTA FUNZIONA!!! DA VERIFICARE I DATI PASSATI VISTO CHE ATTUALMENTE NON FUNZIONA + -- LA STORED CHE LA RICHIAMA-POPOLA ? + + -- Movimentazioni Magazzino + -- Tabella MWMV200F libreria MAZZT_AZI per test – MAZZ_AZI effettiva + + /* -- Variabili per test senza Stored + DECLARE @NOMUS NVARCHAR(50), -- è il nome utente + @CDCAU NVARCHAR(2), -- è la causale del movimento + @CDPAR NVARCHAR(15), -- codice particolare + @CDMAG NVARCHAR(2), -- codice magazzino + @QTMOV NUMERIC(9,2), -- quantità movimento ATTENZIONE QUESTA E' SBAGLIATA SULLA STORED + @DAMOV NVARCHAR(8), -- data 8 cifre aaaammgg + @RIFFO NVARCHAR(8) -- cod UDC compresso + + -- SETTO LE VARIABILI DI PROVA PER TEST + SET @NOMUS = N'PIPPO' + SET @CDCAU = N'01' + SET @CDPAR = N'P00528503817' + SET @CDMAG = N'54' + SET @QTMOV = 1234567.51 + SET @DAMOV = N'20100101' + SET @RIFFO = N'UDCPROVA' + */ + + DECLARE @SqlOK AS INT; + + -- inizio a dire che è andata bene e salvo in tab comandi + SET @SqlOk = 1; + + -- Memorizzo il comando per verifica T-SQL + INSERT INTO RawData.AS400_Comandi + SELECT GETDATE(), 'stp_registraMovMag', + 'INSERT INTO OPENQUERY MAZZT_AZI.MWMV200F parametri :' + + @NOMUS + ',' + @CDCAU + ',' + @CDPAR + ',' + @CDMAG + ',' + CONVERT(VARCHAR(20) , @QTMOV) + ',' + @DAMOV + ',' + @RIFFO, @SqlOk + + /* + INSERT INTO + OPENQUERY( P65220DC, + ' + SELECT NOMUS , CDCAU , CDPAR , CDMAG , QTMOV , DAMOV , RIFFO + FROM MAZZT_AZI.MWMV200F + ' ) + VALUES ( @NOMUS , @CDCAU , @CDPAR , @CDMAG , @QTMOV , @DAMOV , @RIFFO ) + */ + + + /* TEST e DELETE + SELECT * FROM OPENQUERY( P65220DC, 'SELECT NOMUS ,CDCAU ,CDPAR ,CDMAG ,QTMOV ,DAMOV ,RIFFO FROM MAZZT_AZI.MWMV200F' ) + + DELETE + OPENQUERY( P65220DC, 'SELECT * FROM MAZZT_AZI.MWMV200F WHERE NOMUS = ''PIPPO'' ') + */ + +RETURN +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_registraPackList +* +* Salva i dati di packing list indicati +* +* Steamware, S.E.L. +* mod: 2010.10.15 +* +****************************************/ +alter PROCEDURE BatchQueue.stp_registraPackList +( + @PLREPA NVARCHAR(2), -- è il codice reparto/stabilimento (05 pressofusione) + @PLCART NVARCHAR(15), -- UDC + @PLARTI NVARCHAR(15), -- cod articolo + @PLCONT NVARCHAR(15), -- cod contenitore + @PLMATR INT, -- matricola contenitore (solo cifre finali INT) + @PLTPAN CHAR(2), -- tipo anagrafico CLiente / FOrnitore-terzista + @PLCDAN NVARCHAR(6), -- cod terzista / cliente + @PLQTA INT, -- quantità + @PLPNET NUMERIC(7, 3), -- peso netto + @PLPLOR NUMERIC(7, 3), -- peso lordo + @PLSTAT CHAR(1), -- stato "P" predisposto per packing list, "B" bolla stampata + @PLDTEN INT -- data entrata merce, data di carico dell'UDC 8 cifre aaaammgg +) +AS + -- BOZZA DA VERIFICARE E COMPLETARE A CURA MAZZUCCONI!!! + + --DECLARE @SQL AS NVARCHAR(4000); + DECLARE @SqlOK AS INT; + + -- inizio a dire che è andata bene e salvo in tab comandi + SET @SqlOk = 1; + + -- Memorizzo il comando per verifica T-SQL + INSERT INTO RawData.AS400_Comandi + SELECT GETDATE(), 'stp_registraPackList', + 'INSERT INTO MAZZT_DTV3.PACKL00F parametri :' + + @PLREPA + ', ' + @PLCART + ', ' + @PLARTI + ', ' + @PLCONT + ', ' + CAST(@PLMATR AS NVARCHAR(5)) + ', ' + @PLTPAN + ', ' + @PLCDAN + ', ' + CAST(@PLQTA AS NVARCHAR(10)) + ', ' + CAST(@PLPNET AS NVARCHAR(10)) + ', ' + CAST(@PLPLOR AS NVARCHAR(10)) + ', ' + @PLSTAT + ', ' + CAST(@PLDTEN AS NVARCHAR(8)) , @SqlOk + + /* + INSERT INTO + OPENQUERY( P65220DC, + ' + SELECT PLREPA , PLCART , PLARTI , PLCONT , PLMATR , PLTPAN , PLCDAN , PLQTA , PLPNET , PLPLOR , PLSTAT , PLDTEN + FROM MAZZT_AZI.MWMV200F + ' ) + VALUES ( @PLREPA , @PLCART , @PLARTI , @PLCONT , CAST(@PLMATR AS NVARCHAR(5)) , @PLTPAN , @PLCDAN , CAST(@PLQTA AS NVARCHAR(10)) , CAST(@PLPNET AS NVARCHAR(10)) , CAST(@PLPLOR AS NVARCHAR(10)) , @PLSTAT , CAST(@PLDTEN AS NVARCHAR(8)) ) + */ + + + /* + -- preparo chiamata su AS400 + SET @SQL = N' OPENQUERY( P65220DC, ''INSERT INTO MAZZT_DTV3.PACKL00F VALUES ' + SET @SQL = @SQL + @PLREPA + ', ' + @PLCART + ', ' + @PLARTI + ', ' + @PLCONT + ', ' + SET @SQL = @SQL + CAST(@PLMATR AS NVARCHAR(5)) + ', ' + @PLTPAN + ', ' + @PLCDAN + ', ' + CAST(@PLQTA AS NVARCHAR(10)) + ', ' + SET @SQL = @SQL + CAST(@PLPNET AS NVARCHAR(10)) + ', ' + CAST(@PLPLOR AS NVARCHAR(10)) + ', ' + @PLSTAT + ', ' + SET @SQL = @SQL + CAST(@PLDTEN AS NVARCHAR(8)) + ''' )' + + EXEC sp_executesql @SQL + */ + +RETURN +go + +commit +go + + + + + + + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(288, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.1/GMW_00289.sql b/GMW_data/SqlScripts/V1.1/GMW_00289.sql new file mode 100644 index 00000000..0b21ce7f --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00289.sql @@ -0,0 +1,122 @@ +alter table StoricoCartellini drop + constraint FK_StoricoEventi_AnagTipoEvento , + column CodEvento, + constraint DF_StoricoEventi_CodTipoDichiaraz , + constraint FK_StoricoEventi_AnagTipoDichiaraz , + column CodTipoDichiaraz +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +-- ============================================= +-- Author: Samuele E. Locatelli +-- Create date: 2009-10-27 +-- Description: trigger x inserimento valori in archivio storico alla cancellazione/modifica del dato +-- ============================================= +create TRIGGER trg_storicoUDC + ON ElencoCartellini + AFTER DELETE,UPDATE +AS +BEGIN + -- SET NOCOUNT ON added to prevent extra result sets from + -- interfering with SELECT statements. + SET NOCOUNT ON; + + -- metto in storico la posizione attuale dell'UDC (SE esiste) CANCELLATO + INSERT INTO StoricoCartellini(DataEv, UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, DisegnoGrezzo, Esponente, CodImpianto, + DescImpianto, CodStampo, Figura, DataFus, TurnoFus, CodImballo, CodSoggetto, NumCont, Tara, Qta, CodStato, IdxPosizione, PesoTot, PesoCad) + ( + + SELECT GETDATE(), UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, DisegnoGrezzo, Esponente, CodImpianto, DescImpianto, + CodStampo, Figura, DataFus, TurnoFus, CodImballo, CodSoggetto, NumCont, Tara, Qta, CodStato, IdxPosizione, PesoTot, PesoCad + FROM deleted + ) + +END +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_LP_exportToAs400 +* +* esporta la lista di prelievo (e le relative righe) verso AS400 andando a copaire nelle relative tabelle _AS +* +* Steamware, S.E.L. +* mod: 2010.07.19 +* +****************************************/ +alter PROCEDURE stp_LP_exportToAs400 +( + @CodLista NVARCHAR(12) +) +AS + +-- copio la lista (intestazione) +INSERT INTO ElencoListePrelievo_AS(CodLista, CodTipoLista, CodCS, DataCreaz, CodCliente, RagSociale, CodSoggetto, Particolare, DescParticolare, + DisegnoGrezzo, Esponente, Figura, CodImballo, QtaTot, CodStatoLista, Destinatario) +SELECT CodLista, CodTipoLista, CodCS, DataCreaz, CodCliente, RagSociale, CodSoggetto, Particolare, DescParticolare, + DisegnoGrezzo, Esponente, Figura, CodImballo, QtaTot, CodStatoLista, Destinatario +FROM ElencoListePrelievo +WHERE (CodLista = @CodLista) + +-- copio le righe lista di dettaglio +INSERT INTO RigheListePrelievo_AS(CodLista, UDC, Qta, Proposto, Prelevato) +SELECT CodLista, UDC, Qta, Proposto, Prelevato +FROM RigheListePrelievo +WHERE (CodLista = @CodLista) AND Prelevato = 1 + +-- aggiorno le quantità passate ad AS... +UPDATE ElencoListePrelievo_AS +SET QtaTot = ( SELECT SUM(Qta) AS QtaTot FROM RigheListePrelievo WHERE (CodLista = @CodLista) AND Prelevato = 1 ) +WHERE (CodLista = @CodLista) + +-- IMPORTANTE: in caso siano rimasti riferimenti ad un UDC scaricato in AS in altre liste di prelievo li tolgo in modo da "ripulirle" ed evitare che lo stesso UDC venga prelevato 2 volte... +DELETE RLP +FROM RigheListePrelievo RLP +INNER JOIN ElencoListePrelievo ELP + ON RLP.CodLista = ELP.CodLista +WHERE ELP.CodStatoLista < 4 AND RLP.CodLista <> @CodLista AND RLP.UDC IN ( + SELECT UDC + FROM RigheListePrelievo + WHERE (CodLista = @CodLista) AND Prelevato = 1 + ) + +RETURN +go + +commit +go + + + + + + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(289, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.1/GMW_00290.sql b/GMW_data/SqlScripts/V1.1/GMW_00290.sql new file mode 100644 index 00000000..e6de1ca3 --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00290.sql @@ -0,0 +1,648 @@ +set xact_abort on +go + +begin transaction +go + +alter table AS400_MagCont add + CodMagAS_compensaz nvarchar(50) constraint DF_AS400_MagCont_CodMagAS_compensaz default (0) +go + +update AS400_MagCont set CodMagAS_compensaz=0 +go + +set ANSI_NULLS on +go + +-- ============================================= +-- Author: Samuele E. Locatelli +-- Create date: 2009-09-20 +-- Description: trigger x inserimento movimenti +-- nella coda di trasferimento batch +-- verso AS400 x UPDATE UDC +-- ============================================= +alter TRIGGER trg_updMovAS + ON ElencoCartellini + AFTER UPDATE +AS +BEGIN + + -- setup variabili e verbosità + SET NOCOUNT ON; + DECLARE @partOk AS BIT + DECLARE @IdxPosFrom AS INT + DECLARE @IdxPosTo AS INT + DECLARE @magFrom AS NVARCHAR(50) + DECLARE @magTo AS NVARCHAR(50) + DECLARE @qta AS DECIMAL(10,2) + DECLARE @qtaOld AS DECIMAL(10,2) + DECLARE @IdxPosizioneComp INT + + -- controllo che CI SIA il particolare (altrimenti non eseguo) + SET @partOk = (SELECT CASE WHEN ISNULL(Particolare,'n.d.') = 'n.d.' THEN 0 ELSE 1 END FROM deleted) + + IF(@partOk = 1) + SET @qta = (SELECT Qta FROM inserted) + SET @qtaOld = (SELECT Qta FROM deleted) + -- se c'è stata modifica di quantità inizio a rettificare quella + IF (UPDATE(Qta)) AND(@qta <> @qtaOld) + BEGIN + -- registro il VERO movimento + INSERT INTO AS400_BatchMovimenti(DataIns, CodEvento, Particolare, UDC, CodMagAS, Quantita) + ( + SELECT GETDATE(), 'UDC_MOD', Particolare, UDC, CAST(IdxPosizione AS NVARCHAR(50)), @qta - Qta + FROM deleted + WHERE CAST(IdxPosizione AS NVARCHAR(50)) IN (SELECT CodMagAS FROM AS400_MagCont WHERE Attivo = 1) + ) + -- controllo: se il magazzino di destinazione richiede una compensazione registro il 2° movimento di compensazione + SET @IdxPosFrom = (SELECT IdxPosizione FROM deleted) + SET @IdxPosTo = (SELECT IdxPosizione FROM inserted) + -- calcolo il mag di compensazione + SET @IdxPosizioneComp = (SELECT CAST(ISNULL(CodMagAS_compensaz,0) AS INT) FROM AS400_MagCont WHERE (Attivo = 1) AND (CodMagAS = CAST(@IdxPosFrom AS NVARCHAR(50)))) + IF (@IdxPosizioneComp > 0) + BEGIN + INSERT INTO AS400_BatchMovimenti(DataIns, CodEvento, Particolare, UDC, CodMagAS, Quantita) + ( + SELECT GETDATE(), 'UDC_COMP', Particolare, UDC, CAST(@IdxPosizioneComp AS NVARCHAR(50)), Qta - @qta + FROM deleted + WHERE CAST(IdxPosizione AS NVARCHAR(50)) IN (SELECT CodMagAS FROM AS400_MagCont WHERE Attivo = 1) + ) + END + END + + -- controllo poi se sia cambiato il magazzino, altrimenti non lo inserisco + IF UPDATE(IdxPosizione) + BEGIN + -- Prendo le posizioni di magazzino precedente e nuova + SET @IdxPosFrom = (SELECT IdxPosizione FROM deleted) + SET @IdxPosTo = (SELECT IdxPosizione FROM inserted) + -- Le trasformo nelle equivalenti stringhe del codMag SE attive + SET @magFrom = (SELECT ISNULL(CodMagAS,'---') FROM AS400_MagCont WHERE Attivo = 1 AND CodMagAs = CAST(@IdxPosFrom AS NVARCHAR(50))) + SET @magTo = (SELECT ISNULL(CodMagAS,'---') FROM AS400_MagCont WHERE Attivo = 1 AND CodMagAs = CAST(@IdxPosTo AS NVARCHAR(50))) + + -- inserisco un movimento di deposito verso mag nuovo (SE attivo) + IF (@magFrom <> '---') + BEGIN + INSERT INTO AS400_BatchMovimenti(DataIns, CodEvento, Particolare, UDC, CodMagAS, Quantita) + ( + SELECT GETDATE(), 'UDC_MOV', Particolare, UDC, CAST(IdxPosizione AS NVARCHAR(50)), -@qta + FROM deleted + WHERE CAST(IdxPosizione AS NVARCHAR(50)) IN (SELECT CodMagAS FROM AS400_MagCont WHERE Attivo = 1) + ) + END + -- inserisco un movimento di prelievo verso mag vecchio (SE attivo) + IF (@magTo <> '---') + BEGIN + INSERT INTO AS400_BatchMovimenti(DataIns, CodEvento, Particolare, UDC, CodMagAS, Quantita) + ( + SELECT GETDATE(), 'UDC_MOV', Particolare, UDC, CAST(IdxPosizione AS NVARCHAR(50)), @qta + FROM inserted + WHERE CAST(IdxPosizione AS NVARCHAR(50)) IN (SELECT CodMagAS FROM AS400_MagCont WHERE Attivo = 1) + ) + END + END + +END +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +UPDATE dbo.AS400_MagCont SET + CodMagAS_compensaz=N'84' + WHERE CodMagAS=N'54' +UPDATE dbo.AS400_MagCont SET + CodMagAS_compensaz=N'84' + WHERE CodMagAS=N'88' +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +create VIEW v_specParticolari +AS +SELECT DISTINCT TOP (100) PERCENT CodCliente, RagSociale, Particolare, DescParticolare, DisegnoGrezzo, Esponente, CodStampo, Figura +FROM dbo.ElencoCartellini +WHERE (NOT (Particolare IS NULL)) AND (NOT (DisegnoGrezzo IS NULL)) +go + +exec sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "ElencoCartellini" + Begin Extent = + Top = 6 + Left = 246 + Bottom = 322 + Right = 416 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 9 + Width = 284 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_specParticolari' +go + +exec sp_addextendedproperty 'MS_DiagramPaneCount', 1, 'SCHEMA', 'dbo', 'VIEW', 'v_specParticolari' +go + +commit +go + + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*( +* STORED stp_ParticolariGetLike +* +* elenco dei particolari con ricerca LIKE +* +* Steamware, S.E.L. +* mod: 2010.07.07 +* +****************************************/ +create PROCEDURE stp_ParticolariGetLike +( + @searchVal VARCHAR(50), + @CodCS VARCHAR(2) +) +AS + + SELECT RilPro.AnagParticolari.* + FROM RilPro.AnagParticolari + WHERE (RilPro.AnagParticolari.CodCS = @CodCS) AND (RilPro.AnagParticolari.Particolare LIKE '%' + @searchVal + '%') + +RETURN +go + +commit +go + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_SpecParticolare +* +* ottiene il dettaglio delle specifiche di un particolare dato il suo codice +* +* Steamware, S.E.L. +* mod: 2010.10.29 +* +****************************************/ +create PROCEDURE stp_SpecParticolare +( + @Particolare NVARCHAR(15) +) +AS + +SELECT * +FROM v_specParticolari +WHERE Particolare=@Particolare + + +RETURN +go + +commit +go + + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_UDC_updateQty +* +* aggiorna un cartellino x la sua quantità +* +* Steamware, S.E.L. +* mod: 2010.06.12 +* +****************************************/ +alter PROCEDURE stp_UDC_updateQty +( + @UDC VARCHAR(20), + @CodSoggetto VARCHAR(17), + @CodTipoDichiaraz CHAR(1), + @CodEvento VARCHAR(10), + @Qta DECIMAL(10,2) +) +AS + + +------------------------------------------------------------------------------------------------------ +-- Ciclo principale x edit record +------------------------------------------------------------------------------------------------------ +BEGIN TRAN + + /* + -- registro in StoricoCartellini + INSERT INTO StoricoCartellini(DataEv, CodEvento, CodTipoDichiaraz, UDC, CodCS,CodCliente, RagSociale, Particolare, DescParticolare, + DisegnoGrezzo, Esponente, CodImpianto, DescImpianto, CodStampo, Figura, DataFus, TurnoFus, CodImballo, CodSoggetto, + NumCont, Tara, Qta, CodStato, IdxPosizione, PesoTot, PesoCad) + SELECT GETDATE() AS DataEv, @CodEvento AS CodEvento, @CodTipoDichiaraz AS CodTipoDichiaraz, UDC, CodCS, + CodCliente, RagSociale, Particolare, DescParticolare, DisegnoGrezzo, Esponente, CodImpianto, DescImpianto, CodStampo, Figura, + DataFus, TurnoFus, CodImballo, @CodSoggetto AS CodSoggetto, NumCont, Tara, Qta, CodStato, IdxPosizione, PesoTot, PesoCad + FROM ElencoCartellini + WHERE (UDC = @UDC) + */ + + -- modifico il record + UPDATE ElencoCartellini + SET Qta = @Qta, ModDate = GETDATE() + WHERE UDC = @UDC + +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- restituisco la tab dati con l'udc appena inserito +------------------------------------------------------------------------------------------------------ +SELECT * +FROM ElencoCartellini +WHERE UDC = @UDC +------------------------------------------------------------------------------------------------------ + +RETURN +go + +commit +go + + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +alter VIEW v_selDestinatariListePrelievo +AS +SELECT CAST('*' AS NVARCHAR(6)) AS value, CAST('*' AS NVARCHAR(50)) AS label, '01-PreFus' AS conditio +UNION +SELECT CAST(CodCliente AS NVARCHAR(6)) AS value, CAST(RagSociale AS NVARCHAR(50)) AS label, '02-PreCli' AS conditio +FROM RilPro.AnagClienti +UNION +SELECT CAST(CodTerzista AS NVARCHAR(6)) AS value, CAST(DescTerzista AS NVARCHAR(50)) AS label, '03-TerWip' AS conditio +FROM RilPro.AnagDepositi +go + +exec sp_updateextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 9 + Width = 284 + Width = 1500 + Width = 3360 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_selDestinatariListePrelievo' +go + +commit +go + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_rettMovAs400 +* +* inserisce nella tabella per i trasferimenti batch verso magazzino AS una quantità di rettifica (con segno - )per UDC eventualmente già scaricati a sistema +* +* Steamware, S.E.L. +* mod: 2010.11.02 +* +****************************************/ +alter PROCEDURE stp_rettMovAs400 +( + @Particolare NVARCHAR(50), + @UDC NVARCHAR(20), + @CodMagAS NVARCHAR(50), + @Qta DECIMAL(10,2) +) +AS + +BEGIN + + INSERT INTO AS400_BatchMovimenti(DataIns, CodEvento, Particolare, UDC, CodMagAS, Quantita) + VALUES (GETDATE(), 'UDC_NOQTY', @Particolare, @UDC, @CodMagAS, -@Qta) + +END + +RETURN +go + +commit +go + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_selDestListePrelByConditio +* +* Ottiene i destinatari delle liste di prelievo data la condizione indicata +* +* Steamware, S.E.L. +* mod: 2010.11.02 +* +****************************************/ +create PROCEDURE stp_selDestListePrelByConditio +( + @conditio NVARCHAR(20) +) +AS + +IF (@conditio='01-PreFus') +BEGIN + SELECT CAST('*' AS NVARCHAR(6)) AS value, CAST('*' AS NVARCHAR(50)) AS label, '01-PreFus' AS conditio +END + +ELSE IF (@conditio='02-PreCli') +BEGIN + SELECT CAST(CodCliente AS NVARCHAR(6)) AS value, CAST(RagSociale AS NVARCHAR(50)) AS label, '02-PreCli' AS conditio + FROM RilPro.AnagClienti + ORDER BY label +END + +ELSE +BEGIN + SELECT CAST(CodTerzista AS NVARCHAR(6)) AS value, CAST(DescTerzista AS NVARCHAR(50)) AS label, '03-TerWip' AS conditio + FROM RilPro.AnagDepositi + ORDER BY label +END + +RETURN +go + +commit +go + + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(290, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.1/GMW_00291.sql b/GMW_data/SqlScripts/V1.1/GMW_00291.sql new file mode 100644 index 00000000..16a26f08 --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00291.sql @@ -0,0 +1,299 @@ +set xact_abort on +go + +begin transaction +go + +alter table RigheListePrelievo_AS add + DataBatch datetime +go + +exec sp_addextendedproperty 'MS_Description', 'dataora di caricamento batch verso AS', 'SCHEMA', 'dbo', 'TABLE', 'RigheListePrelievo_AS', 'COLUMN', 'DataBatch' +go + +set ANSI_NULLS on +go + +/***************************************** +* STORED stp_processaCodaMovimPackList +* +* Processa la coda delle packing list e chiama procedura x salvataggio dato su AS400 +* +* Steamware, S.E.L. +* mod: 2010.10.22 +* +****************************************/ +alter PROCEDURE BatchQueue.stp_processaCodaMovimPackList +AS + + -- BOZZA DA VERIFICARE E COMPLETARE A CURA MAZZUCCONI!!! + + -- campi x cursore e valorizzazione riga a riga + DECLARE @IdxRiga INT + DECLARE @CodLista NVARCHAR(12) + DECLARE @CodListaPre NVARCHAR(12) + DECLARE @CodStab CHAR(2) + DECLARE @UDC NVARCHAR(15) + DECLARE @Particolare NVARCHAR(15) + DECLARE @CodImb NVARCHAR(15) + DECLARE @Matr INT + DECLARE @Tipo NVARCHAR(2) + DECLARE @Dest NVARCHAR(10) + DECLARE @Qta INT + DECLARE @PesoNet NUMERIC(7,3) + DECLARE @PesoLor NUMERIC(7,3) + DECLARE @Stato CHAR(1) + DECLARE @Data NVARCHAR(8) + + DECLARE @ScritturaRigaOK AS INT -- Flag errore su riga ritornato da Stored che va su As400 0 = Ok + SET @ScritturaRigaOK = 0; + + DECLARE @ScritturaASOK AS INT -- Flag errore Packing generale su Stored che va su As400 0 = Ok + SET @ScritturaASOK = 0; + + -- qui è meglio usare una tabella temporanea o ancor meglio una variabile tabella x pochi + -- record per non bloccare le tabelle sottostanti + -- query con un cursore x processare tutte le righe di Packing che sono ancora da inviare ad AS400 ( DataBatch IS NULL ) + DECLARE RigaPackList CURSOR LOCAL FOR + SELECT IdxRiga, CodLista FROM v_datiPackingList ORDER BY CodLista + + -- setto il codice stabilimento da inviare ad AS... VERIFICARE!!! + SET @CodStab = '05'; + + -- imposto prima codListaPre a vuoto... + SET @CodListaPre = ''; + + -- inizio cursore caricando le righe + OPEN RigaPackList + FETCH NEXT FROM RigaPackList + INTO @IdxRiga , @CodLista + + SET @CodListaPre = @CodLista + + WHILE @@FETCH_STATUS = 0 + BEGIN + -- controllo ci sia almento una riga di Packing ( PER ME NON SERVE ) + IF (SELECT COUNT(IdxRiga) FROM v_datiPackingList WHERE IdxRiga = @IdxRiga) > 0 + BEGIN + -- carico valori che mi servono + SELECT @Particolare=pl.Particolare, @UDC=UDC, @CodImb=pl.CodImballo, @Matr = pl.matrUdc, @Tipo=pl.tipo, @Dest=pl.Destinatario, + @Qta=ABS(pl.Qta), @PesoNet=pl.PesoNetto, @PesoLor=pl.PesoTot, @Stato=pl.Stato, @Data=dbo.dateToAsFormat(pl.data), + @CodLista=pl.CodLista + FROM v_datiPackingList pl + WHERE IdxRiga = @IdxRiga + + -- Eseguo la stored che registra la Packing List con le righe sue righe + EXECUTE @ScritturaRigaOK = BatchQueue.stp_registraPackList @CodStab, @UDC, @Particolare , @CodImb , @Matr , @Tipo , @Dest , @Qta , @PesoNet , @PesoLor , @Stato , @Data + + -- se scrittura riga è ok allora salvo sulla riga la data di invio... così poi non la rivedo tra quelle da processare... + IF @ScritturaRigaOK = 0 + UPDATE RigheListePrelievo_AS SET DataBatch = GETDATE() WHERE IdxRiga = @IdxRiga; + + + -- Se scrittura Riga Packing non ok metto Flag Packing list non Ok + IF @ScritturaRigaOK <> 0 SET @ScritturaASOK = @ScritturaRigaOK + + FETCH NEXT FROM RigaPackList + INTO @IdxRiga , @CodLista + + -- controllo: se la lista precedente è diversa dall'attuale la indico come scaricata (precedente) + IF(@CodListaPre <> @CodLista) + BEGIN + -- ATTENZIONE!!! Qui è da controllare perchè lo faccio una sola volta per la + -- lista e non per riga prelievo ... boh non so se ok ... se UDC già presente in As400 errore 7343 + IF @ScritturaASOK = 0 + UPDATE ElencoListePrelievo_AS SET DataBatch = GETDATE() WHERE CodLista = @CodListaPre; + ELSE + SET @ScritturaASOK = 0; -- resetto il flag di controllo + + -- cambio il cod pre da confrontare + SET @CodListaPre = @CodLista + END + END + + END + + -- Aggiorno anche l'ultima lista prelievo + -- **** è corretto ??? se poi ricarico tutto il Packing list che succede??? + -- x gli UDC già in AS400 da errore 7343 + IF @ScritturaASOK = 0 -- OR @ScritturaASOK = 7343 ??? + UPDATE ElencoListePrelievo_AS SET DataBatch = GETDATE() WHERE CodLista = @CodLista + -- registro la data del movimento BATCH dell'ultima lista processata + + -- se c'è un errore mi rimane aperto il cursore? nn dovrebbe perchè LOCAL + CLOSE RigaPackList + DEALLOCATE RigaPackList + +RETURN +go + +alter VIEW v_datiPackingList +AS +SELECT dbo.ElencoListePrelievo_AS.CodLista, dbo.RigheListePrelievo_AS.IdxRiga, dbo.ElencoCartellini.UDC, dbo.ElencoListePrelievo_AS.Particolare, + dbo.ElencoCartellini.CodImballo, CAST(RIGHT(LTRIM(dbo.RigheListePrelievo_AS.UDC), 6) AS INT) AS matrUdc, + CASE WHEN (dbo.ElencoListePrelievo_AS.CodTipoLista = '03-TerWip') THEN 'FO' ELSE 'CL' END AS tipo, dbo.ElencoListePrelievo_AS.Destinatario, + dbo.ElencoCartellini.Qta, ROUND(dbo.ElencoCartellini.PesoTot - dbo.ElencoCartellini.Tara, 3) AS PesoNetto, ROUND(dbo.ElencoCartellini.PesoTot, 3) AS PesoTot, + 'P' AS Stato, GETDATE() AS data, dbo.RigheListePrelievo_AS.DataBatch +FROM dbo.ElencoListePrelievo_AS INNER JOIN + dbo.RigheListePrelievo_AS ON dbo.ElencoListePrelievo_AS.CodLista = dbo.RigheListePrelievo_AS.CodLista INNER JOIN + dbo.ElencoCartellini ON dbo.RigheListePrelievo_AS.UDC = dbo.ElencoCartellini.UDC +WHERE (dbo.RigheListePrelievo_AS.DataBatch IS NULL) +go + +exec sp_updateextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "ElencoListePrelievo_AS" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 367 + Right = 238 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "ElencoCartellini" + Begin Extent = + Top = 14 + Left = 658 + Bottom = 376 + Right = 828 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "RigheListePrelievo_AS" + Begin Extent = + Top = 5 + Left = 353 + Bottom = 200 + Right = 557 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 15 + Width = 284 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_datiPackingList' +go + +commit +go + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(291, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.1/GMW_00299.sql b/GMW_data/SqlScripts/V1.1/GMW_00299.sql new file mode 100644 index 00000000..ac1b8da1 --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00299.sql @@ -0,0 +1,139 @@ +set xact_abort on +go + +begin transaction +go + +alter table AnagPosizioni add + IsRiattivaEnabled bit constraint DF_AnagPosizioni_IsRiattivaEnabled default (0) +go + +update AnagPosizioni set IsRiattivaEnabled=0 +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_riattivaUdc +* +* riattiva un dato UDC (da mag consumato negativo a corrispettivo positivo) --> se era positivo NON FA NULLA!!! (perchè uso ABS e controllo sia < 0) +* +* Steamware, S.E.L. +* mod: 2010.11.04 +* +****************************************/ +create PROCEDURE stp_riattivaUdc +( + @UDC VARCHAR(20), + @CodSoggetto NVARCHAR(17) +) +AS + +DECLARE @CodEvento VARCHAR(10) +DECLARE @CodTipoDichiaraz VARCHAR(1) + +SET @CodEvento = 'UDC_RIA' +SET @CodTipoDichiaraz = 'U' + +BEGIN TRAN + + -- faccio update + UPDATE ElencoCartellini + SET IdxPosizione = ABS(IdxPosizione), ModDate=GETDATE(), CodSoggetto = @CodSoggetto + WHERE UDC = @UDC AND IdxPosizione IN (SELECT IdxPosizione FROM AnagPosizioni WHERE (IsRiattivaEnabled = 1) +) + +COMMIT TRAN + +RETURN +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +UPDATE dbo.AnagPosizioni SET + IsRiattivaEnabled=1 + WHERE IdxPosizione=-84 +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.AnagTipoEvento + VALUES (N'UDC_COMP', N'Compensazione per rettifica UDC') +INSERT INTO dbo.AnagTipoEvento + VALUES (N'UDC_RIA', N'Riattivazione UDC x gestione (se cancellato)') +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_sbloccaUdc +* +* sblocca un dato UDC per modifica +* +* Steamware, S.E.L. +* mod: 2010.04.28 +* +****************************************/ +alter PROCEDURE stp_sbloccaUdc +( + @UDC VARCHAR(20), + @CodSoggetto NVARCHAR(17) +) +AS + +DECLARE @CodEvento VARCHAR(10) +DECLARE @CodTipoDichiaraz VARCHAR(1) + +SET @CodEvento = 'UDC_SBL' +SET @CodTipoDichiaraz = 'U' + +BEGIN TRAN + + -- faccio update + UPDATE ElencoCartellini + SET ModDate = GETDATE(), CodSoggetto = @CodSoggetto + WHERE UDC = @UDC + +COMMIT TRAN + +RETURN +go + +commit +go + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(299, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.1/GMW_00305.sql b/GMW_data/SqlScripts/V1.1/GMW_00305.sql new file mode 100644 index 00000000..278eff71 --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00305.sql @@ -0,0 +1,204 @@ +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_UDC_getByTipoDelibera +* +* elenco cartellini che possono essere oggetto della delibera indicata +* +* Steamware, S.E.L. +* mod: 2010.07.29 +* +****************************************/ +alter PROCEDURE stp_UDC_getByTipoDelibera +( + @CodTipoDelibera NVARCHAR(50), + @DataFrom DATETIME, + @DataTo DATETIME +) +AS + +SELECT * +FROM ElencoCartellini +WHERE IdxPosizione IN ( + SELECT TabTranPosizEventi.IdxPosizione + FROM TabTranPosizEventi INNER JOIN AnagTipoEvento ON TabTranPosizEventi.CodEvento = AnagTipoEvento.CodEvento + INNER JOIN AnagTipoDelibere ON AnagTipoEvento.CodEvento = AnagTipoDelibere.CodEvento + WHERE (AnagTipoDelibere.CodTipoDelibera = @CodTipoDelibera) + ) -- vincolo su posizioni accettabili + AND DataFus BETWEEN @DataFrom AND @DataTo -- vincolo data + AND UDC NOT IN ( SELECT DISTINCT UDC FROM PosizioneUdcCorrente) +ORDER BY UDC DESC + +RETURN +go + +/*************************************** +* STORED stp_UDC_update +* +* aggiorna un cartellino dato il suo codice UDC e tutti i parametri da aggiornare +* +* Steamware, S.E.L. +* mod: 2010.04.30 +* +****************************************/ +alter PROCEDURE stp_UDC_update +( + @UDC_edit VARCHAR(20), + @CodCS VARCHAR(2), + @Flusso VARCHAR(2), + @Anno VARCHAR(2), + @CodCliente VARCHAR(6), + @Particolare VARCHAR(15), + @CodImpianto AS VARCHAR(50), + @CodStampo VARCHAR(8), + @Esponente VARCHAR(6), + @Figura VARCHAR(4), + @DataFus DATETIME, + @TurnoFus INT, + @CodImballo VARCHAR(15), + @CodSoggetto VARCHAR(17), + @Tara FLOAT, + @IdxPosizione INT, + @CodTipoDichiaraz CHAR(1), + @CodEvento VARCHAR(10), + @Qta DECIMAL(10,2), + @PesoTot FLOAT, + @PesoCad FLOAT, + @CodStato VARCHAR(50), + @UDC_parent VARCHAR(20) +) +AS + +-- DECLARE iniziali +DECLARE @RagSociale AS VARCHAR(35) +DECLARE @DescParticolare AS VARCHAR(30) +DECLARE @DescImpianto AS VARCHAR(50) +DECLARE @DisegnoGrezzo AS VARCHAR(30) +DECLARE @NumCont AS INT +DECLARE @numFlu AS INT +DECLARE @numUdc AS INT +DECLARE @nextUdc AS INT + +------------------------------------------------------------------------------------------------------ +-- Caricamento Dati da anagrafica +------------------------------------------------------------------------------------------------------ +-- cerco la ragione sociale... +SET @RagSociale = ( + SELECT ISNULL(RagSociale, 'ND') AS RagSociale + FROM RilPro.AnagClienti + WHERE (CodCliente = @CodCliente) +) + +-- Cerco descrizione del particolare... +SET @DescParticolare = ( + SELECT ISNULL(DescParticolare, 'ND') AS DescParticolare + FROM RilPro.AnagParticolari + WHERE (Particolare = @Particolare) +) + +-- cerco codice disegno grezzo +SET @DisegnoGrezzo = ( + SELECT ISNULL(DisegnoGrezzo, 'ND') AS DescParticolare + FROM RilPro.AnagParticolari + WHERE (Particolare = @Particolare) +) + +-- cerco descrizione Impianto +SET @DescImpianto = ( + SELECT ISNULL(DescImpianto, 'ND') AS DescImpianto + FROM AnagImpianti + WHERE (CodImpianto = @CodImpianto) +) + + + +-- Calcolo contatore intero successivo x il contenitore... +SET @NumCont = ( + SELECT NumCont + FROM ElencoCartellini + WHERE (UDC = @UDC_edit) +) + + +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- Flusso +------------------------------------------------------------------------------------------------------ +-- controllo se esiste il flusso (bilancia)... +SET @numFlu = ( + SELECT count(*) + FROM AnagBilance + WHERE CodBilancia = @Flusso +) +-- ...sennò lo creo... +IF(@numFlu = 0) + BEGIN + -- se c'è inserisco in tab + INSERT INTO AnagBilance(CodBilancia, DescrImpianto, CodCS) + VALUES (@Flusso, @Flusso, @CodCS) + END +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- Ciclo principale x edit record +------------------------------------------------------------------------------------------------------ +BEGIN TRAN + /* + -- registro in StoricoCartellini + INSERT INTO StoricoCartellini(DataEv, CodEvento, CodTipoDichiaraz, UDC, CodCS,CodCliente, RagSociale, Particolare, DescParticolare, + DisegnoGrezzo, Esponente, CodImpianto, DescImpianto, CodStampo, Figura, DataFus, TurnoFus, CodImballo, CodSoggetto, + NumCont, Tara, Qta, CodStato, IdxPosizione, PesoTot, PesoCad) + SELECT GETDATE() AS DataEv, @CodEvento AS CodEvento, @CodTipoDichiaraz AS CodTipoDichiaraz, UDC, CodCS, + CodCliente, RagSociale, Particolare, DescParticolare, DisegnoGrezzo, Esponente, CodImpianto, DescImpianto, CodStampo, Figura, + DataFus, TurnoFus, CodImballo, @CodSoggetto AS CodSoggetto, NumCont, Tara, Qta, CodStato, IdxPosizione, PesoTot, PesoCad + FROM ElencoCartellini + WHERE (UDC = @UDC_edit) + */ + + -- elimino vecchio record parent/child + DELETE FROM RelazUDC + WHERE (UDC_child = @UDC_edit) + + -- modifico il record + UPDATE ElencoCartellini + SET CodCS = @CodCS, CodCliente = @CodCliente, RagSociale = @RagSociale, Particolare = @Particolare, DescParticolare = @DescParticolare, + DisegnoGrezzo = @DisegnoGrezzo, Esponente = @Esponente, CodImpianto = @CodImpianto, DescImpianto = @DescImpianto, CodStampo = @CodStampo, + Figura = @Figura, DataFus = @DataFus, TurnoFus = @TurnoFus, CodImballo = @CodImballo, CodSoggetto = @CodSoggetto, NumCont = @NumCont, + Tara = @Tara, Qta = @Qta, CodStato = @CodStato, IdxPosizione = @IdxPosizione, PesoTot = @PesoTot, PesoCad = @PesoCad, ModDate = GETDATE() + WHERE UDC = @UDC_edit + + -- inserisco relazione aprent-child tra UDC vecchio (tara) e nuovo (pesa) + INSERT INTO RelazUDC(UDC_parent, UDC_child) + VALUES (@UDC_parent, @UDC_edit) +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- restituisco la tab dati con l'udc appena inserito +------------------------------------------------------------------------------------------------------ +SELECT * +FROM ElencoCartellini +WHERE UDC = @UDC_edit +------------------------------------------------------------------------------------------------------ + +RETURN +go + +commit +go + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(305, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.1/GMW_00310.sql b/GMW_data/SqlScripts/V1.1/GMW_00310.sql new file mode 100644 index 00000000..f6387866 --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00310.sql @@ -0,0 +1,289 @@ +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_getUDC_UnusedOlder +* +* ottiene l'elenco degli UDC più vecchi in ordine asc TRA QUELLI NON ANCORA PRELEVATI nè proposti nella lista corrente +* +* Steamware, S.E.L. +* mod: 2010.07.06 +* +****************************************/ +alter PROCEDURE stp_getUDC_UnusedOlder +( + @CodLista VARCHAR(12) +) +AS + + -- variabili locali che mi servono + DECLARE @Figura AS VARCHAR(4) + DECLARE @Esponente AS VARCHAR(6) + DECLARE @CodImballo AS VARCHAR(15) + DECLARE @Particolare AS VARCHAR (50) + DECLARE @CodTipoLista AS VARCHAR (10) + --DECLARE @IdxPosizione AS INT + SET @Figura = (SELECT Figura FROM ElencoListePrelievo WHERE CodLista = @CodLista) + SET @Esponente = (SELECT Esponente FROM ElencoListePrelievo WHERE CodLista = @CodLista) + SET @CodImballo = (SELECT CodImballo FROM ElencoListePrelievo WHERE CodLista = @CodLista) + SET @Particolare = (SELECT Particolare FROM ElencoListePrelievo WHERE CodLista = @CodLista) + SET @CodTipoLista = (SELECT CodTipoLista FROM ElencoListePrelievo WHERE CodLista = @CodLista) + /* + SET @IdxPosizione = (SELECT tt.IdxPosizione + FROM TipoListaPrelievo tlp INNER JOIN TabTranPosizEventi tt ON tlp.CodEvento = tt.CodEvento + WHERE (tlp.CodTipoLista = @CodTipoLista)) + */ + + -- effettuo la selezione + SELECT * + FROM ElencoCartellini + WHERE (Particolare = @Particolare) AND (IdxPosizione IN (SELECT tt.IdxPosizione + FROM TipoListaPrelievo tlp INNER JOIN TabTranPosizEventi tt ON tlp.CodEvento = tt.CodEvento + WHERE (tlp.CodTipoLista = @CodTipoLista))) AND + (Figura = CASE WHEN @Figura = '*' THEN Figura ELSE @Figura END) AND + (Esponente = CASE WHEN @Esponente = '*' THEN Esponente ELSE @Esponente END) AND + (CodImballo = CASE WHEN @CodImballo = '*' THEN CodImballo ELSE @CodImballo END) + AND UDC NOT IN ( + SELECT DISTINCT UDC + FROM RigheListePrelievo INNER JOIN ElencoListePrelievo + ON RigheListePrelievo.CodLista = ElencoListePrelievo.CodLista + WHERE (ElencoListePrelievo.CodLista = @CodLista) + OR (ElencoListePrelievo.CodLista <> @CodLista AND CodStatoLista > 1 AND Prelevato = 1) + ) + ORDER BY ElencoCartellini.DataFus + +RETURN +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_ParticolariOverviewPerListaPrelievo +* +* elenco di overview sull'impiego dei particolari (dettaglio a "maglie larghe") x una possibile lista di prelievo +* +* Steamware, S.E.L. +* mod: 2010.05.31 +* +****************************************/ +alter PROCEDURE stp_ParticolariOverviewPerListaPrelievo +( + @Particolare VARCHAR(50), + @CodCS VARCHAR(2), + @Esponente NVARCHAR(6), + @Figura NVARCHAR(4), + @CodImballo NVARCHAR(15), + @CodTipoLista NVARCHAR (10) +) +AS + /* + DECLARE @IdxPosizione AS INT + SET @IdxPosizione = (SELECT tt.IdxPosizione + FROM TipoListaPrelievo tlp INNER JOIN TabTranPosizEventi tt ON tlp.CodEvento = tt.CodEvento + WHERE (tlp.CodTipoLista = @CodTipoLista)) + */ + + SELECT RilPro.AnagParticolari.Particolare, RilPro.AnagParticolari.DescParticolare, ISNULL(COUNT(dbo.ElencoCartellini.UDC), 0) AS NumUDC, + ISNULL(SUM(dbo.ElencoCartellini.Qta), 0) AS TotQta, ISNULL(COUNT(dbo.PosizioneUdcCorrente.IdxCella), 0) AS NumInMag + FROM RilPro.AnagParticolari LEFT OUTER JOIN + dbo.ElencoCartellini ON RilPro.AnagParticolari.Particolare = dbo.ElencoCartellini.Particolare LEFT OUTER JOIN + dbo.PosizioneUdcCorrente ON dbo.ElencoCartellini.UDC = dbo.PosizioneUdcCorrente.UDC + WHERE RilPro.AnagParticolari.CodCS = @CodCS AND + RilPro.AnagParticolari.Particolare = @Particolare AND + (IdxPosizione IN (SELECT tt.IdxPosizione + FROM TipoListaPrelievo tlp INNER JOIN TabTranPosizEventi tt ON tlp.CodEvento = tt.CodEvento + WHERE (tlp.CodTipoLista = @CodTipoLista))) AND + (dbo.ElencoCartellini.Figura = CASE WHEN @Figura = '*' THEN dbo.ElencoCartellini.Figura ELSE @Figura END) AND + (dbo.ElencoCartellini.Esponente = CASE WHEN @Esponente = '*' THEN dbo.ElencoCartellini.Esponente ELSE @Esponente END) AND + (dbo.ElencoCartellini.CodImballo = CASE WHEN @CodImballo = '*' THEN dbo.ElencoCartellini.CodImballo ELSE @CodImballo END) + GROUP BY RilPro.AnagParticolari.Particolare, RilPro.AnagParticolari.DescParticolare + +RETURN +go + +commit +go + + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_riattivaUdc +* +* riattiva un dato UDC (da mag consumato negativo a corrispettivo positivo) --> se era positivo NON FA NULLA!!! (perchè uso ABS e controllo sia < 0) +* +* Steamware, S.E.L. +* mod: 2010.11.04 +* +****************************************/ +alter PROCEDURE stp_riattivaUdc +( + @UDC VARCHAR(20), + @CodSoggetto NVARCHAR(17) +) +AS + +DECLARE @CodEvento VARCHAR(10) +DECLARE @CodTipoDichiaraz VARCHAR(1) +DECLARE @IdxCella INT +DECLARE @CodCs NVARCHAR(2) + +SET @CodEvento = 'UDC_RIA' +SET @CodTipoDichiaraz = 'U' + +BEGIN TRAN + + -- faccio update posizione + UPDATE ElencoCartellini + SET IdxPosizione = ABS(IdxPosizione), ModDate=GETDATE(), CodSoggetto = @CodSoggetto + WHERE UDC = @UDC AND IdxPosizione IN (SELECT IdxPosizione FROM AnagPosizioni WHERE (IsRiattivaEnabled = 1) +) + + -- lo elimino da eventuali precedenti liste di prelievo sennò poi non potrei + prelevarlo + DELETE FROM RigheListePrelievo + WHERE UDC = @UDC + + -- imposto posizione CELLA corrente x l'udc nella prima libera + SET @IdxCella = (SELECT c.IdxCella FROM Celle c inner join Blocchi b ON c.IdxBlocco=b.IdxBlocco INNER JOIN ElencoCartellini e ON b.CodMag = CAST(e.IdxPosizione AS NVARCHAR(50)) WHERE e.UDC = @UDC) + SET @CodCs = (SELECT CodCs FROM ElencoCartellini WHERE UDC = @UDC) + INSERT INTO PosizioneUdcCorrente + VALUES(@Udc, @IdxCella, @CodCs, GETDATE()) + + +COMMIT TRAN + +RETURN +go + +commit +go + + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_UDC_updateIdxPosizione +* +* aggiorna un cartellino x la sua posizione logica +* +* Steamware, S.E.L. +* mod: 2010.06.12 +* +****************************************/ +alter PROCEDURE stp_UDC_updateIdxPosizione +( + @UDC VARCHAR(20), + @IdxPosizione INT +) +AS + + +------------------------------------------------------------------------------------------------------ +-- Ciclo principale x edit record +------------------------------------------------------------------------------------------------------ +BEGIN TRAN + + -- modifico il record + UPDATE ElencoCartellini + SET IdxPosizione = @IdxPosizione, ModDate = GETDATE() + WHERE UDC = @UDC + +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- restituisco la tab dati con l'udc appena inserito +------------------------------------------------------------------------------------------------------ +SELECT * +FROM ElencoCartellini +WHERE UDC = @UDC +------------------------------------------------------------------------------------------------------ + +RETURN +go + +commit +go + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.AnagPosizioni + VALUES (-54, N'AM - FINITI consumati', 0) +go + +commit transaction +go + + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.AnagTipoEvento + VALUES (N'UDC_RITER', N'Richiesta UDC Rientro terzista') +go + +commit transaction +go + + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.TabTranPosizEventi + VALUES (N'UDC_CONS', 54, -54) +go + +commit transaction +go + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(310, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.1/GMW_00315.sql b/GMW_data/SqlScripts/V1.1/GMW_00315.sql new file mode 100644 index 00000000..5bc4ff14 --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00315.sql @@ -0,0 +1,449 @@ +alter table PosizioneUdcStorico drop + constraint FK_PosizioneUdcStorico_ElencoCartellini +go + +alter table StoricoCartellini drop + constraint FK_StoricoEventi_ElencoCartellini +go + +set xact_abort on +go + +begin transaction +go + +UPDATE dbo.TabTranPosizEventi SET + IdxPosizioneTo=-84 + WHERE CodEvento=N'MagPreFus' and IdxPosizione=84 +go + +commit transaction +go + + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_anagFullParticolare +* +* ottiene il dettaglio delle specifiche di un particolare dato il suo codice A PARTIRE DALL'ANAGRAFICA COMPLETA +* +* Steamware, S.E.L. +* mod: 2010.11.17 +* +****************************************/ +create PROCEDURE stp_anagFullParticolare +( + @Particolare NVARCHAR(15) +) +AS + +SELECT * +FROM dbo.v_AnagDatiParticolari +WHERE Particolare=@Particolare + + +RETURN +go + +commit +go + + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_rettMovAs400 +* +* inserisce nella tabella per i trasferimenti batch verso magazzino AS una quantità di rettifica (con segno - )per UDC eventualmente già scaricati a sistema +* +* Steamware, S.E.L. +* mod: 2010.11.02 +* +****************************************/ +alter PROCEDURE stp_rettMovAs400 +( + @Particolare NVARCHAR(50), + @UDC NVARCHAR(20), + @CodMagAS NVARCHAR(50), + @Qta DECIMAL(10,2), + @CodEvento NVARCHAR(10) +) +AS + +BEGIN + + INSERT INTO AS400_BatchMovimenti(DataIns, CodEvento, Particolare, UDC, CodMagAS, Quantita) + VALUES (GETDATE(), @CodEvento, @Particolare, @UDC, @CodMagAS, -@Qta) + +END + +RETURN +go + +commit +go + + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_UDC_getByTipoDelibera +* +* elenco cartellini che possono essere oggetto della delibera indicata +* +* Steamware, S.E.L. +* mod: 2010.07.29 +* +****************************************/ +alter PROCEDURE stp_UDC_getByTipoDelibera +( + @CodTipoDelibera NVARCHAR(50), + @DataFrom DATETIME, + @DataTo DATETIME +) +AS + +SELECT * +FROM ElencoCartellini +WHERE IdxPosizione IN ( + SELECT TabTranPosizEventi.IdxPosizione + FROM TabTranPosizEventi INNER JOIN AnagTipoEvento ON TabTranPosizEventi.CodEvento = AnagTipoEvento.CodEvento + INNER JOIN AnagTipoDelibere ON AnagTipoEvento.CodEvento = AnagTipoDelibere.CodEvento + WHERE (AnagTipoDelibere.CodTipoDelibera = @CodTipoDelibera) + ) -- vincolo su posizioni accettabili + AND DataFus BETWEEN @DataFrom AND @DataTo -- vincolo data + AND UDC NOT IN (SELECT DISTINCT UDC FROM PosizioneUdcCorrente puc INNER JOIN Celle c on puc.IdxCella=c.IdxCella INNER JOIN TipoCella tc ON c.IdxTipoCella=tc.IdxTipoCella WHERE tc.CodMag = 'OVAS') +ORDER BY UDC DESC + +RETURN +go + +commit +go + + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +alter VIEW v_AnagDatiParticolari +AS +SELECT DISTINCT + ISNULL(part.CodCliente, N'') AS CodCliente, ISNULL(Cli.RagSociale, N'') AS RagSociale, part.Particolare, part.DescParticolare, ISNULL(part.DisegnoGrezzo, N'') + AS DisegnoGrezzo, ISNULL(Espo.Esponente, N'') AS Esponente, ISNULL(Stamp.CodStampo, N'') AS CodStampo, ISNULL(Fig.Figura, N'') AS Figura +FROM RilPro.AnagParticolari AS part LEFT OUTER JOIN + RilPro.StampoArticolo AS Stamp ON part.Particolare = Stamp.Particolare LEFT OUTER JOIN + RilPro.StampoEsponente AS Espo ON Stamp.CodStampo = Espo.CodStampo LEFT OUTER JOIN + RilPro.StampoFigure AS Fig ON Stamp.CodStampo = Fig.CodStampo LEFT OUTER JOIN + RilPro.AnagClienti AS Cli ON part.CodCliente = Cli.CodCliente +go + +exec sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "part" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 135 + Right = 208 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "Stamp" + Begin Extent = + Top = 6 + Left = 246 + Bottom = 135 + Right = 421 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "Espo" + Begin Extent = + Top = 138 + Left = 38 + Bottom = 267 + Right = 208 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "Fig" + Begin Extent = + Top = 138 + Left = 246 + Bottom = 250 + Right = 416 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "Cli" + Begin Extent = + Top = 252 + Left = 246 + Bottom = 347 + Right = 416 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 9 + Width = 284 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + ', 'SCHEMA', 'dbo', 'VIEW', 'v_AnagDatiParticolari' +go + +exec sp_addextendedproperty 'MS_DiagramPane2', ' Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_AnagDatiParticolari' +go + +exec sp_addextendedproperty 'MS_DiagramPaneCount', 2, 'SCHEMA', 'dbo', 'VIEW', 'v_AnagDatiParticolari' +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_processaSpedizTerz +* +* effettua la spedizione verso i terzisti, se deliberati è ok così, se non deliberati restano in posizione 305 da deliberare +* +* Steamware, S.E.L. +* mod: 2010.11.17 +* +****************************************/ +create PROCEDURE stp_processaSpedizTerz +AS + +-- UDC x cursore +DECLARE @UDC NVARCHAR(50) -- UDC SQL +-- evento da usare +DECLARE @CodEvento AS NVARCHAR(10) +SET @CodEvento = 'SpeWipTerz' + + + -- Dichiaro e carico il cursore + DECLARE Udc4Ter CURSOR LOCAL FOR + SELECT UDC FROM ElencoCartellini WHERE IdxPosizione IN (SELECT IdxPosizione FROM TabTranPosizEventi WHERE CodEvento = @CodEvento) + + OPEN Udc4Ter + FETCH NEXT FROM Udc4Ter + INTO @UDC + + WHILE @@FETCH_STATUS = 0 + BEGIN + -- processo gli UDC... + UPDATE ElencoCartellini + SET IdxPosizione = ttpe.IdxPosizioneTo + FROM ElencoCartellini ec INNER JOIN TabTranPosizEventi ttpe ON ec.IdxPosizione=ttpe.IdxPosizione + WHERE ec.UDC = @UDC AND ttpe.CodEvento = @CodEvento + + FETCH NEXT FROM Udc4Ter INTO @UDC + END + CLOSE Udc4Ter + DEALLOCATE Udc4Ter + +RETURN +go + +commit +go + + + +set xact_abort on +go + +begin transaction +go + +DELETE FROM dbo.TabTranPosizEventi WHERE CodEvento=N'SpeWipNoDe' and IdxPosizione=290 +DELETE FROM dbo.TabTranPosizEventi WHERE CodEvento=N'SpeWipOkDe' and IdxPosizione=295 +go + +commit transaction +go + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.AnagTipoEvento + VALUES (N'SpeWipTerz', N'Spedizione di materiale a terzisti') +DELETE FROM dbo.AnagTipoEvento WHERE CodEvento=N'SpeWipNoDe' +DELETE FROM dbo.AnagTipoEvento WHERE CodEvento=N'SpeWipOkDe' +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.TabTranPosizEventi + VALUES (N'SpeWipTerz', 290, 305) +INSERT INTO dbo.TabTranPosizEventi + VALUES (N'SpeWipTerz', 295, 300) +go + +commit transaction +go + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(315, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.1/GMW_00320.sql b/GMW_data/SqlScripts/V1.1/GMW_00320.sql new file mode 100644 index 00000000..e05fdb12 --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00320.sql @@ -0,0 +1,207 @@ +set xact_abort on +go + +begin transaction +go + +DELETE FROM dbo.TabTranPosizEventi WHERE CodEvento=N'MagPreFus' and IdxPosizione=54 +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_getPosizioneByUdcIdxPosizione +* +* restituisce la posizione dell'udc dato codice udc e CodMag desiderato +* +* Steamware, S.E.L +* mod: 2010.11.19 +* +************************************/ +create PROCEDURE stp_getPosizioneByUdcCodMag +( + @UDC NVARCHAR(50), + @CodMag NVARCHAR(50) +) +AS + +SELECT puc.* +FROM PosizioneUdcCorrente puc INNER JOIN Celle c ON puc.IdxCella=c.IdxCella INNER JOIN Blocchi b ON c.IdxBlocco=b.IdxBlocco +where puc.UDC = @UDC AND b.CodMag = @CodMag +go + +commit +go + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +alter VIEW v_selMagLogico +AS +SELECT DISTINCT + TOP (100) PERCENT CAST(ec.IdxPosizione AS NVARCHAR(20)) AS value, 'Mag. ' + CAST(ec.IdxPosizione AS NVARCHAR(20)) AS label, ec.CodCS AS conditio +FROM dbo.ElencoCartellini AS ec INNER JOIN + dbo.AnagMag AS am ON CAST(ec.IdxPosizione AS NVARCHAR(50)) = am.CodMag +WHERE (ec.IdxPosizione > 0) +ORDER BY label +go + +exec sp_updateextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "ec" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 343 + Right = 208 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "am" + Begin Extent = + Top = 6 + Left = 294 + Bottom = 135 + Right = 464 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 9 + Width = 284 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_selMagLogico' +go + +commit +go + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(320, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.1/GMW_00325.sql b/GMW_data/SqlScripts/V1.1/GMW_00325.sql new file mode 100644 index 00000000..828da465 --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00325.sql @@ -0,0 +1,181 @@ +set xact_abort on +go + +begin transaction +go + +alter table TipoListaPrelievo add + toAs400 bit constraint DF_TipoListaPrelievo_toAs400 default (1) +go + +update TipoListaPrelievo set toAs400=1 +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_LP_exportToAs400 +* +* esporta la lista di prelievo (e le relative righe) verso AS400 andando a copaire nelle relative tabelle _AS +* +* Steamware, S.E.L. +* mod: 2010.07.19 +* +****************************************/ +alter PROCEDURE stp_LP_exportToAs400 +( + @CodLista NVARCHAR(12) +) +AS + +BEGIN TRAN + + -- inizio con un controllo se devo processare verso AS400 la lista di prelievo... + DECLARE @toAs400 BIT + SET @toAs400 = (SELECT ISNULL(tlp.toAs400, 0) as valore + FROM TipoListaPrelievo AS tlp INNER JOIN ElencoListePrelievo AS elp ON tlp.CodTipoLista = elp.CodTipoLista + WHERE (elp.CodLista = @CodLista) + ) + + IF(@toAs400 > 0) + BEGIN + -- copio la lista (intestazione) + INSERT INTO ElencoListePrelievo_AS(CodLista, CodTipoLista, CodCS, DataCreaz, CodCliente, RagSociale, CodSoggetto, Particolare, DescParticolare, + DisegnoGrezzo, Esponente, Figura, CodImballo, QtaTot, CodStatoLista, Destinatario) + SELECT CodLista, CodTipoLista, CodCS, DataCreaz, CodCliente, RagSociale, CodSoggetto, Particolare, DescParticolare, + DisegnoGrezzo, Esponente, Figura, CodImballo, QtaTot, CodStatoLista, Destinatario + FROM ElencoListePrelievo + WHERE (CodLista = @CodLista) + + -- copio le righe lista di dettaglio + INSERT INTO RigheListePrelievo_AS(CodLista, UDC, Qta, Proposto, Prelevato) + SELECT CodLista, UDC, Qta, Proposto, Prelevato + FROM RigheListePrelievo + WHERE (CodLista = @CodLista) AND Prelevato = 1 + + -- aggiorno le quantità passate ad AS... + UPDATE ElencoListePrelievo_AS + SET QtaTot = ( SELECT SUM(Qta) AS QtaTot FROM RigheListePrelievo WHERE (CodLista = @CodLista) AND Prelevato = 1 ) + WHERE (CodLista = @CodLista) + END + + +COMMIT TRAN + +-- IMPORTANTE: in caso siano rimasti riferimenti ad un UDC scaricato in AS in altre liste di prelievo li tolgo in modo da "ripulirle" ed evitare che lo stesso UDC venga prelevato 2 volte... +DELETE RLP +FROM RigheListePrelievo RLP +INNER JOIN ElencoListePrelievo ELP + ON RLP.CodLista = ELP.CodLista +WHERE ELP.CodStatoLista < 4 AND RLP.CodLista <> @CodLista AND RLP.UDC IN ( + SELECT UDC + FROM RigheListePrelievo + WHERE (CodLista = @CodLista) AND Prelevato = 1 + ) + +RETURN +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +UPDATE dbo.TipoListaPrelievo SET + toAs400=0 + WHERE CodTipoLista=N'01-PreFus' +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.TabTranPosizEventi + VALUES (N'MagPreFus', 80, 80) +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_ParticolariOverviewPerListaPrelievo +* +* elenco di overview sull'impiego dei particolari (dettaglio a "maglie larghe") x una possibile lista di prelievo +* +* Steamware, S.E.L. +* mod: 2010.05.31 +* +****************************************/ +alter PROCEDURE stp_ParticolariOverviewPerListaPrelievo +( + @Particolare VARCHAR(50), + @CodCS VARCHAR(2), + @Esponente NVARCHAR(6), + @Figura NVARCHAR(4), + @CodImballo NVARCHAR(15), + @CodTipoLista NVARCHAR (10) +) +AS + /* + DECLARE @IdxPosizione AS INT + SET @IdxPosizione = (SELECT tt.IdxPosizione + FROM TipoListaPrelievo tlp INNER JOIN TabTranPosizEventi tt ON tlp.CodEvento = tt.CodEvento + WHERE (tlp.CodTipoLista = @CodTipoLista)) + */ + + SELECT RilPro.AnagParticolari.Particolare, RilPro.AnagParticolari.DescParticolare, ISNULL(COUNT(dbo.ElencoCartellini.UDC), 0) AS NumUDC, + ISNULL(SUM(dbo.ElencoCartellini.Qta), 0) AS TotQta, ISNULL(COUNT(dbo.PosizioneUdcCorrente.IdxCella), 0) AS NumInMag + FROM RilPro.AnagParticolari LEFT OUTER JOIN + dbo.ElencoCartellini ON RilPro.AnagParticolari.Particolare = dbo.ElencoCartellini.Particolare LEFT OUTER JOIN + dbo.PosizioneUdcCorrente ON dbo.ElencoCartellini.UDC = dbo.PosizioneUdcCorrente.UDC + WHERE RilPro.AnagParticolari.CodCS = @CodCS AND + RilPro.AnagParticolari.Particolare = @Particolare AND + (IdxPosizione IN (SELECT tt.IdxPosizione + FROM TipoListaPrelievo tlp INNER JOIN TabTranPosizEventi tt ON tlp.CodEvento = tt.CodEvento + WHERE (tlp.CodTipoLista = @CodTipoLista))) AND + (dbo.ElencoCartellini.Figura = CASE WHEN @Figura = '*' THEN dbo.ElencoCartellini.Figura ELSE @Figura END) AND + (dbo.ElencoCartellini.Esponente = CASE WHEN @Esponente = '*' THEN dbo.ElencoCartellini.Esponente ELSE @Esponente END) AND + (dbo.ElencoCartellini.CodImballo = CASE WHEN @CodImballo = '*' THEN dbo.ElencoCartellini.CodImballo ELSE @CodImballo END) + AND ElencoCartellini.UDC NOT IN ( + SELECT DISTINCT UDC + FROM RigheListePrelievo INNER JOIN ElencoListePrelievo + ON RigheListePrelievo.CodLista = ElencoListePrelievo.CodLista + WHERE (CodStatoLista > 1 AND Prelevato = 1) + ) + GROUP BY RilPro.AnagParticolari.Particolare, RilPro.AnagParticolari.DescParticolare + +RETURN +go + +commit +go + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(325, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.1/GMW_00326.sql b/GMW_data/SqlScripts/V1.1/GMW_00326.sql new file mode 100644 index 00000000..39b6fa8d --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00326.sql @@ -0,0 +1,305 @@ +set xact_abort on +go + +begin transaction +go + +alter table ElencoListePrelievo add + DestinatarioDescrizione nvarchar(50) +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_creaListaPrelievo +* +* crea un nuovo record nella ElencoListePrelievo e restituisce il codice ID appena creato +* +* Steamware, S.E.L. 8 (FROM Stintino) +* mod: 2010.07.30 +* +************************************/ +alter PROCEDURE stp_creaListaPrelievo +( + @Anno NVARCHAR(2), + @Mese NVARCHAR(2), + @CodTipoLista NVARCHAR(10), + @CodCS NCHAR(2), + @CodCliente NVARCHAR(6), + @RagSociale NVARCHAR(35), + @CodSoggetto NCHAR(17), + @Particolare NVARCHAR(15), + @DescParticolare NVARCHAR(30), + @DisegnoGrezzo NVARCHAR(30), + @Esponente NVARCHAR(6), + @Figura NVARCHAR(4), + @CodImballo NVARCHAR(15), + @QtaTot DECIMAL(10,2), + @Destinatario NVARCHAR(50), + @DestinatarioDescrizione NVARCHAR(50) +) +AS + +-- Dichiarazioni iniziali +DECLARE @CodLista AS NVARCHAR(12) +DECLARE @numLista AS INT +DECLARE @temp AS INT +DECLARE @ora AS DATETIME + +------------------------------------------------------------------------------------------------------ +-- codice lista di prelievo KAAMM00000 - K = start char, AA = anno, MM = mese, 00000 = progressivo +------------------------------------------------------------------------------------------------------ +-- controllo se ci sia già una lista di prelievo per company / flusso anno +BEGIN TRAN + -- cerco nella tab contatori liste prelievo l'ultimo valido + SET @numLista = ( + SELECT COUNT(*) + FROM ContatoriListePrelievo + WHERE CodCS = @CodCS + AND Anno = @Anno + AND Mese = @Mese + ) + -- controllo se record c'è... + IF(@numLista > 0) + BEGIN + -- se c'è incremento di 1 in tab + UPDATE ContatoriListePrelievo + SET LastIdx = LastIdx + 1 + WHERE CodCS = @CodCS + AND Anno = @Anno + AND Mese = @Mese + + END + ELSE + BEGIN + -- lo creo! + INSERT INTO ContatoriListePrelievo(CodCS, Anno, Mese, LastIdx) + VALUES (@CodCS, @Anno, @Mese, 1) + END + -- aggiorno numero lista prelievo + SET @numLista = ( + SELECT LastIdx + FROM ContatoriListePrelievo + WHERE CodCS = @CodCS + AND Anno = @Anno + AND Mese = @Mese + + ) +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + +BEGIN TRAN + + ------------------------------------------------------------------------------------------------------ + -- Ciclo principale x inserimento nuovo record + ------------------------------------------------------------------------------------------------------ + -- ottengo il nuovo codice lista di prelievo completo + SET @CodLista = 'K' + @CodCS + @Anno + dbo.f_padLeft(CAST(@Mese AS NVARCHAR(2)), 2, '0') + + dbo.f_padLeft(CAST(@numLista AS NVARCHAR(5)), 5, '0') + + INSERT INTO ElencoListePrelievo + (CodLista, CodTipoLista, CodCS, DataCreaz, CodCliente, RagSociale, CodSoggetto, Particolare, DescParticolare, DisegnoGrezzo, Esponente, Figura, CodImballo, QtaTot, CodStatoLista, Destinatario, DestinatarioDescrizione) + VALUES (@CodLista, @CodTipoLista, @CodCS, GETDATE(), @CodCliente, @RagSociale, @CodSoggetto, @Particolare, @DescParticolare, @DisegnoGrezzo, @Esponente,@Figura, @CodImballo, @QtaTot, 0, @Destinatario, @DestinatarioDescrizione) + +COMMIT TRAN + +SELECT * FROM V_elencoListePrelievo WHERE CodLista = @CodLista; + +RETURN +go + +alter VIEW V_elencoListePrelievo +AS +SELECT TOP (100) PERCENT dbo.ElencoListePrelievo.CodLista, dbo.ElencoListePrelievo.CodTipoLista, dbo.ElencoListePrelievo.CodCS, dbo.ElencoListePrelievo.DataCreaz, + dbo.ElencoListePrelievo.CodCliente, dbo.ElencoListePrelievo.RagSociale, dbo.ElencoListePrelievo.CodSoggetto, dbo.ElencoListePrelievo.Particolare, + dbo.ElencoListePrelievo.DescParticolare, dbo.ElencoListePrelievo.DisegnoGrezzo, dbo.ElencoListePrelievo.Esponente, dbo.ElencoListePrelievo.Figura, + dbo.ElencoListePrelievo.CodImballo, dbo.ElencoListePrelievo.QtaTot, dbo.ElencoListePrelievo.CodStatoLista, ISNULL(dbo.v_righePrelevate.TotQta, 0) AS Prelevato, + dbo.ElencoListePrelievo.Destinatario, ISNULL(dbo.ElencoListePrelievo.DestinatarioDescrizione, N'nd') AS DestinatarioDescrizione +FROM dbo.ElencoListePrelievo LEFT OUTER JOIN + dbo.v_righePrelevate ON dbo.ElencoListePrelievo.CodLista = dbo.v_righePrelevate.CodLista +ORDER BY dbo.ElencoListePrelievo.DataCreaz DESC +go + +exec sp_updateextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "ElencoListePrelievo" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 350 + Right = 208 + End + DisplayFlags = 280 + TopColumn = 1 + End + Begin Table = "v_righePrelevate" + Begin Extent = + Top = 6 + Left = 454 + Bottom = 118 + Right = 624 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 19 + Width = 284 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'V_elencoListePrelievo' +go + +/*************************************** +* STORED stp_RLP_sbloccaNonPrelevate +* +* sblocca righe liste di prelievo ATTIVE x UDC non prelevati +* +* Steamware, S.E.L. +* mod: 2010.08.31 +* +****************************************/ +alter PROCEDURE stp_RLP_sbloccaNonPrelevate +( + @CodLista NVARCHAR(12), + @UDC NVARCHAR(50) +) +AS + +-- creo una CTE x le righe liste prelievo ATTIVE (escludo bozze e liste scaricate) - candidate per sblocco che NON fanno aprte della lista di prelievo attuale +WITH cteUdcRigheAttive AS ( + SELECT RLP.CodLista, RLP.UDC, RLP.Prelevato + FROM RigheListePrelievo AS RLP INNER JOIN ElencoListePrelievo AS ELP + ON RLP.CodLista = ELP.CodLista + WHERE (ELP.CodStatoLista BETWEEN 1 AND 3) AND RLP.Prelevato = 1 AND ELP.CodLista <> @CodLista + ) + +-- effettua "sblocco" delle righe liste prelievo che danno UDC prelevati ma che NON risultano +UPDATE cteUdcRigheAttive + SET Prelevato = 0 + WHERE UDC = @UDC + +RETURN +go + +commit +go + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(326, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.1/GMW_00327.sql b/GMW_data/SqlScripts/V1.1/GMW_00327.sql new file mode 100644 index 00000000..cc781990 --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00327.sql @@ -0,0 +1,429 @@ +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +alter VIEW v_selUdcByPart +AS +SELECT UDC AS value, ISNULL(RTRIM(UDC), '-') + ' - ' + ISNULL(RTRIM(Particolare), '...') + ' (' + ISNULL(RTRIM(DescParticolare), '') + ') ' + ISNULL(RTRIM(DisegnoGrezzo), '-') + + ' pz. ' + ISNULL(CAST(Qta AS varchar), '0') AS label, Particolare, IdxPosizione, CodCS +FROM dbo.ElencoCartellini +WHERE (NOT (Particolare IS NULL)) AND (IdxPosizione >= 0) +go + +exec sp_updateextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "ElencoCartellini" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 319 + Right = 208 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 9 + Width = 284 + Width = 1500 + Width = 8910 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_selUdcByPart' +go + +commit +go + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_ParticolariOverviewPerListaPrelievo +* +* elenco di overview sull'impiego dei particolari (dettaglio a "maglie larghe") x una possibile lista di prelievo +* +* Steamware, S.E.L. +* mod: 2010.05.31 +* +****************************************/ +alter PROCEDURE stp_ParticolariOverviewPerListaPrelievo +( + @Particolare VARCHAR(50), + @CodCS VARCHAR(2), + @Esponente NVARCHAR(6), + @Figura NVARCHAR(4), + @CodImballo NVARCHAR(15), + @CodTipoLista NVARCHAR (10) +) +AS + SELECT RilPro.AnagParticolari.Particolare, RilPro.AnagParticolari.DescParticolare, ISNULL(COUNT(dbo.ElencoCartellini.UDC), 0) AS NumUDC, + ISNULL(SUM(dbo.ElencoCartellini.Qta), 0) AS TotQta, ISNULL(COUNT(dbo.PosizioneUdcCorrente.IdxCella), 0) AS NumInMag + FROM RilPro.AnagParticolari LEFT OUTER JOIN + dbo.ElencoCartellini ON RilPro.AnagParticolari.Particolare = dbo.ElencoCartellini.Particolare LEFT OUTER JOIN + dbo.PosizioneUdcCorrente ON dbo.ElencoCartellini.UDC = dbo.PosizioneUdcCorrente.UDC + WHERE RilPro.AnagParticolari.CodCS = @CodCS AND + RilPro.AnagParticolari.Particolare = @Particolare AND + (IdxPosizione IN (SELECT tt.IdxPosizione + FROM TipoListaPrelievo tlp INNER JOIN TabTranPosizEventi tt ON tlp.CodEvento = tt.CodEvento + WHERE (tlp.CodTipoLista = @CodTipoLista))) AND + (dbo.ElencoCartellini.Figura = CASE WHEN @Figura = '*' THEN dbo.ElencoCartellini.Figura ELSE @Figura END) AND + (dbo.ElencoCartellini.Esponente = CASE WHEN @Esponente = '*' THEN dbo.ElencoCartellini.Esponente ELSE @Esponente END) AND + (dbo.ElencoCartellini.CodImballo = CASE WHEN @CodImballo = '*' THEN dbo.ElencoCartellini.CodImballo ELSE @CodImballo END) + /* + AND ElencoCartellini.UDC NOT IN ( + SELECT DISTINCT UDC + FROM RigheListePrelievo INNER JOIN ElencoListePrelievo + ON RigheListePrelievo.CodLista = ElencoListePrelievo.CodLista + WHERE (CodStatoLista > 1 AND Prelevato = 1) + ) + */ + GROUP BY RilPro.AnagParticolari.Particolare, RilPro.AnagParticolari.DescParticolare + +RETURN +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_ParticolariOverviewPerListaPrelievo +* +* elenco degli UDC x lista di prelievo e particolare +* +* Steamware, S.E.L. +* mod: 2010.11.26 +* +****************************************/ +create PROCEDURE stp_UdcPerParticolareCodLista +( + @Particolare VARCHAR(50), + @CodCS VARCHAR(2), + @CodTipoLista NVARCHAR (10) +) +AS + SELECT * + FROM v_selUdcByPart + WHERE (Particolare = @Particolare) AND (CodCS = @CodCS) + AND (IdxPosizione IN (SELECT tt.IdxPosizione + FROM TipoListaPrelievo tlp INNER JOIN TabTranPosizEventi tt ON tlp.CodEvento = tt.CodEvento + WHERE (tlp.CodTipoLista = @CodTipoLista))) + + +RETURN +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +alter table TabTranPosizEventi add + toAs400 bit constraint DF_TabTranPosizEventi_toAs400 default (1) +go + +update TabTranPosizEventi set toAs400=1 +go + +set ANSI_NULLS on +go + +-- ============================================= +-- Author: Samuele E. Locatelli +-- Create date: 2009-09-20 +-- Description: trigger x inserimento movimenti +-- nella coda di trasferimento batch +-- verso AS400 x UPDATE UDC +-- ============================================= +alter TRIGGER trg_updMovAS + ON ElencoCartellini + AFTER UPDATE +AS +BEGIN + + -- setup variabili e verbosità + SET NOCOUNT ON; + DECLARE @partOk AS BIT + DECLARE @IdxPosFrom AS INT + DECLARE @IdxPosTo AS INT + DECLARE @magFrom AS NVARCHAR(50) + DECLARE @magTo AS NVARCHAR(50) + DECLARE @qta AS DECIMAL(10,2) + DECLARE @qtaOld AS DECIMAL(10,2) + DECLARE @IdxPosizioneComp INT + DECLARE @toAs400 BIT + + -- controllo che CI SIA il particolare (altrimenti non eseguo) + SET @partOk = (SELECT CASE WHEN ISNULL(Particolare,'n.d.') = 'n.d.' THEN 0 ELSE 1 END FROM deleted) + + IF(@partOk = 1) + SET @qta = (SELECT Qta FROM inserted) + SET @qtaOld = (SELECT Qta FROM deleted) + -- se c'è stata modifica di quantità inizio a rettificare quella + IF ((UPDATE(Qta)) AND(@qta <> @qtaOld)) + BEGIN + -- registro il VERO movimento + INSERT INTO AS400_BatchMovimenti(DataIns, CodEvento, Particolare, UDC, CodMagAS, Quantita) + ( + SELECT GETDATE(), 'UDC_MOD', Particolare, UDC, CAST(IdxPosizione AS NVARCHAR(50)), @qta - Qta + FROM deleted + WHERE CAST(IdxPosizione AS NVARCHAR(50)) IN (SELECT CodMagAS FROM AS400_MagCont WHERE Attivo = 1) + ) + -- controllo: se il magazzino di destinazione richiede una compensazione registro il 2° movimento di compensazione + SET @IdxPosFrom = (SELECT IdxPosizione FROM deleted) + SET @IdxPosTo = (SELECT IdxPosizione FROM inserted) + -- calcolo il mag di compensazione + SET @IdxPosizioneComp = (SELECT CAST(ISNULL(CodMagAS_compensaz,0) AS INT) FROM AS400_MagCont WHERE (Attivo = 1) AND (CodMagAS = CAST(@IdxPosFrom AS NVARCHAR(50)))) + IF (@IdxPosizioneComp > 0) + BEGIN + INSERT INTO AS400_BatchMovimenti(DataIns, CodEvento, Particolare, UDC, CodMagAS, Quantita) + ( + SELECT GETDATE(), 'UDC_COMP', Particolare, UDC, CAST(@IdxPosizioneComp AS NVARCHAR(50)), Qta - @qta + FROM deleted + WHERE CAST(IdxPosizione AS NVARCHAR(50)) IN (SELECT CodMagAS FROM AS400_MagCont WHERE Attivo = 1) + ) + END + END + + -- Prendo le posizioni di magazzino precedente e nuova + SET @IdxPosFrom = (SELECT IdxPosizione FROM deleted) + SET @IdxPosTo = (SELECT IdxPosizione FROM inserted) + + -- controllo se devo fare rettifiche quantità... + SET @toAs400 = ( + SELECT TOP 1 ISNULL(toAs400, 0) as valore + FROM TabTranPosizEventi + WHERE IdxPosizione = @IdxPosFrom AND IdxPosizioneTo = @IdxPosTo + ) + + -- controllo poi se sia cambiato il magazzino logico (IdxPosizione) e si richieda update verso AS400, altrimenti non lo inserisco + IF ((UPDATE(IdxPosizione)) AND @toAs400 = 1) + BEGIN + -- Le trasformo nelle equivalenti stringhe del codMag SE attive + SET @magFrom = (SELECT ISNULL(CodMagAS,'---') FROM AS400_MagCont WHERE Attivo = 1 AND CodMagAs = CAST(@IdxPosFrom AS NVARCHAR(50))) + SET @magTo = (SELECT ISNULL(CodMagAS,'---') FROM AS400_MagCont WHERE Attivo = 1 AND CodMagAs = CAST(@IdxPosTo AS NVARCHAR(50))) + + -- inserisco un movimento di deposito verso mag nuovo (SE attivo) + IF (@magFrom <> '---') + BEGIN + INSERT INTO AS400_BatchMovimenti(DataIns, CodEvento, Particolare, UDC, CodMagAS, Quantita) + ( + SELECT GETDATE(), 'UDC_MOV', Particolare, UDC, CAST(IdxPosizione AS NVARCHAR(50)), -@qta + FROM deleted + WHERE CAST(IdxPosizione AS NVARCHAR(50)) IN (SELECT CodMagAS FROM AS400_MagCont WHERE Attivo = 1) + ) + END + -- inserisco un movimento di prelievo verso mag vecchio (SE attivo) + IF (@magTo <> '---') + BEGIN + INSERT INTO AS400_BatchMovimenti(DataIns, CodEvento, Particolare, UDC, CodMagAS, Quantita) + ( + SELECT GETDATE(), 'UDC_MOV', Particolare, UDC, CAST(IdxPosizione AS NVARCHAR(50)), @qta + FROM inserted + WHERE CAST(IdxPosizione AS NVARCHAR(50)) IN (SELECT CodMagAS FROM AS400_MagCont WHERE Attivo = 1) + ) + END + END + +END +go + +commit +go + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.AnagTipoEvento + VALUES (N'UDC_RIEN', N'Rientro UDC da 88') +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +UPDATE dbo.TabTranPosizEventi SET + toAs400=0 + WHERE CodEvento=N'DelWipPost' and IdxPosizione=305 +UPDATE dbo.TabTranPosizEventi SET + toAs400=0 + WHERE CodEvento=N'DelWipPre' and IdxPosizione=290 +UPDATE dbo.TabTranPosizEventi SET + toAs400=0 + WHERE CodEvento=N'MagPreFin' and IdxPosizione=54 +UPDATE dbo.TabTranPosizEventi SET + toAs400=0 + WHERE CodEvento=N'MagPreFus' and IdxPosizione=80 +UPDATE dbo.TabTranPosizEventi SET + toAs400=0 + WHERE CodEvento=N'MagPreFus' and IdxPosizione=84 +UPDATE dbo.TabTranPosizEventi SET + toAs400=0 + WHERE CodEvento=N'MagPreWip' and IdxPosizione=84 +UPDATE dbo.TabTranPosizEventi SET + toAs400=0 + WHERE CodEvento=N'SpeWipTerz' and IdxPosizione=290 +UPDATE dbo.TabTranPosizEventi SET + toAs400=0 + WHERE CodEvento=N'SpeWipTerz' and IdxPosizione=295 +UPDATE dbo.TabTranPosizEventi SET + toAs400=0 + WHERE CodEvento=N'UDC_CONS' and IdxPosizione=54 +UPDATE dbo.TabTranPosizEventi SET + toAs400=0 + WHERE CodEvento=N'UDC_CONS' and IdxPosizione=56 +UPDATE dbo.TabTranPosizEventi SET + toAs400=0 + WHERE CodEvento=N'UDC_CONS' and IdxPosizione=84 +INSERT INTO dbo.TabTranPosizEventi + VALUES (N'UDC_RIEN', 88, 84, 1) +go + +commit transaction +go + + + + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(327, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.1/GMW_00335.sql b/GMW_data/SqlScripts/V1.1/GMW_00335.sql new file mode 100644 index 00000000..8753fa20 --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00335.sql @@ -0,0 +1,525 @@ +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_scaricaUdc +* +* elimina dalle posizioni correnti un UDC, salvandone la posizione precedente nella tab storica (per scaricamento / spedizione) +* +* Steamware, S.E.L. +* mod: 2010.09.28 +* +****************************************/ +alter PROCEDURE stp_scaricaUdc +( + @UDC VARCHAR(50), + @IdxCellaFrom INT, + @IdxPosizione INT +) +AS + +BEGIN TRAN + -- libero la posizione attuale dell'UDC (se c'è...) + DELETE + FROM PosizioneUdcCorrente + WHERE UDC = @UDC AND IdxCella = @IdxCellaFrom + + -- aggiorno l'UDC come posizione finale... + UPDATE ElencoCartellini + SET IdxPosizione = @IdxPosizione, ModDate = GETDATE() + WHERE UDC = @UDC + +COMMIT TRAN + +RETURN +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_UDC_delibera +* +* fa la delibera dell'UDC andando a processare la state machien e quindi eventualmente cambiando la sua posizione +* +* Steamware, S.E.L. +* mod: 2010.09.13 +* +************************************/ +alter PROCEDURE stp_UDC_delibera +( + @CodTipoDelibera NVARCHAR(50), + @UDC NVARCHAR(50), + @CodSoggetto NVARCHAR(17), + @CodCS VARCHAR(2) +) + +AS + +BEGIN TRAN + DECLARE @IdxPosizioneTo AS INT + DECLARE @IdxPosizioneFrom AS INT + DECLARE @IdxPosizionePre AS NVARCHAR(50) + DECLARE @IdxCellaPre AS INT + DECLARE @IdxCellaTo AS INT + + -- ricavo cella ATTUALE + SET @IdxCellaPre = (SELECT IdxCella FROM PosizioneUdcCorrente WHERE UDC = @UDC) + + -- ricavo posizione ATTUALE + SET @IdxPosizionePre = (SELECT TOP 1 b.CodMag FROM Celle c INNER JOIN Blocchi b ON c.IdxBlocco=b.IdxBlocco WHERE c.IdxCella = @IdxCellaPre) + + + -- registro delibera + INSERT INTO DELIBERE + VALUES (@CodTipoDelibera, @UDC, GETDATE(), @CodSoggetto) + + -- ricavo nuova posizione + SET @IdxPosizioneTo = (SELECT tt.IdxPosizioneTo + FROM TabTranPosizEventi tt INNER JOIN AnagTipoDelibere atd ON tt.CodEvento = atd.CodEvento + WHERE (atd.CodTipoDelibera = @CodTipoDelibera)) + + -- ricavo posizione TEORICA VECCHIA + SET @IdxPosizioneFrom = (SELECT tt.IdxPosizione + FROM TabTranPosizEventi tt INNER JOIN AnagTipoDelibere atd ON tt.CodEvento = atd.CodEvento + WHERE (atd.CodTipoDelibera = @CodTipoDelibera)) + + -- calcolo la prima cella della nuova posizione... + SET @IdxCellaTo = ( + SELECT TOP 1 IdxCella FROM Celle + WHERE IdxBlocco = ( + SELECT IdxBlocco FROM Blocchi + WHERE CodMag=CAST(@IdxPosizioneTo AS NVARCHAR(50))) + ) + + -- faccio update posizione + UPDATE ElencoCartellini + SET IdxPosizione = @IdxPosizioneTo, ModDate = GETDATE() + WHERE UDC = @UDC + + -- controllo posizioni actual e from teorica: SE e SOLO SE corrispondono faccio spostamento... + IF(CAST(@IdxPosizioneFrom AS NVARCHAR(50)) = @IdxPosizionePre) + BEGIN + -- ora cambio anche la posizione corrente dell'UDC (e tramite trigger storicizza...) + EXEC stp_spostaUdc @CodCS, @UDC, @IdxCellaTo + END + +COMMIT TRAN + + +RETURN +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_ParticolariOverview +* +* elenco di overview sull'impiego dei particolari (dettaglio a "maglie larghe") +* +* Steamware, S.E.L. +* mod: 2010.05.31 +* +****************************************/ +alter PROCEDURE stp_ParticolariOverview +( + @searchVal VARCHAR(50), + @CodCS VARCHAR(2) +) +AS + + SELECT RilPro.AnagParticolari.Particolare, RilPro.AnagParticolari.DescParticolare, ISNULL(COUNT(dbo.ElencoCartellini.UDC), 0) AS NumUDC, + ISNULL(SUM(dbo.ElencoCartellini.Qta), 0) AS TotQta, ISNULL(COUNT(dbo.PosizioneUdcCorrente.IdxCella), 0) AS NumInMag + FROM RilPro.AnagParticolari LEFT OUTER JOIN + dbo.ElencoCartellini ON RilPro.AnagParticolari.Particolare = dbo.ElencoCartellini.Particolare LEFT OUTER JOIN + dbo.PosizioneUdcCorrente ON dbo.ElencoCartellini.UDC = dbo.PosizioneUdcCorrente.UDC + WHERE RilPro.AnagParticolari.CodCS = @CodCS AND RilPro.AnagParticolari.Particolare = @searchVal + AND ElencoCartellini.IdxPosizione >= 0 -- vincolo posizioni mag attive + GROUP BY RilPro.AnagParticolari.Particolare, RilPro.AnagParticolari.DescParticolare + +RETURN +go + +/*************************************** +* STORED stp_ParticolariOverviewLike +* +* elenco di overview sull'impiego dei particolari (dettaglio a "maglie larghe") - modalità LIKE +* +* Steamware, S.E.L. +* mod: 2010.05.31 +* +****************************************/ +alter PROCEDURE stp_ParticolariOverviewLike +( + @searchVal VARCHAR(50), + @CodCS VARCHAR(2) +) +AS + + SELECT RilPro.AnagParticolari.Particolare, RilPro.AnagParticolari.DescParticolare, ISNULL(COUNT(ElencoCartellini.UDC), 0) AS NumUDC, + SUM(ISNULL(ElencoCartellini.Qta, 0)) AS TotQta, ISNULL(COUNT(PosizioneUdcCorrente.IdxCella), 0) AS NumInMag + FROM RilPro.AnagParticolari LEFT OUTER JOIN + ElencoCartellini ON RilPro.AnagParticolari.Particolare = ElencoCartellini.Particolare LEFT OUTER JOIN + PosizioneUdcCorrente ON ElencoCartellini.UDC = PosizioneUdcCorrente.UDC + WHERE (RilPro.AnagParticolari.CodCS = @CodCS) + AND ((RilPro.AnagParticolari.Particolare LIKE '%' + @searchVal + '%') OR (RilPro.AnagParticolari.DescParticolare LIKE '%' + @searchVal + '%')) + AND ElencoCartellini.IdxPosizione >= 0 -- vincolo posizioni mag attive + GROUP BY RilPro.AnagParticolari.Particolare, RilPro.AnagParticolari.DescParticolare + +RETURN +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_paretoDettMagByParticolare +* +* restituisce elenco giacenze a magazzino in logica pareto (quantità) per un dato particolare +* +* Steamware, S.E.L. +* mod: 2010.06.04 +* +****************************************/ +alter PROCEDURE stp_paretoDettMagByParticolare +( + @CodCS VARCHAR(2), + @Particolare VARCHAR(20) +) +AS + + SELECT TOP (100) PERCENT am.CodCS, am.CodMag, am.DescMag, b.IdxBlocco, b.CodBlocco, ec.Particolare, + ec.Esponente, COUNT(puc.UDC) AS NumUDC, ISNULL(MIN(puc.DataRif), + GETDATE()) AS Oldest, ISNULL(MAX(puc.DataRif), GETDATE()) AS Newest, SUM(ec.Qta) AS QtaTotPz, + asp.DescStato, ec.IdxPosizione AS CodMagLog + FROM AnagMag am INNER JOIN + Blocchi b ON am.CodMag = b.CodMag AND am.CodCS = b.CodCS INNER JOIN + Celle c INNER JOIN + ElencoCartellini ec LEFT OUTER JOIN + PosizioneUdcCorrente puc ON ec.UDC = puc.UDC ON c.IdxCella = puc.IdxCella ON + b.IdxBlocco = c.IdxBlocco INNER JOIN + AnagStatiProdotto asp ON ec.CodStato = asp.CodStato + WHERE (c.Attiva = 1) AND (am.CodCS = @CodCS) AND (ec.Particolare = @Particolare) + GROUP BY am.CodCS, am.CodMag, am.DescMag, b.IdxBlocco, b.CodBlocco, b.NumX, b.NumY, b.NumZ, + ec.Particolare, ec.Esponente, ec.IdxPosizione, asp.DescStato + ORDER BY QtaTotPz DESC + + +RETURN +go + +commit +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 +) +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 + + -- cancello eventuali righe liste di prelievo FUSI per l'UDC + DELETE FROM RigheListePrelievo + WHERE UDC = @UDC AND CodLista IN ( + SELECT CodLista FROM ElencoListePrelievo + WHERE CodTipoLista='01-PreFus' + ) + + + + -- 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 + +set xact_abort on +go + +begin transaction +go + +DELETE FROM dbo.TabTranPosizEventi WHERE CodEvento=N'UDC_RIEN' and IdxPosizione=88 +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.AnagTipoEvento + VALUES (N'UDC_RIEN54', N'Rientro UDC da 88 a 54') +INSERT INTO dbo.AnagTipoEvento + VALUES (N'UDC_RIEN84', N'Rientro UDC da 88 a 84') +DELETE FROM dbo.AnagTipoEvento WHERE CodEvento=N'UDC_RIEN' +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.TabTranPosizEventi + VALUES (N'UDC_RIEN54', 88, 54, 1) +INSERT INTO dbo.TabTranPosizEventi + VALUES (N'UDC_RIEN84', 88, 84, 1) +go + +commit transaction +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' + ) + 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 + + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_annullaUDC +* +* annulla un UDC +* +* Steamware, S.E.L. +* mod: 2010.04.28 +* +****************************************/ +alter PROCEDURE stp_annullaUDC +( + @UDC VARCHAR(20), + @CodSoggetto VARCHAR(17) +) +AS + +BEGIN TRAN + + -- faccio update + UPDATE ElencoCartellini + SET IdxPosizione = 0, ModDate = GETDATE() + WHERE UDC = @UDC + + +COMMIT TRAN + +RETURN +go + +commit +go + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(335, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.1/GMW_00336.sql b/GMW_data/SqlScripts/V1.1/GMW_00336.sql new file mode 100644 index 00000000..cdfe2422 --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00336.sql @@ -0,0 +1,125 @@ +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_getRigaPrelievoByCodListaPrelevate +* restituisce elenco delle SOLE righe prelevate (UDC) +* +* Steamware, S.E.L. +* mod: 2010.12.10 +* +************************************/ +create PROCEDURE stp_getRigaPrelievoByCodListaPrelevate +( + @CodLista NVARCHAR(12) +) +AS + +SELECT * +FROM RigheListePrelievo +WHERE (CodLista = @CodLista) AND Prelevato = 1 +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_UDC_delibera +* +* fa la delibera dell'UDC andando a processare la state machien e quindi eventualmente cambiando la sua posizione +* +* Steamware, S.E.L. +* mod: 2010.09.13 +* +************************************/ +alter PROCEDURE stp_UDC_delibera +( + @CodTipoDelibera NVARCHAR(50), + @UDC NVARCHAR(50), + @CodSoggetto NVARCHAR(17), + @CodCS VARCHAR(2) +) + +AS + +BEGIN TRAN + DECLARE @IdxPosizioneTo AS INT + DECLARE @IdxPosizioneFrom AS INT + DECLARE @IdxPosizionePre AS NVARCHAR(50) + DECLARE @IdxCellaPre AS INT + DECLARE @IdxCellaTo AS INT + + -- ricavo cella ATTUALE + SET @IdxCellaPre = (SELECT IdxCella FROM PosizioneUdcCorrente WHERE UDC = @UDC) + + -- ricavo posizione ATTUALE + SET @IdxPosizionePre = (SELECT TOP 1 b.CodMag FROM Celle c INNER JOIN Blocchi b ON c.IdxBlocco=b.IdxBlocco WHERE c.IdxCella = @IdxCellaPre) + + + -- registro delibera + INSERT INTO DELIBERE + VALUES (@CodTipoDelibera, @UDC, GETDATE(), @CodSoggetto) + + -- ricavo nuova posizione + SET @IdxPosizioneTo = (SELECT tt.IdxPosizioneTo + FROM TabTranPosizEventi tt INNER JOIN AnagTipoDelibere atd ON tt.CodEvento = atd.CodEvento + WHERE (atd.CodTipoDelibera = @CodTipoDelibera)) + + -- ricavo posizione TEORICA VECCHIA + SET @IdxPosizioneFrom = (SELECT tt.IdxPosizione + FROM TabTranPosizEventi tt INNER JOIN AnagTipoDelibere atd ON tt.CodEvento = atd.CodEvento + WHERE (atd.CodTipoDelibera = @CodTipoDelibera)) + + -- calcolo la prima cella della nuova posizione... + SET @IdxCellaTo = ( + SELECT TOP 1 IdxCella FROM Celle + WHERE IdxBlocco = ( + SELECT IdxBlocco FROM Blocchi + WHERE CodMag=CAST(@IdxPosizioneTo AS NVARCHAR(50))) + ) + + -- faccio update posizione + UPDATE ElencoCartellini + SET IdxPosizione = @IdxPosizioneTo, ModDate = GETDATE() + WHERE UDC = @UDC + + -- controllo posizioni actual e from teorica: SE e SOLO SE corrispondono faccio spostamento... + IF(CAST(@IdxPosizioneFrom AS NVARCHAR(50)) = @IdxPosizionePre) + BEGIN + -- ora cambio anche la posizione corrente dell'UDC (e tramite trigger storicizza...) + EXEC stp_spostaUdc @CodCS, @UDC, @IdxCellaTo, 0 + END + +COMMIT TRAN + + +RETURN +go + +commit +go + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(336, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.1/GMW_00340.sql b/GMW_data/SqlScripts/V1.1/GMW_00340.sql new file mode 100644 index 00000000..87c61ff0 --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00340.sql @@ -0,0 +1,286 @@ +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +alter VIEW v_selDestinatariListePrelievo +AS +SELECT CAST('*' AS NVARCHAR(6)) AS value, CAST('*' AS NVARCHAR(50)) AS label, '01-PreFus' AS conditio +UNION +SELECT CAST(CodCliente AS NVARCHAR(6)) AS value, CAST(CodCliente AS NVARCHAR(6)) + ' - ' + CAST(RagSociale AS NVARCHAR(50)) AS label, '02-PreCli' AS conditio +FROM RilPro.AnagClienti +UNION +SELECT CAST(CodTerzista AS NVARCHAR(6)) AS value, CAST(CodTerzista AS NVARCHAR(6)) + ' - ' + CAST(DescTerzista AS NVARCHAR(50)) AS label, '03-TerWip' AS conditio +FROM RilPro.AnagDepositi +go + +exec sp_updateextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[19] 4[25] 2[19] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 9 + Width = 284 + Width = 1500 + Width = 3360 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_selDestinatariListePrelievo' +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +alter VIEW v_RapQualSunto +AS +SELECT TOP (100) PERCENT CAST(nRapQual AS NVARCHAR(20)) AS nRapQual, DataRapQual, CodFor, CodLega, SUM(Qta) AS Qta, BenesQual, COUNT(*) AS UdcTot, + COUNT(UDC) AS UdcAssoc, LegaScaric +FROM RilPro.RapQual +GROUP BY nRapQual, DataRapQual, CodFor, CodLega, BenesQual, LegaScaric +ORDER BY nRapQual +go + +exec sp_updateextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[41] 4[20] 2[9] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "RapQual (RilPro)" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 314 + Right = 208 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 10 + Width = 284 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 12 + Column = 1440 + Alias = 1305 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_RapQualSunto' +go + +commit +go + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(340, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.1/GMW_00345.sql b/GMW_data/SqlScripts/V1.1/GMW_00345.sql new file mode 100644 index 00000000..2cc2587f --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00345.sql @@ -0,0 +1,283 @@ +/*************************************** +* STORED stp_processaCodaConsumoMP +* +* Processa la coda dei consumo di UDC di MP e chiaam procedura x salvataggio dato su AS400 +* +* Steamware, S.E.L. +* mod: 2010.10.12 +* +****************************************/ +ALTER PROCEDURE [BatchQueue].[stp_processaCodaConsumoMP] + ( + @ExecBatchInter BIT -- 0 Eseguita in Batch , 1 in Interattivo + ) +AS + -- BOZZA DA VERIFICARE E COMPLETARE A CURA MAZZUCCONI!!! PERCHE'??? NON VA VERSO AS400!!! + + -- faccio una query con un cursore x processare tutte le righe da inviare ad AS400.. + DECLARE @UDC NVARCHAR(50) -- UDC SQL + DECLARE @XRPQLN INT -- UDC + DECLARE @XNRETI NVARCHAR(10) -- Progr UDC AS400 + DECLARE @XDTPRO INT -- DataPrelievo + DECLARE @XTRPRO NVARCHAR(5) -- Turno Prelievo + DECLARE @XDESMT NVARCHAR(3) -- Destinazione Lega + DECLARE @XCDTER NVARCHAR(6) -- Cod. Terzista + + -- Dichiaro e carico il cursore + DECLARE UdcMpList CURSOR LOCAL FOR + SELECT UDC FROM AS400_BatchConsumoMP WHERE DataInvioAs IS NULL + + OPEN UdcMpList + FETCH NEXT FROM UdcMpList + INTO @UDC + + WHILE @@FETCH_STATUS = 0 + BEGIN + -- controllo ci sia la riga + IF (SELECT COUNT(UDC) FROM AS400_BatchConsumoMP WHERE UDC=@UDC) > 0 + BEGIN + -- carico valori che mi servono + SELECT @XRPQLN=rq.nRapQual, @XNRETI=rq.ProgUDC, @XDTPRO=bcu.DataPrelFus, @XTRPRO=bcu.TurnoPrelFus, + @XDESMT=bcu.DestLega, @XCDTER=bcu.DestTerz + FROM AS400_BatchConsumoMP as bcu + INNER JOIN RilPro.RapQual as rq ON bcu.UDC = rq.UDC + WHERE bcu.UDC=@UDC + + -- BEGIN TRAN qui non va messa perchè se verso AS400 le transazioni non sono gestite + -- MANCA IL CONTROLLO SE L'AGGIORNAMENTO E' STATO OK + DECLARE @ScritturaASOK AS INT + EXECUTE @ScritturaASOK = BatchQueue.stp_consumaMP @XRPQLN ,@XNRETI ,@XDTPRO ,@XTRPRO ,@XDESMT ,@XCDTER + + -- registro la data del movimento BATCH solo se stp_consumaMP è ritorna OK + -- NON ANDAVA BENE PERCHE' SE SUCCESSIVA ALL' ERRORE LA ESEGUE CMQ + -- Così non aggiorna la tabella MA L'UTENTE NON SI ACCORGE DI NULLA!!! + IF @ScritturaASOK = 0 + UPDATE AS400_BatchConsumoMP SET DataInvioAs = GETDATE() WHERE UDC = @UDC + + FETCH NEXT FROM UdcMpList INTO @UDC + END + END + CLOSE UdcMpList + DEALLOCATE UdcMpList + + -- aggiunta per dare errore se schedulata S.Possidonio!!! GCARLO + IF @ScritturaASOK <> 0 AND @ExecBatchInter = 0 + BEGIN + DECLARE @ErrorMessage NVARCHAR(4000); + DECLARE @ErrorSeverity INT; + DECLARE @ErrorState INT; + + SELECT + @ErrorMessage = ERROR_MESSAGE()+ ' '+ CONVERT( VARCHAR(10),ERROR_NUMBER()), + @ErrorSeverity = ERROR_SEVERITY(), + @ErrorState = ERROR_STATE(); + + RAISERROR (@ErrorMessage, -- Message text. + 16, -- Severity. + @ErrorState -- State. + ); + END +RETURN + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_prtCartMatPrimaByUDC +* +* ottiene il record del Cartellino Materia Prima dato l'UDC richiesto x la sstampa +* +****************************************/ +alter PROCEDURE stp_prtCartMatPrimaByUDC +( + @UDC VARCHAR(50) +) +AS +SELECT + RQ.nRapQual, + RQ.DataRapQual, + RQ.ProgUDC, + RQ.CodFor, + RQ.DestTerz, + RQ.CodLega, + RQ.DataPrelFus, + RQ.TurnoPrelFus, + RQ.Qta, + RQ.DestLega, + RQ.LegaScaric, + RQ.BenesQual, + RQ.UDC, + Fo.DescFornitore, + Fo.DescFornitore2, + Le.CodLega AS CodLega2, + Le.DescLega, + Le.DescLega2 +FROM RilPro.RapQual AS RQ +LEFT JOIN RilPro.AnagFornitori AS Fo + ON RQ.CodFor = Fo.CodFornitore +LEFT JOIN RilPro.AnagLeghe Le + ON RQ.CodLega = 'L' + Le.CodLega +WHERE RQ.UDC = RTRIM(@UDC) -- 'UB31000000001' +RETURN +go + +commit +go + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_rappQualConsumabili +* +* Ottiene l'elenco dei record di rapp qualità (e quindi degli UDC) di AS non ancora consumati per range di data di approvazione +* +* Steamware, S.E.L. +* mod: 2010.10.05 +* +****************************************/ +alter PROCEDURE stp_rappQualConsumabili +( + @dataFrom DATETIME, + @dataTo DATETIME +) + +AS + -- restituisce le righe richieste + SELECT nRapQual, DataRapQual, ProgUDC, CodFor, DestTerz, CodLega, DataPrelFus, TurnoPrelFus, Qta, DestLega, LegaScaric, BenesQual, UDC + FROM RilPro.RapQual + WHERE ((DataPrelFus IS NULL) OR (DataPrelFus = 0)) AND -- condizione sul NON aver fatto ancora il prelievo + ((DataRapQual >= dbo.dateToAsFormat(@dataFrom)) AND (DataRapQual < dbo.dateToAsFormat(@dataTo))) -- cond data RQ + AND (ISNULL(UDC,'') <>'') -- non nullo UDC, quindi stampati... + +RETURN +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +-- Batch submitted through debugger: GMW_00290.sql|183|0|C:\Users\RottGian\AppData\Local\Temp\2\Temp1_GMW_00290.zip\GMW_00290.sql + +/*************************************** +* STORED stp_selDestListePrelByConditio +* +* Ottiene i destinatari delle liste di prelievo data la condizione indicata +* +* Steamware, S.E.L. +* mod: 2010.11.02 +* +****************************************/ +alter PROCEDURE stp_selDestListePrelByConditio +( + @conditio NVARCHAR(20) +) +AS + +IF (@conditio='01-PreFus') +BEGIN + SELECT CAST('*' AS NVARCHAR(6)) AS value, CAST('*' AS NVARCHAR(50)) AS label, '01-PreFus' AS conditio +END + +ELSE IF (@conditio='02-PreCli') +BEGIN + SELECT CAST(CodCliente AS NVARCHAR(6)) AS value, CAST(CodCliente AS NVARCHAR(6)) +'- ' +CAST(RagSociale AS NVARCHAR(50)) AS label, '02-PreCli' AS conditio + FROM RilPro.AnagClienti + ORDER BY label +END + +ELSE +BEGIN + SELECT CAST(CodTerzista AS NVARCHAR(6)) AS value, CAST(CodTerzista AS NVARCHAR(6))+ '- '+CAST(DescTerzista AS NVARCHAR(50)) AS label, '03-TerWip' AS conditio + FROM RilPro.AnagDepositi + ORDER BY label +END + +RETURN +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +-- Batch submitted through debugger: GMW_00290.sql|183|0|C:\Users\RottGian\AppData\Local\Temp\2\Temp1_GMW_00290.zip\GMW_00290.sql + +/*************************************** +* STORED stp_selDestListePrelByConditio +* +* Ottiene i destinatari delle liste di prelievo data la condizione indicata +* +* Steamware, S.E.L. +* mod: 2010.11.02 +* +****************************************/ +alter PROCEDURE stp_selDestListePrelByConditio +( + @conditio NVARCHAR(20) +) +AS + +IF (@conditio='01-PreFus') +BEGIN + SELECT CAST('*' AS NVARCHAR(6)) AS value, CAST('*' AS NVARCHAR(50)) AS label, '01-PreFus' AS conditio +END + +ELSE IF (@conditio='02-PreCli') +BEGIN + SELECT CAST(CodCliente AS NVARCHAR(6)) AS value, CAST(CodCliente AS NVARCHAR(6)) +'- ' +CAST(RagSociale AS NVARCHAR(50)) AS label, '02-PreCli' AS conditio + FROM RilPro.AnagClienti + ORDER BY label +END + +ELSE +BEGIN + SELECT CAST(CodTerzista AS NVARCHAR(6)) AS value, CAST(CodTerzista AS NVARCHAR(6))+ '- '+CAST(DescTerzista AS NVARCHAR(50)) AS label, '03-TerWip' AS conditio + FROM RilPro.AnagDepositi + ORDER BY label +END + +RETURN +go + +commit +go + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(345, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.1/GMW_00350.sql b/GMW_data/SqlScripts/V1.1/GMW_00350.sql new file mode 100644 index 00000000..73b73962 --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00350.sql @@ -0,0 +1,125 @@ +/*************************************** +* STORED stp_rappQualGetByUDC +* +* Ottiene l'elenco dei record di rapp qualità di AS dato UDC +* +* Steamware, S.E.L. +* mod: 2011.03.30 +* +****************************************/ +create PROCEDURE dbo.stp_rappQualGetByUDC +( + @UDC NVARCHAR(20) +) +AS + -- restituisce le righe richieste + SELECT * + FROM RilPro.RapQual + WHERE (UDC = @UDC) + +RETURN + + +/*************************************** +* STORED stp_ComAs_lastComandoByStored +* +* Ottiene il record dell'ultimo comando inviato ad AS400 dato il nome della stored con Test = 0 +* +* Steamware, S.E.L. +* mod: 2011.03.30 +* +****************************************/ +create PROCEDURE dbo.stp_ComAs_lastComandoByStored +( + @Stored NVARCHAR(100) +) +AS + -- restituisce le righe richieste + SELECT TOP 1 * + FROM RawData.AS400_Comandi + WHERE (Stored = @Stored) AND Test = 0 + ORDER BY DataEsecuzione DESC + +RETURN + + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_rappQualSuntoGetByDataRange +* +* Ottiene l'elenco dei record di rapp qualità di AS dato il range delle date +* +* Steamware, S.E.L. +* mod: 2010.09.29 +* +****************************************/ +alter PROCEDURE stp_rappQualSuntoGetByDataRange +( + @dataFrom DATETIME, + @dataTo DATETIME +) +AS + -- restituisce le righe richieste + SELECT * + FROM v_RapQualSunto + WHERE (DataRapQual >= dbo.dateToAsFormat(@dataFrom)) AND (DataRapQual < dbo.dateToAsFormat(@dataTo)) + ORDER BY nRapQual +RETURN +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_rappQualSuntoGetByDataRange +* +* Ottiene l'elenco dei record di rapp qualità di AS dato il range delle date +* +* Steamware, S.E.L. +* mod: 2010.09.29 +* +****************************************/ +alter PROCEDURE stp_rappQualSuntoGetByDataRange +( + @dataFrom DATETIME, + @dataTo DATETIME +) +AS + -- restituisce le righe richieste + SELECT * + FROM v_RapQualSunto + WHERE (DataRapQual >= dbo.dateToAsFormat(@dataFrom)) AND (DataRapQual < dbo.dateToAsFormat(@dataTo)) + ORDER BY nRapQual +RETURN +go + +commit +go + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(350, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.1/GMW_00360.sql b/GMW_data/SqlScripts/V1.1/GMW_00360.sql new file mode 100644 index 00000000..3f7f34c9 --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00360.sql @@ -0,0 +1,128 @@ +create table Odette( + CampoUDC varchar(10) not null constraint PK_Odette primary key, + Campo1_1 varchar(8) not null, + Campo1_2 varchar(8) not null, + Campo1_3 varchar(8) not null, + Campo1_4 varchar(8) not null, + Campo1_5 varchar(8) not null, + Campo2_1 varchar(8) not null, + Campo2_2 varchar(8) not null, + Campo2_3 varchar(8) not null, + Campo2_4 varchar(8) not null, + Campo2_5 varchar(8) not null, + Campo3_1 varchar(8) not null, + Campo3_2 varchar(8) not null, + Campo3_3 varchar(8) not null, + Campo3_4 varchar(8) not null, + Campo3_5 varchar(8) not null, + Campo4_1 varchar(8) not null, + Campo4_2 varchar(8) not null, + Campo4_3 varchar(8) not null, + Campo4_4 varchar(8) not null, + Campo4_5 varchar(8) not null, + Campo5_1 varchar(8) not null, + Campo5_2 varchar(8) not null, + Campo5_3 varchar(8) not null, + Campo5_4 varchar(8) not null, + Campo5_5 varchar(8) not null, + Campo6_1 varchar(8) not null, + Campo6_2 varchar(8) not null, + Campo6_3 varchar(8) not null, + Campo6_4 varchar(8) not null, + Campo6_5 varchar(8) not null, + Campo7_1 varchar(8) not null, + Campo7_2 varchar(8) not null, + Campo7_3 varchar(8) not null, + Campo7_4 varchar(8) not null, + Campo7_5 varchar(8) not null, + Campo8_1 varchar(8) not null, + Campo8_2 varchar(8) not null, + Campo8_3 varchar(8) not null, + Campo8_4 varchar(8) not null, + Campo8_5 varchar(8) not null, + Campo9_1 varchar(8) not null, + Campo9_2 varchar(8) not null, + Campo9_3 varchar(8) not null, + Campo9_4 varchar(8) not null, + Campo9_5 varchar(8) not null, + Campo10_1 varchar(9) not null, + Campo10_2 varchar(9) not null, + Campo10_3 varchar(9) not null, + Campo10_4 varchar(9) not null, + Campo10_5 varchar(9) not null, + Campo11_1_1 varchar(11) not null, + Campo11_1_2 varchar(11) not null, + Campo11_1_3 varchar(11) not null, + Campo11_1_4 varchar(11) not null, + Campo11_1_5 varchar(11) not null, + Campo11_2_1 varchar(11) not null, + Campo11_2_2 varchar(11) not null, + Campo11_2_3 varchar(11) not null, + Campo11_2_4 varchar(11) not null, + Campo11_2_5 varchar(11) not null, + Campo12_1 varchar(9) not null, + Campo12_2 varchar(9) not null, + Campo12_3 varchar(9) not null, + Campo12_4 varchar(9) not null, + Campo12_5 varchar(9) not null, + Campo13_1 varchar(9) not null, + Campo13_2 varchar(9) not null, + Campo13_3 varchar(9) not null, + Campo13_4 varchar(9) not null, + Campo13_5 varchar(9) not null, + Campo14_1 varchar(9) not null, + Campo14_2 varchar(9) not null, + Campo14_3 varchar(9) not null, + Campo14_4 varchar(9) not null, + Campo14_5 varchar(9) not null, + Campo15_1 varchar(9) not null, + Campo15_2 varchar(9) not null, + Campo15_3 varchar(9) not null, + Campo15_4 varchar(9) not null, + Campo15_5 varchar(9) not null, + Campo16_1 varchar(9) not null, + Campo16_2 varchar(9) not null, + Campo16_3 varchar(9) not null, + Campo16_4 varchar(9) not null, + Campo16_5 varchar(9) not null +) +go + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.AnagTipoEvento + VALUES (N'MagPreGbox', N'Prelievo Gitterbox per cliente BMW') +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.TipoListaPrelievo + VALUES (N'04-OdetSP', N'Lista Prelievo per Odette SP', N'LPO010101', N'MagPreGbox', 0) +go + +commit transaction +go + + + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(360, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.1/GMW_00361.sql b/GMW_data/SqlScripts/V1.1/GMW_00361.sql new file mode 100644 index 00000000..83585c15 --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00361.sql @@ -0,0 +1,192 @@ +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_ComAs_lastComandoByStored +* +* Ottiene il record dell'ultimo comando inviato ad AS400 dato il nome della stored con Test = 0 +* +* Steamware, S.E.L. +* mod: 2011.03.30 +* +****************************************/ +create PROCEDURE stp_ComAs_lastComandoByStored +( + @Stored NVARCHAR(100) +) +AS + -- restituisce le righe richieste + SELECT TOP 1 * + FROM RawData.AS400_Comandi + WHERE (Stored = @Stored) AND Test = 0 + ORDER BY DataEsecuzione DESC + +RETURN +go + +commit +go + +drop procedure stp_BORI_caricaDatiNew +go + + + + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/***************************************** +* STORED stp_BORI_caricaDatiBolla +* +* richiama la stored di caricamento da AS400 x la bolla indicata +* +* Steamware, S.E.L. +* mod: 2011.04.28 +* +****************************************/ +alter PROCEDURE stp_BORI_caricaDatiBolla +( + @RaggrMagazz NVARCHAR(2) , + @GruppoBolle NVARCHAR(1) , + @NumeroBolla NVARCHAR(6) , + @DataBolla NVARCHAR(8) , + @Particolare NVARCHAR(15) +) +AS + + SET NOCOUNT ON; + + --DECLARE @RaggrMagazz AS NVARCHAR(2) = N'SP' + --DECLARE @GruppoBolle AS NVARCHAR(1) = N'0' + --DECLARE @NumeroBolla AS NVARCHAR(6) = N'678' + --DECLARE @DataBolla AS NVARCHAR(8) = N'20110421' + --DECLARE @Particolare AS NVARCHAR(15) = N'P00528536146' + + -- Prima cancello i dati della se già presenti bolla poi li carico + DELETE SP_GMW.RawData.BORI202J + WHERE CDMFS = @RaggrMagazz + AND GRBOS = @GruppoBolle + AND NRBOS = @NumeroBolla + AND DTBOS = @DataBolla + AND CDARS = @Particolare + + DECLARE @SQL AS NVARCHAR(4000) + DECLARE @SqlOK AS INT; + + SET @SqlOK = 0; + + -- ATTENZIONE!!! i parametri non devono essere nulli altrimenti la stringa ritornata è nulla + + /* + Prima estraggo i dati della bolla dal file in AS400 in una tabella temporanea + Poi va letta la tabella temporanea per creare i dati per la stampa Odette + NON VA BENE, SE ESEGUONO IN DUE LA STAMPA PUO ANDARE IN CONFLITTO + */ + + --IF OBJECT_ID(N'tempdb..##TabTemp') IS NOT NULL -- ##TabTemp Tabella temporanea globale altrimenti non riesco ad usarla + -- DROP TABLE ##TabTemp; + -- SET @SQL = 'SELECT * INTO ##TabTemp FROM OPENQUERY(P65220DC, + + BEGIN TRY + SET @SQL = 'INSERT INTO SP_GMW.RawData.BORI202J SELECT * FROM OPENQUERY(P65220DC, + ''SELECT + CDMFS + ,GRBOS + ,DTBOS + ,NRBOS + ,CDARS + ,NRRGS + ,CDINB + ,RA1ND + ,RA2ND + ,CAPND + ,CITND + ,RASCL + ,INDCL + ,CAPCL + ,LOCCL + ,PROCL + ,INEND + ,CRAGCL + ,TELND + ,CCDMOL + ,CCDPTR + ,EPLAVO + ,NRC1B + ,ECMM01 + ,DEPAR + ,RCARTC + ,PERND + ,CCDET1 + ,ECDNAE + ,ECDNA1 + ,EESPMD + ,PELDB + ,QTCNS + FROM POSN_AZI.BORI202J + WHERE ATV08 <> ''''A'''' + ' + + -- commemntare le righe successive per estrarre tutto + -- Parametri di selezione della bolla + SET @SQL = @SQL + ' AND CDMFS = ''''' + @RaggrMagazz + ''''' ' + SET @SQL = @SQL + ' AND GRBOS = ''''' + @GruppoBolle + ''''' ' + SET @SQL = @SQL + ' AND NRBOS = ' + @NumeroBolla + ' ' + SET @SQL = @SQL + ' AND DTBOS = ' + @DataBolla + ' ' + SET @SQL = @SQL + ' AND CDARS = ''''' + @Particolare + ''''' ' + + SET @SQL = @SQL + ''' )'; + + EXEC sp_executesql @SQL + + END TRY + BEGIN CATCH + -- PRINT ERROR_NUMBER() + SET @SqlOK = ERROR_NUMBER(); + + -- Uso RAISERROR mandare in errore la procedura e x per tornare le info + -- sull'errore originale che ha portato l'esecuzione nel blocco CATCH + --DECLARE @ErrorMessage NVARCHAR(4000); + --DECLARE @ErrorSeverity INT; + --DECLARE @ErrorState INT; + --SELECT @ErrorMessage = ERROR_MESSAGE(),@ErrorSeverity = ERROR_SEVERITY(),@ErrorState = ERROR_STATE(); + --RAISERROR (@ErrorMessage,@ErrorSeverity,@ErrorState); -- Se non uso RAISERROR la procedura non mi da errore es. se schedulata + END CATCH + + -- MANCA IL TEST SE VA IN ERRORE E IL SALVATAGGIO NEL LOG AS400 + + -- Memorizzo il comando per verifica T-SQL e l'esito del comando se 0 è OK + + --INSERT INTO RawData.AS400_Comandi + --SELECT GETDATE(), 'stp_CaricaDatiBolladaAs400', @SQL, @SqlOK; + + -- Carico i dati della Temp table nel file di appoggio + -- INSERT INTO SP_GMW.RawData.BORI202J + -- SELECT * FROM ##TabTemp + +RETURN +go + +commit +go + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(361, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.1/GMW_00365.sql b/GMW_data/SqlScripts/V1.1/GMW_00365.sql new file mode 100644 index 00000000..407b18d1 --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00365.sql @@ -0,0 +1,331 @@ +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/***************************************** +* STORED stp_BORI_getByBolla +* +* Cerca la bolla richiesta x chiave +* +* Steamware, S.E.L. +* mod: 2011.05.05 +* +****************************************/ +alter PROCEDURE stp_BORI_getByBolla +( + @RaggrMagazz NVARCHAR(2), + @GruppoBolle NVARCHAR(1), + @NumeroBolla NUMERIC(6,0), + @DataBolla NUMERIC(8,0), + @Particolare NVARCHAR(15) +) +AS + +SELECT * +FROM RawData.BORI202J +WHERE CDMFS = @RaggrMagazz +AND GRBOS = @GruppoBolle +AND NRBOS = @NumeroBolla +AND DTBOS = @DataBolla +AND CDARS = @Particolare + +RETURN +go + +/***************************************** +* STORED stp_BORI_getByBollaFull +* +* Cerca la bolla richiesta x chiave completa +* +* Steamware, S.E.L. +* mod: 2011.05.05 +* +****************************************/ +create PROCEDURE stp_BORI_getByBollaFull +( + @RaggrMagazz NVARCHAR(2), + @GruppoBolle NVARCHAR(1), + @NumeroBolla NUMERIC(6,0), + @DataBolla NUMERIC(8,0), + @Particolare NVARCHAR(15) +) +AS + +SELECT * +FROM RawData.BORI202J +WHERE CDMFS = @RaggrMagazz +AND GRBOS = @GruppoBolle +AND NRBOS = @NumeroBolla +AND DTBOS = @DataBolla +AND CDARS = @Particolare + +RETURN +go + +/***************************************** +* STORED stp_BORI_getByBollaPart +* +* Cerca la bolla richiesta x chiave parziale (no particolare) +* +* Steamware, S.E.L. +* mod: 2011.05.05 +* +****************************************/ +create PROCEDURE stp_BORI_getByBollaPart +( + @RaggrMagazz NVARCHAR(2), + @GruppoBolle NVARCHAR(1), + @NumeroBolla NUMERIC(6,0), + @DataBolla NUMERIC(8,0) +) +AS + +SELECT * +FROM RawData.BORI202J +WHERE CDMFS = @RaggrMagazz +AND GRBOS = @GruppoBolle +AND NRBOS = @NumeroBolla +AND DTBOS = @DataBolla + +RETURN +go + +commit +go + +set xact_abort on +go + +begin transaction +go + +DELETE FROM dbo.Permessi2Funzione WHERE COD_PERMESSO='MAG_logico' and COD_FUNZIONE=N'GMW_user' +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_RLP_eliminaNonPrelevate +* +* elimina eventuali righe non prelevate +* +* Steamware, S.E.L. +* mod: 2010.08.31 +* +****************************************/ +create PROCEDURE stp_RLP_eliminaNonPrelevate +( + @CodLista NVARCHAR(12) +) +AS + +DELETE FROM RigheListePrelievo +WHERE CodLista = @CodLista +AND Prelevato = 0 + +RETURN +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/***************************************** +* STORED stp_DtMtrx_import +* +* Recupera dati Gitterbox/DataMatrix partendo leggendo dati successivi all'ultimo import e importanto in tab GMW +* +* Steamware, S.E.L. +* mod: 2011.04.29 +* +****************************************/ +alter PROCEDURE stp_DtMtrx_import +( + @CodCS VARCHAR(2), + @IdxPosizione INT +) +AS + +------------------------------------------------------------------------------------------------------ +-- leggo data ultimo import (o creo record...) +------------------------------------------------------------------------------------------------------ +DECLARE @nomeFlusso AS NVARCHAR(50) +DECLARE @lastImport AS DATETIME +DECLARE @trovati AS INT + +-- imposto valori +SET @nomeFlusso = 'DataMatrix' +SET @lastImport = DATEADD(yy,-10,GETDATE()) -- inizializzo a -10 anni ... +-- sistemo tab registrazione import... +BEGIN TRAN + -- cerco nella tab log ultima data caricamento + SET @trovati = ( + SELECT COUNT(*) + FROM logImportFlussi + WHERE NomeFlusso = @nomeFlusso + ) + -- controllo se record c'è... + IF(@trovati > 0) + BEGIN + SET @lastImport = ( SELECT LastImport FROM LogImportFlussi WHERE NomeFlusso = @nomeFlusso ) + END + ELSE + BEGIN + -- lo creo! + INSERT INTO LogImportFlussi(NomeFlusso, LastImport) + VALUES (@nomeFlusso, @lastImport) + END +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + + +------------------------------------------------------------------------------------------------------ +-- ora gestisco il vero caricamento... +------------------------------------------------------------------------------------------------------ + -- filtro e salvo in tabella... gitterbox validi SOLO se iniziano per "U" + DECLARE @newData TABLE + ( + CodDataMatrix numeric(23, 0) , + CodGitterbox char(10) , + NumConchiglia int , + NumDisegno numeric(7, 0) , + EsponenteDisegno tinyint , + CodDifettoScarto varchar(5) , + InizioPreparazione smalldatetime , + FinePreparazione smalldatetime , + InizioIniezione smalldatetime , + FineIniezione smalldatetime , + MagDestinazione varchar(2) , + DataImport smalldatetime + ) + INSERT INTO @newData + SELECT CodDataMatrix, CodGitterbox, NumConchiglia, NumDisegno, EsponenteDisegno, CodDifettoScarto, InizioPreparazione, FinePreparazione, InizioIniezione, FineIniezione, MagDestinazione, DataImport + + FROM v_trasfDataMatrix + WHERE DataImport > @lastImport AND LEFT(CodGitterbox, 1) = 'U' + + + + -- creo UDC da gitterbox nuovi + INSERT INTO ElencoCartellini(UDC, Particolare, DataFus) + SELECT DISTINCT nd.CodGitterbox, null, MIN( InizioIniezione) + FROM @newData nd LEFT OUTER JOIN ElencoCartellini ec ON nd.CodGitterbox COLLATE SQL_Latin1_General_CP1_CI_AS = ec.UDC + WHERE ec.UDC IS NULL + GROUP BY nd.CodGitterbox + + DECLARE @udc NVARCHAR(50) + DECLARE @Particolare NVARCHAR(50) + DECLARE @NumDisegno NVARCHAR(50) + DECLARE @EsponenteDisegno NVARCHAR(50) + DECLARE @Qta INT + DECLARE @IdxCellaTo INT + DECLARE @adesso DATETIME + DECLARE @posTrovate INT + + SET @adesso = GETDATE() + SET @posTrovate = 0 + + DECLARE cursoreImport CURSOR FOR + SELECT nd.CodGitterbox, tp.Particolare, tp.NumDisegno, tp.EsponenteDisegno, dbo.getNumDatamatrix(nd.CodGitterbox) FROM @newData nd + INNER JOIN v_transcParticolari tp ON nd.NumDisegno = tp.NumDisegno AND nd.EsponenteDisegno = tp.EsponenteDisegno + + OPEN cursoreImport + FETCH NEXT FROM cursoreImport INTO @udc, @Particolare, @NumDisegno, @EsponenteDisegno, @Qta + + WHILE @@FETCH_STATUS = 0 + BEGIN + + -- aggiorno gli UDC gitterbox esistenti per quantità tra quelli dei dati da importare... + UPDATE ElencoCartellini + SET CodCS = @CodCS, + IdxPosizione = @IdxPosizione, + CreateDate = @adesso, + Particolare = @Particolare, + DisegnoGrezzo = @NumDisegno, + Esponente = @EsponenteDisegno, + Qta = @Qta, + Figura = '', + CodImballo ='', + Tara = 0, + PesoTot = 0, + PesoCad = 0, + CodStato = 'Fin', + NumCont = 1, + TurnoFus = 0, + ModDate = @adesso + WHERE UDC = @udc + + -- indico cella UDC corrente... calcolo la prima cella della nuova posizione... + SET @IdxCellaTo = ( + SELECT TOP 1 IdxCella FROM Celle + WHERE IdxBlocco = ( + SELECT IdxBlocco FROM Blocchi + WHERE CodMag=CAST(@IdxPosizione AS NVARCHAR(50))) + ) + -- controllo se posizione non ancora creata... + SET @posTrovate = ( SELECT COUNT(*) FROM PosizioneUdcCorrente WHERE UDC = @udc ) + IF( @posTrovate =0) + BEGIN + INSERT INTO PosizioneUdcCorrente + VALUES (@udc, @IdxCellaTo, @CodCS, @adesso) + END + + FETCH NEXT FROM cursoreImport INTO @udc, @Particolare, @NumDisegno, @EsponenteDisegno, @Qta + + + END + + CLOSE cursoreImport + DEALLOCATE cursoreImport + + -- inserisco datamatrix da ultimo import + INSERT INTO ElencoDataMatrix + SELECT * FROM @newData + + -- aggiorno dati ultimo caricamento + SET @lastImport = ( SELECT ISNULL(MAX(DataImport),@lastImport) FROM @newData ) + UPDATE LogImportFlussi + SET LastImport = @lastImport + WHERE NomeFlusso = @nomeFlusso + + +RETURN +go + +commit +go + + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(365, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.1/GMW_00370.sql b/GMW_data/SqlScripts/V1.1/GMW_00370.sql new file mode 100644 index 00000000..5e7a8755 --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00370.sql @@ -0,0 +1,222 @@ +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/***************************************** +* STORED stp_EDM_getByCode +* +* Recupera datamatrix da codice +* +* Steamware, S.E.L. +* mod: 2011.05.05 +* +****************************************/ +create PROCEDURE stp_EDM_getByCode +( + @CodDataMatrix NUMERIC(23) +) +AS + +SELECT * +FROM ElencoDataMatrix +WHERE CodDataMatrix = @CodDataMatrix + +RETURN +go + +/***************************************** +* STORED stp_EDM_spostaDataMtx +* +* Sposta un datamatrix in un nuovo gitterbox +* +* Steamware, S.E.L. +* mod: 2011.05.05 +* +****************************************/ +create PROCEDURE stp_EDM_spostaDataMtx +( + @CodDataMatrix NUMERIC(23), + @CodGitterbox NVARCHAR(10) +) +AS + +-- salvo codice gitterbox di partenza +DECLARE @CodGitterboxFrom AS NVARCHAR(10) +SET @CodGitterboxFrom = ( SELECT CodGitterbox FROM ElencoDataMatrix WHERE CodDataMatrix = @CodDataMatrix ) + +UPDATE ElencoDataMatrix +SET CodGitterbox = @CodGitterbox +WHERE CodDataMatrix = @CodDataMatrix + +-- aggiorno valori QTA gitterbox di partenza... +UPDATE ElencoCartellini +SET Qta = ( SELECT COUNT(*) FROM ElencoDataMatrix WHERE CodGitterbox = @CodGitterboxFrom ) +WHERE UDC = @CodGitterboxFrom +-- aggiorno valoti QTA gitterbox destinazione +UPDATE ElencoCartellini +SET Qta = ( SELECT COUNT(*) FROM ElencoDataMatrix WHERE CodGitterbox = @CodGitterbox ) +WHERE UDC = @CodGitterbox + +SELECT * +FROM ElencoDataMatrix +WHERE CodDataMatrix = @CodDataMatrix + +RETURN +go + +/***************************************** +* STORED stp_EDM_svuotaGitterbox +* +* Elimina il codice gitterbox dai datamatrix associati (svuotandolo...) +* +* Steamware, S.E.L. +* mod: 2011.05.06 +* +****************************************/ +create PROCEDURE stp_EDM_svuotaGitterbox +( + @CodGitterbox NVARCHAR(10) +) +AS + +UPDATE ElencoDataMatrix +SET CodGitterbox = '' +WHERE CodGitterbox = @CodGitterbox + +RETURN +go + +commit +go + + + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/***************************************** +* STORED stp_UDC_getByUdc +* +* Recupera UDC da codice +* +* Steamware, S.E.L. +* mod: 2011.05.05 +* +****************************************/ +create PROCEDURE stp_UDC_getByUdc +( + @UDC NVARCHAR(50) +) +AS + +SELECT * +FROM ElencoCartellini +WHERE LTRIM(RTRIM(UDC)) = @UDC + +RETURN +go + +commit +go + + + + +/*************************************** +* STORED stp_rappQualGetByNumRapQual +* +* Ottiene l'elenco dei record di rapp qualità di AS dato il numero del rapporto di qualità +* +* Steamware, S.E.L. +* mod: 2010.09.23 +* +****************************************/ +ALTER PROCEDURE stp_rappQualGetByNumRapQual +( + @nRapQual INT +) +AS + -- restituisce le righe richieste + SELECT * + FROM RilPro.RapQual + WHERE (nRapQual = @nRapQual) + AND LegaScaric = 'N' + +RETURN + + + +/*************************************** +* STORED stp_rappQualGetByNumRapQualSenzaUdc +* +* Ottiene l'elenco dei record di rapp qualità di AS dato il numero del rapporto di qualità che NON HANNO UDC +* +* Steamware, S.E.L. +* mod: 2011.05.06 +* +****************************************/ +create PROCEDURE stp_rappQualGetByNumRapQualSenzaUdc +( + @nRapQual INT +) +AS + -- restituisce le righe richieste + SELECT * + FROM RilPro.RapQual + WHERE (nRapQual = @nRapQual) AND (UDC IS NULL) + AND LegaScaric = 'N' + +RETURN + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/***************************************** +* STORED stp_EDM_getByGitterBox +* +* Recupera datamatrix da codice gitterbox +* +* Steamware, S.E.L. +* mod: 2011.05.06 +* +****************************************/ +create PROCEDURE stp_EDM_getByGitterBox +( + @CodGitterbox NVARCHAR(10) +) +AS + +SELECT * +FROM ElencoDataMatrix +WHERE CodGitterbox = @CodGitterbox + +RETURN +go + +commit +go + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(370, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.1/GMW_00385.sql b/GMW_data/SqlScripts/V1.1/GMW_00385.sql new file mode 100644 index 00000000..47b62009 --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00385.sql @@ -0,0 +1,292 @@ + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/***************************************** +* STORED stp_DtMtrx_import +* +* Recupera dati Gitterbox/DataMatrix partendo leggendo dati successivi all'ultimo import e importanto in tab GMW +* +* Steamware, S.E.L. +* mod: 2011.04.29 +* +****************************************/ +ALTER PROCEDURE dbo.stp_DtMtrx_import +( + @CodCS VARCHAR(2), + @IdxPosizione INT +) +AS + +------------------------------------------------------------------------------------------------------ +-- leggo data ultimo import (o creo record...) +------------------------------------------------------------------------------------------------------ +DECLARE @nomeFlusso AS NVARCHAR(50) +DECLARE @lastImport AS DATETIME +DECLARE @trovati AS INT + +-- imposto valori +SET @nomeFlusso = 'DataMatrix' +SET @lastImport = DATEADD(yy,-10,GETDATE()) -- inizializzo a -10 anni ... +-- sistemo tab registrazione import... +BEGIN TRAN + -- cerco nella tab log ultima data caricamento + SET @trovati = ( + SELECT COUNT(*) + FROM logImportFlussi + WHERE NomeFlusso = @nomeFlusso + ) + -- controllo se record c'è... + IF(@trovati > 0) + BEGIN + SET @lastImport = ( SELECT LastImport FROM LogImportFlussi WHERE NomeFlusso = @nomeFlusso ) + END + ELSE + BEGIN + -- lo creo! + INSERT INTO LogImportFlussi(NomeFlusso, LastImport) + VALUES (@nomeFlusso, @lastImport) + END +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + + +------------------------------------------------------------------------------------------------------ +-- ora gestisco il vero caricamento... +------------------------------------------------------------------------------------------------------ + -- filtro e salvo in tabella... gitterbox validi SOLO se iniziano per "U" + DECLARE @newData TABLE + ( + CodDataMatrix numeric(23, 0) , + CodGitterbox char(10) , + NumConchiglia int , + NumDisegno numeric(7, 0) , + EsponenteDisegno tinyint , + CodDifettoScarto varchar(5) , + InizioPreparazione smalldatetime , + FinePreparazione smalldatetime , + InizioIniezione smalldatetime , + FineIniezione smalldatetime , + MagDestinazione varchar(2) , + DataImport smalldatetime + ) + INSERT INTO @newData + SELECT CodDataMatrix, LTRIM(RTRIM(CodGitterbox)), NumConchiglia, NumDisegno, EsponenteDisegno, CodDifettoScarto, InizioPreparazione, FinePreparazione, InizioIniezione, FineIniezione, MagDestinazione, DataImport + + FROM v_trasfDataMatrix + WHERE DataImport > @lastImport AND LEFT(CodGitterbox, 1) = 'U' + + + + -- creo UDC da gitterbox nuovi + INSERT INTO ElencoCartellini(UDC, Particolare, DataFus) + SELECT DISTINCT nd.CodGitterbox, null, MIN( InizioIniezione) + FROM @newData nd LEFT OUTER JOIN ElencoCartellini ec ON nd.CodGitterbox COLLATE SQL_Latin1_General_CP1_CI_AS = ec.UDC + WHERE ec.UDC IS NULL + GROUP BY nd.CodGitterbox + + DECLARE @udc NVARCHAR(50) + DECLARE @Particolare NVARCHAR(50) + DECLARE @NumDisegno NVARCHAR(50) + DECLARE @EsponenteDisegno NVARCHAR(50) + DECLARE @Qta INT + DECLARE @IdxCellaTo INT + DECLARE @adesso DATETIME + DECLARE @posTrovate INT + + SET @adesso = GETDATE() + SET @posTrovate = 0 + + DECLARE cursoreImport CURSOR FOR + SELECT nd.CodGitterbox, tp.Particolare, tp.NumDisegno, tp.EsponenteDisegno, dbo.getNumDatamatrix(nd.CodGitterbox) FROM @newData nd + INNER JOIN v_transcParticolari tp ON nd.NumDisegno = tp.NumDisegno AND nd.EsponenteDisegno = tp.EsponenteDisegno + + OPEN cursoreImport + FETCH NEXT FROM cursoreImport INTO @udc, @Particolare, @NumDisegno, @EsponenteDisegno, @Qta + + WHILE @@FETCH_STATUS = 0 + BEGIN + + -- aggiorno gli UDC gitterbox esistenti per quantità tra quelli dei dati da importare... + UPDATE ElencoCartellini + SET CodCS = @CodCS, + IdxPosizione = @IdxPosizione, + CreateDate = @adesso, + Particolare = @Particolare, + DisegnoGrezzo = @NumDisegno, + Esponente = @EsponenteDisegno, + Qta = @Qta, + Figura = '', + CodImballo ='', + Tara = 0, + PesoTot = 0, + PesoCad = 0, + CodStato = 'Fin', + NumCont = 1, + TurnoFus = 0, + ModDate = @adesso + WHERE UDC = @udc + + -- indico cella UDC corrente... calcolo la prima cella della nuova posizione... + SET @IdxCellaTo = ( + SELECT TOP 1 IdxCella FROM Celle + WHERE IdxBlocco = ( + SELECT IdxBlocco FROM Blocchi + WHERE CodMag=CAST(@IdxPosizione AS NVARCHAR(50))) + ) + -- controllo se posizione non ancora creata... + SET @posTrovate = ( SELECT COUNT(*) FROM PosizioneUdcCorrente WHERE UDC = @udc ) + IF( @posTrovate =0) + BEGIN + INSERT INTO PosizioneUdcCorrente + VALUES (@udc, @IdxCellaTo, @CodCS, @adesso) + END + + FETCH NEXT FROM cursoreImport INTO @udc, @Particolare, @NumDisegno, @EsponenteDisegno, @Qta + + + END + + CLOSE cursoreImport + DEALLOCATE cursoreImport + + -- inserisco datamatrix da ultimo import + INSERT INTO ElencoDataMatrix + SELECT * FROM @newData + + -- aggiorno dati ultimo caricamento + SET @lastImport = ( SELECT ISNULL(MAX(DataImport),@lastImport) FROM @newData ) + UPDATE LogImportFlussi + SET LastImport = @lastImport + WHERE NomeFlusso = @nomeFlusso + + +RETURN +go + +commit +go + +-- ============================================= +-- Author: Samuele E. Locatelli +-- Create date: 2009-09-20 +-- Description: trigger x inserimento movimenti +-- nella coda di trasferimento batch +-- verso AS400 x UPDATE UDC +-- ============================================= +ALTER TRIGGER trg_updMovAS + ON ElencoCartellini + AFTER UPDATE +AS +BEGIN + + -- setup variabili e verbosità + SET NOCOUNT ON; + DECLARE @partOk AS BIT + DECLARE @currUdc AS NVARCHAR(50) + DECLARE @IdxPosFrom AS INT + DECLARE @IdxPosTo AS INT + DECLARE @magFrom AS NVARCHAR(50) + DECLARE @magTo AS NVARCHAR(50) + DECLARE @qta AS DECIMAL(10,2) + DECLARE @qtaOld AS DECIMAL(10,2) + DECLARE @IdxPosizioneComp INT + DECLARE @toAs400 BIT + + DECLARE cursore CURSOR FOR + SELECT CASE WHEN ISNULL(Particolare,'n.d.') = 'n.d.' THEN 0 ELSE 1 END, UDC FROM inserted + + OPEN cursore + FETCH NEXT FROM cursore INTO @partOk, @currUdc + + WHILE @@FETCH_STATUS = 0 + BEGIN + -- controllo che CI SIA il particolare (altrimenti non eseguo) + IF(@partOk = 1) + SET @qta = (SELECT Qta FROM inserted WHERE UDC = @currUdc) + SET @qtaOld = (SELECT Qta FROM deleted WHERE UDC = @currUdc) + -- se c'è stata modifica di quantità inizio a rettificare quella + IF ((UPDATE(Qta)) AND(@qta <> @qtaOld)) + BEGIN + -- registro il VERO movimento + INSERT INTO AS400_BatchMovimenti(DataIns, CodEvento, Particolare, UDC, CodMagAS, Quantita) + ( + SELECT GETDATE(), 'UDC_MOD', Particolare, UDC, CAST(IdxPosizione AS NVARCHAR(50)), @qta - Qta + FROM deleted + WHERE UDC = @currUdc AND CAST(IdxPosizione AS NVARCHAR(50)) IN (SELECT CodMagAS FROM AS400_MagCont WHERE Attivo = 1) + ) + -- controllo: se il magazzino di destinazione richiede una compensazione registro il 2° movimento di compensazione + SET @IdxPosFrom = (SELECT IdxPosizione FROM deleted) + SET @IdxPosTo = (SELECT IdxPosizione FROM inserted) + -- calcolo il mag di compensazione + SET @IdxPosizioneComp = (SELECT CAST(ISNULL(CodMagAS_compensaz,0) AS INT) FROM AS400_MagCont WHERE (Attivo = 1) AND (CodMagAS = CAST(@IdxPosFrom AS NVARCHAR(50)))) + IF (@IdxPosizioneComp > 0) + BEGIN + INSERT INTO AS400_BatchMovimenti(DataIns, CodEvento, Particolare, UDC, CodMagAS, Quantita) + ( + SELECT GETDATE(), 'UDC_COMP', Particolare, UDC, CAST(@IdxPosizioneComp AS NVARCHAR(50)), Qta - @qta + FROM deleted + WHERE UDC = @currUdc AND CAST(IdxPosizione AS NVARCHAR(50)) IN (SELECT CodMagAS FROM AS400_MagCont WHERE Attivo = 1) + ) + END + END + + -- Prendo le posizioni di magazzino precedente e nuova + SET @IdxPosFrom = (SELECT IdxPosizione FROM deleted WHERE UDC = @currUdc) + SET @IdxPosTo = (SELECT IdxPosizione FROM inserted WHERE UDC = @currUdc) + + -- controllo se devo fare rettifiche quantità... + SET @toAs400 = ( + SELECT TOP 1 ISNULL(toAs400, 0) as valore + FROM TabTranPosizEventi + WHERE IdxPosizione = @IdxPosFrom AND IdxPosizioneTo = @IdxPosTo + ) + + -- controllo poi se sia cambiato il magazzino logico (IdxPosizione) e si richieda update verso AS400, altrimenti non lo inserisco + IF ((UPDATE(IdxPosizione)) AND @toAs400 = 1) + BEGIN + -- Le trasformo nelle equivalenti stringhe del codMag SE attive + SET @magFrom = (SELECT ISNULL(CodMagAS,'---') FROM AS400_MagCont WHERE Attivo = 1 AND CodMagAs = CAST(@IdxPosFrom AS NVARCHAR(50))) + SET @magTo = (SELECT ISNULL(CodMagAS,'---') FROM AS400_MagCont WHERE Attivo = 1 AND CodMagAs = CAST(@IdxPosTo AS NVARCHAR(50))) + + -- inserisco un movimento di deposito verso mag nuovo (SE attivo) + IF (@magFrom <> '---') + BEGIN + INSERT INTO AS400_BatchMovimenti(DataIns, CodEvento, Particolare, UDC, CodMagAS, Quantita) + ( + SELECT GETDATE(), 'UDC_MOV', Particolare, UDC, CAST(IdxPosizione AS NVARCHAR(50)), -@qta + FROM deleted + WHERE UDC = @currUdc AND CAST(IdxPosizione AS NVARCHAR(50)) IN (SELECT CodMagAS FROM AS400_MagCont WHERE Attivo = 1) + ) + END + -- inserisco un movimento di prelievo verso mag vecchio (SE attivo) + IF (@magTo <> '---') + BEGIN + INSERT INTO AS400_BatchMovimenti(DataIns, CodEvento, Particolare, UDC, CodMagAS, Quantita) + ( + SELECT GETDATE(), 'UDC_MOV', Particolare, UDC, CAST(IdxPosizione AS NVARCHAR(50)), @qta + FROM inserted + WHERE UDC = @currUdc AND CAST(IdxPosizione AS NVARCHAR(50)) IN (SELECT CodMagAS FROM AS400_MagCont WHERE Attivo = 1) + ) + END + END + FETCH NEXT FROM cursore INTO @partOk, @currUdc + END + + CLOSE cursore + DEALLOCATE cursore + +END + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(385, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.1/GMW_00390.sql b/GMW_data/SqlScripts/V1.1/GMW_00390.sql new file mode 100644 index 00000000..4b4477f2 --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00390.sql @@ -0,0 +1,1088 @@ +set xact_abort on +go + +begin transaction +go + +create table ElencoListePrelievo_storico( + DataOraDelete datetime not null, + CodLista nvarchar(12) not null, + CodTipoLista nvarchar(10) not null, + CodCS nchar(2) not null, + DataCreaz datetime not null, + CodCliente nvarchar(6), + RagSociale nvarchar(35), + CodSoggetto nchar(17) not null, + Particolare nvarchar(15) not null, + DescParticolare nvarchar(30), + DisegnoGrezzo nvarchar(30), + Esponente nvarchar(6), + Figura nvarchar(4), + CodImballo nvarchar(15), + QtaTot decimal(10,2) not null, + CodStatoLista int not null, + Destinatario nvarchar(50), + DestinatarioDescrizione nvarchar(50) +) +go + +create index i_codLista on ElencoListePrelievo_storico(CodLista) +go + +create table Odette_storico( + DataOraDelete datetime not null, + CampoUDC varchar(10) not null, + Campo1_1 nvarchar(50) not null, + Campo1_2 nvarchar(50) not null, + Campo1_3 nvarchar(50) not null, + Campo1_4 nvarchar(50) not null, + Campo1_5 nvarchar(50) not null, + Campo2_1 nvarchar(50) not null, + Campo2_2 nvarchar(50) not null, + Campo2_3 nvarchar(50) not null, + Campo2_4 nvarchar(50) not null, + Campo2_5 nvarchar(50) not null, + Campo3_1 nvarchar(50) not null, + Campo3_2 nvarchar(50) not null, + Campo3_3 nvarchar(50) not null, + Campo3_4 nvarchar(50) not null, + Campo3_5 nvarchar(50) not null, + Campo4_1 nvarchar(50) not null, + Campo4_2 nvarchar(50) not null, + Campo4_3 nvarchar(50) not null, + Campo4_4 nvarchar(50) not null, + Campo4_5 nvarchar(50) not null, + Campo5_1 nvarchar(50) not null, + Campo5_2 nvarchar(50) not null, + Campo5_3 nvarchar(50) not null, + Campo5_4 nvarchar(50) not null, + Campo5_5 nvarchar(50) not null, + Campo6_1 nvarchar(50) not null, + Campo6_2 nvarchar(50) not null, + Campo6_3 nvarchar(50) not null, + Campo6_4 nvarchar(50) not null, + Campo6_5 nvarchar(50) not null, + Campo7_1 nvarchar(50) not null, + Campo7_2 nvarchar(50) not null, + Campo7_3 nvarchar(50) not null, + Campo7_4 nvarchar(50) not null, + Campo7_5 nvarchar(50) not null, + Campo8_1 nvarchar(50) not null, + Campo8_2 nvarchar(50) not null, + Campo8_3 nvarchar(50) not null, + Campo8_4 nvarchar(50) not null, + Campo8_5 nvarchar(50) not null, + Campo9_1 nvarchar(50) not null, + Campo9_2 nvarchar(50) not null, + Campo9_3 nvarchar(50) not null, + Campo9_4 nvarchar(50) not null, + Campo9_5 nvarchar(50) not null, + Campo10_1 nvarchar(50) not null, + Campo10_2 nvarchar(50) not null, + Campo10_3 nvarchar(50) not null, + Campo10_4 nvarchar(50) not null, + Campo10_5 nvarchar(50) not null, + Campo11_1_1 nvarchar(50) not null, + Campo11_1_2 nvarchar(50) not null, + Campo11_1_3 nvarchar(50) not null, + Campo11_1_4 nvarchar(50) not null, + Campo11_1_5 nvarchar(50) not null, + Campo11_2_1 nvarchar(50) not null, + Campo11_2_2 nvarchar(50) not null, + Campo11_2_3 nvarchar(50) not null, + Campo11_2_4 nvarchar(50) not null, + Campo11_2_5 nvarchar(50) not null, + Campo12_1 nvarchar(50) not null, + Campo12_2 nvarchar(50) not null, + Campo12_3 nvarchar(50) not null, + Campo12_4 nvarchar(50) not null, + Campo12_5 nvarchar(50) not null, + Campo13_1 nvarchar(50) not null, + Campo13_2 nvarchar(50) not null, + Campo13_3 nvarchar(50) not null, + Campo13_4 nvarchar(50) not null, + Campo13_5 nvarchar(50) not null, + Campo14_1 nvarchar(50) not null, + Campo14_2 nvarchar(50) not null, + Campo14_3 nvarchar(50) not null, + Campo14_4 nvarchar(50) not null, + Campo14_5 nvarchar(50) not null, + Campo15_1 nvarchar(50) not null, + Campo15_2 nvarchar(50) not null, + Campo15_3 nvarchar(50) not null, + Campo15_4 nvarchar(50) not null, + Campo15_5 nvarchar(50) not null, + Campo16_1 nvarchar(50) not null, + Campo16_2 nvarchar(50) not null, + Campo16_3 nvarchar(50) not null, + Campo16_4 nvarchar(50) not null, + Campo16_5 nvarchar(50) not null, + StatoOk bit not null, + CodCS nchar(2) not null +) +go + +create index i_UDC on Odette_storico(CampoUDC) +go + +create table RigheListePrelievo_storico( + DataOraDelete datetime not null, + CodLista nvarchar(12) not null, + UDC nvarchar(50) not null, + Qta decimal(10,2) not null, + Proposto bit, + Prelevato bit +) +go + +create index i_UDC on RigheListePrelievo_storico(UDC) +go + +create index i_CodListaUDC on RigheListePrelievo_storico(CodLista,UDC) +go + +commit +go + + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +-- ============================================= +-- Author: Samuele E. Locatelli +-- Create date: 2011-05-20 +-- Description: trigger x inserimento in tab +-- storico record cancellati +-- ============================================= +create TRIGGER trg_ListePrelievoDel + ON ElencoListePrelievo + AFTER DELETE +AS +BEGIN + + -- setup variabili e verbosità + SET NOCOUNT ON; + -- inserisco in storico + INSERT INTO ElencoListePrelievo_storico + (DataOraDelete,CodLista,CodTipoLista,CodCS,DataCreaz,CodCliente,RagSociale,CodSoggetto,Particolare,DescParticolare,DisegnoGrezzo, + Esponente,Figura,CodImballo,QtaTot,CodStatoLista,Destinatario,DestinatarioDescrizione) + + SELECT GETDATE(), CodLista,CodTipoLista,CodCS,DataCreaz,CodCliente,RagSociale,CodSoggetto,Particolare,DescParticolare,DisegnoGrezzo, + Esponente,Figura,CodImballo,QtaTot,CodStatoLista,Destinatario,DestinatarioDescrizione + FROM deleted + + +END +go + +-- ============================================= +-- Author: Samuele E. Locatelli +-- Create date: 2011-05-20 +-- Description: trigger x inserimento in tab +-- storico record cancellati +-- ============================================= +create TRIGGER trg_odetteDel + ON Odette + AFTER DELETE +AS +BEGIN + + -- setup variabili e verbosità + SET NOCOUNT ON; + -- inserisco in storico + INSERT INTO Odette_storico + (DataOraDelete,CampoUDC,Campo1_1,Campo1_2,Campo1_3,Campo1_4,Campo1_5,Campo2_1,Campo2_2,Campo2_3,Campo2_4,Campo2_5,Campo3_1, + Campo3_2,Campo3_3,Campo3_4,Campo3_5,Campo4_1,Campo4_2,Campo4_3,Campo4_4,Campo4_5,Campo5_1,Campo5_2,Campo5_3,Campo5_4,Campo5_5, + Campo6_1,Campo6_2,Campo6_3,Campo6_4,Campo6_5,Campo7_1,Campo7_2,Campo7_3,Campo7_4,Campo7_5,Campo8_1,Campo8_2,Campo8_3,Campo8_4, + Campo8_5,Campo9_1,Campo9_2,Campo9_3,Campo9_4,Campo9_5,Campo10_1,Campo10_2,Campo10_3,Campo10_4,Campo10_5,Campo11_1_1,Campo11_1_2, + Campo11_1_3,Campo11_1_4,Campo11_1_5,Campo11_2_1,Campo11_2_2,Campo11_2_3,Campo11_2_4,Campo11_2_5,Campo12_1,Campo12_2,Campo12_3, + Campo12_4,Campo12_5,Campo13_1,Campo13_2,Campo13_3,Campo13_4,Campo13_5,Campo14_1,Campo14_2,Campo14_3,Campo14_4,Campo14_5,Campo15_1, + Campo15_2,Campo15_3,Campo15_4,Campo15_5,Campo16_1,Campo16_2,Campo16_3,Campo16_4,Campo16_5,StatoOk,CodCS) + + SELECT GETDATE(), CampoUDC,Campo1_1,Campo1_2,Campo1_3,Campo1_4,Campo1_5,Campo2_1,Campo2_2,Campo2_3,Campo2_4,Campo2_5,Campo3_1, + Campo3_2,Campo3_3,Campo3_4,Campo3_5,Campo4_1,Campo4_2,Campo4_3,Campo4_4,Campo4_5,Campo5_1,Campo5_2,Campo5_3,Campo5_4,Campo5_5, + Campo6_1,Campo6_2,Campo6_3,Campo6_4,Campo6_5,Campo7_1,Campo7_2,Campo7_3,Campo7_4,Campo7_5,Campo8_1,Campo8_2,Campo8_3,Campo8_4, + Campo8_5,Campo9_1,Campo9_2,Campo9_3,Campo9_4,Campo9_5,Campo10_1,Campo10_2,Campo10_3,Campo10_4,Campo10_5,Campo11_1_1,Campo11_1_2, + Campo11_1_3,Campo11_1_4,Campo11_1_5,Campo11_2_1,Campo11_2_2,Campo11_2_3,Campo11_2_4,Campo11_2_5,Campo12_1,Campo12_2,Campo12_3, + Campo12_4,Campo12_5,Campo13_1,Campo13_2,Campo13_3,Campo13_4,Campo13_5,Campo14_1,Campo14_2,Campo14_3,Campo14_4,Campo14_5,Campo15_1, + Campo15_2,Campo15_3,Campo15_4,Campo15_5,Campo16_1,Campo16_2,Campo16_3,Campo16_4,Campo16_5,StatoOk,CodCS + FROM deleted + +END +go + +-- ============================================= +-- Author: Samuele E. Locatelli +-- Create date: 2011-05-20 +-- Description: trigger x inserimento in tab +-- storico record cancellati +-- ============================================= +create TRIGGER trg_RigheListePrelievoDel + ON RigheListePrelievo + AFTER DELETE +AS +BEGIN + + -- setup variabili e verbosità + SET NOCOUNT ON; + -- inserisco in storico + INSERT INTO RigheListePrelievo_storico + (DataOraDelete,CodLista,UDC,Qta,Proposto,Prelevato) + + SELECT GETDATE(), CodLista,UDC,Qta,Proposto,Prelevato + FROM deleted + + +END +go + +commit +go + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_RLP_resetPrelevate +* +* sblocca righe liste di prelievo come NON PRELEVATE +* +* Steamware, S.E.L. +* mod: 2011.05.20 +* +****************************************/ +create PROCEDURE stp_RLP_resetPrelevate +( + @CodLista NVARCHAR(12) +) +AS + +-- effettua "sblocco" delle righe liste prelievo +UPDATE RigheListePrelievo + SET Prelevato = 0 + WHERE CodLista = @CodLista + +RETURN +go + +/*************************************** +* STORED stp_TTPE_getByCodEvento +* +* ottiene una riga della tab di transizione eventi dato evento +* +* Steamware, S.E.L. +* mod: 2011.05.20 +* +************************************/ +create PROCEDURE stp_TTPE_getByCodEvento +( + @CodEvento NVARCHAR(10) +) +AS + +SELECT * +FROM TabTranPosizEventi +where CodEvento = @CodEvento +go + +commit +go + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* FUNCTION f_getCellaByPos +* +* fornisce la prima cella associata ad una posizione "logica" di magazzino +* +* Steamware, S.E.L. +* mod: 2011.05.20 +* +****************************************/ +create FUNCTION f_getCellaByPos (@posizione VARCHAR(255)) +RETURNS INT AS +BEGIN + +DECLARE @answ AS INT + + SET @answ = ( + SELECT TOP 1 ISNULL(IdxCella,0) FROM Celle + WHERE IdxBlocco = ( SELECT IdxBlocco FROM Blocchi WHERE CodMag = @posizione ) + ) + +RETURN @answ + +END +go + +commit +go + + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_scaricaUdc +* +* elimina dalle posizioni correnti un UDC, salvandone la posizione precedente nella tab storica (per scaricamento / spedizione) +* +* Steamware, S.E.L. +* mod: 2010.09.28 +* +****************************************/ +alter PROCEDURE stp_scaricaUdc +( + @UDC VARCHAR(50), + @IdxCellaFrom INT, + @IdxPosizione INT +) +AS + +BEGIN TRAN + -- libero la posizione attuale dell'UDC (se c'è...) + DELETE + FROM PosizioneUdcCorrente + WHERE UDC = @UDC --AND IdxCella = @IdxCellaFrom + + -- aggiorno l'UDC come posizione finale... + UPDATE ElencoCartellini + SET IdxPosizione = @IdxPosizione, ModDate = GETDATE() + WHERE UDC = @UDC + +COMMIT TRAN + +RETURN +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/***************************************** +* STORED stp_ODETTE_delete +* +* Elimina una riga etichetta odette +* +* Steamware, S.E.L. +* mod: 2011.05.10 +* +****************************************/ +create PROCEDURE stp_ODETTE_delete +( + @Original_CampoUDC NVARCHAR(50) +) +AS + +DELETE +FROM Odette +WHERE CampoUDC = @Original_CampoUDC + +RETURN +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(10), + @CodCS VARCHAR(2), + @numBolla NVARCHAR(6), + @dataBolla NVARCHAR(8), + @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 = SUBSTRING(@UDC, 3, LEN(@UDC)-2) -- prendo da 3° carattere perché prima "U" e una lettera x tipo prodotto gitterbox + +-- 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 +WHERE CampoUDC = @UDC + +RETURN +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_cellaGetFirstByPosizione +* +* ottiene la prima cella data la posizione indicata +* +* Steamware, S.E.L. +* mod: 2011.05.20 +* +****************************************/ +create PROCEDURE stp_cellaGetFirstByPosizione +( + @posizione NVARCHAR(50) +) +AS + + SELECT * + FROM Celle + WHERE IdxCella = dbo.f_getCellaByPos(@posizione) + +RETURN +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/***************************************** +* STORED stp_EDM_spostaDataMtx +* +* Sposta un datamatrix in un nuovo gitterbox +* +* Steamware, S.E.L. +* mod: 2011.05.05 +* +****************************************/ +alter PROCEDURE stp_EDM_spostaDataMtx +( + @CodDataMatrix NUMERIC(23), + @CodGitterbox NVARCHAR(10) +) +AS + +-- salvo codice gitterbox di partenza +DECLARE @CodGitterboxFrom AS NVARCHAR(10) +SET @CodGitterboxFrom = ( SELECT CodGitterbox FROM ElencoDataMatrix WHERE CodDataMatrix = @CodDataMatrix ) + +UPDATE ElencoDataMatrix +SET CodGitterbox = @CodGitterbox +WHERE CodDataMatrix = @CodDataMatrix + +-- aggiorno valori QTA gitterbox di partenza... +UPDATE ElencoCartellini +SET Qta = ( SELECT COUNT(*) FROM ElencoDataMatrix WHERE CodGitterbox = @CodGitterboxFrom ) +WHERE UDC = @CodGitterboxFrom +-- aggiorno valoti QTA gitterbox destinazione... +UPDATE ElencoCartellini +SET Qta = ( SELECT COUNT(*) FROM ElencoDataMatrix WHERE CodGitterbox = @CodGitterbox ) +WHERE UDC = @CodGitterbox + +-- aggiorno righe liste di prelievo... +UPDATE RigheListePrelievo +SET Qta = ( SELECT COUNT(*) FROM ElencoDataMatrix WHERE CodGitterbox = @CodGitterboxFrom ) +WHERE UDC = @CodGitterboxFrom +-- aggiorno valoti QTA gitterbox destinazione... +UPDATE RigheListePrelievo +SET Qta = ( SELECT COUNT(*) FROM ElencoDataMatrix WHERE CodGitterbox = @CodGitterbox ) +WHERE UDC = @CodGitterbox + +-- select finale! +SELECT * +FROM ElencoDataMatrix +WHERE CodDataMatrix = @CodDataMatrix + +RETURN +go + +commit +go + + +drop procedure stp_BORI_caricaDatiNew +go + + +-- ATTENZIONE!!! DA QUI SI DEVE AVERE corrette le view sul db SP_produzione_test + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/***************************************** +* STORED stp_DtMtx_getOrig +* +* Cerca la bolla richiesta x chiave +* +* Steamware, S.E.L. +* mod: 2011.05.19 +* +****************************************/ +create PROCEDURE stp_DtMtx_getOrig +( + @CodDataMatrix NVARCHAR(50) +) +AS + +SELECT * +FROM v_trasfDataMatrix +WHERE CodDataMatrix = @CodDataMatrix + +RETURN +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/***************************************** +* STORED stp_DtMtrx_import +* +* Recupera dati Gitterbox/DataMatrix partendo leggendo dati successivi all'ultimo import e importanto in tab GMW +* +* Steamware, S.E.L. +* mod: 2011.04.29 +* +****************************************/ +alter PROCEDURE stp_DtMtrx_import +( + @CodCS VARCHAR(2), + @IdxPosizione INT +) +AS + +------------------------------------------------------------------------------------------------------ +-- leggo data ultimo import (o creo record...) +------------------------------------------------------------------------------------------------------ +DECLARE @nomeFlusso AS NVARCHAR(50) +DECLARE @lastImport AS DATETIME +DECLARE @trovati AS INT + +-- imposto valori +SET @nomeFlusso = 'DataMatrix' +SET @lastImport = DATEADD(yy,-10,GETDATE()) -- inizializzo a -10 anni ... +-- sistemo tab registrazione import... +BEGIN TRAN + -- cerco nella tab log ultima data caricamento + SET @trovati = ( + SELECT COUNT(*) + FROM logImportFlussi + WHERE NomeFlusso = @nomeFlusso + ) + -- controllo se record c'è... + IF(@trovati > 0) + BEGIN + SET @lastImport = ( SELECT LastImport FROM LogImportFlussi WHERE NomeFlusso = @nomeFlusso ) + END + ELSE + BEGIN + -- lo creo! + INSERT INTO LogImportFlussi(NomeFlusso, LastImport) + VALUES (@nomeFlusso, @lastImport) + END +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + + +------------------------------------------------------------------------------------------------------ +-- ora gestisco il vero caricamento... +------------------------------------------------------------------------------------------------------ + -- filtro e salvo in tabella... gitterbox validi SOLO se iniziano per "U" + DECLARE @newData TABLE + ( + CodDataMatrix numeric(23, 0) , + CodGitterbox char(10) , + NumConchiglia int , + NumDisegno numeric(7, 0) , + EsponenteDisegno tinyint , + CodDifettoScarto varchar(5) , + InizioPreparazione smalldatetime , + FinePreparazione smalldatetime , + InizioIniezione smalldatetime , + FineIniezione smalldatetime , + MagDestinazione varchar(2) , + DataImport smalldatetime + ) + INSERT INTO @newData + SELECT CodDataMatrix, LTRIM(RTRIM(CodGitterbox)), NumConchiglia, NumDisegno, EsponenteDisegno, CodDifettoScarto, InizioPreparazione, FinePreparazione, InizioIniezione, FineIniezione, MagDestinazione, DataImport + + FROM v_trasfDataMatrix + WHERE DataImport > @lastImport AND LEFT(CodGitterbox, 1) = 'U' + + + + -- creo UDC da gitterbox nuovi + INSERT INTO ElencoCartellini(UDC, Particolare, DataFus) + SELECT DISTINCT nd.CodGitterbox, null, MIN(InizioIniezione) + FROM @newData nd LEFT OUTER JOIN ElencoCartellini ec ON nd.CodGitterbox = ec.UDC + WHERE ec.UDC IS NULL + GROUP BY nd.CodGitterbox + + DECLARE @udc NVARCHAR(50) + DECLARE @Particolare NVARCHAR(50) + DECLARE @NumDisegno NVARCHAR(50) + DECLARE @EsponenteDisegno NVARCHAR(50) + DECLARE @Qta INT + DECLARE @IdxCellaTo INT + DECLARE @adesso DATETIME + DECLARE @posTrovate INT + + SET @adesso = GETDATE() + SET @posTrovate = 0 + + DECLARE cursoreImport CURSOR FOR + SELECT nd.CodGitterbox, tp.Particolare, tp.NumDisegno, tp.EsponenteDisegno, dbo.getNumDatamatrix(nd.CodGitterbox) FROM @newData nd + INNER JOIN v_transcParticolari tp ON nd.NumDisegno = tp.NumDisegno AND nd.EsponenteDisegno = tp.EsponenteDisegno + + OPEN cursoreImport + FETCH NEXT FROM cursoreImport INTO @udc, @Particolare, @NumDisegno, @EsponenteDisegno, @Qta + + WHILE @@FETCH_STATUS = 0 + BEGIN + + -- aggiorno gli UDC gitterbox esistenti per quantità tra quelli dei dati da importare... + UPDATE ElencoCartellini + SET CodCS = @CodCS, + IdxPosizione = @IdxPosizione, + CreateDate = @adesso, + Particolare = @Particolare, + DisegnoGrezzo = @NumDisegno, + Esponente = @EsponenteDisegno, + Qta = @Qta, + Figura = '', + CodImballo = '', + Tara = 0, + PesoTot = 0, + PesoCad = 0, + CodStato = 'Fin', + NumCont = 1, + TurnoFus = 0, + ModDate = @adesso + WHERE UDC = @udc + + -- indico cella UDC corrente... calcolo la prima cella della nuova posizione... + SET @IdxCellaTo = ( SELECT dbo.f_getCellaByPos(CAST(@IdxPosizione AS NVARCHAR(50))) ) + /*( + SELECT TOP 1 IdxCella FROM Celle + WHERE IdxBlocco = ( + SELECT IdxBlocco FROM Blocchi + WHERE CodMag=CAST(@IdxPosizione AS NVARCHAR(50))) + )*/ + + -- controllo se posizione non ancora creata... + SET @posTrovate = ( SELECT COUNT(*) FROM PosizioneUdcCorrente WHERE UDC = @udc ) + IF( @posTrovate =0) + BEGIN + INSERT INTO PosizioneUdcCorrente + VALUES (@udc, @IdxCellaTo, @CodCS, @adesso) + END + + FETCH NEXT FROM cursoreImport INTO @udc, @Particolare, @NumDisegno, @EsponenteDisegno, @Qta + + + END + + CLOSE cursoreImport + DEALLOCATE cursoreImport + + -- inserisco datamatrix da ultimo import + INSERT INTO ElencoDataMatrix + SELECT * FROM @newData + + -- aggiorno dati ultimo caricamento + SET @lastImport = ( SELECT ISNULL(MAX(DataImport),@lastImport) FROM @newData ) + UPDATE LogImportFlussi + SET LastImport = @lastImport + WHERE NomeFlusso = @nomeFlusso + + +RETURN +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +alter table ElencoDataMatrix drop + constraint DF_ElencoDataMatrix_CodGitterbox +go + +alter table ElencoDataMatrix alter column + CodGitterbox nvarchar(50) not null +go + +alter table ElencoDataMatrix add + constraint DF_ElencoDataMatrix_CodGitterbox default ('') for CodGitterbox, + constraint FK_ElencoDataMatrix_ElencoCartellini foreign key(CodGitterbox) references ElencoCartellini(UDC) on update cascade +go + +set ANSI_NULLS on +go + +/***************************************** +* STORED stp_EDM_spostaDataMtx +* +* Sposta un datamatrix in un nuovo gitterbox +* +* Steamware, S.E.L. +* mod: 2011.05.05 +* +****************************************/ +alter PROCEDURE stp_EDM_spostaDataMtx +( + @CodDataMatrix NUMERIC(23), + @CodGitterbox NVARCHAR(10) +) +AS + +-- salvo codice gitterbox di partenza +DECLARE @CodGitterboxFrom AS NVARCHAR(10) +SET @CodGitterboxFrom = ( SELECT CodGitterbox FROM ElencoDataMatrix WHERE CodDataMatrix = @CodDataMatrix ) + +UPDATE ElencoDataMatrix +SET CodGitterbox = @CodGitterbox +WHERE CodDataMatrix = @CodDataMatrix + +-- aggiorno valori QTA gitterbox di partenza... +UPDATE ElencoCartellini +SET Qta = ( SELECT COUNT(*) FROM ElencoDataMatrix WHERE CodGitterbox = @CodGitterboxFrom ) +WHERE UDC = @CodGitterboxFrom +-- aggiorno valoti QTA gitterbox destinazione... +UPDATE ElencoCartellini +SET Qta = ( SELECT COUNT(*) FROM ElencoDataMatrix WHERE CodGitterbox = @CodGitterbox ) +WHERE UDC = @CodGitterbox + +-- aggiorno righe liste di prelievo... +UPDATE RigheListePrelievo +SET Qta = ( SELECT COUNT(*) FROM ElencoDataMatrix WHERE CodGitterbox = @CodGitterboxFrom ) +WHERE UDC = @CodGitterboxFrom +-- aggiorno valoti QTA gitterbox destinazione... +UPDATE RigheListePrelievo +SET Qta = ( SELECT COUNT(*) FROM ElencoDataMatrix WHERE CodGitterbox = @CodGitterbox ) +WHERE UDC = @CodGitterbox + +-- select finale! +SELECT * +FROM ElencoDataMatrix +WHERE CodDataMatrix = @CodDataMatrix + +RETURN +go + +/***************************************** +* STORED stp_DtMtrx_import +* +* Recupera dati Gitterbox/DataMatrix partendo leggendo dati successivi all'ultimo import e importanto in tab GMW +* +* Steamware, S.E.L. +* mod: 2011.04.29 +* +****************************************/ +alter PROCEDURE stp_DtMtrx_import +( + @CodCS VARCHAR(2), + @IdxPosizione INT +) +AS + +------------------------------------------------------------------------------------------------------ +-- leggo data ultimo import (o creo record...) +------------------------------------------------------------------------------------------------------ +DECLARE @nomeFlusso AS NVARCHAR(50) +DECLARE @lastImport AS DATETIME +DECLARE @trovati AS INT + +-- imposto valori +SET @nomeFlusso = 'DataMatrix' +SET @lastImport = DATEADD(yy,-10,GETDATE()) -- inizializzo a -10 anni ... +-- sistemo tab registrazione import... +BEGIN TRAN + -- cerco nella tab log ultima data caricamento + SET @trovati = ( + SELECT COUNT(*) + FROM logImportFlussi + WHERE NomeFlusso = @nomeFlusso + ) + -- controllo se record c'è... + IF(@trovati > 0) + BEGIN + SET @lastImport = ( SELECT LastImport FROM LogImportFlussi WHERE NomeFlusso = @nomeFlusso ) + END + ELSE + BEGIN + -- lo creo! + INSERT INTO LogImportFlussi(NomeFlusso, LastImport) + VALUES (@nomeFlusso, @lastImport) + END +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + + +------------------------------------------------------------------------------------------------------ +-- ora gestisco il vero caricamento... +------------------------------------------------------------------------------------------------------ + -- filtro e salvo in tabella... gitterbox validi SOLO se iniziano per "U" + DECLARE @newData TABLE + ( + CodDataMatrix numeric(23, 0) , + CodGitterbox char(10) , + NumConchiglia int , + NumDisegno numeric(7, 0) , + EsponenteDisegno tinyint , + CodDifettoScarto varchar(5) , + InizioPreparazione smalldatetime , + FinePreparazione smalldatetime , + InizioIniezione smalldatetime , + FineIniezione smalldatetime , + MagDestinazione varchar(2) , + DataImport smalldatetime + ) + INSERT INTO @newData + SELECT CodDataMatrix, LTRIM(RTRIM(CodGitterbox)), NumConchiglia, NumDisegno, EsponenteDisegno, CodDifettoScarto, InizioPreparazione, FinePreparazione, InizioIniezione, FineIniezione, MagDestinazione, DataImport + + FROM v_trasfDataMatrix + WHERE DataImport > @lastImport AND LEFT(CodGitterbox, 1) = 'U' + + + + -- creo UDC da gitterbox nuovi + INSERT INTO ElencoCartellini(UDC, Particolare, DataFus) + SELECT DISTINCT nd.CodGitterbox, null, MIN(InizioIniezione) + FROM @newData nd LEFT OUTER JOIN ElencoCartellini ec ON nd.CodGitterbox = ec.UDC + WHERE ec.UDC IS NULL + GROUP BY nd.CodGitterbox + + DECLARE @udc NVARCHAR(50) + DECLARE @Particolare NVARCHAR(50) + DECLARE @NumDisegno NVARCHAR(50) + DECLARE @EsponenteDisegno NVARCHAR(50) + DECLARE @Qta INT + DECLARE @IdxCellaTo INT + DECLARE @adesso DATETIME + DECLARE @posTrovate INT + + SET @adesso = GETDATE() + SET @posTrovate = 0 + + DECLARE cursoreImport CURSOR FOR + SELECT nd.CodGitterbox, tp.Particolare, tp.NumDisegno, tp.EsponenteDisegno, dbo.getNumDatamatrix(nd.CodGitterbox) FROM @newData nd + INNER JOIN v_transcParticolari tp ON nd.NumDisegno = tp.NumDisegno AND nd.EsponenteDisegno = tp.EsponenteDisegno + + OPEN cursoreImport + FETCH NEXT FROM cursoreImport INTO @udc, @Particolare, @NumDisegno, @EsponenteDisegno, @Qta + + WHILE @@FETCH_STATUS = 0 + BEGIN + + -- aggiorno gli UDC gitterbox esistenti per quantità tra quelli dei dati da importare... + UPDATE ElencoCartellini + SET CodCS = @CodCS, + IdxPosizione = @IdxPosizione, + CreateDate = @adesso, + Particolare = @Particolare, + DisegnoGrezzo = @NumDisegno, + Esponente = @EsponenteDisegno, + Qta = @Qta, + Figura = '', + CodImballo = '', + Tara = 0, + PesoTot = 0, + PesoCad = 0, + CodStato = 'Fin', + NumCont = 1, + TurnoFus = 0, + ModDate = @adesso + WHERE UDC = @udc + + -- indico cella UDC corrente... calcolo la prima cella della nuova posizione... + SET @IdxCellaTo = ( SELECT dbo.f_getCellaByPos(CAST(@IdxPosizione AS NVARCHAR(50))) ) + /*( + SELECT TOP 1 IdxCella FROM Celle + WHERE IdxBlocco = ( + SELECT IdxBlocco FROM Blocchi + WHERE CodMag=CAST(@IdxPosizione AS NVARCHAR(50))) + )*/ + + -- controllo se posizione non ancora creata... + SET @posTrovate = ( SELECT COUNT(*) FROM PosizioneUdcCorrente WHERE UDC = @udc ) + IF( @posTrovate =0) + BEGIN + INSERT INTO PosizioneUdcCorrente + VALUES (@udc, @IdxCellaTo, @CodCS, @adesso) + END + + FETCH NEXT FROM cursoreImport INTO @udc, @Particolare, @NumDisegno, @EsponenteDisegno, @Qta + + + END + + CLOSE cursoreImport + DEALLOCATE cursoreImport + + -- inserisco datamatrix da ultimo import + INSERT INTO ElencoDataMatrix + SELECT * FROM @newData + + -- aggiorno dati ultimo caricamento + SET @lastImport = ( SELECT ISNULL(MAX(DataImport),@lastImport) FROM @newData ) + UPDATE LogImportFlussi + SET LastImport = @lastImport + WHERE NomeFlusso = @nomeFlusso + + +RETURN +go + +commit +go + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(390, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.1/GMW_00391.sql b/GMW_data/SqlScripts/V1.1/GMW_00391.sql new file mode 100644 index 00000000..1593f8db --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00391.sql @@ -0,0 +1,936 @@ +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(10), + @CodCS VARCHAR(2), + @numBolla NVARCHAR(6), + @dataBolla NVARCHAR(8), + @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 = SUBSTRING(@UDC, 3, LEN(@UDC)-2) -- prendo da 3° carattere perché prima "U" e una lettera x tipo prodotto gitterbox + +-- 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 = @UDC +WHERE CampoUDC = @UDC + +RETURN +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +alter table Odette add + CodMag nvarchar(2), + GrpBolla nvarchar(1), + DataBolla numeric(8,0), + NumBolla numeric(6,0), + Particolare nvarchar(15), + CodLista nvarchar(12) +go + + + +commit +go + +set xact_abort on +go + +begin transaction +go + +update Odette +set CodMag='SP', GrpBolla='0', NumBolla=cast(Campo3_2 as numeric(8,0)), Particolare=Campo11_1_2, DataBolla=0, CodLista='' +go + +update Odette +set CodLista = rlp.CodLista +from Odette inner join RigheListePrelievo rlp on rlp.UDC=Odette.CampoUDC +go + +update Odette +set DataBolla = b.DTBOS +from Odette inner join RawData.BORI202J b on b.NRBOS=Odette.NumBolla +go + +commit +go + +set xact_abort on +go + +begin transaction +go + +update Odette set CodMag = '' where CodMag is null +go + +alter table Odette alter column + CodMag nvarchar(2) not null +go + +update Odette set GrpBolla = '' where GrpBolla is null +go + +alter table Odette alter column + GrpBolla nvarchar(1) not null +go + +update Odette set DataBolla = 0 where DataBolla is null +go + +alter table Odette alter column + DataBolla numeric(8,0) not null +go + +update Odette set NumBolla = 0 where NumBolla is null +go + +alter table Odette alter column + NumBolla numeric(6,0) not null +go + +update Odette set Particolare = '' where Particolare is null +go + +alter table Odette alter column + Particolare nvarchar(15) not null +go + +update Odette set CodLista = '' where CodLista is null +go + +alter table Odette alter column + CodLista nvarchar(12) not null +go + +alter table Odette add + constraint DF_Odette_Particolare default ('') for Particolare, + constraint DF_Odette_CodLista default ('') for CodLista, + constraint DF_Odette_DataBolla default (0) for DataBolla, + constraint DF_Odette_NumBolla default (0) for NumBolla, + constraint DF_Odette_CodMag default ('') for CodMag, + constraint DF_Odette_GrpBolla default ('') for GrpBolla, + constraint DF_Odette_CodCS default ('') for CodCS +go + +set ANSI_NULLS on +go + + + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/***************************************** +* STORED stp_ODETTE_deleteByLDP +* +* Elimina una riga etichetta odette +* +* Steamware, S.E.L. +* mod: 2011.05.23 +* +****************************************/ +create PROCEDURE stp_ODETTE_deleteByLDP +( + @CodLista NVARCHAR(12) +) +AS + +DELETE +FROM Odette +WHERE CodLista = @CodLista + +RETURN +go + +/***************************************** +* STORED stp_ODETTE_getByBolla +* +* Recupera etichette odette associate ad una bolla CON STATO OK +* +* Steamware, S.E.L. +* mod: 2011.05.23 +* +****************************************/ +create PROCEDURE stp_ODETTE_getByBolla +( + @CodMag NVARCHAR(2), + @GrpBolla NVARCHAR(1), + @NumBolla NUMERIC(6,0), + @DataBolla NUMERIC(8,0), + @Particolare NVARCHAR(15) +) +AS + + +SELECT * +FROM Odette +WHERE CodMag = @CodMag +AND GrpBolla = @GrpBolla +AND NumBolla = @NumBolla +AND DataBolla = @DataBolla +AND Particolare = @Particolare +AND StatoOk = 1 + +RETURN +go + +/***************************************** +* STORED stp_ODETTE_getByListaPrelievo +* +* Recupera etichette odette associate ad una lista di prelievo CON STATO OK +* +* Steamware, S.E.L. +* mod: 2011.04.29 +* +****************************************/ +alter PROCEDURE stp_ODETTE_getByListaPrelievo +( + @CodLista NVARCHAR(12) +) +AS + +/* +SELECT o.* +FROM Odette o INNER JOIN RigheListePrelievo rlp ON o.CampoUDC = rlp.UDC +WHERE (rlp.CodLista = @CodLista) AND (o.StatoOk = 1) +*/ + +SELECT * +FROM Odette +WHERE (CodLista = @CodLista) AND (StatoOk = 1) + +RETURN +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(10), + @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 = SUBSTRING(@UDC, 3, LEN(@UDC)-2) -- prendo da 3° carattere perché prima "U" e una lettera x tipo prodotto gitterbox + +-- 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 = @UDC, + 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 + +alter table Odette_storico add + CodMag nvarchar(2) not null constraint DF_Odette_storico_CodMag default (''), + GrpBolla nvarchar(1) not null constraint DF_Odette_storico_GrpBolla default (''), + DataBolla numeric(8,0) not null constraint DF_Odette_storico_DataBolla default (0), + NumBolla numeric(6,0) not null constraint DF_Odette_storico_NumBolla default (0), + Particolare nvarchar(15) not null constraint DF_Odette_storico_Particolare default (''), + CodLista nvarchar(12) not null constraint DF_Odette_storico_CodLista default ('') +go + + + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +-- ============================================= +-- Author: Samuele E. Locatelli +-- Create date: 2011-05-20 +-- Description: trigger x inserimento in tab +-- storico record cancellati +-- ============================================= +alter TRIGGER trg_odetteDel + ON Odette + AFTER DELETE +AS +BEGIN + + -- setup variabili e verbosità + SET NOCOUNT ON; + -- inserisco in storico + INSERT INTO Odette_storico + (DataOraDelete,CampoUDC,Campo1_1,Campo1_2,Campo1_3,Campo1_4,Campo1_5,Campo2_1,Campo2_2,Campo2_3,Campo2_4,Campo2_5,Campo3_1, + Campo3_2,Campo3_3,Campo3_4,Campo3_5,Campo4_1,Campo4_2,Campo4_3,Campo4_4,Campo4_5,Campo5_1,Campo5_2,Campo5_3,Campo5_4,Campo5_5, + Campo6_1,Campo6_2,Campo6_3,Campo6_4,Campo6_5,Campo7_1,Campo7_2,Campo7_3,Campo7_4,Campo7_5,Campo8_1,Campo8_2,Campo8_3,Campo8_4, + Campo8_5,Campo9_1,Campo9_2,Campo9_3,Campo9_4,Campo9_5,Campo10_1,Campo10_2,Campo10_3,Campo10_4,Campo10_5,Campo11_1_1,Campo11_1_2, + Campo11_1_3,Campo11_1_4,Campo11_1_5,Campo11_2_1,Campo11_2_2,Campo11_2_3,Campo11_2_4,Campo11_2_5,Campo12_1,Campo12_2,Campo12_3, + Campo12_4,Campo12_5,Campo13_1,Campo13_2,Campo13_3,Campo13_4,Campo13_5,Campo14_1,Campo14_2,Campo14_3,Campo14_4,Campo14_5,Campo15_1, + Campo15_2,Campo15_3,Campo15_4,Campo15_5,Campo16_1,Campo16_2,Campo16_3,Campo16_4,Campo16_5,StatoOk,CodCS,CodMag,GrpBolla,DataBolla, + NumBolla,Particolare,CodLista) + + SELECT GETDATE(), CampoUDC,Campo1_1,Campo1_2,Campo1_3,Campo1_4,Campo1_5,Campo2_1,Campo2_2,Campo2_3,Campo2_4,Campo2_5,Campo3_1, + Campo3_2,Campo3_3,Campo3_4,Campo3_5,Campo4_1,Campo4_2,Campo4_3,Campo4_4,Campo4_5,Campo5_1,Campo5_2,Campo5_3,Campo5_4,Campo5_5, + Campo6_1,Campo6_2,Campo6_3,Campo6_4,Campo6_5,Campo7_1,Campo7_2,Campo7_3,Campo7_4,Campo7_5,Campo8_1,Campo8_2,Campo8_3,Campo8_4, + Campo8_5,Campo9_1,Campo9_2,Campo9_3,Campo9_4,Campo9_5,Campo10_1,Campo10_2,Campo10_3,Campo10_4,Campo10_5,Campo11_1_1,Campo11_1_2, + Campo11_1_3,Campo11_1_4,Campo11_1_5,Campo11_2_1,Campo11_2_2,Campo11_2_3,Campo11_2_4,Campo11_2_5,Campo12_1,Campo12_2,Campo12_3, + Campo12_4,Campo12_5,Campo13_1,Campo13_2,Campo13_3,Campo13_4,Campo13_5,Campo14_1,Campo14_2,Campo14_3,Campo14_4,Campo14_5,Campo15_1, + Campo15_2,Campo15_3,Campo15_4,Campo15_5,Campo16_1,Campo16_2,Campo16_3,Campo16_4,Campo16_5,StatoOk,CodCS,CodMag,GrpBolla,DataBolla, + NumBolla,Particolare,CodLista + FROM deleted + +END +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.ElencoCartellini + VALUES (N'EmptyGBox', N'SP', NULL, NULL, N'', NULL, N'', N'', NULL, NULL, NULL, N'', NULL, 0, N'', NULL, 1, 0, 27.00, N'Fin', 0, 0, 0, NULL, NULL) +go + +commit transaction +go + + + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/***************************************** +* STORED stp_EDM_svuotaGitterbox +* +* Elimina il codice gitterbox dai datamatrix associati (svuotandolo...) +* +* Steamware, S.E.L. +* mod: 2011.05.06 +* +****************************************/ +alter PROCEDURE stp_EDM_svuotaGitterbox +( + @CodGitterbox NVARCHAR(10) +) +AS + +UPDATE ElencoDataMatrix +SET CodGitterbox = 'EmptyGBox' +WHERE CodGitterbox = @CodGitterbox + +-- aggiorno valoti QTA gitterbox originale... +UPDATE ElencoCartellini +SET Qta = ( SELECT COUNT(*) FROM ElencoDataMatrix WHERE CodGitterbox = @CodGitterbox ) +WHERE UDC = @CodGitterbox +-- aggiorno valoti QTA gitterbox 'EmptyGBox +UPDATE ElencoCartellini +SET Qta = ( SELECT COUNT(*) FROM ElencoDataMatrix WHERE CodGitterbox = 'EmptyGBox' ) +WHERE UDC = 'EmptyGBox' + +-- aggiorno righe liste di prelievo... +UPDATE RigheListePrelievo +SET Qta = ( SELECT COUNT(*) FROM ElencoDataMatrix WHERE CodGitterbox = @CodGitterbox ) +WHERE UDC = @CodGitterbox + + + +RETURN +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/***************************************** +* STORED stp_DtMtrx_import +* +* Recupera dati Gitterbox/DataMatrix partendo leggendo dati successivi all'ultimo import e importanto in tab GMW +* +* Steamware, S.E.L. +* mod: 2011.04.29 +* +****************************************/ +alter PROCEDURE stp_DtMtrx_import +( + @CodCS VARCHAR(2), + @IdxPosizione INT +) +AS + +------------------------------------------------------------------------------------------------------ +-- leggo data ultimo import (o creo record...) +------------------------------------------------------------------------------------------------------ +DECLARE @nomeFlusso AS NVARCHAR(50) +DECLARE @lastImport AS DATETIME +DECLARE @trovati AS INT + +-- imposto valori +SET @nomeFlusso = 'DataMatrix' +SET @lastImport = DATEADD(yy,-10,GETDATE()) -- inizializzo a -10 anni ... +-- sistemo tab registrazione import... +BEGIN TRAN + -- cerco nella tab log ultima data caricamento + SET @trovati = ( + SELECT COUNT(*) + FROM logImportFlussi + WHERE NomeFlusso = @nomeFlusso + ) + -- controllo se record c'è... + IF(@trovati > 0) + BEGIN + SET @lastImport = ( SELECT LastImport FROM LogImportFlussi WHERE NomeFlusso = @nomeFlusso ) + END + ELSE + BEGIN + -- lo creo! + INSERT INTO LogImportFlussi(NomeFlusso, LastImport) + VALUES (@nomeFlusso, @lastImport) + END +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + + +------------------------------------------------------------------------------------------------------ +-- ora gestisco il vero caricamento... +------------------------------------------------------------------------------------------------------ + -- filtro e salvo in tabella... gitterbox validi SOLO se iniziano per "U" + DECLARE @newData TABLE + ( + CodDataMatrix numeric(23, 0) , + CodGitterbox char(10) , + NumConchiglia int , + NumDisegno numeric(7, 0) , + EsponenteDisegno tinyint , + CodDifettoScarto varchar(5) , + InizioPreparazione smalldatetime , + FinePreparazione smalldatetime , + InizioIniezione smalldatetime , + FineIniezione smalldatetime , + MagDestinazione varchar(2) , + DataImport smalldatetime + ) + INSERT INTO @newData + SELECT CodDataMatrix, LTRIM(RTRIM(CodGitterbox)), NumConchiglia, NumDisegno, EsponenteDisegno, CodDifettoScarto, InizioPreparazione, FinePreparazione, InizioIniezione, FineIniezione, MagDestinazione, DataImport + + FROM v_trasfDataMatrix + WHERE DataImport > @lastImport AND LEFT(CodGitterbox, 1) = 'U' + AND CodDifettoScarto = '00' -- non importerò gli scarti!!! + + + + + -- creo UDC da gitterbox nuovi + INSERT INTO ElencoCartellini(UDC, Particolare, DataFus) + SELECT DISTINCT nd.CodGitterbox, null, MIN(InizioIniezione) + FROM @newData nd LEFT OUTER JOIN ElencoCartellini ec ON nd.CodGitterbox = ec.UDC + WHERE ec.UDC IS NULL + GROUP BY nd.CodGitterbox + + DECLARE @udc NVARCHAR(50) + DECLARE @Particolare NVARCHAR(50) + DECLARE @NumDisegno NVARCHAR(50) + DECLARE @EsponenteDisegno NVARCHAR(50) + DECLARE @Qta INT + DECLARE @IdxCellaTo INT + DECLARE @adesso DATETIME + DECLARE @posTrovate INT + + SET @adesso = GETDATE() + SET @posTrovate = 0 + + DECLARE cursoreImport CURSOR FOR + SELECT nd.CodGitterbox, tp.Particolare, tp.NumDisegno, tp.EsponenteDisegno, dbo.getNumDatamatrix(nd.CodGitterbox) + FROM @newData nd + INNER JOIN v_transcParticolari tp ON nd.NumDisegno = tp.NumDisegno AND nd.EsponenteDisegno = tp.EsponenteDisegno + + OPEN cursoreImport + FETCH NEXT FROM cursoreImport INTO @udc, @Particolare, @NumDisegno, @EsponenteDisegno, @Qta + + WHILE @@FETCH_STATUS = 0 + BEGIN + + -- aggiorno gli UDC gitterbox esistenti per quantità tra quelli dei dati da importare... + UPDATE ElencoCartellini + SET CodCS = @CodCS, + IdxPosizione = @IdxPosizione, + CreateDate = @adesso, + Particolare = @Particolare, + DisegnoGrezzo = @NumDisegno, + Esponente = @EsponenteDisegno, + Qta = @Qta, + Figura = '', + CodImballo = '', + Tara = 0, + PesoTot = 0, + PesoCad = 0, + CodStato = 'Fin', + NumCont = 1, + TurnoFus = 0, + ModDate = @adesso + WHERE UDC = @udc + + -- indico cella UDC corrente... calcolo la prima cella della nuova posizione... + SET @IdxCellaTo = ( SELECT dbo.f_getCellaByPos(CAST(@IdxPosizione AS NVARCHAR(50))) ) + /*( + SELECT TOP 1 IdxCella FROM Celle + WHERE IdxBlocco = ( + SELECT IdxBlocco FROM Blocchi + WHERE CodMag=CAST(@IdxPosizione AS NVARCHAR(50))) + )*/ + + -- controllo se posizione non ancora creata... + SET @posTrovate = ( SELECT COUNT(*) FROM PosizioneUdcCorrente WHERE UDC = @udc ) + IF( @posTrovate =0) + BEGIN + INSERT INTO PosizioneUdcCorrente + VALUES (@udc, @IdxCellaTo, @CodCS, @adesso) + END + + FETCH NEXT FROM cursoreImport INTO @udc, @Particolare, @NumDisegno, @EsponenteDisegno, @Qta + + + END + + CLOSE cursoreImport + DEALLOCATE cursoreImport + + -- inserisco datamatrix da ultimo import + INSERT INTO ElencoDataMatrix + SELECT * FROM @newData + + -- aggiorno dati ultimo caricamento + SET @lastImport = ( SELECT ISNULL(MAX(DataImport),@lastImport) FROM @newData ) + UPDATE LogImportFlussi + SET LastImport = @lastImport + WHERE NomeFlusso = @nomeFlusso + + +RETURN +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + + +/***************************************** +* STORED stp_DtMtrx_import +* +* Recupera dati Gitterbox/DataMatrix partendo leggendo dati successivi all'ultimo import e importanto in tab GMW +* +* Steamware, S.E.L. +* mod: 2011.04.29 +* +****************************************/ +ALTER PROCEDURE dbo.stp_DtMtrx_import +( + @CodCS VARCHAR(2), + @IdxPosizione INT +) +AS + +------------------------------------------------------------------------------------------------------ +-- leggo data ultimo import (o creo record...) +------------------------------------------------------------------------------------------------------ +DECLARE @nomeFlusso AS NVARCHAR(50) +DECLARE @lastImport AS DATETIME +DECLARE @trovati AS INT + +-- imposto valori +SET @nomeFlusso = 'DataMatrix' +SET @lastImport = DATEADD(yy,-10,GETDATE()) -- inizializzo a -10 anni ... +-- sistemo tab registrazione import... +BEGIN TRAN + -- cerco nella tab log ultima data caricamento + SET @trovati = ( + SELECT COUNT(*) + FROM logImportFlussi + WHERE NomeFlusso = @nomeFlusso + ) + -- controllo se record c'è... + IF(@trovati > 0) + BEGIN + SET @lastImport = ( SELECT LastImport FROM LogImportFlussi WHERE NomeFlusso = @nomeFlusso ) + END + ELSE + BEGIN + -- lo creo! + INSERT INTO LogImportFlussi(NomeFlusso, LastImport) + VALUES (@nomeFlusso, @lastImport) + END +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + + +------------------------------------------------------------------------------------------------------ +-- ora gestisco il vero caricamento... +------------------------------------------------------------------------------------------------------ + -- filtro e salvo in tabella... gitterbox validi SOLO se iniziano per "U" + DECLARE @newData TABLE + ( + CodDataMatrix numeric(23, 0) , + CodGitterbox char(10) , + NumConchiglia int , + NumDisegno numeric(7, 0) , + EsponenteDisegno tinyint , + CodDifettoScarto varchar(5) , + InizioPreparazione smalldatetime , + FinePreparazione smalldatetime , + InizioIniezione smalldatetime , + FineIniezione smalldatetime , + MagDestinazione varchar(2) , + DataImport smalldatetime + ) + INSERT INTO @newData + SELECT CodDataMatrix, LTRIM(RTRIM(CodGitterbox)), NumConchiglia, NumDisegno, EsponenteDisegno, CodDifettoScarto, InizioPreparazione, FinePreparazione, InizioIniezione, FineIniezione, MagDestinazione, DataImport + + FROM v_trasfDataMatrix + WHERE DataImport > @lastImport AND LEFT(CodGitterbox, 1) = 'U' + AND CodDifettoScarto = '00' -- non importerò gli scarti!!! + + + + + -- creo UDC da gitterbox nuovi + INSERT INTO ElencoCartellini(UDC, Particolare, DataFus, Qta) + SELECT DISTINCT nd.CodGitterbox, null, MIN(InizioIniezione), dbo.getNumDatamatrix(nd.CodGitterbox) + FROM @newData nd LEFT OUTER JOIN ElencoCartellini ec ON nd.CodGitterbox = ec.UDC + WHERE ec.UDC IS NULL + GROUP BY nd.CodGitterbox + + DECLARE @udc NVARCHAR(50) + DECLARE @Particolare NVARCHAR(50) + DECLARE @NumDisegno NVARCHAR(50) + DECLARE @EsponenteDisegno NVARCHAR(50) + DECLARE @IdxCellaTo INT + DECLARE @adesso DATETIME + DECLARE @posTrovate INT + + SET @adesso = GETDATE() + SET @posTrovate = 0 + + DECLARE cursoreImport CURSOR FOR + SELECT nd.CodGitterbox, tp.Particolare, tp.NumDisegno, tp.EsponenteDisegno + FROM @newData nd + INNER JOIN v_transcParticolari tp ON nd.NumDisegno = tp.NumDisegno AND nd.EsponenteDisegno = tp.EsponenteDisegno + + OPEN cursoreImport + FETCH NEXT FROM cursoreImport INTO @udc, @Particolare, @NumDisegno, @EsponenteDisegno + + WHILE @@FETCH_STATUS = 0 + BEGIN + + -- aggiorno gli UDC gitterbox esistenti per quantità tra quelli dei dati da importare... + UPDATE ElencoCartellini + SET CodCS = @CodCS, + IdxPosizione = @IdxPosizione, + CreateDate = @adesso, + Particolare = @Particolare, + DisegnoGrezzo = @NumDisegno, + Esponente = @EsponenteDisegno, + Figura = '', + CodImballo = '', + Tara = 0, + PesoTot = 0, + PesoCad = 0, + CodStato = 'Fin', + NumCont = 1, + TurnoFus = 0, + ModDate = @adesso + WHERE UDC = @udc + + -- indico cella UDC corrente... calcolo la prima cella della nuova posizione... + SET @IdxCellaTo = ( SELECT dbo.f_getCellaByPos(CAST(@IdxPosizione AS NVARCHAR(50))) ) + /*( + SELECT TOP 1 IdxCella FROM Celle + WHERE IdxBlocco = ( + SELECT IdxBlocco FROM Blocchi + WHERE CodMag=CAST(@IdxPosizione AS NVARCHAR(50))) + )*/ + + -- controllo se posizione non ancora creata... + SET @posTrovate = ( SELECT COUNT(*) FROM PosizioneUdcCorrente WHERE UDC = @udc ) + IF( @posTrovate =0) + BEGIN + INSERT INTO PosizioneUdcCorrente + VALUES (@udc, @IdxCellaTo, @CodCS, @adesso) + END + + FETCH NEXT FROM cursoreImport INTO @udc, @Particolare, @NumDisegno, @EsponenteDisegno + + + END + + CLOSE cursoreImport + DEALLOCATE cursoreImport + + -- inserisco datamatrix da ultimo import + INSERT INTO ElencoDataMatrix + SELECT * FROM @newData + + -- aggiorno dati ultimo caricamento + SET @lastImport = ( SELECT ISNULL(MAX(DataImport),@lastImport) FROM @newData ) + UPDATE LogImportFlussi + SET LastImport = @lastImport + WHERE NomeFlusso = @nomeFlusso + + +RETURN +go + +commit +go + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(391, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.1/GMW_00392.sql b/GMW_data/SqlScripts/V1.1/GMW_00392.sql new file mode 100644 index 00000000..5f105979 --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00392.sql @@ -0,0 +1,237 @@ +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/***************************************** +* STORED stp_DtMtrx_import +* +* Recupera dati Gitterbox/DataMatrix partendo leggendo dati successivi all'ultimo import e importanto in tab GMW +* +* Steamware, S.E.L. +* mod: 2011.04.29 +* +****************************************/ +alter PROCEDURE stp_DtMtrx_import +( + @CodCS VARCHAR(2), + @IdxPosizione INT +) +AS + +------------------------------------------------------------------------------------------------------ +-- leggo data ultimo import (o creo record...) +------------------------------------------------------------------------------------------------------ +DECLARE @nomeFlusso AS NVARCHAR(50) +DECLARE @lastImport AS DATETIME +DECLARE @trovati AS INT + +-- imposto valori +SET @nomeFlusso = 'DataMatrix' +SET @lastImport = DATEADD(yy,-10,GETDATE()) -- inizializzo a -10 anni ... +-- sistemo tab registrazione import... +BEGIN TRAN + -- cerco nella tab log ultima data caricamento + SET @trovati = ( + SELECT COUNT(*) + FROM logImportFlussi + WHERE NomeFlusso = @nomeFlusso + ) + -- controllo se record c'è... + IF(@trovati > 0) + BEGIN + SET @lastImport = ( SELECT LastImport FROM LogImportFlussi WHERE NomeFlusso = @nomeFlusso ) + END + ELSE + BEGIN + -- lo creo! + INSERT INTO LogImportFlussi(NomeFlusso, LastImport) + VALUES (@nomeFlusso, @lastImport) + END +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + + +------------------------------------------------------------------------------------------------------ +-- ora gestisco il vero caricamento... +------------------------------------------------------------------------------------------------------ + -- filtro e salvo in tabella... gitterbox validi SOLO se iniziano per "U" + DECLARE @newData TABLE + ( + CodDataMatrix numeric(23, 0) , + CodGitterbox varchar(10) , + NumConchiglia int , + NumDisegno numeric(7, 0) , + EsponenteDisegno tinyint , + CodDifettoScarto varchar(5) , + InizioPreparazione smalldatetime , + FinePreparazione smalldatetime , + InizioIniezione smalldatetime , + FineIniezione smalldatetime , + MagDestinazione varchar(2) , + DataImport smalldatetime + ) + INSERT INTO @newData + SELECT CodDataMatrix, LTRIM(RTRIM(CodGitterbox)), NumConchiglia, NumDisegno, EsponenteDisegno, CodDifettoScarto, InizioPreparazione, FinePreparazione, InizioIniezione, FineIniezione, MagDestinazione, DataImport + + FROM v_trasfDataMatrix + WHERE DataImport > @lastImport AND LEFT(CodGitterbox, 1) = 'U' + AND CodDifettoScarto = '00' -- non importerò gli scarti!!! + + + + + -- creo UDC da gitterbox nuovi + INSERT INTO ElencoCartellini(UDC, Particolare, DataFus, Qta) + SELECT DISTINCT nd.CodGitterbox, null, MIN(InizioIniezione), dbo.getNumDatamatrix(nd.CodGitterbox) + FROM @newData nd LEFT OUTER JOIN ElencoCartellini ec ON nd.CodGitterbox = ec.UDC + WHERE ec.UDC IS NULL + GROUP BY nd.CodGitterbox + + DECLARE @udc NVARCHAR(50) + DECLARE @Particolare NVARCHAR(50) + DECLARE @NumDisegno NVARCHAR(50) + DECLARE @EsponenteDisegno NVARCHAR(50) + DECLARE @IdxCellaTo INT + DECLARE @adesso DATETIME + DECLARE @posTrovate INT + + SET @adesso = GETDATE() + SET @posTrovate = 0 + + DECLARE cursoreImport CURSOR FOR + SELECT nd.CodGitterbox, tp.Particolare, tp.NumDisegno, tp.EsponenteDisegno + FROM @newData nd + INNER JOIN v_transcParticolari tp ON nd.NumDisegno = tp.NumDisegno AND nd.EsponenteDisegno = tp.EsponenteDisegno + + OPEN cursoreImport + FETCH NEXT FROM cursoreImport INTO @udc, @Particolare, @NumDisegno, @EsponenteDisegno + + WHILE @@FETCH_STATUS = 0 + BEGIN + + -- aggiorno gli UDC gitterbox esistenti per quantità tra quelli dei dati da importare... + UPDATE ElencoCartellini + SET CodCS = @CodCS, + IdxPosizione = @IdxPosizione, + CreateDate = @adesso, + Particolare = @Particolare, + DisegnoGrezzo = @NumDisegno, + Esponente = @EsponenteDisegno, + Figura = '', + CodImballo = '', + Tara = 0, + PesoTot = 0, + PesoCad = 0, + CodStato = 'Fin', + NumCont = 1, + TurnoFus = 0, + ModDate = @adesso + WHERE UDC = @udc + + -- indico cella UDC corrente... calcolo la prima cella della nuova posizione... + SET @IdxCellaTo = ( SELECT dbo.f_getCellaByPos(CAST(@IdxPosizione AS NVARCHAR(50))) ) + /*( + SELECT TOP 1 IdxCella FROM Celle + WHERE IdxBlocco = ( + SELECT IdxBlocco FROM Blocchi + WHERE CodMag=CAST(@IdxPosizione AS NVARCHAR(50))) + )*/ + + -- controllo se posizione non ancora creata... + SET @posTrovate = ( SELECT COUNT(*) FROM PosizioneUdcCorrente WHERE UDC = @udc ) + IF( @posTrovate =0) + BEGIN + INSERT INTO PosizioneUdcCorrente + VALUES (@udc, @IdxCellaTo, @CodCS, @adesso) + END + + FETCH NEXT FROM cursoreImport INTO @udc, @Particolare, @NumDisegno, @EsponenteDisegno + + + END + + CLOSE cursoreImport + DEALLOCATE cursoreImport + + -- inserisco datamatrix da ultimo import + INSERT INTO ElencoDataMatrix + SELECT * FROM @newData + + -- aggiorno dati ultimo caricamento + SET @lastImport = ( SELECT ISNULL(MAX(DataImport),@lastImport) FROM @newData ) + UPDATE LogImportFlussi + SET LastImport = @lastImport + WHERE NomeFlusso = @nomeFlusso + + +RETURN +go + +commit +go + + +update Delibere +set UDC=LTRIM(RTRIM(udc)) +go + +-- disabilita triggers su db +DISABLE TRIGGER ALL ON DATABASE +go + +update ElencoCartellini +set UDC=LTRIM(RTRIM(udc)) +go + +UPDATE ElencoDataMatrix +set CodGitterbox=LTRIM(RTRIM(CodGitterbox)) +go + +UPDATE Odette +SET CampoUDC=LTRIM(RTRIM(CampoUDC)) +go + +UPDATE Odette_storico +SET CampoUDC=LTRIM(RTRIM(CampoUDC)) +go + +UPDATE PosizioneUdcStorico +SET UDC=LTRIM(RTRIM(UDC)) +go + +-- ESEGUE +UPDATE PosizioneUdcCorrente +SET UDC=LTRIM(RTRIM(UDC)) +go +UPDATE RelazUDC +SET UDC_child=LTRIM(RTRIM(UDC_child)), + UDC_parent=LTRIM(RTRIM(UDC_parent)) +go + +UPDATE RigheListePrelievo_storico +SET UDC=LTRIM(RTRIM(UDC)) +go + + +-- ESEGUE +UPDATE RigheListePrelievo +SET UDC=LTRIM(RTRIM(UDC)) +go + +UPDATE StoricoCartellini +SET UDC=LTRIM(RTRIM(UDC)) +go + +ENABLE TRIGGER ALL ON DATABASE +go + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(392, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.1/GMW_00399.sql b/GMW_data/SqlScripts/V1.1/GMW_00399.sql new file mode 100644 index 00000000..8deb2a01 --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00399.sql @@ -0,0 +1,26 @@ +/*************************************** +* STORED stp_getDestListePrelLike +* +* ottiene l'elenco dei destinatari liste di prelievo data la substring di ricerca +* +* Steamware, S.E.L. +* mod: 2010.07.30 +* +****************************************/ +ALTER PROCEDURE [dbo].[stp_getDestListePrelLike] +( + @cerca VARCHAR(2) +) +AS + + SELECT * FROM v_selDestinatariListePrelievo + WHERE conditio LIKE '%'+ @cerca + '%' + +RETURN +go + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(399, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.1/GMW_00400.sql b/GMW_data/SqlScripts/V1.1/GMW_00400.sql new file mode 100644 index 00000000..54d9002f --- /dev/null +++ b/GMW_data/SqlScripts/V1.1/GMW_00400.sql @@ -0,0 +1,164 @@ +create table ElencoPostazioni( + codPostazione nvarchar(250) not null constraint PK_ElencoPostazioni primary key, + stampante nvarchar(250) +); +go + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.ElencoPostazioni + VALUES (N'default', N'null') +INSERT INTO dbo.ElencoPostazioni + VALUES (N'VOSTRO410', N'//vostro410/PdfCreator') +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.AnagStatiProdotto + VALUES (N'Wip', N'Materiale in WIP') +go + +commit transaction +go + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/*************************************** +* STORED stp_elencoPostaziont_getByCod +* +* ottiene il una postazione dato il codice +* +* Steamware, S.E.L. +* mod: 2010.11.17 +* +****************************************/ +create PROCEDURE stp_elencoPostaziont_getByCod +( + @codPostazione NVARCHAR(250) +) +AS + +SELECT * +FROM ElencoPostazioni +WHERE codPostazione = @codPostazione + +RETURN +go + +commit; +go + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/*************************************** +* STORED stp_UDC_getLast_ByParticolare +* +* elenco cartellini ULTIMO creati x particolare +* +* Steamware, S.E.L. +* mod: 2011.11.14 +* +****************************************/ +create PROCEDURE stp_UDC_getLast_ByParticolare +( + @CodCS VARCHAR(2), + @Particolare VARCHAR(15) +) +AS + + -- prendo ultimo UDC creato x il particolare + SELECT TOP 1 * FROM ElencoCartellini + WHERE (Particolare= @Particolare) AND CodCs = @CodCS + ORDER BY CreateDate DESC + +RETURN +go + +commit; +go + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.AnagPosizioni + VALUES (-5, N'SP - WIP consumati', 0) +INSERT INTO dbo.AnagPosizioni + VALUES (5, N'SP - WIP', 0) +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.TabTranPosizEventi + VALUES (N'UDC_CONS', 5, -5, 0) +go + +commit transaction +go + + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.AS400_MagCont + VALUES (N'4', N'Finiti', 1, N'0') +INSERT INTO dbo.AS400_MagCont + VALUES (N'5', N'WIP', 1, N'0') +INSERT INTO dbo.AS400_MagCont + VALUES (N'6', N'MP', 1, N'0') +DELETE FROM dbo.AS400_MagCont WHERE CodMagAS=N'54' +go + +commit transaction +go + + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(400, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.2/Anagrafica/GMW_anag_tekal_435.sql b/GMW_data/SqlScripts/V1.2/Anagrafica/GMW_anag_tekal_435.sql new file mode 100644 index 00000000..1f59edea --- /dev/null +++ b/GMW_data/SqlScripts/V1.2/Anagrafica/GMW_anag_tekal_435.sql @@ -0,0 +1,21 @@ +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.FUNZIONE + VALUES (N'GMW_anime', N'Utente Anime (Tekal)') +INSERT INTO dbo.FUNZIONE + VALUES (N'GMW_animeMulti', N'Utente Anime (Tekal) - stampa multipla per esterne') +go + +commit transaction +go + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(435, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.2/GMW_00401.sql b/GMW_data/SqlScripts/V1.2/GMW_00401.sql new file mode 100644 index 00000000..1ad78736 --- /dev/null +++ b/GMW_data/SqlScripts/V1.2/GMW_00401.sql @@ -0,0 +1,959 @@ +set xact_abort on; +go + +begin transaction; +go + +alter table ElencoCartellini add + Note nvarchar(500); +go + +set ANSI_NULLS on; +go + +/*************************************** +* STORED stp_UDC_insNewFull +* +* crea un nuovo record nella TabStatoOdpUdc FULL (con pesi, qta...) e restituisce il codice UDC appena creato +* +* Steamware, S.E.L. +* mod: 2010.04.28 +* +****************************************/ +alter PROCEDURE stp_UDC_insNewFull +( + @CodCS VARCHAR(2), + @Flusso VARCHAR(2), + @Anno VARCHAR(2), + @CodCliente VARCHAR(6), + @Particolare VARCHAR(15), + @CodImpianto AS VARCHAR(50), + @CodStampo VARCHAR(8), + @Esponente VARCHAR(6), + @Figura VARCHAR(4), + @DataFus DATETIME, + @TurnoFus INT, + @CodImballo VARCHAR(15), + @CodSoggetto VARCHAR(17), + @Tara FLOAT, + @IdxPosizione INT, + @CodTipoDichiaraz CHAR(1), + @CodEvento VARCHAR(10), + @Qta DECIMAL(10,2), + @PesoTot FLOAT, + @PesoCad FLOAT, + @CodStato VARCHAR(50), + @UDC_parent VARCHAR(20), + @DoDeleteUdcParent BIT, + @Note NVARCHAR(500) +) +AS + +-- DECLARE iniziali +DECLARE @UDC AS VARCHAR(20) +DECLARE @RagSociale AS VARCHAR(35) +DECLARE @DescParticolare AS VARCHAR(30) +DECLARE @DescImpianto AS VARCHAR(50) +DECLARE @DisegnoGrezzo AS VARCHAR(30) +DECLARE @NumCont AS INT +DECLARE @numFlu AS INT +DECLARE @numUdc AS INT +DECLARE @nextUdc AS INT +DECLARE @IdxCella AS INT + +------------------------------------------------------------------------------------------------------ +-- Caricamento Dati da anagrafica +------------------------------------------------------------------------------------------------------ +-- cerco la ragione sociale... +SET @RagSociale = ( + SELECT ISNULL(RagSociale, 'ND') AS RagSociale + FROM RilPro.AnagClienti + WHERE (CodCliente = @CodCliente) +) + +-- Cerco descrizione del particolare... +SET @DescParticolare = ( + SELECT ISNULL(DescParticolare, 'ND') AS DescParticolare + FROM RilPro.AnagParticolari + WHERE (Particolare = @Particolare) +) + +-- cerco codice disegno grezzo +SET @DisegnoGrezzo = ( + SELECT ISNULL(DisegnoGrezzo, 'ND') AS DescParticolare + FROM RilPro.AnagParticolari + WHERE (Particolare = @Particolare) +) + +-- cerco descrizione Impianto +SET @DescImpianto = ( + SELECT ISNULL(DescImpianto, 'ND') AS DescImpianto + FROM AnagImpianti + WHERE (CodImpianto = @CodImpianto) +) + + + +-- Calcolo contatore intero successivo x il contenitore... +SET @NumCont = ( + SELECT ISNULL(MAX(NumCont), 0) + 1 AS NumCont + FROM ElencoCartellini + WHERE (Particolare = @Particolare) + AND (DataFus = @DataFus) + AND (TurnoFus = @TurnoFus) + AND (CodImpianto = @CodImpianto) + AND (CodStampo = @CodStampo) + AND (Figura = @Figura) +) + + +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- Flusso +------------------------------------------------------------------------------------------------------ +-- controllo se esiste il flusso (bilancia)... +SET @numFlu = ( + SELECT count(*) + FROM AnagBilance + WHERE CodBilancia = @Flusso +) +-- ...sennò lo creo... +IF(@numFlu = 0) + BEGIN + -- se c'è inserisco in tab + INSERT INTO AnagBilance(CodBilancia, DescrImpianto, CodCS) + VALUES (@Flusso, @Flusso, @CodCS) + END +------------------------------------------------------------------------------------------------------ + + +------------------------------------------------------------------------------------------------------ +-- UDC +------------------------------------------------------------------------------------------------------ +-- controllo se ci sia già un UDC per company / flusso anno +BEGIN TRAN + -- cerco nella tab contatori UDC l'ultimo valido + SET @numUdc = ( + SELECT count(*) + FROM ContatoriUdc + WHERE CodCS = @CodCS + AND Flusso = @Flusso + AND Anno = @Anno + ) + -- controllo se record c'è... + IF(@numUdc > 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 @numUdc = ( + SELECT LastIdx + FROM ContatoriUdc + WHERE CodCS = @CodCS + AND Flusso = @Flusso + AND Anno = @Anno + ) +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- Ciclo principale x inserimento nuovo record +------------------------------------------------------------------------------------------------------ +BEGIN TRAN + -- ottengo il nuovo codice UDC completo + --SET @UDC = 'U' + @CodCS + @Flusso + @Anno + dbo.f_padLeft(CAST(@numUdc AS VARCHAR(6)), 6, '0') + SET @UDC = dbo.componiUdc(@CodCS, @Flusso, @Anno, @numUdc) + + + -- inserisco un nuovo record + INSERT INTO ElencoCartellini(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, Note) + VALUES (@UDC, @CodCS, @CodCliente, @RagSociale, @Particolare, @DescParticolare, @DisegnoGrezzo, @Esponente, @CodImpianto, @DescImpianto, @CodStampo, @Figura, @DataFus, @TurnoFus, @CodImballo, @CodSoggetto, @NumCont, @Tara, @Qta, @CodStato, @IdxPosizione, @PesoTot, @PesoCad, GETDATE(), GETDATE(), @Note) + + -- inserisco relazione parent-child tra UDC vecchio (tara) e nuovo (pesa) SSE UDC_Parent valido + IF((NOT @UDC_parent IS NULL) AND (NOT @UDC_parent = '')) + BEGIN + INSERT INTO RelazUDC(UDC_parent, UDC_child) + VALUES (@UDC_parent, @UDC) + END +COMMIT TRAN + +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- Ciclo secondario x eventuale cancellazione UDC tara parent e inserimento in posizione +------------------------------------------------------------------------------------------------------ + -- se richiesto elimino l'UDC parent (tara) + IF(@DoDeleteUdcParent = 1) + BEGIN + DELETE FROM ElencoCartellini WHERE UDC = @UDC_parent + END + + -- calcolo la prima cella della posizione indicata.. + SET @IdxCella = ( + SELECT TOP 1 c.IdxCella + FROM Celle c INNER JOIN Blocchi b ON c.IdxBlocco=b.IdxBlocco + WHERE b.CodMag = CAST(@IdxPosizione AS NVARCHAR(50)) + ) + -- inserisco il cartellino nella prima cella della posizione indicata.. + INSERT INTO PosizioneUdcCorrente + VALUES (@UDC, @IdxCella, @CodCS, GETDATE()) +------------------------------------------------------------------------------------------------------ + +/* +------------------------------------------------------------------------------------------------------ +-- Salvataggio dati evento in tab StoricoEventi +------------------------------------------------------------------------------------------------------ +INSERT INTO StoricoEventi(DataEv, CodEvento, CodOperatore, CodTipoDichiaraz, CodCS, UDC, Qta, PesoTot, PesoCad, Particolare, CodStato, CodStampo, Figura, FiguraIncisa) +VALUES (GETDATE(), @CodEvento, @CodOperatore, @CodTipoDichiaraz, @CodCS, @UDC, @Qta, @PesoTot, @PesoCad, @Particolare, @CodStato, @CodStampo, @Figura, @FiguraIncisa) +------------------------------------------------------------------------------------------------------ +*/ + +------------------------------------------------------------------------------------------------------ +-- restituisco la tab dati con l'udc appena inserito +------------------------------------------------------------------------------------------------------ +SELECT * +FROM ElencoCartellini +WHERE UDC = @UDC +------------------------------------------------------------------------------------------------------ + +RETURN +go + +/*************************************** +* STORED stp_UDC_updateIdxPosizione +* +* aggiorna un cartellino x la sua posizione logica +* +* Steamware, S.E.L. +* mod: 2010.06.12 +* +****************************************/ +alter PROCEDURE stp_UDC_updateIdxPosizione +( + @UDC VARCHAR(20), + @IdxPosizione INT +) +AS + + +------------------------------------------------------------------------------------------------------ +-- Ciclo principale x edit record +------------------------------------------------------------------------------------------------------ +BEGIN TRAN + + -- modifico il record + UPDATE ElencoCartellini + SET IdxPosizione = @IdxPosizione, ModDate = GETDATE() + WHERE UDC = @UDC + +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- restituisco la tab dati con l'udc appena inserito +------------------------------------------------------------------------------------------------------ +SELECT * +FROM ElencoCartellini +WHERE UDC = @UDC +------------------------------------------------------------------------------------------------------ + +RETURN +go + +/*************************************** +* STORED stp_UDC_update +* +* aggiorna un cartellino dato il suo codice UDC e tutti i parametri da aggiornare +* +* Steamware, S.E.L. +* mod: 2010.04.30 +* +****************************************/ +alter PROCEDURE stp_UDC_update +( + @UDC_edit VARCHAR(20), + @CodCS VARCHAR(2), + @Flusso VARCHAR(2), + @Anno VARCHAR(2), + @CodCliente VARCHAR(6), + @Particolare VARCHAR(15), + @CodImpianto AS VARCHAR(50), + @CodStampo VARCHAR(8), + @Esponente VARCHAR(6), + @Figura VARCHAR(4), + @DataFus DATETIME, + @TurnoFus INT, + @CodImballo VARCHAR(15), + @CodSoggetto VARCHAR(17), + @Tara FLOAT, + @IdxPosizione INT, + @CodTipoDichiaraz CHAR(1), + @CodEvento VARCHAR(10), + @Qta DECIMAL(10,2), + @PesoTot FLOAT, + @PesoCad FLOAT, + @CodStato VARCHAR(50), + @UDC_parent VARCHAR(20), + @Note NVARCHAR(500) +) +AS + +-- DECLARE iniziali +DECLARE @RagSociale AS VARCHAR(35) +DECLARE @DescParticolare AS VARCHAR(30) +DECLARE @DescImpianto AS VARCHAR(50) +DECLARE @DisegnoGrezzo AS VARCHAR(30) +DECLARE @NumCont AS INT +DECLARE @numFlu AS INT +DECLARE @numUdc AS INT +DECLARE @nextUdc AS INT + +------------------------------------------------------------------------------------------------------ +-- Caricamento Dati da anagrafica +------------------------------------------------------------------------------------------------------ +-- cerco la ragione sociale... +SET @RagSociale = ( + SELECT ISNULL(RagSociale, 'ND') AS RagSociale + FROM RilPro.AnagClienti + WHERE (CodCliente = @CodCliente) +) + +-- Cerco descrizione del particolare... +SET @DescParticolare = ( + SELECT ISNULL(DescParticolare, 'ND') AS DescParticolare + FROM RilPro.AnagParticolari + WHERE (Particolare = @Particolare) +) + +-- cerco codice disegno grezzo +SET @DisegnoGrezzo = ( + SELECT ISNULL(DisegnoGrezzo, 'ND') AS DescParticolare + FROM RilPro.AnagParticolari + WHERE (Particolare = @Particolare) +) + +-- cerco descrizione Impianto +SET @DescImpianto = ( + SELECT ISNULL(DescImpianto, 'ND') AS DescImpianto + FROM AnagImpianti + WHERE (CodImpianto = @CodImpianto) +) + + + +-- Calcolo contatore intero successivo x il contenitore... +SET @NumCont = ( + SELECT NumCont + FROM ElencoCartellini + WHERE (UDC = @UDC_edit) +) + + +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- Flusso +------------------------------------------------------------------------------------------------------ +-- controllo se esiste il flusso (bilancia)... +SET @numFlu = ( + SELECT count(*) + FROM AnagBilance + WHERE CodBilancia = @Flusso +) +-- ...sennò lo creo... +IF(@numFlu = 0) + BEGIN + -- se c'è inserisco in tab + INSERT INTO AnagBilance(CodBilancia, DescrImpianto, CodCS) + VALUES (@Flusso, @Flusso, @CodCS) + END +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- Ciclo principale x edit record +------------------------------------------------------------------------------------------------------ +BEGIN TRAN + + -- elimino vecchio record parent/child + DELETE FROM RelazUDC + WHERE (UDC_child = @UDC_edit) + + -- modifico il record + UPDATE ElencoCartellini + SET CodCS = @CodCS, CodCliente = @CodCliente, RagSociale = @RagSociale, Particolare = @Particolare, DescParticolare = @DescParticolare, + DisegnoGrezzo = @DisegnoGrezzo, Esponente = @Esponente, CodImpianto = @CodImpianto, DescImpianto = @DescImpianto, CodStampo = @CodStampo, + Figura = @Figura, DataFus = @DataFus, TurnoFus = @TurnoFus, CodImballo = @CodImballo, CodSoggetto = @CodSoggetto, NumCont = @NumCont, + Tara = @Tara, Qta = @Qta, CodStato = @CodStato, IdxPosizione = @IdxPosizione, PesoTot = @PesoTot, PesoCad = @PesoCad, ModDate = GETDATE(), Note = @Note + WHERE UDC = @UDC_edit + + -- inserisco relazione parent-child tra UDC vecchio (tara) e nuovo (pesa) + INSERT INTO RelazUDC(UDC_parent, UDC_child) + VALUES (@UDC_parent, @UDC_edit) +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- restituisco la tab dati con l'udc appena inserito +------------------------------------------------------------------------------------------------------ +SELECT * +FROM ElencoCartellini +WHERE UDC = @UDC_edit +------------------------------------------------------------------------------------------------------ + +RETURN +go + +/*************************************** +* STORED stp_UDC_updateQty +* +* aggiorna un cartellino x la sua quantità +* +* Steamware, S.E.L. +* mod: 2010.06.12 +* +****************************************/ +alter PROCEDURE stp_UDC_updateQty +( + @UDC VARCHAR(20), + @CodSoggetto VARCHAR(17), + @CodTipoDichiaraz CHAR(1), + @CodEvento VARCHAR(10), + @Qta DECIMAL(10,2) +) +AS + + +------------------------------------------------------------------------------------------------------ +-- Ciclo principale x edit record +------------------------------------------------------------------------------------------------------ +BEGIN TRAN + + -- modifico il record + UPDATE ElencoCartellini + SET Qta = @Qta, ModDate = GETDATE() + WHERE UDC = @UDC + +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- restituisco la tab dati con l'udc appena inserito +------------------------------------------------------------------------------------------------------ +SELECT * +FROM ElencoCartellini +WHERE UDC = @UDC +------------------------------------------------------------------------------------------------------ + +RETURN +go + +/*************************************** +* STORED stp_UDC_insNewFull_fixUDC +* +* crea un nuovo record nella TabStatoOdpUdc FULL (con pesi, qta...) avendo in entrata il codice UDC da utilizzare +* +* Steamware, S.E.L. +* mod: 2011.12.07 +* +****************************************/ +create PROCEDURE stp_UDC_insNewFull_fixUDC +( + @UDC AS NVARCHAR(50), + @CodCS VARCHAR(2), + @Flusso VARCHAR(2), + @Anno VARCHAR(2), + @CodCliente VARCHAR(6), + @Particolare VARCHAR(15), + @CodImpianto AS VARCHAR(50), + @CodStampo VARCHAR(8), + @Esponente VARCHAR(6), + @Figura VARCHAR(4), + @DataFus DATETIME, + @TurnoFus INT, + @CodImballo VARCHAR(15), + @CodSoggetto VARCHAR(17), + @Tara FLOAT, + @IdxPosizione INT, + @CodTipoDichiaraz CHAR(1), + @CodEvento VARCHAR(10), + @Qta DECIMAL(10,2), + @PesoTot FLOAT, + @PesoCad FLOAT, + @CodStato VARCHAR(50), + @UDC_parent VARCHAR(20), + @DoDeleteUdcParent BIT, + @Note NVARCHAR(500) +) +AS + +-- DECLARE iniziali +DECLARE @RagSociale AS VARCHAR(35) +DECLARE @DescParticolare AS VARCHAR(30) +DECLARE @DescImpianto AS VARCHAR(50) +DECLARE @DisegnoGrezzo AS VARCHAR(30) +DECLARE @NumCont AS INT +DECLARE @numFlu AS INT +DECLARE @numUdc AS INT +DECLARE @nextUdc AS INT +DECLARE @IdxCella AS INT + +------------------------------------------------------------------------------------------------------ +-- Caricamento Dati da anagrafica +------------------------------------------------------------------------------------------------------ +-- cerco la ragione sociale... +SET @RagSociale = ( + SELECT ISNULL(RagSociale, 'ND') AS RagSociale + FROM RilPro.AnagClienti + WHERE (CodCliente = @CodCliente) +) + +-- Cerco descrizione del particolare... +SET @DescParticolare = ( + SELECT ISNULL(DescParticolare, 'ND') AS DescParticolare + FROM RilPro.AnagParticolari + WHERE (Particolare = @Particolare) +) + +-- cerco codice disegno grezzo +SET @DisegnoGrezzo = ( + SELECT ISNULL(DisegnoGrezzo, 'ND') AS DescParticolare + FROM RilPro.AnagParticolari + WHERE (Particolare = @Particolare) +) + +-- cerco descrizione Impianto +SET @DescImpianto = ( + SELECT ISNULL(DescImpianto, 'ND') AS DescImpianto + FROM AnagImpianti + WHERE (CodImpianto = @CodImpianto) +) + + + +-- Calcolo contatore intero successivo x il contenitore... +SET @NumCont = ( + SELECT ISNULL(MAX(NumCont), 0) + 1 AS NumCont + FROM ElencoCartellini + WHERE (Particolare = @Particolare) + AND (DataFus = @DataFus) + AND (TurnoFus = @TurnoFus) + AND (CodImpianto = @CodImpianto) + AND (CodStampo = @CodStampo) + AND (Figura = @Figura) +) + + +------------------------------------------------------------------------------------------------------ + + +------------------------------------------------------------------------------------------------------ +-- Ciclo principale x inserimento nuovo record +------------------------------------------------------------------------------------------------------ +BEGIN TRAN + + -- inserisco un nuovo record + INSERT INTO ElencoCartellini(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, Note) + VALUES (@UDC, @CodCS, @CodCliente, @RagSociale, @Particolare, @DescParticolare, @DisegnoGrezzo, @Esponente, @CodImpianto, @DescImpianto, @CodStampo, @Figura, @DataFus, @TurnoFus, @CodImballo, @CodSoggetto, @NumCont, @Tara, @Qta, @CodStato, @IdxPosizione, @PesoTot, @PesoCad, GETDATE(), GETDATE(), @Note) + + -- inserisco relazione parent-child tra UDC vecchio (tara) e nuovo (pesa) SSE UDC_Parent valido + IF((NOT @UDC_parent IS NULL) AND (NOT @UDC_parent = '')) + BEGIN + INSERT INTO RelazUDC(UDC_parent, UDC_child) + VALUES (@UDC_parent, @UDC) + END +COMMIT TRAN + +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- Ciclo secondario x eventuale cancellazione UDC tara parent e inserimento in posizione +------------------------------------------------------------------------------------------------------ + -- se richiesto elimino l'UDC parent (tara) + IF(@DoDeleteUdcParent = 1) + BEGIN + DELETE FROM ElencoCartellini WHERE UDC = @UDC_parent + END + + -- calcolo la prima cella della posizione indicata.. + SET @IdxCella = ( + SELECT TOP 1 c.IdxCella + FROM Celle c INNER JOIN Blocchi b ON c.IdxBlocco=b.IdxBlocco + WHERE b.CodMag = CAST(@IdxPosizione AS NVARCHAR(50)) + ) + -- inserisco il cartellino nella prima cella della posizione indicata.. + INSERT INTO PosizioneUdcCorrente + VALUES (@UDC, @IdxCella, @CodCS, GETDATE()) +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- restituisco la tab dati con l'udc appena inserito +------------------------------------------------------------------------------------------------------ +SELECT * +FROM ElencoCartellini +WHERE UDC = @UDC +------------------------------------------------------------------------------------------------------ + +RETURN +go + +commit; +go + + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +alter PROCEDURE stp_getUDC_UnusedOlder +( + @CodLista VARCHAR(12) +) +AS + + -- variabili locali che mi servono + DECLARE @Figura AS VARCHAR(4) + DECLARE @Esponente AS VARCHAR(6) + DECLARE @CodImballo AS VARCHAR(15) + DECLARE @Particolare AS VARCHAR (50) + DECLARE @CodTipoLista AS VARCHAR (10) + --DECLARE @IdxPosizione AS INT + SET @Figura = (SELECT Figura FROM ElencoListePrelievo WHERE CodLista = @CodLista) + SET @Esponente = (SELECT Esponente FROM ElencoListePrelievo WHERE CodLista = @CodLista) + SET @CodImballo = (SELECT CodImballo FROM ElencoListePrelievo WHERE CodLista = @CodLista) + SET @Particolare = (SELECT Particolare FROM ElencoListePrelievo WHERE CodLista = @CodLista) + SET @CodTipoLista = (SELECT CodTipoLista FROM ElencoListePrelievo WHERE CodLista = @CodLista) + /* + SET @IdxPosizione = (SELECT tt.IdxPosizione + FROM TipoListaPrelievo tlp INNER JOIN TabTranPosizEventi tt ON tlp.CodEvento = tt.CodEvento + WHERE (tlp.CodTipoLista = @CodTipoLista)) + */ + + -- effettuo la selezione + SELECT * + FROM ElencoCartellini + WHERE (Particolare = @Particolare) AND (IdxPosizione IN (SELECT tt.IdxPosizione + FROM TipoListaPrelievo tlp INNER JOIN TabTranPosizEventi tt ON tlp.CodEvento = tt.CodEvento + WHERE (tlp.CodTipoLista = @CodTipoLista))) AND + (Figura = CASE WHEN @Figura = '*' THEN Figura ELSE @Figura END) AND + (Esponente = CASE WHEN @Esponente = '*' THEN Esponente ELSE @Esponente END) AND + (CodImballo = CASE WHEN @CodImballo = '*' THEN CodImballo ELSE @CodImballo END) + AND UDC NOT IN ( + SELECT DISTINCT UDC + FROM RigheListePrelievo INNER JOIN ElencoListePrelievo + ON RigheListePrelievo.CodLista = ElencoListePrelievo.CodLista + WHERE (ElencoListePrelievo.CodLista = @CodLista) + OR (ElencoListePrelievo.CodLista <> @CodLista AND CodStatoLista > 1 AND Prelevato = 1) + ) + ORDER BY ElencoCartellini.DataFus + +RETURN +go + +commit; +go + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/*************************************** +* STORED stp_scaricaUdc +* +* elimina dalle posizioni correnti un UDC, salvandone la posizione precedente nella tab storica (per scaricamento / spedizione) +* +* Steamware, S.E.L. +* mod: 2010.09.28 +* +****************************************/ +alter PROCEDURE stp_scaricaUdc +( + @UDC VARCHAR(50), + @IdxPosizione INT +) +AS + +BEGIN TRAN + -- libero la posizione attuale dell'UDC (se c'è...) + DELETE + FROM PosizioneUdcCorrente + WHERE UDC = @UDC + + -- aggiorno l'UDC come posizione finale... + UPDATE ElencoCartellini + SET IdxPosizione = @IdxPosizione, ModDate = GETDATE() + WHERE UDC = @UDC + +COMMIT TRAN + +RETURN +go + +commit; +go + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/*************************************** +* STORED stp_UDC_associaParent +* +* crea un nuovo record nella di associazione UDC/parent +* +* Steamware, S.E.L. +* mod: 2011.12.06 +* +****************************************/ +create PROCEDURE stp_UDC_associaParent +( + @UDC NVARCHAR(50), + @UDC_parent NVARCHAR(50) +) +AS + + -- elimino partent vuoti... + DELETE + FROM RelazUDC + WHERE ISNULL(UDC_parent,'') = '' + -- inserisco relazione parent-child tra UDC vecchio (tara) e nuovo (pesa) + INSERT INTO RelazUDC(UDC_parent, UDC_child) + VALUES (@UDC_parent, @UDC) + +RETURN +go + +commit; +go + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.Permessi + VALUES ('POST', 'menu.aspx', 4, 0, 'Postazioni', 'PostazioniExpl') +INSERT INTO dbo.Permessi + VALUES ('POST_assoc_F10_F18', 'sanpos_associaz_F10_F18.aspx', 4, 3, 'Associaz_F10_F18', 'Associaz_F10_F18Expl') +INSERT INTO dbo.Permessi + VALUES ('POST_consumoF10', 'sanpos_consumoF10.aspx', 4, 4, 'ConsumoF10', 'ConsumoF10Expl') +INSERT INTO dbo.Permessi + VALUES ('POST_liquidi', 'sanpos_controlloLiquidi.aspx', 4, 1, 'PostLiquidi', 'PostLiquidiExpl') +INSERT INTO dbo.Permessi + VALUES ('POST_trav_creaF18', 'sanpos_creazioneF18.aspx', 4, 2, 'CreazF18', 'CreazF18Expl') +go + +commit transaction +go + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.Permessi2Funzione + VALUES ('POST', N'GMW_powuser', 'S') +INSERT INTO dbo.Permessi2Funzione + VALUES ('POST', N'GMW_user', 'S') +INSERT INTO dbo.Permessi2Funzione + VALUES ('POST_assoc_F10_F18', N'GMW_powuser', 'S') +INSERT INTO dbo.Permessi2Funzione + VALUES ('POST_assoc_F10_F18', N'GMW_user', 'S') +INSERT INTO dbo.Permessi2Funzione + VALUES ('POST_consumoF10', N'GMW_powuser', 'S') +INSERT INTO dbo.Permessi2Funzione + VALUES ('POST_consumoF10', N'GMW_user', 'S') +INSERT INTO dbo.Permessi2Funzione + VALUES ('POST_liquidi', N'GMW_powuser', 'S') +INSERT INTO dbo.Permessi2Funzione + VALUES ('POST_liquidi', N'GMW_user', 'S') +INSERT INTO dbo.Permessi2Funzione + VALUES ('POST_trav_creaF18', N'GMW_powuser', 'S') +INSERT INTO dbo.Permessi2Funzione + VALUES ('POST_trav_creaF18', N'GMW_user', 'S') +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.AnagMag + VALUES (N'5', N'SP', N'Mag WIP SP', 0) +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.AnagBilance + VALUES (N'LI', N'PostazioneLiquidi', N'SP') +INSERT INTO dbo.AnagBilance + VALUES (N'TR', N'Trattamento termico', N'SP') +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +set identity_insert dbo.Blocchi on +go + +INSERT INTO dbo.Blocchi + (IdxBlocco, CodMag, CodCS, CodBlocco, DescBlocco, NumX, NumY, NumZ) + VALUES (42, N'5', N'SP', N'ND', N'Descrizione n.d.', 1, 1, 1) +go + +set identity_insert dbo.Blocchi off +go + +commit transaction +go + +set xact_abort on +go + +begin transaction +go + +set identity_insert dbo.TipoCella on +go + +INSERT INTO dbo.TipoCella + (IdxTipoCella, CodMag, CodCS, Quantita, Capienza, Max_X, Max_Y, Max_Z, Max_Kg, CheckPiena, SetMag) + VALUES (23, N'5', N'SP', 1, 1000, 850, 900, 1300, 1000, 0, 1) +go + +set identity_insert dbo.TipoCella off +go + +commit transaction +go + +set xact_abort on +go + +begin transaction +go + +set identity_insert dbo.Celle on +go + +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3890, N'SP', N'ND010101', 23, N'-', 1, 0, 42, 1, 1, 1) +go + +set identity_insert dbo.Celle off +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.ContatoriListePrelievo + VALUES (N'SP', '11', '04', 1) +INSERT INTO dbo.ContatoriListePrelievo + VALUES (N'SP', '11', '12', 1) +go + +commit transaction +go + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.ContatoriUdc + VALUES (N'SP', 'LI', '10', 1) +INSERT INTO dbo.ContatoriUdc + VALUES (N'SP', 'LI', '11', 11) +INSERT INTO dbo.ContatoriUdc + VALUES (N'SP', 'LI', '20', 4) +INSERT INTO dbo.ContatoriUdc + VALUES (N'SP', 'TR', '11', 8) +go + +commit transaction +go + +set xact_abort on +go + +begin transaction +go + +UPDATE dbo.TabTranPosizEventi SET + toAs400=1 + WHERE CodEvento=N'UDC_CONS' and IdxPosizione=4 +go + +commit transaction +go + + + + + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(401, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.2/GMW_00402.sql b/GMW_data/SqlScripts/V1.2/GMW_00402.sql new file mode 100644 index 00000000..15f8f070 --- /dev/null +++ b/GMW_data/SqlScripts/V1.2/GMW_00402.sql @@ -0,0 +1,339 @@ +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/***************************************** +* STORED stp_DtMtrx_import +* +* Recupera dati Gitterbox/DataMatrix partendo leggendo dati successivi all'ultimo import e importanto in tab GMW +* +* Steamware, S.E.L. +* mod: 2011.04.29 +* +****************************************/ +ALTER PROCEDURE dbo.stp_DtMtrx_import +( + @CodCS VARCHAR(2), + @IdxPosizione INT, + @CodSoggetto VARCHAR(17) +) +AS + +------------------------------------------------------------------------------------------------------ +-- leggo data ultimo import (o creo record...) +------------------------------------------------------------------------------------------------------ +DECLARE @nomeFlusso AS NVARCHAR(50) +DECLARE @lastImport AS DATETIME +DECLARE @trovati AS INT + +-- imposto valori +SET @nomeFlusso = 'DataMatrix' +SET @lastImport = DATEADD(yy,-10,GETDATE()) -- inizializzo a -10 anni ... +-- sistemo tab registrazione import... +BEGIN TRAN + -- cerco nella tab log ultima data caricamento + SET @trovati = ( + SELECT COUNT(*) + FROM logImportFlussi + WHERE NomeFlusso = @nomeFlusso + ) + -- controllo se record c'è... + IF(@trovati > 0) + BEGIN + SET @lastImport = ( SELECT LastImport FROM LogImportFlussi WHERE NomeFlusso = @nomeFlusso ) + END + ELSE + BEGIN + -- lo creo! + INSERT INTO LogImportFlussi(NomeFlusso, LastImport) + VALUES (@nomeFlusso, @lastImport) + END +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + + +------------------------------------------------------------------------------------------------------ +-- ora gestisco il vero caricamento... +------------------------------------------------------------------------------------------------------ + -- filtro e salvo in tabella... gitterbox validi SOLO se iniziano per "U" + DECLARE @newData TABLE + ( + CodDataMatrix numeric(23, 0) , + CodGitterbox varchar(10) , + NumConchiglia int , + NumDisegno numeric(7, 0) , + EsponenteDisegno tinyint , + CodDifettoScarto varchar(5) , + InizioPreparazione smalldatetime , + FinePreparazione smalldatetime , + InizioIniezione smalldatetime , + FineIniezione smalldatetime , + MagDestinazione varchar(2) , + DataImport smalldatetime + ) + INSERT INTO @newData + SELECT CodDataMatrix, LTRIM(RTRIM(CodGitterbox)), NumConchiglia, NumDisegno, EsponenteDisegno, CodDifettoScarto, InizioPreparazione, FinePreparazione, InizioIniezione, FineIniezione, MagDestinazione, DataImport + + FROM v_trasfDataMatrix + WHERE DataImport > @lastImport AND LEFT(CodGitterbox, 1) = 'U' + AND CodDifettoScarto = '00' -- non importerò gli scarti!!! + + + + + -- creo UDC da gitterbox nuovi + INSERT INTO ElencoCartellini(UDC, Particolare, DataFus, Qta, CodSoggetto) + SELECT DISTINCT nd.CodGitterbox, null, MIN(InizioIniezione), dbo.getNumDatamatrix(nd.CodGitterbox), @CodSoggetto + FROM @newData nd LEFT OUTER JOIN ElencoCartellini ec ON nd.CodGitterbox = ec.UDC + WHERE ec.UDC IS NULL + GROUP BY nd.CodGitterbox + + DECLARE @udc NVARCHAR(50) + DECLARE @Particolare NVARCHAR(50) + DECLARE @NumDisegno NVARCHAR(50) + DECLARE @EsponenteDisegno NVARCHAR(50) + DECLARE @IdxCellaTo INT + DECLARE @adesso DATETIME + DECLARE @posTrovate INT + + SET @adesso = GETDATE() + SET @posTrovate = 0 + + DECLARE cursoreImport CURSOR FOR + SELECT nd.CodGitterbox, tp.Particolare, tp.NumDisegno, tp.EsponenteDisegno + FROM @newData nd + INNER JOIN v_transcParticolari tp ON nd.NumDisegno = tp.NumDisegno AND nd.EsponenteDisegno = tp.EsponenteDisegno + + OPEN cursoreImport + FETCH NEXT FROM cursoreImport INTO @udc, @Particolare, @NumDisegno, @EsponenteDisegno + + WHILE @@FETCH_STATUS = 0 + BEGIN + + -- aggiorno gli UDC gitterbox esistenti per quantità tra quelli dei dati da importare... + UPDATE ElencoCartellini + SET CodCS = @CodCS, + IdxPosizione = @IdxPosizione, + CreateDate = @adesso, + Particolare = @Particolare, + DisegnoGrezzo = @NumDisegno, + Esponente = @EsponenteDisegno, + Figura = '', + CodImballo = '', + Tara = 0, + PesoTot = 0, + PesoCad = 0, + CodStato = 'Fin', + NumCont = 1, + TurnoFus = 0, + ModDate = @adesso, + CodSoggetto = @CodSoggetto + WHERE UDC = @udc + + -- indico cella UDC corrente... calcolo la prima cella della nuova posizione... + SET @IdxCellaTo = ( SELECT dbo.f_getCellaByPos(CAST(@IdxPosizione AS NVARCHAR(50))) ) + /*( + SELECT TOP 1 IdxCella FROM Celle + WHERE IdxBlocco = ( + SELECT IdxBlocco FROM Blocchi + WHERE CodMag=CAST(@IdxPosizione AS NVARCHAR(50))) + )*/ + + -- controllo se posizione non ancora creata... + SET @posTrovate = ( SELECT COUNT(*) FROM PosizioneUdcCorrente WHERE UDC = @udc ) + IF( @posTrovate =0) + BEGIN + INSERT INTO PosizioneUdcCorrente + VALUES (@udc, @IdxCellaTo, @CodCS, @adesso) + END + + FETCH NEXT FROM cursoreImport INTO @udc, @Particolare, @NumDisegno, @EsponenteDisegno + + + END + + CLOSE cursoreImport + DEALLOCATE cursoreImport + + -- inserisco datamatrix da ultimo import + INSERT INTO ElencoDataMatrix + SELECT * FROM @newData + + -- aggiorno dati ultimo caricamento + SET @lastImport = ( SELECT ISNULL(MAX(DataImport),@lastImport) FROM @newData ) + UPDATE LogImportFlussi + SET LastImport = @lastImport + WHERE NomeFlusso = @nomeFlusso + + +RETURN +GO + +/***************************************** +* STORED stp_EDM_spostaDataMtx +* +* Sposta un datamatrix in un nuovo gitterbox +* +* Steamware, S.E.L. +* mod: 2011.05.05 +* +****************************************/ +ALTER PROCEDURE dbo.stp_EDM_spostaDataMtx +( + @CodDataMatrix NUMERIC(23), + @CodGitterbox NVARCHAR(10), + @CodSoggetto VARCHAR(17) +) +AS + +-- salvo codice gitterbox di partenza +DECLARE @CodGitterboxFrom AS NVARCHAR(10) +SET @CodGitterboxFrom = ( SELECT CodGitterbox FROM ElencoDataMatrix WHERE CodDataMatrix = @CodDataMatrix ) + +UPDATE ElencoDataMatrix +SET CodGitterbox = @CodGitterbox +WHERE CodDataMatrix = @CodDataMatrix + +-- aggiorno valori QTA gitterbox di partenza... +UPDATE ElencoCartellini +SET Qta = ( SELECT COUNT(*) FROM ElencoDataMatrix WHERE CodGitterbox = @CodGitterboxFrom ) +WHERE UDC = @CodGitterboxFrom +-- aggiorno valoti QTA gitterbox destinazione e modificatore... +UPDATE ElencoCartellini +SET Qta = ( SELECT COUNT(*) FROM ElencoDataMatrix WHERE CodGitterbox = @CodGitterbox ), CodSoggetto = @CodSoggetto, ModDate = GETDATE() +WHERE UDC = @CodGitterbox + +-- aggiorno righe liste di prelievo... +UPDATE RigheListePrelievo +SET Qta = ( SELECT COUNT(*) FROM ElencoDataMatrix WHERE CodGitterbox = @CodGitterboxFrom ) +WHERE UDC = @CodGitterboxFrom +-- aggiorno valoti QTA gitterbox destinazione... +UPDATE RigheListePrelievo +SET Qta = ( SELECT COUNT(*) FROM ElencoDataMatrix WHERE CodGitterbox = @CodGitterbox ) +WHERE UDC = @CodGitterbox + +-- select finale! +SELECT * +FROM ElencoDataMatrix +WHERE CodDataMatrix = @CodDataMatrix + +RETURN +GO + +/***************************************** +* STORED stp_EDM_svuotaGitterbox +* +* Elimina il codice gitterbox dai datamatrix associati (svuotandolo...) +* +* Steamware, S.E.L. +* mod: 2011.05.06 +* +****************************************/ +ALTER PROCEDURE dbo.stp_EDM_svuotaGitterbox +( + @CodGitterbox NVARCHAR(10), + @CodSoggetto VARCHAR(17) +) +AS + +UPDATE ElencoDataMatrix +SET CodGitterbox = 'EmptyGBox' +WHERE CodGitterbox = @CodGitterbox + +-- aggiorno valoti QTA gitterbox originale... +UPDATE ElencoCartellini +SET Qta = ( SELECT COUNT(*) FROM ElencoDataMatrix WHERE CodGitterbox = @CodGitterbox ) +WHERE UDC = @CodGitterbox +-- aggiorno valoti QTA gitterbox 'EmptyGBox +UPDATE ElencoCartellini +SET Qta = ( SELECT COUNT(*) FROM ElencoDataMatrix WHERE CodGitterbox = 'EmptyGBox' ), CodSoggetto = @CodSoggetto, ModDate = GETDATE() +WHERE UDC = 'EmptyGBox' + +-- aggiorno righe liste di prelievo... +UPDATE RigheListePrelievo +SET Qta = ( SELECT COUNT(*) FROM ElencoDataMatrix WHERE CodGitterbox = @CodGitterbox ) +WHERE UDC = @CodGitterbox + + + +RETURN +GO + +/***************************************** +* STORED stp_ODETTE_getByUDC +* +* Recupera etichette odette da stampare (dato un codice UDC) +* +* Steamware, S.E.L. +* mod: 2011.04.27 +* +****************************************/ +ALTER PROCEDURE dbo.stp_ODETTE_getByUDC +( + @UDC NVARCHAR(10) +) +AS + +/* calcolo il codice di raggrupp bolla da passare x generazione cartellino al report partendo da CodCS */ + +SELECT Odette.CampoUDC, Odette.Campo1_1, Odette.Campo1_2, Odette.Campo1_3, Odette.Campo1_4, Odette.Campo1_5, Odette.Campo2_1, Odette.Campo2_2, + Odette.Campo2_3, Odette.Campo2_4, Odette.Campo2_5, Odette.Campo3_1, dbo.f_padRight(RilPro.TabDecodBolla.NumRaggrMag, 3, '0') + + dbo.f_padLeft(Odette.Campo3_2, 6, '0') AS Campo3_2, Odette.Campo3_3, Odette.Campo3_4, Odette.Campo3_5, Odette.Campo4_1, Odette.Campo4_2, + Odette.Campo4_3, Odette.Campo4_4, Odette.Campo4_5, Odette.Campo5_1, Odette.Campo5_2, Odette.Campo5_3, Odette.Campo5_4, Odette.Campo5_5, + Odette.Campo6_1, Odette.Campo6_2, Odette.Campo6_3, Odette.Campo6_4, Odette.Campo6_5, Odette.Campo7_1, Odette.Campo7_2, Odette.Campo7_3, + Odette.Campo7_4, Odette.Campo7_5, Odette.Campo8_1, Odette.Campo8_2, Odette.Campo8_3, Odette.Campo8_4, Odette.Campo8_5, Odette.Campo9_1, + Odette.Campo9_2, Odette.Campo9_3, Odette.Campo9_4, Odette.Campo9_5, Odette.Campo10_1, Odette.Campo10_2, Odette.Campo10_3, Odette.Campo10_4, + Odette.Campo10_5, Odette.Campo11_1_1, Odette.Campo11_1_2, Odette.Campo11_1_3, Odette.Campo11_1_4, Odette.Campo11_1_5, Odette.Campo11_2_1, + Odette.Campo11_2_2, Odette.Campo11_2_3, Odette.Campo11_2_4, Odette.Campo11_2_5, Odette.Campo12_1, Odette.Campo12_2, Odette.Campo12_3, + Odette.Campo12_4, Odette.Campo12_5, Odette.Campo13_1, Odette.Campo13_2, Odette.Campo13_3, Odette.Campo13_4, Odette.Campo13_5, Odette.Campo14_1, + Odette.Campo14_2, Odette.Campo14_3, Odette.Campo14_4, Odette.Campo14_5, Odette.Campo15_1, Odette.Campo15_2, Odette.Campo15_3, Odette.Campo15_4, + Odette.Campo15_5, Odette.Campo16_1, Odette.Campo16_2, Odette.Campo16_3, Odette.Campo16_4, Odette.Campo16_5, Odette.StatoOk, Odette.CodCS, + Odette.CodMag, Odette.GrpBolla, Odette.DataBolla, Odette.NumBolla, Odette.Particolare, Odette.CodLista +FROM Odette INNER JOIN RilPro.TabDecodBolla ON Odette.CodMag = RilPro.TabDecodBolla.CodRaggrMag +WHERE (Odette.CampoUDC = @UDC) + +RETURN +GO + +SET ANSI_NULLS ON +GO +SET QUOTED_IDENTIFIER ON +GO +/*************************************** +* FUNCTION f_padLeft +* +* fornisce una stringa della lunghezza desiderata aggiungendo a sx il carattere richiesto alla @string originale +* +* Steamware, S.E.L. +* mod: 2010.03.19 +* +****************************************/ +create FUNCTION [dbo].[f_padRight] (@string VARCHAR(255), @desired_length INTEGER, @pad_character CHAR(1)) +RETURNS VARCHAR(255) AS +BEGIN + + -- Prefix the required number of spaces to bulk up the string and then replace the spaces with the desired character + RETURN CASE + WHEN LEN(@string) < @desired_length + THEN @string + REPLACE(SPACE(@desired_length - LEN(@string)), ' ', @pad_character) + ELSE @string + END + +END +GO + + +commit; +go + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(402, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.2/GMW_00403.sql b/GMW_data/SqlScripts/V1.2/GMW_00403.sql new file mode 100644 index 00000000..dfbbd052 --- /dev/null +++ b/GMW_data/SqlScripts/V1.2/GMW_00403.sql @@ -0,0 +1,413 @@ +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/*************************************** +* STORED stp_prtCartByUDC +* +* ottiene il record del Cartellino dato l'UDC richiesto x la stampa +* +* Steamware, S.E.L. +* mod: 2011.12.19 +* +****************************************/ +alter PROCEDURE stp_prtCartByUDC +( + @UDC VARCHAR(50) +) +AS + 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 + 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 + +/*************************************** +* 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 +* +****************************************/ +create PROCEDURE [dbo].[stp_prtCartLiquidi_F10ByUDC] +( + @UDC VARCHAR(50) +) +AS + + -- calcolo le note trattamenti + DECLARE @tmp NVARCHAR(500) + DECLARE @NoteTratt NVARCHAR(500) + SET @tmp = '' + SELECT @tmp = @tmp + UDC_PARENT + ' - ' 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 + +/*************************************** +* 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 +* +****************************************/ +create PROCEDURE [dbo].stp_prtCartLiquidi_F18ByUDC +( + @UDC VARCHAR(50) +) +AS + -- calcolo le note trattamenti + DECLARE @tmp NVARCHAR(500) + DECLARE @NoteTratt NVARCHAR(500) + SET @tmp = '' + SELECT @tmp = @tmp + UDC_PARENT + ' - ' 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; +go + + +set xact_abort on; +go + +begin transaction; +go + +alter table Odette drop + constraint PK_Odette ; +go + +alter table Odette alter column + CampoUDC nvarchar(50) not null; +go + +alter table Odette add + constraint PK_Odette primary key(CampoUDC); +go + +drop index i_UDC on Odette_storico; +go + +alter table Odette_storico alter column + CampoUDC nvarchar(50) not null; +go + +create index i_UDC on Odette_storico(CampoUDC); +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 VARCHAR(50) +) +AS + + -- calcolo le note trattamenti + DECLARE @tmp NVARCHAR(500) + DECLARE @NoteTratt NVARCHAR(500) + SET @tmp = '' + SELECT @tmp = @tmp + UDC_PARENT + ' - ' 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 + + + +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 VARCHAR(50) +) +AS + -- calcolo le note trattamenti + DECLARE @tmp NVARCHAR(500) + DECLARE @NoteTratt NVARCHAR(500) + SET @tmp = '' + SELECT @tmp = @tmp + UDC_PARENT + ' - ' 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; +go + + + + +commit; +go + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(403, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.2/GMW_00407.sql b/GMW_data/SqlScripts/V1.2/GMW_00407.sql new file mode 100644 index 00000000..e929d765 --- /dev/null +++ b/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_data/SqlScripts/V1.2/GMW_00408.sql b/GMW_data/SqlScripts/V1.2/GMW_00408.sql new file mode 100644 index 00000000..fe08b73d --- /dev/null +++ b/GMW_data/SqlScripts/V1.2/GMW_00408.sql @@ -0,0 +1,1445 @@ +-- FIX della lunghezza di @UDC & co + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +-- Batch submitted through debugger: GMW_00335.sql|486|0|C:\Users\RottGian\AppData\Local\Temp\2\Temp1_GMW_00335.zip\GMW_00335.sql + +/*************************************** +* STORED stp_annullaUDC +* +* annulla un UDC +* +* Steamware, S.E.L. +* mod: 2010.04.28 +* +****************************************/ +alter PROCEDURE stp_annullaUDC +( + @UDC VARCHAR(50), + @CodSoggetto VARCHAR(17) +) +AS + +BEGIN TRAN + + -- faccio update + UPDATE ElencoCartellini + SET IdxPosizione = 0, ModDate = GETDATE() + WHERE UDC = @UDC + + +COMMIT TRAN + +RETURN +go + +/***************************************** +* STORED stp_BORI_caricaDatiBolla +* +* richiama la stored di caricamento da AS400 x la bolla indicata +* +* Steamware, S.E.L. +* mod: 2011.04.28 +* +****************************************/ +alter PROCEDURE stp_BORI_caricaDatiBolla +( + @RaggrMagazz NVARCHAR(2) , + @GruppoBolle NVARCHAR(1) , + @NumeroBolla NVARCHAR(6) , + @DataBolla NVARCHAR(8) , + @Particolare NVARCHAR(15) +) +AS +/* + SET NOCOUNT ON; + + --DECLARE @RaggrMagazz AS NVARCHAR(2) = N'SP' + --DECLARE @GruppoBolle AS NVARCHAR(1) = N'0' + --DECLARE @NumeroBolla AS NVARCHAR(6) = N'678' + --DECLARE @DataBolla AS NVARCHAR(8) = N'20110421' + --DECLARE @Particolare AS NVARCHAR(15) = N'P00528536146' + + -- Prima cancello i dati della se già presenti bolla poi li carico + DELETE RawData.BORI202J + WHERE CDMFS = @RaggrMagazz + AND GRBOS = @GruppoBolle + AND NRBOS = @NumeroBolla + AND DTBOS = @DataBolla + AND CDARS = @Particolare + + DECLARE @SQL AS NVARCHAR(4000) + DECLARE @SqlOK AS INT; + + SET @SqlOK = 0; + + -- ATTENZIONE!!! i parametri non devono essere nulli altrimenti la stringa ritornata è nulla + + /* + Prima estraggo i dati della bolla dal file in AS400 in una tabella temporanea + Poi va letta la tabella temporanea per creare i dati per la stampa Odette + NON VA BENE, SE ESEGUONO IN DUE LA STAMPA PUO ANDARE IN CONFLITTO + */ + + --IF OBJECT_ID(N'tempdb..##TabTemp') IS NOT NULL -- ##TabTemp Tabella temporanea globale altrimenti non riesco ad usarla + -- DROP TABLE ##TabTemp; + -- SET @SQL = 'SELECT * INTO ##TabTemp FROM OPENQUERY(AS400TEKAL, + + BEGIN TRY + SET @SQL = 'INSERT INTO RawData.BORI202J SELECT * FROM OPENQUERY(AS400TEKAL, + ''SELECT + CDMFS + ,GRBOS + ,DTBOS + ,NRBOS + ,CDARS + ,NRRGS + ,CDINB + ,RA1ND + ,RA2ND + ,CAPND + ,CITND + ,RASCL + ,INDCL + ,CAPCL + ,LOCCL + ,PROCL + ,INEND + ,CRAGCL + ,TELND + ,CCDMOL + ,CCDPTR + ,EPLAVO + ,NRC1B + ,ECMM01 + ,DEPAR + ,RCARTC + ,PERND + ,CCDET1 + ,ECDNAE + ,ECDNA1 + ,EESPMD + ,PELDB + ,QTCNS + FROM POSN_AZI.BORI202J + WHERE ATV08 <> ''''A'''' + ' + + -- commemntare le righe successive per estrarre tutto + -- Parametri di selezione della bolla + SET @SQL = @SQL + ' AND CDMFS = ''''' + @RaggrMagazz + ''''' ' + SET @SQL = @SQL + ' AND GRBOS = ''''' + @GruppoBolle + ''''' ' + SET @SQL = @SQL + ' AND NRBOS = ' + @NumeroBolla + ' ' + SET @SQL = @SQL + ' AND DTBOS = ' + @DataBolla + ' ' + SET @SQL = @SQL + ' AND CDARS = ''''' + @Particolare + ''''' ' + + SET @SQL = @SQL + ''' )'; + + EXEC sp_executesql @SQL + + END TRY + BEGIN CATCH + -- PRINT ERROR_NUMBER() + SET @SqlOK = ERROR_NUMBER(); + + -- Uso RAISERROR mandare in errore la procedura e x per tornare le info + -- sull'errore originale che ha portato l'esecuzione nel blocco CATCH + --DECLARE @ErrorMessage NVARCHAR(4000); + --DECLARE @ErrorSeverity INT; + --DECLARE @ErrorState INT; + --SELECT @ErrorMessage = ERROR_MESSAGE(),@ErrorSeverity = ERROR_SEVERITY(),@ErrorState = ERROR_STATE(); + --RAISERROR (@ErrorMessage,@ErrorSeverity,@ErrorState); -- Se non uso RAISERROR la procedura non mi da errore es. se schedulata + END CATCH + + -- MANCA IL TEST SE VA IN ERRORE E IL SALVATAGGIO NEL LOG AS400 + + -- Memorizzo il comando per verifica T-SQL e l'esito del comando se 0 è OK + + INSERT INTO RawData.AS400_Comandi + SELECT GETDATE(), 'stp_BORI_caricaDatiBolla', @SQL, @SqlOK; + + -- Carico i dati della Temp table nel file di appoggio + -- INSERT INTO RawData.BORI202J + -- SELECT * FROM ##TabTemp + + +*/ +RETURN +go + +commit; +go + + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/***************************************** +* STORED stp_ODETTE_getByUDC +* +* Recupera etichette odette da stampare (dato un codice UDC) +* +* Steamware, S.E.L. +* mod: 2011.12.19 +* +****************************************/ +alter PROCEDURE stp_ODETTE_getByUDC +( + @UDC NVARCHAR(50) +) +AS + +/* calcolo il codice di raggrupp bolla da passare x generazione cartellino al report partendo da CodCS */ + +SELECT Od.CampoUDC + ,Od.Campo1_1 + ,Od.Campo1_2 + ,Od.Campo1_3 + ,Od.Campo1_4 + ,Od.Campo1_5 + + ,Od.Campo2_1 + ,Od.Campo2_2 + ,Od.Campo2_3 + ,Od.Campo2_4 + ,Od.Campo2_5 + + ,Od.Campo3_1 + + -- Formatto il numero bolla in base alla tabella di decodifica + , dbo.f_padLeft( ISNULL(dec.NumRaggrMag,''), 2, '0' ) + + dbo.f_padLeft( ISNULL(Od.GrpBolla ,''), 1, '0' ) + + dbo.f_padLeft( ISNULL(Od.Campo3_2 ,''), 6, '0' ) AS Campo3_2 + + ,Od.Campo3_3 + ,Od.Campo3_4 + ,Od.Campo3_5 + + ,Od.Campo4_1 + ,Od.Campo4_2 + ,Od.Campo4_3 + ,Od.Campo4_4 + ,Od.Campo4_5 + + ,Od.Campo5_1 + ,Od.Campo5_2 + ,Od.Campo5_3 + ,Od.Campo5_4 + ,Od.Campo5_5 + + ,Od.Campo6_1 + ,Od.Campo6_2 + ,Od.Campo6_3 + ,Od.Campo6_4 + ,Od.Campo6_5 + + ,Od.Campo7_1 + ,Od.Campo7_2 + ,Od.Campo7_3 + ,Od.Campo7_4 + ,Od.Campo7_5 + + ,Od.Campo8_1 + ,Od.Campo8_2 + ,Od.Campo8_3 + ,Od.Campo8_4 + ,Od.Campo8_5 + + ,Od.Campo9_1 + ,Od.Campo9_2 + ,Od.Campo9_3 + ,Od.Campo9_4 + ,Od.Campo9_5 + + ,Od.Campo10_1 + ,Od.Campo10_2 + ,Od.Campo10_3 + ,Od.Campo10_4 + ,Od.Campo10_5 + + ,Od.Campo11_1_1 + ,Od.Campo11_1_2 + ,Od.Campo11_1_3 + ,Od.Campo11_1_4 + ,Od.Campo11_1_5 + ,Od.Campo11_2_1 + ,Od.Campo11_2_2 + ,Od.Campo11_2_3 + ,Od.Campo11_2_4 + ,Od.Campo11_2_5 + + ,Od.Campo12_1 + ,Od.Campo12_2 + ,Od.Campo12_3 + ,Od.Campo12_4 + ,Od.Campo12_5 + + ,Od.Campo13_1 + ,Od.Campo13_2 + ,Od.Campo13_3 + ,Od.Campo13_4 + ,Od.Campo13_5 + + ,Od.Campo14_1 + ,Od.Campo14_2 + ,Od.Campo14_3 + ,Od.Campo14_4 + ,Od.Campo14_5 + + ,Od.Campo15_1 + ,Od.Campo15_2 + ,Od.Campo15_3 + ,Od.Campo15_4 + ,Od.Campo15_5 + + ,Od.Campo16_1 + ,Od.Campo16_2 + ,Od.Campo16_3 + ,Od.Campo16_4 + ,Od.Campo16_5 + + ,Od.StatoOk + ,Od.CodCS + ,Od.CodMag + ,Od.GrpBolla + ,Od.DataBolla + ,Od.NumBolla + ,Od.Particolare + ,Od.CodLista + +FROM Odette AS Od +INNER JOIN RilPro.TabDecodBolla AS dec +ON Od.CodMag = dec.CodRaggrMag +WHERE ( Od.CampoUDC = @UDC ) +RETURN +go + +/***************************************** +* STORED stp_ODETTE_setStato +* +* aggiorna stato etichetta Odette +* +* Steamware, S.E.L. +* mod: 2011.04.29 +* +****************************************/ +alter PROCEDURE stp_ODETTE_setStato +( + @UDC NVARCHAR(50), + @StatoOk BIT +) +AS + +-- update valori (sovrascrivo...) +UPDATE Odette +SET StatoOk = @StatoOk +WHERE CampoUDC = @UDC + +RETURN +go + +/***************************************** +* STORED stp_ODETTE_updateLingua +* +* Salva nell'etichetta ODETTE indicata le stringhe della lingua desiderata +* +* Steamware, S.E.L. +* mod: 2010.10.22 +* +****************************************/ +alter PROCEDURE stp_ODETTE_updateLingua +( + @UDC NVARCHAR(50), + @Campo1_1 NVARCHAR(50), + @Campo2_1 NVARCHAR(50), + @Campo3_1 NVARCHAR(50), + @Campo4_1 NVARCHAR(50), + @Campo5_1 NVARCHAR(50), + @Campo6_1 NVARCHAR(50), + @Campo7_1 NVARCHAR(50), + @Campo8_1 NVARCHAR(50), + @Campo9_1 NVARCHAR(50), + @Campo10_1 NVARCHAR(50), + @Campo11_1_1 NVARCHAR(50), + @Campo11_2_1 NVARCHAR(50), + @Campo12_1 NVARCHAR(50), + @Campo13_1 NVARCHAR(50), + @Campo14_1 NVARCHAR(50), + @Campo15_1 NVARCHAR(50), + @Campo16_1 NVARCHAR(50) +) +AS + +UPDATE Odette +SET Campo1_1 = @Campo1_1, + Campo2_1 = @Campo2_1, + Campo3_1 = @Campo3_1, + Campo4_1 = @Campo4_1, + Campo5_1 = @Campo5_1, + Campo6_1 = @Campo6_1, + Campo7_1 = @Campo7_1, + Campo8_1 = @Campo8_1, + Campo9_1 = @Campo9_1, + Campo10_1 = @Campo10_1, + Campo11_1_1 = @Campo11_1_1, + Campo11_2_1 = @Campo11_2_1, + Campo12_1 = @Campo12_1, + Campo13_1 = @Campo13_1, + Campo14_1 = @Campo14_1, + Campo15_1 = @Campo15_1, + Campo16_1 = @Campo16_1 +WHERE CampoUDC = @UDC + +RETURN +go + +/***************************************** +* STORED stp_ODETTE_updateVal +* +* effettua aggiornamento valori etichetta Odette +* +* Steamware, S.E.L. +* mod: 2011.04.28 +* +****************************************/ +alter PROCEDURE stp_ODETTE_updateVal +( + @UDC NVARCHAR(50), + @ragSocCli NVARCHAR(50), + @indirCli NVARCHAR(50), + @capCittCli NVARCHAR(50), + @ragSocDest NVARCHAR(50), + @indirDest NVARCHAR(50), + @capCittDest NVARCHAR(50), + @pesoNetto NVARCHAR(50), + @pesoLordo NVARCHAR(50), + @numColli NVARCHAR(50), + @disPart NVARCHAR(50), + @descPart NVARCHAR(50), + @codPart NVARCHAR(50), + @codImb NVARCHAR(50), + @codMaz NVARCHAR(50), + @codNael NVARCHAR(50) +) +AS + +COMMIT TRAN + + +-- update valori (sovrascrivo...) +UPDATE Odette +SET Campo1_2 = @ragSocCli, + Campo1_3 = @indirCli, + Campo1_4 = @capCittCli, + Campo2_2 = @ragSocDest, + Campo2_3 = @indirDest, + Campo2_4 = @capCittDest, + Campo5_2 = @pesoNetto, + Campo6_2 = @pesoLordo, + Campo7_2 = @numColli, + Campo8_2 = @disPart, + Campo8_3 = @disPart, + Campo10_2 = @descPart, + Campo11_1_2 = @codPart, + Campo11_1_3 = @codPart, + Campo11_2_2 = @codImb, + Campo11_2_3 = @codImb, + Campo12_2 = @codMaz, + Campo12_3 = @codMaz, + Campo14_2 = @codNael + +WHERE CampoUDC = @UDC + +RETURN +go + +commit; +go + + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/*************************************** +* STORED stp_rappQualAssociaUdc +* +* Associa l'UDC (creato) ad un rapp qualità di AS esistente SOLO SE UDC è NULL +* +* Steamware, S.E.L. +* mod: 2010.09.23 +* +****************************************/ +alter PROCEDURE stp_rappQualAssociaUdc +( + @ProgUDC NVARCHAR(10), + @UDC NVARCHAR(50) +) +AS + UPDATE RilPro.RapQual + SET UDC = @UDC + WHERE (ProgUDC = @ProgUDC) AND (UDC IS NULL) + + -- restituisce la riga aggiornata + SELECT * + FROM RilPro.RapQual + WHERE ProgUDC = @ProgUDC + +RETURN +go + +alter PROCEDURE stp_rappQualGetByUDC +( + @UDC NVARCHAR(50) +) +AS + -- restituisce le righe richieste + SELECT * + FROM RilPro.RapQual + WHERE (UDC = @UDC) + +RETURN +go + +-- Batch submitted through debugger: GMW_00315.sql|69|0|C:\Users\RottGian\AppData\Local\Temp\2\Temp1_GMW_00315.zip\GMW_00315.sql + +/*************************************** +* STORED stp_rettMovAs400 +* +* inserisce nella tabella per i trasferimenti batch verso magazzino AS una quantità di rettifica (con segno - )per UDC eventualmente già scaricati a sistema +* +* Steamware, S.E.L. +* mod: 2010.11.02 +* +****************************************/ +alter PROCEDURE stp_rettMovAs400 +( + @Particolare NVARCHAR(50), + @UDC NVARCHAR(50), + @CodMagAS NVARCHAR(50), + @Qta DECIMAL(10,2), + @CodEvento NVARCHAR(10) +) +AS + +BEGIN + + INSERT INTO AS400_BatchMovimenti(DataIns, CodEvento, Particolare, UDC, CodMagAS, Quantita) + VALUES (GETDATE(), @CodEvento, @Particolare, @UDC, @CodMagAS, -@Qta) + +END + +RETURN +go + +-- Batch submitted through debugger: GMW_00310.sql|133|0|C:\Users\RottGian\AppData\Local\Temp\2\Temp1_GMW_00310.zip\GMW_00310.sql + +/*************************************** +* STORED stp_riattivaUdc +* +* riattiva un dato UDC (da mag consumato negativo a corrispettivo positivo) --> se era positivo NON FA NULLA!!! (perchè uso ABS e controllo sia < 0) +* +* Steamware, S.E.L. +* mod: 2010.11.04 +* +****************************************/ +alter PROCEDURE stp_riattivaUdc +( + @UDC VARCHAR(50), + @CodSoggetto NVARCHAR(17) +) +AS + +DECLARE @CodEvento VARCHAR(10) +DECLARE @CodTipoDichiaraz VARCHAR(1) +DECLARE @IdxCella INT +DECLARE @CodCs NVARCHAR(2) + +SET @CodEvento = 'UDC_RIA' +SET @CodTipoDichiaraz = 'U' + +BEGIN TRAN + + -- faccio update posizione + UPDATE ElencoCartellini + SET IdxPosizione = ABS(IdxPosizione), ModDate=GETDATE(), CodSoggetto = @CodSoggetto + WHERE UDC = @UDC AND IdxPosizione IN (SELECT IdxPosizione FROM AnagPosizioni WHERE (IsRiattivaEnabled = 1) +) + + -- lo elimino da eventuali precedenti liste di prelievo sennò poi non potrei + prelevarlo + DELETE FROM RigheListePrelievo + WHERE UDC = @UDC + + -- imposto posizione CELLA corrente x l'udc nella prima libera + SET @IdxCella = (SELECT c.IdxCella FROM Celle c inner join Blocchi b ON c.IdxBlocco=b.IdxBlocco INNER JOIN ElencoCartellini e ON b.CodMag = CAST(e.IdxPosizione AS NVARCHAR(50)) WHERE e.UDC = @UDC) + SET @CodCs = (SELECT CodCs FROM ElencoCartellini WHERE UDC = @UDC) + INSERT INTO PosizioneUdcCorrente + VALUES(@Udc, @IdxCella, @CodCs, GETDATE()) + + +COMMIT TRAN + +RETURN +go + +/*************************************** +* STORED stp_sbloccaUdc +* +* sblocca un dato UDC per modifica +* +* Steamware, S.E.L. +* mod: 2010.04.28 +* +****************************************/ +alter PROCEDURE stp_sbloccaUdc +( + @UDC VARCHAR(50), + @CodSoggetto NVARCHAR(17) +) +AS + +DECLARE @CodEvento VARCHAR(10) +DECLARE @CodTipoDichiaraz VARCHAR(1) + +SET @CodEvento = 'UDC_SBL' +SET @CodTipoDichiaraz = 'U' + +BEGIN TRAN + + -- faccio update + UPDATE ElencoCartellini + SET ModDate = GETDATE(), CodSoggetto = @CodSoggetto + WHERE UDC = @UDC + +COMMIT TRAN + +RETURN +go + +commit; +go + + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/*************************************** +* STORED stp_UDC_insNew +* +* crea un nuovo record nella TabStatoOdpUdc e restituisce il codice UDC appena creato +* +* Steamware, S.E.L. +* mod: 2010.04.28 +* +****************************************/ +alter PROCEDURE stp_UDC_insNew +( + @CodCS VARCHAR(2), + @Flusso VARCHAR(2), + @Anno VARCHAR(2), + @Tara FLOAT, + @CodImballo AS VARCHAR(50), + @CodTipoDichiaraz CHAR(1), + @CodSoggetto VARCHAR(17) +) +AS + +-- DECLARE iniziali +DECLARE @UDC AS VARCHAR(50) +DECLARE @numFlu AS INT +DECLARE @numUdc AS INT +DECLARE @nextUdc AS INT + +------------------------------------------------------------------------------------------------------ +-- Flusso +------------------------------------------------------------------------------------------------------ +-- controllo se esiste il flusso (bilancia)... +SET @numFlu = ( + SELECT count(*) + FROM AnagBilance + WHERE CodBilancia = @Flusso +) +-- ...sennò lo creo... +IF(@numFlu = 0) + BEGIN + -- se c'è inserisco in tab + INSERT INTO AnagBilance(CodBilancia, DescrImpianto, CodCS) + VALUES (@Flusso, @Flusso, @CodCS) + END +------------------------------------------------------------------------------------------------------ + + +------------------------------------------------------------------------------------------------------ +-- UDC +------------------------------------------------------------------------------------------------------ +-- controllo se ci sia già un UDC per company / flusso anno +BEGIN TRAN + -- cerco nella tab contatori UDC l'ultimo valido + SET @numUdc = ( + SELECT count(*) + FROM ContatoriUdc + WHERE CodCS = @CodCS + AND Flusso = @Flusso + AND Anno = @Anno + ) + -- controllo se record c'è... + IF(@numUdc > 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 @numUdc = ( + SELECT LastIdx + FROM ContatoriUdc + WHERE CodCS = @CodCS + AND Flusso = @Flusso + AND Anno = @Anno + ) +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- Ciclo principale x inserimento nuovo record +------------------------------------------------------------------------------------------------------ +-- ottengo il nuovo codice UDC completo +--SET @UDC = 'U' + @CodCS + @Flusso + @Anno + dbo.f_padLeft(CAST(@numUdc AS VARCHAR(6)), 6, '0') +SET @UDC = dbo.componiUdc(@CodCS, @Flusso, @Anno, @numUdc) + +-- inserisco un nuovo record +INSERT INTO ElencoCartellini(CodCS, UDC, Tara, IdxPosizione, Qta, CodImballo, CodSoggetto, CreateDate, ModDate) +VALUES (@CodCS, @UDC, @Tara, 0, 0, @CodImballo, @CodSoggetto, GETDATE(), GETDATE()) +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- restituisco la tab dati con l'udc appena inserito +------------------------------------------------------------------------------------------------------ +SELECT * +FROM ElencoCartellini +WHERE UDC = @UDC +------------------------------------------------------------------------------------------------------ + +RETURN +go + +/*************************************** +* STORED stp_UDC_insNewFull +* +* crea un nuovo record nella TabStatoOdpUdc FULL (con pesi, qta...) e restituisce il codice UDC appena creato +* +* Steamware, S.E.L. +* mod: 2010.04.28 +* +****************************************/ +alter PROCEDURE stp_UDC_insNewFull +( + @CodCS VARCHAR(2), + @Flusso VARCHAR(2), + @Anno VARCHAR(2), + @CodCliente VARCHAR(6), + @Particolare VARCHAR(15), + @CodImpianto AS VARCHAR(50), + @CodStampo VARCHAR(8), + @Esponente VARCHAR(6), + @Figura VARCHAR(4), + @DataFus DATETIME, + @TurnoFus INT, + @CodImballo VARCHAR(15), + @CodSoggetto VARCHAR(17), + @Tara FLOAT, + @IdxPosizione INT, + @CodTipoDichiaraz CHAR(1), + @CodEvento VARCHAR(10), + @Qta DECIMAL(10,2), + @PesoTot FLOAT, + @PesoCad FLOAT, + @CodStato VARCHAR(50), + @UDC_parent VARCHAR(50), + @DoDeleteUdcParent BIT, + @Note NVARCHAR(500) +) +AS + +-- DECLARE iniziali +DECLARE @UDC AS VARCHAR(50) +DECLARE @RagSociale AS VARCHAR(35) +DECLARE @DescParticolare AS VARCHAR(30) +DECLARE @DescImpianto AS VARCHAR(50) +DECLARE @DisegnoGrezzo AS VARCHAR(30) +DECLARE @NumCont AS INT +DECLARE @numFlu AS INT +DECLARE @numUdc AS INT +DECLARE @nextUdc AS INT +DECLARE @IdxCella AS INT + +------------------------------------------------------------------------------------------------------ +-- Caricamento Dati da anagrafica +------------------------------------------------------------------------------------------------------ +-- cerco la ragione sociale... +SET @RagSociale = ( + SELECT ISNULL(RagSociale, 'ND') AS RagSociale + FROM RilPro.AnagClienti + WHERE (CodCliente = @CodCliente) +) + +-- Cerco descrizione del particolare... +SET @DescParticolare = ( + SELECT ISNULL(DescParticolare, 'ND') AS DescParticolare + FROM RilPro.AnagParticolari + WHERE (Particolare = @Particolare) +) + +-- cerco codice disegno grezzo +SET @DisegnoGrezzo = ( + SELECT ISNULL(DisegnoGrezzo, 'ND') AS DescParticolare + FROM RilPro.AnagParticolari + WHERE (Particolare = @Particolare) +) + +-- cerco descrizione Impianto +SET @DescImpianto = ( + SELECT ISNULL(DescImpianto, 'ND') AS DescImpianto + FROM AnagImpianti + WHERE (CodImpianto = @CodImpianto) +) + + + +-- Calcolo contatore intero successivo x il contenitore... +SET @NumCont = ( + SELECT ISNULL(MAX(NumCont), 0) + 1 AS NumCont + FROM ElencoCartellini + WHERE (Particolare = @Particolare) + AND (DataFus = @DataFus) + AND (TurnoFus = @TurnoFus) + AND (CodImpianto = @CodImpianto) + AND (CodStampo = @CodStampo) + AND (Figura = @Figura) +) + + +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- Flusso +------------------------------------------------------------------------------------------------------ +-- controllo se esiste il flusso (bilancia)... +SET @numFlu = ( + SELECT count(*) + FROM AnagBilance + WHERE CodBilancia = @Flusso +) +-- ...sennò lo creo... +IF(@numFlu = 0) + BEGIN + -- se c'è inserisco in tab + INSERT INTO AnagBilance(CodBilancia, DescrImpianto, CodCS) + VALUES (@Flusso, @Flusso, @CodCS) + END +------------------------------------------------------------------------------------------------------ + + +------------------------------------------------------------------------------------------------------ +-- UDC +------------------------------------------------------------------------------------------------------ +-- controllo se ci sia già un UDC per company / flusso anno +BEGIN TRAN + -- cerco nella tab contatori UDC l'ultimo valido + SET @numUdc = ( + SELECT count(*) + FROM ContatoriUdc + WHERE CodCS = @CodCS + AND Flusso = @Flusso + AND Anno = @Anno + ) + -- controllo se record c'è... + IF(@numUdc > 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 @numUdc = ( + SELECT LastIdx + FROM ContatoriUdc + WHERE CodCS = @CodCS + AND Flusso = @Flusso + AND Anno = @Anno + ) +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- Ciclo principale x inserimento nuovo record +------------------------------------------------------------------------------------------------------ +BEGIN TRAN + -- ottengo il nuovo codice UDC completo + --SET @UDC = 'U' + @CodCS + @Flusso + @Anno + dbo.f_padLeft(CAST(@numUdc AS VARCHAR(6)), 6, '0') + SET @UDC = dbo.componiUdc(@CodCS, @Flusso, @Anno, @numUdc) + + + -- inserisco un nuovo record + INSERT INTO ElencoCartellini(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, Note) + VALUES (@UDC, @CodCS, @CodCliente, @RagSociale, @Particolare, @DescParticolare, @DisegnoGrezzo, @Esponente, @CodImpianto, @DescImpianto, @CodStampo, @Figura, @DataFus, @TurnoFus, @CodImballo, @CodSoggetto, @NumCont, @Tara, @Qta, @CodStato, @IdxPosizione, @PesoTot, @PesoCad, GETDATE(), GETDATE(), @Note) + + -- inserisco relazione parent-child tra UDC vecchio (tara) e nuovo (pesa) SSE UDC_Parent valido + IF((NOT @UDC_parent IS NULL) AND (NOT @UDC_parent = '')) + BEGIN + INSERT INTO RelazUDC(UDC_parent, UDC_child) + VALUES (@UDC_parent, @UDC) + END +COMMIT TRAN + +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- Ciclo secondario x eventuale cancellazione UDC tara parent e inserimento in posizione +------------------------------------------------------------------------------------------------------ + -- se richiesto elimino l'UDC parent (tara) + IF(@DoDeleteUdcParent = 1) + BEGIN + DELETE FROM ElencoCartellini WHERE UDC = @UDC_parent + END + + -- calcolo la prima cella della posizione indicata.. + SET @IdxCella = ( + SELECT TOP 1 c.IdxCella + FROM Celle c INNER JOIN Blocchi b ON c.IdxBlocco=b.IdxBlocco + WHERE b.CodMag = CAST(@IdxPosizione AS NVARCHAR(50)) + ) + -- inserisco il cartellino nella prima cella della posizione indicata.. + INSERT INTO PosizioneUdcCorrente + VALUES (@UDC, @IdxCella, @CodCS, GETDATE()) +------------------------------------------------------------------------------------------------------ + +/* +------------------------------------------------------------------------------------------------------ +-- Salvataggio dati evento in tab StoricoEventi +------------------------------------------------------------------------------------------------------ +INSERT INTO StoricoEventi(DataEv, CodEvento, CodOperatore, CodTipoDichiaraz, CodCS, UDC, Qta, PesoTot, PesoCad, Particolare, CodStato, CodStampo, Figura, FiguraIncisa) +VALUES (GETDATE(), @CodEvento, @CodOperatore, @CodTipoDichiaraz, @CodCS, @UDC, @Qta, @PesoTot, @PesoCad, @Particolare, @CodStato, @CodStampo, @Figura, @FiguraIncisa) +------------------------------------------------------------------------------------------------------ +*/ + +------------------------------------------------------------------------------------------------------ +-- restituisco la tab dati con l'udc appena inserito +------------------------------------------------------------------------------------------------------ +SELECT * +FROM ElencoCartellini +WHERE UDC = @UDC +------------------------------------------------------------------------------------------------------ + +RETURN +go + +/*************************************** +* STORED stp_UDC_insNewFull_fixUDC +* +* crea un nuovo record nella TabStatoOdpUdc FULL (con pesi, qta...) avendo in entrata il codice UDC da utilizzare +* +* Steamware, S.E.L. +* mod: 2011.12.07 +* +****************************************/ +alter PROCEDURE stp_UDC_insNewFull_fixUDC +( + @UDC AS NVARCHAR(50), + @CodCS VARCHAR(2), + @Flusso VARCHAR(2), + @Anno VARCHAR(2), + @CodCliente VARCHAR(6), + @Particolare VARCHAR(15), + @CodImpianto AS VARCHAR(50), + @CodStampo VARCHAR(8), + @Esponente VARCHAR(6), + @Figura VARCHAR(4), + @DataFus DATETIME, + @TurnoFus INT, + @CodImballo VARCHAR(15), + @CodSoggetto VARCHAR(17), + @Tara FLOAT, + @IdxPosizione INT, + @CodTipoDichiaraz CHAR(1), + @CodEvento VARCHAR(10), + @Qta DECIMAL(10,2), + @PesoTot FLOAT, + @PesoCad FLOAT, + @CodStato VARCHAR(50), + @UDC_parent VARCHAR(50), + @DoDeleteUdcParent BIT, + @Note NVARCHAR(500) +) +AS + +-- DECLARE iniziali +DECLARE @RagSociale AS VARCHAR(35) +DECLARE @DescParticolare AS VARCHAR(30) +DECLARE @DescImpianto AS VARCHAR(50) +DECLARE @DisegnoGrezzo AS VARCHAR(30) +DECLARE @NumCont AS INT +DECLARE @numFlu AS INT +DECLARE @numUdc AS INT +DECLARE @nextUdc AS INT +DECLARE @IdxCella AS INT + +------------------------------------------------------------------------------------------------------ +-- Caricamento Dati da anagrafica +------------------------------------------------------------------------------------------------------ +-- cerco la ragione sociale... +SET @RagSociale = ( + SELECT ISNULL(RagSociale, 'ND') AS RagSociale + FROM RilPro.AnagClienti + WHERE (CodCliente = @CodCliente) +) + +-- Cerco descrizione del particolare... +SET @DescParticolare = ( + SELECT ISNULL(DescParticolare, 'ND') AS DescParticolare + FROM RilPro.AnagParticolari + WHERE (Particolare = @Particolare) +) + +-- cerco codice disegno grezzo +SET @DisegnoGrezzo = ( + SELECT ISNULL(DisegnoGrezzo, 'ND') AS DescParticolare + FROM RilPro.AnagParticolari + WHERE (Particolare = @Particolare) +) + +-- cerco descrizione Impianto +SET @DescImpianto = ( + SELECT ISNULL(DescImpianto, 'ND') AS DescImpianto + FROM AnagImpianti + WHERE (CodImpianto = @CodImpianto) +) + + + +-- Calcolo contatore intero successivo x il contenitore... +SET @NumCont = ( + SELECT ISNULL(MAX(NumCont), 0) + 1 AS NumCont + FROM ElencoCartellini + WHERE (Particolare = @Particolare) + AND (DataFus = @DataFus) + AND (TurnoFus = @TurnoFus) + AND (CodImpianto = @CodImpianto) + AND (CodStampo = @CodStampo) + AND (Figura = @Figura) +) + + +------------------------------------------------------------------------------------------------------ + + +------------------------------------------------------------------------------------------------------ +-- Ciclo principale x inserimento nuovo record +------------------------------------------------------------------------------------------------------ +BEGIN TRAN + + -- inserisco un nuovo record + INSERT INTO ElencoCartellini(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, Note) + VALUES (@UDC, @CodCS, @CodCliente, @RagSociale, @Particolare, @DescParticolare, @DisegnoGrezzo, @Esponente, @CodImpianto, @DescImpianto, @CodStampo, @Figura, @DataFus, @TurnoFus, @CodImballo, @CodSoggetto, @NumCont, @Tara, @Qta, @CodStato, @IdxPosizione, @PesoTot, @PesoCad, GETDATE(), GETDATE(), @Note) + + -- inserisco relazione parent-child tra UDC vecchio (tara) e nuovo (pesa) SSE UDC_Parent valido + IF((NOT @UDC_parent IS NULL) AND (NOT @UDC_parent = '')) + BEGIN + INSERT INTO RelazUDC(UDC_parent, UDC_child) + VALUES (@UDC_parent, @UDC) + END +COMMIT TRAN + +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- Ciclo secondario x eventuale cancellazione UDC tara parent e inserimento in posizione +------------------------------------------------------------------------------------------------------ + -- se richiesto elimino l'UDC parent (tara) + IF(@DoDeleteUdcParent = 1) + BEGIN + DELETE FROM ElencoCartellini WHERE UDC = @UDC_parent + END + + -- calcolo la prima cella della posizione indicata.. + SET @IdxCella = ( + SELECT TOP 1 c.IdxCella + FROM Celle c INNER JOIN Blocchi b ON c.IdxBlocco=b.IdxBlocco + WHERE b.CodMag = CAST(@IdxPosizione AS NVARCHAR(50)) + ) + -- inserisco il cartellino nella prima cella della posizione indicata.. + INSERT INTO PosizioneUdcCorrente + VALUES (@UDC, @IdxCella, @CodCS, GETDATE()) +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- restituisco la tab dati con l'udc appena inserito +------------------------------------------------------------------------------------------------------ +SELECT * +FROM ElencoCartellini +WHERE UDC = @UDC +------------------------------------------------------------------------------------------------------ + +RETURN +go + +/*************************************** +* STORED stp_UDC_update +* +* aggiorna un cartellino dato il suo codice UDC e tutti i parametri da aggiornare +* +* Steamware, S.E.L. +* mod: 2010.04.30 +* +****************************************/ +alter PROCEDURE stp_UDC_update +( + @UDC_edit VARCHAR(50), + @CodCS VARCHAR(2), + @Flusso VARCHAR(2), + @Anno VARCHAR(2), + @CodCliente VARCHAR(6), + @Particolare VARCHAR(15), + @CodImpianto AS VARCHAR(50), + @CodStampo VARCHAR(8), + @Esponente VARCHAR(6), + @Figura VARCHAR(4), + @DataFus DATETIME, + @TurnoFus INT, + @CodImballo VARCHAR(15), + @CodSoggetto VARCHAR(17), + @Tara FLOAT, + @IdxPosizione INT, + @CodTipoDichiaraz CHAR(1), + @CodEvento VARCHAR(10), + @Qta DECIMAL(10,2), + @PesoTot FLOAT, + @PesoCad FLOAT, + @CodStato VARCHAR(50), + @UDC_parent VARCHAR(50), + @Note NVARCHAR(500) +) +AS + +-- DECLARE iniziali +DECLARE @RagSociale AS VARCHAR(35) +DECLARE @DescParticolare AS VARCHAR(30) +DECLARE @DescImpianto AS VARCHAR(50) +DECLARE @DisegnoGrezzo AS VARCHAR(30) +DECLARE @NumCont AS INT +DECLARE @numFlu AS INT +DECLARE @numUdc AS INT +DECLARE @nextUdc AS INT + +------------------------------------------------------------------------------------------------------ +-- Caricamento Dati da anagrafica +------------------------------------------------------------------------------------------------------ +-- cerco la ragione sociale... +SET @RagSociale = ( + SELECT ISNULL(RagSociale, 'ND') AS RagSociale + FROM RilPro.AnagClienti + WHERE (CodCliente = @CodCliente) +) + +-- Cerco descrizione del particolare... +SET @DescParticolare = ( + SELECT ISNULL(DescParticolare, 'ND') AS DescParticolare + FROM RilPro.AnagParticolari + WHERE (Particolare = @Particolare) +) + +-- cerco codice disegno grezzo +SET @DisegnoGrezzo = ( + SELECT ISNULL(DisegnoGrezzo, 'ND') AS DescParticolare + FROM RilPro.AnagParticolari + WHERE (Particolare = @Particolare) +) + +-- cerco descrizione Impianto +SET @DescImpianto = ( + SELECT ISNULL(DescImpianto, 'ND') AS DescImpianto + FROM AnagImpianti + WHERE (CodImpianto = @CodImpianto) +) + + + +-- Calcolo contatore intero successivo x il contenitore... +SET @NumCont = ( + SELECT NumCont + FROM ElencoCartellini + WHERE (UDC = @UDC_edit) +) + + +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- Flusso +------------------------------------------------------------------------------------------------------ +-- controllo se esiste il flusso (bilancia)... +SET @numFlu = ( + SELECT count(*) + FROM AnagBilance + WHERE CodBilancia = @Flusso +) +-- ...sennò lo creo... +IF(@numFlu = 0) + BEGIN + -- se c'è inserisco in tab + INSERT INTO AnagBilance(CodBilancia, DescrImpianto, CodCS) + VALUES (@Flusso, @Flusso, @CodCS) + END +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- Ciclo principale x edit record +------------------------------------------------------------------------------------------------------ +BEGIN TRAN + + -- elimino vecchio record parent/child + DELETE FROM RelazUDC + WHERE (UDC_child = @UDC_edit) + + -- modifico il record + UPDATE ElencoCartellini + SET CodCS = @CodCS, CodCliente = @CodCliente, RagSociale = @RagSociale, Particolare = @Particolare, DescParticolare = @DescParticolare, + DisegnoGrezzo = @DisegnoGrezzo, Esponente = @Esponente, CodImpianto = @CodImpianto, DescImpianto = @DescImpianto, CodStampo = @CodStampo, + Figura = @Figura, DataFus = @DataFus, TurnoFus = @TurnoFus, CodImballo = @CodImballo, CodSoggetto = @CodSoggetto, NumCont = @NumCont, + Tara = @Tara, Qta = @Qta, CodStato = @CodStato, IdxPosizione = @IdxPosizione, PesoTot = @PesoTot, PesoCad = @PesoCad, ModDate = GETDATE(), Note = @Note + WHERE UDC = @UDC_edit + + -- inserisco relazione parent-child tra UDC vecchio (tara) e nuovo (pesa) + INSERT INTO RelazUDC(UDC_parent, UDC_child) + VALUES (@UDC_parent, @UDC_edit) +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- restituisco la tab dati con l'udc appena inserito +------------------------------------------------------------------------------------------------------ +SELECT * +FROM ElencoCartellini +WHERE UDC = @UDC_edit +------------------------------------------------------------------------------------------------------ + +RETURN +go + +/*************************************** +* STORED stp_UDC_updateIdxPosizione +* +* aggiorna un cartellino x la sua posizione logica +* +* Steamware, S.E.L. +* mod: 2010.06.12 +* +****************************************/ +alter PROCEDURE stp_UDC_updateIdxPosizione +( + @UDC VARCHAR(50), + @IdxPosizione INT +) +AS + + +------------------------------------------------------------------------------------------------------ +-- Ciclo principale x edit record +------------------------------------------------------------------------------------------------------ +BEGIN TRAN + + -- modifico il record + UPDATE ElencoCartellini + SET IdxPosizione = @IdxPosizione, ModDate = GETDATE() + WHERE UDC = @UDC + +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- restituisco la tab dati con l'udc appena inserito +------------------------------------------------------------------------------------------------------ +SELECT * +FROM ElencoCartellini +WHERE UDC = @UDC +------------------------------------------------------------------------------------------------------ + +RETURN +go + +/*************************************** +* STORED stp_UDC_updateQty +* +* aggiorna un cartellino x la sua quantità +* +* Steamware, S.E.L. +* mod: 2010.06.12 +* +****************************************/ +alter PROCEDURE stp_UDC_updateQty +( + @UDC VARCHAR(50), + @CodSoggetto VARCHAR(17), + @CodTipoDichiaraz CHAR(1), + @CodEvento VARCHAR(10), + @Qta DECIMAL(10,2) +) +AS + + +------------------------------------------------------------------------------------------------------ +-- Ciclo principale x edit record +------------------------------------------------------------------------------------------------------ +BEGIN TRAN + + -- modifico il record + UPDATE ElencoCartellini + SET Qta = @Qta, ModDate = GETDATE() + WHERE UDC = @UDC + +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- restituisco la tab dati con l'udc appena inserito +------------------------------------------------------------------------------------------------------ +SELECT * +FROM ElencoCartellini +WHERE UDC = @UDC +------------------------------------------------------------------------------------------------------ + +RETURN +go + +/*************************************** +* STORED stp_updateByBilancia +* +* aggiorna i dati a partire dalla segnalazione conteggio pezzi della bilancia +* +* Steamware, S.E.L. +* mod: 2010.03.19 +* +****************************************/ +alter PROCEDURE stp_updateByBilancia +( + @CodCompany VARCHAR(4), + @UDC VARCHAR(50), + @CodArticolo VARCHAR(50), + @qta INT +) +AS + +------------------------------------------------------------------------------------------------------ +-- Articoli +------------------------------------------------------------------------------------------------------ +DECLARE @numArt AS INT +-- controllo se esista il cod articolo o lo creo +SET @numArt = ( + SELECT count(*) + FROM AnagArticoli + WHERE CodArticolo = @CodArticolo +) +-- ...sennò lo creo... +IF(@numArt = 0) + BEGIN + INSERT INTO AnagArticoli(CodArticolo, DescrArticolo, Figura) + VALUES (@CodArticolo, @CodArticolo, 'ND') + END +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- ODP = articolo +------------------------------------------------------------------------------------------------------ +DECLARE @numOdp AS INT +-- controllo se esiste l'ODP = articolo... +SET @numOdp = ( + SELECT count(*) + FROM AnagOdp + WHERE CodCompany = @CodCompany + AND ODP = @CodArticolo +) +-- ...sennò lo creo... +IF(@numOdp = 0) + BEGIN + -- se c'è inserisco in tab + INSERT INTO AnagOdp(CodCompany, ODP, CodArticolo, Esponente, CodDisegno, Magazzino, Ubicazione, CreateDate, ModDate) + VALUES (@CodCompany, @CodArticolo, @CodArticolo, 'ND', 'ND', 'WIP', 'ND', GETDATE(), GETDATE()) + END +------------------------------------------------------------------------------------------------------ + + +------------------------------------------------------------------------------------------------------ +-- UDC +------------------------------------------------------------------------------------------------------ +-- aggiorno lo stato UDC +UPDATE TabStatoOdpUdc +SET Qta = @Qta, ODP = @CodArticolo +WHERE UDC = @UDC +------------------------------------------------------------------------------------------------------ + + +------------------------------------------------------------------------------------------------------ +-- restituisco la tab dati con l'udc appena inserit0 +------------------------------------------------------------------------------------------------------ +SELECT * +FROM TabStatoOdpUdc +WHERE UDC = @UDC +------------------------------------------------------------------------------------------------------ + +RETURN +go + +commit; +go + + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(408, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.2/GMW_00409.sql b/GMW_data/SqlScripts/V1.2/GMW_00409.sql new file mode 100644 index 00000000..6bb58ea6 --- /dev/null +++ b/GMW_data/SqlScripts/V1.2/GMW_00409.sql @@ -0,0 +1,822 @@ +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +create VIEW v_RapQualNote +AS +SELECT rq.nRapQual, rq.DataRapQual, rq.ProgUDC, rq.CodFor, rq.DestTerz, rq.CodLega, rq.DataPrelFus, rq.TurnoPrelFus, rq.Qta, rq.DestLega, rq.LegaScaric, rq.BenesQual, + rq.UDC, ISNULL(ec.Note, N'') AS Note +FROM dbo.ElencoCartellini AS ec INNER JOIN + RilPro.RapQual AS rq ON ec.UDC = rq.UDC +go + +exec sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "ec" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 336 + Right = 208 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "rq" + Begin Extent = + Top = 15 + Left = 364 + Bottom = 298 + Right = 534 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 40 + Width = 284 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1', 'SCHEMA', 'dbo', 'VIEW', 'v_RapQualNote'; +go + +exec sp_addextendedproperty 'MS_DiagramPane2', '170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_RapQualNote'; +go + +exec sp_addextendedproperty 'MS_DiagramPaneCount', 2, 'SCHEMA', 'dbo', 'VIEW', 'v_RapQualNote'; +go + +alter VIEW v_UdcDetail +AS +SELECT dbo.ElencoCartellini.UDC, ISNULL(dbo.ElencoCartellini.RagSociale, N'') AS RagSociale, ISNULL(dbo.ElencoCartellini.Particolare, N'') AS Particolare, + ISNULL(dbo.ElencoCartellini.DescParticolare, N'') AS DescParticolare, ISNULL(dbo.ElencoCartellini.DisegnoGrezzo, N'') AS DisegnoGrezzo, + ISNULL(dbo.ElencoCartellini.Esponente, N'') AS Esponente, ISNULL(dbo.ElencoCartellini.DescImpianto, N'') AS DescImpianto, ISNULL(dbo.ElencoCartellini.DataFus, + N'') AS DataFus, ISNULL(dbo.ElencoCartellini.TurnoFus, 0) AS TurnoFus, dbo.ElencoCartellini.CodImballo, dbo.ElencoCartellini.Qta, + ISNULL(dbo.AnagStatiProdotto.DescStato, N'') AS DescStato, dbo.ElencoCartellini.ModDate, ISNULL(dbo.Blocchi.CodMag, N'') AS CodMag, + ISNULL(dbo.Blocchi.CodBlocco, N'') AS CodBlocco, ISNULL(dbo.Celle.CodCella, N'') AS CodCella, ISNULL(dbo.Celle.IdxCella, 0) AS IdxCella, ISNULL(dbo.Celle.X, 0) + AS X, ISNULL(dbo.Celle.Y, 0) AS Y, ISNULL(dbo.Celle.Z, 0) AS Z, dbo.ElencoCartellini.IdxPosizione, dbo.ElencoCartellini.Note +FROM dbo.AnagStatiProdotto RIGHT OUTER JOIN + dbo.ElencoCartellini ON dbo.AnagStatiProdotto.CodStato = dbo.ElencoCartellini.CodStato AND + dbo.AnagStatiProdotto.CodStato = dbo.ElencoCartellini.CodStato LEFT OUTER JOIN + dbo.Celle INNER JOIN + dbo.PosizioneUdcCorrente ON dbo.Celle.IdxCella = dbo.PosizioneUdcCorrente.IdxCella AND dbo.Celle.IdxCella = dbo.PosizioneUdcCorrente.IdxCella AND + dbo.Celle.IdxCella = dbo.PosizioneUdcCorrente.IdxCella INNER JOIN + dbo.Blocchi ON dbo.Celle.IdxBlocco = dbo.Blocchi.IdxBlocco INNER JOIN + dbo.AnagMag ON dbo.Blocchi.CodMag = dbo.AnagMag.CodMag AND dbo.Blocchi.CodCS = dbo.AnagMag.CodCS AND + dbo.Blocchi.CodMag = dbo.AnagMag.CodMag AND dbo.Blocchi.CodCS = dbo.AnagMag.CodCS AND dbo.Blocchi.CodMag = dbo.AnagMag.CodMag AND + dbo.Blocchi.CodCS = dbo.AnagMag.CodCS ON dbo.ElencoCartellini.UDC = dbo.PosizioneUdcCorrente.UDC +go + +exec sp_updateextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "AnagStatiProdotto" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 101 + Right = 208 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "ElencoCartellini" + Begin Extent = + Top = 6 + Left = 246 + Bottom = 309 + Right = 416 + End + DisplayFlags = 280 + TopColumn = 12 + End + Begin Table = "Celle" + Begin Extent = + Top = 27 + Left = 818 + Bottom = 156 + Right = 988 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "PosizioneUdcCorrente" + Begin Extent = + Top = 71 + Left = 548 + Bottom = 200 + Right = 718 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "Blocchi" + Begin Extent = + Top = 70 + Left = 1080 + Bottom = 199 + Right = 1250 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "AnagMag" + Begin Extent = + Top = 188 + Left = 799 + Bottom = 334 + Right = 969 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 22 + Width = 284 + Width = 15', 'SCHEMA', 'dbo', 'VIEW', 'v_UdcDetail'; +go + +commit; +go + + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/*************************************** +* STORED stp_getUdcDetailFullCode +* +* ottiene l'elenco degli UDC con i dati significativi partendo da un codice UDC COMPLETO +* +* Steamware, S.E.L. +* mod: 2010.05.24 +* +****************************************/ +alter PROCEDURE stp_getUdcDetailFullCode +( + @UDC VARCHAR(50), + @CodCS VARCHAR(2) +) +AS + +SELECT ec.UDC, ISNULL(ec.RagSociale, N'nd') AS RagSociale, ISNULL(ec.Particolare, N'nd') AS Particolare, + ISNULL(ec.DescParticolare, N'nd') AS DescParticolare, ISNULL(ec.DisegnoGrezzo, N'nd') AS DisegnoGrezzo, + ISNULL(ec.Esponente, N'nd') AS Esponente, ISNULL(ec.DescImpianto, N'nd') AS DescImpianto, + ISNULL(ec.DataFus, N'') AS DataFus, ISNULL(ec.TurnoFus, 0) AS TurnoFus, ec.CodImballo, + ec.Qta, ISNULL(AnagStatiProdotto.DescStato, N'nd') AS DescStato, ec.ModDate, + CASE WHEN(ec.IdxPosizione < 0) THEN 'Consum' ELSE ISNULL(Blocchi.CodMag, N'nd') END AS CodMag, + ISNULL(Blocchi.CodBlocco, N'nd') AS CodBlocco, ISNULL(Celle.CodCella, N'nd') AS CodCella, ISNULL(dbo.Celle.IdxCella, 0) AS IdxCella, + ISNULL(Celle.X, 0) AS X, ISNULL(Celle.Y, 0) AS Y, ISNULL(Celle.Z, 0) AS Z, ec.IdxPosizione, ISNULL(ec.Note,'') AS Note +FROM AnagStatiProdotto RIGHT OUTER JOIN + ElencoCartellini ec ON AnagStatiProdotto.CodStato = ec.CodStato AND AnagStatiProdotto.CodStato = ec.CodStato + LEFT OUTER JOIN Celle INNER JOIN PosizioneUdcCorrente ON Celle.IdxCella = PosizioneUdcCorrente.IdxCella + AND Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND Celle.IdxCella = PosizioneUdcCorrente.IdxCella + INNER JOIN Blocchi ON Celle.IdxBlocco = Blocchi.IdxBlocco INNER JOIN AnagMag ON Blocchi.CodMag = AnagMag.CodMag + AND Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag + AND Blocchi.CodCS = AnagMag.CodCS ON ec.UDC = PosizioneUdcCorrente.UDC +WHERE (ec.UDC = @UDC) AND (ec.CodCS = @CodCS) + +RETURN +go + +/*************************************** +* STORED stp_getUdcDetailFullCode +* +* ottiene l'elenco degli UDC con i dati significativi partendo da un valore da cercare come LIKE in +* - UDC +* - Particolare +* +* Steamware, S.E.L. +* mod: 2010.05.24 +* +****************************************/ +alter PROCEDURE stp_getUdcDetailLikeSearch +( + @searchVal VARCHAR(50), + @CodCS VARCHAR(2) +) +AS + +SELECT ElencoCartellini.UDC, 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.DescImpianto, N'') AS DescImpianto, + ISNULL(ElencoCartellini.DataFus, N'') AS DataFus, ISNULL(ElencoCartellini.TurnoFus, 0) AS TurnoFus, ElencoCartellini.CodImballo, + ElencoCartellini.Qta, ISNULL(AnagStatiProdotto.DescStato, N'') AS DescStato, ElencoCartellini.ModDate, + ISNULL(Blocchi.CodMag, N'') AS CodMag, ISNULL(Blocchi.CodBlocco, N'') AS CodBlocco, ISNULL(Celle.CodCella, N'') AS CodCella, + ISNULL(dbo.Celle.IdxCella, 0) AS IdxCella, ISNULL(Celle.X, 0) AS X, ISNULL(Celle.Y, 0) AS Y, ISNULL(Celle.Z, 0) AS Z, ElencoCartellini.IdxPosizione, + ISNULL(ElencoCartellini.Note, '') AS Note +FROM AnagStatiProdotto RIGHT OUTER JOIN ElencoCartellini + ON AnagStatiProdotto.CodStato = ElencoCartellini.CodStato AND AnagStatiProdotto.CodStato = ElencoCartellini.CodStato + LEFT OUTER JOIN Celle INNER JOIN PosizioneUdcCorrente + ON Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND + Celle.IdxCella = PosizioneUdcCorrente.IdxCella INNER JOIN + Blocchi ON Celle.IdxBlocco = Blocchi.IdxBlocco INNER JOIN + AnagMag ON Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND + Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS ON + ElencoCartellini.UDC = PosizioneUdcCorrente.UDC +WHERE (ElencoCartellini.CodCS = @CodCS) AND + ((ElencoCartellini.UDC like '%'+ @searchVal+'%') OR (ElencoCartellini.Particolare like '%'+ @searchVal+'%') OR + (ElencoCartellini.RagSociale like '%'+ @searchVal+'%')) + +RETURN +go + +commit; +go + + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/*************************************** +* STORED stp_prtCartMatPrimaByUDC +* +* ottiene il record del Cartellino Materia Prima dato l'UDC richiesto x la stampa +* +****************************************/ +alter PROCEDURE stp_prtCartMatPrimaByUDC +( + @UDC VARCHAR(50) +) +AS +SELECT + RQ.nRapQual, + RQ.DataRapQual, + RQ.ProgUDC, + RQ.CodFor, + RQ.DestTerz, + RQ.CodLega, + RQ.DataPrelFus, + RQ.TurnoPrelFus, + RQ.Qta, + RQ.DestLega, + RQ.LegaScaric, + RQ.BenesQual, + RQ.UDC, + Fo.DescFornitore, + Fo.DescFornitore2, + Le.CodLega AS CodLega2, + Le.DescLega, + Le.DescLega2, + ISNULL(ec.Note,'') AS Note +FROM RilPro.RapQual AS RQ +LEFT JOIN RilPro.AnagFornitori AS Fo + ON RQ.CodFor = Fo.CodFornitore +LEFT JOIN RilPro.AnagLeghe Le + ON RQ.CodLega = 'L' + Le.CodLega +LEFT JOIN ElencoCartellini ec + ON RQ.UDC = ec.UDC +WHERE RQ.UDC = RTRIM(@UDC) -- 'UB31000000001' + +RETURN +go + +/***************************************** +* STORED stp_RQN_getByRQ +* +* Recupera dati Rapporto Qualità + note da cod rapporto qualità +* +* Steamware, S.E.L. +* mod: 2012.02.14 +* +****************************************/ +create PROCEDURE stp_RQN_getByRQ +( + @nRapQual NUMERIC(6,0) +) +AS + +SELECT nRapQual, DataRapQual, ProgUDC, CodFor, DestTerz, CodLega, DataPrelFus, TurnoPrelFus, Qta, DestLega, LegaScaric, BenesQual, UDC, Note +FROM v_RapQualNote +WHERE (nRapQual = @nRapQual) + +RETURN +go + +commit; +go + + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/*************************************** +* STORED stp_UdcDetailGetByIdxBlocco +* +* ottiene l'elenco degli UDC con dettaglio posizioni OCCUPATE associati ad un dato blocco di magazzino +* +* Steamware, S.E.L. +* mod: 2010.07.19 +* +****************************************/ +alter PROCEDURE stp_UdcDetailGetByIdxBlocco +( + @IdxBlocco INT +) +AS + +SELECT ElencoCartellini.UDC, ElencoCartellini.RagSociale, ElencoCartellini.Particolare, ElencoCartellini.DescParticolare, + ElencoCartellini.DisegnoGrezzo, ElencoCartellini.Esponente, ElencoCartellini.DescImpianto, ElencoCartellini.DataFus, + ElencoCartellini.TurnoFus, ElencoCartellini.CodImballo, ElencoCartellini.Qta, AnagStatiProdotto.DescStato, + ElencoCartellini.ModDate, ISNULL(Blocchi.CodMag, N'') AS CodMag, ISNULL(Blocchi.CodBlocco, N'') AS CodBlocco, + ISNULL(Celle.CodCella, N'') AS CodCella, ISNULL(dbo.Celle.IdxCella, 0) AS IdxCella, + ISNULL(Celle.X, 0) AS X, ISNULL(Celle.Y, 0) AS Y, ISNULL(Celle.Z, 0) AS Z, ElencoCartellini.IdxPosizione, ISNULL(ElencoCartellini.Note,'') AS Note +FROM Celle INNER JOIN + PosizioneUdcCorrente ON Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND + Celle.IdxCella = PosizioneUdcCorrente.IdxCella INNER JOIN + Blocchi ON Celle.IdxBlocco = Blocchi.IdxBlocco INNER JOIN + AnagMag ON Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND + Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS INNER JOIN + ElencoCartellini ON PosizioneUdcCorrente.UDC = ElencoCartellini.UDC LEFT OUTER JOIN + AnagStatiProdotto ON ElencoCartellini.CodStato = AnagStatiProdotto.CodStato AND ElencoCartellini.CodStato = AnagStatiProdotto.CodStato +WHERE (Celle.IdxBlocco = @IdxBlocco) + +RETURN +go + +/*************************************** +* STORED stp_UdcDetailGetByIdxBloccoCodMagLog +* +* ottiene l'elenco degli UDC con dettaglio posizioni OCCUPATE associati ad un dato blocco di magazzino ed ad un dato STATO LOGICO +* +* Steamware, S.E.L. +* mod: 2010.09.15 +* +****************************************/ +alter PROCEDURE stp_UdcDetailGetByIdxBloccoCodMagLog +( + @IdxBlocco INT, + @CodMagLog INT +) +AS + +SELECT ElencoCartellini.UDC, ElencoCartellini.RagSociale, ElencoCartellini.Particolare, ElencoCartellini.DescParticolare, + ElencoCartellini.DisegnoGrezzo, ElencoCartellini.Esponente, ElencoCartellini.DescImpianto, ElencoCartellini.DataFus, + ElencoCartellini.TurnoFus, ElencoCartellini.CodImballo, ElencoCartellini.Qta, AnagStatiProdotto.DescStato, + ElencoCartellini.ModDate, ISNULL(Blocchi.CodMag, N'') AS CodMag, ISNULL(Blocchi.CodBlocco, N'') AS CodBlocco, + ISNULL(Celle.CodCella, N'') AS CodCella, ISNULL(dbo.Celle.IdxCella, 0) AS IdxCella, + ISNULL(Celle.X, 0) AS X, ISNULL(Celle.Y, 0) AS Y, ISNULL(Celle.Z, 0) AS Z, ElencoCartellini.IdxPosizione, ISNULL(ElencoCartellini.Note,'') AS Note +FROM Celle INNER JOIN + PosizioneUdcCorrente ON Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND + Celle.IdxCella = PosizioneUdcCorrente.IdxCella INNER JOIN + Blocchi ON Celle.IdxBlocco = Blocchi.IdxBlocco INNER JOIN + AnagMag ON Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND + Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS INNER JOIN + ElencoCartellini ON PosizioneUdcCorrente.UDC = ElencoCartellini.UDC LEFT OUTER JOIN + AnagStatiProdotto ON ElencoCartellini.CodStato = AnagStatiProdotto.CodStato AND ElencoCartellini.CodStato = AnagStatiProdotto.CodStato +WHERE (Celle.IdxBlocco = @IdxBlocco) AND ElencoCartellini.IdxPosizione = @CodMagLog + +RETURN +go + +/*************************************** +* STORED stp_UdcDetailGetByIdxCella +* +* ottiene l'elenco degli UDC con dettaglio per una data cella +* +* Steamware, S.E.L. +* mod: 2010.07.20 +* +****************************************/ +alter PROCEDURE stp_UdcDetailGetByIdxCella +( + @IdxCella INT +) +AS + +SELECT ElencoCartellini.UDC, ElencoCartellini.RagSociale, ElencoCartellini.Particolare, ElencoCartellini.DescParticolare, + ElencoCartellini.DisegnoGrezzo, ElencoCartellini.Esponente, ElencoCartellini.DescImpianto, ElencoCartellini.DataFus, + ElencoCartellini.TurnoFus, ElencoCartellini.CodImballo, ElencoCartellini.Qta, AnagStatiProdotto.DescStato, + ElencoCartellini.ModDate, ISNULL(Blocchi.CodMag, N'') AS CodMag, ISNULL(Blocchi.CodBlocco, N'') AS CodBlocco, + ISNULL(Celle.CodCella, N'') AS CodCella, ISNULL(dbo.Celle.IdxCella, 0) AS IdxCella, + ISNULL(Celle.X, 0) AS X, ISNULL(Celle.Y, 0) AS Y, ISNULL(Celle.Z, 0) AS Z, ElencoCartellini.IdxPosizione, ISNULL(ElencoCartellini.Note,'') AS Note +FROM Celle INNER JOIN + PosizioneUdcCorrente ON Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND + Celle.IdxCella = PosizioneUdcCorrente.IdxCella INNER JOIN + Blocchi ON Celle.IdxBlocco = Blocchi.IdxBlocco INNER JOIN + AnagMag ON Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND + Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS INNER JOIN + ElencoCartellini ON PosizioneUdcCorrente.UDC = ElencoCartellini.UDC LEFT OUTER JOIN + AnagStatiProdotto ON ElencoCartellini.CodStato = AnagStatiProdotto.CodStato AND ElencoCartellini.CodStato = AnagStatiProdotto.CodStato +WHERE (Celle.IdxCella = @IdxCella) + +RETURN +go + +commit; +go + + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/***************************************** +* STORED stp_UDC_delete_byRdQ +* +* Elimina gli UDC associati ad un rapporto di qualità dato rapporto qualità +* +* Steamware, S.E.L. +* mod: 2012.02.14 +* +****************************************/ +create PROCEDURE stp_UDC_delete_byRdQ +( + @nRapQual NUMERIC(6,0), + @ExecBatchInter BIT -- 0 Eseguita in Batch , 1 in Interattivo +) +AS + +--- DA TESTARE!!!! + +/*--------------------------------------- +- Query x eliminazione UDC e tab +- collegate dato un Rapp di Qualità +---------------------------------------*/ + +/* NON FUNZIONA A CAUSA DEI TRIGGER +WITH cte AS -- Tutti i cartellini su AS400 annullati che hanno un cartellino in RilPro +( +SELECT r.UDC +FROM RilPro.RapQual AS r +INNER JOIN dbo.ElencoCartellini AS e +ON r.UDC = e.UDC +WHERE r.BenesQual = 'A' +) + -- Cancello la posizione degli UDC a magazzino + DELETE dbo.PosizioneUdcCorrente + FROM dbo.PosizioneUdcCorrente AS P + INNER JOIN RilPro.RapQual AS r + ON p.UDC = r.UDC + WHERE r.nRapQual = @nRapQual + -- SELECT * FROM dbo.PosizioneUdcCorrente WHERE r.nRapQual = @nRapQual + + -- Se non sono ancora scaricati cancello il record movimento di scarico materia prima + + DELETE dbo.AS400_BatchConsumoMP + FROM dbo.AS400_BatchConsumoMP AS b + INNER JOIN RilPro.RapQual AS r + ON b.UDC = r.UDC + WHERE r.nRapQual = @nRapQual AND b.DataInvioAs IS NULL + + SELECT * FROM dbo.AS400_BatchConsumoMP + + -- Cancellazione Cartellini Materia Prima di un Rapporto qualità + SELECT * FROM dbo.ElencoCartellini +*/ + +SET NOCOUNT ON; +SET ANSI_NULLS OFF; +SET XACT_ABORT ON; -- Se c'è un errore fa il rollback di tutta la transazione e non solo quella in errore +SET LOCK_TIMEOUT 60000; -- 1 min - Setto il tempo massimo di attesa del lock della tabella che è valido solo per la durata + -- della connessione e di default è settato a -1 (infinito). ATTENZIONE che se viene dato un errore + -- di lock deve essere controllato + +IF EXISTS ( SELECT UDC FROM RilPro.RapQual WHERE nRapQual = @nRapQual ) +BEGIN + BEGIN TRY; + + BEGIN TRANSACTION; + + -- ============================================================== + -- Cancella tutti gli UDC di un RQ cancellato su AS400 + -- ============================================================== + SELECT ROW_NUMBER() OVER (ORDER BY UDC) AS Riga,* + INTO #Temp + FROM [SP_GMW].[RilPro].[RapQual] + WHERE nRapQual = @nRapQual; -- Rapporto di qualità da cancellare + -- SELECT * FROM #Temp + + DECLARE @Riga As INT , @Fine As INT , @UDC nVarchar(50); + SET @Riga = 1; + SELECT @Fine = MAX(Riga) FROM #Temp; + + WHILE @Riga <= @Fine + BEGIN + SELECT @UDC = UDC FROM #Temp WHERE Riga = @Riga; + + DELETE dbo.PosizioneUdcCorrente WHERE UDC = @UDC + DELETE dbo.RelazUDC WHERE UDC_child = @UDC + DELETE dbo.RelazUDC WHERE UDC_parent = @UDC + DELETE dbo.ElencoCartellini WHERE UDC = @UDC + + -- sgancio il cartellino AS400 da quello GMW ( cancellato ) + UPDATE RilPro.RapQual SET UDC = NULL WHERE UDC = @UDC + + --SELECT * FROM dbo.PosizioneUdcCorrente WHERE UDC = @UDC + --SELECT * FROM dbo.RelazUDC WHERE UDC_child = @UDC + --SELECT * FROM dbo.ElencoCartellini WHERE UDC = @UDC + --SELECT * FROM RilPro.RapQual WHERE UDC = @UDC + + SET @Riga = @Riga + 1 + -- SELECT @UDC + END + + DROP TABLE #Temp; + + COMMIT TRANSACTION; + END TRY + + BEGIN CATCH; + + -- DA VERIFICARE es. CANCELLARE LA TABELLA TEMP se esiste + --IF (ERROR_NUMBER() = 1222) -- se vi è un lock per troppo tempo + -- BEGIN; + -- ROLLBACK TRANSACTION; + -- PRINT 'Tabella Bloccata'; -- Segnalo l'errore specifico di lock + -- END; + --ELSE + -- PRINT 'Errore Generico'; -- se l'errore non è un deadlock esco dal WHILE + + IF XACT_STATE() <> 0 -- se vi sono transazioni aperte faccio il rollback + ROLLBACK TRANSACTION; + + -- Uso RAISERROR mandare in errore la procedura e x per tornare le info + -- sull'errore originale che ha portato l'esecuzione nel blocco CATCH + DECLARE @ErrorMessage NVARCHAR(4000); + DECLARE @ErrorSeverity INT; + DECLARE @ErrorState INT; + SELECT @ErrorMessage = ERROR_MESSAGE(),@ErrorSeverity = ERROR_SEVERITY(),@ErrorState = ERROR_STATE(); + + IF @ExecBatchInter = 0 -- Sollevo errore solo se richiesto dai parametri + RAISERROR (@ErrorMessage,@ErrorSeverity,@ErrorState); -- Se non uso RAISERROR la procedura non mi da errore es. se schedulata + + END CATCH; + +END + +RETURN +go + +/***************************************** +* STORED stp_UDC_updateNoteByRQ +* +* Aggiorna note UDC dato il rapp di qualità cui sono legate +* +* Steamware, S.E.L. +* mod: 2012.02.14 +* +****************************************/ +create PROCEDURE stp_UDC_updateNoteByRQ +( + @nRapQual NUMERIC(6,0), + @note NVARCHAR(500) +) +AS + +UPDATE ElencoCartellini +SET note = @note +FROM ElencoCartellini AS ec INNER JOIN v_RapQualNote AS rq ON ec.UDC = rq.UDC +WHERE (rq.nRapQual = @nRapQual) + +RETURN +go + +commit; +go + + + + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(408, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.2/GMW_00414.sql b/GMW_data/SqlScripts/V1.2/GMW_00414.sql new file mode 100644 index 00000000..74b23e73 --- /dev/null +++ b/GMW_data/SqlScripts/V1.2/GMW_00414.sql @@ -0,0 +1,193 @@ +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/*************************************** +* STORED stp_Blocchi_Insert +* +* crea nuovo record blocchi magazzino +* +* Steamware, S.E.L. +* mod: 2012.02.29 +* +****************************************/ +create PROCEDURE stp_Blocchi_Insert +( + + @CodMag NVARCHAR(50), + @CodCS NVARCHAR(2), + @CodBlocco NVARCHAR(3), + @DescBlocco NVARCHAR(50), + @NumX INT, + @NumY INT, + @NumZ INT +) +AS + + INSERT INTO Blocchi (CodMag, CodCS, CodBlocco, DescBlocco, NumX, NumY, NumZ) + VALUES (@CodMag, @CodCS, @CodBlocco, @DescBlocco, @NumX, @NumY, @NumZ) + +RETURN +go + +commit; +go + + + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/*************************************** +* STORED stp_LP_getOpenByUserTipo +* +* ottiene LP aperte da soggetto e tipo +* +* Steamware, S.E.L. +* mod: 2012.03.01 +* +****************************************/ +create PROCEDURE stp_LP_getOpenByUserTipo +( + @CodSoggetto NVARCHAR(17), + @CodTipoLista NVARCHAR(10) +) +AS + + SELECT * + FROM V_elencoListePrelievo + WHERE (CodSoggetto = @CodSoggetto) AND (CodTipoLista = @CodTipoLista) + AND CodStatoLista < 3 + +RETURN +go + +/*************************************** +* STORED stp_LP_getOpenByUserTipoPart +* +* ottiene LP aperte da soggetto, tipo e particolare +* +* Steamware, S.E.L. +* mod: 2012.03.01 +* +****************************************/ +create PROCEDURE stp_LP_getOpenByUserTipoPart +( + @CodSoggetto NVARCHAR(17), + @CodTipoLista NVARCHAR(10), + @Particolare VARCHAR(15) +) +AS + + SELECT * + FROM V_elencoListePrelievo + WHERE (CodSoggetto = @CodSoggetto) AND (CodTipoLista = @CodTipoLista) AND (Particolare = @Particolare) + AND CodStatoLista < 3 + +RETURN +go + +commit; +go + + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/*************************************** +* STORED stp_RLP_deleteFromCodLista +* +* cancella righe UDC dato cod lista +* +* Steamware, S.E.L. +* mod: 2012.02.29 +* +****************************************/ +create PROCEDURE stp_RLP_deleteFromCodLista +( + @Original_CodLista AS varchar(12) +) +AS + + -- cancello + DELETE FROM RigheListePrelievo + WHERE CodLista = @Original_CodLista + +RETURN +go + +/*************************************** +* STORED stp_RLP_getByUdc +* +* ottiene RLP da UDC +* +* Steamware, S.E.L. +* mod: 2012.02.29 +* +****************************************/ +create PROCEDURE stp_RLP_getByUdc +( + @UDC VARCHAR(50) +) +AS + + SELECT * + FROM RigheListePrelievo + WHERE (UDC = @UDC) + +RETURN +go + +/*************************************** +* STORED stp_RLP_getOpenByUserTipo +* +* ottiene RLP aperte da soggetto e tipo +* +* Steamware, S.E.L. +* mod: 2012.03.01 +* +****************************************/ +create PROCEDURE stp_RLP_getOpenByUserTipo +( + @CodSoggetto NVARCHAR(17), + @CodTipoLista NVARCHAR(10) +) +AS + + SELECT RLP.* + FROM V_elencoListePrelievo LP INNER JOIN RigheListePrelievo RLP ON LP.CodLista = RLP.CodLista + WHERE (LP.CodSoggetto = @CodSoggetto) AND (LP.CodTipoLista = @CodTipoLista) + AND LP.CodStatoLista < 3 + +RETURN +go + +commit; +go + + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(414, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.2/GMW_00415.sql b/GMW_data/SqlScripts/V1.2/GMW_00415.sql new file mode 100644 index 00000000..547783fb --- /dev/null +++ b/GMW_data/SqlScripts/V1.2/GMW_00415.sql @@ -0,0 +1,7229 @@ +-- update tabelle + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.AnagBilance + VALUES (N'AN', N'Anime', N'SP') +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.AnagMag + VALUES (N'2', N'TK', N'Anime TK', 0) +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.AnagPosizioni + VALUES (-2, N'TK - Anime consumate', 0) +INSERT INTO dbo.AnagPosizioni + VALUES (2, N'TK - Anime', 0) +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.AnagStatiProdotto + VALUES (N'Wip', N'Materiale in WIP') +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.AnagTipoEvento + VALUES (N'LDP_Smart', N'LDP Smart non assegnata') +INSERT INTO dbo.AnagTipoEvento + VALUES (N'UDC_ANIMA', N'Richiesta UDC Anime') +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +set identity_insert dbo.Blocchi on +go + +INSERT INTO dbo.Blocchi + (IdxBlocco, CodMag, CodCS, CodBlocco, DescBlocco, NumX, NumY, NumZ) + VALUES (43, N'VMLP', N'TK', N'LPX', N'Area UDC per Smart LDP', 1, 1, 1) +go + +set identity_insert dbo.Blocchi off +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +set identity_insert dbo.Blocchi on +go + +INSERT INTO dbo.Blocchi + (IdxBlocco, CodMag, CodCS, CodBlocco, DescBlocco, NumX, NumY, NumZ) + VALUES (49, N'2', N'TK', N'TE', N'Terra', 1, 1, 1) +INSERT INTO dbo.Blocchi + (IdxBlocco, CodMag, CodCS, CodBlocco, DescBlocco, NumX, NumY, NumZ) + VALUES (50, N'2', N'TK', N'S01', N'Anime S01', 36, 8, 1) +INSERT INTO dbo.Blocchi + (IdxBlocco, CodMag, CodCS, CodBlocco, DescBlocco, NumX, NumY, NumZ) + VALUES (51, N'2', N'TK', N'S02', N'Anime S02', 36, 8, 1) +INSERT INTO dbo.Blocchi + (IdxBlocco, CodMag, CodCS, CodBlocco, DescBlocco, NumX, NumY, NumZ) + VALUES (52, N'2', N'TK', N'S03', N'Anime S03', 36, 8, 1) +INSERT INTO dbo.Blocchi + (IdxBlocco, CodMag, CodCS, CodBlocco, DescBlocco, NumX, NumY, NumZ) + VALUES (53, N'2', N'TK', N'S04', N'Anime S04', 36, 8, 1) +INSERT INTO dbo.Blocchi + (IdxBlocco, CodMag, CodCS, CodBlocco, DescBlocco, NumX, NumY, NumZ) + VALUES (54, N'2', N'TK', N'S05', N'Anime S05', 36, 8, 1) +INSERT INTO dbo.Blocchi + (IdxBlocco, CodMag, CodCS, CodBlocco, DescBlocco, NumX, NumY, NumZ) + VALUES (55, N'2', N'TK', N'S06', N'Anime S06', 36, 8, 1) +INSERT INTO dbo.Blocchi + (IdxBlocco, CodMag, CodCS, CodBlocco, DescBlocco, NumX, NumY, NumZ) + VALUES (56, N'2', N'TK', N'S07', N'Anime S07', 36, 8, 1) +INSERT INTO dbo.Blocchi + (IdxBlocco, CodMag, CodCS, CodBlocco, DescBlocco, NumX, NumY, NumZ) + VALUES (57, N'2', N'TK', N'S08', N'Anime S08', 36, 8, 1) +go + +set identity_insert dbo.Blocchi off +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +set identity_insert dbo.TipoCella on +go + +INSERT INTO dbo.TipoCella + (IdxTipoCella, CodMag, CodCS, Quantita, Capienza, Max_X, Max_Y, Max_Z, Max_Kg, CheckPiena, SetMag) + VALUES (24, N'2', N'TK', 1, 1000, 850, 900, 1300, 1000, 0, 1) +INSERT INTO dbo.TipoCella + (IdxTipoCella, CodMag, CodCS, Quantita, Capienza, Max_X, Max_Y, Max_Z, Max_Kg, CheckPiena, SetMag) + VALUES (25, N'2', N'TK', 1, 1, 850, 900, 1300, 1000, 1, 1) +go + +set identity_insert dbo.TipoCella off +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +set identity_insert dbo.Celle on +go + +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3891, N'TK', N'LPX010101', 13, N'-', 1, 0, 43, 1, 1, 1) +go + +set identity_insert dbo.Celle off +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +set identity_insert dbo.Celle on +go + +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3892, N'TK', N'TE010101', 24, N'-', 1, 0, 49, 1, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3893, N'TK', N'S01010101', 25, N'-', 1, 0, 50, 1, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3894, N'TK', N'S01010201', 25, N'-', 1, 0, 50, 1, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3895, N'TK', N'S01010301', 25, N'-', 1, 0, 50, 1, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3896, N'TK', N'S01010401', 25, N'-', 1, 0, 50, 1, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3897, N'TK', N'S01010501', 25, N'-', 1, 0, 50, 1, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3898, N'TK', N'S01010601', 25, N'-', 1, 0, 50, 1, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3899, N'TK', N'S01010701', 25, N'-', 1, 0, 50, 1, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3900, N'TK', N'S01010801', 25, N'-', 1, 0, 50, 1, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3901, N'TK', N'S01020101', 25, N'-', 1, 0, 50, 2, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3902, N'TK', N'S01020201', 25, N'-', 1, 0, 50, 2, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3903, N'TK', N'S01020301', 25, N'-', 1, 0, 50, 2, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3904, N'TK', N'S01020401', 25, N'-', 1, 0, 50, 2, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3905, N'TK', N'S01020501', 25, N'-', 1, 0, 50, 2, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3906, N'TK', N'S01020601', 25, N'-', 1, 0, 50, 2, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3907, N'TK', N'S01020701', 25, N'-', 1, 0, 50, 2, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3908, N'TK', N'S01020801', 25, N'-', 1, 0, 50, 2, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3909, N'TK', N'S01030101', 25, N'-', 1, 0, 50, 3, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3910, N'TK', N'S01030201', 25, N'-', 1, 0, 50, 3, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3911, N'TK', N'S01030301', 25, N'-', 1, 0, 50, 3, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3912, N'TK', N'S01030401', 25, N'-', 1, 0, 50, 3, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3913, N'TK', N'S01030501', 25, N'-', 1, 0, 50, 3, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3914, N'TK', N'S01030601', 25, N'-', 1, 0, 50, 3, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3915, N'TK', N'S01030701', 25, N'-', 1, 0, 50, 3, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3916, N'TK', N'S01030801', 25, N'-', 1, 0, 50, 3, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3917, N'TK', N'S01040101', 25, N'-', 1, 0, 50, 4, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3918, N'TK', N'S01040201', 25, N'-', 1, 0, 50, 4, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3919, N'TK', N'S01040301', 25, N'-', 1, 0, 50, 4, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3920, N'TK', N'S01040401', 25, N'-', 1, 0, 50, 4, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3921, N'TK', N'S01040501', 25, N'-', 1, 0, 50, 4, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3922, N'TK', N'S01040601', 25, N'-', 1, 0, 50, 4, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3923, N'TK', N'S01040701', 25, N'-', 1, 0, 50, 4, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3924, N'TK', N'S01040801', 25, N'-', 1, 0, 50, 4, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3925, N'TK', N'S01050101', 25, N'-', 1, 0, 50, 5, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3926, N'TK', N'S01050201', 25, N'-', 1, 0, 50, 5, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3927, N'TK', N'S01050301', 25, N'-', 1, 0, 50, 5, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3928, N'TK', N'S01050401', 25, N'-', 1, 0, 50, 5, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3929, N'TK', N'S01050501', 25, N'-', 1, 0, 50, 5, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3930, N'TK', N'S01050601', 25, N'-', 1, 0, 50, 5, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3931, N'TK', N'S01050701', 25, N'-', 1, 0, 50, 5, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3932, N'TK', N'S01050801', 25, N'-', 1, 0, 50, 5, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3933, N'TK', N'S01060101', 25, N'-', 1, 0, 50, 6, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3934, N'TK', N'S01060201', 25, N'-', 1, 0, 50, 6, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3935, N'TK', N'S01060301', 25, N'-', 1, 0, 50, 6, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3936, N'TK', N'S01060401', 25, N'-', 1, 0, 50, 6, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3937, N'TK', N'S01060501', 25, N'-', 1, 0, 50, 6, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3938, N'TK', N'S01060601', 25, N'-', 1, 0, 50, 6, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3939, N'TK', N'S01060701', 25, N'-', 1, 0, 50, 6, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3940, N'TK', N'S01060801', 25, N'-', 1, 0, 50, 6, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3941, N'TK', N'S01070101', 25, N'-', 1, 0, 50, 7, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3942, N'TK', N'S01070201', 25, N'-', 1, 0, 50, 7, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3943, N'TK', N'S01070301', 25, N'-', 1, 0, 50, 7, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3944, N'TK', N'S01070401', 25, N'-', 1, 0, 50, 7, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3945, N'TK', N'S01070501', 25, N'-', 1, 0, 50, 7, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3946, N'TK', N'S01070601', 25, N'-', 1, 0, 50, 7, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3947, N'TK', N'S01070701', 25, N'-', 1, 0, 50, 7, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3948, N'TK', N'S01070801', 25, N'-', 1, 0, 50, 7, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3949, N'TK', N'S01080101', 25, N'-', 1, 0, 50, 8, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3950, N'TK', N'S01080201', 25, N'-', 1, 0, 50, 8, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3951, N'TK', N'S01080301', 25, N'-', 1, 0, 50, 8, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3952, N'TK', N'S01080401', 25, N'-', 1, 0, 50, 8, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3953, N'TK', N'S01080501', 25, N'-', 1, 0, 50, 8, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3954, N'TK', N'S01080601', 25, N'-', 1, 0, 50, 8, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3955, N'TK', N'S01080701', 25, N'-', 1, 0, 50, 8, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3956, N'TK', N'S01080801', 25, N'-', 1, 0, 50, 8, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3957, N'TK', N'S01090101', 25, N'-', 1, 0, 50, 9, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3958, N'TK', N'S01090201', 25, N'-', 1, 0, 50, 9, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3959, N'TK', N'S01090301', 25, N'-', 1, 0, 50, 9, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3960, N'TK', N'S01090401', 25, N'-', 1, 0, 50, 9, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3961, N'TK', N'S01090501', 25, N'-', 1, 0, 50, 9, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3962, N'TK', N'S01090601', 25, N'-', 1, 0, 50, 9, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3963, N'TK', N'S01090701', 25, N'-', 1, 0, 50, 9, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3964, N'TK', N'S01090801', 25, N'-', 1, 0, 50, 9, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3965, N'TK', N'S01100101', 25, N'-', 1, 0, 50, 10, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3966, N'TK', N'S01100201', 25, N'-', 1, 0, 50, 10, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3967, N'TK', N'S01100301', 25, N'-', 1, 0, 50, 10, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3968, N'TK', N'S01100401', 25, N'-', 1, 0, 50, 10, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3969, N'TK', N'S01100501', 25, N'-', 1, 0, 50, 10, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3970, N'TK', N'S01100601', 25, N'-', 1, 0, 50, 10, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3971, N'TK', N'S01100701', 25, N'-', 1, 0, 50, 10, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3972, N'TK', N'S01100801', 25, N'-', 1, 0, 50, 10, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3973, N'TK', N'S01110101', 25, N'-', 1, 0, 50, 11, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3974, N'TK', N'S01110201', 25, N'-', 1, 0, 50, 11, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3975, N'TK', N'S01110301', 25, N'-', 1, 0, 50, 11, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3976, N'TK', N'S01110401', 25, N'-', 1, 0, 50, 11, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3977, N'TK', N'S01110501', 25, N'-', 1, 0, 50, 11, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3978, N'TK', N'S01110601', 25, N'-', 1, 0, 50, 11, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3979, N'TK', N'S01110701', 25, N'-', 1, 0, 50, 11, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3980, N'TK', N'S01110801', 25, N'-', 1, 0, 50, 11, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3981, N'TK', N'S01120101', 25, N'-', 1, 0, 50, 12, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3982, N'TK', N'S01120201', 25, N'-', 1, 0, 50, 12, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3983, N'TK', N'S01120301', 25, N'-', 1, 0, 50, 12, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3984, N'TK', N'S01120401', 25, N'-', 1, 0, 50, 12, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3985, N'TK', N'S01120501', 25, N'-', 1, 0, 50, 12, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3986, N'TK', N'S01120601', 25, N'-', 1, 0, 50, 12, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3987, N'TK', N'S01120701', 25, N'-', 1, 0, 50, 12, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3988, N'TK', N'S01120801', 25, N'-', 1, 0, 50, 12, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3989, N'TK', N'S01130101', 25, N'-', 1, 0, 50, 13, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3990, N'TK', N'S01130201', 25, N'-', 1, 0, 50, 13, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3991, N'TK', N'S01130301', 25, N'-', 1, 0, 50, 13, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3992, N'TK', N'S01130401', 25, N'-', 1, 0, 50, 13, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3993, N'TK', N'S01130501', 25, N'-', 1, 0, 50, 13, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3994, N'TK', N'S01130601', 25, N'-', 1, 0, 50, 13, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3995, N'TK', N'S01130701', 25, N'-', 1, 0, 50, 13, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3996, N'TK', N'S01130801', 25, N'-', 1, 0, 50, 13, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3997, N'TK', N'S01140101', 25, N'-', 1, 0, 50, 14, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3998, N'TK', N'S01140201', 25, N'-', 1, 0, 50, 14, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (3999, N'TK', N'S01140301', 25, N'-', 1, 0, 50, 14, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4000, N'TK', N'S01140401', 25, N'-', 1, 0, 50, 14, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4001, N'TK', N'S01140501', 25, N'-', 1, 0, 50, 14, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4002, N'TK', N'S01140601', 25, N'-', 1, 0, 50, 14, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4003, N'TK', N'S01140701', 25, N'-', 1, 0, 50, 14, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4004, N'TK', N'S01140801', 25, N'-', 1, 0, 50, 14, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4005, N'TK', N'S01150101', 25, N'-', 1, 0, 50, 15, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4006, N'TK', N'S01150201', 25, N'-', 1, 0, 50, 15, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4007, N'TK', N'S01150301', 25, N'-', 1, 0, 50, 15, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4008, N'TK', N'S01150401', 25, N'-', 1, 0, 50, 15, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4009, N'TK', N'S01150501', 25, N'-', 1, 0, 50, 15, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4010, N'TK', N'S01150601', 25, N'-', 1, 0, 50, 15, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4011, N'TK', N'S01150701', 25, N'-', 1, 0, 50, 15, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4012, N'TK', N'S01150801', 25, N'-', 1, 0, 50, 15, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4013, N'TK', N'S01160101', 25, N'-', 1, 0, 50, 16, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4014, N'TK', N'S01160201', 25, N'-', 1, 0, 50, 16, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4015, N'TK', N'S01160301', 25, N'-', 1, 0, 50, 16, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4016, N'TK', N'S01160401', 25, N'-', 1, 0, 50, 16, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4017, N'TK', N'S01160501', 25, N'-', 1, 0, 50, 16, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4018, N'TK', N'S01160601', 25, N'-', 1, 0, 50, 16, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4019, N'TK', N'S01160701', 25, N'-', 1, 0, 50, 16, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4020, N'TK', N'S01160801', 25, N'-', 1, 0, 50, 16, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4021, N'TK', N'S01170101', 25, N'-', 1, 0, 50, 17, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4022, N'TK', N'S01170201', 25, N'-', 1, 0, 50, 17, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4023, N'TK', N'S01170301', 25, N'-', 1, 0, 50, 17, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4024, N'TK', N'S01170401', 25, N'-', 1, 0, 50, 17, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4025, N'TK', N'S01170501', 25, N'-', 1, 0, 50, 17, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4026, N'TK', N'S01170601', 25, N'-', 1, 0, 50, 17, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4027, N'TK', N'S01170701', 25, N'-', 1, 0, 50, 17, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4028, N'TK', N'S01170801', 25, N'-', 1, 0, 50, 17, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4029, N'TK', N'S01180101', 25, N'-', 1, 0, 50, 18, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4030, N'TK', N'S01180201', 25, N'-', 1, 0, 50, 18, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4031, N'TK', N'S01180301', 25, N'-', 1, 0, 50, 18, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4032, N'TK', N'S01180401', 25, N'-', 1, 0, 50, 18, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4033, N'TK', N'S01180501', 25, N'-', 1, 0, 50, 18, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4034, N'TK', N'S01180601', 25, N'-', 1, 0, 50, 18, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4035, N'TK', N'S01180701', 25, N'-', 1, 0, 50, 18, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4036, N'TK', N'S01180801', 25, N'-', 1, 0, 50, 18, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4037, N'TK', N'S01190101', 25, N'-', 1, 0, 50, 19, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4038, N'TK', N'S01190201', 25, N'-', 1, 0, 50, 19, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4039, N'TK', N'S01190301', 25, N'-', 1, 0, 50, 19, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4040, N'TK', N'S01190401', 25, N'-', 1, 0, 50, 19, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4041, N'TK', N'S01190501', 25, N'-', 1, 0, 50, 19, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4042, N'TK', N'S01190601', 25, N'-', 1, 0, 50, 19, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4043, N'TK', N'S01190701', 25, N'-', 1, 0, 50, 19, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4044, N'TK', N'S01190801', 25, N'-', 1, 0, 50, 19, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4045, N'TK', N'S01200101', 25, N'-', 1, 0, 50, 20, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4046, N'TK', N'S01200201', 25, N'-', 1, 0, 50, 20, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4047, N'TK', N'S01200301', 25, N'-', 1, 0, 50, 20, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4048, N'TK', N'S01200401', 25, N'-', 1, 0, 50, 20, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4049, N'TK', N'S01200501', 25, N'-', 1, 0, 50, 20, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4050, N'TK', N'S01200601', 25, N'-', 1, 0, 50, 20, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4051, N'TK', N'S01200701', 25, N'-', 1, 0, 50, 20, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4052, N'TK', N'S01200801', 25, N'-', 1, 0, 50, 20, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4053, N'TK', N'S01210101', 25, N'-', 1, 0, 50, 21, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4054, N'TK', N'S01210201', 25, N'-', 1, 0, 50, 21, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4055, N'TK', N'S01210301', 25, N'-', 1, 0, 50, 21, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4056, N'TK', N'S01210401', 25, N'-', 1, 0, 50, 21, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4057, N'TK', N'S01210501', 25, N'-', 1, 0, 50, 21, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4058, N'TK', N'S01210601', 25, N'-', 1, 0, 50, 21, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4059, N'TK', N'S01210701', 25, N'-', 1, 0, 50, 21, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4060, N'TK', N'S01210801', 25, N'-', 1, 0, 50, 21, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4061, N'TK', N'S01220101', 25, N'-', 1, 0, 50, 22, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4062, N'TK', N'S01220201', 25, N'-', 1, 0, 50, 22, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4063, N'TK', N'S01220301', 25, N'-', 1, 0, 50, 22, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4064, N'TK', N'S01220401', 25, N'-', 1, 0, 50, 22, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4065, N'TK', N'S01220501', 25, N'-', 1, 0, 50, 22, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4066, N'TK', N'S01220601', 25, N'-', 1, 0, 50, 22, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4067, N'TK', N'S01220701', 25, N'-', 1, 0, 50, 22, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4068, N'TK', N'S01220801', 25, N'-', 1, 0, 50, 22, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4069, N'TK', N'S01230101', 25, N'-', 1, 0, 50, 23, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4070, N'TK', N'S01230201', 25, N'-', 1, 0, 50, 23, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4071, N'TK', N'S01230301', 25, N'-', 1, 0, 50, 23, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4072, N'TK', N'S01230401', 25, N'-', 1, 0, 50, 23, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4073, N'TK', N'S01230501', 25, N'-', 1, 0, 50, 23, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4074, N'TK', N'S01230601', 25, N'-', 1, 0, 50, 23, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4075, N'TK', N'S01230701', 25, N'-', 1, 0, 50, 23, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4076, N'TK', N'S01230801', 25, N'-', 1, 0, 50, 23, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4077, N'TK', N'S01240101', 25, N'-', 1, 0, 50, 24, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4078, N'TK', N'S01240201', 25, N'-', 1, 0, 50, 24, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4079, N'TK', N'S01240301', 25, N'-', 1, 0, 50, 24, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4080, N'TK', N'S01240401', 25, N'-', 1, 0, 50, 24, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4081, N'TK', N'S01240501', 25, N'-', 1, 0, 50, 24, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4082, N'TK', N'S01240601', 25, N'-', 1, 0, 50, 24, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4083, N'TK', N'S01240701', 25, N'-', 1, 0, 50, 24, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4084, N'TK', N'S01240801', 25, N'-', 1, 0, 50, 24, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4085, N'TK', N'S01250101', 25, N'-', 1, 0, 50, 25, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4086, N'TK', N'S01250201', 25, N'-', 1, 0, 50, 25, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4087, N'TK', N'S01250301', 25, N'-', 1, 0, 50, 25, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4088, N'TK', N'S01250401', 25, N'-', 1, 0, 50, 25, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4089, N'TK', N'S01250501', 25, N'-', 1, 0, 50, 25, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4090, N'TK', N'S01250601', 25, N'-', 1, 0, 50, 25, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4091, N'TK', N'S01250701', 25, N'-', 1, 0, 50, 25, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4092, N'TK', N'S01250801', 25, N'-', 1, 0, 50, 25, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4093, N'TK', N'S01260101', 25, N'-', 1, 0, 50, 26, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4094, N'TK', N'S01260201', 25, N'-', 1, 0, 50, 26, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4095, N'TK', N'S01260301', 25, N'-', 1, 0, 50, 26, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4096, N'TK', N'S01260401', 25, N'-', 1, 0, 50, 26, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4097, N'TK', N'S01260501', 25, N'-', 1, 0, 50, 26, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4098, N'TK', N'S01260601', 25, N'-', 1, 0, 50, 26, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4099, N'TK', N'S01260701', 25, N'-', 1, 0, 50, 26, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4100, N'TK', N'S01260801', 25, N'-', 1, 0, 50, 26, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4101, N'TK', N'S01270101', 25, N'-', 1, 0, 50, 27, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4102, N'TK', N'S01270201', 25, N'-', 1, 0, 50, 27, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4103, N'TK', N'S01270301', 25, N'-', 1, 0, 50, 27, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4104, N'TK', N'S01270401', 25, N'-', 1, 0, 50, 27, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4105, N'TK', N'S01270501', 25, N'-', 1, 0, 50, 27, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4106, N'TK', N'S01270601', 25, N'-', 1, 0, 50, 27, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4107, N'TK', N'S01270701', 25, N'-', 1, 0, 50, 27, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4108, N'TK', N'S01270801', 25, N'-', 1, 0, 50, 27, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4109, N'TK', N'S01280101', 25, N'-', 1, 0, 50, 28, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4110, N'TK', N'S01280201', 25, N'-', 1, 0, 50, 28, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4111, N'TK', N'S01280301', 25, N'-', 1, 0, 50, 28, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4112, N'TK', N'S01280401', 25, N'-', 1, 0, 50, 28, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4113, N'TK', N'S01280501', 25, N'-', 1, 0, 50, 28, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4114, N'TK', N'S01280601', 25, N'-', 1, 0, 50, 28, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4115, N'TK', N'S01280701', 25, N'-', 1, 0, 50, 28, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4116, N'TK', N'S01280801', 25, N'-', 1, 0, 50, 28, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4117, N'TK', N'S01290101', 25, N'-', 1, 0, 50, 29, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4118, N'TK', N'S01290201', 25, N'-', 1, 0, 50, 29, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4119, N'TK', N'S01290301', 25, N'-', 1, 0, 50, 29, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4120, N'TK', N'S01290401', 25, N'-', 1, 0, 50, 29, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4121, N'TK', N'S01290501', 25, N'-', 1, 0, 50, 29, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4122, N'TK', N'S01290601', 25, N'-', 1, 0, 50, 29, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4123, N'TK', N'S01290701', 25, N'-', 1, 0, 50, 29, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4124, N'TK', N'S01290801', 25, N'-', 1, 0, 50, 29, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4125, N'TK', N'S01300101', 25, N'-', 1, 0, 50, 30, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4126, N'TK', N'S01300201', 25, N'-', 1, 0, 50, 30, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4127, N'TK', N'S01300301', 25, N'-', 1, 0, 50, 30, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4128, N'TK', N'S01300401', 25, N'-', 1, 0, 50, 30, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4129, N'TK', N'S01300501', 25, N'-', 1, 0, 50, 30, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4130, N'TK', N'S01300601', 25, N'-', 1, 0, 50, 30, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4131, N'TK', N'S01300701', 25, N'-', 1, 0, 50, 30, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4132, N'TK', N'S01300801', 25, N'-', 1, 0, 50, 30, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4133, N'TK', N'S01310101', 25, N'-', 1, 0, 50, 31, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4134, N'TK', N'S01310201', 25, N'-', 1, 0, 50, 31, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4135, N'TK', N'S01310301', 25, N'-', 1, 0, 50, 31, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4136, N'TK', N'S01310401', 25, N'-', 1, 0, 50, 31, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4137, N'TK', N'S01310501', 25, N'-', 1, 0, 50, 31, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4138, N'TK', N'S01310601', 25, N'-', 1, 0, 50, 31, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4139, N'TK', N'S01310701', 25, N'-', 1, 0, 50, 31, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4140, N'TK', N'S01310801', 25, N'-', 1, 0, 50, 31, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4141, N'TK', N'S01320101', 25, N'-', 1, 0, 50, 32, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4142, N'TK', N'S01320201', 25, N'-', 1, 0, 50, 32, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4143, N'TK', N'S01320301', 25, N'-', 1, 0, 50, 32, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4144, N'TK', N'S01320401', 25, N'-', 1, 0, 50, 32, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4145, N'TK', N'S01320501', 25, N'-', 1, 0, 50, 32, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4146, N'TK', N'S01320601', 25, N'-', 1, 0, 50, 32, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4147, N'TK', N'S01320701', 25, N'-', 1, 0, 50, 32, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4148, N'TK', N'S01320801', 25, N'-', 1, 0, 50, 32, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4149, N'TK', N'S01330101', 25, N'-', 1, 0, 50, 33, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4150, N'TK', N'S01330201', 25, N'-', 1, 0, 50, 33, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4151, N'TK', N'S01330301', 25, N'-', 1, 0, 50, 33, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4152, N'TK', N'S01330401', 25, N'-', 1, 0, 50, 33, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4153, N'TK', N'S01330501', 25, N'-', 1, 0, 50, 33, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4154, N'TK', N'S01330601', 25, N'-', 1, 0, 50, 33, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4155, N'TK', N'S01330701', 25, N'-', 1, 0, 50, 33, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4156, N'TK', N'S01330801', 25, N'-', 1, 0, 50, 33, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4157, N'TK', N'S01340101', 25, N'-', 1, 0, 50, 34, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4158, N'TK', N'S01340201', 25, N'-', 1, 0, 50, 34, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4159, N'TK', N'S01340301', 25, N'-', 1, 0, 50, 34, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4160, N'TK', N'S01340401', 25, N'-', 1, 0, 50, 34, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4161, N'TK', N'S01340501', 25, N'-', 1, 0, 50, 34, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4162, N'TK', N'S01340601', 25, N'-', 1, 0, 50, 34, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4163, N'TK', N'S01340701', 25, N'-', 1, 0, 50, 34, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4164, N'TK', N'S01340801', 25, N'-', 1, 0, 50, 34, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4165, N'TK', N'S01350101', 25, N'-', 1, 0, 50, 35, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4166, N'TK', N'S01350201', 25, N'-', 1, 0, 50, 35, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4167, N'TK', N'S01350301', 25, N'-', 1, 0, 50, 35, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4168, N'TK', N'S01350401', 25, N'-', 1, 0, 50, 35, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4169, N'TK', N'S01350501', 25, N'-', 1, 0, 50, 35, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4170, N'TK', N'S01350601', 25, N'-', 1, 0, 50, 35, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4171, N'TK', N'S01350701', 25, N'-', 1, 0, 50, 35, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4172, N'TK', N'S01350801', 25, N'-', 1, 0, 50, 35, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4173, N'TK', N'S01360101', 25, N'-', 1, 0, 50, 36, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4174, N'TK', N'S01360201', 25, N'-', 1, 0, 50, 36, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4175, N'TK', N'S01360301', 25, N'-', 1, 0, 50, 36, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4176, N'TK', N'S01360401', 25, N'-', 1, 0, 50, 36, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4177, N'TK', N'S01360501', 25, N'-', 1, 0, 50, 36, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4178, N'TK', N'S01360601', 25, N'-', 1, 0, 50, 36, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4179, N'TK', N'S01360701', 25, N'-', 1, 0, 50, 36, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4180, N'TK', N'S01360801', 25, N'-', 1, 0, 50, 36, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4181, N'TK', N'S02010101', 25, N'-', 1, 0, 51, 1, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4182, N'TK', N'S02010201', 25, N'-', 1, 0, 51, 1, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4183, N'TK', N'S02010301', 25, N'-', 1, 0, 51, 1, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4184, N'TK', N'S02010401', 25, N'-', 1, 0, 51, 1, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4185, N'TK', N'S02010501', 25, N'-', 1, 0, 51, 1, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4186, N'TK', N'S02010601', 25, N'-', 1, 0, 51, 1, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4187, N'TK', N'S02010701', 25, N'-', 1, 0, 51, 1, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4188, N'TK', N'S02010801', 25, N'-', 1, 0, 51, 1, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4189, N'TK', N'S02020101', 25, N'-', 1, 0, 51, 2, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4190, N'TK', N'S02020201', 25, N'-', 1, 0, 51, 2, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4191, N'TK', N'S02020301', 25, N'-', 1, 0, 51, 2, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4192, N'TK', N'S02020401', 25, N'-', 1, 0, 51, 2, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4193, N'TK', N'S02020501', 25, N'-', 1, 0, 51, 2, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4194, N'TK', N'S02020601', 25, N'-', 1, 0, 51, 2, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4195, N'TK', N'S02020701', 25, N'-', 1, 0, 51, 2, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4196, N'TK', N'S02020801', 25, N'-', 1, 0, 51, 2, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4197, N'TK', N'S02030101', 25, N'-', 1, 0, 51, 3, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4198, N'TK', N'S02030201', 25, N'-', 1, 0, 51, 3, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4199, N'TK', N'S02030301', 25, N'-', 1, 0, 51, 3, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4200, N'TK', N'S02030401', 25, N'-', 1, 0, 51, 3, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4201, N'TK', N'S02030501', 25, N'-', 1, 0, 51, 3, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4202, N'TK', N'S02030601', 25, N'-', 1, 0, 51, 3, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4203, N'TK', N'S02030701', 25, N'-', 1, 0, 51, 3, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4204, N'TK', N'S02030801', 25, N'-', 1, 0, 51, 3, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4205, N'TK', N'S02040101', 25, N'-', 1, 0, 51, 4, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4206, N'TK', N'S02040201', 25, N'-', 1, 0, 51, 4, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4207, N'TK', N'S02040301', 25, N'-', 1, 0, 51, 4, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4208, N'TK', N'S02040401', 25, N'-', 1, 0, 51, 4, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4209, N'TK', N'S02040501', 25, N'-', 1, 0, 51, 4, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4210, N'TK', N'S02040601', 25, N'-', 1, 0, 51, 4, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4211, N'TK', N'S02040701', 25, N'-', 1, 0, 51, 4, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4212, N'TK', N'S02040801', 25, N'-', 1, 0, 51, 4, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4213, N'TK', N'S02050101', 25, N'-', 1, 0, 51, 5, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4214, N'TK', N'S02050201', 25, N'-', 1, 0, 51, 5, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4215, N'TK', N'S02050301', 25, N'-', 1, 0, 51, 5, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4216, N'TK', N'S02050401', 25, N'-', 1, 0, 51, 5, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4217, N'TK', N'S02050501', 25, N'-', 1, 0, 51, 5, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4218, N'TK', N'S02050601', 25, N'-', 1, 0, 51, 5, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4219, N'TK', N'S02050701', 25, N'-', 1, 0, 51, 5, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4220, N'TK', N'S02050801', 25, N'-', 1, 0, 51, 5, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4221, N'TK', N'S02060101', 25, N'-', 1, 0, 51, 6, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4222, N'TK', N'S02060201', 25, N'-', 1, 0, 51, 6, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4223, N'TK', N'S02060301', 25, N'-', 1, 0, 51, 6, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4224, N'TK', N'S02060401', 25, N'-', 1, 0, 51, 6, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4225, N'TK', N'S02060501', 25, N'-', 1, 0, 51, 6, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4226, N'TK', N'S02060601', 25, N'-', 1, 0, 51, 6, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4227, N'TK', N'S02060701', 25, N'-', 1, 0, 51, 6, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4228, N'TK', N'S02060801', 25, N'-', 1, 0, 51, 6, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4229, N'TK', N'S02070101', 25, N'-', 1, 0, 51, 7, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4230, N'TK', N'S02070201', 25, N'-', 1, 0, 51, 7, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4231, N'TK', N'S02070301', 25, N'-', 1, 0, 51, 7, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4232, N'TK', N'S02070401', 25, N'-', 1, 0, 51, 7, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4233, N'TK', N'S02070501', 25, N'-', 1, 0, 51, 7, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4234, N'TK', N'S02070601', 25, N'-', 1, 0, 51, 7, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4235, N'TK', N'S02070701', 25, N'-', 1, 0, 51, 7, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4236, N'TK', N'S02070801', 25, N'-', 1, 0, 51, 7, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4237, N'TK', N'S02080101', 25, N'-', 1, 0, 51, 8, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4238, N'TK', N'S02080201', 25, N'-', 1, 0, 51, 8, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4239, N'TK', N'S02080301', 25, N'-', 1, 0, 51, 8, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4240, N'TK', N'S02080401', 25, N'-', 1, 0, 51, 8, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4241, N'TK', N'S02080501', 25, N'-', 1, 0, 51, 8, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4242, N'TK', N'S02080601', 25, N'-', 1, 0, 51, 8, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4243, N'TK', N'S02080701', 25, N'-', 1, 0, 51, 8, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4244, N'TK', N'S02080801', 25, N'-', 1, 0, 51, 8, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4245, N'TK', N'S02090101', 25, N'-', 1, 0, 51, 9, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4246, N'TK', N'S02090201', 25, N'-', 1, 0, 51, 9, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4247, N'TK', N'S02090301', 25, N'-', 1, 0, 51, 9, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4248, N'TK', N'S02090401', 25, N'-', 1, 0, 51, 9, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4249, N'TK', N'S02090501', 25, N'-', 1, 0, 51, 9, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4250, N'TK', N'S02090601', 25, N'-', 1, 0, 51, 9, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4251, N'TK', N'S02090701', 25, N'-', 1, 0, 51, 9, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4252, N'TK', N'S02090801', 25, N'-', 1, 0, 51, 9, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4253, N'TK', N'S02100101', 25, N'-', 1, 0, 51, 10, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4254, N'TK', N'S02100201', 25, N'-', 1, 0, 51, 10, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4255, N'TK', N'S02100301', 25, N'-', 1, 0, 51, 10, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4256, N'TK', N'S02100401', 25, N'-', 1, 0, 51, 10, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4257, N'TK', N'S02100501', 25, N'-', 1, 0, 51, 10, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4258, N'TK', N'S02100601', 25, N'-', 1, 0, 51, 10, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4259, N'TK', N'S02100701', 25, N'-', 1, 0, 51, 10, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4260, N'TK', N'S02100801', 25, N'-', 1, 0, 51, 10, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4261, N'TK', N'S02110101', 25, N'-', 1, 0, 51, 11, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4262, N'TK', N'S02110201', 25, N'-', 1, 0, 51, 11, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4263, N'TK', N'S02110301', 25, N'-', 1, 0, 51, 11, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4264, N'TK', N'S02110401', 25, N'-', 1, 0, 51, 11, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4265, N'TK', N'S02110501', 25, N'-', 1, 0, 51, 11, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4266, N'TK', N'S02110601', 25, N'-', 1, 0, 51, 11, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4267, N'TK', N'S02110701', 25, N'-', 1, 0, 51, 11, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4268, N'TK', N'S02110801', 25, N'-', 1, 0, 51, 11, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4269, N'TK', N'S02120101', 25, N'-', 1, 0, 51, 12, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4270, N'TK', N'S02120201', 25, N'-', 1, 0, 51, 12, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4271, N'TK', N'S02120301', 25, N'-', 1, 0, 51, 12, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4272, N'TK', N'S02120401', 25, N'-', 1, 0, 51, 12, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4273, N'TK', N'S02120501', 25, N'-', 1, 0, 51, 12, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4274, N'TK', N'S02120601', 25, N'-', 1, 0, 51, 12, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4275, N'TK', N'S02120701', 25, N'-', 1, 0, 51, 12, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4276, N'TK', N'S02120801', 25, N'-', 1, 0, 51, 12, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4277, N'TK', N'S02130101', 25, N'-', 1, 0, 51, 13, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4278, N'TK', N'S02130201', 25, N'-', 1, 0, 51, 13, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4279, N'TK', N'S02130301', 25, N'-', 1, 0, 51, 13, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4280, N'TK', N'S02130401', 25, N'-', 1, 0, 51, 13, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4281, N'TK', N'S02130501', 25, N'-', 1, 0, 51, 13, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4282, N'TK', N'S02130601', 25, N'-', 1, 0, 51, 13, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4283, N'TK', N'S02130701', 25, N'-', 1, 0, 51, 13, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4284, N'TK', N'S02130801', 25, N'-', 1, 0, 51, 13, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4285, N'TK', N'S02140101', 25, N'-', 1, 0, 51, 14, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4286, N'TK', N'S02140201', 25, N'-', 1, 0, 51, 14, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4287, N'TK', N'S02140301', 25, N'-', 1, 0, 51, 14, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4288, N'TK', N'S02140401', 25, N'-', 1, 0, 51, 14, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4289, N'TK', N'S02140501', 25, N'-', 1, 0, 51, 14, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4290, N'TK', N'S02140601', 25, N'-', 1, 0, 51, 14, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4291, N'TK', N'S02140701', 25, N'-', 1, 0, 51, 14, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4292, N'TK', N'S02140801', 25, N'-', 1, 0, 51, 14, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4293, N'TK', N'S02150101', 25, N'-', 1, 0, 51, 15, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4294, N'TK', N'S02150201', 25, N'-', 1, 0, 51, 15, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4295, N'TK', N'S02150301', 25, N'-', 1, 0, 51, 15, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4296, N'TK', N'S02150401', 25, N'-', 1, 0, 51, 15, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4297, N'TK', N'S02150501', 25, N'-', 1, 0, 51, 15, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4298, N'TK', N'S02150601', 25, N'-', 1, 0, 51, 15, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4299, N'TK', N'S02150701', 25, N'-', 1, 0, 51, 15, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4300, N'TK', N'S02150801', 25, N'-', 1, 0, 51, 15, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4301, N'TK', N'S02160101', 25, N'-', 1, 0, 51, 16, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4302, N'TK', N'S02160201', 25, N'-', 1, 0, 51, 16, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4303, N'TK', N'S02160301', 25, N'-', 1, 0, 51, 16, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4304, N'TK', N'S02160401', 25, N'-', 1, 0, 51, 16, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4305, N'TK', N'S02160501', 25, N'-', 1, 0, 51, 16, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4306, N'TK', N'S02160601', 25, N'-', 1, 0, 51, 16, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4307, N'TK', N'S02160701', 25, N'-', 1, 0, 51, 16, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4308, N'TK', N'S02160801', 25, N'-', 1, 0, 51, 16, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4309, N'TK', N'S02170101', 25, N'-', 1, 0, 51, 17, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4310, N'TK', N'S02170201', 25, N'-', 1, 0, 51, 17, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4311, N'TK', N'S02170301', 25, N'-', 1, 0, 51, 17, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4312, N'TK', N'S02170401', 25, N'-', 1, 0, 51, 17, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4313, N'TK', N'S02170501', 25, N'-', 1, 0, 51, 17, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4314, N'TK', N'S02170601', 25, N'-', 1, 0, 51, 17, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4315, N'TK', N'S02170701', 25, N'-', 1, 0, 51, 17, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4316, N'TK', N'S02170801', 25, N'-', 1, 0, 51, 17, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4317, N'TK', N'S02180101', 25, N'-', 1, 0, 51, 18, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4318, N'TK', N'S02180201', 25, N'-', 1, 0, 51, 18, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4319, N'TK', N'S02180301', 25, N'-', 1, 0, 51, 18, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4320, N'TK', N'S02180401', 25, N'-', 1, 0, 51, 18, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4321, N'TK', N'S02180501', 25, N'-', 1, 0, 51, 18, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4322, N'TK', N'S02180601', 25, N'-', 1, 0, 51, 18, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4323, N'TK', N'S02180701', 25, N'-', 1, 0, 51, 18, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4324, N'TK', N'S02180801', 25, N'-', 1, 0, 51, 18, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4325, N'TK', N'S02190101', 25, N'-', 1, 0, 51, 19, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4326, N'TK', N'S02190201', 25, N'-', 1, 0, 51, 19, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4327, N'TK', N'S02190301', 25, N'-', 1, 0, 51, 19, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4328, N'TK', N'S02190401', 25, N'-', 1, 0, 51, 19, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4329, N'TK', N'S02190501', 25, N'-', 1, 0, 51, 19, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4330, N'TK', N'S02190601', 25, N'-', 1, 0, 51, 19, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4331, N'TK', N'S02190701', 25, N'-', 1, 0, 51, 19, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4332, N'TK', N'S02190801', 25, N'-', 1, 0, 51, 19, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4333, N'TK', N'S02200101', 25, N'-', 1, 0, 51, 20, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4334, N'TK', N'S02200201', 25, N'-', 1, 0, 51, 20, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4335, N'TK', N'S02200301', 25, N'-', 1, 0, 51, 20, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4336, N'TK', N'S02200401', 25, N'-', 1, 0, 51, 20, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4337, N'TK', N'S02200501', 25, N'-', 1, 0, 51, 20, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4338, N'TK', N'S02200601', 25, N'-', 1, 0, 51, 20, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4339, N'TK', N'S02200701', 25, N'-', 1, 0, 51, 20, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4340, N'TK', N'S02200801', 25, N'-', 1, 0, 51, 20, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4341, N'TK', N'S02210101', 25, N'-', 1, 0, 51, 21, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4342, N'TK', N'S02210201', 25, N'-', 1, 0, 51, 21, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4343, N'TK', N'S02210301', 25, N'-', 1, 0, 51, 21, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4344, N'TK', N'S02210401', 25, N'-', 1, 0, 51, 21, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4345, N'TK', N'S02210501', 25, N'-', 1, 0, 51, 21, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4346, N'TK', N'S02210601', 25, N'-', 1, 0, 51, 21, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4347, N'TK', N'S02210701', 25, N'-', 1, 0, 51, 21, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4348, N'TK', N'S02210801', 25, N'-', 1, 0, 51, 21, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4349, N'TK', N'S02220101', 25, N'-', 1, 0, 51, 22, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4350, N'TK', N'S02220201', 25, N'-', 1, 0, 51, 22, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4351, N'TK', N'S02220301', 25, N'-', 1, 0, 51, 22, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4352, N'TK', N'S02220401', 25, N'-', 1, 0, 51, 22, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4353, N'TK', N'S02220501', 25, N'-', 1, 0, 51, 22, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4354, N'TK', N'S02220601', 25, N'-', 1, 0, 51, 22, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4355, N'TK', N'S02220701', 25, N'-', 1, 0, 51, 22, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4356, N'TK', N'S02220801', 25, N'-', 1, 0, 51, 22, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4357, N'TK', N'S02230101', 25, N'-', 1, 0, 51, 23, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4358, N'TK', N'S02230201', 25, N'-', 1, 0, 51, 23, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4359, N'TK', N'S02230301', 25, N'-', 1, 0, 51, 23, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4360, N'TK', N'S02230401', 25, N'-', 1, 0, 51, 23, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4361, N'TK', N'S02230501', 25, N'-', 1, 0, 51, 23, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4362, N'TK', N'S02230601', 25, N'-', 1, 0, 51, 23, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4363, N'TK', N'S02230701', 25, N'-', 1, 0, 51, 23, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4364, N'TK', N'S02230801', 25, N'-', 1, 0, 51, 23, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4365, N'TK', N'S02240101', 25, N'-', 1, 0, 51, 24, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4366, N'TK', N'S02240201', 25, N'-', 1, 0, 51, 24, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4367, N'TK', N'S02240301', 25, N'-', 1, 0, 51, 24, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4368, N'TK', N'S02240401', 25, N'-', 1, 0, 51, 24, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4369, N'TK', N'S02240501', 25, N'-', 1, 0, 51, 24, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4370, N'TK', N'S02240601', 25, N'-', 1, 0, 51, 24, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4371, N'TK', N'S02240701', 25, N'-', 1, 0, 51, 24, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4372, N'TK', N'S02240801', 25, N'-', 1, 0, 51, 24, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4373, N'TK', N'S02250101', 25, N'-', 1, 0, 51, 25, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4374, N'TK', N'S02250201', 25, N'-', 1, 0, 51, 25, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4375, N'TK', N'S02250301', 25, N'-', 1, 0, 51, 25, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4376, N'TK', N'S02250401', 25, N'-', 1, 0, 51, 25, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4377, N'TK', N'S02250501', 25, N'-', 1, 0, 51, 25, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4378, N'TK', N'S02250601', 25, N'-', 1, 0, 51, 25, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4379, N'TK', N'S02250701', 25, N'-', 1, 0, 51, 25, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4380, N'TK', N'S02250801', 25, N'-', 1, 0, 51, 25, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4381, N'TK', N'S02260101', 25, N'-', 1, 0, 51, 26, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4382, N'TK', N'S02260201', 25, N'-', 1, 0, 51, 26, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4383, N'TK', N'S02260301', 25, N'-', 1, 0, 51, 26, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4384, N'TK', N'S02260401', 25, N'-', 1, 0, 51, 26, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4385, N'TK', N'S02260501', 25, N'-', 1, 0, 51, 26, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4386, N'TK', N'S02260601', 25, N'-', 1, 0, 51, 26, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4387, N'TK', N'S02260701', 25, N'-', 1, 0, 51, 26, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4388, N'TK', N'S02260801', 25, N'-', 1, 0, 51, 26, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4389, N'TK', N'S02270101', 25, N'-', 1, 0, 51, 27, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4390, N'TK', N'S02270201', 25, N'-', 1, 0, 51, 27, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4391, N'TK', N'S02270301', 25, N'-', 1, 0, 51, 27, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4392, N'TK', N'S02270401', 25, N'-', 1, 0, 51, 27, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4393, N'TK', N'S02270501', 25, N'-', 1, 0, 51, 27, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4394, N'TK', N'S02270601', 25, N'-', 1, 0, 51, 27, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4395, N'TK', N'S02270701', 25, N'-', 1, 0, 51, 27, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4396, N'TK', N'S02270801', 25, N'-', 1, 0, 51, 27, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4397, N'TK', N'S02280101', 25, N'-', 1, 0, 51, 28, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4398, N'TK', N'S02280201', 25, N'-', 1, 0, 51, 28, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4399, N'TK', N'S02280301', 25, N'-', 1, 0, 51, 28, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4400, N'TK', N'S02280401', 25, N'-', 1, 0, 51, 28, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4401, N'TK', N'S02280501', 25, N'-', 1, 0, 51, 28, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4402, N'TK', N'S02280601', 25, N'-', 1, 0, 51, 28, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4403, N'TK', N'S02280701', 25, N'-', 1, 0, 51, 28, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4404, N'TK', N'S02280801', 25, N'-', 1, 0, 51, 28, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4405, N'TK', N'S02290101', 25, N'-', 1, 0, 51, 29, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4406, N'TK', N'S02290201', 25, N'-', 1, 0, 51, 29, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4407, N'TK', N'S02290301', 25, N'-', 1, 0, 51, 29, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4408, N'TK', N'S02290401', 25, N'-', 1, 0, 51, 29, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4409, N'TK', N'S02290501', 25, N'-', 1, 0, 51, 29, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4410, N'TK', N'S02290601', 25, N'-', 1, 0, 51, 29, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4411, N'TK', N'S02290701', 25, N'-', 1, 0, 51, 29, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4412, N'TK', N'S02290801', 25, N'-', 1, 0, 51, 29, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4413, N'TK', N'S02300101', 25, N'-', 1, 0, 51, 30, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4414, N'TK', N'S02300201', 25, N'-', 1, 0, 51, 30, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4415, N'TK', N'S02300301', 25, N'-', 1, 0, 51, 30, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4416, N'TK', N'S02300401', 25, N'-', 1, 0, 51, 30, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4417, N'TK', N'S02300501', 25, N'-', 1, 0, 51, 30, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4418, N'TK', N'S02300601', 25, N'-', 1, 0, 51, 30, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4419, N'TK', N'S02300701', 25, N'-', 1, 0, 51, 30, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4420, N'TK', N'S02300801', 25, N'-', 1, 0, 51, 30, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4421, N'TK', N'S02310101', 25, N'-', 1, 0, 51, 31, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4422, N'TK', N'S02310201', 25, N'-', 1, 0, 51, 31, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4423, N'TK', N'S02310301', 25, N'-', 1, 0, 51, 31, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4424, N'TK', N'S02310401', 25, N'-', 1, 0, 51, 31, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4425, N'TK', N'S02310501', 25, N'-', 1, 0, 51, 31, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4426, N'TK', N'S02310601', 25, N'-', 1, 0, 51, 31, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4427, N'TK', N'S02310701', 25, N'-', 1, 0, 51, 31, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4428, N'TK', N'S02310801', 25, N'-', 1, 0, 51, 31, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4429, N'TK', N'S02320101', 25, N'-', 1, 0, 51, 32, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4430, N'TK', N'S02320201', 25, N'-', 1, 0, 51, 32, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4431, N'TK', N'S02320301', 25, N'-', 1, 0, 51, 32, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4432, N'TK', N'S02320401', 25, N'-', 1, 0, 51, 32, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4433, N'TK', N'S02320501', 25, N'-', 1, 0, 51, 32, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4434, N'TK', N'S02320601', 25, N'-', 1, 0, 51, 32, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4435, N'TK', N'S02320701', 25, N'-', 1, 0, 51, 32, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4436, N'TK', N'S02320801', 25, N'-', 1, 0, 51, 32, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4437, N'TK', N'S02330101', 25, N'-', 1, 0, 51, 33, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4438, N'TK', N'S02330201', 25, N'-', 1, 0, 51, 33, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4439, N'TK', N'S02330301', 25, N'-', 1, 0, 51, 33, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4440, N'TK', N'S02330401', 25, N'-', 1, 0, 51, 33, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4441, N'TK', N'S02330501', 25, N'-', 1, 0, 51, 33, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4442, N'TK', N'S02330601', 25, N'-', 1, 0, 51, 33, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4443, N'TK', N'S02330701', 25, N'-', 1, 0, 51, 33, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4444, N'TK', N'S02330801', 25, N'-', 1, 0, 51, 33, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4445, N'TK', N'S02340101', 25, N'-', 1, 0, 51, 34, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4446, N'TK', N'S02340201', 25, N'-', 1, 0, 51, 34, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4447, N'TK', N'S02340301', 25, N'-', 1, 0, 51, 34, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4448, N'TK', N'S02340401', 25, N'-', 1, 0, 51, 34, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4449, N'TK', N'S02340501', 25, N'-', 1, 0, 51, 34, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4450, N'TK', N'S02340601', 25, N'-', 1, 0, 51, 34, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4451, N'TK', N'S02340701', 25, N'-', 1, 0, 51, 34, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4452, N'TK', N'S02340801', 25, N'-', 1, 0, 51, 34, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4453, N'TK', N'S02350101', 25, N'-', 1, 0, 51, 35, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4454, N'TK', N'S02350201', 25, N'-', 1, 0, 51, 35, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4455, N'TK', N'S02350301', 25, N'-', 1, 0, 51, 35, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4456, N'TK', N'S02350401', 25, N'-', 1, 0, 51, 35, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4457, N'TK', N'S02350501', 25, N'-', 1, 0, 51, 35, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4458, N'TK', N'S02350601', 25, N'-', 1, 0, 51, 35, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4459, N'TK', N'S02350701', 25, N'-', 1, 0, 51, 35, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4460, N'TK', N'S02350801', 25, N'-', 1, 0, 51, 35, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4461, N'TK', N'S02360101', 25, N'-', 1, 0, 51, 36, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4462, N'TK', N'S02360201', 25, N'-', 1, 0, 51, 36, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4463, N'TK', N'S02360301', 25, N'-', 1, 0, 51, 36, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4464, N'TK', N'S02360401', 25, N'-', 1, 0, 51, 36, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4465, N'TK', N'S02360501', 25, N'-', 1, 0, 51, 36, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4466, N'TK', N'S02360601', 25, N'-', 1, 0, 51, 36, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4467, N'TK', N'S02360701', 25, N'-', 1, 0, 51, 36, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4468, N'TK', N'S02360801', 25, N'-', 1, 0, 51, 36, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4469, N'TK', N'S03010101', 25, N'-', 1, 0, 52, 1, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4470, N'TK', N'S03010201', 25, N'-', 1, 0, 52, 1, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4471, N'TK', N'S03010301', 25, N'-', 1, 0, 52, 1, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4472, N'TK', N'S03010401', 25, N'-', 1, 0, 52, 1, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4473, N'TK', N'S03010501', 25, N'-', 1, 0, 52, 1, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4474, N'TK', N'S03010601', 25, N'-', 1, 0, 52, 1, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4475, N'TK', N'S03010701', 25, N'-', 1, 0, 52, 1, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4476, N'TK', N'S03010801', 25, N'-', 1, 0, 52, 1, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4477, N'TK', N'S03020101', 25, N'-', 1, 0, 52, 2, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4478, N'TK', N'S03020201', 25, N'-', 1, 0, 52, 2, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4479, N'TK', N'S03020301', 25, N'-', 1, 0, 52, 2, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4480, N'TK', N'S03020401', 25, N'-', 1, 0, 52, 2, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4481, N'TK', N'S03020501', 25, N'-', 1, 0, 52, 2, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4482, N'TK', N'S03020601', 25, N'-', 1, 0, 52, 2, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4483, N'TK', N'S03020701', 25, N'-', 1, 0, 52, 2, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4484, N'TK', N'S03020801', 25, N'-', 1, 0, 52, 2, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4485, N'TK', N'S03030101', 25, N'-', 1, 0, 52, 3, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4486, N'TK', N'S03030201', 25, N'-', 1, 0, 52, 3, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4487, N'TK', N'S03030301', 25, N'-', 1, 0, 52, 3, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4488, N'TK', N'S03030401', 25, N'-', 1, 0, 52, 3, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4489, N'TK', N'S03030501', 25, N'-', 1, 0, 52, 3, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4490, N'TK', N'S03030601', 25, N'-', 1, 0, 52, 3, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4491, N'TK', N'S03030701', 25, N'-', 1, 0, 52, 3, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4492, N'TK', N'S03030801', 25, N'-', 1, 0, 52, 3, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4493, N'TK', N'S03040101', 25, N'-', 1, 0, 52, 4, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4494, N'TK', N'S03040201', 25, N'-', 1, 0, 52, 4, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4495, N'TK', N'S03040301', 25, N'-', 1, 0, 52, 4, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4496, N'TK', N'S03040401', 25, N'-', 1, 0, 52, 4, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4497, N'TK', N'S03040501', 25, N'-', 1, 0, 52, 4, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4498, N'TK', N'S03040601', 25, N'-', 1, 0, 52, 4, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4499, N'TK', N'S03040701', 25, N'-', 1, 0, 52, 4, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4500, N'TK', N'S03040801', 25, N'-', 1, 0, 52, 4, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4501, N'TK', N'S03050101', 25, N'-', 1, 0, 52, 5, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4502, N'TK', N'S03050201', 25, N'-', 1, 0, 52, 5, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4503, N'TK', N'S03050301', 25, N'-', 1, 0, 52, 5, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4504, N'TK', N'S03050401', 25, N'-', 1, 0, 52, 5, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4505, N'TK', N'S03050501', 25, N'-', 1, 0, 52, 5, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4506, N'TK', N'S03050601', 25, N'-', 1, 0, 52, 5, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4507, N'TK', N'S03050701', 25, N'-', 1, 0, 52, 5, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4508, N'TK', N'S03050801', 25, N'-', 1, 0, 52, 5, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4509, N'TK', N'S03060101', 25, N'-', 1, 0, 52, 6, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4510, N'TK', N'S03060201', 25, N'-', 1, 0, 52, 6, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4511, N'TK', N'S03060301', 25, N'-', 1, 0, 52, 6, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4512, N'TK', N'S03060401', 25, N'-', 1, 0, 52, 6, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4513, N'TK', N'S03060501', 25, N'-', 1, 0, 52, 6, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4514, N'TK', N'S03060601', 25, N'-', 1, 0, 52, 6, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4515, N'TK', N'S03060701', 25, N'-', 1, 0, 52, 6, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4516, N'TK', N'S03060801', 25, N'-', 1, 0, 52, 6, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4517, N'TK', N'S03070101', 25, N'-', 1, 0, 52, 7, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4518, N'TK', N'S03070201', 25, N'-', 1, 0, 52, 7, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4519, N'TK', N'S03070301', 25, N'-', 1, 0, 52, 7, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4520, N'TK', N'S03070401', 25, N'-', 1, 0, 52, 7, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4521, N'TK', N'S03070501', 25, N'-', 1, 0, 52, 7, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4522, N'TK', N'S03070601', 25, N'-', 1, 0, 52, 7, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4523, N'TK', N'S03070701', 25, N'-', 1, 0, 52, 7, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4524, N'TK', N'S03070801', 25, N'-', 1, 0, 52, 7, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4525, N'TK', N'S03080101', 25, N'-', 1, 0, 52, 8, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4526, N'TK', N'S03080201', 25, N'-', 1, 0, 52, 8, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4527, N'TK', N'S03080301', 25, N'-', 1, 0, 52, 8, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4528, N'TK', N'S03080401', 25, N'-', 1, 0, 52, 8, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4529, N'TK', N'S03080501', 25, N'-', 1, 0, 52, 8, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4530, N'TK', N'S03080601', 25, N'-', 1, 0, 52, 8, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4531, N'TK', N'S03080701', 25, N'-', 1, 0, 52, 8, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4532, N'TK', N'S03080801', 25, N'-', 1, 0, 52, 8, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4533, N'TK', N'S03090101', 25, N'-', 1, 0, 52, 9, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4534, N'TK', N'S03090201', 25, N'-', 1, 0, 52, 9, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4535, N'TK', N'S03090301', 25, N'-', 1, 0, 52, 9, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4536, N'TK', N'S03090401', 25, N'-', 1, 0, 52, 9, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4537, N'TK', N'S03090501', 25, N'-', 1, 0, 52, 9, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4538, N'TK', N'S03090601', 25, N'-', 1, 0, 52, 9, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4539, N'TK', N'S03090701', 25, N'-', 1, 0, 52, 9, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4540, N'TK', N'S03090801', 25, N'-', 1, 0, 52, 9, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4541, N'TK', N'S03100101', 25, N'-', 1, 0, 52, 10, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4542, N'TK', N'S03100201', 25, N'-', 1, 0, 52, 10, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4543, N'TK', N'S03100301', 25, N'-', 1, 0, 52, 10, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4544, N'TK', N'S03100401', 25, N'-', 1, 0, 52, 10, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4545, N'TK', N'S03100501', 25, N'-', 1, 0, 52, 10, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4546, N'TK', N'S03100601', 25, N'-', 1, 0, 52, 10, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4547, N'TK', N'S03100701', 25, N'-', 1, 0, 52, 10, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4548, N'TK', N'S03100801', 25, N'-', 1, 0, 52, 10, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4549, N'TK', N'S03110101', 25, N'-', 1, 0, 52, 11, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4550, N'TK', N'S03110201', 25, N'-', 1, 0, 52, 11, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4551, N'TK', N'S03110301', 25, N'-', 1, 0, 52, 11, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4552, N'TK', N'S03110401', 25, N'-', 1, 0, 52, 11, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4553, N'TK', N'S03110501', 25, N'-', 1, 0, 52, 11, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4554, N'TK', N'S03110601', 25, N'-', 1, 0, 52, 11, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4555, N'TK', N'S03110701', 25, N'-', 1, 0, 52, 11, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4556, N'TK', N'S03110801', 25, N'-', 1, 0, 52, 11, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4557, N'TK', N'S03120101', 25, N'-', 1, 0, 52, 12, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4558, N'TK', N'S03120201', 25, N'-', 1, 0, 52, 12, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4559, N'TK', N'S03120301', 25, N'-', 1, 0, 52, 12, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4560, N'TK', N'S03120401', 25, N'-', 1, 0, 52, 12, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4561, N'TK', N'S03120501', 25, N'-', 1, 0, 52, 12, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4562, N'TK', N'S03120601', 25, N'-', 1, 0, 52, 12, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4563, N'TK', N'S03120701', 25, N'-', 1, 0, 52, 12, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4564, N'TK', N'S03120801', 25, N'-', 1, 0, 52, 12, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4565, N'TK', N'S03130101', 25, N'-', 1, 0, 52, 13, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4566, N'TK', N'S03130201', 25, N'-', 1, 0, 52, 13, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4567, N'TK', N'S03130301', 25, N'-', 1, 0, 52, 13, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4568, N'TK', N'S03130401', 25, N'-', 1, 0, 52, 13, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4569, N'TK', N'S03130501', 25, N'-', 1, 0, 52, 13, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4570, N'TK', N'S03130601', 25, N'-', 1, 0, 52, 13, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4571, N'TK', N'S03130701', 25, N'-', 1, 0, 52, 13, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4572, N'TK', N'S03130801', 25, N'-', 1, 0, 52, 13, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4573, N'TK', N'S03140101', 25, N'-', 1, 0, 52, 14, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4574, N'TK', N'S03140201', 25, N'-', 1, 0, 52, 14, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4575, N'TK', N'S03140301', 25, N'-', 1, 0, 52, 14, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4576, N'TK', N'S03140401', 25, N'-', 1, 0, 52, 14, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4577, N'TK', N'S03140501', 25, N'-', 1, 0, 52, 14, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4578, N'TK', N'S03140601', 25, N'-', 1, 0, 52, 14, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4579, N'TK', N'S03140701', 25, N'-', 1, 0, 52, 14, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4580, N'TK', N'S03140801', 25, N'-', 1, 0, 52, 14, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4581, N'TK', N'S03150101', 25, N'-', 1, 0, 52, 15, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4582, N'TK', N'S03150201', 25, N'-', 1, 0, 52, 15, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4583, N'TK', N'S03150301', 25, N'-', 1, 0, 52, 15, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4584, N'TK', N'S03150401', 25, N'-', 1, 0, 52, 15, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4585, N'TK', N'S03150501', 25, N'-', 1, 0, 52, 15, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4586, N'TK', N'S03150601', 25, N'-', 1, 0, 52, 15, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4587, N'TK', N'S03150701', 25, N'-', 1, 0, 52, 15, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4588, N'TK', N'S03150801', 25, N'-', 1, 0, 52, 15, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4589, N'TK', N'S03160101', 25, N'-', 1, 0, 52, 16, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4590, N'TK', N'S03160201', 25, N'-', 1, 0, 52, 16, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4591, N'TK', N'S03160301', 25, N'-', 1, 0, 52, 16, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4592, N'TK', N'S03160401', 25, N'-', 1, 0, 52, 16, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4593, N'TK', N'S03160501', 25, N'-', 1, 0, 52, 16, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4594, N'TK', N'S03160601', 25, N'-', 1, 0, 52, 16, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4595, N'TK', N'S03160701', 25, N'-', 1, 0, 52, 16, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4596, N'TK', N'S03160801', 25, N'-', 1, 0, 52, 16, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4597, N'TK', N'S03170101', 25, N'-', 1, 0, 52, 17, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4598, N'TK', N'S03170201', 25, N'-', 1, 0, 52, 17, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4599, N'TK', N'S03170301', 25, N'-', 1, 0, 52, 17, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4600, N'TK', N'S03170401', 25, N'-', 1, 0, 52, 17, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4601, N'TK', N'S03170501', 25, N'-', 1, 0, 52, 17, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4602, N'TK', N'S03170601', 25, N'-', 1, 0, 52, 17, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4603, N'TK', N'S03170701', 25, N'-', 1, 0, 52, 17, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4604, N'TK', N'S03170801', 25, N'-', 1, 0, 52, 17, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4605, N'TK', N'S03180101', 25, N'-', 1, 0, 52, 18, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4606, N'TK', N'S03180201', 25, N'-', 1, 0, 52, 18, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4607, N'TK', N'S03180301', 25, N'-', 1, 0, 52, 18, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4608, N'TK', N'S03180401', 25, N'-', 1, 0, 52, 18, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4609, N'TK', N'S03180501', 25, N'-', 1, 0, 52, 18, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4610, N'TK', N'S03180601', 25, N'-', 1, 0, 52, 18, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4611, N'TK', N'S03180701', 25, N'-', 1, 0, 52, 18, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4612, N'TK', N'S03180801', 25, N'-', 1, 0, 52, 18, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4613, N'TK', N'S03190101', 25, N'-', 1, 0, 52, 19, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4614, N'TK', N'S03190201', 25, N'-', 1, 0, 52, 19, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4615, N'TK', N'S03190301', 25, N'-', 1, 0, 52, 19, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4616, N'TK', N'S03190401', 25, N'-', 1, 0, 52, 19, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4617, N'TK', N'S03190501', 25, N'-', 1, 0, 52, 19, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4618, N'TK', N'S03190601', 25, N'-', 1, 0, 52, 19, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4619, N'TK', N'S03190701', 25, N'-', 1, 0, 52, 19, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4620, N'TK', N'S03190801', 25, N'-', 1, 0, 52, 19, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4621, N'TK', N'S03200101', 25, N'-', 1, 0, 52, 20, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4622, N'TK', N'S03200201', 25, N'-', 1, 0, 52, 20, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4623, N'TK', N'S03200301', 25, N'-', 1, 0, 52, 20, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4624, N'TK', N'S03200401', 25, N'-', 1, 0, 52, 20, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4625, N'TK', N'S03200501', 25, N'-', 1, 0, 52, 20, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4626, N'TK', N'S03200601', 25, N'-', 1, 0, 52, 20, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4627, N'TK', N'S03200701', 25, N'-', 1, 0, 52, 20, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4628, N'TK', N'S03200801', 25, N'-', 1, 0, 52, 20, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4629, N'TK', N'S03210101', 25, N'-', 1, 0, 52, 21, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4630, N'TK', N'S03210201', 25, N'-', 1, 0, 52, 21, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4631, N'TK', N'S03210301', 25, N'-', 1, 0, 52, 21, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4632, N'TK', N'S03210401', 25, N'-', 1, 0, 52, 21, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4633, N'TK', N'S03210501', 25, N'-', 1, 0, 52, 21, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4634, N'TK', N'S03210601', 25, N'-', 1, 0, 52, 21, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4635, N'TK', N'S03210701', 25, N'-', 1, 0, 52, 21, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4636, N'TK', N'S03210801', 25, N'-', 1, 0, 52, 21, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4637, N'TK', N'S03220101', 25, N'-', 1, 0, 52, 22, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4638, N'TK', N'S03220201', 25, N'-', 1, 0, 52, 22, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4639, N'TK', N'S03220301', 25, N'-', 1, 0, 52, 22, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4640, N'TK', N'S03220401', 25, N'-', 1, 0, 52, 22, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4641, N'TK', N'S03220501', 25, N'-', 1, 0, 52, 22, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4642, N'TK', N'S03220601', 25, N'-', 1, 0, 52, 22, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4643, N'TK', N'S03220701', 25, N'-', 1, 0, 52, 22, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4644, N'TK', N'S03220801', 25, N'-', 1, 0, 52, 22, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4645, N'TK', N'S03230101', 25, N'-', 1, 0, 52, 23, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4646, N'TK', N'S03230201', 25, N'-', 1, 0, 52, 23, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4647, N'TK', N'S03230301', 25, N'-', 1, 0, 52, 23, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4648, N'TK', N'S03230401', 25, N'-', 1, 0, 52, 23, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4649, N'TK', N'S03230501', 25, N'-', 1, 0, 52, 23, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4650, N'TK', N'S03230601', 25, N'-', 1, 0, 52, 23, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4651, N'TK', N'S03230701', 25, N'-', 1, 0, 52, 23, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4652, N'TK', N'S03230801', 25, N'-', 1, 0, 52, 23, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4653, N'TK', N'S03240101', 25, N'-', 1, 0, 52, 24, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4654, N'TK', N'S03240201', 25, N'-', 1, 0, 52, 24, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4655, N'TK', N'S03240301', 25, N'-', 1, 0, 52, 24, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4656, N'TK', N'S03240401', 25, N'-', 1, 0, 52, 24, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4657, N'TK', N'S03240501', 25, N'-', 1, 0, 52, 24, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4658, N'TK', N'S03240601', 25, N'-', 1, 0, 52, 24, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4659, N'TK', N'S03240701', 25, N'-', 1, 0, 52, 24, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4660, N'TK', N'S03240801', 25, N'-', 1, 0, 52, 24, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4661, N'TK', N'S03250101', 25, N'-', 1, 0, 52, 25, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4662, N'TK', N'S03250201', 25, N'-', 1, 0, 52, 25, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4663, N'TK', N'S03250301', 25, N'-', 1, 0, 52, 25, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4664, N'TK', N'S03250401', 25, N'-', 1, 0, 52, 25, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4665, N'TK', N'S03250501', 25, N'-', 1, 0, 52, 25, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4666, N'TK', N'S03250601', 25, N'-', 1, 0, 52, 25, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4667, N'TK', N'S03250701', 25, N'-', 1, 0, 52, 25, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4668, N'TK', N'S03250801', 25, N'-', 1, 0, 52, 25, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4669, N'TK', N'S03260101', 25, N'-', 1, 0, 52, 26, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4670, N'TK', N'S03260201', 25, N'-', 1, 0, 52, 26, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4671, N'TK', N'S03260301', 25, N'-', 1, 0, 52, 26, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4672, N'TK', N'S03260401', 25, N'-', 1, 0, 52, 26, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4673, N'TK', N'S03260501', 25, N'-', 1, 0, 52, 26, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4674, N'TK', N'S03260601', 25, N'-', 1, 0, 52, 26, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4675, N'TK', N'S03260701', 25, N'-', 1, 0, 52, 26, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4676, N'TK', N'S03260801', 25, N'-', 1, 0, 52, 26, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4677, N'TK', N'S03270101', 25, N'-', 1, 0, 52, 27, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4678, N'TK', N'S03270201', 25, N'-', 1, 0, 52, 27, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4679, N'TK', N'S03270301', 25, N'-', 1, 0, 52, 27, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4680, N'TK', N'S03270401', 25, N'-', 1, 0, 52, 27, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4681, N'TK', N'S03270501', 25, N'-', 1, 0, 52, 27, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4682, N'TK', N'S03270601', 25, N'-', 1, 0, 52, 27, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4683, N'TK', N'S03270701', 25, N'-', 1, 0, 52, 27, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4684, N'TK', N'S03270801', 25, N'-', 1, 0, 52, 27, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4685, N'TK', N'S03280101', 25, N'-', 1, 0, 52, 28, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4686, N'TK', N'S03280201', 25, N'-', 1, 0, 52, 28, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4687, N'TK', N'S03280301', 25, N'-', 1, 0, 52, 28, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4688, N'TK', N'S03280401', 25, N'-', 1, 0, 52, 28, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4689, N'TK', N'S03280501', 25, N'-', 1, 0, 52, 28, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4690, N'TK', N'S03280601', 25, N'-', 1, 0, 52, 28, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4691, N'TK', N'S03280701', 25, N'-', 1, 0, 52, 28, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4692, N'TK', N'S03280801', 25, N'-', 1, 0, 52, 28, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4693, N'TK', N'S03290101', 25, N'-', 1, 0, 52, 29, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4694, N'TK', N'S03290201', 25, N'-', 1, 0, 52, 29, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4695, N'TK', N'S03290301', 25, N'-', 1, 0, 52, 29, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4696, N'TK', N'S03290401', 25, N'-', 1, 0, 52, 29, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4697, N'TK', N'S03290501', 25, N'-', 1, 0, 52, 29, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4698, N'TK', N'S03290601', 25, N'-', 1, 0, 52, 29, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4699, N'TK', N'S03290701', 25, N'-', 1, 0, 52, 29, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4700, N'TK', N'S03290801', 25, N'-', 1, 0, 52, 29, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4701, N'TK', N'S03300101', 25, N'-', 1, 0, 52, 30, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4702, N'TK', N'S03300201', 25, N'-', 1, 0, 52, 30, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4703, N'TK', N'S03300301', 25, N'-', 1, 0, 52, 30, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4704, N'TK', N'S03300401', 25, N'-', 1, 0, 52, 30, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4705, N'TK', N'S03300501', 25, N'-', 1, 0, 52, 30, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4706, N'TK', N'S03300601', 25, N'-', 1, 0, 52, 30, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4707, N'TK', N'S03300701', 25, N'-', 1, 0, 52, 30, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4708, N'TK', N'S03300801', 25, N'-', 1, 0, 52, 30, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4709, N'TK', N'S03310101', 25, N'-', 1, 0, 52, 31, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4710, N'TK', N'S03310201', 25, N'-', 1, 0, 52, 31, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4711, N'TK', N'S03310301', 25, N'-', 1, 0, 52, 31, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4712, N'TK', N'S03310401', 25, N'-', 1, 0, 52, 31, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4713, N'TK', N'S03310501', 25, N'-', 1, 0, 52, 31, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4714, N'TK', N'S03310601', 25, N'-', 1, 0, 52, 31, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4715, N'TK', N'S03310701', 25, N'-', 1, 0, 52, 31, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4716, N'TK', N'S03310801', 25, N'-', 1, 0, 52, 31, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4717, N'TK', N'S03320101', 25, N'-', 1, 0, 52, 32, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4718, N'TK', N'S03320201', 25, N'-', 1, 0, 52, 32, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4719, N'TK', N'S03320301', 25, N'-', 1, 0, 52, 32, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4720, N'TK', N'S03320401', 25, N'-', 1, 0, 52, 32, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4721, N'TK', N'S03320501', 25, N'-', 1, 0, 52, 32, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4722, N'TK', N'S03320601', 25, N'-', 1, 0, 52, 32, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4723, N'TK', N'S03320701', 25, N'-', 1, 0, 52, 32, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4724, N'TK', N'S03320801', 25, N'-', 1, 0, 52, 32, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4725, N'TK', N'S03330101', 25, N'-', 1, 0, 52, 33, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4726, N'TK', N'S03330201', 25, N'-', 1, 0, 52, 33, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4727, N'TK', N'S03330301', 25, N'-', 1, 0, 52, 33, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4728, N'TK', N'S03330401', 25, N'-', 1, 0, 52, 33, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4729, N'TK', N'S03330501', 25, N'-', 1, 0, 52, 33, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4730, N'TK', N'S03330601', 25, N'-', 1, 0, 52, 33, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4731, N'TK', N'S03330701', 25, N'-', 1, 0, 52, 33, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4732, N'TK', N'S03330801', 25, N'-', 1, 0, 52, 33, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4733, N'TK', N'S03340101', 25, N'-', 1, 0, 52, 34, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4734, N'TK', N'S03340201', 25, N'-', 1, 0, 52, 34, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4735, N'TK', N'S03340301', 25, N'-', 1, 0, 52, 34, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4736, N'TK', N'S03340401', 25, N'-', 1, 0, 52, 34, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4737, N'TK', N'S03340501', 25, N'-', 1, 0, 52, 34, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4738, N'TK', N'S03340601', 25, N'-', 1, 0, 52, 34, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4739, N'TK', N'S03340701', 25, N'-', 1, 0, 52, 34, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4740, N'TK', N'S03340801', 25, N'-', 1, 0, 52, 34, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4741, N'TK', N'S03350101', 25, N'-', 1, 0, 52, 35, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4742, N'TK', N'S03350201', 25, N'-', 1, 0, 52, 35, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4743, N'TK', N'S03350301', 25, N'-', 1, 0, 52, 35, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4744, N'TK', N'S03350401', 25, N'-', 1, 0, 52, 35, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4745, N'TK', N'S03350501', 25, N'-', 1, 0, 52, 35, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4746, N'TK', N'S03350601', 25, N'-', 1, 0, 52, 35, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4747, N'TK', N'S03350701', 25, N'-', 1, 0, 52, 35, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4748, N'TK', N'S03350801', 25, N'-', 1, 0, 52, 35, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4749, N'TK', N'S03360101', 25, N'-', 1, 0, 52, 36, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4750, N'TK', N'S03360201', 25, N'-', 1, 0, 52, 36, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4751, N'TK', N'S03360301', 25, N'-', 1, 0, 52, 36, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4752, N'TK', N'S03360401', 25, N'-', 1, 0, 52, 36, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4753, N'TK', N'S03360501', 25, N'-', 1, 0, 52, 36, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4754, N'TK', N'S03360601', 25, N'-', 1, 0, 52, 36, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4755, N'TK', N'S03360701', 25, N'-', 1, 0, 52, 36, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4756, N'TK', N'S03360801', 25, N'-', 1, 0, 52, 36, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4757, N'TK', N'S04010101', 25, N'-', 1, 0, 53, 1, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4758, N'TK', N'S04010201', 25, N'-', 1, 0, 53, 1, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4759, N'TK', N'S04010301', 25, N'-', 1, 0, 53, 1, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4760, N'TK', N'S04010401', 25, N'-', 1, 0, 53, 1, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4761, N'TK', N'S04010501', 25, N'-', 1, 0, 53, 1, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4762, N'TK', N'S04010601', 25, N'-', 1, 0, 53, 1, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4763, N'TK', N'S04010701', 25, N'-', 1, 0, 53, 1, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4764, N'TK', N'S04010801', 25, N'-', 1, 0, 53, 1, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4765, N'TK', N'S04020101', 25, N'-', 1, 0, 53, 2, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4766, N'TK', N'S04020201', 25, N'-', 1, 0, 53, 2, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4767, N'TK', N'S04020301', 25, N'-', 1, 0, 53, 2, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4768, N'TK', N'S04020401', 25, N'-', 1, 0, 53, 2, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4769, N'TK', N'S04020501', 25, N'-', 1, 0, 53, 2, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4770, N'TK', N'S04020601', 25, N'-', 1, 0, 53, 2, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4771, N'TK', N'S04020701', 25, N'-', 1, 0, 53, 2, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4772, N'TK', N'S04020801', 25, N'-', 1, 0, 53, 2, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4773, N'TK', N'S04030101', 25, N'-', 1, 0, 53, 3, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4774, N'TK', N'S04030201', 25, N'-', 1, 0, 53, 3, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4775, N'TK', N'S04030301', 25, N'-', 1, 0, 53, 3, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4776, N'TK', N'S04030401', 25, N'-', 1, 0, 53, 3, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4777, N'TK', N'S04030501', 25, N'-', 1, 0, 53, 3, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4778, N'TK', N'S04030601', 25, N'-', 1, 0, 53, 3, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4779, N'TK', N'S04030701', 25, N'-', 1, 0, 53, 3, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4780, N'TK', N'S04030801', 25, N'-', 1, 0, 53, 3, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4781, N'TK', N'S04040101', 25, N'-', 1, 0, 53, 4, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4782, N'TK', N'S04040201', 25, N'-', 1, 0, 53, 4, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4783, N'TK', N'S04040301', 25, N'-', 1, 0, 53, 4, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4784, N'TK', N'S04040401', 25, N'-', 1, 0, 53, 4, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4785, N'TK', N'S04040501', 25, N'-', 1, 0, 53, 4, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4786, N'TK', N'S04040601', 25, N'-', 1, 0, 53, 4, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4787, N'TK', N'S04040701', 25, N'-', 1, 0, 53, 4, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4788, N'TK', N'S04040801', 25, N'-', 1, 0, 53, 4, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4789, N'TK', N'S04050101', 25, N'-', 1, 0, 53, 5, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4790, N'TK', N'S04050201', 25, N'-', 1, 0, 53, 5, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4791, N'TK', N'S04050301', 25, N'-', 1, 0, 53, 5, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4792, N'TK', N'S04050401', 25, N'-', 1, 0, 53, 5, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4793, N'TK', N'S04050501', 25, N'-', 1, 0, 53, 5, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4794, N'TK', N'S04050601', 25, N'-', 1, 0, 53, 5, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4795, N'TK', N'S04050701', 25, N'-', 1, 0, 53, 5, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4796, N'TK', N'S04050801', 25, N'-', 1, 0, 53, 5, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4797, N'TK', N'S04060101', 25, N'-', 1, 0, 53, 6, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4798, N'TK', N'S04060201', 25, N'-', 1, 0, 53, 6, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4799, N'TK', N'S04060301', 25, N'-', 1, 0, 53, 6, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4800, N'TK', N'S04060401', 25, N'-', 1, 0, 53, 6, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4801, N'TK', N'S04060501', 25, N'-', 1, 0, 53, 6, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4802, N'TK', N'S04060601', 25, N'-', 1, 0, 53, 6, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4803, N'TK', N'S04060701', 25, N'-', 1, 0, 53, 6, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4804, N'TK', N'S04060801', 25, N'-', 1, 0, 53, 6, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4805, N'TK', N'S04070101', 25, N'-', 1, 0, 53, 7, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4806, N'TK', N'S04070201', 25, N'-', 1, 0, 53, 7, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4807, N'TK', N'S04070301', 25, N'-', 1, 0, 53, 7, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4808, N'TK', N'S04070401', 25, N'-', 1, 0, 53, 7, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4809, N'TK', N'S04070501', 25, N'-', 1, 0, 53, 7, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4810, N'TK', N'S04070601', 25, N'-', 1, 0, 53, 7, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4811, N'TK', N'S04070701', 25, N'-', 1, 0, 53, 7, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4812, N'TK', N'S04070801', 25, N'-', 1, 0, 53, 7, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4813, N'TK', N'S04080101', 25, N'-', 1, 0, 53, 8, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4814, N'TK', N'S04080201', 25, N'-', 1, 0, 53, 8, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4815, N'TK', N'S04080301', 25, N'-', 1, 0, 53, 8, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4816, N'TK', N'S04080401', 25, N'-', 1, 0, 53, 8, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4817, N'TK', N'S04080501', 25, N'-', 1, 0, 53, 8, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4818, N'TK', N'S04080601', 25, N'-', 1, 0, 53, 8, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4819, N'TK', N'S04080701', 25, N'-', 1, 0, 53, 8, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4820, N'TK', N'S04080801', 25, N'-', 1, 0, 53, 8, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4821, N'TK', N'S04090101', 25, N'-', 1, 0, 53, 9, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4822, N'TK', N'S04090201', 25, N'-', 1, 0, 53, 9, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4823, N'TK', N'S04090301', 25, N'-', 1, 0, 53, 9, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4824, N'TK', N'S04090401', 25, N'-', 1, 0, 53, 9, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4825, N'TK', N'S04090501', 25, N'-', 1, 0, 53, 9, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4826, N'TK', N'S04090601', 25, N'-', 1, 0, 53, 9, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4827, N'TK', N'S04090701', 25, N'-', 1, 0, 53, 9, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4828, N'TK', N'S04090801', 25, N'-', 1, 0, 53, 9, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4829, N'TK', N'S04100101', 25, N'-', 1, 0, 53, 10, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4830, N'TK', N'S04100201', 25, N'-', 1, 0, 53, 10, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4831, N'TK', N'S04100301', 25, N'-', 1, 0, 53, 10, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4832, N'TK', N'S04100401', 25, N'-', 1, 0, 53, 10, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4833, N'TK', N'S04100501', 25, N'-', 1, 0, 53, 10, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4834, N'TK', N'S04100601', 25, N'-', 1, 0, 53, 10, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4835, N'TK', N'S04100701', 25, N'-', 1, 0, 53, 10, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4836, N'TK', N'S04100801', 25, N'-', 1, 0, 53, 10, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4837, N'TK', N'S04110101', 25, N'-', 1, 0, 53, 11, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4838, N'TK', N'S04110201', 25, N'-', 1, 0, 53, 11, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4839, N'TK', N'S04110301', 25, N'-', 1, 0, 53, 11, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4840, N'TK', N'S04110401', 25, N'-', 1, 0, 53, 11, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4841, N'TK', N'S04110501', 25, N'-', 1, 0, 53, 11, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4842, N'TK', N'S04110601', 25, N'-', 1, 0, 53, 11, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4843, N'TK', N'S04110701', 25, N'-', 1, 0, 53, 11, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4844, N'TK', N'S04110801', 25, N'-', 1, 0, 53, 11, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4845, N'TK', N'S04120101', 25, N'-', 1, 0, 53, 12, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4846, N'TK', N'S04120201', 25, N'-', 1, 0, 53, 12, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4847, N'TK', N'S04120301', 25, N'-', 1, 0, 53, 12, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4848, N'TK', N'S04120401', 25, N'-', 1, 0, 53, 12, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4849, N'TK', N'S04120501', 25, N'-', 1, 0, 53, 12, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4850, N'TK', N'S04120601', 25, N'-', 1, 0, 53, 12, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4851, N'TK', N'S04120701', 25, N'-', 1, 0, 53, 12, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4852, N'TK', N'S04120801', 25, N'-', 1, 0, 53, 12, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4853, N'TK', N'S04130101', 25, N'-', 1, 0, 53, 13, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4854, N'TK', N'S04130201', 25, N'-', 1, 0, 53, 13, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4855, N'TK', N'S04130301', 25, N'-', 1, 0, 53, 13, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4856, N'TK', N'S04130401', 25, N'-', 1, 0, 53, 13, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4857, N'TK', N'S04130501', 25, N'-', 1, 0, 53, 13, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4858, N'TK', N'S04130601', 25, N'-', 1, 0, 53, 13, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4859, N'TK', N'S04130701', 25, N'-', 1, 0, 53, 13, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4860, N'TK', N'S04130801', 25, N'-', 1, 0, 53, 13, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4861, N'TK', N'S04140101', 25, N'-', 1, 0, 53, 14, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4862, N'TK', N'S04140201', 25, N'-', 1, 0, 53, 14, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4863, N'TK', N'S04140301', 25, N'-', 1, 0, 53, 14, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4864, N'TK', N'S04140401', 25, N'-', 1, 0, 53, 14, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4865, N'TK', N'S04140501', 25, N'-', 1, 0, 53, 14, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4866, N'TK', N'S04140601', 25, N'-', 1, 0, 53, 14, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4867, N'TK', N'S04140701', 25, N'-', 1, 0, 53, 14, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4868, N'TK', N'S04140801', 25, N'-', 1, 0, 53, 14, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4869, N'TK', N'S04150101', 25, N'-', 1, 0, 53, 15, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4870, N'TK', N'S04150201', 25, N'-', 1, 0, 53, 15, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4871, N'TK', N'S04150301', 25, N'-', 1, 0, 53, 15, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4872, N'TK', N'S04150401', 25, N'-', 1, 0, 53, 15, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4873, N'TK', N'S04150501', 25, N'-', 1, 0, 53, 15, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4874, N'TK', N'S04150601', 25, N'-', 1, 0, 53, 15, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4875, N'TK', N'S04150701', 25, N'-', 1, 0, 53, 15, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4876, N'TK', N'S04150801', 25, N'-', 1, 0, 53, 15, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4877, N'TK', N'S04160101', 25, N'-', 1, 0, 53, 16, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4878, N'TK', N'S04160201', 25, N'-', 1, 0, 53, 16, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4879, N'TK', N'S04160301', 25, N'-', 1, 0, 53, 16, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4880, N'TK', N'S04160401', 25, N'-', 1, 0, 53, 16, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4881, N'TK', N'S04160501', 25, N'-', 1, 0, 53, 16, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4882, N'TK', N'S04160601', 25, N'-', 1, 0, 53, 16, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4883, N'TK', N'S04160701', 25, N'-', 1, 0, 53, 16, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4884, N'TK', N'S04160801', 25, N'-', 1, 0, 53, 16, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4885, N'TK', N'S04170101', 25, N'-', 1, 0, 53, 17, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4886, N'TK', N'S04170201', 25, N'-', 1, 0, 53, 17, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4887, N'TK', N'S04170301', 25, N'-', 1, 0, 53, 17, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4888, N'TK', N'S04170401', 25, N'-', 1, 0, 53, 17, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4889, N'TK', N'S04170501', 25, N'-', 1, 0, 53, 17, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4890, N'TK', N'S04170601', 25, N'-', 1, 0, 53, 17, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4891, N'TK', N'S04170701', 25, N'-', 1, 0, 53, 17, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4892, N'TK', N'S04170801', 25, N'-', 1, 0, 53, 17, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4893, N'TK', N'S04180101', 25, N'-', 1, 0, 53, 18, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4894, N'TK', N'S04180201', 25, N'-', 1, 0, 53, 18, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4895, N'TK', N'S04180301', 25, N'-', 1, 0, 53, 18, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4896, N'TK', N'S04180401', 25, N'-', 1, 0, 53, 18, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4897, N'TK', N'S04180501', 25, N'-', 1, 0, 53, 18, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4898, N'TK', N'S04180601', 25, N'-', 1, 0, 53, 18, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4899, N'TK', N'S04180701', 25, N'-', 1, 0, 53, 18, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4900, N'TK', N'S04180801', 25, N'-', 1, 0, 53, 18, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4901, N'TK', N'S04190101', 25, N'-', 1, 0, 53, 19, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4902, N'TK', N'S04190201', 25, N'-', 1, 0, 53, 19, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4903, N'TK', N'S04190301', 25, N'-', 1, 0, 53, 19, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4904, N'TK', N'S04190401', 25, N'-', 1, 0, 53, 19, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4905, N'TK', N'S04190501', 25, N'-', 1, 0, 53, 19, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4906, N'TK', N'S04190601', 25, N'-', 1, 0, 53, 19, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4907, N'TK', N'S04190701', 25, N'-', 1, 0, 53, 19, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4908, N'TK', N'S04190801', 25, N'-', 1, 0, 53, 19, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4909, N'TK', N'S04200101', 25, N'-', 1, 0, 53, 20, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4910, N'TK', N'S04200201', 25, N'-', 1, 0, 53, 20, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4911, N'TK', N'S04200301', 25, N'-', 1, 0, 53, 20, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4912, N'TK', N'S04200401', 25, N'-', 1, 0, 53, 20, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4913, N'TK', N'S04200501', 25, N'-', 1, 0, 53, 20, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4914, N'TK', N'S04200601', 25, N'-', 1, 0, 53, 20, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4915, N'TK', N'S04200701', 25, N'-', 1, 0, 53, 20, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4916, N'TK', N'S04200801', 25, N'-', 1, 0, 53, 20, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4917, N'TK', N'S04210101', 25, N'-', 1, 0, 53, 21, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4918, N'TK', N'S04210201', 25, N'-', 1, 0, 53, 21, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4919, N'TK', N'S04210301', 25, N'-', 1, 0, 53, 21, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4920, N'TK', N'S04210401', 25, N'-', 1, 0, 53, 21, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4921, N'TK', N'S04210501', 25, N'-', 1, 0, 53, 21, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4922, N'TK', N'S04210601', 25, N'-', 1, 0, 53, 21, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4923, N'TK', N'S04210701', 25, N'-', 1, 0, 53, 21, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4924, N'TK', N'S04210801', 25, N'-', 1, 0, 53, 21, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4925, N'TK', N'S04220101', 25, N'-', 1, 0, 53, 22, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4926, N'TK', N'S04220201', 25, N'-', 1, 0, 53, 22, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4927, N'TK', N'S04220301', 25, N'-', 1, 0, 53, 22, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4928, N'TK', N'S04220401', 25, N'-', 1, 0, 53, 22, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4929, N'TK', N'S04220501', 25, N'-', 1, 0, 53, 22, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4930, N'TK', N'S04220601', 25, N'-', 1, 0, 53, 22, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4931, N'TK', N'S04220701', 25, N'-', 1, 0, 53, 22, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4932, N'TK', N'S04220801', 25, N'-', 1, 0, 53, 22, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4933, N'TK', N'S04230101', 25, N'-', 1, 0, 53, 23, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4934, N'TK', N'S04230201', 25, N'-', 1, 0, 53, 23, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4935, N'TK', N'S04230301', 25, N'-', 1, 0, 53, 23, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4936, N'TK', N'S04230401', 25, N'-', 1, 0, 53, 23, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4937, N'TK', N'S04230501', 25, N'-', 1, 0, 53, 23, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4938, N'TK', N'S04230601', 25, N'-', 1, 0, 53, 23, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4939, N'TK', N'S04230701', 25, N'-', 1, 0, 53, 23, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4940, N'TK', N'S04230801', 25, N'-', 1, 0, 53, 23, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4941, N'TK', N'S04240101', 25, N'-', 1, 0, 53, 24, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4942, N'TK', N'S04240201', 25, N'-', 1, 0, 53, 24, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4943, N'TK', N'S04240301', 25, N'-', 1, 0, 53, 24, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4944, N'TK', N'S04240401', 25, N'-', 1, 0, 53, 24, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4945, N'TK', N'S04240501', 25, N'-', 1, 0, 53, 24, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4946, N'TK', N'S04240601', 25, N'-', 1, 0, 53, 24, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4947, N'TK', N'S04240701', 25, N'-', 1, 0, 53, 24, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4948, N'TK', N'S04240801', 25, N'-', 1, 0, 53, 24, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4949, N'TK', N'S04250101', 25, N'-', 1, 0, 53, 25, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4950, N'TK', N'S04250201', 25, N'-', 1, 0, 53, 25, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4951, N'TK', N'S04250301', 25, N'-', 1, 0, 53, 25, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4952, N'TK', N'S04250401', 25, N'-', 1, 0, 53, 25, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4953, N'TK', N'S04250501', 25, N'-', 1, 0, 53, 25, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4954, N'TK', N'S04250601', 25, N'-', 1, 0, 53, 25, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4955, N'TK', N'S04250701', 25, N'-', 1, 0, 53, 25, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4956, N'TK', N'S04250801', 25, N'-', 1, 0, 53, 25, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4957, N'TK', N'S04260101', 25, N'-', 1, 0, 53, 26, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4958, N'TK', N'S04260201', 25, N'-', 1, 0, 53, 26, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4959, N'TK', N'S04260301', 25, N'-', 1, 0, 53, 26, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4960, N'TK', N'S04260401', 25, N'-', 1, 0, 53, 26, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4961, N'TK', N'S04260501', 25, N'-', 1, 0, 53, 26, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4962, N'TK', N'S04260601', 25, N'-', 1, 0, 53, 26, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4963, N'TK', N'S04260701', 25, N'-', 1, 0, 53, 26, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4964, N'TK', N'S04260801', 25, N'-', 1, 0, 53, 26, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4965, N'TK', N'S04270101', 25, N'-', 1, 0, 53, 27, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4966, N'TK', N'S04270201', 25, N'-', 1, 0, 53, 27, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4967, N'TK', N'S04270301', 25, N'-', 1, 0, 53, 27, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4968, N'TK', N'S04270401', 25, N'-', 1, 0, 53, 27, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4969, N'TK', N'S04270501', 25, N'-', 1, 0, 53, 27, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4970, N'TK', N'S04270601', 25, N'-', 1, 0, 53, 27, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4971, N'TK', N'S04270701', 25, N'-', 1, 0, 53, 27, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4972, N'TK', N'S04270801', 25, N'-', 1, 0, 53, 27, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4973, N'TK', N'S04280101', 25, N'-', 1, 0, 53, 28, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4974, N'TK', N'S04280201', 25, N'-', 1, 0, 53, 28, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4975, N'TK', N'S04280301', 25, N'-', 1, 0, 53, 28, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4976, N'TK', N'S04280401', 25, N'-', 1, 0, 53, 28, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4977, N'TK', N'S04280501', 25, N'-', 1, 0, 53, 28, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4978, N'TK', N'S04280601', 25, N'-', 1, 0, 53, 28, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4979, N'TK', N'S04280701', 25, N'-', 1, 0, 53, 28, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4980, N'TK', N'S04280801', 25, N'-', 1, 0, 53, 28, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4981, N'TK', N'S04290101', 25, N'-', 1, 0, 53, 29, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4982, N'TK', N'S04290201', 25, N'-', 1, 0, 53, 29, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4983, N'TK', N'S04290301', 25, N'-', 1, 0, 53, 29, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4984, N'TK', N'S04290401', 25, N'-', 1, 0, 53, 29, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4985, N'TK', N'S04290501', 25, N'-', 1, 0, 53, 29, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4986, N'TK', N'S04290601', 25, N'-', 1, 0, 53, 29, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4987, N'TK', N'S04290701', 25, N'-', 1, 0, 53, 29, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4988, N'TK', N'S04290801', 25, N'-', 1, 0, 53, 29, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4989, N'TK', N'S04300101', 25, N'-', 1, 0, 53, 30, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4990, N'TK', N'S04300201', 25, N'-', 1, 0, 53, 30, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4991, N'TK', N'S04300301', 25, N'-', 1, 0, 53, 30, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4992, N'TK', N'S04300401', 25, N'-', 1, 0, 53, 30, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4993, N'TK', N'S04300501', 25, N'-', 1, 0, 53, 30, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4994, N'TK', N'S04300601', 25, N'-', 1, 0, 53, 30, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4995, N'TK', N'S04300701', 25, N'-', 1, 0, 53, 30, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4996, N'TK', N'S04300801', 25, N'-', 1, 0, 53, 30, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4997, N'TK', N'S04310101', 25, N'-', 1, 0, 53, 31, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4998, N'TK', N'S04310201', 25, N'-', 1, 0, 53, 31, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (4999, N'TK', N'S04310301', 25, N'-', 1, 0, 53, 31, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5000, N'TK', N'S04310401', 25, N'-', 1, 0, 53, 31, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5001, N'TK', N'S04310501', 25, N'-', 1, 0, 53, 31, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5002, N'TK', N'S04310601', 25, N'-', 1, 0, 53, 31, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5003, N'TK', N'S04310701', 25, N'-', 1, 0, 53, 31, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5004, N'TK', N'S04310801', 25, N'-', 1, 0, 53, 31, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5005, N'TK', N'S04320101', 25, N'-', 1, 0, 53, 32, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5006, N'TK', N'S04320201', 25, N'-', 1, 0, 53, 32, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5007, N'TK', N'S04320301', 25, N'-', 1, 0, 53, 32, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5008, N'TK', N'S04320401', 25, N'-', 1, 0, 53, 32, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5009, N'TK', N'S04320501', 25, N'-', 1, 0, 53, 32, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5010, N'TK', N'S04320601', 25, N'-', 1, 0, 53, 32, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5011, N'TK', N'S04320701', 25, N'-', 1, 0, 53, 32, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5012, N'TK', N'S04320801', 25, N'-', 1, 0, 53, 32, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5013, N'TK', N'S04330101', 25, N'-', 1, 0, 53, 33, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5014, N'TK', N'S04330201', 25, N'-', 1, 0, 53, 33, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5015, N'TK', N'S04330301', 25, N'-', 1, 0, 53, 33, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5016, N'TK', N'S04330401', 25, N'-', 1, 0, 53, 33, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5017, N'TK', N'S04330501', 25, N'-', 1, 0, 53, 33, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5018, N'TK', N'S04330601', 25, N'-', 1, 0, 53, 33, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5019, N'TK', N'S04330701', 25, N'-', 1, 0, 53, 33, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5020, N'TK', N'S04330801', 25, N'-', 1, 0, 53, 33, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5021, N'TK', N'S04340101', 25, N'-', 1, 0, 53, 34, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5022, N'TK', N'S04340201', 25, N'-', 1, 0, 53, 34, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5023, N'TK', N'S04340301', 25, N'-', 1, 0, 53, 34, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5024, N'TK', N'S04340401', 25, N'-', 1, 0, 53, 34, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5025, N'TK', N'S04340501', 25, N'-', 1, 0, 53, 34, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5026, N'TK', N'S04340601', 25, N'-', 1, 0, 53, 34, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5027, N'TK', N'S04340701', 25, N'-', 1, 0, 53, 34, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5028, N'TK', N'S04340801', 25, N'-', 1, 0, 53, 34, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5029, N'TK', N'S04350101', 25, N'-', 1, 0, 53, 35, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5030, N'TK', N'S04350201', 25, N'-', 1, 0, 53, 35, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5031, N'TK', N'S04350301', 25, N'-', 1, 0, 53, 35, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5032, N'TK', N'S04350401', 25, N'-', 1, 0, 53, 35, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5033, N'TK', N'S04350501', 25, N'-', 1, 0, 53, 35, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5034, N'TK', N'S04350601', 25, N'-', 1, 0, 53, 35, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5035, N'TK', N'S04350701', 25, N'-', 1, 0, 53, 35, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5036, N'TK', N'S04350801', 25, N'-', 1, 0, 53, 35, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5037, N'TK', N'S04360101', 25, N'-', 1, 0, 53, 36, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5038, N'TK', N'S04360201', 25, N'-', 1, 0, 53, 36, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5039, N'TK', N'S04360301', 25, N'-', 1, 0, 53, 36, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5040, N'TK', N'S04360401', 25, N'-', 1, 0, 53, 36, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5041, N'TK', N'S04360501', 25, N'-', 1, 0, 53, 36, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5042, N'TK', N'S04360601', 25, N'-', 1, 0, 53, 36, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5043, N'TK', N'S04360701', 25, N'-', 1, 0, 53, 36, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5044, N'TK', N'S04360801', 25, N'-', 1, 0, 53, 36, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5045, N'TK', N'S05010101', 25, N'-', 1, 0, 54, 1, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5046, N'TK', N'S05010201', 25, N'-', 1, 0, 54, 1, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5047, N'TK', N'S05010301', 25, N'-', 1, 0, 54, 1, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5048, N'TK', N'S05010401', 25, N'-', 1, 0, 54, 1, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5049, N'TK', N'S05010501', 25, N'-', 1, 0, 54, 1, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5050, N'TK', N'S05010601', 25, N'-', 1, 0, 54, 1, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5051, N'TK', N'S05010701', 25, N'-', 0, 0, 54, 1, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5052, N'TK', N'S05010801', 25, N'-', 0, 0, 54, 1, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5053, N'TK', N'S05020101', 25, N'-', 1, 0, 54, 2, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5054, N'TK', N'S05020201', 25, N'-', 1, 0, 54, 2, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5055, N'TK', N'S05020301', 25, N'-', 1, 0, 54, 2, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5056, N'TK', N'S05020401', 25, N'-', 1, 0, 54, 2, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5057, N'TK', N'S05020501', 25, N'-', 1, 0, 54, 2, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5058, N'TK', N'S05020601', 25, N'-', 1, 0, 54, 2, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5059, N'TK', N'S05020701', 25, N'-', 0, 0, 54, 2, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5060, N'TK', N'S05020801', 25, N'-', 0, 0, 54, 2, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5061, N'TK', N'S05030101', 25, N'-', 1, 0, 54, 3, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5062, N'TK', N'S05030201', 25, N'-', 1, 0, 54, 3, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5063, N'TK', N'S05030301', 25, N'-', 1, 0, 54, 3, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5064, N'TK', N'S05030401', 25, N'-', 1, 0, 54, 3, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5065, N'TK', N'S05030501', 25, N'-', 1, 0, 54, 3, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5066, N'TK', N'S05030601', 25, N'-', 1, 0, 54, 3, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5067, N'TK', N'S05030701', 25, N'-', 0, 0, 54, 3, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5068, N'TK', N'S05030801', 25, N'-', 0, 0, 54, 3, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5069, N'TK', N'S05040101', 25, N'-', 1, 0, 54, 4, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5070, N'TK', N'S05040201', 25, N'-', 1, 0, 54, 4, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5071, N'TK', N'S05040301', 25, N'-', 1, 0, 54, 4, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5072, N'TK', N'S05040401', 25, N'-', 1, 0, 54, 4, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5073, N'TK', N'S05040501', 25, N'-', 1, 0, 54, 4, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5074, N'TK', N'S05040601', 25, N'-', 1, 0, 54, 4, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5075, N'TK', N'S05040701', 25, N'-', 1, 0, 54, 4, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5076, N'TK', N'S05040801', 25, N'-', 1, 0, 54, 4, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5077, N'TK', N'S05050101', 25, N'-', 1, 0, 54, 5, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5078, N'TK', N'S05050201', 25, N'-', 1, 0, 54, 5, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5079, N'TK', N'S05050301', 25, N'-', 1, 0, 54, 5, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5080, N'TK', N'S05050401', 25, N'-', 1, 0, 54, 5, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5081, N'TK', N'S05050501', 25, N'-', 1, 0, 54, 5, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5082, N'TK', N'S05050601', 25, N'-', 1, 0, 54, 5, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5083, N'TK', N'S05050701', 25, N'-', 1, 0, 54, 5, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5084, N'TK', N'S05050801', 25, N'-', 1, 0, 54, 5, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5085, N'TK', N'S05060101', 25, N'-', 1, 0, 54, 6, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5086, N'TK', N'S05060201', 25, N'-', 1, 0, 54, 6, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5087, N'TK', N'S05060301', 25, N'-', 1, 0, 54, 6, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5088, N'TK', N'S05060401', 25, N'-', 1, 0, 54, 6, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5089, N'TK', N'S05060501', 25, N'-', 1, 0, 54, 6, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5090, N'TK', N'S05060601', 25, N'-', 1, 0, 54, 6, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5091, N'TK', N'S05060701', 25, N'-', 1, 0, 54, 6, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5092, N'TK', N'S05060801', 25, N'-', 1, 0, 54, 6, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5093, N'TK', N'S05070101', 25, N'-', 1, 0, 54, 7, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5094, N'TK', N'S05070201', 25, N'-', 1, 0, 54, 7, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5095, N'TK', N'S05070301', 25, N'-', 1, 0, 54, 7, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5096, N'TK', N'S05070401', 25, N'-', 1, 0, 54, 7, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5097, N'TK', N'S05070501', 25, N'-', 1, 0, 54, 7, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5098, N'TK', N'S05070601', 25, N'-', 1, 0, 54, 7, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5099, N'TK', N'S05070701', 25, N'-', 1, 0, 54, 7, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5100, N'TK', N'S05070801', 25, N'-', 1, 0, 54, 7, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5101, N'TK', N'S05080101', 25, N'-', 1, 0, 54, 8, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5102, N'TK', N'S05080201', 25, N'-', 1, 0, 54, 8, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5103, N'TK', N'S05080301', 25, N'-', 1, 0, 54, 8, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5104, N'TK', N'S05080401', 25, N'-', 1, 0, 54, 8, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5105, N'TK', N'S05080501', 25, N'-', 1, 0, 54, 8, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5106, N'TK', N'S05080601', 25, N'-', 1, 0, 54, 8, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5107, N'TK', N'S05080701', 25, N'-', 1, 0, 54, 8, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5108, N'TK', N'S05080801', 25, N'-', 1, 0, 54, 8, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5109, N'TK', N'S05090101', 25, N'-', 1, 0, 54, 9, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5110, N'TK', N'S05090201', 25, N'-', 1, 0, 54, 9, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5111, N'TK', N'S05090301', 25, N'-', 1, 0, 54, 9, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5112, N'TK', N'S05090401', 25, N'-', 1, 0, 54, 9, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5113, N'TK', N'S05090501', 25, N'-', 1, 0, 54, 9, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5114, N'TK', N'S05090601', 25, N'-', 1, 0, 54, 9, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5115, N'TK', N'S05090701', 25, N'-', 1, 0, 54, 9, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5116, N'TK', N'S05090801', 25, N'-', 1, 0, 54, 9, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5117, N'TK', N'S05100101', 25, N'-', 1, 0, 54, 10, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5118, N'TK', N'S05100201', 25, N'-', 1, 0, 54, 10, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5119, N'TK', N'S05100301', 25, N'-', 1, 0, 54, 10, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5120, N'TK', N'S05100401', 25, N'-', 1, 0, 54, 10, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5121, N'TK', N'S05100501', 25, N'-', 1, 0, 54, 10, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5122, N'TK', N'S05100601', 25, N'-', 1, 0, 54, 10, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5123, N'TK', N'S05100701', 25, N'-', 1, 0, 54, 10, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5124, N'TK', N'S05100801', 25, N'-', 1, 0, 54, 10, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5125, N'TK', N'S05110101', 25, N'-', 1, 0, 54, 11, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5126, N'TK', N'S05110201', 25, N'-', 1, 0, 54, 11, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5127, N'TK', N'S05110301', 25, N'-', 1, 0, 54, 11, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5128, N'TK', N'S05110401', 25, N'-', 1, 0, 54, 11, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5129, N'TK', N'S05110501', 25, N'-', 1, 0, 54, 11, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5130, N'TK', N'S05110601', 25, N'-', 1, 0, 54, 11, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5131, N'TK', N'S05110701', 25, N'-', 1, 0, 54, 11, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5132, N'TK', N'S05110801', 25, N'-', 1, 0, 54, 11, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5133, N'TK', N'S05120101', 25, N'-', 1, 0, 54, 12, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5134, N'TK', N'S05120201', 25, N'-', 1, 0, 54, 12, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5135, N'TK', N'S05120301', 25, N'-', 1, 0, 54, 12, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5136, N'TK', N'S05120401', 25, N'-', 1, 0, 54, 12, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5137, N'TK', N'S05120501', 25, N'-', 1, 0, 54, 12, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5138, N'TK', N'S05120601', 25, N'-', 1, 0, 54, 12, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5139, N'TK', N'S05120701', 25, N'-', 1, 0, 54, 12, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5140, N'TK', N'S05120801', 25, N'-', 1, 0, 54, 12, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5141, N'TK', N'S05130101', 25, N'-', 1, 0, 54, 13, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5142, N'TK', N'S05130201', 25, N'-', 1, 0, 54, 13, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5143, N'TK', N'S05130301', 25, N'-', 1, 0, 54, 13, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5144, N'TK', N'S05130401', 25, N'-', 1, 0, 54, 13, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5145, N'TK', N'S05130501', 25, N'-', 1, 0, 54, 13, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5146, N'TK', N'S05130601', 25, N'-', 1, 0, 54, 13, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5147, N'TK', N'S05130701', 25, N'-', 1, 0, 54, 13, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5148, N'TK', N'S05130801', 25, N'-', 1, 0, 54, 13, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5149, N'TK', N'S05140101', 25, N'-', 1, 0, 54, 14, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5150, N'TK', N'S05140201', 25, N'-', 1, 0, 54, 14, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5151, N'TK', N'S05140301', 25, N'-', 1, 0, 54, 14, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5152, N'TK', N'S05140401', 25, N'-', 1, 0, 54, 14, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5153, N'TK', N'S05140501', 25, N'-', 1, 0, 54, 14, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5154, N'TK', N'S05140601', 25, N'-', 1, 0, 54, 14, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5155, N'TK', N'S05140701', 25, N'-', 1, 0, 54, 14, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5156, N'TK', N'S05140801', 25, N'-', 1, 0, 54, 14, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5157, N'TK', N'S05150101', 25, N'-', 1, 0, 54, 15, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5158, N'TK', N'S05150201', 25, N'-', 1, 0, 54, 15, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5159, N'TK', N'S05150301', 25, N'-', 1, 0, 54, 15, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5160, N'TK', N'S05150401', 25, N'-', 1, 0, 54, 15, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5161, N'TK', N'S05150501', 25, N'-', 1, 0, 54, 15, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5162, N'TK', N'S05150601', 25, N'-', 1, 0, 54, 15, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5163, N'TK', N'S05150701', 25, N'-', 1, 0, 54, 15, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5164, N'TK', N'S05150801', 25, N'-', 1, 0, 54, 15, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5165, N'TK', N'S05160101', 25, N'-', 1, 0, 54, 16, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5166, N'TK', N'S05160201', 25, N'-', 1, 0, 54, 16, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5167, N'TK', N'S05160301', 25, N'-', 1, 0, 54, 16, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5168, N'TK', N'S05160401', 25, N'-', 1, 0, 54, 16, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5169, N'TK', N'S05160501', 25, N'-', 1, 0, 54, 16, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5170, N'TK', N'S05160601', 25, N'-', 1, 0, 54, 16, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5171, N'TK', N'S05160701', 25, N'-', 0, 0, 54, 16, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5172, N'TK', N'S05160801', 25, N'-', 0, 0, 54, 16, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5173, N'TK', N'S05170101', 25, N'-', 1, 0, 54, 17, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5174, N'TK', N'S05170201', 25, N'-', 1, 0, 54, 17, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5175, N'TK', N'S05170301', 25, N'-', 1, 0, 54, 17, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5176, N'TK', N'S05170401', 25, N'-', 1, 0, 54, 17, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5177, N'TK', N'S05170501', 25, N'-', 1, 0, 54, 17, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5178, N'TK', N'S05170601', 25, N'-', 1, 0, 54, 17, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5179, N'TK', N'S05170701', 25, N'-', 0, 0, 54, 17, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5180, N'TK', N'S05170801', 25, N'-', 0, 0, 54, 17, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5181, N'TK', N'S05180101', 25, N'-', 1, 0, 54, 18, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5182, N'TK', N'S05180201', 25, N'-', 1, 0, 54, 18, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5183, N'TK', N'S05180301', 25, N'-', 1, 0, 54, 18, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5184, N'TK', N'S05180401', 25, N'-', 1, 0, 54, 18, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5185, N'TK', N'S05180501', 25, N'-', 1, 0, 54, 18, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5186, N'TK', N'S05180601', 25, N'-', 1, 0, 54, 18, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5187, N'TK', N'S05180701', 25, N'-', 0, 0, 54, 18, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5188, N'TK', N'S05180801', 25, N'-', 0, 0, 54, 18, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5189, N'TK', N'S05190101', 25, N'-', 0, 0, 54, 19, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5190, N'TK', N'S05190201', 25, N'-', 0, 0, 54, 19, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5191, N'TK', N'S05190301', 25, N'-', 0, 0, 54, 19, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5192, N'TK', N'S05190401', 25, N'-', 0, 0, 54, 19, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5193, N'TK', N'S05190501', 25, N'-', 0, 0, 54, 19, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5194, N'TK', N'S05190601', 25, N'-', 0, 0, 54, 19, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5195, N'TK', N'S05190701', 25, N'-', 0, 0, 54, 19, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5196, N'TK', N'S05190801', 25, N'-', 0, 0, 54, 19, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5197, N'TK', N'S05200101', 25, N'-', 1, 0, 54, 20, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5198, N'TK', N'S05200201', 25, N'-', 1, 0, 54, 20, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5199, N'TK', N'S05200301', 25, N'-', 1, 0, 54, 20, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5200, N'TK', N'S05200401', 25, N'-', 1, 0, 54, 20, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5201, N'TK', N'S05200501', 25, N'-', 1, 0, 54, 20, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5202, N'TK', N'S05200601', 25, N'-', 1, 0, 54, 20, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5203, N'TK', N'S05200701', 25, N'-', 0, 0, 54, 20, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5204, N'TK', N'S05200801', 25, N'-', 0, 0, 54, 20, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5205, N'TK', N'S05210101', 25, N'-', 1, 0, 54, 21, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5206, N'TK', N'S05210201', 25, N'-', 1, 0, 54, 21, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5207, N'TK', N'S05210301', 25, N'-', 1, 0, 54, 21, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5208, N'TK', N'S05210401', 25, N'-', 1, 0, 54, 21, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5209, N'TK', N'S05210501', 25, N'-', 1, 0, 54, 21, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5210, N'TK', N'S05210601', 25, N'-', 1, 0, 54, 21, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5211, N'TK', N'S05210701', 25, N'-', 0, 0, 54, 21, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5212, N'TK', N'S05210801', 25, N'-', 0, 0, 54, 21, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5213, N'TK', N'S05220101', 25, N'-', 1, 0, 54, 22, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5214, N'TK', N'S05220201', 25, N'-', 1, 0, 54, 22, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5215, N'TK', N'S05220301', 25, N'-', 1, 0, 54, 22, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5216, N'TK', N'S05220401', 25, N'-', 1, 0, 54, 22, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5217, N'TK', N'S05220501', 25, N'-', 1, 0, 54, 22, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5218, N'TK', N'S05220601', 25, N'-', 1, 0, 54, 22, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5219, N'TK', N'S05220701', 25, N'-', 1, 0, 54, 22, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5220, N'TK', N'S05220801', 25, N'-', 1, 0, 54, 22, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5221, N'TK', N'S05230101', 25, N'-', 1, 0, 54, 23, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5222, N'TK', N'S05230201', 25, N'-', 1, 0, 54, 23, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5223, N'TK', N'S05230301', 25, N'-', 1, 0, 54, 23, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5224, N'TK', N'S05230401', 25, N'-', 1, 0, 54, 23, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5225, N'TK', N'S05230501', 25, N'-', 1, 0, 54, 23, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5226, N'TK', N'S05230601', 25, N'-', 1, 0, 54, 23, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5227, N'TK', N'S05230701', 25, N'-', 1, 0, 54, 23, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5228, N'TK', N'S05230801', 25, N'-', 1, 0, 54, 23, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5229, N'TK', N'S05240101', 25, N'-', 1, 0, 54, 24, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5230, N'TK', N'S05240201', 25, N'-', 1, 0, 54, 24, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5231, N'TK', N'S05240301', 25, N'-', 1, 0, 54, 24, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5232, N'TK', N'S05240401', 25, N'-', 1, 0, 54, 24, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5233, N'TK', N'S05240501', 25, N'-', 1, 0, 54, 24, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5234, N'TK', N'S05240601', 25, N'-', 1, 0, 54, 24, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5235, N'TK', N'S05240701', 25, N'-', 1, 0, 54, 24, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5236, N'TK', N'S05240801', 25, N'-', 1, 0, 54, 24, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5237, N'TK', N'S05250101', 25, N'-', 1, 0, 54, 25, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5238, N'TK', N'S05250201', 25, N'-', 1, 0, 54, 25, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5239, N'TK', N'S05250301', 25, N'-', 1, 0, 54, 25, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5240, N'TK', N'S05250401', 25, N'-', 1, 0, 54, 25, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5241, N'TK', N'S05250501', 25, N'-', 1, 0, 54, 25, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5242, N'TK', N'S05250601', 25, N'-', 1, 0, 54, 25, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5243, N'TK', N'S05250701', 25, N'-', 1, 0, 54, 25, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5244, N'TK', N'S05250801', 25, N'-', 1, 0, 54, 25, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5245, N'TK', N'S05260101', 25, N'-', 1, 0, 54, 26, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5246, N'TK', N'S05260201', 25, N'-', 1, 0, 54, 26, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5247, N'TK', N'S05260301', 25, N'-', 1, 0, 54, 26, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5248, N'TK', N'S05260401', 25, N'-', 1, 0, 54, 26, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5249, N'TK', N'S05260501', 25, N'-', 1, 0, 54, 26, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5250, N'TK', N'S05260601', 25, N'-', 1, 0, 54, 26, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5251, N'TK', N'S05260701', 25, N'-', 1, 0, 54, 26, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5252, N'TK', N'S05260801', 25, N'-', 1, 0, 54, 26, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5253, N'TK', N'S05270101', 25, N'-', 1, 0, 54, 27, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5254, N'TK', N'S05270201', 25, N'-', 1, 0, 54, 27, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5255, N'TK', N'S05270301', 25, N'-', 1, 0, 54, 27, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5256, N'TK', N'S05270401', 25, N'-', 1, 0, 54, 27, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5257, N'TK', N'S05270501', 25, N'-', 1, 0, 54, 27, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5258, N'TK', N'S05270601', 25, N'-', 1, 0, 54, 27, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5259, N'TK', N'S05270701', 25, N'-', 1, 0, 54, 27, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5260, N'TK', N'S05270801', 25, N'-', 1, 0, 54, 27, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5261, N'TK', N'S05280101', 25, N'-', 1, 0, 54, 28, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5262, N'TK', N'S05280201', 25, N'-', 1, 0, 54, 28, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5263, N'TK', N'S05280301', 25, N'-', 1, 0, 54, 28, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5264, N'TK', N'S05280401', 25, N'-', 1, 0, 54, 28, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5265, N'TK', N'S05280501', 25, N'-', 1, 0, 54, 28, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5266, N'TK', N'S05280601', 25, N'-', 1, 0, 54, 28, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5267, N'TK', N'S05280701', 25, N'-', 1, 0, 54, 28, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5268, N'TK', N'S05280801', 25, N'-', 1, 0, 54, 28, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5269, N'TK', N'S05290101', 25, N'-', 1, 0, 54, 29, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5270, N'TK', N'S05290201', 25, N'-', 1, 0, 54, 29, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5271, N'TK', N'S05290301', 25, N'-', 1, 0, 54, 29, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5272, N'TK', N'S05290401', 25, N'-', 1, 0, 54, 29, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5273, N'TK', N'S05290501', 25, N'-', 1, 0, 54, 29, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5274, N'TK', N'S05290601', 25, N'-', 1, 0, 54, 29, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5275, N'TK', N'S05290701', 25, N'-', 1, 0, 54, 29, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5276, N'TK', N'S05290801', 25, N'-', 1, 0, 54, 29, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5277, N'TK', N'S05300101', 25, N'-', 1, 0, 54, 30, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5278, N'TK', N'S05300201', 25, N'-', 1, 0, 54, 30, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5279, N'TK', N'S05300301', 25, N'-', 1, 0, 54, 30, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5280, N'TK', N'S05300401', 25, N'-', 1, 0, 54, 30, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5281, N'TK', N'S05300501', 25, N'-', 1, 0, 54, 30, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5282, N'TK', N'S05300601', 25, N'-', 1, 0, 54, 30, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5283, N'TK', N'S05300701', 25, N'-', 1, 0, 54, 30, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5284, N'TK', N'S05300801', 25, N'-', 1, 0, 54, 30, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5285, N'TK', N'S05310101', 25, N'-', 1, 0, 54, 31, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5286, N'TK', N'S05310201', 25, N'-', 1, 0, 54, 31, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5287, N'TK', N'S05310301', 25, N'-', 1, 0, 54, 31, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5288, N'TK', N'S05310401', 25, N'-', 1, 0, 54, 31, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5289, N'TK', N'S05310501', 25, N'-', 1, 0, 54, 31, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5290, N'TK', N'S05310601', 25, N'-', 1, 0, 54, 31, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5291, N'TK', N'S05310701', 25, N'-', 1, 0, 54, 31, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5292, N'TK', N'S05310801', 25, N'-', 1, 0, 54, 31, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5293, N'TK', N'S05320101', 25, N'-', 1, 0, 54, 32, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5294, N'TK', N'S05320201', 25, N'-', 1, 0, 54, 32, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5295, N'TK', N'S05320301', 25, N'-', 1, 0, 54, 32, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5296, N'TK', N'S05320401', 25, N'-', 1, 0, 54, 32, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5297, N'TK', N'S05320501', 25, N'-', 1, 0, 54, 32, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5298, N'TK', N'S05320601', 25, N'-', 1, 0, 54, 32, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5299, N'TK', N'S05320701', 25, N'-', 1, 0, 54, 32, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5300, N'TK', N'S05320801', 25, N'-', 1, 0, 54, 32, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5301, N'TK', N'S05330101', 25, N'-', 1, 0, 54, 33, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5302, N'TK', N'S05330201', 25, N'-', 1, 0, 54, 33, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5303, N'TK', N'S05330301', 25, N'-', 1, 0, 54, 33, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5304, N'TK', N'S05330401', 25, N'-', 1, 0, 54, 33, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5305, N'TK', N'S05330501', 25, N'-', 1, 0, 54, 33, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5306, N'TK', N'S05330601', 25, N'-', 1, 0, 54, 33, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5307, N'TK', N'S05330701', 25, N'-', 1, 0, 54, 33, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5308, N'TK', N'S05330801', 25, N'-', 1, 0, 54, 33, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5309, N'TK', N'S05340101', 25, N'-', 1, 0, 54, 34, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5310, N'TK', N'S05340201', 25, N'-', 1, 0, 54, 34, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5311, N'TK', N'S05340301', 25, N'-', 1, 0, 54, 34, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5312, N'TK', N'S05340401', 25, N'-', 1, 0, 54, 34, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5313, N'TK', N'S05340501', 25, N'-', 1, 0, 54, 34, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5314, N'TK', N'S05340601', 25, N'-', 1, 0, 54, 34, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5315, N'TK', N'S05340701', 25, N'-', 1, 0, 54, 34, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5316, N'TK', N'S05340801', 25, N'-', 1, 0, 54, 34, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5317, N'TK', N'S05350101', 25, N'-', 1, 0, 54, 35, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5318, N'TK', N'S05350201', 25, N'-', 1, 0, 54, 35, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5319, N'TK', N'S05350301', 25, N'-', 1, 0, 54, 35, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5320, N'TK', N'S05350401', 25, N'-', 1, 0, 54, 35, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5321, N'TK', N'S05350501', 25, N'-', 1, 0, 54, 35, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5322, N'TK', N'S05350601', 25, N'-', 1, 0, 54, 35, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5323, N'TK', N'S05350701', 25, N'-', 1, 0, 54, 35, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5324, N'TK', N'S05350801', 25, N'-', 1, 0, 54, 35, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5325, N'TK', N'S05360101', 25, N'-', 1, 0, 54, 36, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5326, N'TK', N'S05360201', 25, N'-', 1, 0, 54, 36, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5327, N'TK', N'S05360301', 25, N'-', 1, 0, 54, 36, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5328, N'TK', N'S05360401', 25, N'-', 1, 0, 54, 36, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5329, N'TK', N'S05360501', 25, N'-', 1, 0, 54, 36, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5330, N'TK', N'S05360601', 25, N'-', 1, 0, 54, 36, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5331, N'TK', N'S05360701', 25, N'-', 1, 0, 54, 36, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5332, N'TK', N'S05360801', 25, N'-', 1, 0, 54, 36, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5333, N'TK', N'S06010101', 25, N'-', 1, 0, 55, 1, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5334, N'TK', N'S06010201', 25, N'-', 1, 0, 55, 1, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5335, N'TK', N'S06010301', 25, N'-', 1, 0, 55, 1, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5336, N'TK', N'S06010401', 25, N'-', 1, 0, 55, 1, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5337, N'TK', N'S06010501', 25, N'-', 1, 0, 55, 1, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5338, N'TK', N'S06010601', 25, N'-', 1, 0, 55, 1, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5339, N'TK', N'S06010701', 25, N'-', 1, 0, 55, 1, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5340, N'TK', N'S06010801', 25, N'-', 1, 0, 55, 1, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5341, N'TK', N'S06020101', 25, N'-', 1, 0, 55, 2, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5342, N'TK', N'S06020201', 25, N'-', 1, 0, 55, 2, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5343, N'TK', N'S06020301', 25, N'-', 1, 0, 55, 2, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5344, N'TK', N'S06020401', 25, N'-', 1, 0, 55, 2, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5345, N'TK', N'S06020501', 25, N'-', 1, 0, 55, 2, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5346, N'TK', N'S06020601', 25, N'-', 1, 0, 55, 2, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5347, N'TK', N'S06020701', 25, N'-', 1, 0, 55, 2, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5348, N'TK', N'S06020801', 25, N'-', 1, 0, 55, 2, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5349, N'TK', N'S06030101', 25, N'-', 1, 0, 55, 3, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5350, N'TK', N'S06030201', 25, N'-', 1, 0, 55, 3, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5351, N'TK', N'S06030301', 25, N'-', 1, 0, 55, 3, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5352, N'TK', N'S06030401', 25, N'-', 1, 0, 55, 3, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5353, N'TK', N'S06030501', 25, N'-', 1, 0, 55, 3, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5354, N'TK', N'S06030601', 25, N'-', 1, 0, 55, 3, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5355, N'TK', N'S06030701', 25, N'-', 1, 0, 55, 3, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5356, N'TK', N'S06030801', 25, N'-', 1, 0, 55, 3, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5357, N'TK', N'S06040101', 25, N'-', 1, 0, 55, 4, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5358, N'TK', N'S06040201', 25, N'-', 1, 0, 55, 4, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5359, N'TK', N'S06040301', 25, N'-', 1, 0, 55, 4, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5360, N'TK', N'S06040401', 25, N'-', 1, 0, 55, 4, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5361, N'TK', N'S06040501', 25, N'-', 1, 0, 55, 4, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5362, N'TK', N'S06040601', 25, N'-', 1, 0, 55, 4, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5363, N'TK', N'S06040701', 25, N'-', 1, 0, 55, 4, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5364, N'TK', N'S06040801', 25, N'-', 1, 0, 55, 4, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5365, N'TK', N'S06050101', 25, N'-', 1, 0, 55, 5, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5366, N'TK', N'S06050201', 25, N'-', 1, 0, 55, 5, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5367, N'TK', N'S06050301', 25, N'-', 1, 0, 55, 5, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5368, N'TK', N'S06050401', 25, N'-', 1, 0, 55, 5, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5369, N'TK', N'S06050501', 25, N'-', 1, 0, 55, 5, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5370, N'TK', N'S06050601', 25, N'-', 1, 0, 55, 5, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5371, N'TK', N'S06050701', 25, N'-', 1, 0, 55, 5, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5372, N'TK', N'S06050801', 25, N'-', 1, 0, 55, 5, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5373, N'TK', N'S06060101', 25, N'-', 1, 0, 55, 6, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5374, N'TK', N'S06060201', 25, N'-', 1, 0, 55, 6, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5375, N'TK', N'S06060301', 25, N'-', 1, 0, 55, 6, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5376, N'TK', N'S06060401', 25, N'-', 1, 0, 55, 6, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5377, N'TK', N'S06060501', 25, N'-', 1, 0, 55, 6, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5378, N'TK', N'S06060601', 25, N'-', 1, 0, 55, 6, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5379, N'TK', N'S06060701', 25, N'-', 1, 0, 55, 6, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5380, N'TK', N'S06060801', 25, N'-', 1, 0, 55, 6, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5381, N'TK', N'S06070101', 25, N'-', 1, 0, 55, 7, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5382, N'TK', N'S06070201', 25, N'-', 1, 0, 55, 7, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5383, N'TK', N'S06070301', 25, N'-', 1, 0, 55, 7, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5384, N'TK', N'S06070401', 25, N'-', 1, 0, 55, 7, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5385, N'TK', N'S06070501', 25, N'-', 1, 0, 55, 7, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5386, N'TK', N'S06070601', 25, N'-', 1, 0, 55, 7, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5387, N'TK', N'S06070701', 25, N'-', 1, 0, 55, 7, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5388, N'TK', N'S06070801', 25, N'-', 1, 0, 55, 7, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5389, N'TK', N'S06080101', 25, N'-', 1, 0, 55, 8, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5390, N'TK', N'S06080201', 25, N'-', 1, 0, 55, 8, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5391, N'TK', N'S06080301', 25, N'-', 1, 0, 55, 8, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5392, N'TK', N'S06080401', 25, N'-', 1, 0, 55, 8, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5393, N'TK', N'S06080501', 25, N'-', 1, 0, 55, 8, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5394, N'TK', N'S06080601', 25, N'-', 1, 0, 55, 8, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5395, N'TK', N'S06080701', 25, N'-', 1, 0, 55, 8, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5396, N'TK', N'S06080801', 25, N'-', 1, 0, 55, 8, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5397, N'TK', N'S06090101', 25, N'-', 1, 0, 55, 9, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5398, N'TK', N'S06090201', 25, N'-', 1, 0, 55, 9, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5399, N'TK', N'S06090301', 25, N'-', 1, 0, 55, 9, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5400, N'TK', N'S06090401', 25, N'-', 1, 0, 55, 9, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5401, N'TK', N'S06090501', 25, N'-', 1, 0, 55, 9, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5402, N'TK', N'S06090601', 25, N'-', 1, 0, 55, 9, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5403, N'TK', N'S06090701', 25, N'-', 1, 0, 55, 9, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5404, N'TK', N'S06090801', 25, N'-', 1, 0, 55, 9, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5405, N'TK', N'S06100101', 25, N'-', 1, 0, 55, 10, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5406, N'TK', N'S06100201', 25, N'-', 1, 0, 55, 10, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5407, N'TK', N'S06100301', 25, N'-', 1, 0, 55, 10, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5408, N'TK', N'S06100401', 25, N'-', 1, 0, 55, 10, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5409, N'TK', N'S06100501', 25, N'-', 1, 0, 55, 10, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5410, N'TK', N'S06100601', 25, N'-', 1, 0, 55, 10, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5411, N'TK', N'S06100701', 25, N'-', 1, 0, 55, 10, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5412, N'TK', N'S06100801', 25, N'-', 1, 0, 55, 10, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5413, N'TK', N'S06110101', 25, N'-', 1, 0, 55, 11, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5414, N'TK', N'S06110201', 25, N'-', 1, 0, 55, 11, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5415, N'TK', N'S06110301', 25, N'-', 1, 0, 55, 11, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5416, N'TK', N'S06110401', 25, N'-', 1, 0, 55, 11, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5417, N'TK', N'S06110501', 25, N'-', 1, 0, 55, 11, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5418, N'TK', N'S06110601', 25, N'-', 1, 0, 55, 11, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5419, N'TK', N'S06110701', 25, N'-', 1, 0, 55, 11, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5420, N'TK', N'S06110801', 25, N'-', 1, 0, 55, 11, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5421, N'TK', N'S06120101', 25, N'-', 1, 0, 55, 12, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5422, N'TK', N'S06120201', 25, N'-', 1, 0, 55, 12, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5423, N'TK', N'S06120301', 25, N'-', 1, 0, 55, 12, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5424, N'TK', N'S06120401', 25, N'-', 1, 0, 55, 12, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5425, N'TK', N'S06120501', 25, N'-', 1, 0, 55, 12, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5426, N'TK', N'S06120601', 25, N'-', 1, 0, 55, 12, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5427, N'TK', N'S06120701', 25, N'-', 1, 0, 55, 12, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5428, N'TK', N'S06120801', 25, N'-', 1, 0, 55, 12, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5429, N'TK', N'S06130101', 25, N'-', 1, 0, 55, 13, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5430, N'TK', N'S06130201', 25, N'-', 1, 0, 55, 13, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5431, N'TK', N'S06130301', 25, N'-', 1, 0, 55, 13, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5432, N'TK', N'S06130401', 25, N'-', 1, 0, 55, 13, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5433, N'TK', N'S06130501', 25, N'-', 1, 0, 55, 13, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5434, N'TK', N'S06130601', 25, N'-', 1, 0, 55, 13, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5435, N'TK', N'S06130701', 25, N'-', 1, 0, 55, 13, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5436, N'TK', N'S06130801', 25, N'-', 1, 0, 55, 13, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5437, N'TK', N'S06140101', 25, N'-', 1, 0, 55, 14, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5438, N'TK', N'S06140201', 25, N'-', 1, 0, 55, 14, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5439, N'TK', N'S06140301', 25, N'-', 1, 0, 55, 14, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5440, N'TK', N'S06140401', 25, N'-', 1, 0, 55, 14, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5441, N'TK', N'S06140501', 25, N'-', 1, 0, 55, 14, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5442, N'TK', N'S06140601', 25, N'-', 1, 0, 55, 14, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5443, N'TK', N'S06140701', 25, N'-', 1, 0, 55, 14, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5444, N'TK', N'S06140801', 25, N'-', 1, 0, 55, 14, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5445, N'TK', N'S06150101', 25, N'-', 1, 0, 55, 15, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5446, N'TK', N'S06150201', 25, N'-', 1, 0, 55, 15, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5447, N'TK', N'S06150301', 25, N'-', 1, 0, 55, 15, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5448, N'TK', N'S06150401', 25, N'-', 1, 0, 55, 15, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5449, N'TK', N'S06150501', 25, N'-', 1, 0, 55, 15, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5450, N'TK', N'S06150601', 25, N'-', 1, 0, 55, 15, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5451, N'TK', N'S06150701', 25, N'-', 1, 0, 55, 15, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5452, N'TK', N'S06150801', 25, N'-', 1, 0, 55, 15, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5453, N'TK', N'S06160101', 25, N'-', 1, 0, 55, 16, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5454, N'TK', N'S06160201', 25, N'-', 1, 0, 55, 16, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5455, N'TK', N'S06160301', 25, N'-', 1, 0, 55, 16, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5456, N'TK', N'S06160401', 25, N'-', 1, 0, 55, 16, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5457, N'TK', N'S06160501', 25, N'-', 1, 0, 55, 16, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5458, N'TK', N'S06160601', 25, N'-', 1, 0, 55, 16, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5459, N'TK', N'S06160701', 25, N'-', 1, 0, 55, 16, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5460, N'TK', N'S06160801', 25, N'-', 1, 0, 55, 16, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5461, N'TK', N'S06170101', 25, N'-', 1, 0, 55, 17, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5462, N'TK', N'S06170201', 25, N'-', 1, 0, 55, 17, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5463, N'TK', N'S06170301', 25, N'-', 1, 0, 55, 17, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5464, N'TK', N'S06170401', 25, N'-', 1, 0, 55, 17, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5465, N'TK', N'S06170501', 25, N'-', 1, 0, 55, 17, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5466, N'TK', N'S06170601', 25, N'-', 1, 0, 55, 17, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5467, N'TK', N'S06170701', 25, N'-', 1, 0, 55, 17, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5468, N'TK', N'S06170801', 25, N'-', 1, 0, 55, 17, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5469, N'TK', N'S06180101', 25, N'-', 1, 0, 55, 18, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5470, N'TK', N'S06180201', 25, N'-', 1, 0, 55, 18, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5471, N'TK', N'S06180301', 25, N'-', 1, 0, 55, 18, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5472, N'TK', N'S06180401', 25, N'-', 1, 0, 55, 18, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5473, N'TK', N'S06180501', 25, N'-', 1, 0, 55, 18, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5474, N'TK', N'S06180601', 25, N'-', 1, 0, 55, 18, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5475, N'TK', N'S06180701', 25, N'-', 1, 0, 55, 18, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5476, N'TK', N'S06180801', 25, N'-', 1, 0, 55, 18, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5477, N'TK', N'S06190101', 25, N'-', 1, 0, 55, 19, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5478, N'TK', N'S06190201', 25, N'-', 1, 0, 55, 19, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5479, N'TK', N'S06190301', 25, N'-', 1, 0, 55, 19, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5480, N'TK', N'S06190401', 25, N'-', 1, 0, 55, 19, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5481, N'TK', N'S06190501', 25, N'-', 1, 0, 55, 19, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5482, N'TK', N'S06190601', 25, N'-', 1, 0, 55, 19, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5483, N'TK', N'S06190701', 25, N'-', 1, 0, 55, 19, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5484, N'TK', N'S06190801', 25, N'-', 1, 0, 55, 19, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5485, N'TK', N'S06200101', 25, N'-', 1, 0, 55, 20, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5486, N'TK', N'S06200201', 25, N'-', 1, 0, 55, 20, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5487, N'TK', N'S06200301', 25, N'-', 1, 0, 55, 20, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5488, N'TK', N'S06200401', 25, N'-', 1, 0, 55, 20, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5489, N'TK', N'S06200501', 25, N'-', 1, 0, 55, 20, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5490, N'TK', N'S06200601', 25, N'-', 1, 0, 55, 20, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5491, N'TK', N'S06200701', 25, N'-', 1, 0, 55, 20, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5492, N'TK', N'S06200801', 25, N'-', 1, 0, 55, 20, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5493, N'TK', N'S06210101', 25, N'-', 1, 0, 55, 21, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5494, N'TK', N'S06210201', 25, N'-', 1, 0, 55, 21, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5495, N'TK', N'S06210301', 25, N'-', 1, 0, 55, 21, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5496, N'TK', N'S06210401', 25, N'-', 1, 0, 55, 21, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5497, N'TK', N'S06210501', 25, N'-', 1, 0, 55, 21, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5498, N'TK', N'S06210601', 25, N'-', 1, 0, 55, 21, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5499, N'TK', N'S06210701', 25, N'-', 1, 0, 55, 21, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5500, N'TK', N'S06210801', 25, N'-', 1, 0, 55, 21, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5501, N'TK', N'S06220101', 25, N'-', 1, 0, 55, 22, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5502, N'TK', N'S06220201', 25, N'-', 1, 0, 55, 22, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5503, N'TK', N'S06220301', 25, N'-', 1, 0, 55, 22, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5504, N'TK', N'S06220401', 25, N'-', 1, 0, 55, 22, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5505, N'TK', N'S06220501', 25, N'-', 1, 0, 55, 22, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5506, N'TK', N'S06220601', 25, N'-', 1, 0, 55, 22, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5507, N'TK', N'S06220701', 25, N'-', 1, 0, 55, 22, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5508, N'TK', N'S06220801', 25, N'-', 1, 0, 55, 22, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5509, N'TK', N'S06230101', 25, N'-', 1, 0, 55, 23, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5510, N'TK', N'S06230201', 25, N'-', 1, 0, 55, 23, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5511, N'TK', N'S06230301', 25, N'-', 1, 0, 55, 23, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5512, N'TK', N'S06230401', 25, N'-', 1, 0, 55, 23, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5513, N'TK', N'S06230501', 25, N'-', 1, 0, 55, 23, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5514, N'TK', N'S06230601', 25, N'-', 1, 0, 55, 23, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5515, N'TK', N'S06230701', 25, N'-', 1, 0, 55, 23, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5516, N'TK', N'S06230801', 25, N'-', 1, 0, 55, 23, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5517, N'TK', N'S06240101', 25, N'-', 1, 0, 55, 24, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5518, N'TK', N'S06240201', 25, N'-', 1, 0, 55, 24, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5519, N'TK', N'S06240301', 25, N'-', 1, 0, 55, 24, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5520, N'TK', N'S06240401', 25, N'-', 1, 0, 55, 24, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5521, N'TK', N'S06240501', 25, N'-', 1, 0, 55, 24, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5522, N'TK', N'S06240601', 25, N'-', 1, 0, 55, 24, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5523, N'TK', N'S06240701', 25, N'-', 1, 0, 55, 24, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5524, N'TK', N'S06240801', 25, N'-', 1, 0, 55, 24, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5525, N'TK', N'S06250101', 25, N'-', 1, 0, 55, 25, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5526, N'TK', N'S06250201', 25, N'-', 1, 0, 55, 25, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5527, N'TK', N'S06250301', 25, N'-', 1, 0, 55, 25, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5528, N'TK', N'S06250401', 25, N'-', 1, 0, 55, 25, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5529, N'TK', N'S06250501', 25, N'-', 1, 0, 55, 25, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5530, N'TK', N'S06250601', 25, N'-', 1, 0, 55, 25, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5531, N'TK', N'S06250701', 25, N'-', 1, 0, 55, 25, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5532, N'TK', N'S06250801', 25, N'-', 1, 0, 55, 25, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5533, N'TK', N'S06260101', 25, N'-', 1, 0, 55, 26, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5534, N'TK', N'S06260201', 25, N'-', 1, 0, 55, 26, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5535, N'TK', N'S06260301', 25, N'-', 1, 0, 55, 26, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5536, N'TK', N'S06260401', 25, N'-', 1, 0, 55, 26, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5537, N'TK', N'S06260501', 25, N'-', 1, 0, 55, 26, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5538, N'TK', N'S06260601', 25, N'-', 1, 0, 55, 26, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5539, N'TK', N'S06260701', 25, N'-', 1, 0, 55, 26, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5540, N'TK', N'S06260801', 25, N'-', 1, 0, 55, 26, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5541, N'TK', N'S06270101', 25, N'-', 1, 0, 55, 27, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5542, N'TK', N'S06270201', 25, N'-', 1, 0, 55, 27, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5543, N'TK', N'S06270301', 25, N'-', 1, 0, 55, 27, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5544, N'TK', N'S06270401', 25, N'-', 1, 0, 55, 27, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5545, N'TK', N'S06270501', 25, N'-', 1, 0, 55, 27, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5546, N'TK', N'S06270601', 25, N'-', 1, 0, 55, 27, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5547, N'TK', N'S06270701', 25, N'-', 1, 0, 55, 27, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5548, N'TK', N'S06270801', 25, N'-', 1, 0, 55, 27, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5549, N'TK', N'S06280101', 25, N'-', 1, 0, 55, 28, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5550, N'TK', N'S06280201', 25, N'-', 1, 0, 55, 28, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5551, N'TK', N'S06280301', 25, N'-', 1, 0, 55, 28, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5552, N'TK', N'S06280401', 25, N'-', 1, 0, 55, 28, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5553, N'TK', N'S06280501', 25, N'-', 1, 0, 55, 28, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5554, N'TK', N'S06280601', 25, N'-', 1, 0, 55, 28, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5555, N'TK', N'S06280701', 25, N'-', 1, 0, 55, 28, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5556, N'TK', N'S06280801', 25, N'-', 1, 0, 55, 28, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5557, N'TK', N'S06290101', 25, N'-', 1, 0, 55, 29, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5558, N'TK', N'S06290201', 25, N'-', 1, 0, 55, 29, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5559, N'TK', N'S06290301', 25, N'-', 1, 0, 55, 29, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5560, N'TK', N'S06290401', 25, N'-', 1, 0, 55, 29, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5561, N'TK', N'S06290501', 25, N'-', 1, 0, 55, 29, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5562, N'TK', N'S06290601', 25, N'-', 1, 0, 55, 29, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5563, N'TK', N'S06290701', 25, N'-', 1, 0, 55, 29, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5564, N'TK', N'S06290801', 25, N'-', 1, 0, 55, 29, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5565, N'TK', N'S06300101', 25, N'-', 1, 0, 55, 30, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5566, N'TK', N'S06300201', 25, N'-', 1, 0, 55, 30, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5567, N'TK', N'S06300301', 25, N'-', 1, 0, 55, 30, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5568, N'TK', N'S06300401', 25, N'-', 1, 0, 55, 30, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5569, N'TK', N'S06300501', 25, N'-', 1, 0, 55, 30, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5570, N'TK', N'S06300601', 25, N'-', 1, 0, 55, 30, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5571, N'TK', N'S06300701', 25, N'-', 1, 0, 55, 30, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5572, N'TK', N'S06300801', 25, N'-', 1, 0, 55, 30, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5573, N'TK', N'S06310101', 25, N'-', 1, 0, 55, 31, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5574, N'TK', N'S06310201', 25, N'-', 1, 0, 55, 31, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5575, N'TK', N'S06310301', 25, N'-', 1, 0, 55, 31, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5576, N'TK', N'S06310401', 25, N'-', 1, 0, 55, 31, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5577, N'TK', N'S06310501', 25, N'-', 1, 0, 55, 31, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5578, N'TK', N'S06310601', 25, N'-', 1, 0, 55, 31, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5579, N'TK', N'S06310701', 25, N'-', 1, 0, 55, 31, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5580, N'TK', N'S06310801', 25, N'-', 1, 0, 55, 31, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5581, N'TK', N'S06320101', 25, N'-', 1, 0, 55, 32, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5582, N'TK', N'S06320201', 25, N'-', 1, 0, 55, 32, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5583, N'TK', N'S06320301', 25, N'-', 1, 0, 55, 32, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5584, N'TK', N'S06320401', 25, N'-', 1, 0, 55, 32, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5585, N'TK', N'S06320501', 25, N'-', 1, 0, 55, 32, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5586, N'TK', N'S06320601', 25, N'-', 1, 0, 55, 32, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5587, N'TK', N'S06320701', 25, N'-', 1, 0, 55, 32, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5588, N'TK', N'S06320801', 25, N'-', 1, 0, 55, 32, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5589, N'TK', N'S06330101', 25, N'-', 1, 0, 55, 33, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5590, N'TK', N'S06330201', 25, N'-', 1, 0, 55, 33, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5591, N'TK', N'S06330301', 25, N'-', 1, 0, 55, 33, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5592, N'TK', N'S06330401', 25, N'-', 1, 0, 55, 33, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5593, N'TK', N'S06330501', 25, N'-', 1, 0, 55, 33, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5594, N'TK', N'S06330601', 25, N'-', 1, 0, 55, 33, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5595, N'TK', N'S06330701', 25, N'-', 1, 0, 55, 33, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5596, N'TK', N'S06330801', 25, N'-', 1, 0, 55, 33, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5597, N'TK', N'S06340101', 25, N'-', 1, 0, 55, 34, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5598, N'TK', N'S06340201', 25, N'-', 1, 0, 55, 34, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5599, N'TK', N'S06340301', 25, N'-', 1, 0, 55, 34, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5600, N'TK', N'S06340401', 25, N'-', 1, 0, 55, 34, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5601, N'TK', N'S06340501', 25, N'-', 1, 0, 55, 34, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5602, N'TK', N'S06340601', 25, N'-', 1, 0, 55, 34, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5603, N'TK', N'S06340701', 25, N'-', 1, 0, 55, 34, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5604, N'TK', N'S06340801', 25, N'-', 1, 0, 55, 34, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5605, N'TK', N'S06350101', 25, N'-', 1, 0, 55, 35, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5606, N'TK', N'S06350201', 25, N'-', 1, 0, 55, 35, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5607, N'TK', N'S06350301', 25, N'-', 1, 0, 55, 35, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5608, N'TK', N'S06350401', 25, N'-', 1, 0, 55, 35, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5609, N'TK', N'S06350501', 25, N'-', 1, 0, 55, 35, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5610, N'TK', N'S06350601', 25, N'-', 1, 0, 55, 35, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5611, N'TK', N'S06350701', 25, N'-', 1, 0, 55, 35, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5612, N'TK', N'S06350801', 25, N'-', 1, 0, 55, 35, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5613, N'TK', N'S06360101', 25, N'-', 1, 0, 55, 36, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5614, N'TK', N'S06360201', 25, N'-', 1, 0, 55, 36, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5615, N'TK', N'S06360301', 25, N'-', 1, 0, 55, 36, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5616, N'TK', N'S06360401', 25, N'-', 1, 0, 55, 36, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5617, N'TK', N'S06360501', 25, N'-', 1, 0, 55, 36, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5618, N'TK', N'S06360601', 25, N'-', 1, 0, 55, 36, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5619, N'TK', N'S06360701', 25, N'-', 1, 0, 55, 36, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5620, N'TK', N'S06360801', 25, N'-', 1, 0, 55, 36, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5621, N'TK', N'S07010101', 25, N'-', 1, 0, 56, 1, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5622, N'TK', N'S07010201', 25, N'-', 1, 0, 56, 1, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5623, N'TK', N'S07010301', 25, N'-', 1, 0, 56, 1, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5624, N'TK', N'S07010401', 25, N'-', 1, 0, 56, 1, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5625, N'TK', N'S07010501', 25, N'-', 1, 0, 56, 1, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5626, N'TK', N'S07010601', 25, N'-', 1, 0, 56, 1, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5627, N'TK', N'S07010701', 25, N'-', 1, 0, 56, 1, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5628, N'TK', N'S07010801', 25, N'-', 1, 0, 56, 1, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5629, N'TK', N'S07020101', 25, N'-', 1, 0, 56, 2, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5630, N'TK', N'S07020201', 25, N'-', 1, 0, 56, 2, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5631, N'TK', N'S07020301', 25, N'-', 1, 0, 56, 2, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5632, N'TK', N'S07020401', 25, N'-', 1, 0, 56, 2, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5633, N'TK', N'S07020501', 25, N'-', 1, 0, 56, 2, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5634, N'TK', N'S07020601', 25, N'-', 1, 0, 56, 2, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5635, N'TK', N'S07020701', 25, N'-', 1, 0, 56, 2, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5636, N'TK', N'S07020801', 25, N'-', 1, 0, 56, 2, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5637, N'TK', N'S07030101', 25, N'-', 1, 0, 56, 3, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5638, N'TK', N'S07030201', 25, N'-', 1, 0, 56, 3, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5639, N'TK', N'S07030301', 25, N'-', 1, 0, 56, 3, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5640, N'TK', N'S07030401', 25, N'-', 1, 0, 56, 3, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5641, N'TK', N'S07030501', 25, N'-', 1, 0, 56, 3, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5642, N'TK', N'S07030601', 25, N'-', 1, 0, 56, 3, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5643, N'TK', N'S07030701', 25, N'-', 1, 0, 56, 3, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5644, N'TK', N'S07030801', 25, N'-', 1, 0, 56, 3, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5645, N'TK', N'S07040101', 25, N'-', 1, 0, 56, 4, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5646, N'TK', N'S07040201', 25, N'-', 1, 0, 56, 4, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5647, N'TK', N'S07040301', 25, N'-', 1, 0, 56, 4, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5648, N'TK', N'S07040401', 25, N'-', 1, 0, 56, 4, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5649, N'TK', N'S07040501', 25, N'-', 1, 0, 56, 4, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5650, N'TK', N'S07040601', 25, N'-', 1, 0, 56, 4, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5651, N'TK', N'S07040701', 25, N'-', 1, 0, 56, 4, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5652, N'TK', N'S07040801', 25, N'-', 1, 0, 56, 4, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5653, N'TK', N'S07050101', 25, N'-', 1, 0, 56, 5, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5654, N'TK', N'S07050201', 25, N'-', 1, 0, 56, 5, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5655, N'TK', N'S07050301', 25, N'-', 1, 0, 56, 5, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5656, N'TK', N'S07050401', 25, N'-', 1, 0, 56, 5, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5657, N'TK', N'S07050501', 25, N'-', 1, 0, 56, 5, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5658, N'TK', N'S07050601', 25, N'-', 1, 0, 56, 5, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5659, N'TK', N'S07050701', 25, N'-', 1, 0, 56, 5, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5660, N'TK', N'S07050801', 25, N'-', 1, 0, 56, 5, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5661, N'TK', N'S07060101', 25, N'-', 1, 0, 56, 6, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5662, N'TK', N'S07060201', 25, N'-', 1, 0, 56, 6, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5663, N'TK', N'S07060301', 25, N'-', 1, 0, 56, 6, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5664, N'TK', N'S07060401', 25, N'-', 1, 0, 56, 6, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5665, N'TK', N'S07060501', 25, N'-', 1, 0, 56, 6, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5666, N'TK', N'S07060601', 25, N'-', 1, 0, 56, 6, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5667, N'TK', N'S07060701', 25, N'-', 1, 0, 56, 6, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5668, N'TK', N'S07060801', 25, N'-', 1, 0, 56, 6, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5669, N'TK', N'S07070101', 25, N'-', 1, 0, 56, 7, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5670, N'TK', N'S07070201', 25, N'-', 1, 0, 56, 7, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5671, N'TK', N'S07070301', 25, N'-', 1, 0, 56, 7, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5672, N'TK', N'S07070401', 25, N'-', 1, 0, 56, 7, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5673, N'TK', N'S07070501', 25, N'-', 1, 0, 56, 7, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5674, N'TK', N'S07070601', 25, N'-', 1, 0, 56, 7, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5675, N'TK', N'S07070701', 25, N'-', 1, 0, 56, 7, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5676, N'TK', N'S07070801', 25, N'-', 1, 0, 56, 7, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5677, N'TK', N'S07080101', 25, N'-', 1, 0, 56, 8, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5678, N'TK', N'S07080201', 25, N'-', 1, 0, 56, 8, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5679, N'TK', N'S07080301', 25, N'-', 1, 0, 56, 8, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5680, N'TK', N'S07080401', 25, N'-', 1, 0, 56, 8, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5681, N'TK', N'S07080501', 25, N'-', 1, 0, 56, 8, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5682, N'TK', N'S07080601', 25, N'-', 1, 0, 56, 8, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5683, N'TK', N'S07080701', 25, N'-', 1, 0, 56, 8, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5684, N'TK', N'S07080801', 25, N'-', 1, 0, 56, 8, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5685, N'TK', N'S07090101', 25, N'-', 1, 0, 56, 9, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5686, N'TK', N'S07090201', 25, N'-', 1, 0, 56, 9, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5687, N'TK', N'S07090301', 25, N'-', 1, 0, 56, 9, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5688, N'TK', N'S07090401', 25, N'-', 1, 0, 56, 9, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5689, N'TK', N'S07090501', 25, N'-', 1, 0, 56, 9, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5690, N'TK', N'S07090601', 25, N'-', 1, 0, 56, 9, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5691, N'TK', N'S07090701', 25, N'-', 1, 0, 56, 9, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5692, N'TK', N'S07090801', 25, N'-', 1, 0, 56, 9, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5693, N'TK', N'S07100101', 25, N'-', 1, 0, 56, 10, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5694, N'TK', N'S07100201', 25, N'-', 1, 0, 56, 10, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5695, N'TK', N'S07100301', 25, N'-', 1, 0, 56, 10, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5696, N'TK', N'S07100401', 25, N'-', 1, 0, 56, 10, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5697, N'TK', N'S07100501', 25, N'-', 1, 0, 56, 10, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5698, N'TK', N'S07100601', 25, N'-', 1, 0, 56, 10, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5699, N'TK', N'S07100701', 25, N'-', 1, 0, 56, 10, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5700, N'TK', N'S07100801', 25, N'-', 1, 0, 56, 10, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5701, N'TK', N'S07110101', 25, N'-', 1, 0, 56, 11, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5702, N'TK', N'S07110201', 25, N'-', 1, 0, 56, 11, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5703, N'TK', N'S07110301', 25, N'-', 1, 0, 56, 11, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5704, N'TK', N'S07110401', 25, N'-', 1, 0, 56, 11, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5705, N'TK', N'S07110501', 25, N'-', 1, 0, 56, 11, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5706, N'TK', N'S07110601', 25, N'-', 1, 0, 56, 11, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5707, N'TK', N'S07110701', 25, N'-', 1, 0, 56, 11, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5708, N'TK', N'S07110801', 25, N'-', 1, 0, 56, 11, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5709, N'TK', N'S07120101', 25, N'-', 1, 0, 56, 12, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5710, N'TK', N'S07120201', 25, N'-', 1, 0, 56, 12, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5711, N'TK', N'S07120301', 25, N'-', 1, 0, 56, 12, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5712, N'TK', N'S07120401', 25, N'-', 1, 0, 56, 12, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5713, N'TK', N'S07120501', 25, N'-', 1, 0, 56, 12, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5714, N'TK', N'S07120601', 25, N'-', 1, 0, 56, 12, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5715, N'TK', N'S07120701', 25, N'-', 1, 0, 56, 12, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5716, N'TK', N'S07120801', 25, N'-', 1, 0, 56, 12, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5717, N'TK', N'S07130101', 25, N'-', 1, 0, 56, 13, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5718, N'TK', N'S07130201', 25, N'-', 1, 0, 56, 13, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5719, N'TK', N'S07130301', 25, N'-', 1, 0, 56, 13, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5720, N'TK', N'S07130401', 25, N'-', 1, 0, 56, 13, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5721, N'TK', N'S07130501', 25, N'-', 1, 0, 56, 13, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5722, N'TK', N'S07130601', 25, N'-', 1, 0, 56, 13, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5723, N'TK', N'S07130701', 25, N'-', 1, 0, 56, 13, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5724, N'TK', N'S07130801', 25, N'-', 1, 0, 56, 13, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5725, N'TK', N'S07140101', 25, N'-', 1, 0, 56, 14, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5726, N'TK', N'S07140201', 25, N'-', 1, 0, 56, 14, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5727, N'TK', N'S07140301', 25, N'-', 1, 0, 56, 14, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5728, N'TK', N'S07140401', 25, N'-', 1, 0, 56, 14, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5729, N'TK', N'S07140501', 25, N'-', 1, 0, 56, 14, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5730, N'TK', N'S07140601', 25, N'-', 1, 0, 56, 14, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5731, N'TK', N'S07140701', 25, N'-', 1, 0, 56, 14, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5732, N'TK', N'S07140801', 25, N'-', 1, 0, 56, 14, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5733, N'TK', N'S07150101', 25, N'-', 1, 0, 56, 15, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5734, N'TK', N'S07150201', 25, N'-', 1, 0, 56, 15, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5735, N'TK', N'S07150301', 25, N'-', 1, 0, 56, 15, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5736, N'TK', N'S07150401', 25, N'-', 1, 0, 56, 15, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5737, N'TK', N'S07150501', 25, N'-', 1, 0, 56, 15, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5738, N'TK', N'S07150601', 25, N'-', 1, 0, 56, 15, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5739, N'TK', N'S07150701', 25, N'-', 1, 0, 56, 15, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5740, N'TK', N'S07150801', 25, N'-', 1, 0, 56, 15, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5741, N'TK', N'S07160101', 25, N'-', 1, 0, 56, 16, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5742, N'TK', N'S07160201', 25, N'-', 1, 0, 56, 16, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5743, N'TK', N'S07160301', 25, N'-', 1, 0, 56, 16, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5744, N'TK', N'S07160401', 25, N'-', 1, 0, 56, 16, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5745, N'TK', N'S07160501', 25, N'-', 1, 0, 56, 16, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5746, N'TK', N'S07160601', 25, N'-', 1, 0, 56, 16, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5747, N'TK', N'S07160701', 25, N'-', 1, 0, 56, 16, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5748, N'TK', N'S07160801', 25, N'-', 1, 0, 56, 16, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5749, N'TK', N'S07170101', 25, N'-', 1, 0, 56, 17, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5750, N'TK', N'S07170201', 25, N'-', 1, 0, 56, 17, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5751, N'TK', N'S07170301', 25, N'-', 1, 0, 56, 17, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5752, N'TK', N'S07170401', 25, N'-', 1, 0, 56, 17, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5753, N'TK', N'S07170501', 25, N'-', 1, 0, 56, 17, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5754, N'TK', N'S07170601', 25, N'-', 1, 0, 56, 17, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5755, N'TK', N'S07170701', 25, N'-', 1, 0, 56, 17, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5756, N'TK', N'S07170801', 25, N'-', 1, 0, 56, 17, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5757, N'TK', N'S07180101', 25, N'-', 1, 0, 56, 18, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5758, N'TK', N'S07180201', 25, N'-', 1, 0, 56, 18, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5759, N'TK', N'S07180301', 25, N'-', 1, 0, 56, 18, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5760, N'TK', N'S07180401', 25, N'-', 1, 0, 56, 18, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5761, N'TK', N'S07180501', 25, N'-', 1, 0, 56, 18, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5762, N'TK', N'S07180601', 25, N'-', 1, 0, 56, 18, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5763, N'TK', N'S07180701', 25, N'-', 1, 0, 56, 18, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5764, N'TK', N'S07180801', 25, N'-', 1, 0, 56, 18, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5765, N'TK', N'S07190101', 25, N'-', 1, 0, 56, 19, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5766, N'TK', N'S07190201', 25, N'-', 1, 0, 56, 19, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5767, N'TK', N'S07190301', 25, N'-', 1, 0, 56, 19, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5768, N'TK', N'S07190401', 25, N'-', 1, 0, 56, 19, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5769, N'TK', N'S07190501', 25, N'-', 1, 0, 56, 19, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5770, N'TK', N'S07190601', 25, N'-', 1, 0, 56, 19, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5771, N'TK', N'S07190701', 25, N'-', 1, 0, 56, 19, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5772, N'TK', N'S07190801', 25, N'-', 1, 0, 56, 19, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5773, N'TK', N'S07200101', 25, N'-', 1, 0, 56, 20, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5774, N'TK', N'S07200201', 25, N'-', 1, 0, 56, 20, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5775, N'TK', N'S07200301', 25, N'-', 1, 0, 56, 20, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5776, N'TK', N'S07200401', 25, N'-', 1, 0, 56, 20, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5777, N'TK', N'S07200501', 25, N'-', 1, 0, 56, 20, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5778, N'TK', N'S07200601', 25, N'-', 1, 0, 56, 20, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5779, N'TK', N'S07200701', 25, N'-', 1, 0, 56, 20, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5780, N'TK', N'S07200801', 25, N'-', 1, 0, 56, 20, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5781, N'TK', N'S07210101', 25, N'-', 1, 0, 56, 21, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5782, N'TK', N'S07210201', 25, N'-', 1, 0, 56, 21, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5783, N'TK', N'S07210301', 25, N'-', 1, 0, 56, 21, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5784, N'TK', N'S07210401', 25, N'-', 1, 0, 56, 21, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5785, N'TK', N'S07210501', 25, N'-', 1, 0, 56, 21, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5786, N'TK', N'S07210601', 25, N'-', 1, 0, 56, 21, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5787, N'TK', N'S07210701', 25, N'-', 1, 0, 56, 21, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5788, N'TK', N'S07210801', 25, N'-', 1, 0, 56, 21, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5789, N'TK', N'S07220101', 25, N'-', 1, 0, 56, 22, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5790, N'TK', N'S07220201', 25, N'-', 1, 0, 56, 22, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5791, N'TK', N'S07220301', 25, N'-', 1, 0, 56, 22, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5792, N'TK', N'S07220401', 25, N'-', 1, 0, 56, 22, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5793, N'TK', N'S07220501', 25, N'-', 1, 0, 56, 22, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5794, N'TK', N'S07220601', 25, N'-', 1, 0, 56, 22, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5795, N'TK', N'S07220701', 25, N'-', 1, 0, 56, 22, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5796, N'TK', N'S07220801', 25, N'-', 1, 0, 56, 22, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5797, N'TK', N'S07230101', 25, N'-', 1, 0, 56, 23, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5798, N'TK', N'S07230201', 25, N'-', 1, 0, 56, 23, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5799, N'TK', N'S07230301', 25, N'-', 1, 0, 56, 23, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5800, N'TK', N'S07230401', 25, N'-', 1, 0, 56, 23, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5801, N'TK', N'S07230501', 25, N'-', 1, 0, 56, 23, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5802, N'TK', N'S07230601', 25, N'-', 1, 0, 56, 23, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5803, N'TK', N'S07230701', 25, N'-', 1, 0, 56, 23, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5804, N'TK', N'S07230801', 25, N'-', 1, 0, 56, 23, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5805, N'TK', N'S07240101', 25, N'-', 1, 0, 56, 24, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5806, N'TK', N'S07240201', 25, N'-', 1, 0, 56, 24, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5807, N'TK', N'S07240301', 25, N'-', 1, 0, 56, 24, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5808, N'TK', N'S07240401', 25, N'-', 1, 0, 56, 24, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5809, N'TK', N'S07240501', 25, N'-', 1, 0, 56, 24, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5810, N'TK', N'S07240601', 25, N'-', 1, 0, 56, 24, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5811, N'TK', N'S07240701', 25, N'-', 1, 0, 56, 24, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5812, N'TK', N'S07240801', 25, N'-', 1, 0, 56, 24, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5813, N'TK', N'S07250101', 25, N'-', 1, 0, 56, 25, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5814, N'TK', N'S07250201', 25, N'-', 1, 0, 56, 25, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5815, N'TK', N'S07250301', 25, N'-', 1, 0, 56, 25, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5816, N'TK', N'S07250401', 25, N'-', 1, 0, 56, 25, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5817, N'TK', N'S07250501', 25, N'-', 1, 0, 56, 25, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5818, N'TK', N'S07250601', 25, N'-', 1, 0, 56, 25, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5819, N'TK', N'S07250701', 25, N'-', 1, 0, 56, 25, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5820, N'TK', N'S07250801', 25, N'-', 1, 0, 56, 25, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5821, N'TK', N'S07260101', 25, N'-', 1, 0, 56, 26, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5822, N'TK', N'S07260201', 25, N'-', 1, 0, 56, 26, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5823, N'TK', N'S07260301', 25, N'-', 1, 0, 56, 26, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5824, N'TK', N'S07260401', 25, N'-', 1, 0, 56, 26, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5825, N'TK', N'S07260501', 25, N'-', 1, 0, 56, 26, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5826, N'TK', N'S07260601', 25, N'-', 1, 0, 56, 26, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5827, N'TK', N'S07260701', 25, N'-', 1, 0, 56, 26, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5828, N'TK', N'S07260801', 25, N'-', 1, 0, 56, 26, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5829, N'TK', N'S07270101', 25, N'-', 1, 0, 56, 27, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5830, N'TK', N'S07270201', 25, N'-', 1, 0, 56, 27, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5831, N'TK', N'S07270301', 25, N'-', 1, 0, 56, 27, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5832, N'TK', N'S07270401', 25, N'-', 1, 0, 56, 27, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5833, N'TK', N'S07270501', 25, N'-', 1, 0, 56, 27, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5834, N'TK', N'S07270601', 25, N'-', 1, 0, 56, 27, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5835, N'TK', N'S07270701', 25, N'-', 1, 0, 56, 27, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5836, N'TK', N'S07270801', 25, N'-', 1, 0, 56, 27, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5837, N'TK', N'S07280101', 25, N'-', 1, 0, 56, 28, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5838, N'TK', N'S07280201', 25, N'-', 1, 0, 56, 28, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5839, N'TK', N'S07280301', 25, N'-', 1, 0, 56, 28, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5840, N'TK', N'S07280401', 25, N'-', 1, 0, 56, 28, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5841, N'TK', N'S07280501', 25, N'-', 1, 0, 56, 28, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5842, N'TK', N'S07280601', 25, N'-', 1, 0, 56, 28, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5843, N'TK', N'S07280701', 25, N'-', 1, 0, 56, 28, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5844, N'TK', N'S07280801', 25, N'-', 1, 0, 56, 28, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5845, N'TK', N'S07290101', 25, N'-', 1, 0, 56, 29, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5846, N'TK', N'S07290201', 25, N'-', 1, 0, 56, 29, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5847, N'TK', N'S07290301', 25, N'-', 1, 0, 56, 29, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5848, N'TK', N'S07290401', 25, N'-', 1, 0, 56, 29, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5849, N'TK', N'S07290501', 25, N'-', 1, 0, 56, 29, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5850, N'TK', N'S07290601', 25, N'-', 1, 0, 56, 29, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5851, N'TK', N'S07290701', 25, N'-', 1, 0, 56, 29, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5852, N'TK', N'S07290801', 25, N'-', 1, 0, 56, 29, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5853, N'TK', N'S07300101', 25, N'-', 1, 0, 56, 30, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5854, N'TK', N'S07300201', 25, N'-', 1, 0, 56, 30, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5855, N'TK', N'S07300301', 25, N'-', 1, 0, 56, 30, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5856, N'TK', N'S07300401', 25, N'-', 1, 0, 56, 30, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5857, N'TK', N'S07300501', 25, N'-', 1, 0, 56, 30, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5858, N'TK', N'S07300601', 25, N'-', 1, 0, 56, 30, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5859, N'TK', N'S07300701', 25, N'-', 1, 0, 56, 30, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5860, N'TK', N'S07300801', 25, N'-', 1, 0, 56, 30, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5861, N'TK', N'S07310101', 25, N'-', 1, 0, 56, 31, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5862, N'TK', N'S07310201', 25, N'-', 1, 0, 56, 31, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5863, N'TK', N'S07310301', 25, N'-', 1, 0, 56, 31, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5864, N'TK', N'S07310401', 25, N'-', 1, 0, 56, 31, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5865, N'TK', N'S07310501', 25, N'-', 1, 0, 56, 31, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5866, N'TK', N'S07310601', 25, N'-', 1, 0, 56, 31, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5867, N'TK', N'S07310701', 25, N'-', 1, 0, 56, 31, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5868, N'TK', N'S07310801', 25, N'-', 1, 0, 56, 31, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5869, N'TK', N'S07320101', 25, N'-', 1, 0, 56, 32, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5870, N'TK', N'S07320201', 25, N'-', 1, 0, 56, 32, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5871, N'TK', N'S07320301', 25, N'-', 1, 0, 56, 32, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5872, N'TK', N'S07320401', 25, N'-', 1, 0, 56, 32, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5873, N'TK', N'S07320501', 25, N'-', 1, 0, 56, 32, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5874, N'TK', N'S07320601', 25, N'-', 1, 0, 56, 32, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5875, N'TK', N'S07320701', 25, N'-', 1, 0, 56, 32, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5876, N'TK', N'S07320801', 25, N'-', 1, 0, 56, 32, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5877, N'TK', N'S07330101', 25, N'-', 1, 0, 56, 33, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5878, N'TK', N'S07330201', 25, N'-', 1, 0, 56, 33, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5879, N'TK', N'S07330301', 25, N'-', 1, 0, 56, 33, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5880, N'TK', N'S07330401', 25, N'-', 1, 0, 56, 33, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5881, N'TK', N'S07330501', 25, N'-', 1, 0, 56, 33, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5882, N'TK', N'S07330601', 25, N'-', 1, 0, 56, 33, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5883, N'TK', N'S07330701', 25, N'-', 1, 0, 56, 33, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5884, N'TK', N'S07330801', 25, N'-', 1, 0, 56, 33, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5885, N'TK', N'S07340101', 25, N'-', 1, 0, 56, 34, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5886, N'TK', N'S07340201', 25, N'-', 1, 0, 56, 34, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5887, N'TK', N'S07340301', 25, N'-', 1, 0, 56, 34, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5888, N'TK', N'S07340401', 25, N'-', 1, 0, 56, 34, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5889, N'TK', N'S07340501', 25, N'-', 1, 0, 56, 34, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5890, N'TK', N'S07340601', 25, N'-', 1, 0, 56, 34, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5891, N'TK', N'S07340701', 25, N'-', 1, 0, 56, 34, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5892, N'TK', N'S07340801', 25, N'-', 1, 0, 56, 34, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5893, N'TK', N'S07350101', 25, N'-', 1, 0, 56, 35, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5894, N'TK', N'S07350201', 25, N'-', 1, 0, 56, 35, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5895, N'TK', N'S07350301', 25, N'-', 1, 0, 56, 35, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5896, N'TK', N'S07350401', 25, N'-', 1, 0, 56, 35, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5897, N'TK', N'S07350501', 25, N'-', 1, 0, 56, 35, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5898, N'TK', N'S07350601', 25, N'-', 1, 0, 56, 35, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5899, N'TK', N'S07350701', 25, N'-', 1, 0, 56, 35, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5900, N'TK', N'S07350801', 25, N'-', 1, 0, 56, 35, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5901, N'TK', N'S07360101', 25, N'-', 1, 0, 56, 36, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5902, N'TK', N'S07360201', 25, N'-', 1, 0, 56, 36, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5903, N'TK', N'S07360301', 25, N'-', 1, 0, 56, 36, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5904, N'TK', N'S07360401', 25, N'-', 1, 0, 56, 36, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5905, N'TK', N'S07360501', 25, N'-', 1, 0, 56, 36, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5906, N'TK', N'S07360601', 25, N'-', 1, 0, 56, 36, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5907, N'TK', N'S07360701', 25, N'-', 1, 0, 56, 36, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5908, N'TK', N'S07360801', 25, N'-', 1, 0, 56, 36, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5909, N'TK', N'S08010101', 25, N'-', 1, 0, 57, 1, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5910, N'TK', N'S08010201', 25, N'-', 1, 0, 57, 1, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5911, N'TK', N'S08010301', 25, N'-', 1, 0, 57, 1, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5912, N'TK', N'S08010401', 25, N'-', 1, 0, 57, 1, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5913, N'TK', N'S08010501', 25, N'-', 1, 0, 57, 1, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5914, N'TK', N'S08010601', 25, N'-', 1, 0, 57, 1, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5915, N'TK', N'S08010701', 25, N'-', 1, 0, 57, 1, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5916, N'TK', N'S08010801', 25, N'-', 1, 0, 57, 1, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5917, N'TK', N'S08020101', 25, N'-', 1, 0, 57, 2, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5918, N'TK', N'S08020201', 25, N'-', 1, 0, 57, 2, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5919, N'TK', N'S08020301', 25, N'-', 1, 0, 57, 2, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5920, N'TK', N'S08020401', 25, N'-', 1, 0, 57, 2, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5921, N'TK', N'S08020501', 25, N'-', 1, 0, 57, 2, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5922, N'TK', N'S08020601', 25, N'-', 1, 0, 57, 2, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5923, N'TK', N'S08020701', 25, N'-', 1, 0, 57, 2, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5924, N'TK', N'S08020801', 25, N'-', 1, 0, 57, 2, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5925, N'TK', N'S08030101', 25, N'-', 1, 0, 57, 3, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5926, N'TK', N'S08030201', 25, N'-', 1, 0, 57, 3, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5927, N'TK', N'S08030301', 25, N'-', 1, 0, 57, 3, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5928, N'TK', N'S08030401', 25, N'-', 1, 0, 57, 3, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5929, N'TK', N'S08030501', 25, N'-', 1, 0, 57, 3, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5930, N'TK', N'S08030601', 25, N'-', 1, 0, 57, 3, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5931, N'TK', N'S08030701', 25, N'-', 1, 0, 57, 3, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5932, N'TK', N'S08030801', 25, N'-', 1, 0, 57, 3, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5933, N'TK', N'S08040101', 25, N'-', 1, 0, 57, 4, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5934, N'TK', N'S08040201', 25, N'-', 1, 0, 57, 4, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5935, N'TK', N'S08040301', 25, N'-', 1, 0, 57, 4, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5936, N'TK', N'S08040401', 25, N'-', 1, 0, 57, 4, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5937, N'TK', N'S08040501', 25, N'-', 1, 0, 57, 4, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5938, N'TK', N'S08040601', 25, N'-', 1, 0, 57, 4, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5939, N'TK', N'S08040701', 25, N'-', 1, 0, 57, 4, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5940, N'TK', N'S08040801', 25, N'-', 1, 0, 57, 4, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5941, N'TK', N'S08050101', 25, N'-', 1, 0, 57, 5, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5942, N'TK', N'S08050201', 25, N'-', 1, 0, 57, 5, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5943, N'TK', N'S08050301', 25, N'-', 1, 0, 57, 5, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5944, N'TK', N'S08050401', 25, N'-', 1, 0, 57, 5, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5945, N'TK', N'S08050501', 25, N'-', 1, 0, 57, 5, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5946, N'TK', N'S08050601', 25, N'-', 1, 0, 57, 5, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5947, N'TK', N'S08050701', 25, N'-', 1, 0, 57, 5, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5948, N'TK', N'S08050801', 25, N'-', 1, 0, 57, 5, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5949, N'TK', N'S08060101', 25, N'-', 1, 0, 57, 6, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5950, N'TK', N'S08060201', 25, N'-', 1, 0, 57, 6, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5951, N'TK', N'S08060301', 25, N'-', 1, 0, 57, 6, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5952, N'TK', N'S08060401', 25, N'-', 1, 0, 57, 6, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5953, N'TK', N'S08060501', 25, N'-', 1, 0, 57, 6, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5954, N'TK', N'S08060601', 25, N'-', 1, 0, 57, 6, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5955, N'TK', N'S08060701', 25, N'-', 1, 0, 57, 6, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5956, N'TK', N'S08060801', 25, N'-', 1, 0, 57, 6, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5957, N'TK', N'S08070101', 25, N'-', 1, 0, 57, 7, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5958, N'TK', N'S08070201', 25, N'-', 1, 0, 57, 7, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5959, N'TK', N'S08070301', 25, N'-', 1, 0, 57, 7, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5960, N'TK', N'S08070401', 25, N'-', 1, 0, 57, 7, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5961, N'TK', N'S08070501', 25, N'-', 1, 0, 57, 7, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5962, N'TK', N'S08070601', 25, N'-', 1, 0, 57, 7, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5963, N'TK', N'S08070701', 25, N'-', 1, 0, 57, 7, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5964, N'TK', N'S08070801', 25, N'-', 1, 0, 57, 7, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5965, N'TK', N'S08080101', 25, N'-', 1, 0, 57, 8, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5966, N'TK', N'S08080201', 25, N'-', 1, 0, 57, 8, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5967, N'TK', N'S08080301', 25, N'-', 1, 0, 57, 8, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5968, N'TK', N'S08080401', 25, N'-', 1, 0, 57, 8, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5969, N'TK', N'S08080501', 25, N'-', 1, 0, 57, 8, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5970, N'TK', N'S08080601', 25, N'-', 1, 0, 57, 8, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5971, N'TK', N'S08080701', 25, N'-', 1, 0, 57, 8, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5972, N'TK', N'S08080801', 25, N'-', 1, 0, 57, 8, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5973, N'TK', N'S08090101', 25, N'-', 1, 0, 57, 9, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5974, N'TK', N'S08090201', 25, N'-', 1, 0, 57, 9, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5975, N'TK', N'S08090301', 25, N'-', 1, 0, 57, 9, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5976, N'TK', N'S08090401', 25, N'-', 1, 0, 57, 9, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5977, N'TK', N'S08090501', 25, N'-', 1, 0, 57, 9, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5978, N'TK', N'S08090601', 25, N'-', 1, 0, 57, 9, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5979, N'TK', N'S08090701', 25, N'-', 1, 0, 57, 9, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5980, N'TK', N'S08090801', 25, N'-', 1, 0, 57, 9, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5981, N'TK', N'S08100101', 25, N'-', 1, 0, 57, 10, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5982, N'TK', N'S08100201', 25, N'-', 1, 0, 57, 10, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5983, N'TK', N'S08100301', 25, N'-', 1, 0, 57, 10, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5984, N'TK', N'S08100401', 25, N'-', 1, 0, 57, 10, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5985, N'TK', N'S08100501', 25, N'-', 1, 0, 57, 10, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5986, N'TK', N'S08100601', 25, N'-', 1, 0, 57, 10, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5987, N'TK', N'S08100701', 25, N'-', 1, 0, 57, 10, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5988, N'TK', N'S08100801', 25, N'-', 1, 0, 57, 10, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5989, N'TK', N'S08110101', 25, N'-', 1, 0, 57, 11, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5990, N'TK', N'S08110201', 25, N'-', 1, 0, 57, 11, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5991, N'TK', N'S08110301', 25, N'-', 1, 0, 57, 11, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5992, N'TK', N'S08110401', 25, N'-', 1, 0, 57, 11, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5993, N'TK', N'S08110501', 25, N'-', 1, 0, 57, 11, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5994, N'TK', N'S08110601', 25, N'-', 1, 0, 57, 11, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5995, N'TK', N'S08110701', 25, N'-', 1, 0, 57, 11, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5996, N'TK', N'S08110801', 25, N'-', 1, 0, 57, 11, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5997, N'TK', N'S08120101', 25, N'-', 1, 0, 57, 12, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5998, N'TK', N'S08120201', 25, N'-', 1, 0, 57, 12, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (5999, N'TK', N'S08120301', 25, N'-', 1, 0, 57, 12, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6000, N'TK', N'S08120401', 25, N'-', 1, 0, 57, 12, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6001, N'TK', N'S08120501', 25, N'-', 1, 0, 57, 12, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6002, N'TK', N'S08120601', 25, N'-', 1, 0, 57, 12, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6003, N'TK', N'S08120701', 25, N'-', 1, 0, 57, 12, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6004, N'TK', N'S08120801', 25, N'-', 1, 0, 57, 12, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6005, N'TK', N'S08130101', 25, N'-', 1, 0, 57, 13, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6006, N'TK', N'S08130201', 25, N'-', 1, 0, 57, 13, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6007, N'TK', N'S08130301', 25, N'-', 1, 0, 57, 13, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6008, N'TK', N'S08130401', 25, N'-', 1, 0, 57, 13, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6009, N'TK', N'S08130501', 25, N'-', 1, 0, 57, 13, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6010, N'TK', N'S08130601', 25, N'-', 1, 0, 57, 13, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6011, N'TK', N'S08130701', 25, N'-', 1, 0, 57, 13, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6012, N'TK', N'S08130801', 25, N'-', 1, 0, 57, 13, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6013, N'TK', N'S08140101', 25, N'-', 1, 0, 57, 14, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6014, N'TK', N'S08140201', 25, N'-', 1, 0, 57, 14, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6015, N'TK', N'S08140301', 25, N'-', 1, 0, 57, 14, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6016, N'TK', N'S08140401', 25, N'-', 1, 0, 57, 14, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6017, N'TK', N'S08140501', 25, N'-', 1, 0, 57, 14, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6018, N'TK', N'S08140601', 25, N'-', 1, 0, 57, 14, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6019, N'TK', N'S08140701', 25, N'-', 1, 0, 57, 14, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6020, N'TK', N'S08140801', 25, N'-', 1, 0, 57, 14, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6021, N'TK', N'S08150101', 25, N'-', 1, 0, 57, 15, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6022, N'TK', N'S08150201', 25, N'-', 1, 0, 57, 15, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6023, N'TK', N'S08150301', 25, N'-', 1, 0, 57, 15, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6024, N'TK', N'S08150401', 25, N'-', 1, 0, 57, 15, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6025, N'TK', N'S08150501', 25, N'-', 1, 0, 57, 15, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6026, N'TK', N'S08150601', 25, N'-', 1, 0, 57, 15, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6027, N'TK', N'S08150701', 25, N'-', 1, 0, 57, 15, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6028, N'TK', N'S08150801', 25, N'-', 1, 0, 57, 15, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6029, N'TK', N'S08160101', 25, N'-', 1, 0, 57, 16, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6030, N'TK', N'S08160201', 25, N'-', 1, 0, 57, 16, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6031, N'TK', N'S08160301', 25, N'-', 1, 0, 57, 16, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6032, N'TK', N'S08160401', 25, N'-', 1, 0, 57, 16, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6033, N'TK', N'S08160501', 25, N'-', 1, 0, 57, 16, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6034, N'TK', N'S08160601', 25, N'-', 1, 0, 57, 16, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6035, N'TK', N'S08160701', 25, N'-', 1, 0, 57, 16, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6036, N'TK', N'S08160801', 25, N'-', 1, 0, 57, 16, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6037, N'TK', N'S08170101', 25, N'-', 1, 0, 57, 17, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6038, N'TK', N'S08170201', 25, N'-', 1, 0, 57, 17, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6039, N'TK', N'S08170301', 25, N'-', 1, 0, 57, 17, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6040, N'TK', N'S08170401', 25, N'-', 1, 0, 57, 17, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6041, N'TK', N'S08170501', 25, N'-', 1, 0, 57, 17, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6042, N'TK', N'S08170601', 25, N'-', 1, 0, 57, 17, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6043, N'TK', N'S08170701', 25, N'-', 1, 0, 57, 17, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6044, N'TK', N'S08170801', 25, N'-', 1, 0, 57, 17, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6045, N'TK', N'S08180101', 25, N'-', 1, 0, 57, 18, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6046, N'TK', N'S08180201', 25, N'-', 1, 0, 57, 18, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6047, N'TK', N'S08180301', 25, N'-', 1, 0, 57, 18, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6048, N'TK', N'S08180401', 25, N'-', 1, 0, 57, 18, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6049, N'TK', N'S08180501', 25, N'-', 1, 0, 57, 18, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6050, N'TK', N'S08180601', 25, N'-', 1, 0, 57, 18, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6051, N'TK', N'S08180701', 25, N'-', 1, 0, 57, 18, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6052, N'TK', N'S08180801', 25, N'-', 1, 0, 57, 18, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6053, N'TK', N'S08190101', 25, N'-', 1, 0, 57, 19, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6054, N'TK', N'S08190201', 25, N'-', 1, 0, 57, 19, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6055, N'TK', N'S08190301', 25, N'-', 1, 0, 57, 19, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6056, N'TK', N'S08190401', 25, N'-', 1, 0, 57, 19, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6057, N'TK', N'S08190501', 25, N'-', 1, 0, 57, 19, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6058, N'TK', N'S08190601', 25, N'-', 1, 0, 57, 19, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6059, N'TK', N'S08190701', 25, N'-', 1, 0, 57, 19, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6060, N'TK', N'S08190801', 25, N'-', 1, 0, 57, 19, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6061, N'TK', N'S08200101', 25, N'-', 1, 0, 57, 20, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6062, N'TK', N'S08200201', 25, N'-', 1, 0, 57, 20, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6063, N'TK', N'S08200301', 25, N'-', 1, 0, 57, 20, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6064, N'TK', N'S08200401', 25, N'-', 1, 0, 57, 20, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6065, N'TK', N'S08200501', 25, N'-', 1, 0, 57, 20, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6066, N'TK', N'S08200601', 25, N'-', 1, 0, 57, 20, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6067, N'TK', N'S08200701', 25, N'-', 1, 0, 57, 20, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6068, N'TK', N'S08200801', 25, N'-', 1, 0, 57, 20, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6069, N'TK', N'S08210101', 25, N'-', 1, 0, 57, 21, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6070, N'TK', N'S08210201', 25, N'-', 1, 0, 57, 21, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6071, N'TK', N'S08210301', 25, N'-', 1, 0, 57, 21, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6072, N'TK', N'S08210401', 25, N'-', 1, 0, 57, 21, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6073, N'TK', N'S08210501', 25, N'-', 1, 0, 57, 21, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6074, N'TK', N'S08210601', 25, N'-', 1, 0, 57, 21, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6075, N'TK', N'S08210701', 25, N'-', 1, 0, 57, 21, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6076, N'TK', N'S08210801', 25, N'-', 1, 0, 57, 21, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6077, N'TK', N'S08220101', 25, N'-', 1, 0, 57, 22, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6078, N'TK', N'S08220201', 25, N'-', 1, 0, 57, 22, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6079, N'TK', N'S08220301', 25, N'-', 1, 0, 57, 22, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6080, N'TK', N'S08220401', 25, N'-', 1, 0, 57, 22, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6081, N'TK', N'S08220501', 25, N'-', 1, 0, 57, 22, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6082, N'TK', N'S08220601', 25, N'-', 1, 0, 57, 22, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6083, N'TK', N'S08220701', 25, N'-', 1, 0, 57, 22, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6084, N'TK', N'S08220801', 25, N'-', 1, 0, 57, 22, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6085, N'TK', N'S08230101', 25, N'-', 1, 0, 57, 23, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6086, N'TK', N'S08230201', 25, N'-', 1, 0, 57, 23, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6087, N'TK', N'S08230301', 25, N'-', 1, 0, 57, 23, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6088, N'TK', N'S08230401', 25, N'-', 1, 0, 57, 23, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6089, N'TK', N'S08230501', 25, N'-', 1, 0, 57, 23, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6090, N'TK', N'S08230601', 25, N'-', 1, 0, 57, 23, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6091, N'TK', N'S08230701', 25, N'-', 1, 0, 57, 23, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6092, N'TK', N'S08230801', 25, N'-', 1, 0, 57, 23, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6093, N'TK', N'S08240101', 25, N'-', 1, 0, 57, 24, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6094, N'TK', N'S08240201', 25, N'-', 1, 0, 57, 24, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6095, N'TK', N'S08240301', 25, N'-', 1, 0, 57, 24, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6096, N'TK', N'S08240401', 25, N'-', 1, 0, 57, 24, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6097, N'TK', N'S08240501', 25, N'-', 1, 0, 57, 24, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6098, N'TK', N'S08240601', 25, N'-', 1, 0, 57, 24, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6099, N'TK', N'S08240701', 25, N'-', 1, 0, 57, 24, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6100, N'TK', N'S08240801', 25, N'-', 1, 0, 57, 24, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6101, N'TK', N'S08250101', 25, N'-', 1, 0, 57, 25, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6102, N'TK', N'S08250201', 25, N'-', 1, 0, 57, 25, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6103, N'TK', N'S08250301', 25, N'-', 1, 0, 57, 25, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6104, N'TK', N'S08250401', 25, N'-', 1, 0, 57, 25, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6105, N'TK', N'S08250501', 25, N'-', 1, 0, 57, 25, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6106, N'TK', N'S08250601', 25, N'-', 1, 0, 57, 25, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6107, N'TK', N'S08250701', 25, N'-', 1, 0, 57, 25, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6108, N'TK', N'S08250801', 25, N'-', 1, 0, 57, 25, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6109, N'TK', N'S08260101', 25, N'-', 1, 0, 57, 26, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6110, N'TK', N'S08260201', 25, N'-', 1, 0, 57, 26, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6111, N'TK', N'S08260301', 25, N'-', 1, 0, 57, 26, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6112, N'TK', N'S08260401', 25, N'-', 1, 0, 57, 26, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6113, N'TK', N'S08260501', 25, N'-', 1, 0, 57, 26, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6114, N'TK', N'S08260601', 25, N'-', 1, 0, 57, 26, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6115, N'TK', N'S08260701', 25, N'-', 1, 0, 57, 26, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6116, N'TK', N'S08260801', 25, N'-', 1, 0, 57, 26, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6117, N'TK', N'S08270101', 25, N'-', 1, 0, 57, 27, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6118, N'TK', N'S08270201', 25, N'-', 1, 0, 57, 27, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6119, N'TK', N'S08270301', 25, N'-', 1, 0, 57, 27, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6120, N'TK', N'S08270401', 25, N'-', 1, 0, 57, 27, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6121, N'TK', N'S08270501', 25, N'-', 1, 0, 57, 27, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6122, N'TK', N'S08270601', 25, N'-', 1, 0, 57, 27, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6123, N'TK', N'S08270701', 25, N'-', 1, 0, 57, 27, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6124, N'TK', N'S08270801', 25, N'-', 1, 0, 57, 27, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6125, N'TK', N'S08280101', 25, N'-', 1, 0, 57, 28, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6126, N'TK', N'S08280201', 25, N'-', 1, 0, 57, 28, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6127, N'TK', N'S08280301', 25, N'-', 1, 0, 57, 28, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6128, N'TK', N'S08280401', 25, N'-', 1, 0, 57, 28, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6129, N'TK', N'S08280501', 25, N'-', 1, 0, 57, 28, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6130, N'TK', N'S08280601', 25, N'-', 1, 0, 57, 28, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6131, N'TK', N'S08280701', 25, N'-', 1, 0, 57, 28, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6132, N'TK', N'S08280801', 25, N'-', 1, 0, 57, 28, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6133, N'TK', N'S08290101', 25, N'-', 1, 0, 57, 29, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6134, N'TK', N'S08290201', 25, N'-', 1, 0, 57, 29, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6135, N'TK', N'S08290301', 25, N'-', 1, 0, 57, 29, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6136, N'TK', N'S08290401', 25, N'-', 1, 0, 57, 29, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6137, N'TK', N'S08290501', 25, N'-', 1, 0, 57, 29, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6138, N'TK', N'S08290601', 25, N'-', 1, 0, 57, 29, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6139, N'TK', N'S08290701', 25, N'-', 1, 0, 57, 29, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6140, N'TK', N'S08290801', 25, N'-', 1, 0, 57, 29, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6141, N'TK', N'S08300101', 25, N'-', 1, 0, 57, 30, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6142, N'TK', N'S08300201', 25, N'-', 1, 0, 57, 30, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6143, N'TK', N'S08300301', 25, N'-', 1, 0, 57, 30, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6144, N'TK', N'S08300401', 25, N'-', 1, 0, 57, 30, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6145, N'TK', N'S08300501', 25, N'-', 1, 0, 57, 30, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6146, N'TK', N'S08300601', 25, N'-', 1, 0, 57, 30, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6147, N'TK', N'S08300701', 25, N'-', 1, 0, 57, 30, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6148, N'TK', N'S08300801', 25, N'-', 1, 0, 57, 30, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6149, N'TK', N'S08310101', 25, N'-', 1, 0, 57, 31, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6150, N'TK', N'S08310201', 25, N'-', 1, 0, 57, 31, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6151, N'TK', N'S08310301', 25, N'-', 1, 0, 57, 31, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6152, N'TK', N'S08310401', 25, N'-', 1, 0, 57, 31, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6153, N'TK', N'S08310501', 25, N'-', 1, 0, 57, 31, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6154, N'TK', N'S08310601', 25, N'-', 1, 0, 57, 31, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6155, N'TK', N'S08310701', 25, N'-', 1, 0, 57, 31, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6156, N'TK', N'S08310801', 25, N'-', 1, 0, 57, 31, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6157, N'TK', N'S08320101', 25, N'-', 1, 0, 57, 32, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6158, N'TK', N'S08320201', 25, N'-', 1, 0, 57, 32, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6159, N'TK', N'S08320301', 25, N'-', 1, 0, 57, 32, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6160, N'TK', N'S08320401', 25, N'-', 1, 0, 57, 32, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6161, N'TK', N'S08320501', 25, N'-', 1, 0, 57, 32, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6162, N'TK', N'S08320601', 25, N'-', 1, 0, 57, 32, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6163, N'TK', N'S08320701', 25, N'-', 1, 0, 57, 32, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6164, N'TK', N'S08320801', 25, N'-', 1, 0, 57, 32, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6165, N'TK', N'S08330101', 25, N'-', 1, 0, 57, 33, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6166, N'TK', N'S08330201', 25, N'-', 1, 0, 57, 33, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6167, N'TK', N'S08330301', 25, N'-', 1, 0, 57, 33, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6168, N'TK', N'S08330401', 25, N'-', 1, 0, 57, 33, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6169, N'TK', N'S08330501', 25, N'-', 1, 0, 57, 33, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6170, N'TK', N'S08330601', 25, N'-', 1, 0, 57, 33, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6171, N'TK', N'S08330701', 25, N'-', 1, 0, 57, 33, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6172, N'TK', N'S08330801', 25, N'-', 1, 0, 57, 33, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6173, N'TK', N'S08340101', 25, N'-', 1, 0, 57, 34, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6174, N'TK', N'S08340201', 25, N'-', 1, 0, 57, 34, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6175, N'TK', N'S08340301', 25, N'-', 1, 0, 57, 34, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6176, N'TK', N'S08340401', 25, N'-', 1, 0, 57, 34, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6177, N'TK', N'S08340501', 25, N'-', 1, 0, 57, 34, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6178, N'TK', N'S08340601', 25, N'-', 1, 0, 57, 34, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6179, N'TK', N'S08340701', 25, N'-', 1, 0, 57, 34, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6180, N'TK', N'S08340801', 25, N'-', 1, 0, 57, 34, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6181, N'TK', N'S08350101', 25, N'-', 1, 0, 57, 35, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6182, N'TK', N'S08350201', 25, N'-', 1, 0, 57, 35, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6183, N'TK', N'S08350301', 25, N'-', 1, 0, 57, 35, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6184, N'TK', N'S08350401', 25, N'-', 1, 0, 57, 35, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6185, N'TK', N'S08350501', 25, N'-', 1, 0, 57, 35, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6186, N'TK', N'S08350601', 25, N'-', 1, 0, 57, 35, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6187, N'TK', N'S08350701', 25, N'-', 1, 0, 57, 35, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6188, N'TK', N'S08350801', 25, N'-', 1, 0, 57, 35, 8, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6189, N'TK', N'S08360101', 25, N'-', 1, 0, 57, 36, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6190, N'TK', N'S08360201', 25, N'-', 1, 0, 57, 36, 2, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6191, N'TK', N'S08360301', 25, N'-', 1, 0, 57, 36, 3, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6192, N'TK', N'S08360401', 25, N'-', 1, 0, 57, 36, 4, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6193, N'TK', N'S08360501', 25, N'-', 1, 0, 57, 36, 5, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6194, N'TK', N'S08360601', 25, N'-', 1, 0, 57, 36, 6, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6195, N'TK', N'S08360701', 25, N'-', 1, 0, 57, 36, 7, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6196, N'TK', N'S08360801', 25, N'-', 1, 0, 57, 36, 8, 1) +go + +set identity_insert dbo.Celle off +go + +commit transaction +go + + + + +-- pro forma: fare VERI "a mano"... +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.ElencoPostazioni + VALUES (N'localhost', N'\\Vostro410\Brother HL-4050CDN') +go + +commit transaction +go + + +-- gestione permessi... serve poi script su Anagrafica con NUOVI nomi di permesso... +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.Permessi + VALUES ('POST', 'menu.aspx', 4, 0, 'Postazioni', 'PostazioniExpl') +INSERT INTO dbo.Permessi + VALUES ('POST_anime', 'anime.aspx', 4, 5, 'PostAnime', 'PostAnimeExpl') +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.Permessi2Funzione + VALUES ('LAB', N'GMW_MP', 'S') +INSERT INTO dbo.Permessi2Funzione + VALUES ('LAB_consumaUdc', N'GMW_MP', 'S') +INSERT INTO dbo.Permessi2Funzione + VALUES ('LAB_stampaUdc', N'GMW_MP', 'S') +INSERT INTO dbo.Permessi2Funzione + VALUES ('MAG_block', N'GMW_user', 'S') +INSERT INTO dbo.Permessi2Funzione + VALUES ('MAG_delibere', N'GMW_user', 'S') +INSERT INTO dbo.Permessi2Funzione + VALUES ('MAG_dtMtrx', N'GMW_user', 'S') +INSERT INTO dbo.Permessi2Funzione + VALUES ('POST', N'GMW_powuser', 'S') +INSERT INTO dbo.Permessi2Funzione + VALUES ('POST', N'GMW_user', 'S') +INSERT INTO dbo.Permessi2Funzione + VALUES ('POST_anime', N'GMW_anime', 'S') +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +DELETE FROM dbo.Permessi2Funzione WHERE COD_PERMESSO='LAB' and COD_FUNZIONE=N'GMW_lab' +DELETE FROM dbo.Permessi2Funzione WHERE COD_PERMESSO='LAB_consumaUdc' and COD_FUNZIONE=N'GMW_lab' +DELETE FROM dbo.Permessi2Funzione WHERE COD_PERMESSO='LAB_stampaUdc' and COD_FUNZIONE=N'GMW_lab' +DELETE FROM dbo.Permessi2Funzione WHERE COD_PERMESSO='MAG' and COD_FUNZIONE=N'GMW_lab' +DELETE FROM dbo.Permessi2Funzione WHERE COD_PERMESSO='MAG_block' and COD_FUNZIONE=N'GMW_lab' +DELETE FROM dbo.Permessi2Funzione WHERE COD_PERMESSO='MAG_block' and COD_FUNZIONE=N'GMW_userNO' +DELETE FROM dbo.Permessi2Funzione WHERE COD_PERMESSO='MAG_delibere' and COD_FUNZIONE=N'GMW_admin' +DELETE FROM dbo.Permessi2Funzione WHERE COD_PERMESSO='MAG_dtMtrx' and COD_FUNZIONE=N'GMW_userNO' +DELETE FROM dbo.Permessi2Funzione WHERE COD_PERMESSO='MAG_mag' and COD_FUNZIONE=N'GMW_lab' +DELETE FROM dbo.Permessi2Funzione WHERE COD_PERMESSO='MAG_search' and COD_FUNZIONE=N'GMW_lab' +DELETE FROM dbo.Permessi2Funzione WHERE COD_PERMESSO='USER' and COD_FUNZIONE=N'GMW_lab' +DELETE FROM dbo.Permessi2Funzione WHERE COD_PERMESSO='USER_chLang' and COD_FUNZIONE=N'GMW_lab' +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.TipoListaPrelievo + VALUES (N'00-Smart', N'Lista Prelievo Smart', N'LPX010101', N'LDP_Smart', 0) +go + +commit transaction +go + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(415, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.2/GMW_00421.sql b/GMW_data/SqlScripts/V1.2/GMW_00421.sql new file mode 100644 index 00000000..ad23706b --- /dev/null +++ b/GMW_data/SqlScripts/V1.2/GMW_00421.sql @@ -0,0 +1,323 @@ +set xact_abort on +go + +begin transaction +go + +UPDATE dbo.TipoListaPrelievo SET + enabled=0 + WHERE CodTipoLista=N'00-Smart' +go + +commit transaction +go + + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/*************************************** +* STORED stp_selDestListePrelByConditio +* +* Ottiene i destinatari delle liste di prelievo data la condizione indicata +* +* Steamware, S.E.L. +* mod: 2010.11.02 +* +****************************************/ +alter PROCEDURE stp_selDestListePrelByConditio +( + @conditio NVARCHAR(20) +) +AS + +IF (@conditio='01-PreFus') +BEGIN + SELECT CAST('*' AS NVARCHAR(6)) AS value, CAST('*' AS NVARCHAR(50)) AS label, '01-PreFus' AS conditio +END + +ELSE IF (@conditio='01-PreAnim') +BEGIN + SELECT CAST(CodCliente AS NVARCHAR(6)) AS value, CAST(CodCliente AS NVARCHAR(6)) +'- ' +CAST(RagSociale AS NVARCHAR(50)) AS label, '01-PreAnim' AS conditio + FROM RilPro.AnagClienti + ORDER BY label +END + +ELSE IF (@conditio='02-PreCli') +BEGIN + SELECT CAST(CodCliente AS NVARCHAR(6)) AS value, CAST(CodCliente AS NVARCHAR(6)) +'- ' +CAST(RagSociale AS NVARCHAR(50)) AS label, '02-PreCli' AS conditio + FROM RilPro.AnagClienti + ORDER BY label +END + +ELSE IF (@conditio='04-OdetSP') +BEGIN + SELECT CAST(CodCliente AS NVARCHAR(6)) AS value, CAST(CodCliente AS NVARCHAR(6)) +'- ' +CAST(RagSociale AS NVARCHAR(50)) AS label, '04-OdetSP' AS conditio + FROM RilPro.AnagClienti + ORDER BY label +END + +ELSE +BEGIN + SELECT CAST(CodTerzista AS NVARCHAR(6)) AS value, CAST(CodTerzista AS NVARCHAR(6))+ '- '+CAST(DescTerzista AS NVARCHAR(50)) AS label, '03-TerWip' AS conditio + FROM RilPro.AnagDepositi + ORDER BY label +END + +RETURN +go + +commit; +go + + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/*************************************** +* STORED stp_ParticolariOverviewPerListaPrelievo +* +* elenco di overview sull'impiego dei particolari (dettaglio a "maglie larghe") x una possibile lista di prelievo +* +* Steamware, S.E.L. +* mod: 2010.05.31 +* +****************************************/ +alter PROCEDURE stp_ParticolariOverviewPerListaPrelievo +( + @Particolare VARCHAR(50), + @CodCS VARCHAR(2), + @Esponente NVARCHAR(6), + @Figura NVARCHAR(4), + @CodImballo NVARCHAR(15), + @CodTipoLista NVARCHAR (10) +) +AS + SELECT RilPro.AnagParticolari.Particolare, RilPro.AnagParticolari.DescParticolare, ISNULL(COUNT(dbo.ElencoCartellini.UDC), 0) AS NumUDC, + ISNULL(SUM(dbo.ElencoCartellini.Qta), 0) AS TotQta, ISNULL(COUNT(dbo.PosizioneUdcCorrente.IdxCella), 0) AS NumInMag + FROM RilPro.AnagParticolari LEFT OUTER JOIN + dbo.ElencoCartellini ON RilPro.AnagParticolari.Particolare = dbo.ElencoCartellini.Particolare LEFT OUTER JOIN + dbo.PosizioneUdcCorrente ON dbo.ElencoCartellini.UDC = dbo.PosizioneUdcCorrente.UDC + WHERE RilPro.AnagParticolari.CodCS = @CodCS AND + RilPro.AnagParticolari.Particolare = @Particolare AND + (IdxPosizione IN (SELECT tt.IdxPosizione + FROM TipoListaPrelievo tlp INNER JOIN TabTranPosizEventi tt ON tlp.CodEvento = tt.CodEvento + WHERE (tlp.CodTipoLista = @CodTipoLista))) AND + (dbo.ElencoCartellini.Figura = CASE WHEN @Figura = '*' THEN dbo.ElencoCartellini.Figura ELSE @Figura END) AND + (dbo.ElencoCartellini.Esponente = CASE WHEN @Esponente = '*' THEN dbo.ElencoCartellini.Esponente ELSE @Esponente END) AND + (dbo.ElencoCartellini.CodImballo = CASE WHEN @CodImballo = '*' THEN dbo.ElencoCartellini.CodImballo ELSE @CodImballo END) + + AND ElencoCartellini.UDC NOT IN ( + SELECT DISTINCT UDC + FROM RigheListePrelievo INNER JOIN ElencoListePrelievo + ON RigheListePrelievo.CodLista = ElencoListePrelievo.CodLista + WHERE (CodStatoLista > 1 AND Prelevato = 1) + ) + + GROUP BY RilPro.AnagParticolari.Particolare, RilPro.AnagParticolari.DescParticolare + +RETURN +go + +commit; +go + + + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +alter VIEW V_ParticolariOverview +AS +SELECT RilPro.AnagParticolari.Particolare, RilPro.AnagParticolari.DescParticolare, ISNULL(COUNT(dbo.ElencoCartellini.UDC), 0) AS NumUDC, + ISNULL(SUM(dbo.ElencoCartellini.Qta), 0) AS TotQta, ISNULL(COUNT(dbo.PosizioneUdcCorrente.IdxCella), 0) AS NumInMag +FROM RilPro.AnagParticolari LEFT OUTER JOIN + dbo.ElencoCartellini ON RilPro.AnagParticolari.Particolare = dbo.ElencoCartellini.Particolare LEFT OUTER JOIN + dbo.PosizioneUdcCorrente ON dbo.ElencoCartellini.UDC = dbo.PosizioneUdcCorrente.UDC +GROUP BY RilPro.AnagParticolari.Particolare, RilPro.AnagParticolari.DescParticolare +go + +exec sp_updateextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[41] 4[20] 2[13] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "AnagParticolari (RilPro)" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 191 + Right = 208 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "ElencoCartellini" + Begin Extent = + Top = 6 + Left = 277 + Bottom = 270 + Right = 447 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "PosizioneUdcCorrente" + Begin Extent = + Top = 7 + Left = 533 + Bottom = 136 + Right = 703 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 9 + Width = 284 + Width = 1500 + Width = 2580 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 12 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'V_ParticolariOverview'; +go + +commit; +go + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.TabTranPosizEventi + VALUES (N'MagPreAnim', -2, 2, 1) +go + +commit transaction +go + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(421, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.2/GMW_00425.sql b/GMW_data/SqlScripts/V1.2/GMW_00425.sql new file mode 100644 index 00000000..a86a04a9 --- /dev/null +++ b/GMW_data/SqlScripts/V1.2/GMW_00425.sql @@ -0,0 +1,323 @@ +set xact_abort on +go + +begin transaction +go + +UPDATE dbo.TipoListaPrelievo SET + enabled=0 + WHERE CodTipoLista=N'00-Smart' +go + +commit transaction +go + + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/*************************************** +* STORED stp_selDestListePrelByConditio +* +* Ottiene i destinatari delle liste di prelievo data la condizione indicata +* +* Steamware, S.E.L. +* mod: 2010.11.02 +* +****************************************/ +alter PROCEDURE stp_selDestListePrelByConditio +( + @conditio NVARCHAR(20) +) +AS + +IF (@conditio='01-PreFus') +BEGIN + SELECT CAST('*' AS NVARCHAR(6)) AS value, CAST('*' AS NVARCHAR(50)) AS label, '01-PreFus' AS conditio +END + +ELSE IF (@conditio='01-PreAnim') +BEGIN + SELECT CAST(CodCliente AS NVARCHAR(6)) AS value, CAST(CodCliente AS NVARCHAR(6)) +'- ' +CAST(RagSociale AS NVARCHAR(50)) AS label, '01-PreAnim' AS conditio + FROM RilPro.AnagClienti + ORDER BY label +END + +ELSE IF (@conditio='02-PreCli') +BEGIN + SELECT CAST(CodCliente AS NVARCHAR(6)) AS value, CAST(CodCliente AS NVARCHAR(6)) +'- ' +CAST(RagSociale AS NVARCHAR(50)) AS label, '02-PreCli' AS conditio + FROM RilPro.AnagClienti + ORDER BY label +END + +ELSE IF (@conditio='04-OdetSP') +BEGIN + SELECT CAST(CodCliente AS NVARCHAR(6)) AS value, CAST(CodCliente AS NVARCHAR(6)) +'- ' +CAST(RagSociale AS NVARCHAR(50)) AS label, '04-OdetSP' AS conditio + FROM RilPro.AnagClienti + ORDER BY label +END + +ELSE +BEGIN + SELECT CAST(CodTerzista AS NVARCHAR(6)) AS value, CAST(CodTerzista AS NVARCHAR(6))+ '- '+CAST(DescTerzista AS NVARCHAR(50)) AS label, '03-TerWip' AS conditio + FROM RilPro.AnagDepositi + ORDER BY label +END + +RETURN +go + +commit; +go + + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/*************************************** +* STORED stp_ParticolariOverviewPerListaPrelievo +* +* elenco di overview sull'impiego dei particolari (dettaglio a "maglie larghe") x una possibile lista di prelievo +* +* Steamware, S.E.L. +* mod: 2010.05.31 +* +****************************************/ +alter PROCEDURE stp_ParticolariOverviewPerListaPrelievo +( + @Particolare VARCHAR(50), + @CodCS VARCHAR(2), + @Esponente NVARCHAR(6), + @Figura NVARCHAR(4), + @CodImballo NVARCHAR(15), + @CodTipoLista NVARCHAR (10) +) +AS + SELECT RilPro.AnagParticolari.Particolare, RilPro.AnagParticolari.DescParticolare, ISNULL(COUNT(dbo.ElencoCartellini.UDC), 0) AS NumUDC, + ISNULL(SUM(dbo.ElencoCartellini.Qta), 0) AS TotQta, ISNULL(COUNT(dbo.PosizioneUdcCorrente.IdxCella), 0) AS NumInMag + FROM RilPro.AnagParticolari LEFT OUTER JOIN + dbo.ElencoCartellini ON RilPro.AnagParticolari.Particolare = dbo.ElencoCartellini.Particolare LEFT OUTER JOIN + dbo.PosizioneUdcCorrente ON dbo.ElencoCartellini.UDC = dbo.PosizioneUdcCorrente.UDC + WHERE RilPro.AnagParticolari.CodCS = @CodCS AND + RilPro.AnagParticolari.Particolare = @Particolare AND + (IdxPosizione IN (SELECT tt.IdxPosizione + FROM TipoListaPrelievo tlp INNER JOIN TabTranPosizEventi tt ON tlp.CodEvento = tt.CodEvento + WHERE (tlp.CodTipoLista = @CodTipoLista))) AND + (dbo.ElencoCartellini.Figura = CASE WHEN @Figura = '*' THEN dbo.ElencoCartellini.Figura ELSE @Figura END) AND + (dbo.ElencoCartellini.Esponente = CASE WHEN @Esponente = '*' THEN dbo.ElencoCartellini.Esponente ELSE @Esponente END) AND + (dbo.ElencoCartellini.CodImballo = CASE WHEN @CodImballo = '*' THEN dbo.ElencoCartellini.CodImballo ELSE @CodImballo END) + + AND ElencoCartellini.UDC NOT IN ( + SELECT DISTINCT UDC + FROM RigheListePrelievo INNER JOIN ElencoListePrelievo + ON RigheListePrelievo.CodLista = ElencoListePrelievo.CodLista + WHERE (CodStatoLista > 1 AND Prelevato = 1) + ) + + GROUP BY RilPro.AnagParticolari.Particolare, RilPro.AnagParticolari.DescParticolare + +RETURN +go + +commit; +go + + + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +alter VIEW V_ParticolariOverview +AS +SELECT RilPro.AnagParticolari.Particolare, RilPro.AnagParticolari.DescParticolare, ISNULL(COUNT(dbo.ElencoCartellini.UDC), 0) AS NumUDC, + ISNULL(SUM(dbo.ElencoCartellini.Qta), 0) AS TotQta, ISNULL(COUNT(dbo.PosizioneUdcCorrente.IdxCella), 0) AS NumInMag +FROM RilPro.AnagParticolari LEFT OUTER JOIN + dbo.ElencoCartellini ON RilPro.AnagParticolari.Particolare = dbo.ElencoCartellini.Particolare LEFT OUTER JOIN + dbo.PosizioneUdcCorrente ON dbo.ElencoCartellini.UDC = dbo.PosizioneUdcCorrente.UDC +GROUP BY RilPro.AnagParticolari.Particolare, RilPro.AnagParticolari.DescParticolare +go + +exec sp_updateextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[41] 4[20] 2[13] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "AnagParticolari (RilPro)" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 191 + Right = 208 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "ElencoCartellini" + Begin Extent = + Top = 6 + Left = 277 + Bottom = 270 + Right = 447 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "PosizioneUdcCorrente" + Begin Extent = + Top = 7 + Left = 533 + Bottom = 136 + Right = 703 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 9 + Width = 284 + Width = 1500 + Width = 2580 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 12 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'V_ParticolariOverview'; +go + +commit; +go + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.TabTranPosizEventi + VALUES (N'MagPreAnim', -2, 2, 1) +go + +commit transaction +go + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(425, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.2/GMW_00426.sql b/GMW_data/SqlScripts/V1.2/GMW_00426.sql new file mode 100644 index 00000000..10f49aeb --- /dev/null +++ b/GMW_data/SqlScripts/V1.2/GMW_00426.sql @@ -0,0 +1,71 @@ +set xact_abort on +go + +begin transaction +go + +set identity_insert dbo.Blocchi on +go + +INSERT INTO dbo.Blocchi + (IdxBlocco, CodMag, CodCS, CodBlocco, DescBlocco, NumX, NumY, NumZ) + VALUES (62, N'2', N'TK', N'S00', N'Anime - errori magazzino', 1, 1, 1) +go + +set identity_insert dbo.Blocchi off +go + +commit transaction +go + +set xact_abort on +go + +begin transaction +go + +set identity_insert dbo.TipoCella on +go + +INSERT INTO dbo.TipoCella + (IdxTipoCella, CodMag, CodCS, Quantita, Capienza, Max_X, Max_Y, Max_Z, Max_Kg, CheckPiena, SetMag) + VALUES (27, N'2', N'TK', 1, 1000, 850, 900, 1300, 1000, 0, 0) +go + +set identity_insert dbo.TipoCella off +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +set identity_insert dbo.Celle on +go + +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6198, N'TK', N'LPA010101', 13, N'-', 1, 0, 59, 1, 1, 1) +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6199, N'TK', N'S00010101', 27, N'-', 1, 0, 62, 1, 1, 1) +go + +set identity_insert dbo.Celle off +go + +commit transaction +go + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(426, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.2/GMW_00427.sql b/GMW_data/SqlScripts/V1.2/GMW_00427.sql new file mode 100644 index 00000000..6f9b84aa --- /dev/null +++ b/GMW_data/SqlScripts/V1.2/GMW_00427.sql @@ -0,0 +1,406 @@ +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +create VIEW v_selParticolari +AS +SELECT Particolare AS value, DescParticolare AS label, ClassifArticolo AS conditio +FROM RilPro.AnagParticolari +go + +commit; +go + + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/***************************************** +* STORED stp_particolariByConditio +* +* Recupera elenco particolari data la condizione +* +* Steamware, S.E.L. +* mod: 2012.03.16 +* +****************************************/ +create PROCEDURE stp_particolariByConditio +( + @conditio NVARCHAR(50) +) +AS + +SELECT * +FROM v_selParticolari +WHERE conditio = @conditio + +RETURN +go + +/***************************************** +* STORED stp_particolariByConditioLikePref +* +* Recupera elenco particolari data la condizione e l'inizio del campo value (ricerca like) +* +* Steamware, S.E.L. +* mod: 2012.03.16 +* +****************************************/ +create PROCEDURE stp_particolariByConditioLikePref +( + @conditio NVARCHAR(50), + @prefText NVARCHAR(50) +) +AS + +SELECT * +FROM v_selParticolari +WHERE conditio = @conditio +AND value LIKE @prefText + '%' + +RETURN +go + +commit; +go + + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +alter VIEW V_MagazziniOverview +AS +SELECT TOP (100) PERCENT dbo.AnagMag.CodCS, dbo.AnagMag.CodMag, dbo.AnagMag.DescMag, dbo.Blocchi.IdxBlocco, dbo.Blocchi.CodBlocco, dbo.Blocchi.DescBlocco, + dbo.TipoCella.Capienza * dbo.Blocchi.NumX * dbo.Blocchi.NumY * dbo.Blocchi.NumZ AS TotCelle, dbo.TipoCella.Capienza * COUNT(DISTINCT dbo.Celle.IdxCella) + AS CelleAttive, COUNT(dbo.PosizioneUdcCorrente.UDC) AS CelleOccupate, dbo.TipoCella.Capienza * COUNT(DISTINCT dbo.Celle.IdxCella) + - COUNT(dbo.PosizioneUdcCorrente.UDC) AS CelleLibere, ISNULL(MIN(dbo.PosizioneUdcCorrente.DataRif), GETDATE()) AS Oldest, + ISNULL(MAX(dbo.PosizioneUdcCorrente.DataRif), GETDATE()) AS Newest +FROM dbo.TipoCella INNER JOIN + dbo.AnagMag INNER JOIN + dbo.Blocchi ON dbo.AnagMag.CodMag = dbo.Blocchi.CodMag AND dbo.AnagMag.CodCS = dbo.Blocchi.CodCS ON dbo.TipoCella.CodMag = dbo.AnagMag.CodMag AND + dbo.TipoCella.CodCS = dbo.AnagMag.CodCS LEFT OUTER JOIN + dbo.Celle ON dbo.TipoCella.IdxTipoCella = dbo.Celle.IdxTipoCella AND dbo.Blocchi.IdxBlocco = dbo.Celle.IdxBlocco LEFT OUTER JOIN + dbo.PosizioneUdcCorrente ON dbo.Celle.IdxCella = dbo.PosizioneUdcCorrente.IdxCella +WHERE (dbo.Celle.Attiva = 1) +GROUP BY dbo.AnagMag.CodCS, dbo.AnagMag.CodMag, dbo.AnagMag.DescMag, dbo.Blocchi.IdxBlocco, dbo.Blocchi.CodBlocco, dbo.Blocchi.NumX, dbo.Blocchi.NumY, + dbo.Blocchi.NumZ, dbo.TipoCella.Capienza, dbo.Blocchi.DescBlocco +ORDER BY dbo.AnagMag.CodMag, dbo.Blocchi.CodBlocco +go + +exec sp_updateextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[39] 4[23] 2[11] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "TipoCella" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 135 + Right = 224 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "AnagMag" + Begin Extent = + Top = 6 + Left = 662 + Bottom = 118 + Right = 832 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "Blocchi" + Begin Extent = + Top = 36 + Left = 974 + Bottom = 257 + Right = 1144 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "Celle" + Begin Extent = + Top = 149 + Left = 629 + Bottom = 313 + Right = 799 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "PosizioneUdcCorrente" + Begin Extent = + Top = 159 + Left = 201 + Bottom = 288 + Right = 371 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 13 + Width = 284 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1665 + Width = 1665 + Width = 1500 + Width = 1500 + End + End + B', 'SCHEMA', 'dbo', 'VIEW', 'V_MagazziniOverview'; +go + +exec sp_updateextendedproperty 'MS_DiagramPane2', 'egin CriteriaPane = + Begin ColumnWidths = 12 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'V_MagazziniOverview'; +go + +commit; +go + + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/*************************************** +* STORED stp_ParticolariOverview +* +* elenco di overview sullo stato dei magazzini (dettaglio a "maglie larghe") +* +* Steamware, S.E.L. +* mod: 2010.06.02 +* +****************************************/ +alter PROCEDURE stp_magazzinoOverview +( + @CodCS VARCHAR(2) +) +AS + + SELECT AnagMag.CodCS, AnagMag.CodMag, AnagMag.DescMag, Blocchi.IdxBlocco, Blocchi.CodBlocco, Blocchi.DescBlocco, + TipoCella.Capienza * Blocchi.NumX * Blocchi.NumY * Blocchi.NumZ AS TotCelle, + TipoCella.Capienza * COUNT(DISTINCT Celle.IdxCella) AS CelleAttive, + COUNT(PosizioneUdcCorrente.UDC) AS CelleOccupate, + TipoCella.Capienza * COUNT(DISTINCT Celle.IdxCella) - COUNT(PosizioneUdcCorrente.UDC) AS CelleLibere, + ISNULL(MIN(PosizioneUdcCorrente.DataRif), GETDATE()) AS Oldest, ISNULL(MAX(PosizioneUdcCorrente.DataRif), GETDATE()) AS Newest +FROM TipoCella INNER JOIN + AnagMag INNER JOIN + Blocchi ON AnagMag.CodMag = Blocchi.CodMag AND AnagMag.CodCS = Blocchi.CodCS ON TipoCella.CodMag = AnagMag.CodMag AND + TipoCella.CodCS = AnagMag.CodCS LEFT OUTER JOIN + Celle ON TipoCella.IdxTipoCella = Celle.IdxTipoCella AND Blocchi.IdxBlocco = Celle.IdxBlocco LEFT OUTER JOIN + PosizioneUdcCorrente ON Celle.IdxCella = PosizioneUdcCorrente.IdxCella +WHERE (Celle.Attiva = 1) AND (AnagMag.CodCS = @CodCS) AND (ISNULL(AnagMag.Nascosto, 0) = 0) +GROUP BY AnagMag.CodCS, AnagMag.CodMag, AnagMag.DescMag, Blocchi.IdxBlocco, Blocchi.CodBlocco, Blocchi.DescBlocco, + Blocchi.NumX, Blocchi.NumY, Blocchi.NumZ, + TipoCella.Capienza +ORDER BY AnagMag.CodMag, Blocchi.CodBlocco + +RETURN +go + +/*************************************** +* STORED stp_ParticolariOverview +* +* restituisce solo la riga con il num max di celle DI UN DATO magazzino +* +* Steamware, S.E.L. +* mod: 2010.06.02 +* +****************************************/ +alter PROCEDURE stp_magazzinoOverviewByMag_maxCelle +( + @CodCS VARCHAR(2), + @CodMag VARCHAR(50) +) +AS + + +WITH cte_celle AS( + SELECT b.CodBlocco, c.IdxTipoCella, COUNT(c.IdxCella) * t.Capienza AS numCelle + FROM Celle AS c INNER JOIN + Blocchi AS b ON c.IdxBlocco = b.IdxBlocco INNER JOIN + TipoCella AS t ON c.IdxTipoCella = t.IdxTipoCella + WHERE (b.CodCS = @CodCS) AND (b.CodMag = @CodMag) + GROUP BY b.CodBlocco, c.IdxTipoCella, t.Capienza +) + + + SELECT TOP (1) AnagMag.CodCS, AnagMag.CodMag, AnagMag.DescMag, b.IdxBlocco, b.CodBlocco, b.DescBlocco, + ISNULL(c.numCelle,ISNULL(b.NumX * b.NumY * b.NumZ,1)) AS TotCelle, + 0 AS CelleAttive, 0 AS CelleOccupate, 0 AS CelleLibere, GETDATE() AS Oldest, GETDATE() AS Newest + FROM AnagMag INNER JOIN Blocchi b ON AnagMag.CodMag = b.CodMag AND AnagMag.CodCS = b.CodCS INNER JOIN cte_celle c ON c.CodBlocco = b.CodBlocco + WHERE (AnagMag.CodCS = @CodCS) AND AnagMag.CodMag = @CodMag + ORDER BY TotCelle DESC +RETURN +go + +/*************************************** +* STORED stp_ParticolariOverview +* +* restituisce solo la riga con il num max di celle +* +* Steamware, S.E.L. +* mod: 2010.06.02 +* +****************************************/ +alter PROCEDURE stp_magazzinoOverview_maxCelle +( + @CodCS VARCHAR(2) +) +AS + +WITH cte_celle AS( + SELECT b.CodBlocco, c.IdxTipoCella, COUNT(c.IdxCella) * t.Capienza AS numCelle + FROM Celle AS c INNER JOIN + Blocchi AS b ON c.IdxBlocco = b.IdxBlocco INNER JOIN + TipoCella AS t ON c.IdxTipoCella = t.IdxTipoCella + WHERE (b.CodCS = @CodCS) + GROUP BY b.CodBlocco, c.IdxTipoCella, t.Capienza +) + + + SELECT TOP (1) AnagMag.CodCS, AnagMag.CodMag, AnagMag.DescMag, b.IdxBlocco, b.CodBlocco, b.DescBlocco, + ISNULL(c.numCelle,ISNULL(b.NumX * b.NumY * b.NumZ,1)) AS TotCelle, + 0 AS CelleAttive, 0 AS CelleOccupate, 0 AS CelleLibere, GETDATE() AS Oldest, GETDATE() AS Newest + FROM AnagMag INNER JOIN Blocchi b ON AnagMag.CodMag = b.CodMag AND AnagMag.CodCS = b.CodCS INNER JOIN cte_celle c ON c.CodBlocco = b.CodBlocco + WHERE (AnagMag.CodCS = @CodCS) + ORDER BY TotCelle DESC + +RETURN +go + +commit; +go + + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(427, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.2/GMW_00430.sql b/GMW_data/SqlScripts/V1.2/GMW_00430.sql new file mode 100644 index 00000000..a48709fb --- /dev/null +++ b/GMW_data/SqlScripts/V1.2/GMW_00430.sql @@ -0,0 +1,220 @@ +/* fix gestione tipo lista --> tipo particolare prelevabile */ +set xact_abort on; +go + +begin transaction; +go + +alter table TipoListaPrelievo add + codTipoObj nchar(1) constraint DF_TipoListaPrelievo_codTipoObj default (''); +go + +exec sp_addextendedproperty 'MS_Description', 'tipo oggetto ("A" = anime, "P" = particolari)', 'SCHEMA', 'dbo', 'TABLE', 'TipoListaPrelievo', 'COLUMN', 'codTipoObj'; +go + +update TipoListaPrelievo set codTipoObj=(''); +go + +set ANSI_NULLS on; +go + +alter VIEW v_selTipoLista +AS +SELECT CodTipoLista AS value, DescrLista AS label, codTipoObj AS conditio +FROM dbo.TipoListaPrelievo +WHERE (enabled = 1) +go + +exec sp_updateextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "TipoListaPrelievo" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 243 + Right = 208 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 9 + Width = 284 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_selTipoLista'; +go + +commit; +go + +/* aggiorno dati contenuti */ +set xact_abort on +go + +begin transaction +go + +UPDATE dbo.TipoListaPrelievo SET + codTipoObj=N'P' + WHERE CodTipoLista=N'00-Smart' +UPDATE dbo.TipoListaPrelievo SET + codTipoObj=N'A' + WHERE CodTipoLista=N'01-PreAnim' +UPDATE dbo.TipoListaPrelievo SET + enabled=1, codTipoObj=N'P' + WHERE CodTipoLista=N'01-PreFus' +UPDATE dbo.TipoListaPrelievo SET + toAs400=0, codTipoObj=N'P' + WHERE CodTipoLista=N'02-PreCli' +UPDATE dbo.TipoListaPrelievo SET + codTipoObj=N'P' + WHERE CodTipoLista=N'03-TerWip' +UPDATE dbo.TipoListaPrelievo SET + codTipoObj=N'P' + WHERE CodTipoLista=N'04-OdetTK' + +commit transaction +go + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/*************************************** +* STORED stp_selTipoLista_getByIdx +* +* Steamware, S.E.L. +* mod: 2012.04.27 +* +************************************/ +create PROCEDURE stp_selTipoLista_getByIdx +( + @value NVARCHAR(50) +) +AS + +SELECT * +FROM v_selTipoLista +WHERE value = @value + +RETURN +go + +commit; +go + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(430, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.2/GMW_00432.sql b/GMW_data/SqlScripts/V1.2/GMW_00432.sql new file mode 100644 index 00000000..0375c02d --- /dev/null +++ b/GMW_data/SqlScripts/V1.2/GMW_00432.sql @@ -0,0 +1,152 @@ +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 cella di destinazione e di aprtenza coincidono NON FACCIO NULLA... altrimenti procedo + IF (@IdxCellaTo <> @IdxCellaFrom) + BEGIN + + -- 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 + + END -- cellaFrom e cellaTo non coincidono... + +COMMIT TRAN + +RETURN +go + +commit; +go + + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/*************************************** +* function componiUdc +* +* compone il cod UDC a partire da +* - "U" fisso +* - CodCS (codice company sito, 2 char) +* - Flusso (codice flusso-bilancia 2 char) +* - @Anno (anno, 2 char) +* - @numUdc (progr annuale, 2 char) +* +* Steamware, S.E.L. +* mod: 2010.09.23 +* +****************************************/ +alter FUNCTION componiUdc +( + @CodCS NVARCHAR(2), + @Flusso NVARCHAR(2), + @Anno NVARCHAR(2), + @numUdc INT +) +RETURNS NVARCHAR(13) +AS + BEGIN + + DECLARE @answ AS NVARCHAR(50) + + SET @answ = 'U' + @CodCS + @Flusso + @Anno + dbo.f_padLeft(CAST(@numUdc AS VARCHAR(6)), 6, '0') + + RETURN @answ + END +go + +commit; +go + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(432, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.2/GMW_00435.sql b/GMW_data/SqlScripts/V1.2/GMW_00435.sql new file mode 100644 index 00000000..d7a17add --- /dev/null +++ b/GMW_data/SqlScripts/V1.2/GMW_00435.sql @@ -0,0 +1,199 @@ +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 gli UDC parent di quello passato ( x max 10 ) per poi stamparlo nel campo + -- NoteTratt che era utilizzato per stampare i trattamenti nel artellino F10 + DECLARE @tmp NVARCHAR(500) + DECLARE @NoteTratt NVARCHAR(500) -- usato per memorizzare gli UDC F10 parent associati + SET @tmp = '' + SELECT TOP 10 @tmp = @tmp + RTRIM(UDC_PARENT) + ' - ' 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'') 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 + ,ISNULL(RilPro.AnagParticolari.CodFamiglia, N'') AS CodFamiglia + ,ISNULL(RilPro.AnagFamiglie.DescFamiglia, N'') AS 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_ParticolariOverview +* +* elenco di overview sullo stato dei magazzini (dettaglio a "maglie larghe") +* +* Steamware, S.E.L. +* mod: 2012.05.18 +* +****************************************/ +alter PROCEDURE stp_magazzinoOverview +( + @CodCS VARCHAR(2), + @particolare NVARCHAR(15) = '' +) +AS + +-- IN PRIMIS: controllo se particolare sia null metto ''... +SET @particolare = ( SELECT ISNULL(@particolare, '') ) + +-- controllo se particolare vuoto o '*' mostro tutto... +IF(@particolare = '' OR @particolare='*') + BEGIN + SELECT AnagMag.CodCS, AnagMag.CodMag, AnagMag.DescMag, Blocchi.IdxBlocco, Blocchi.CodBlocco, Blocchi.DescBlocco, + TipoCella.Capienza * Blocchi.NumX * Blocchi.NumY * Blocchi.NumZ AS TotCelle, + TipoCella.Capienza * COUNT(DISTINCT Celle.IdxCella) AS CelleAttive, + COUNT(PosizioneUdcCorrente.UDC) AS CelleOccupate, + TipoCella.Capienza * COUNT(DISTINCT Celle.IdxCella) - COUNT(PosizioneUdcCorrente.UDC) AS CelleLibere, + ISNULL(MIN(PosizioneUdcCorrente.DataRif), GETDATE()) AS Oldest, ISNULL(MAX(PosizioneUdcCorrente.DataRif), GETDATE()) AS Newest + FROM TipoCella INNER JOIN + AnagMag INNER JOIN + Blocchi ON AnagMag.CodMag = Blocchi.CodMag AND AnagMag.CodCS = Blocchi.CodCS ON TipoCella.CodMag = AnagMag.CodMag AND + TipoCella.CodCS = AnagMag.CodCS LEFT OUTER JOIN + Celle ON TipoCella.IdxTipoCella = Celle.IdxTipoCella AND Blocchi.IdxBlocco = Celle.IdxBlocco LEFT OUTER JOIN + PosizioneUdcCorrente ON Celle.IdxCella = PosizioneUdcCorrente.IdxCella + WHERE (Celle.Attiva = 1) AND (AnagMag.CodCS = @CodCS) AND (ISNULL(AnagMag.Nascosto, 0) = 0) + GROUP BY AnagMag.CodCS, AnagMag.CodMag, AnagMag.DescMag, Blocchi.IdxBlocco, Blocchi.CodBlocco, Blocchi.DescBlocco, + Blocchi.NumX, Blocchi.NumY, Blocchi.NumZ, + TipoCella.Capienza + ORDER BY AnagMag.CodMag, Blocchi.CodBlocco + END +ELSE + BEGIN + SELECT AnagMag.CodCS, AnagMag.CodMag, AnagMag.DescMag, Blocchi.IdxBlocco, Blocchi.CodBlocco, Blocchi.DescBlocco, + TipoCella.Capienza * Blocchi.NumX * Blocchi.NumY * Blocchi.NumZ AS TotCelle, + TipoCella.Capienza * COUNT(DISTINCT Celle.IdxCella) AS CelleAttive, + COUNT(PosizioneUdcCorrente.UDC) AS CelleOccupate, + TipoCella.Capienza * COUNT(DISTINCT Celle.IdxCella) - COUNT(PosizioneUdcCorrente.UDC) AS CelleLibere, + ISNULL(MIN(PosizioneUdcCorrente.DataRif), GETDATE()) AS Oldest, ISNULL(MAX(PosizioneUdcCorrente.DataRif), GETDATE()) AS Newest + FROM TipoCella INNER JOIN + AnagMag INNER JOIN + Blocchi ON AnagMag.CodMag = Blocchi.CodMag AND AnagMag.CodCS = Blocchi.CodCS ON TipoCella.CodMag = AnagMag.CodMag AND + TipoCella.CodCS = AnagMag.CodCS LEFT OUTER JOIN + Celle ON TipoCella.IdxTipoCella = Celle.IdxTipoCella AND Blocchi.IdxBlocco = Celle.IdxBlocco LEFT OUTER JOIN + PosizioneUdcCorrente ON Celle.IdxCella = PosizioneUdcCorrente.IdxCella + INNER JOIN ElencoCartellini ec ON PosizioneUdcCorrente.UDC = ec.UDC + WHERE (Celle.Attiva = 1) AND (AnagMag.CodCS = @CodCS) AND (ISNULL(AnagMag.Nascosto, 0) = 0) AND ec.particolare = @particolare + GROUP BY AnagMag.CodCS, AnagMag.CodMag, AnagMag.DescMag, Blocchi.IdxBlocco, Blocchi.CodBlocco, Blocchi.DescBlocco, + Blocchi.NumX, Blocchi.NumY, Blocchi.NumZ, + TipoCella.Capienza + ORDER BY AnagMag.CodMag, Blocchi.CodBlocco + END + +RETURN +go + +commit; +go + + +set xact_abort on; +go + +begin transaction; +go + +drop procedure stp_annullaUDC; +go + +drop procedure stp_UDC_insNew; +go + +commit; +go + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(435, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.2/GMW_00436-SP-Data.sql b/GMW_data/SqlScripts/V1.2/GMW_00436-SP-Data.sql new file mode 100644 index 00000000..cf1f862b --- /dev/null +++ b/GMW_data/SqlScripts/V1.2/GMW_00436-SP-Data.sql @@ -0,0 +1,4 @@ +-- update x zero del blocco... +update TabTranPosizEventi +set IdxBloccoTo=0 +where (ISNULL(IdxBloccoTo,9999) = 9999) \ No newline at end of file diff --git a/GMW_data/SqlScripts/V1.2/GMW_00436-SP.sql b/GMW_data/SqlScripts/V1.2/GMW_00436-SP.sql new file mode 100644 index 00000000..679ab043 --- /dev/null +++ b/GMW_data/SqlScripts/V1.2/GMW_00436-SP.sql @@ -0,0 +1,61 @@ + + +set xact_abort on +go + +begin transaction +go + +alter table TabTranPosizEventi drop + constraint DF_TabTranPosizEventi_toAs400 , + constraint FK_TabTranPosizEventi_AnagPosizioni , + constraint FK_TabTranPosizEventi_AnagTipoEvento +go + +exec sp_rename 'PK_TabTranPosizEventi', 'tmp__PK_TabTranPosizEventi', 'OBJECT' +go + +exec sp_rename 'TabTranPosizEventi', 'tmp__TabTranPosizEventi_0', 'OBJECT' +go + +create table TabTranPosizEventi( + CodEvento nvarchar(10) not null, + IdxPosizione int not null, + IdxPosizioneTo int, + IdxBloccoTo int, + toAs400 bit constraint DF_TabTranPosizEventi_toAs400 default (1), + + constraint PK_TabTranPosizEventi_1 primary key(CodEvento,IdxPosizione) +) +go + +alter table TabTranPosizEventi add + constraint FK_TabTranPosizEventi_AnagTipoEvento foreign key(CodEvento) references AnagTipoEvento(CodEvento) on update cascade, + constraint FK_TabTranPosizEventi_AnagPosizioni foreign key(IdxPosizione) references AnagPosizioni(IdxPosizione) on update cascade +go + +exec sp_addextendedproperty 'MS_Description', 'NON MODIFICARE: nel codice si usano questi campi x chiamate...', 'SCHEMA', 'dbo', 'TABLE', 'TabTranPosizEventi', 'COLUMN', 'CodEvento' +go + +exec sp_addextendedproperty 'MS_Description', 'posizione (stato) logica di partenza', 'SCHEMA', 'dbo', 'TABLE', 'TabTranPosizEventi', 'COLUMN', 'IdxPosizione' +go + +exec sp_addextendedproperty 'MS_Description', 'posizione (stato) logica di arrivo', 'SCHEMA', 'dbo', 'TABLE', 'TabTranPosizEventi', 'COLUMN', 'IdxPosizioneTo' +go + +exec sp_addextendedproperty 'MS_Description', 'blocco di destinazione', 'SCHEMA', 'dbo', 'TABLE', 'TabTranPosizEventi', 'COLUMN', 'IdxBloccoTo' +go + +insert into TabTranPosizEventi(CodEvento,IdxPosizione,IdxPosizioneTo,toAs400) select CodEvento,IdxPosizione,IdxPosizioneTo,toAs400 from tmp__TabTranPosizEventi_0 +go + +drop table tmp__TabTranPosizEventi_0 +go + +commit +go + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(436, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.2/GMW_00436-TK-Data.sql b/GMW_data/SqlScripts/V1.2/GMW_00436-TK-Data.sql new file mode 100644 index 00000000..0625c7b8 --- /dev/null +++ b/GMW_data/SqlScripts/V1.2/GMW_00436-TK-Data.sql @@ -0,0 +1,175 @@ + +/* + INSERISCO RECORD PER GESTIONE DEL MAGAZZINO DI APPOGGIO ANIME ESTERNE +*/ + + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.AnagPosizioni + VALUES (-2222, N'TK - Anime EXT consumate', 0) +INSERT INTO dbo.AnagPosizioni + VALUES (2222, N'TK - Anime EXT', 0) +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.AnagMag + VALUES (N'2222', N'TK', N'Anime EXT TK', 1) +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +set identity_insert dbo.Blocchi on +go + +INSERT INTO dbo.Blocchi + (IdxBlocco, CodMag, CodCS, CodBlocco, DescBlocco, NumX, NumY, NumZ) + VALUES (64, N'2222', N'TK', N'AE', N'Descrizione n.d.', 1, 1, 1) +go + +set identity_insert dbo.Blocchi off +go + +commit transaction +go + + + +set xact_abort on +go + +begin transaction +go + +set identity_insert dbo.TipoCella on +go + +INSERT INTO dbo.TipoCella + (IdxTipoCella, CodMag, CodCS, Quantita, Capienza, Max_X, Max_Y, Max_Z, Max_Kg, CheckPiena, SetMag) + VALUES (28, N'2222', N'TK', 1, 100, 850, 900, 1300, 1000, 0, 1) +go + +set identity_insert dbo.TipoCella off +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +set identity_insert dbo.Celle on +go + +INSERT INTO dbo.Celle + (IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z) + VALUES (6201, N'TK', N'AE010101', 28, N'-', 1, 0, 64, 1, 1, 1) +go + +set identity_insert dbo.Celle off +go + +commit transaction +go + + +/* + INSERISCO I RECORD PER GESTIONE NUOVA IdxBloccoTo sulle transazioni in modo da gestire il magazzino ( Blocco ) a cui inviare + gli UDC quando li creo ( slegare IdxPosizione e locazione di invio ) +*/ + +set xact_abort on +go + +begin transaction +go + +UPDATE dbo.TabTranPosizEventi SET + IdxBloccoTo=0 + WHERE CodEvento=N'DelibFusi' and IdxPosizione=7 +UPDATE dbo.TabTranPosizEventi SET + IdxBloccoTo=0 + WHERE CodEvento=N'DelWipPost' and IdxPosizione=305 +UPDATE dbo.TabTranPosizEventi SET + IdxBloccoTo=0 + WHERE CodEvento=N'DelWipPre' and IdxPosizione=290 +UPDATE dbo.TabTranPosizEventi SET + IdxBloccoTo=0 + WHERE CodEvento=N'MagPreAnim' and IdxPosizione=-2 +UPDATE dbo.TabTranPosizEventi SET + IdxBloccoTo=0 + WHERE CodEvento=N'MagPreAnim' and IdxPosizione=2 +UPDATE dbo.TabTranPosizEventi SET + IdxBloccoTo=0 + WHERE CodEvento=N'MagPreFin' and IdxPosizione=24 +UPDATE dbo.TabTranPosizEventi SET + IdxBloccoTo=0 + WHERE CodEvento=N'MagPreFus' and IdxPosizione=7 +UPDATE dbo.TabTranPosizEventi SET + IdxBloccoTo=0 + WHERE CodEvento=N'MagPreFus' and IdxPosizione=84 +UPDATE dbo.TabTranPosizEventi SET + IdxBloccoTo=0 + WHERE CodEvento=N'MagPreGbox' and IdxPosizione=24 +UPDATE dbo.TabTranPosizEventi SET + IdxBloccoTo=0 + WHERE CodEvento=N'MagPreWip' and IdxPosizione=84 +UPDATE dbo.TabTranPosizEventi SET + IdxBloccoTo=0 + WHERE CodEvento=N'SpeWipTerz' and IdxPosizione=290 +UPDATE dbo.TabTranPosizEventi SET + IdxBloccoTo=0 + WHERE CodEvento=N'SpeWipTerz' and IdxPosizione=295 +INSERT INTO dbo.TabTranPosizEventi + VALUES (N'UDC_ANIMA', 2, 2222, 0, 0) +INSERT INTO dbo.TabTranPosizEventi + VALUES (N'UDC_ANIMA', 2222, 2, 49, 0) +UPDATE dbo.TabTranPosizEventi SET + IdxBloccoTo=0 + WHERE CodEvento=N'UDC_CONS' and IdxPosizione=2 +UPDATE dbo.TabTranPosizEventi SET + IdxBloccoTo=0 + WHERE CodEvento=N'UDC_CONS' and IdxPosizione=6 +UPDATE dbo.TabTranPosizEventi SET + IdxBloccoTo=0 + WHERE CodEvento=N'UDC_CONS' and IdxPosizione=24 +UPDATE dbo.TabTranPosizEventi SET + IdxBloccoTo=0 + WHERE CodEvento=N'UDC_CONS' and IdxPosizione=84 +UPDATE dbo.TabTranPosizEventi SET + IdxBloccoTo=0 + WHERE CodEvento=N'UDC_RIEN54' and IdxPosizione=88 +UPDATE dbo.TabTranPosizEventi SET + IdxBloccoTo=0 + WHERE CodEvento=N'UDC_RIEN84' and IdxPosizione=88 +go + +commit transaction +go + diff --git a/GMW_data/SqlScripts/V1.2/GMW_00436-TK.sql b/GMW_data/SqlScripts/V1.2/GMW_00436-TK.sql new file mode 100644 index 00000000..3935aa1a --- /dev/null +++ b/GMW_data/SqlScripts/V1.2/GMW_00436-TK.sql @@ -0,0 +1,62 @@ + + +set xact_abort on +go + +begin transaction +go + +alter table TabTranPosizEventi drop + constraint DF_TabTranPosizEventi_toAs400 , + constraint FK_TabTranPosizEventi_AnagPosizioni , + constraint FK_TabTranPosizEventi_AnagTipoEvento +go + +exec sp_rename 'PK_TabTranPosizEventi', 'tmp__PK_TabTranPosizEventi', 'OBJECT' +go + +exec sp_rename 'TabTranPosizEventi', 'tmp__TabTranPosizEventi_0', 'OBJECT' +go + +create table TabTranPosizEventi( + CodEvento nvarchar(10) not null, + IdxPosizione int not null, + IdxPosizioneTo int, + IdxBloccoTo int, + toAs400 bit constraint DF_TabTranPosizEventi_toAs400 default (1), + + constraint PK_TabTranPosizEventi_1 primary key(CodEvento,IdxPosizione) +) +go + +alter table TabTranPosizEventi add + constraint FK_TabTranPosizEventi_AnagTipoEvento foreign key(CodEvento) references AnagTipoEvento(CodEvento) on update cascade, + constraint FK_TabTranPosizEventi_AnagPosizioni foreign key(IdxPosizione) references AnagPosizioni(IdxPosizione) on update cascade +go + +exec sp_addextendedproperty 'MS_Description', 'NON MODIFICARE: nel codice si usano questi campi x chiamate...', 'SCHEMA', 'dbo', 'TABLE', 'TabTranPosizEventi', 'COLUMN', 'CodEvento' +go + +exec sp_addextendedproperty 'MS_Description', 'posizione (stato) logica di partenza', 'SCHEMA', 'dbo', 'TABLE', 'TabTranPosizEventi', 'COLUMN', 'IdxPosizione' +go + +exec sp_addextendedproperty 'MS_Description', 'posizione (stato) logica di arrivo', 'SCHEMA', 'dbo', 'TABLE', 'TabTranPosizEventi', 'COLUMN', 'IdxPosizioneTo' +go + +exec sp_addextendedproperty 'MS_Description', 'blocco di destinazione', 'SCHEMA', 'dbo', 'TABLE', 'TabTranPosizEventi', 'COLUMN', 'IdxBloccoTo' +go + +insert into TabTranPosizEventi(CodEvento,IdxPosizione,IdxPosizioneTo,toAs400) select CodEvento,IdxPosizione,IdxPosizioneTo,toAs400 from tmp__TabTranPosizEventi_0 +go + +drop table tmp__TabTranPosizEventi_0 +go + +commit +go + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(436, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.2/GMW_00437-SP.sql b/GMW_data/SqlScripts/V1.2/GMW_00437-SP.sql new file mode 100644 index 00000000..6400a298 --- /dev/null +++ b/GMW_data/SqlScripts/V1.2/GMW_00437-SP.sql @@ -0,0 +1,340 @@ +-- stati prodotto... +alter table AnagStatiProdotto add + CodGruppo nvarchar(50) +go + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.AnagStatiProdotto + VALUES (N'Anim', N'Anima (interna)', N'Finito') +INSERT INTO dbo.AnagStatiProdotto + VALUES (N'AnimExt', N'Anima (esterna)', N'Finito') +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +UPDATE dbo.AnagStatiProdotto SET + CodGruppo=N'Wip' + WHERE CodStato=N'DaSmat' +UPDATE dbo.AnagStatiProdotto SET + CodGruppo=N'Wip' + WHERE CodStato=N'DaTran' +UPDATE dbo.AnagStatiProdotto SET + CodGruppo=N'Finito' + WHERE CodStato=N'Fin' +UPDATE dbo.AnagStatiProdotto SET + CodGruppo=N'Mp' + WHERE CodStato=N'MP' +UPDATE dbo.AnagStatiProdotto SET + CodGruppo=N'Mp' + WHERE CodStato=N'MP-NA' +UPDATE dbo.AnagStatiProdotto SET + CodGruppo=N'Wip' + WHERE CodStato=N'Sabb' +UPDATE dbo.AnagStatiProdotto SET + CodGruppo=N'Wip' + WHERE CodStato=N'Tran' +UPDATE dbo.AnagStatiProdotto SET + CodGruppo=N'Wip' + WHERE CodStato=N'Wip' +go + +commit transaction +go + + +-- relazioni UDC +set xact_abort on +go + +begin transaction +go + +alter table RelazUDC add + dataMod datetime constraint DF_RelazUDC_dataMod default (getdate()) +go + +commit +go + + +update RelazUDC +set dataMod ='2012-01-01' +where ISNULL(dataMod,'2012-01-01') = '2012-01-01' +GO + + + +-- blocchi +set xact_abort on +go + +begin transaction +go + +alter table Blocchi drop + constraint i_CodBlocco , + constraint FK_Blocchi_AnagMag +go + +exec sp_rename 'PK_Blocchi', 'tmp__PK_Blocchi', 'OBJECT' +go + +exec sp_rename 'Blocchi', 'tmp__Blocchi_1', 'OBJECT' +go + +create table Blocchi( + IdxBlocco int not null constraint PK_Blocchi primary key, + CodMag nvarchar(50), + CodCS nchar(2), + CodBlocco nvarchar(3) not null constraint i_CodBlocco unique, + DescBlocco nvarchar(50), + NumX int, + NumY int, + NumZ int +) +go + +alter table Blocchi add + constraint FK_Blocchi_AnagMag foreign key(CodMag,CodCS) references AnagMag(CodMag,CodCS) on update cascade +go + +exec sp_addextendedproperty 'MS_Description', 'numero elementi X (colonne)', 'SCHEMA', 'dbo', 'TABLE', 'Blocchi', 'COLUMN', 'NumX' +go + +exec sp_addextendedproperty 'MS_Description', 'numero elementi Y (livelli/ripiani)', 'SCHEMA', 'dbo', 'TABLE', 'Blocchi', 'COLUMN', 'NumY' +go + +exec sp_addextendedproperty 'MS_Description', 'numero elementi Z (profondita)', 'SCHEMA', 'dbo', 'TABLE', 'Blocchi', 'COLUMN', 'NumZ' +go + +insert into Blocchi(IdxBlocco,CodMag,CodCS,CodBlocco,DescBlocco,NumX,NumY,NumZ) select IdxBlocco,CodMag,CodCS,CodBlocco,DescBlocco,NumX,NumY,NumZ from tmp__Blocchi_1 +go + +drop table tmp__Blocchi_1 +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.AnagMag + VALUES (N'0', N'00', N'Non definito', 0) +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.Blocchi + VALUES (0, N'0', N'00', N'000', N'Non definito', 1, 1, 1) +go + +commit transaction +go + + +-- update transizioni... +alter table TabTranPosizEventi add + constraint FK_TabTranPosizEventi_Blocchi foreign key(IdxBloccoTo) references Blocchi(IdxBlocco) on update cascade +go + + +-- update celle... +set xact_abort on +go + +begin transaction +go + +alter table Celle drop + constraint FK_Celle_TipoCella +go + + +alter table Celle add + constraint FK_Celle_Blocchi foreign key(IdxBlocco) references Blocchi(IdxBlocco) on update cascade +go + +alter table Celle add + constraint FK_Celle_TipoCella foreign key(IdxTipoCella) references TipoCella(IdxTipoCella) +go + +commit +go + +-- update insert blocchi! +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_Blocchi_Insert +* +* crea nuovo record blocchi magazzino +* +* Steamware, S.E.L. +* mod: 2012.05.21 +* +****************************************/ +alter PROCEDURE stp_Blocchi_Insert +( + @CodMag NVARCHAR(50), + @CodCS NVARCHAR(2), + @CodBlocco NVARCHAR(3), + @DescBlocco NVARCHAR(50), + @NumX INT, + @NumY INT, + @NumZ INT +) +AS + +BEGIN TRAN + -- inizio calcolando il primo blocco libero x chiave (non è + autoincrement)... + DECLARE @idxBlocco INT + SET @idxBlocco = ( SELECT ISNULL(MAX(idxBlocco),0)+1 AS nextIdxBlocco FROM Blocchi ) + + INSERT INTO Blocchi (idxBlocco, CodMag, CodCS, CodBlocco, DescBlocco, NumX, NumY, NumZ) + VALUES (@idxBlocco, @CodMag, @CodCS, @CodBlocco, @DescBlocco, @NumX, @NumY, @NumZ) + + +COMMIT TRAN + + +RETURN +go + +commit +go + + +-- ============= AGGIUNTE ============= + +ALTER TABLE [dbo].[Soggetti2Utente] ADD CONSTRAINT [CK_CodSoggetto_Unique] UNIQUE NONCLUSTERED +( + [CodSoggetto] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +GO + + + +/****** Object: StoredProcedure [dbo].[stp_prtCartMatPrimaByUDC] Script Date: 05/22/2012 16:52:47 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + + + +-- ================================================================================================= +-- ================================================================================================= + + + + +/*************************************** +* STORED stp_prtCartMatPrimaByUDC +* +* ottiene il record del Cartellino Materia Prima dato l'UDC richiesto x la stampa +* +****************************************/ +ALTER PROCEDURE [dbo].[stp_prtCartMatPrimaByUDC] +( + @UDC VARCHAR(50) +) +AS +SELECT + RQ.nRapQual, + RQ.DataRapQual, + RQ.ProgUDC, + RQ.CodFor, + RQ.DestTerz, + ec.Particolare AS CodLega, + RQ.DataPrelFus, + RQ.TurnoPrelFus, + ec.Qta, + RQ.DestLega, + RQ.LegaScaric, + RQ.BenesQual, + ec.UDC, + Fo.DescFornitore, + Fo.DescFornitore2, + Le.CodLega AS CodLega2, + Le.DescLega, + Le.DescLega2, + ISNULL(ec.Note,'') AS Note +FROM ElencoCartellini ec +LEFT JOIN RilPro.RapQual AS RQ + ON ec.UDC = RQ.UDC +LEFT JOIN RilPro.AnagFornitori AS Fo + ON RQ.CodFor = Fo.CodFornitore +LEFT JOIN RilPro.AnagLeghe Le + ON RQ.CodLega = 'L' + Le.CodLega +WHERE ec.UDC = RTRIM(@UDC) -- 'UB31000000001' + +RETURN + + +GO + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(437, GETDATE()) +GO + + + +-- ==================================== + +INSERT [RilPro].[AnagOperatori] +VALUES ( 'O9900000000000004', 'MA' , '0000003' , '000020' , 'Fonderie Mario Mazzucconi','0000000210', 'Ambivere', 'Rottoli' , 'Giancarlo') + +INSERT dbo.Soggetti2Utente +VALUES ('O9900000000000004','Giancarlo','STEAMWAREWIN') + +INSERT [RilPro].[AnagOperatori] +VALUES ( 'O9900000000000005', 'MA' , '0000003' , '000020' , 'Fonderie Mario Mazzucconi','0000000210', 'Ambivere', 'Administrator' , 'Administrator') + +INSERT dbo.Soggetti2Utente +VALUES ('O9900000000000005','Administrator','STEAMWAREWIN') + + + + + + + + + + + diff --git a/GMW_data/SqlScripts/V1.2/GMW_00437-TK-01.sql b/GMW_data/SqlScripts/V1.2/GMW_00437-TK-01.sql new file mode 100644 index 00000000..3faff318 --- /dev/null +++ b/GMW_data/SqlScripts/V1.2/GMW_00437-TK-01.sql @@ -0,0 +1,80 @@ +-- stati prodotto... +alter table AnagStatiProdotto add + CodGruppo nvarchar(50) +go + + +-- relazioni UDC +set xact_abort on +go + +begin transaction +go + +alter table RelazUDC add + dataMod datetime constraint DF_RelazUDC_dataMod default (getdate()) +go + +commit +go + + +update RelazUDC +set dataMod ='2012-01-01' +where ISNULL(dataMod,'2012-01-01') = '2012-01-01' +GO + + + +-- blocchi +set xact_abort on +go + +begin transaction +go + +alter table Blocchi drop + constraint i_CodBlocco , + constraint FK_Blocchi_AnagMag +go + +exec sp_rename 'PK_Blocchi', 'tmp__PK_Blocchi', 'OBJECT' +go + +exec sp_rename 'Blocchi', 'tmp__Blocchi_1', 'OBJECT' +go + +create table Blocchi( + IdxBlocco int not null constraint PK_Blocchi primary key, + CodMag nvarchar(50), + CodCS nchar(2), + CodBlocco nvarchar(3) not null constraint i_CodBlocco unique, + DescBlocco nvarchar(50), + NumX int, + NumY int, + NumZ int +) +go + +alter table Blocchi add + constraint FK_Blocchi_AnagMag foreign key(CodMag,CodCS) references AnagMag(CodMag,CodCS) on update cascade +go + +exec sp_addextendedproperty 'MS_Description', 'numero elementi X (colonne)', 'SCHEMA', 'dbo', 'TABLE', 'Blocchi', 'COLUMN', 'NumX' +go + +exec sp_addextendedproperty 'MS_Description', 'numero elementi Y (livelli/ripiani)', 'SCHEMA', 'dbo', 'TABLE', 'Blocchi', 'COLUMN', 'NumY' +go + +exec sp_addextendedproperty 'MS_Description', 'numero elementi Z (profondita)', 'SCHEMA', 'dbo', 'TABLE', 'Blocchi', 'COLUMN', 'NumZ' +go + +insert into Blocchi(IdxBlocco,CodMag,CodCS,CodBlocco,DescBlocco,NumX,NumY,NumZ) select IdxBlocco,CodMag,CodCS,CodBlocco,DescBlocco,NumX,NumY,NumZ from tmp__Blocchi_1 +go + +drop table tmp__Blocchi_1 +go + +commit +go + diff --git a/GMW_data/SqlScripts/V1.2/GMW_00437-TK-02-DATA.sql b/GMW_data/SqlScripts/V1.2/GMW_00437-TK-02-DATA.sql new file mode 100644 index 00000000..cce6a9c4 --- /dev/null +++ b/GMW_data/SqlScripts/V1.2/GMW_00437-TK-02-DATA.sql @@ -0,0 +1,108 @@ +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.AnagStatiProdotto + VALUES (N'Anim', N'Anima (interna)', N'Finito') +INSERT INTO dbo.AnagStatiProdotto + VALUES (N'AnimExt', N'Anima (esterna)', N'Finito') +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +UPDATE dbo.AnagStatiProdotto SET + CodGruppo=N'Wip' + WHERE CodStato=N'DaSmat' +UPDATE dbo.AnagStatiProdotto SET + CodGruppo=N'Wip' + WHERE CodStato=N'DaTran' +UPDATE dbo.AnagStatiProdotto SET + CodGruppo=N'Finito' + WHERE CodStato=N'Fin' +UPDATE dbo.AnagStatiProdotto SET + CodGruppo=N'Mp' + WHERE CodStato=N'MP' +UPDATE dbo.AnagStatiProdotto SET + CodGruppo=N'Mp' + WHERE CodStato=N'MP-NA' +UPDATE dbo.AnagStatiProdotto SET + CodGruppo=N'Wip' + WHERE CodStato=N'Sabb' +UPDATE dbo.AnagStatiProdotto SET + CodGruppo=N'Wip' + WHERE CodStato=N'Tran' +UPDATE dbo.AnagStatiProdotto SET + CodGruppo=N'Wip' + WHERE CodStato=N'Wip' +go + +commit transaction +go + +-- metto Blocco 0 x references tabTranPosizEventi +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.AnagMag + VALUES (N'0', N'00', N'Non definito', 0) +go + +commit transaction +go + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.Blocchi + VALUES (0, N'0', N'00', N'000', N'Non definito', 1, 1, 1) +go + +commit transaction +go + +-- ====================================== + +INSERT INTO dbo.AnagTipoEvento +VALUES ( 'LDP_TerzAn' , 'LDP Anime a Terzista' ) + +INSERT INTO dbo.TabTranPosizEventi +VALUES ( 'LDP_TerzAn', 2 , -2, 0 , 'False' ) + +INSERT INTO dbo.TabTranPosizEventi +VALUES ( 'LDP_TerzAn', -2 , 2, 0 , 'False' ) + +INSERT INTO dbo.TipoListaPrelievo +VALUES ( '05-TerAn' ,'Lista Prelievo Anime Terzista' ,'LPA010101' , 'LDP_TerzAn' , 0 , 1 , 'A' ) + +-- ==================================== + +INSERT [RilPro].[AnagOperatori] +VALUES ( 'O9900000000000004', 'MA' , '0000003' , '000020' , 'Fonderie Mario Mazzucconi','0000000210', 'Ambivere', 'Rottoli' , 'Giancarlo') + +INSERT dbo.Soggetti2Utente +VALUES ('O9900000000000005','Administrator','STEAMWAREWIN') + +INSERT dbo.Soggetti2Utente +VALUES ('O9900000000000004','Giancarlo','STEAMWAREWIN') + +INSERT [RilPro].[AnagOperatori] +VALUES ( 'O9900000000000005', 'MA' , '0000003' , '000020' , 'Fonderie Mario Mazzucconi','0000000210', 'Ambivere', 'Administrator' , 'Administrator') + + + diff --git a/GMW_data/SqlScripts/V1.2/GMW_00437-TK-03-da fare dopo DATA.sql b/GMW_data/SqlScripts/V1.2/GMW_00437-TK-03-da fare dopo DATA.sql new file mode 100644 index 00000000..0a6ad83f --- /dev/null +++ b/GMW_data/SqlScripts/V1.2/GMW_00437-TK-03-da fare dopo DATA.sql @@ -0,0 +1,152 @@ + +-- update transizioni... +alter table TabTranPosizEventi add + constraint FK_TabTranPosizEventi_Blocchi foreign key(IdxBloccoTo) references Blocchi(IdxBlocco) on update cascade +go + + +-- update celle... +set xact_abort on +go + +begin transaction +go + +alter table Celle drop + constraint FK_Celle_TipoCella +go + + +alter table Celle add + constraint FK_Celle_Blocchi foreign key(IdxBlocco) references Blocchi(IdxBlocco) on update cascade +go + +alter table Celle add + constraint FK_Celle_TipoCella foreign key(IdxTipoCella) references TipoCella(IdxTipoCella) +go + +commit +go + +-- update insert blocchi! +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_Blocchi_Insert +* +* crea nuovo record blocchi magazzino +* +* Steamware, S.E.L. +* mod: 2012.05.21 +* +****************************************/ +alter PROCEDURE stp_Blocchi_Insert +( + @CodMag NVARCHAR(50), + @CodCS NVARCHAR(2), + @CodBlocco NVARCHAR(3), + @DescBlocco NVARCHAR(50), + @NumX INT, + @NumY INT, + @NumZ INT +) +AS + +BEGIN TRAN + -- inizio calcolando il primo blocco libero x chiave (non è + autoincrement)... + DECLARE @idxBlocco INT + SET @idxBlocco = ( SELECT ISNULL(MAX(idxBlocco),0)+1 AS nextIdxBlocco FROM Blocchi ) + + INSERT INTO Blocchi (idxBlocco, CodMag, CodCS, CodBlocco, DescBlocco, NumX, NumY, NumZ) + VALUES (@idxBlocco, @CodMag, @CodCS, @CodBlocco, @DescBlocco, @NumX, @NumY, @NumZ) + + +COMMIT TRAN + + +RETURN +go + +commit +go + +-- ============= AGGIUNTE ============= + +ALTER TABLE [dbo].[Soggetti2Utente] ADD CONSTRAINT [CK_CodSoggetto_Unique] UNIQUE NONCLUSTERED +( + [CodSoggetto] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +GO + + + +/****** Object: StoredProcedure [dbo].[stp_prtCartMatPrimaByUDC] Script Date: 05/22/2012 16:52:47 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + + + +-- ================================================================================================= +-- ================================================================================================= + + + + +/*************************************** +* STORED stp_prtCartMatPrimaByUDC +* +* ottiene il record del Cartellino Materia Prima dato l'UDC richiesto x la stampa +* +****************************************/ +ALTER PROCEDURE [dbo].[stp_prtCartMatPrimaByUDC] +( + @UDC VARCHAR(50) +) +AS +SELECT + RQ.nRapQual, + RQ.DataRapQual, + RQ.ProgUDC, + RQ.CodFor, + RQ.DestTerz, + ec.Particolare AS CodLega, + RQ.DataPrelFus, + RQ.TurnoPrelFus, + ec.Qta, + RQ.DestLega, + RQ.LegaScaric, + RQ.BenesQual, + ec.UDC, + Fo.DescFornitore, + Fo.DescFornitore2, + Le.CodLega AS CodLega2, + Le.DescLega, + Le.DescLega2, + ISNULL(ec.Note,'') AS Note +FROM ElencoCartellini ec +LEFT JOIN RilPro.RapQual AS RQ + ON ec.UDC = RQ.UDC +LEFT JOIN RilPro.AnagFornitori AS Fo + ON RQ.CodFor = Fo.CodFornitore +LEFT JOIN RilPro.AnagLeghe Le + ON RQ.CodLega = 'L' + Le.CodLega +WHERE ec.UDC = RTRIM(@UDC) -- 'UB31000000001' + +RETURN + + +GO + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(437, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.2/GMW_00437.sql b/GMW_data/SqlScripts/V1.2/GMW_00437.sql new file mode 100644 index 00000000..1f80a592 --- /dev/null +++ b/GMW_data/SqlScripts/V1.2/GMW_00437.sql @@ -0,0 +1,251 @@ +-- stati prodotto... +alter table AnagStatiProdotto add + CodGruppo nvarchar(50) +go + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.AnagStatiProdotto + VALUES (N'Anim', N'Anima (interna)', N'Finito') +INSERT INTO dbo.AnagStatiProdotto + VALUES (N'AnimExt', N'Anima (esterna)', N'Finito') +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +UPDATE dbo.AnagStatiProdotto SET + CodGruppo=N'Wip' + WHERE CodStato=N'DaSmat' +UPDATE dbo.AnagStatiProdotto SET + CodGruppo=N'Wip' + WHERE CodStato=N'DaTran' +UPDATE dbo.AnagStatiProdotto SET + CodGruppo=N'Finito' + WHERE CodStato=N'Fin' +UPDATE dbo.AnagStatiProdotto SET + CodGruppo=N'Mp' + WHERE CodStato=N'MP' +UPDATE dbo.AnagStatiProdotto SET + CodGruppo=N'Mp' + WHERE CodStato=N'MP-NA' +UPDATE dbo.AnagStatiProdotto SET + CodGruppo=N'Wip' + WHERE CodStato=N'Sabb' +UPDATE dbo.AnagStatiProdotto SET + CodGruppo=N'Wip' + WHERE CodStato=N'Tran' +UPDATE dbo.AnagStatiProdotto SET + CodGruppo=N'Wip' + WHERE CodStato=N'Wip' +go + +commit transaction +go + + +-- relazioni UDC +set xact_abort on +go + +begin transaction +go + +alter table RelazUDC add + dataMod datetime constraint DF_RelazUDC_dataMod default (getdate()) +go + +update RelazUDC set dataMod=getdate() +go + + +commit +go + + +update RelazUDC +set dataMod ='2012-01-01' +where ISNULL(dataMod,'2012-01-01') = '2012-01-01' +GO + + + +-- blocchi +set xact_abort on +go + +begin transaction +go + +alter table Blocchi drop + constraint i_CodBlocco , + constraint FK_Blocchi_AnagMag +go + +exec sp_rename 'PK_Blocchi', 'tmp__PK_Blocchi', 'OBJECT' +go + +exec sp_rename 'Blocchi', 'tmp__Blocchi_1', 'OBJECT' +go + +create table Blocchi( + IdxBlocco int not null constraint PK_Blocchi primary key, + CodMag nvarchar(50), + CodCS nchar(2), + CodBlocco nvarchar(3) not null constraint i_CodBlocco unique, + DescBlocco nvarchar(50), + NumX int, + NumY int, + NumZ int +) +go + +alter table Blocchi add + constraint FK_Blocchi_AnagMag foreign key(CodMag,CodCS) references AnagMag(CodMag,CodCS) on update cascade +go + +exec sp_addextendedproperty 'MS_Description', 'numero elementi X (colonne)', 'SCHEMA', 'dbo', 'TABLE', 'Blocchi', 'COLUMN', 'NumX' +go + +exec sp_addextendedproperty 'MS_Description', 'numero elementi Y (livelli/ripiani)', 'SCHEMA', 'dbo', 'TABLE', 'Blocchi', 'COLUMN', 'NumY' +go + +exec sp_addextendedproperty 'MS_Description', 'numero elementi Z (profondita)', 'SCHEMA', 'dbo', 'TABLE', 'Blocchi', 'COLUMN', 'NumZ' +go + +insert into Blocchi(IdxBlocco,CodMag,CodCS,CodBlocco,DescBlocco,NumX,NumY,NumZ) select IdxBlocco,CodMag,CodCS,CodBlocco,DescBlocco,NumX,NumY,NumZ from tmp__Blocchi_1 +go + +drop table tmp__Blocchi_1 +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.AnagMag + VALUES (N'0', N'00', N'Non definito', 0) +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.Blocchi + VALUES (0, N'0', N'00', N'000', N'Non definito', 1, 1, 1) +go + +commit transaction +go + + +-- update transizioni... +alter table TabTranPosizEventi add + constraint FK_TabTranPosizEventi_Blocchi foreign key(IdxBloccoTo) references Blocchi(IdxBlocco) on update cascade +go + + +-- update celle... +set xact_abort on +go + +begin transaction +go + +alter table Celle drop + constraint FK_Celle_TipoCella +go + + +alter table Celle add + constraint FK_Celle_Blocchi foreign key(IdxBlocco) references Blocchi(IdxBlocco) on update cascade +go + +alter table Celle add + constraint FK_Celle_TipoCella foreign key(IdxTipoCella) references TipoCella(IdxTipoCella) +go + +commit +go + +-- update insert blocchi! +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_Blocchi_Insert +* +* crea nuovo record blocchi magazzino +* +* Steamware, S.E.L. +* mod: 2012.05.21 +* +****************************************/ +alter PROCEDURE stp_Blocchi_Insert +( + @CodMag NVARCHAR(50), + @CodCS NVARCHAR(2), + @CodBlocco NVARCHAR(3), + @DescBlocco NVARCHAR(50), + @NumX INT, + @NumY INT, + @NumZ INT +) +AS + +BEGIN TRAN + -- inizio calcolando il primo blocco libero x chiave (non è + autoincrement)... + DECLARE @idxBlocco INT + SET @idxBlocco = ( SELECT ISNULL(MAX(idxBlocco),0)+1 AS nextIdxBlocco FROM Blocchi ) + + INSERT INTO Blocchi (idxBlocco, CodMag, CodCS, CodBlocco, DescBlocco, NumX, NumY, NumZ) + VALUES (@idxBlocco, @CodMag, @CodCS, @CodBlocco, @DescBlocco, @NumX, @NumY, @NumZ) + + +COMMIT TRAN + + +RETURN +go + +commit +go + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(437, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.2/GMW_00440.sql b/GMW_data/SqlScripts/V1.2/GMW_00440.sql new file mode 100644 index 00000000..47503848 --- /dev/null +++ b/GMW_data/SqlScripts/V1.2/GMW_00440.sql @@ -0,0 +1,105 @@ +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) + SET @IdxCellaFrom = ( SELECT ISNULL(@IdxCellaFrom,0)) -- contorllo x cella null... + -- controllo se cella di destinazione e di aprtenza coincidono NON FACCIO NULLA... altrimenti procedo + IF (@IdxCellaTo <> @IdxCellaFrom) + BEGIN + + -- 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 + + END -- cellaFrom e cellaTo non coincidono... + +COMMIT TRAN + +RETURN +go + +commit +go + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(440, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.2/GMW_410_TEKAL/01-Da TK_GMWTEst 395 a 409 TABELLE.sql b/GMW_data/SqlScripts/V1.2/GMW_410_TEKAL/01-Da TK_GMWTEst 395 a 409 TABELLE.sql new file mode 100644 index 00000000..032e9cf7 --- /dev/null +++ b/GMW_data/SqlScripts/V1.2/GMW_410_TEKAL/01-Da TK_GMWTEst 395 a 409 TABELLE.sql @@ -0,0 +1,2661 @@ + + +set xact_abort on; +go + +begin transaction; +go + +alter table ElencoCartellini add + Note nvarchar(500); + + +alter table StoricoCartellini add + Note nvarchar(500); + + +alter table RilPro.AnagParticolari add + ClassifArticolo nchar(1); +go + +Commit TRAN + + +begin transaction; +go + +set ANSI_NULLS on; +GO + +-- ============================================= +-- Author: Samuele E. Locatelli +-- Create date: 2009-10-27 +-- Description: trigger x inserimento valori in archivio storico alla cancellazione/modifica del dato +-- ============================================= +alter TRIGGER trg_storicoUDC + ON ElencoCartellini + AFTER DELETE,UPDATE +AS +BEGIN + -- SET NOCOUNT ON added to prevent extra result sets from + -- interfering with SELECT statements. + SET NOCOUNT ON; + + -- metto in storico la posizione attuale dell'UDC (SE esiste) CANCELLATO + INSERT INTO StoricoCartellini(DataEv, UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, DisegnoGrezzo, Esponente, CodImpianto, + DescImpianto, CodStampo, Figura, DataFus, TurnoFus, CodImballo, CodSoggetto, NumCont, Tara, Qta, CodStato, IdxPosizione, PesoTot, PesoCad, Note) + ( + + SELECT GETDATE(), UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, DisegnoGrezzo, Esponente, CodImpianto, DescImpianto, + CodStampo, Figura, DataFus, TurnoFus, CodImballo, CodSoggetto, NumCont, Tara, Qta, CodStato, IdxPosizione, PesoTot, PesoCad, Note + FROM deleted + ) + +END +go + +/*************************************** +* STORED stp_UDC_insNew +* +* crea un nuovo record nella TabStatoOdpUdc e restituisce il codice UDC appena creato +* +* Steamware, S.E.L. +* mod: 2010.04.28 +* +****************************************/ +alter PROCEDURE stp_UDC_insNew +( + @CodCS VARCHAR(2), + @Flusso VARCHAR(2), + @Anno VARCHAR(2), + @Tara FLOAT, + @CodImballo AS VARCHAR(50), + @CodTipoDichiaraz CHAR(1), + @CodSoggetto VARCHAR(17) +) +AS + +-- DECLARE iniziali +DECLARE @UDC AS VARCHAR(50) +DECLARE @numFlu AS INT +DECLARE @numUdc AS INT +DECLARE @nextUdc AS INT + +------------------------------------------------------------------------------------------------------ +-- Flusso +------------------------------------------------------------------------------------------------------ +-- controllo se esiste il flusso (bilancia)... +SET @numFlu = ( + SELECT count(*) + FROM AnagBilance + WHERE CodBilancia = @Flusso +) +-- ...sennò lo creo... +IF(@numFlu = 0) + BEGIN + -- se c'è inserisco in tab + INSERT INTO AnagBilance(CodBilancia, DescrImpianto, CodCS) + VALUES (@Flusso, @Flusso, @CodCS) + END +------------------------------------------------------------------------------------------------------ + + +------------------------------------------------------------------------------------------------------ +-- UDC +------------------------------------------------------------------------------------------------------ +-- controllo se ci sia già un UDC per company / flusso anno +BEGIN TRAN + -- cerco nella tab contatori UDC l'ultimo valido + SET @numUdc = ( + SELECT count(*) + FROM ContatoriUdc + WHERE CodCS = @CodCS + AND Flusso = @Flusso + AND Anno = @Anno + ) + -- controllo se record c'è... + IF(@numUdc > 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 @numUdc = ( + SELECT LastIdx + FROM ContatoriUdc + WHERE CodCS = @CodCS + AND Flusso = @Flusso + AND Anno = @Anno + ) +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- Ciclo principale x inserimento nuovo record +------------------------------------------------------------------------------------------------------ +-- ottengo il nuovo codice UDC completo +--SET @UDC = 'U' + @CodCS + @Flusso + @Anno + dbo.f_padLeft(CAST(@numUdc AS VARCHAR(6)), 6, '0') +SET @UDC = dbo.componiUdc(@CodCS, @Flusso, @Anno, @numUdc) + +-- inserisco un nuovo record +INSERT INTO ElencoCartellini(CodCS, UDC, Tara, IdxPosizione, Qta, CodImballo, CodSoggetto, CreateDate, ModDate) +VALUES (@CodCS, @UDC, @Tara, 0, 0, @CodImballo, @CodSoggetto, GETDATE(), GETDATE()) +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- restituisco la tab dati con l'udc appena inserito +------------------------------------------------------------------------------------------------------ +SELECT * +FROM ElencoCartellini +WHERE UDC = @UDC +------------------------------------------------------------------------------------------------------ + +RETURN +go + +/*************************************** +* STORED stp_UDC_insNewFull +* +* crea un nuovo record nella TabStatoOdpUdc FULL (con pesi, qta...) e restituisce il codice UDC appena creato +* +* Steamware, S.E.L. +* mod: 2010.04.28 +* +****************************************/ +alter PROCEDURE stp_UDC_insNewFull +( + @CodCS VARCHAR(2), + @Flusso VARCHAR(2), + @Anno VARCHAR(2), + @CodCliente VARCHAR(6), + @Particolare VARCHAR(15), + @CodImpianto AS VARCHAR(50), + @CodStampo VARCHAR(8), + @Esponente VARCHAR(6), + @Figura VARCHAR(4), + @DataFus DATETIME, + @TurnoFus INT, + @CodImballo VARCHAR(15), + @CodSoggetto VARCHAR(17), + @Tara FLOAT, + @IdxPosizione INT, + @CodTipoDichiaraz CHAR(1), + @CodEvento VARCHAR(10), + @Qta DECIMAL(10,2), + @PesoTot FLOAT, + @PesoCad FLOAT, + @CodStato VARCHAR(50), + @UDC_parent VARCHAR(50), + @DoDeleteUdcParent BIT, + @Note NVARCHAR(500) +) +AS + +-- DECLARE iniziali +DECLARE @UDC AS VARCHAR(50) +DECLARE @RagSociale AS VARCHAR(35) +DECLARE @DescParticolare AS VARCHAR(30) +DECLARE @DescImpianto AS VARCHAR(50) +DECLARE @DisegnoGrezzo AS VARCHAR(30) +DECLARE @NumCont AS INT +DECLARE @numFlu AS INT +DECLARE @numUdc AS INT +DECLARE @nextUdc AS INT +DECLARE @IdxCella AS INT + +------------------------------------------------------------------------------------------------------ +-- Caricamento Dati da anagrafica +------------------------------------------------------------------------------------------------------ +-- cerco la ragione sociale... +SET @RagSociale = ( + SELECT ISNULL(RagSociale, 'ND') AS RagSociale + FROM RilPro.AnagClienti + WHERE (CodCliente = @CodCliente) +) + +-- Cerco descrizione del particolare... +SET @DescParticolare = ( + SELECT ISNULL(DescParticolare, 'ND') AS DescParticolare + FROM RilPro.AnagParticolari + WHERE (Particolare = @Particolare) +) + +-- cerco codice disegno grezzo +SET @DisegnoGrezzo = ( + SELECT ISNULL(DisegnoGrezzo, 'ND') AS DescParticolare + FROM RilPro.AnagParticolari + WHERE (Particolare = @Particolare) +) + +-- cerco descrizione Impianto +SET @DescImpianto = ( + SELECT ISNULL(DescImpianto, 'ND') AS DescImpianto + FROM AnagImpianti + WHERE (CodImpianto = @CodImpianto) +) + + + +-- Calcolo contatore intero successivo x il contenitore... +SET @NumCont = ( + SELECT ISNULL(MAX(NumCont), 0) + 1 AS NumCont + FROM ElencoCartellini + WHERE (Particolare = @Particolare) + AND (DataFus = @DataFus) + AND (TurnoFus = @TurnoFus) + AND (CodImpianto = @CodImpianto) + AND (CodStampo = @CodStampo) + AND (Figura = @Figura) +) + + +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- Flusso +------------------------------------------------------------------------------------------------------ +-- controllo se esiste il flusso (bilancia)... +SET @numFlu = ( + SELECT count(*) + FROM AnagBilance + WHERE CodBilancia = @Flusso +) +-- ...sennò lo creo... +IF(@numFlu = 0) + BEGIN + -- se c'è inserisco in tab + INSERT INTO AnagBilance(CodBilancia, DescrImpianto, CodCS) + VALUES (@Flusso, @Flusso, @CodCS) + END +------------------------------------------------------------------------------------------------------ + + +------------------------------------------------------------------------------------------------------ +-- UDC +------------------------------------------------------------------------------------------------------ +-- controllo se ci sia già un UDC per company / flusso anno +BEGIN TRAN + -- cerco nella tab contatori UDC l'ultimo valido + SET @numUdc = ( + SELECT count(*) + FROM ContatoriUdc + WHERE CodCS = @CodCS + AND Flusso = @Flusso + AND Anno = @Anno + ) + -- controllo se record c'è... + IF(@numUdc > 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 @numUdc = ( + SELECT LastIdx + FROM ContatoriUdc + WHERE CodCS = @CodCS + AND Flusso = @Flusso + AND Anno = @Anno + ) +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- Ciclo principale x inserimento nuovo record +------------------------------------------------------------------------------------------------------ +BEGIN TRAN + -- ottengo il nuovo codice UDC completo + --SET @UDC = 'U' + @CodCS + @Flusso + @Anno + dbo.f_padLeft(CAST(@numUdc AS VARCHAR(6)), 6, '0') + SET @UDC = dbo.componiUdc(@CodCS, @Flusso, @Anno, @numUdc) + + + -- inserisco un nuovo record + INSERT INTO ElencoCartellini(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, Note) + VALUES (@UDC, @CodCS, @CodCliente, @RagSociale, @Particolare, @DescParticolare, @DisegnoGrezzo, @Esponente, @CodImpianto, @DescImpianto, @CodStampo, @Figura, @DataFus, @TurnoFus, @CodImballo, @CodSoggetto, @NumCont, @Tara, @Qta, @CodStato, @IdxPosizione, @PesoTot, @PesoCad, GETDATE(), GETDATE(), @Note) + + -- inserisco relazione parent-child tra UDC vecchio (tara) e nuovo (pesa) SSE UDC_Parent valido + IF((NOT @UDC_parent IS NULL) AND (NOT @UDC_parent = '')) + BEGIN + INSERT INTO RelazUDC(UDC_parent, UDC_child) + VALUES (@UDC_parent, @UDC) + END +COMMIT TRAN + +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- Ciclo secondario x eventuale cancellazione UDC tara parent e inserimento in posizione +------------------------------------------------------------------------------------------------------ + -- se richiesto elimino l'UDC parent (tara) + IF(@DoDeleteUdcParent = 1) + BEGIN + DELETE FROM ElencoCartellini WHERE UDC = @UDC_parent + END + + -- calcolo la prima cella della posizione indicata.. + SET @IdxCella = ( + SELECT TOP 1 c.IdxCella + FROM Celle c INNER JOIN Blocchi b ON c.IdxBlocco=b.IdxBlocco + WHERE b.CodMag = CAST(@IdxPosizione AS NVARCHAR(50)) + ) + -- inserisco il cartellino nella prima cella della posizione indicata.. + INSERT INTO PosizioneUdcCorrente + VALUES (@UDC, @IdxCella, @CodCS, GETDATE()) +------------------------------------------------------------------------------------------------------ + +/* +------------------------------------------------------------------------------------------------------ +-- Salvataggio dati evento in tab StoricoEventi +------------------------------------------------------------------------------------------------------ +INSERT INTO StoricoEventi(DataEv, CodEvento, CodOperatore, CodTipoDichiaraz, CodCS, UDC, Qta, PesoTot, PesoCad, Particolare, CodStato, CodStampo, Figura, FiguraIncisa) +VALUES (GETDATE(), @CodEvento, @CodOperatore, @CodTipoDichiaraz, @CodCS, @UDC, @Qta, @PesoTot, @PesoCad, @Particolare, @CodStato, @CodStampo, @Figura, @FiguraIncisa) +------------------------------------------------------------------------------------------------------ +*/ + +------------------------------------------------------------------------------------------------------ +-- restituisco la tab dati con l'udc appena inserito +------------------------------------------------------------------------------------------------------ +SELECT * +FROM ElencoCartellini +WHERE UDC = @UDC +------------------------------------------------------------------------------------------------------ + +RETURN +go + +/*************************************** +* STORED stp_UDC_updateIdxPosizione +* +* aggiorna un cartellino x la sua posizione logica +* +* Steamware, S.E.L. +* mod: 2010.06.12 +* +****************************************/ +alter PROCEDURE stp_UDC_updateIdxPosizione +( + @UDC VARCHAR(50), + @IdxPosizione INT +) +AS + + +------------------------------------------------------------------------------------------------------ +-- Ciclo principale x edit record +------------------------------------------------------------------------------------------------------ +BEGIN TRAN + + -- modifico il record + UPDATE ElencoCartellini + SET IdxPosizione = @IdxPosizione, ModDate = GETDATE() + WHERE UDC = @UDC + +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- restituisco la tab dati con l'udc appena inserito +------------------------------------------------------------------------------------------------------ +SELECT * +FROM ElencoCartellini +WHERE UDC = @UDC +------------------------------------------------------------------------------------------------------ + +RETURN +go + +/*************************************** +* STORED stp_prtCartByUDC +* +* ottiene il record del Cartellino dato l'UDC richiesto x la stampa +* +* Steamware, S.E.L. +* mod: 2011.12.19 +* +****************************************/ +alter PROCEDURE stp_prtCartByUDC +( + @UDC VARCHAR(50) +) +AS + 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 + 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 + +/*************************************** +* STORED stp_prtCartMatPrimaByUDC +* +* ottiene il record del Cartellino Materia Prima dato l'UDC richiesto x la stampa +* +****************************************/ +alter PROCEDURE stp_prtCartMatPrimaByUDC +( + @UDC VARCHAR(50) +) +AS +SELECT + RQ.nRapQual, + RQ.DataRapQual, + RQ.ProgUDC, + RQ.CodFor, + RQ.DestTerz, + RQ.CodLega, + RQ.DataPrelFus, + RQ.TurnoPrelFus, + RQ.Qta, + RQ.DestLega, + RQ.LegaScaric, + RQ.BenesQual, + RQ.UDC, + Fo.DescFornitore, + Fo.DescFornitore2, + Le.CodLega AS CodLega2, + Le.DescLega, + Le.DescLega2, + ISNULL(ec.Note,'') AS Note +FROM RilPro.RapQual AS RQ +LEFT JOIN RilPro.AnagFornitori AS Fo + ON RQ.CodFor = Fo.CodFornitore +LEFT JOIN RilPro.AnagLeghe Le + ON RQ.CodLega = 'L' + Le.CodLega +LEFT JOIN ElencoCartellini ec + ON RQ.UDC = ec.UDC +WHERE RQ.UDC = RTRIM(@UDC) -- 'UB31000000001' + +RETURN +go + +/*************************************** +* STORED stp_prtCartAnimeByUDC +* +* ottiene il record del Cartellino ANIME dato l'UDC richiesto x la stampa +* +* Steamware, G.A.R. +* mod: 2012.02.27 +* +****************************************/ +create PROCEDURE stp_prtCartAnimeByUDC +( + @UDC NVARCHAR(50) +) +AS + + -- estraggo i trattamenti nelle note ( x max 10 trattamenti ) + -- NON SERVE PER I CARTELLINI ANIME + DECLARE @tmp NVARCHAR(500) + DECLARE @NoteTratt NVARCHAR(500) + SET @NoteTratt = '' + + 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 + +/***************************************** +* STORED stp_UDC_updateNoteByRQ +* +* Aggiorna note UDC dato il rapp di qualità cui sono legate +* +* Steamware, S.E.L. +* mod: 2012.02.14 +* +****************************************/ +create PROCEDURE stp_UDC_updateNoteByRQ +( + @nRapQual NUMERIC(6,0), + @note NVARCHAR(500) +) +AS + +UPDATE ElencoCartellini +SET note = @note +FROM ElencoCartellini AS ec INNER JOIN v_RapQualNote AS rq ON ec.UDC = rq.UDC +WHERE (rq.nRapQual = @nRapQual) + +RETURN +go + +create VIEW v_RapQualNote +AS +SELECT rq.nRapQual, rq.DataRapQual, rq.ProgUDC, rq.CodFor, rq.DestTerz, rq.CodLega, rq.DataPrelFus, rq.TurnoPrelFus, rq.Qta, rq.DestLega, rq.LegaScaric, rq.BenesQual, + rq.UDC, ISNULL(ec.Note, N'') AS Note +FROM dbo.ElencoCartellini AS ec INNER JOIN + RilPro.RapQual AS rq ON ec.UDC = rq.UDC +go + +exec sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "ec" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 336 + Right = 208 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "rq" + Begin Extent = + Top = 15 + Left = 364 + Bottom = 298 + Right = 534 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 40 + Width = 284 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1', 'SCHEMA', 'dbo', 'VIEW', 'v_RapQualNote'; +go + +exec sp_addextendedproperty 'MS_DiagramPane2', '170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', 'dbo', 'VIEW', 'v_RapQualNote'; +go + +exec sp_addextendedproperty 'MS_DiagramPaneCount', 2, 'SCHEMA', 'dbo', 'VIEW', 'v_RapQualNote'; +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 +* +****************************************/ +create 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 + +/*************************************** +* 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 +* +****************************************/ +create 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 + +-- Batch submitted through debugger: GMW_00401.sql|622|0|C:\Progetti\GMW\2011-12-14 vers test 401\Vers 401\GMW_00401.sql + +alter PROCEDURE stp_getUDC_UnusedOlder +( + @CodLista VARCHAR(12) +) +AS + + -- variabili locali che mi servono + DECLARE @Figura AS VARCHAR(4) + DECLARE @Esponente AS VARCHAR(6) + DECLARE @CodImballo AS VARCHAR(15) + DECLARE @Particolare AS VARCHAR (50) + DECLARE @CodTipoLista AS VARCHAR (10) + --DECLARE @IdxPosizione AS INT + SET @Figura = (SELECT Figura FROM ElencoListePrelievo WHERE CodLista = @CodLista) + SET @Esponente = (SELECT Esponente FROM ElencoListePrelievo WHERE CodLista = @CodLista) + SET @CodImballo = (SELECT CodImballo FROM ElencoListePrelievo WHERE CodLista = @CodLista) + SET @Particolare = (SELECT Particolare FROM ElencoListePrelievo WHERE CodLista = @CodLista) + SET @CodTipoLista = (SELECT CodTipoLista FROM ElencoListePrelievo WHERE CodLista = @CodLista) + /* + SET @IdxPosizione = (SELECT tt.IdxPosizione + FROM TipoListaPrelievo tlp INNER JOIN TabTranPosizEventi tt ON tlp.CodEvento = tt.CodEvento + WHERE (tlp.CodTipoLista = @CodTipoLista)) + */ + + -- effettuo la selezione + SELECT * + FROM ElencoCartellini + WHERE (Particolare = @Particolare) AND (IdxPosizione IN (SELECT tt.IdxPosizione + FROM TipoListaPrelievo tlp INNER JOIN TabTranPosizEventi tt ON tlp.CodEvento = tt.CodEvento + WHERE (tlp.CodTipoLista = @CodTipoLista))) AND + (Figura = CASE WHEN @Figura = '*' THEN Figura ELSE @Figura END) AND + (Esponente = CASE WHEN @Esponente = '*' THEN Esponente ELSE @Esponente END) AND + (CodImballo = CASE WHEN @CodImballo = '*' THEN CodImballo ELSE @CodImballo END) + AND UDC NOT IN ( + SELECT DISTINCT UDC + FROM RigheListePrelievo INNER JOIN ElencoListePrelievo + ON RigheListePrelievo.CodLista = ElencoListePrelievo.CodLista + WHERE (ElencoListePrelievo.CodLista = @CodLista) + OR (ElencoListePrelievo.CodLista <> @CodLista AND CodStatoLista > 1 AND Prelevato = 1) + ) + ORDER BY ElencoCartellini.DataFus + +RETURN +go + +/*************************************** +* STORED stp_UDC_insNewFull_fixUDC +* +* crea un nuovo record nella TabStatoOdpUdc FULL (con pesi, qta...) avendo in entrata il codice UDC da utilizzare +* +* Steamware, S.E.L. +* mod: 2011.12.07 +* +****************************************/ +create PROCEDURE stp_UDC_insNewFull_fixUDC +( + @UDC AS NVARCHAR(50), + @CodCS VARCHAR(2), + @Flusso VARCHAR(2), + @Anno VARCHAR(2), + @CodCliente VARCHAR(6), + @Particolare VARCHAR(15), + @CodImpianto AS VARCHAR(50), + @CodStampo VARCHAR(8), + @Esponente VARCHAR(6), + @Figura VARCHAR(4), + @DataFus DATETIME, + @TurnoFus INT, + @CodImballo VARCHAR(15), + @CodSoggetto VARCHAR(17), + @Tara FLOAT, + @IdxPosizione INT, + @CodTipoDichiaraz CHAR(1), + @CodEvento VARCHAR(10), + @Qta DECIMAL(10,2), + @PesoTot FLOAT, + @PesoCad FLOAT, + @CodStato VARCHAR(50), + @UDC_parent VARCHAR(50), + @DoDeleteUdcParent BIT, + @Note NVARCHAR(500) +) +AS + +-- DECLARE iniziali +DECLARE @RagSociale AS VARCHAR(35) +DECLARE @DescParticolare AS VARCHAR(30) +DECLARE @DescImpianto AS VARCHAR(50) +DECLARE @DisegnoGrezzo AS VARCHAR(30) +DECLARE @NumCont AS INT +DECLARE @numFlu AS INT +DECLARE @numUdc AS INT +DECLARE @nextUdc AS INT +DECLARE @IdxCella AS INT + +------------------------------------------------------------------------------------------------------ +-- Caricamento Dati da anagrafica +------------------------------------------------------------------------------------------------------ +-- cerco la ragione sociale... +SET @RagSociale = ( + SELECT ISNULL(RagSociale, 'ND') AS RagSociale + FROM RilPro.AnagClienti + WHERE (CodCliente = @CodCliente) +) + +-- Cerco descrizione del particolare... +SET @DescParticolare = ( + SELECT ISNULL(DescParticolare, 'ND') AS DescParticolare + FROM RilPro.AnagParticolari + WHERE (Particolare = @Particolare) +) + +-- cerco codice disegno grezzo +SET @DisegnoGrezzo = ( + SELECT ISNULL(DisegnoGrezzo, 'ND') AS DescParticolare + FROM RilPro.AnagParticolari + WHERE (Particolare = @Particolare) +) + +-- cerco descrizione Impianto +SET @DescImpianto = ( + SELECT ISNULL(DescImpianto, 'ND') AS DescImpianto + FROM AnagImpianti + WHERE (CodImpianto = @CodImpianto) +) + + + +-- Calcolo contatore intero successivo x il contenitore... +SET @NumCont = ( + SELECT ISNULL(MAX(NumCont), 0) + 1 AS NumCont + FROM ElencoCartellini + WHERE (Particolare = @Particolare) + AND (DataFus = @DataFus) + AND (TurnoFus = @TurnoFus) + AND (CodImpianto = @CodImpianto) + AND (CodStampo = @CodStampo) + AND (Figura = @Figura) +) + + +------------------------------------------------------------------------------------------------------ + + +------------------------------------------------------------------------------------------------------ +-- Ciclo principale x inserimento nuovo record +------------------------------------------------------------------------------------------------------ +BEGIN TRAN + + -- inserisco un nuovo record + INSERT INTO ElencoCartellini(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, Note) + VALUES (@UDC, @CodCS, @CodCliente, @RagSociale, @Particolare, @DescParticolare, @DisegnoGrezzo, @Esponente, @CodImpianto, @DescImpianto, @CodStampo, @Figura, @DataFus, @TurnoFus, @CodImballo, @CodSoggetto, @NumCont, @Tara, @Qta, @CodStato, @IdxPosizione, @PesoTot, @PesoCad, GETDATE(), GETDATE(), @Note) + + -- inserisco relazione parent-child tra UDC vecchio (tara) e nuovo (pesa) SSE UDC_Parent valido + IF((NOT @UDC_parent IS NULL) AND (NOT @UDC_parent = '')) + BEGIN + INSERT INTO RelazUDC(UDC_parent, UDC_child) + VALUES (@UDC_parent, @UDC) + END +COMMIT TRAN + +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- Ciclo secondario x eventuale cancellazione UDC tara parent e inserimento in posizione +------------------------------------------------------------------------------------------------------ + -- se richiesto elimino l'UDC parent (tara) + IF(@DoDeleteUdcParent = 1) + BEGIN + DELETE FROM ElencoCartellini WHERE UDC = @UDC_parent + END + + -- calcolo la prima cella della posizione indicata.. + SET @IdxCella = ( + SELECT TOP 1 c.IdxCella + FROM Celle c INNER JOIN Blocchi b ON c.IdxBlocco=b.IdxBlocco + WHERE b.CodMag = CAST(@IdxPosizione AS NVARCHAR(50)) + ) + -- inserisco il cartellino nella prima cella della posizione indicata.. + INSERT INTO PosizioneUdcCorrente + VALUES (@UDC, @IdxCella, @CodCS, GETDATE()) +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- restituisco la tab dati con l'udc appena inserito +------------------------------------------------------------------------------------------------------ +SELECT * +FROM ElencoCartellini +WHERE UDC = @UDC +------------------------------------------------------------------------------------------------------ + +RETURN +go + +/*************************************** +* STORED stp_UdcDetailGetByIdxBlocco +* +* ottiene l'elenco degli UDC con dettaglio posizioni OCCUPATE associati ad un dato blocco di magazzino +* +* Steamware, S.E.L. +* mod: 2010.07.19 +* +****************************************/ +alter PROCEDURE stp_UdcDetailGetByIdxBlocco +( + @IdxBlocco INT +) +AS + +SELECT ElencoCartellini.UDC, ElencoCartellini.RagSociale, ElencoCartellini.Particolare, ElencoCartellini.DescParticolare, + ElencoCartellini.DisegnoGrezzo, ElencoCartellini.Esponente, ElencoCartellini.DescImpianto, ElencoCartellini.DataFus, + ElencoCartellini.TurnoFus, ElencoCartellini.CodImballo, ElencoCartellini.Qta, AnagStatiProdotto.DescStato, + ElencoCartellini.ModDate, ISNULL(Blocchi.CodMag, N'') AS CodMag, ISNULL(Blocchi.CodBlocco, N'') AS CodBlocco, + ISNULL(Celle.CodCella, N'') AS CodCella, ISNULL(dbo.Celle.IdxCella, 0) AS IdxCella, + ISNULL(Celle.X, 0) AS X, ISNULL(Celle.Y, 0) AS Y, ISNULL(Celle.Z, 0) AS Z, ElencoCartellini.IdxPosizione, ISNULL(ElencoCartellini.Note,'') AS Note +FROM Celle INNER JOIN + PosizioneUdcCorrente ON Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND + Celle.IdxCella = PosizioneUdcCorrente.IdxCella INNER JOIN + Blocchi ON Celle.IdxBlocco = Blocchi.IdxBlocco INNER JOIN + AnagMag ON Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND + Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS INNER JOIN + ElencoCartellini ON PosizioneUdcCorrente.UDC = ElencoCartellini.UDC LEFT OUTER JOIN + AnagStatiProdotto ON ElencoCartellini.CodStato = AnagStatiProdotto.CodStato AND ElencoCartellini.CodStato = AnagStatiProdotto.CodStato +WHERE (Celle.IdxBlocco = @IdxBlocco) + +RETURN +go + +/*************************************** +* STORED stp_UdcDetailGetByIdxCella +* +* ottiene l'elenco degli UDC con dettaglio per una data cella +* +* Steamware, S.E.L. +* mod: 2010.07.20 +* +****************************************/ +alter PROCEDURE stp_UdcDetailGetByIdxCella +( + @IdxCella INT +) +AS + +SELECT ElencoCartellini.UDC, ElencoCartellini.RagSociale, ElencoCartellini.Particolare, ElencoCartellini.DescParticolare, + ElencoCartellini.DisegnoGrezzo, ElencoCartellini.Esponente, ElencoCartellini.DescImpianto, ElencoCartellini.DataFus, + ElencoCartellini.TurnoFus, ElencoCartellini.CodImballo, ElencoCartellini.Qta, AnagStatiProdotto.DescStato, + ElencoCartellini.ModDate, ISNULL(Blocchi.CodMag, N'') AS CodMag, ISNULL(Blocchi.CodBlocco, N'') AS CodBlocco, + ISNULL(Celle.CodCella, N'') AS CodCella, ISNULL(dbo.Celle.IdxCella, 0) AS IdxCella, + ISNULL(Celle.X, 0) AS X, ISNULL(Celle.Y, 0) AS Y, ISNULL(Celle.Z, 0) AS Z, ElencoCartellini.IdxPosizione, ISNULL(ElencoCartellini.Note,'') AS Note +FROM Celle INNER JOIN + PosizioneUdcCorrente ON Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND + Celle.IdxCella = PosizioneUdcCorrente.IdxCella INNER JOIN + Blocchi ON Celle.IdxBlocco = Blocchi.IdxBlocco INNER JOIN + AnagMag ON Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND + Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS INNER JOIN + ElencoCartellini ON PosizioneUdcCorrente.UDC = ElencoCartellini.UDC LEFT OUTER JOIN + AnagStatiProdotto ON ElencoCartellini.CodStato = AnagStatiProdotto.CodStato AND ElencoCartellini.CodStato = AnagStatiProdotto.CodStato +WHERE (Celle.IdxCella = @IdxCella) + +RETURN +go + +/*************************************** +* STORED stp_getUdcDetailFullCode +* +* ottiene l'elenco degli UDC con i dati significativi partendo da un codice UDC COMPLETO +* +* Steamware, S.E.L. +* mod: 2010.05.24 +* +****************************************/ +alter PROCEDURE stp_getUdcDetailFullCode +( + @UDC VARCHAR(50), + @CodCS VARCHAR(2) +) +AS + +SELECT ec.UDC, ISNULL(ec.RagSociale, N'nd') AS RagSociale, ISNULL(ec.Particolare, N'nd') AS Particolare, + ISNULL(ec.DescParticolare, N'nd') AS DescParticolare, ISNULL(ec.DisegnoGrezzo, N'nd') AS DisegnoGrezzo, + ISNULL(ec.Esponente, N'nd') AS Esponente, ISNULL(ec.DescImpianto, N'nd') AS DescImpianto, + ISNULL(ec.DataFus, N'') AS DataFus, ISNULL(ec.TurnoFus, 0) AS TurnoFus, ec.CodImballo, + ec.Qta, ISNULL(AnagStatiProdotto.DescStato, N'nd') AS DescStato, ec.ModDate, + CASE WHEN(ec.IdxPosizione < 0) THEN 'Consum' ELSE ISNULL(Blocchi.CodMag, N'nd') END AS CodMag, + ISNULL(Blocchi.CodBlocco, N'nd') AS CodBlocco, ISNULL(Celle.CodCella, N'nd') AS CodCella, ISNULL(dbo.Celle.IdxCella, 0) AS IdxCella, + ISNULL(Celle.X, 0) AS X, ISNULL(Celle.Y, 0) AS Y, ISNULL(Celle.Z, 0) AS Z, ec.IdxPosizione, ISNULL(ec.Note,'') AS Note +FROM AnagStatiProdotto RIGHT OUTER JOIN + ElencoCartellini ec ON AnagStatiProdotto.CodStato = ec.CodStato AND AnagStatiProdotto.CodStato = ec.CodStato + LEFT OUTER JOIN Celle INNER JOIN PosizioneUdcCorrente ON Celle.IdxCella = PosizioneUdcCorrente.IdxCella + AND Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND Celle.IdxCella = PosizioneUdcCorrente.IdxCella + INNER JOIN Blocchi ON Celle.IdxBlocco = Blocchi.IdxBlocco INNER JOIN AnagMag ON Blocchi.CodMag = AnagMag.CodMag + AND Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag + AND Blocchi.CodCS = AnagMag.CodCS ON ec.UDC = PosizioneUdcCorrente.UDC +WHERE (ec.UDC = @UDC) AND (ec.CodCS = @CodCS) + +RETURN +go + +/*************************************** +* STORED stp_getUdcDetailFullCode +* +* ottiene l'elenco degli UDC con i dati significativi partendo da un valore da cercare come LIKE in +* - UDC +* - Particolare +* +* Steamware, S.E.L. +* mod: 2010.05.24 +* +****************************************/ +alter PROCEDURE stp_getUdcDetailLikeSearch +( + @searchVal VARCHAR(50), + @CodCS VARCHAR(2) +) +AS + +SELECT ElencoCartellini.UDC, 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.DescImpianto, N'') AS DescImpianto, + ISNULL(ElencoCartellini.DataFus, N'') AS DataFus, ISNULL(ElencoCartellini.TurnoFus, 0) AS TurnoFus, ElencoCartellini.CodImballo, + ElencoCartellini.Qta, ISNULL(AnagStatiProdotto.DescStato, N'') AS DescStato, ElencoCartellini.ModDate, + ISNULL(Blocchi.CodMag, N'') AS CodMag, ISNULL(Blocchi.CodBlocco, N'') AS CodBlocco, ISNULL(Celle.CodCella, N'') AS CodCella, + ISNULL(dbo.Celle.IdxCella, 0) AS IdxCella, ISNULL(Celle.X, 0) AS X, ISNULL(Celle.Y, 0) AS Y, ISNULL(Celle.Z, 0) AS Z, ElencoCartellini.IdxPosizione, + ISNULL(ElencoCartellini.Note, '') AS Note +FROM AnagStatiProdotto RIGHT OUTER JOIN ElencoCartellini + ON AnagStatiProdotto.CodStato = ElencoCartellini.CodStato AND AnagStatiProdotto.CodStato = ElencoCartellini.CodStato + LEFT OUTER JOIN Celle INNER JOIN PosizioneUdcCorrente + ON Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND + Celle.IdxCella = PosizioneUdcCorrente.IdxCella INNER JOIN + Blocchi ON Celle.IdxBlocco = Blocchi.IdxBlocco INNER JOIN + AnagMag ON Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND + Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS ON + ElencoCartellini.UDC = PosizioneUdcCorrente.UDC +WHERE (ElencoCartellini.CodCS = @CodCS) AND + ((ElencoCartellini.UDC like '%'+ @searchVal+'%') OR (ElencoCartellini.Particolare like '%'+ @searchVal+'%') OR + (ElencoCartellini.RagSociale like '%'+ @searchVal+'%')) + +RETURN +go + +/*************************************** +* STORED stp_UDC_update +* +* aggiorna un cartellino dato il suo codice UDC e tutti i parametri da aggiornare +* +* Steamware, S.E.L. +* mod: 2010.04.30 +* +****************************************/ +alter PROCEDURE stp_UDC_update +( + @UDC_edit VARCHAR(50), + @CodCS VARCHAR(2), + @Flusso VARCHAR(2), + @Anno VARCHAR(2), + @CodCliente VARCHAR(6), + @Particolare VARCHAR(15), + @CodImpianto AS VARCHAR(50), + @CodStampo VARCHAR(8), + @Esponente VARCHAR(6), + @Figura VARCHAR(4), + @DataFus DATETIME, + @TurnoFus INT, + @CodImballo VARCHAR(15), + @CodSoggetto VARCHAR(17), + @Tara FLOAT, + @IdxPosizione INT, + @CodTipoDichiaraz CHAR(1), + @CodEvento VARCHAR(10), + @Qta DECIMAL(10,2), + @PesoTot FLOAT, + @PesoCad FLOAT, + @CodStato VARCHAR(50), + @UDC_parent VARCHAR(50), + @Note NVARCHAR(500) +) +AS + +-- DECLARE iniziali +DECLARE @RagSociale AS VARCHAR(35) +DECLARE @DescParticolare AS VARCHAR(30) +DECLARE @DescImpianto AS VARCHAR(50) +DECLARE @DisegnoGrezzo AS VARCHAR(30) +DECLARE @NumCont AS INT +DECLARE @numFlu AS INT +DECLARE @numUdc AS INT +DECLARE @nextUdc AS INT + +------------------------------------------------------------------------------------------------------ +-- Caricamento Dati da anagrafica +------------------------------------------------------------------------------------------------------ +-- cerco la ragione sociale... +SET @RagSociale = ( + SELECT ISNULL(RagSociale, 'ND') AS RagSociale + FROM RilPro.AnagClienti + WHERE (CodCliente = @CodCliente) +) + +-- Cerco descrizione del particolare... +SET @DescParticolare = ( + SELECT ISNULL(DescParticolare, 'ND') AS DescParticolare + FROM RilPro.AnagParticolari + WHERE (Particolare = @Particolare) +) + +-- cerco codice disegno grezzo +SET @DisegnoGrezzo = ( + SELECT ISNULL(DisegnoGrezzo, 'ND') AS DescParticolare + FROM RilPro.AnagParticolari + WHERE (Particolare = @Particolare) +) + +-- cerco descrizione Impianto +SET @DescImpianto = ( + SELECT ISNULL(DescImpianto, 'ND') AS DescImpianto + FROM AnagImpianti + WHERE (CodImpianto = @CodImpianto) +) + + + +-- Calcolo contatore intero successivo x il contenitore... +SET @NumCont = ( + SELECT NumCont + FROM ElencoCartellini + WHERE (UDC = @UDC_edit) +) + + +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- Flusso +------------------------------------------------------------------------------------------------------ +-- controllo se esiste il flusso (bilancia)... +SET @numFlu = ( + SELECT count(*) + FROM AnagBilance + WHERE CodBilancia = @Flusso +) +-- ...sennò lo creo... +IF(@numFlu = 0) + BEGIN + -- se c'è inserisco in tab + INSERT INTO AnagBilance(CodBilancia, DescrImpianto, CodCS) + VALUES (@Flusso, @Flusso, @CodCS) + END +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- Ciclo principale x edit record +------------------------------------------------------------------------------------------------------ +BEGIN TRAN + + -- elimino vecchio record parent/child + DELETE FROM RelazUDC + WHERE (UDC_child = @UDC_edit) + + -- modifico il record + UPDATE ElencoCartellini + SET CodCS = @CodCS, CodCliente = @CodCliente, RagSociale = @RagSociale, Particolare = @Particolare, DescParticolare = @DescParticolare, + DisegnoGrezzo = @DisegnoGrezzo, Esponente = @Esponente, CodImpianto = @CodImpianto, DescImpianto = @DescImpianto, CodStampo = @CodStampo, + Figura = @Figura, DataFus = @DataFus, TurnoFus = @TurnoFus, CodImballo = @CodImballo, CodSoggetto = @CodSoggetto, NumCont = @NumCont, + Tara = @Tara, Qta = @Qta, CodStato = @CodStato, IdxPosizione = @IdxPosizione, PesoTot = @PesoTot, PesoCad = @PesoCad, ModDate = GETDATE(), Note = @Note + WHERE UDC = @UDC_edit + + -- inserisco relazione parent-child tra UDC vecchio (tara) e nuovo (pesa) + INSERT INTO RelazUDC(UDC_parent, UDC_child) + VALUES (@UDC_parent, @UDC_edit) +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- restituisco la tab dati con l'udc appena inserito +------------------------------------------------------------------------------------------------------ +SELECT * +FROM ElencoCartellini +WHERE UDC = @UDC_edit +------------------------------------------------------------------------------------------------------ + +RETURN +go + +/*************************************** +* STORED stp_UDC_updateQty +* +* aggiorna un cartellino x la sua quantità +* +* Steamware, S.E.L. +* mod: 2010.06.12 +* +****************************************/ +alter PROCEDURE stp_UDC_updateQty +( + @UDC VARCHAR(50), + @CodSoggetto VARCHAR(17), + @CodTipoDichiaraz CHAR(1), + @CodEvento VARCHAR(10), + @Qta DECIMAL(10,2) +) +AS + + +------------------------------------------------------------------------------------------------------ +-- Ciclo principale x edit record +------------------------------------------------------------------------------------------------------ +BEGIN TRAN + + -- modifico il record + UPDATE ElencoCartellini + SET Qta = @Qta, ModDate = GETDATE() + WHERE UDC = @UDC + +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- restituisco la tab dati con l'udc appena inserito +------------------------------------------------------------------------------------------------------ +SELECT * +FROM ElencoCartellini +WHERE UDC = @UDC +------------------------------------------------------------------------------------------------------ + +RETURN +go + +alter VIEW v_UdcDetail +AS +SELECT dbo.ElencoCartellini.UDC, ISNULL(dbo.ElencoCartellini.RagSociale, N'') AS RagSociale, ISNULL(dbo.ElencoCartellini.Particolare, N'') AS Particolare, + ISNULL(dbo.ElencoCartellini.DescParticolare, N'') AS DescParticolare, ISNULL(dbo.ElencoCartellini.DisegnoGrezzo, N'') AS DisegnoGrezzo, + ISNULL(dbo.ElencoCartellini.Esponente, N'') AS Esponente, ISNULL(dbo.ElencoCartellini.DescImpianto, N'') AS DescImpianto, ISNULL(dbo.ElencoCartellini.DataFus, + N'') AS DataFus, ISNULL(dbo.ElencoCartellini.TurnoFus, 0) AS TurnoFus, dbo.ElencoCartellini.CodImballo, dbo.ElencoCartellini.Qta, + ISNULL(dbo.AnagStatiProdotto.DescStato, N'') AS DescStato, dbo.ElencoCartellini.ModDate, ISNULL(dbo.Blocchi.CodMag, N'') AS CodMag, + ISNULL(dbo.Blocchi.CodBlocco, N'') AS CodBlocco, ISNULL(dbo.Celle.CodCella, N'') AS CodCella, ISNULL(dbo.Celle.IdxCella, 0) AS IdxCella, ISNULL(dbo.Celle.X, 0) + AS X, ISNULL(dbo.Celle.Y, 0) AS Y, ISNULL(dbo.Celle.Z, 0) AS Z, dbo.ElencoCartellini.IdxPosizione, dbo.ElencoCartellini.Note +FROM dbo.AnagStatiProdotto RIGHT OUTER JOIN + dbo.ElencoCartellini ON dbo.AnagStatiProdotto.CodStato = dbo.ElencoCartellini.CodStato AND + dbo.AnagStatiProdotto.CodStato = dbo.ElencoCartellini.CodStato LEFT OUTER JOIN + dbo.Celle INNER JOIN + dbo.PosizioneUdcCorrente ON dbo.Celle.IdxCella = dbo.PosizioneUdcCorrente.IdxCella AND dbo.Celle.IdxCella = dbo.PosizioneUdcCorrente.IdxCella AND + dbo.Celle.IdxCella = dbo.PosizioneUdcCorrente.IdxCella INNER JOIN + dbo.Blocchi ON dbo.Celle.IdxBlocco = dbo.Blocchi.IdxBlocco INNER JOIN + dbo.AnagMag ON dbo.Blocchi.CodMag = dbo.AnagMag.CodMag AND dbo.Blocchi.CodCS = dbo.AnagMag.CodCS AND + dbo.Blocchi.CodMag = dbo.AnagMag.CodMag AND dbo.Blocchi.CodCS = dbo.AnagMag.CodCS AND dbo.Blocchi.CodMag = dbo.AnagMag.CodMag AND + dbo.Blocchi.CodCS = dbo.AnagMag.CodCS ON dbo.ElencoCartellini.UDC = dbo.PosizioneUdcCorrente.UDC +go + +exec sp_updateextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "AnagStatiProdotto" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 101 + Right = 208 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "ElencoCartellini" + Begin Extent = + Top = 6 + Left = 246 + Bottom = 309 + Right = 416 + End + DisplayFlags = 280 + TopColumn = 12 + End + Begin Table = "Celle" + Begin Extent = + Top = 27 + Left = 818 + Bottom = 156 + Right = 988 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "PosizioneUdcCorrente" + Begin Extent = + Top = 71 + Left = 548 + Bottom = 200 + Right = 718 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "Blocchi" + Begin Extent = + Top = 70 + Left = 1080 + Bottom = 199 + Right = 1250 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "AnagMag" + Begin Extent = + Top = 188 + Left = 799 + Bottom = 334 + Right = 969 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 22 + Width = 284 + Width = 15', 'SCHEMA', 'dbo', 'VIEW', 'v_UdcDetail'; +go + +/*************************************** +* STORED stp_UdcDetailGetByIdxBloccoCodMagLog +* +* ottiene l'elenco degli UDC con dettaglio posizioni OCCUPATE associati ad un dato blocco di magazzino ed ad un dato STATO LOGICO +* +* Steamware, S.E.L. +* mod: 2010.09.15 +* +****************************************/ +alter PROCEDURE stp_UdcDetailGetByIdxBloccoCodMagLog +( + @IdxBlocco INT, + @CodMagLog INT +) +AS + +SELECT ElencoCartellini.UDC, ElencoCartellini.RagSociale, ElencoCartellini.Particolare, ElencoCartellini.DescParticolare, + ElencoCartellini.DisegnoGrezzo, ElencoCartellini.Esponente, ElencoCartellini.DescImpianto, ElencoCartellini.DataFus, + ElencoCartellini.TurnoFus, ElencoCartellini.CodImballo, ElencoCartellini.Qta, AnagStatiProdotto.DescStato, + ElencoCartellini.ModDate, ISNULL(Blocchi.CodMag, N'') AS CodMag, ISNULL(Blocchi.CodBlocco, N'') AS CodBlocco, + ISNULL(Celle.CodCella, N'') AS CodCella, ISNULL(dbo.Celle.IdxCella, 0) AS IdxCella, + ISNULL(Celle.X, 0) AS X, ISNULL(Celle.Y, 0) AS Y, ISNULL(Celle.Z, 0) AS Z, ElencoCartellini.IdxPosizione, ISNULL(ElencoCartellini.Note,'') AS Note +FROM Celle INNER JOIN + PosizioneUdcCorrente ON Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND + Celle.IdxCella = PosizioneUdcCorrente.IdxCella INNER JOIN + Blocchi ON Celle.IdxBlocco = Blocchi.IdxBlocco INNER JOIN + AnagMag ON Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND + Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS INNER JOIN + ElencoCartellini ON PosizioneUdcCorrente.UDC = ElencoCartellini.UDC LEFT OUTER JOIN + AnagStatiProdotto ON ElencoCartellini.CodStato = AnagStatiProdotto.CodStato AND ElencoCartellini.CodStato = AnagStatiProdotto.CodStato +WHERE (Celle.IdxBlocco = @IdxBlocco) AND ElencoCartellini.IdxPosizione = @CodMagLog + +RETURN +go + +/***************************************** +* STORED stp_UDC_delete_byRdQ +* +* Elimina gli UDC associati ad un rapporto di qualità dato rapporto qualità +* +* Steamware, S.E.L. +* mod: 2012.02.14 +* +****************************************/ +create PROCEDURE stp_UDC_delete_byRdQ_NEW +( + @nRapQual NUMERIC(6,0), + @ExecBatchInter BIT = 0 -- 0 Eseguita in Batch , 1 in Interattivo +) +AS + +-- NON USATA **** +-- NUOVA VERSIONE X VERIFICARE NEL CASO SIA ESEGUITA IN UNA TRANSAZIONE PRECEDENTE --- NON USATA + +-- Attenzione!!! Cancella tutti i cartellini degli UDC materia prima del rapporto qualità anche se sono scaricati +-- comunque sono presenti nello StoricoCartellini ( perdo però a che RapportoQualità facevano riferimento, mettere riferimento nelle note? ) + +/*--------------------------------------- +- Query x eliminazione UDC e tab +- collegate dato un Rapp di Qualità +---------------------------------------*/ + +/* NON FUNZIONA A CAUSA DEI TRIGGER +WITH cte AS -- Tutti i cartellini su AS400 annullati che hanno un cartellino in RilPro +( + SELECT r.UDC + FROM RilPro.RapQual AS r + INNER JOIN dbo.ElencoCartellini AS e + ON r.UDC = e.UDC + WHERE r.BenesQual = 'A' +) + -- Cancello la posizione degli UDC a magazzino + DELETE dbo.PosizioneUdcCorrente + FROM dbo.PosizioneUdcCorrente AS P + INNER JOIN RilPro.RapQual AS r + ON p.UDC = r.UDC + WHERE r.nRapQual = @nRapQual + -- SELECT * FROM dbo.PosizioneUdcCorrente WHERE r.nRapQual = @nRapQual + + -- Se non sono ancora scaricati cancello il record movimento di scarico materia prima + DELETE dbo.AS400_BatchConsumoMP + FROM dbo.AS400_BatchConsumoMP AS b + INNER JOIN RilPro.RapQual AS r + ON b.UDC = r.UDC + WHERE r.nRapQual = @nRapQual AND b.DataInvioAs IS NULL + + SELECT * FROM dbo.AS400_BatchConsumoMP + + -- Cancellazione Cartellini Materia Prima di un Rapporto qualità + SELECT * FROM dbo.ElencoCartellini +*/ + +SET NOCOUNT ON; +SET ANSI_NULLS OFF; +SET XACT_ABORT ON; -- Se c'è un errore fa il rollback di tutta la transazione e non solo quella in errore +SET LOCK_TIMEOUT 600000; -- 10 min - Setto il tempo massimo di attesa del lock della tabella che è valido solo per la durata + -- della connessione e di default è settato a -1 (infinito). ATTENZIONE che se viene dato un errore + -- di lock deve essere controllato + +IF @ExecBatchInter = 1 -- Se interattiva diminuisco il tempo di lock massimo a 15 sec + SET LOCK_TIMEOUT 15000; + + DECLARE @TRAN AS INT, @State AS INT ; + SET @TRAN = @@TRANCOUNT; SET @State = XACT_STATE(); + +-- Se per il rapporto qualità esiste almeno un cartellino UDC +IF ( SELECT COUNT(UDC) FROM RilPro.RapQual WHERE nRapQual = @nRapQual ) > 0 +BEGIN + BEGIN TRY; + BEGIN TRANSACTION; + + -- ===================================================== + -- Cancella tutti gli UDC di un RQ + -- ===================================================== + SELECT ROW_NUMBER() OVER (ORDER BY UDC) AS Riga,UDC + INTO #Temp + FROM RilPro.RapQual + WHERE nRapQual = @nRapQual; -- Rapporto di qualità da cancellare + + DECLARE @Riga AS INT = 1 + ,@Fine AS INT = 0 + ,@UDC nVarchar(50); + + SELECT @Fine = MAX(Riga) FROM #Temp; + + WHILE @Riga <= @Fine + BEGIN + -- Leggo UDC da cancellare uno alla volta + SELECT @UDC = UDC FROM #Temp WHERE Riga = @Riga; + + -- ====================================================== + -- Cancella i dati del singolo UDC + -- ======================================================= + -- Attenzione che sulle cartelle ci sono dei trigger + DELETE dbo.PosizioneUdcCorrente WHERE UDC = @UDC + + DELETE dbo.RelazUDC WHERE UDC_child = @UDC + DELETE dbo.RelazUDC WHERE UDC_parent = @UDC + DELETE dbo.ElencoCartellini WHERE UDC = @UDC + + -- sgancio il cartellino AS400 da quello GMW ( cancellato ) + UPDATE RilPro.RapQual SET UDC = NULL WHERE UDC = @UDC + + --SELECT * FROM dbo.PosizioneUdcCorrente WHERE UDC = @UDC + --SELECT * FROM dbo.RelazUDC WHERE UDC_child = @UDC + --SELECT * FROM dbo.ElencoCartellini WHERE UDC = @UDC + --SELECT * FROM RilPro.RapQual WHERE UDC = @UDC + +-- IF @nRapQual = 20 Select 1/0 + -- Select 1/0 + + SET @Riga = @Riga + 1 -- Incremento contatore x UDC in tabella Temp + -- SELECT @UDC + END + + -- Se esiste la tabella #Temp la cancello + IF OBJECT_ID(N'tempdb..#Temp') IS NOT NULL + DROP TABLE #Temp; + + COMMIT TRANSACTION; + END TRY + + BEGIN CATCH; + + --IF (ERROR_NUMBER() = 1222) -- se vi è un lock per troppo tempo posso controllarlo x rieseguire + -- BEGIN; PRINT 'Tabella Bloccata'; -- Segnalo l'errore specifico di lock + -- END; + --ELSE PRINT 'Errore Generico'; -- se l'errore non è un deadlock esco dal WHILE + + IF XACT_STATE() <> 0 AND @TRAN = 0 -- solo se vi sono transazioni aperte faccio il rollback ( da verificare nel caso sia richiamato + ROLLBACK TRANSACTION -- all'interno di un'altra transazione ) + + -- Cancello La Tabella TEMP se esiste ( messo x per sicurezza ) + -- EXISTS (SELECT 1 FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE='BASE TABLE' AND TABLE_NAME='#Temp') + -- *** QUI HO IL PROBLEMA SE XACT_STATE() = -1 perchè da errore + IF OBJECT_ID(N'tempdb..#Temp') IS NOT NULL + DROP TABLE #Temp; + + -- Uso RAISERROR mandare in errore la procedura e x per tornare le info + -- sull'errore originale che ha portato l'esecuzione nel blocco CATCH + DECLARE @ErrorNumber INT; + DECLARE @ErrorMessage NVARCHAR(4000); + DECLARE @ErrorSeverity INT; + DECLARE @ErrorState INT; + SELECT @ErrorMessage = ERROR_MESSAGE(),@ErrorSeverity = ERROR_SEVERITY(),@ErrorState = ERROR_STATE(), @ErrorNumber = ERROR_NUMBER(); + + IF @ExecBatchInter = 0 -- Sollevo errore solo se richiesto dai parametri ( es. esecuzione da un Job Batch ) + RAISERROR (@ErrorMessage,@ErrorSeverity,@ErrorState); -- Se non uso RAISERROR la procedura non mi da errore es. se schedulata + + END CATCH; + +END +go + +/***************************************** +* STORED stp_UDC_delete_byRdQ +* +* Elimina gli UDC associati ad un rapporto di qualità dato rapporto qualità +* +* Steamware, S.E.L. +* mod: 2012.02.14 +* +****************************************/ +alter PROCEDURE stp_UDC_delete_byRdQ +( + @nRapQual NUMERIC(6,0), + @ExecBatchInter BIT = 0 -- 0 Eseguita in Batch , 1 in Interattivo +) +AS + +-- Attenzione!!! Cancella tutti i cartellini degli UDC materia prima del rapporto qualità anche se sono scaricati +-- comunque sono presenti nello StoricoCartellini +--( perdo però a che RapportoQualità facevano riferimento, mettere riferimento nelle note? ) + +SET NOCOUNT ON; +SET ANSI_NULLS OFF; +SET XACT_ABORT ON; -- Se c'è un errore fa il rollback di tutta la transazione e non solo quella in errore +SET LOCK_TIMEOUT 600000; -- 10 min - Setto il tempo massimo di attesa del lock della tabella che è valido solo per la durata + -- della connessione e di default è settato a -1 (infinito). ATTENZIONE che se viene dato un errore + -- di lock deve essere controllato + +IF @ExecBatchInter = 1 -- Se interattiva diminuisco il tempo di lock massimo a 15 sec + SET LOCK_TIMEOUT 15000; + +-- Se per il rapporto qualità esiste almeno un cartellino UDC ( se nullo non lo conta ) +IF ( SELECT COUNT(UDC) FROM RilPro.RapQual WHERE nRapQual = @nRapQual ) > 0 +BEGIN + BEGIN TRY; + BEGIN TRANSACTION; + + -- ===================================================== + -- Cancella tutti gli UDC di un RQ + -- ===================================================== + SELECT ROW_NUMBER() OVER (ORDER BY UDC) AS Riga,UDC + INTO #Temp + FROM RilPro.RapQual + WHERE nRapQual = @nRapQual AND UDC IS NOT NULL; -- Rapporto di qualità da cancellare + + DECLARE @Riga AS INT = 1 + ,@Fine AS INT = 0 + ,@UDC nVarchar(50); + + SELECT @Fine = MAX(Riga) FROM #Temp; + + WHILE @Riga <= @Fine + BEGIN + -- Leggo UDC da cancellare uno alla volta + SELECT @UDC = UDC FROM #Temp WHERE Riga = @Riga; + + -- ====================================================== + -- Cancella i dati del singolo UDC + -- ======================================================= + -- Attenzione che sulle tabelle ci sono dei trigger + DELETE dbo.PosizioneUdcCorrente WHERE UDC = @UDC + + DELETE dbo.RelazUDC WHERE UDC_child = @UDC + DELETE dbo.RelazUDC WHERE UDC_parent = @UDC + DELETE dbo.ElencoCartellini WHERE UDC = @UDC + + -- sgancio il cartellino AS400 da quello GMW ( cancellato ) + UPDATE RilPro.RapQual SET UDC = NULL WHERE UDC = @UDC + + --SELECT * FROM dbo.PosizioneUdcCorrente WHERE UDC = @UDC + --SELECT * FROM dbo.RelazUDC WHERE UDC_child = @UDC + --SELECT * FROM dbo.ElencoCartellini WHERE UDC = @UDC + --SELECT * FROM RilPro.RapQual WHERE UDC = @UDC + + SET @Riga = @Riga + 1 -- Incremento contatore x UDC in tabella Temp + + END + + -- Se esiste la tabella #Temp la cancello + IF OBJECT_ID(N'tempdb..#Temp') IS NOT NULL + DROP TABLE #Temp; + + COMMIT TRANSACTION; + END TRY + + BEGIN CATCH; + + --IF (ERROR_NUMBER() = 1222) -- se vi è un lock per troppo tempo posso controllarlo x rieseguire + -- BEGIN; PRINT 'Tabella Bloccata'; -- Segnalo l'errore specifico di lock + -- END; + --ELSE PRINT 'Errore Generico'; -- se l'errore non è un deadlock esco dal WHILE + + IF XACT_STATE() <> 0 -- solo se vi sono transazioni aperte faccio il rollback ( da verificare nel caso sia richiamato + ROLLBACK TRANSACTION -- all'interno di un'altra transazione ) + + -- Cancello La Tabella TEMP se esiste ( messo x per sicurezza ) + IF OBJECT_ID(N'tempdb..#Temp') IS NOT NULL + DROP TABLE #Temp; + + -- Uso RAISERROR mandare in errore la procedura e x per tornare le info + -- sull'errore originale che ha portato l'esecuzione nel blocco CATCH + DECLARE @ErrorNumber INT; + DECLARE @ErrorMessage NVARCHAR(4000); + DECLARE @ErrorSeverity INT; + DECLARE @ErrorState INT; + SELECT @ErrorMessage = ERROR_MESSAGE(),@ErrorSeverity = ERROR_SEVERITY(),@ErrorState = ERROR_STATE(), @ErrorNumber = ERROR_NUMBER(); + + IF @ExecBatchInter = 0 -- Sollevo errore solo se richiesto dai parametri ( es. esecuzione da un Job Batch ) + RAISERROR (@ErrorMessage,@ErrorSeverity,@ErrorState); -- Se non uso RAISERROR la procedura non mi da errore es. se schedulata + + END CATCH; + +END + +/*--------------------------------------- +- Query x eliminazione UDC e tab +- collegate dato un Rapp di Qualità +---------------------------------------*/ + +/* NON FUNZIONA A CAUSA DEI TRIGGER +WITH cte AS -- Tutti i cartellini su AS400 annullati che hanno un cartellino in RilPro +( + SELECT r.UDC + FROM RilPro.RapQual AS r + INNER JOIN dbo.ElencoCartellini AS e + ON r.UDC = e.UDC + WHERE r.BenesQual = 'A' +) + -- Cancello la posizione degli UDC a magazzino + DELETE dbo.PosizioneUdcCorrente + FROM dbo.PosizioneUdcCorrente AS P + INNER JOIN RilPro.RapQual AS r + ON p.UDC = r.UDC + WHERE r.nRapQual = @nRapQual + -- SELECT * FROM dbo.PosizioneUdcCorrente WHERE r.nRapQual = @nRapQual + + -- Se non sono ancora scaricati cancello il record movimento di scarico materia prima + DELETE dbo.AS400_BatchConsumoMP + FROM dbo.AS400_BatchConsumoMP AS b + INNER JOIN RilPro.RapQual AS r + ON b.UDC = r.UDC + WHERE r.nRapQual = @nRapQual AND b.DataInvioAs IS NULL + + SELECT * FROM dbo.AS400_BatchConsumoMP + + -- Cancellazione Cartellini Materia Prima di un Rapporto qualità + SELECT * FROM dbo.ElencoCartellini +*/ +go + +commit; +go + +-- *========================================================================================== + +create table ElencoPostazioni( + codPostazione nvarchar(250) not null constraint PK_ElencoPostazioni primary key, + stampante nvarchar(250) +); +go + +-- *========================================================================================== + +set xact_abort on; +go + +begin transaction; +go + +alter table Odette drop + constraint PK_Odette ; +go + +alter table Odette alter column + CampoUDC nvarchar(50) not null; +go + +alter table Odette add + constraint PK_Odette primary key(CampoUDC); +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 + +/***************************************** +* STORED stp_OdetteStatoCreate +* +* Restituisce il numero di odette create e da creare per una PackList +* +* Steamware, S.E.L. +* mod: 2011.05.04 +* +****************************************/ +alter PROCEDURE stp_OdetteStatoCreate +( + @CodLista NVARCHAR(50) +) +AS + +DECLARE @OdetteCreate INT +DECLARE @OdetteDaCreare INT + +SET @OdetteCreate = (SELECT ISNULL(COUNT(o.CampoUDC),0) + FROM ODETTE o INNER JOIN RigheListePrelievo rlp ON o.CampoUDC=rlp.UDC + WHERE rlp.CodLista = @CodLista) + +SET @OdetteDaCreare = (SELECT ISNULL(COUNT(UDC),0) + FROM RigheListePrelievo + WHERE CodLista = @CodLista) + +SELECT @OdetteCreate AS OdetteCreate, @OdetteDaCreare AS OdetteDaCreare + +RETURN +go + +/***************************************** +* STORED stp_ODETTE_getByListaPrelievo +* +* Recupera etichette odette associate ad una lista di prelievo CON STATO OK +* +* Steamware, S.E.L. +* mod: 2011.04.29 +* +****************************************/ +alter PROCEDURE stp_ODETTE_getByListaPrelievo +( + @CodLista NVARCHAR(12) +) +AS + +/* +SELECT o.* +FROM Odette o INNER JOIN RigheListePrelievo rlp ON o.CampoUDC = rlp.UDC +WHERE (rlp.CodLista = @CodLista) AND (o.StatoOk = 1) +*/ + +SELECT * +FROM Odette +WHERE (CodLista = @CodLista) AND (StatoOk = 1) + +RETURN +go + +/***************************************** +* STORED stp_ODETTE_setStato +* +* aggiorna stato etichetta Odette +* +* Steamware, S.E.L. +* mod: 2011.04.29 +* +****************************************/ +alter PROCEDURE stp_ODETTE_setStato +( + @UDC NVARCHAR(50), + @StatoOk BIT +) +AS + +-- update valori (sovrascrivo...) +UPDATE Odette +SET StatoOk = @StatoOk +WHERE CampoUDC = @UDC + +RETURN +go + +/***************************************** +* STORED stp_ODETTE_updateVal +* +* effettua aggiornamento valori etichetta Odette +* +* Steamware, S.E.L. +* mod: 2011.04.28 +* +****************************************/ +alter PROCEDURE stp_ODETTE_updateVal +( + @UDC NVARCHAR(50), + @ragSocCli NVARCHAR(50), + @indirCli NVARCHAR(50), + @capCittCli NVARCHAR(50), + @ragSocDest NVARCHAR(50), + @indirDest NVARCHAR(50), + @capCittDest NVARCHAR(50), + @pesoNetto NVARCHAR(50), + @pesoLordo NVARCHAR(50), + @numColli NVARCHAR(50), + @disPart NVARCHAR(50), + @descPart NVARCHAR(50), + @codPart NVARCHAR(50), + @codImb NVARCHAR(50), + @codMaz NVARCHAR(50), + @codNael NVARCHAR(50) +) +AS + +-- COMMIT TRAN + + +-- update valori (sovrascrivo...) +UPDATE Odette +SET Campo1_2 = @ragSocCli, + Campo1_3 = @indirCli, + Campo1_4 = @capCittCli, + Campo2_2 = @ragSocDest, + Campo2_3 = @indirDest, + Campo2_4 = @capCittDest, + Campo5_2 = @pesoNetto, + Campo6_2 = @pesoLordo, + Campo7_2 = @numColli, + Campo8_2 = @disPart, + Campo8_3 = @disPart, + Campo10_2 = @descPart, + Campo11_1_2 = @codPart, + Campo11_1_3 = @codPart, + Campo11_2_2 = @codImb, + Campo11_2_3 = @codImb, + Campo12_2 = @codMaz, + Campo12_3 = @codMaz, + Campo14_2 = @codNael + +WHERE CampoUDC = @UDC + +RETURN +go + +/***************************************** +* STORED stp_ODETTE_updateLingua +* +* Salva nell'etichetta ODETTE indicata le stringhe della lingua desiderata +* +* Steamware, S.E.L. +* mod: 2010.10.22 +* +****************************************/ +alter PROCEDURE stp_ODETTE_updateLingua +( + @UDC NVARCHAR(50), + @Campo1_1 NVARCHAR(50), + @Campo2_1 NVARCHAR(50), + @Campo3_1 NVARCHAR(50), + @Campo4_1 NVARCHAR(50), + @Campo5_1 NVARCHAR(50), + @Campo6_1 NVARCHAR(50), + @Campo7_1 NVARCHAR(50), + @Campo8_1 NVARCHAR(50), + @Campo9_1 NVARCHAR(50), + @Campo10_1 NVARCHAR(50), + @Campo11_1_1 NVARCHAR(50), + @Campo11_2_1 NVARCHAR(50), + @Campo12_1 NVARCHAR(50), + @Campo13_1 NVARCHAR(50), + @Campo14_1 NVARCHAR(50), + @Campo15_1 NVARCHAR(50), + @Campo16_1 NVARCHAR(50) +) +AS + +UPDATE Odette +SET Campo1_1 = @Campo1_1, + Campo2_1 = @Campo2_1, + Campo3_1 = @Campo3_1, + Campo4_1 = @Campo4_1, + Campo5_1 = @Campo5_1, + Campo6_1 = @Campo6_1, + Campo7_1 = @Campo7_1, + Campo8_1 = @Campo8_1, + Campo9_1 = @Campo9_1, + Campo10_1 = @Campo10_1, + Campo11_1_1 = @Campo11_1_1, + Campo11_2_1 = @Campo11_2_1, + Campo12_1 = @Campo12_1, + Campo13_1 = @Campo13_1, + Campo14_1 = @Campo14_1, + Campo15_1 = @Campo15_1, + Campo16_1 = @Campo16_1 +WHERE CampoUDC = @UDC + +RETURN +go + +/***************************************** +* STORED stp_ODETTE_getByUDC +* +* Recupera etichette odette da stampare (dato un codice UDC) +* +* Steamware, S.E.L. +* mod: 2011.12.19 +* +****************************************/ +alter PROCEDURE stp_ODETTE_getByUDC +( + @UDC NVARCHAR(50) +) +AS + +/* calcolo il codice di raggrupp bolla da passare x generazione cartellino al report partendo da CodCS */ + +SELECT Od.CampoUDC + ,Od.Campo1_1 + ,Od.Campo1_2 + ,Od.Campo1_3 + ,Od.Campo1_4 + ,Od.Campo1_5 + + ,Od.Campo2_1 + ,Od.Campo2_2 + ,Od.Campo2_3 + ,Od.Campo2_4 + ,Od.Campo2_5 + + ,Od.Campo3_1 + + -- Formatto il numero bolla in base alla tabella di decodifica + , dbo.f_padLeft( ISNULL(dec.NumRaggrMag,''), 2, '0' ) + + dbo.f_padLeft( ISNULL(Od.GrpBolla ,''), 1, '0' ) + + dbo.f_padLeft( ISNULL(Od.Campo3_2 ,''), 6, '0' ) AS Campo3_2 + + ,Od.Campo3_3 + ,Od.Campo3_4 + ,Od.Campo3_5 + + ,Od.Campo4_1 + ,Od.Campo4_2 + ,Od.Campo4_3 + ,Od.Campo4_4 + ,Od.Campo4_5 + + ,Od.Campo5_1 + ,Od.Campo5_2 + ,Od.Campo5_3 + ,Od.Campo5_4 + ,Od.Campo5_5 + + ,Od.Campo6_1 + ,Od.Campo6_2 + ,Od.Campo6_3 + ,Od.Campo6_4 + ,Od.Campo6_5 + + ,Od.Campo7_1 + ,Od.Campo7_2 + ,Od.Campo7_3 + ,Od.Campo7_4 + ,Od.Campo7_5 + + ,Od.Campo8_1 + ,Od.Campo8_2 + ,Od.Campo8_3 + ,Od.Campo8_4 + ,Od.Campo8_5 + + ,Od.Campo9_1 + ,Od.Campo9_2 + ,Od.Campo9_3 + ,Od.Campo9_4 + ,Od.Campo9_5 + + ,Od.Campo10_1 + ,Od.Campo10_2 + ,Od.Campo10_3 + ,Od.Campo10_4 + ,Od.Campo10_5 + + ,Od.Campo11_1_1 + ,Od.Campo11_1_2 + ,Od.Campo11_1_3 + ,Od.Campo11_1_4 + ,Od.Campo11_1_5 + ,Od.Campo11_2_1 + ,Od.Campo11_2_2 + ,Od.Campo11_2_3 + ,Od.Campo11_2_4 + ,Od.Campo11_2_5 + + ,Od.Campo12_1 + ,Od.Campo12_2 + ,Od.Campo12_3 + ,Od.Campo12_4 + ,Od.Campo12_5 + + ,Od.Campo13_1 + ,Od.Campo13_2 + ,Od.Campo13_3 + ,Od.Campo13_4 + ,Od.Campo13_5 + + ,Od.Campo14_1 + ,Od.Campo14_2 + ,Od.Campo14_3 + ,Od.Campo14_4 + ,Od.Campo14_5 + + ,Od.Campo15_1 + ,Od.Campo15_2 + ,Od.Campo15_3 + ,Od.Campo15_4 + ,Od.Campo15_5 + + ,Od.Campo16_1 + ,Od.Campo16_2 + ,Od.Campo16_3 + ,Od.Campo16_4 + ,Od.Campo16_5 + + ,Od.StatoOk + ,Od.CodCS + ,Od.CodMag + ,Od.GrpBolla + ,Od.DataBolla + ,Od.NumBolla + ,Od.Particolare + ,Od.CodLista + +FROM Odette AS Od +INNER JOIN RilPro.TabDecodBolla AS dec +ON Od.CodMag = dec.CodRaggrMag +WHERE ( Od.CampoUDC = @UDC ) +RETURN +go + +/***************************************** +* STORED stp_ODETTE_getByBolla +* +* Recupera etichette odette associate ad una bolla CON STATO OK +* +* Steamware, S.E.L. +* mod: 2011.05.23 +* +****************************************/ +alter PROCEDURE stp_ODETTE_getByBolla +( + @CodMag NVARCHAR(2), + @GrpBolla NVARCHAR(1), + @NumBolla NUMERIC(6,0), + @DataBolla NUMERIC(8,0), + @Particolare NVARCHAR(15) +) +AS + + +SELECT * +FROM Odette +WHERE CodMag = @CodMag +AND GrpBolla = @GrpBolla +AND NumBolla = @NumBolla +AND DataBolla = @DataBolla +AND Particolare = @Particolare +AND StatoOk = 1 + +RETURN +go + +/***************************************** +* STORED stp_ODETTE_delete +* +* Elimina una riga etichetta odette +* +* Steamware, S.E.L. +* mod: 2011.05.10 +* +****************************************/ +alter PROCEDURE stp_ODETTE_delete +( + @Original_CampoUDC NVARCHAR(50) +) +AS + +DELETE +FROM Odette +WHERE CampoUDC = @Original_CampoUDC + +RETURN +go + +/***************************************** +* STORED stp_ODETTE_deleteByLDP +* +* Elimina una riga etichetta odette +* +* Steamware, S.E.L. +* mod: 2011.05.23 +* +****************************************/ +alter PROCEDURE stp_ODETTE_deleteByLDP +( + @CodLista NVARCHAR(12) +) +AS + +DELETE +FROM Odette +WHERE CodLista = @CodLista + +RETURN +go + +commit; +go + + + +-- *========================================================================================== + +set xact_abort on; +go + +begin transaction; +go + +drop index i_UDC on Odette_storico; +go + +alter table Odette_storico alter column + CampoUDC nvarchar(50) not null; +go + +set ANSI_NULLS on; +go + +-- ============================================= +-- Author: Samuele E. Locatelli +-- Create date: 2011-05-20 +-- Description: trigger x inserimento in tab +-- storico record cancellati +-- ============================================= +alter TRIGGER trg_odetteDel + ON Odette + AFTER DELETE +AS +BEGIN + + -- setup variabili e verbosità + SET NOCOUNT ON; + -- inserisco in storico + INSERT INTO Odette_storico + (DataOraDelete,CampoUDC,Campo1_1,Campo1_2,Campo1_3,Campo1_4,Campo1_5,Campo2_1,Campo2_2,Campo2_3,Campo2_4,Campo2_5,Campo3_1, + Campo3_2,Campo3_3,Campo3_4,Campo3_5,Campo4_1,Campo4_2,Campo4_3,Campo4_4,Campo4_5,Campo5_1,Campo5_2,Campo5_3,Campo5_4,Campo5_5, + Campo6_1,Campo6_2,Campo6_3,Campo6_4,Campo6_5,Campo7_1,Campo7_2,Campo7_3,Campo7_4,Campo7_5,Campo8_1,Campo8_2,Campo8_3,Campo8_4, + Campo8_5,Campo9_1,Campo9_2,Campo9_3,Campo9_4,Campo9_5,Campo10_1,Campo10_2,Campo10_3,Campo10_4,Campo10_5,Campo11_1_1,Campo11_1_2, + Campo11_1_3,Campo11_1_4,Campo11_1_5,Campo11_2_1,Campo11_2_2,Campo11_2_3,Campo11_2_4,Campo11_2_5,Campo12_1,Campo12_2,Campo12_3, + Campo12_4,Campo12_5,Campo13_1,Campo13_2,Campo13_3,Campo13_4,Campo13_5,Campo14_1,Campo14_2,Campo14_3,Campo14_4,Campo14_5,Campo15_1, + Campo15_2,Campo15_3,Campo15_4,Campo15_5,Campo16_1,Campo16_2,Campo16_3,Campo16_4,Campo16_5,StatoOk,CodCS,CodMag,GrpBolla,DataBolla, + NumBolla,Particolare,CodLista) + + SELECT GETDATE(), CampoUDC,Campo1_1,Campo1_2,Campo1_3,Campo1_4,Campo1_5,Campo2_1,Campo2_2,Campo2_3,Campo2_4,Campo2_5,Campo3_1, + Campo3_2,Campo3_3,Campo3_4,Campo3_5,Campo4_1,Campo4_2,Campo4_3,Campo4_4,Campo4_5,Campo5_1,Campo5_2,Campo5_3,Campo5_4,Campo5_5, + Campo6_1,Campo6_2,Campo6_3,Campo6_4,Campo6_5,Campo7_1,Campo7_2,Campo7_3,Campo7_4,Campo7_5,Campo8_1,Campo8_2,Campo8_3,Campo8_4, + Campo8_5,Campo9_1,Campo9_2,Campo9_3,Campo9_4,Campo9_5,Campo10_1,Campo10_2,Campo10_3,Campo10_4,Campo10_5,Campo11_1_1,Campo11_1_2, + Campo11_1_3,Campo11_1_4,Campo11_1_5,Campo11_2_1,Campo11_2_2,Campo11_2_3,Campo11_2_4,Campo11_2_5,Campo12_1,Campo12_2,Campo12_3, + Campo12_4,Campo12_5,Campo13_1,Campo13_2,Campo13_3,Campo13_4,Campo13_5,Campo14_1,Campo14_2,Campo14_3,Campo14_4,Campo14_5,Campo15_1, + Campo15_2,Campo15_3,Campo15_4,Campo15_5,Campo16_1,Campo16_2,Campo16_3,Campo16_4,Campo16_5,StatoOk,CodCS,CodMag,GrpBolla,DataBolla, + NumBolla,Particolare,CodLista + FROM deleted + +END +go + +create index i_UDC on Odette_storico(CampoUDC); +go + +commit; +go + + +-- *========================================================================================== +exec sp_updateextendedproperty 'Note', 'Tabella di decodifica il CodRaggruppamento Magazzino per Stampa Odette', 'SCHEMA', 'RilPro', 'TABLE', 'TabDecodBolla'; +go + + + +-- *========================================================================================== + +exec sp_updateextendedproperty 'Note', 'Tabella di decodifica il CodRaggruppamento Magazzino per Stampa Odette', 'SCHEMA', 'RilPro', 'TABLE', 'TabDecodBolla'; +go + + +set xact_abort on; +go + +begin transaction; +go + +--alter table StoricoCartellini add +-- Note nvarchar(500); +--go + +set ANSI_NULLS on; +go + +-- ============================================= +-- Author: Samuele E. Locatelli +-- Create date: 2009-10-27 +-- Description: trigger x inserimento valori in archivio storico alla cancellazione/modifica del dato +-- ============================================= +alter TRIGGER trg_storicoUDC + ON ElencoCartellini + AFTER DELETE,UPDATE +AS +BEGIN + -- SET NOCOUNT ON added to prevent extra result sets from + -- interfering with SELECT statements. + SET NOCOUNT ON; + + -- metto in storico la posizione attuale dell'UDC (SE esiste) CANCELLATO + INSERT INTO StoricoCartellini(DataEv, UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, DisegnoGrezzo, Esponente, CodImpianto, + DescImpianto, CodStampo, Figura, DataFus, TurnoFus, CodImballo, CodSoggetto, NumCont, Tara, Qta, CodStato, IdxPosizione, PesoTot, PesoCad, Note) + ( + + SELECT GETDATE(), UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, DisegnoGrezzo, Esponente, CodImpianto, DescImpianto, + CodStampo, Figura, DataFus, TurnoFus, CodImballo, CodSoggetto, NumCont, Tara, Qta, CodStato, IdxPosizione, PesoTot, PesoCad, Note + FROM deleted + ) + +END +go + +commit; +go + + +-- *========================================================================================== +-- *========================================================================================== +-- *========================================================================================== +-- *========================================================================================== \ No newline at end of file diff --git a/GMW_data/SqlScripts/V1.2/GMW_410_TEKAL/02-Da TK_GMWTEst 395 a 409 STORED.sql b/GMW_data/SqlScripts/V1.2/GMW_410_TEKAL/02-Da TK_GMWTEst 395 a 409 STORED.sql new file mode 100644 index 00000000..5ec1bd85 --- /dev/null +++ b/GMW_data/SqlScripts/V1.2/GMW_410_TEKAL/02-Da TK_GMWTEst 395 a 409 STORED.sql @@ -0,0 +1,1093 @@ + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/*************************************** +* STORED stp_annullaUDC +* +* annulla un UDC +* +* Steamware, S.E.L. +* mod: 2010.04.28 +* +****************************************/ +alter PROCEDURE stp_annullaUDC +( + @UDC VARCHAR(50), + @CodSoggetto VARCHAR(17) +) +AS + +BEGIN TRAN + + -- faccio update + UPDATE ElencoCartellini + SET IdxPosizione = 0, ModDate = GETDATE() + WHERE UDC = @UDC + + +COMMIT TRAN + +RETURN +go + +commit; +go + + + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/***************************************** +* STORED stp_DtMtrx_import +* +* Recupera dati Gitterbox/DataMatrix partendo leggendo dati successivi all'ultimo import e importanto in tab GMW +* +* Steamware, S.E.L. +* mod: 2011.04.29 +* +****************************************/ +alter PROCEDURE stp_DtMtrx_import +( + @CodCS VARCHAR(2), + @IdxPosizione INT, + @CodSoggetto VARCHAR(17) +) +AS + +SET XACT_ABORT ON; +SET NOCOUNT ON; +/**** NON PRESENTE IN TEKAL +------------------------------------------------------------------------------------------------------ +-- leggo data ultimo import (o creo record...) +------------------------------------------------------------------------------------------------------ +DECLARE @nomeFlusso AS NVARCHAR(50) +DECLARE @lastImport AS DATETIME +DECLARE @trovati AS INT + +-- imposto valori +SET @nomeFlusso = 'DataMatrix' +SET @lastImport = DATEADD(yy,-10,GETDATE()) -- inizializzo a -10 anni ... +-- sistemo tab registrazione import... +BEGIN TRAN + -- cerco nella tab log ultima data caricamento + SET @trovati = ( + SELECT COUNT(*) + FROM logImportFlussi + WHERE NomeFlusso = @nomeFlusso + ) + -- controllo se record c'è... + IF(@trovati > 0) + BEGIN + SET @lastImport = ( SELECT LastImport FROM LogImportFlussi WHERE NomeFlusso = @nomeFlusso ) + END + ELSE + BEGIN + -- lo creo! + INSERT INTO LogImportFlussi(NomeFlusso, LastImport) + VALUES (@nomeFlusso, @lastImport) + END +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- ora gestisco il vero caricamento... +------------------------------------------------------------------------------------------------------ + -- filtro e salvo in tabella... gitterbox validi SOLO se iniziano per "U" + -- verifico già se esite già l'UDC/Gitterbox in ElencoCartellini + DECLARE @newData TABLE + ( + RowNumber int, + CodDataMatrix numeric(23, 0) , + CodGitterbox varchar(10) , + NumConchiglia int , + NumDisegno numeric(7, 0) , + EsponenteDisegno tinyint , + CodDifettoScarto varchar(5) , + InizioPreparazione smalldatetime , + FinePreparazione smalldatetime , + InizioIniezione smalldatetime , + FineIniezione smalldatetime , + MagDestinazione varchar(2) , + DataImport smalldatetime , + UDC varchar(50) + ) + INSERT INTO @newData + SELECT + ROW_NUMBER() OVER(PARTITION BY CodGitterbox ORDER BY InizioIniezione ASC), + dm.CodDataMatrix, LTRIM(RTRIM(dm.CodGitterbox)), dm.NumConchiglia, dm.NumDisegno, dm.EsponenteDisegno,dm.CodDifettoScarto, dm.InizioPreparazione, dm.FinePreparazione, dm.InizioIniezione, dm.FineIniezione, dm.MagDestinazione, dm.DataImport, + ec.UDC + FROM dbo.v_trasfDataMatrix AS dm + LEFT JOIN dbo.ElencoCartellini AS ec + ON dm.CodGitterbox = ec.UDC + WHERE DataImport > @lastImport AND LEFT(CodGitterbox, 1) = 'U' + AND CodDifettoScarto = '00' -- non importa gli scarti!!! + + /* INIZIO MODIFICA + + Note GCarlo : + + Se il Gitterbox è già stato trasferito e/o cmq già presente non viene caricato, al + limite vengono caricati i Datamatrix non ancora presenti ma con Gitterbox = EmptyGBox + + Se non trovo il Particolare in dbo.v_transcParticolari i datamatrix non vengono importati + Posso reimportarli spostando la data di import indietro in LogImportFlussi + + ATTENZIONE! Si presuppone che i DataMatrix siano coerenti ovvero stesso Particolare ecc. ecc. + */ + BEGIN TRAN; + + -- creo UDC da gitterbox nuovi ( Se UDC già presenti non li carico ) + -- GCARLO messo un RowCount prima e prendo solo il primo DataMatrix + INSERT INTO ElencoCartellini(UDC,CodCS, Particolare, DescParticolare, DisegnoGrezzo, Esponente, DataFus, Qta, + CodSoggetto, CodStato, IdxPosizione,CreateDate, ModDate, Figura, CodImballo, Tara, PesoTot, PesoCad, NumCont, TurnoFus ) + SELECT DISTINCT nd.CodGitterbox, @CodCS, tp.Particolare, an.DescParticolare, an.DisegnoGrezzo, an.EsponenteModifica + ,InizioIniezione, dbo.getNumDatamatrix(nd.CodGitterbox), @CodSoggetto As CodSoggetto, 'Fin' AS CodStato + ,@IdxPosizione, GETDATE(), GETDATE() + ,'' AS Figura, '' AS CodImballo,0 AS Tara,0 AS PesoTot,0 AS PesoCad,1 AS NumCont,0 AS TurnoFus + FROM @newData nd + INNER JOIN dbo.v_transcParticolari tp -- solo se PArticolare è presente in Trascodifica + ON nd.NumDisegno = tp.NumDisegno AND nd.EsponenteDisegno = tp.EsponenteDisegno + LEFT JOIN RilPro.AnagParticolari an -- Leggo il disegno in anagrafica + ON tp.Particolare = an.Particolare + WHERE nd.RowNumber = 1 -- Prendo solo i dati del First DataMatrix ( data iniezione ) + AND nd.UDC IS NULL -- solo Gitterbox Nuovi + + + DECLARE @udc NVARCHAR(50) + DECLARE @Particolare NVARCHAR(50) + DECLARE @NumDisegno NVARCHAR(50) + DECLARE @EsponenteDisegno NVARCHAR(50) + DECLARE @IdxCellaTo INT + DECLARE @adesso DATETIME + DECLARE @posTrovate INT + + SET @adesso = GETDATE() + SET @posTrovate = 0 + + -- indico cella UDC corrente... calcolo la prima cella della nuova posizione... + SET @IdxCellaTo = ( SELECT dbo.f_getCellaByPos(CAST(@IdxPosizione AS NVARCHAR(50))) ) + + DECLARE cursoreImport CURSOR FOR + SELECT DISTINCT CodGitterbox + FROM @newData + WHERE UDC IS NULL -- solo x Gitterbox Nuovi + + OPEN cursoreImport + FETCH NEXT FROM cursoreImport INTO @udc + + WHILE @@FETCH_STATUS = 0 + BEGIN + + -- controllo se posizione non ancora creata... + SET @posTrovate = ( SELECT COUNT(*) FROM PosizioneUdcCorrente WHERE UDC = @udc ) + IF( @posTrovate = 0) + BEGIN + INSERT INTO PosizioneUdcCorrente + VALUES (@udc, @IdxCellaTo, @CodCS, @adesso) + END + + FETCH NEXT FROM cursoreImport INTO @udc + END + + CLOSE cursoreImport + DEALLOCATE cursoreImport + + -- CARICAMENTO DATAMATRIX -- + + -- Carico i datamatrix se UDC/Gitterbox nuovi + INSERT INTO dbo.ElencoDataMatrix + SELECT nw.CodDataMatrix + ,nw.CodGitterbox + ,nw.NumConchiglia + ,nw.NumDisegno + ,nw.EsponenteDisegno + ,nw.CodDifettoScarto + ,nw.InizioPreparazione + ,nw.FinePreparazione + ,nw.InizioIniezione + ,nw.FineIniezione + ,nw.MagDestinazione + ,nw.DataImport + FROM @newData AS nw + LEFT JOIN dbo.ElencoDataMatrix AS el + ON nw.CodDataMatrix = el.CodDataMatrix + WHERE el.CodDataMatrix IS NULL -- Nuovi Datamatrix + AND nw.UDC IS NULL -- Solo per Gitterbox nuovi + + -- Se esistono Datamatrix di UDC già caricati in precedenza li inserisco ma senza + -- assegnare l'UDC ma lo metto a EmptyGBox perchè potrebbero essere UDC già spediti o + -- movimentati e dovrei anche aggiornare la giacenza in ElencoCartellini + INSERT INTO dbo.ElencoDataMatrix + SELECT nw.CodDataMatrix + ,'EmptyGBox' AS CodGitterbox + ,nw.NumConchiglia + ,nw.NumDisegno + ,nw.EsponenteDisegno + ,nw.CodDifettoScarto + ,nw.InizioPreparazione + ,nw.FinePreparazione + ,nw.InizioIniezione + ,nw.FineIniezione + ,nw.MagDestinazione + ,nw.DataImport + FROM @newData AS nw + LEFT JOIN dbo.ElencoDataMatrix AS el + ON nw.CodDataMatrix = el.CodDataMatrix + WHERE el.CodDataMatrix IS NULL + AND nw.UDC IS NOT NULL + + -- aggiorno dati ultimo caricamento + SET @lastImport = ( SELECT ISNULL(MAX(DataImport),@lastImport) FROM @newData ) + UPDATE LogImportFlussi + SET LastImport = @lastImport + WHERE NomeFlusso = @nomeFlusso + COMMIT TRAN; +*/ +RETURN +go + +commit; +go + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/***************************************** +* STORED stp_EDM_spostaDataMtx +* +* Sposta un datamatrix in un nuovo gitterbox +* +* Steamware, S.E.L. +* mod: 2011.05.05 +* +****************************************/ +alter PROCEDURE stp_EDM_spostaDataMtx +( + @CodDataMatrix NUMERIC(23), + @CodGitterbox NVARCHAR(10), + @CodSoggetto VARCHAR(17) +) +AS + +-- salvo codice gitterbox di partenza +DECLARE @CodGitterboxFrom AS NVARCHAR(10) +SET @CodGitterboxFrom = ( SELECT CodGitterbox FROM ElencoDataMatrix WHERE CodDataMatrix = @CodDataMatrix ) + +UPDATE ElencoDataMatrix +SET CodGitterbox = @CodGitterbox +WHERE CodDataMatrix = @CodDataMatrix + +-- aggiorno valori QTA gitterbox di partenza... +UPDATE ElencoCartellini +SET Qta = ( SELECT COUNT(*) FROM ElencoDataMatrix WHERE CodGitterbox = @CodGitterboxFrom ) +WHERE UDC = @CodGitterboxFrom +-- aggiorno valoti QTA gitterbox destinazione e modificatore... +UPDATE ElencoCartellini +SET Qta = ( SELECT COUNT(*) FROM ElencoDataMatrix WHERE CodGitterbox = @CodGitterbox ), CodSoggetto = @CodSoggetto, ModDate = GETDATE() +WHERE UDC = @CodGitterbox + +-- aggiorno righe liste di prelievo... +UPDATE RigheListePrelievo +SET Qta = ( SELECT COUNT(*) FROM ElencoDataMatrix WHERE CodGitterbox = @CodGitterboxFrom ) +WHERE UDC = @CodGitterboxFrom +-- aggiorno valoti QTA gitterbox destinazione... +UPDATE RigheListePrelievo +SET Qta = ( SELECT COUNT(*) FROM ElencoDataMatrix WHERE CodGitterbox = @CodGitterbox ) +WHERE UDC = @CodGitterbox + +-- select finale! +SELECT * +FROM ElencoDataMatrix +WHERE CodDataMatrix = @CodDataMatrix + +RETURN +go + +commit; +go + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/***************************************** +* STORED stp_EDM_svuotaGitterbox +* +* Elimina il codice gitterbox dai datamatrix associati (svuotandolo...) +* +* Steamware, S.E.L. +* mod: 2011.05.06 +* +****************************************/ +alter PROCEDURE stp_EDM_svuotaGitterbox +( + @CodGitterbox NVARCHAR(10), + @CodSoggetto VARCHAR(17) +) +AS + +UPDATE ElencoDataMatrix +SET CodGitterbox = 'EmptyGBox' +WHERE CodGitterbox = @CodGitterbox + +-- aggiorno valoti QTA gitterbox originale... +UPDATE ElencoCartellini +SET Qta = ( SELECT COUNT(*) FROM ElencoDataMatrix WHERE CodGitterbox = @CodGitterbox ) +WHERE UDC = @CodGitterbox +-- aggiorno valoti QTA gitterbox 'EmptyGBox +UPDATE ElencoCartellini +SET Qta = ( SELECT COUNT(*) FROM ElencoDataMatrix WHERE CodGitterbox = 'EmptyGBox' ), CodSoggetto = @CodSoggetto, ModDate = GETDATE() +WHERE UDC = 'EmptyGBox' + +-- aggiorno righe liste di prelievo... +UPDATE RigheListePrelievo +SET Qta = ( SELECT COUNT(*) FROM ElencoDataMatrix WHERE CodGitterbox = @CodGitterbox ) +WHERE UDC = @CodGitterbox + + + +RETURN +go + +commit; +go + + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/*************************************** +* STORED stp_prtCartAnimeByUDC +* +* ottiene il record del Cartellino ANIME dato l'UDC richiesto x la stampa +* +* Steamware, G.A.R. +* mod: 2012.02.27 +* +****************************************/ +alter PROCEDURE stp_prtCartAnimeByUDC +( + @UDC NVARCHAR(50) +) +AS + + -- estraggo i trattamenti nelle note ( x max 10 trattamenti ) + -- NON SERVE PER I CARTELLINI ANIME MA TENGO DATASET IDENTICO + DECLARE @tmp NVARCHAR(500) + DECLARE @NoteTratt NVARCHAR(500) + SET @NoteTratt = '' + + -- 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; +go + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/*************************************** +* STORED stp_rappQualAssociaUdc +* +* Associa l'UDC (creato) ad un rapp qualità di AS esistente SOLO SE UDC è NULL +* +* Steamware, S.E.L. +* mod: 2010.09.23 +* +****************************************/ +alter PROCEDURE stp_rappQualAssociaUdc +( + @ProgUDC NVARCHAR(10), + @UDC NVARCHAR(50) +) +AS + UPDATE RilPro.RapQual + SET UDC = @UDC + WHERE (ProgUDC = @ProgUDC) AND (UDC IS NULL) + + -- restituisce la riga aggiornata + SELECT * + FROM RilPro.RapQual + WHERE ProgUDC = @ProgUDC + +RETURN +go + +commit; +go + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/*************************************** +* STORED stp_rappQualGetByUDC +* +* Ottiene l'elenco dei record di rapp qualità di AS dato UDC +* +* Steamware, S.E.L. +* mod: 2011.03.30 +* +****************************************/ +alter PROCEDURE stp_rappQualGetByUDC +( + @UDC NVARCHAR(50) +) +AS + -- restituisce le righe richieste + SELECT * + FROM RilPro.RapQual + WHERE (UDC = @UDC) + +RETURN +go + +commit; +go + + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/*************************************** +* STORED stp_rettMovAs400 +* +* inserisce nella tabella per i trasferimenti batch verso magazzino AS una quantità di rettifica (con segno - )per UDC eventualmente già scaricati a sistema +* +* Steamware, S.E.L. +* mod: 2010.11.02 +* +****************************************/ +alter PROCEDURE stp_rettMovAs400 +( + @Particolare NVARCHAR(50), + @UDC NVARCHAR(50), + @CodMagAS NVARCHAR(50), + @Qta DECIMAL(10,2), + @CodEvento NVARCHAR(10) +) +AS + +BEGIN + + INSERT INTO AS400_BatchMovimenti(DataIns, CodEvento, Particolare, UDC, CodMagAS, Quantita) + VALUES (GETDATE(), @CodEvento, @Particolare, @UDC, @CodMagAS, -@Qta) + +END + +RETURN +go + +commit; +go + + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/*************************************** +* STORED stp_riattivaUdc +* +* riattiva un dato UDC (da mag consumato negativo a corrispettivo positivo) --> se era positivo NON FA NULLA!!! (perchè uso ABS e controllo sia < 0) +* +* Steamware, S.E.L. +* mod: 2010.11.04 +* +****************************************/ +alter PROCEDURE stp_riattivaUdc +( + @UDC VARCHAR(50), + @CodSoggetto NVARCHAR(17) +) +AS + +DECLARE @CodEvento VARCHAR(10) +DECLARE @CodTipoDichiaraz VARCHAR(1) +DECLARE @IdxCella INT +DECLARE @CodCs NVARCHAR(2) + +SET @CodEvento = 'UDC_RIA' +SET @CodTipoDichiaraz = 'U' + +BEGIN TRAN + + -- faccio update posizione + UPDATE ElencoCartellini + SET IdxPosizione = ABS(IdxPosizione), ModDate=GETDATE(), CodSoggetto = @CodSoggetto + WHERE UDC = @UDC AND IdxPosizione IN (SELECT IdxPosizione FROM AnagPosizioni WHERE (IsRiattivaEnabled = 1) +) + + -- lo elimino da eventuali precedenti liste di prelievo sennò poi non potrei + prelevarlo + DELETE FROM RigheListePrelievo + WHERE UDC = @UDC + + -- imposto posizione CELLA corrente x l'udc nella prima libera + SET @IdxCella = (SELECT c.IdxCella FROM Celle c inner join Blocchi b ON c.IdxBlocco=b.IdxBlocco INNER JOIN ElencoCartellini e ON b.CodMag = CAST(e.IdxPosizione AS NVARCHAR(50)) WHERE e.UDC = @UDC) + SET @CodCs = (SELECT CodCs FROM ElencoCartellini WHERE UDC = @UDC) + INSERT INTO PosizioneUdcCorrente + VALUES(@Udc, @IdxCella, @CodCs, GETDATE()) + + +COMMIT TRAN + +RETURN +go + +commit; +go + + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/*************************************** +* STORED stp_sbloccaUdc +* +* sblocca un dato UDC per modifica +* +* Steamware, S.E.L. +* mod: 2010.04.28 +* +****************************************/ +alter PROCEDURE stp_sbloccaUdc +( + @UDC VARCHAR(50), + @CodSoggetto NVARCHAR(17) +) +AS + +DECLARE @CodEvento VARCHAR(10) +DECLARE @CodTipoDichiaraz VARCHAR(1) + +SET @CodEvento = 'UDC_SBL' +SET @CodTipoDichiaraz = 'U' + +BEGIN TRAN + + -- faccio update + UPDATE ElencoCartellini + SET ModDate = GETDATE(), CodSoggetto = @CodSoggetto + WHERE UDC = @UDC + +COMMIT TRAN + +RETURN +go + +commit; +go + + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +-- Batch submitted through debugger: GMW_00401.sql|679|0|C:\Progetti\GMW\2011-12-14 vers test 401\Vers 401\GMW_00401.sql + +/*************************************** +* STORED stp_scaricaUdc +* +* elimina dalle posizioni correnti un UDC, salvandone la posizione precedente nella tab storica (per scaricamento / spedizione) +* +* Steamware, S.E.L. +* mod: 2010.09.28 +* +****************************************/ +alter PROCEDURE stp_scaricaUdc +( + @UDC VARCHAR(50), + @IdxPosizione INT +) +AS + +BEGIN TRAN + -- libero la posizione attuale dell'UDC (se c'è...) + DELETE + FROM PosizioneUdcCorrente + WHERE UDC = @UDC + + -- aggiorno l'UDC come posizione finale... + UPDATE ElencoCartellini + SET IdxPosizione = @IdxPosizione, ModDate = GETDATE() + WHERE UDC = @UDC + +COMMIT TRAN + +RETURN +go + +commit; +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 + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/*************************************** +* STORED stp_updateByBilancia +* +* aggiorna i dati a partire dalla segnalazione conteggio pezzi della bilancia +* +* Steamware, S.E.L. +* mod: 2010.03.19 +* +****************************************/ +alter PROCEDURE stp_updateByBilancia +( + @CodCompany VARCHAR(4), + @UDC VARCHAR(50), + @CodArticolo VARCHAR(50), + @qta INT +) +AS + +------------------------------------------------------------------------------------------------------ +-- Articoli +------------------------------------------------------------------------------------------------------ +DECLARE @numArt AS INT +-- controllo se esista il cod articolo o lo creo +SET @numArt = ( + SELECT count(*) + FROM AnagArticoli + WHERE CodArticolo = @CodArticolo +) +-- ...sennò lo creo... +IF(@numArt = 0) + BEGIN + INSERT INTO AnagArticoli(CodArticolo, DescrArticolo, Figura) + VALUES (@CodArticolo, @CodArticolo, 'ND') + END +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- ODP = articolo +------------------------------------------------------------------------------------------------------ +DECLARE @numOdp AS INT +-- controllo se esiste l'ODP = articolo... +SET @numOdp = ( + SELECT count(*) + FROM AnagOdp + WHERE CodCompany = @CodCompany + AND ODP = @CodArticolo +) +-- ...sennò lo creo... +IF(@numOdp = 0) + BEGIN + -- se c'è inserisco in tab + INSERT INTO AnagOdp(CodCompany, ODP, CodArticolo, Esponente, CodDisegno, Magazzino, Ubicazione, CreateDate, ModDate) + VALUES (@CodCompany, @CodArticolo, @CodArticolo, 'ND', 'ND', 'WIP', 'ND', GETDATE(), GETDATE()) + END +------------------------------------------------------------------------------------------------------ + + +------------------------------------------------------------------------------------------------------ +-- UDC +------------------------------------------------------------------------------------------------------ +-- aggiorno lo stato UDC +UPDATE TabStatoOdpUdc +SET Qta = @Qta, ODP = @CodArticolo +WHERE UDC = @UDC +------------------------------------------------------------------------------------------------------ + + +------------------------------------------------------------------------------------------------------ +-- restituisco la tab dati con l'udc appena inserit0 +------------------------------------------------------------------------------------------------------ +SELECT * +FROM TabStatoOdpUdc +WHERE UDC = @UDC +------------------------------------------------------------------------------------------------------ + +RETURN +go + +commit; +go + + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/*************************************** +* STORED stp_elencoPostaziont_getByCod +* +* ottiene il una postazione dato il codice +* +* Steamware, S.E.L. +* mod: 2010.11.17 +* +****************************************/ +create PROCEDURE stp_elencoPostaziont_getByCod +( + @codPostazione NVARCHAR(250) +) +AS + +SELECT * +FROM ElencoPostazioni +WHERE codPostazione = @codPostazione + +RETURN +go + +commit; +go + + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/***************************************** +* STORED stp_RQN_getByRQ +* +* Recupera dati Rapporto Qualità + note da cod rapporto qualità +* +* Steamware, S.E.L. +* mod: 2012.02.14 +* +****************************************/ +create PROCEDURE stp_RQN_getByRQ +( + @nRapQual NUMERIC(6,0) +) +AS + +SELECT nRapQual, DataRapQual, ProgUDC, CodFor, DestTerz, CodLega, DataPrelFus, TurnoPrelFus, Qta, DestLega, LegaScaric, BenesQual, UDC, Note +FROM v_RapQualNote +WHERE (nRapQual = @nRapQual) + +RETURN +go + +commit; +go + + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +-- Batch submitted through debugger: GMW_00401.sql|723|0|C:\Progetti\GMW\2011-12-14 vers test 401\Vers 401\GMW_00401.sql + +/*************************************** +* STORED stp_UDC_associaParent +* +* crea un nuovo record nella di associazione UDC/parent +* +* Steamware, S.E.L. +* mod: 2011.12.06 +* +****************************************/ +create PROCEDURE stp_UDC_associaParent +( + @UDC NVARCHAR(50), + @UDC_parent NVARCHAR(50) +) +AS + + -- elimino partent vuoti... + DELETE + FROM RelazUDC + WHERE ISNULL(UDC_parent,'') = '' + -- inserisco relazione parent-child tra UDC vecchio (tara) e nuovo (pesa) + INSERT INTO RelazUDC(UDC_parent, UDC_child) + VALUES (@UDC_parent, @UDC) + +RETURN +go + +commit; +go + + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/*************************************** +* STORED stp_UDC_getLast_ByParticolare +* +* elenco cartellini ULTIMO creati x particolare +* +* Steamware, S.E.L. +* mod: 2011.11.14 +* +****************************************/ +create PROCEDURE stp_UDC_getLast_ByParticolare +( + @CodCS VARCHAR(2), + @Particolare VARCHAR(15) +) +AS + + -- prendo ultimo UDC creato x il particolare + SELECT TOP 1 * FROM ElencoCartellini + WHERE (Particolare= @Particolare) AND CodCs = @CodCS + ORDER BY CreateDate DESC + +RETURN +go + +commit; +go + + +set ANSI_NULLS on; +go + +/*************************************** +* FUNCTION f_padLeft +* +* fornisce una stringa della lunghezza desiderata aggiungendo a sx il carattere richiesto alla @string originale +* +* Steamware, S.E.L. +* mod: 2010.03.19 +* +****************************************/ +create FUNCTION f_padRight (@string VARCHAR(255), @desired_length INTEGER, @pad_character CHAR(1)) +RETURNS VARCHAR(255) AS +BEGIN + + -- Prefix the required number of spaces to bulk up the string and then replace the spaces with the desired character + RETURN CASE + WHEN LEN(@string) < @desired_length + THEN @string + REPLACE(SPACE(@desired_length - LEN(@string)), ' ', @pad_character) + ELSE @string + END + +END +go + + + + diff --git a/GMW_data/SqlScripts/V1.2/GMW_410_TEKAL/03-Da TK_GMWTEst 395 a 409 VISTE.sql b/GMW_data/SqlScripts/V1.2/GMW_410_TEKAL/03-Da TK_GMWTEst 395 a 409 VISTE.sql new file mode 100644 index 00000000..772b9c57 --- /dev/null +++ b/GMW_data/SqlScripts/V1.2/GMW_410_TEKAL/03-Da TK_GMWTEst 395 a 409 VISTE.sql @@ -0,0 +1,181 @@ +-- *========================================================================================== +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +alter VIEW v_UdcDetail +AS +SELECT dbo.ElencoCartellini.UDC, ISNULL(dbo.ElencoCartellini.RagSociale, N'') AS RagSociale, ISNULL(dbo.ElencoCartellini.Particolare, N'') AS Particolare, + ISNULL(dbo.ElencoCartellini.DescParticolare, N'') AS DescParticolare, ISNULL(dbo.ElencoCartellini.DisegnoGrezzo, N'') AS DisegnoGrezzo, + ISNULL(dbo.ElencoCartellini.Esponente, N'') AS Esponente, ISNULL(dbo.ElencoCartellini.DescImpianto, N'') AS DescImpianto, ISNULL(dbo.ElencoCartellini.DataFus, + N'') AS DataFus, ISNULL(dbo.ElencoCartellini.TurnoFus, 0) AS TurnoFus, dbo.ElencoCartellini.CodImballo, dbo.ElencoCartellini.Qta, + ISNULL(dbo.AnagStatiProdotto.DescStato, N'') AS DescStato, dbo.ElencoCartellini.ModDate, ISNULL(dbo.Blocchi.CodMag, N'') AS CodMag, + ISNULL(dbo.Blocchi.CodBlocco, N'') AS CodBlocco, ISNULL(dbo.Celle.CodCella, N'') AS CodCella, ISNULL(dbo.Celle.IdxCella, 0) AS IdxCella, ISNULL(dbo.Celle.X, 0) + AS X, ISNULL(dbo.Celle.Y, 0) AS Y, ISNULL(dbo.Celle.Z, 0) AS Z, dbo.ElencoCartellini.IdxPosizione, dbo.ElencoCartellini.Note +FROM dbo.AnagStatiProdotto RIGHT OUTER JOIN + dbo.ElencoCartellini ON dbo.AnagStatiProdotto.CodStato = dbo.ElencoCartellini.CodStato AND + dbo.AnagStatiProdotto.CodStato = dbo.ElencoCartellini.CodStato LEFT OUTER JOIN + dbo.Celle INNER JOIN + dbo.PosizioneUdcCorrente ON dbo.Celle.IdxCella = dbo.PosizioneUdcCorrente.IdxCella AND dbo.Celle.IdxCella = dbo.PosizioneUdcCorrente.IdxCella AND + dbo.Celle.IdxCella = dbo.PosizioneUdcCorrente.IdxCella INNER JOIN + dbo.Blocchi ON dbo.Celle.IdxBlocco = dbo.Blocchi.IdxBlocco INNER JOIN + dbo.AnagMag ON dbo.Blocchi.CodMag = dbo.AnagMag.CodMag AND dbo.Blocchi.CodCS = dbo.AnagMag.CodCS AND + dbo.Blocchi.CodMag = dbo.AnagMag.CodMag AND dbo.Blocchi.CodCS = dbo.AnagMag.CodCS AND dbo.Blocchi.CodMag = dbo.AnagMag.CodMag AND + dbo.Blocchi.CodCS = dbo.AnagMag.CodCS ON dbo.ElencoCartellini.UDC = dbo.PosizioneUdcCorrente.UDC +go + +exec sp_updateextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "AnagStatiProdotto" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 101 + Right = 208 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "ElencoCartellini" + Begin Extent = + Top = 6 + Left = 246 + Bottom = 309 + Right = 416 + End + DisplayFlags = 280 + TopColumn = 12 + End + Begin Table = "Celle" + Begin Extent = + Top = 27 + Left = 818 + Bottom = 156 + Right = 988 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "PosizioneUdcCorrente" + Begin Extent = + Top = 71 + Left = 548 + Bottom = 200 + Right = 718 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "Blocchi" + Begin Extent = + Top = 70 + Left = 1080 + Bottom = 199 + Right = 1250 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "AnagMag" + Begin Extent = + Top = 188 + Left = 799 + Bottom = 334 + Right = 969 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 22 + Width = 284 + Width = 15', 'SCHEMA', 'dbo', 'VIEW', 'v_UdcDetail'; +go + +commit; +go + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(415, GETDATE()) + +-- *========================================================================================== \ No newline at end of file diff --git a/GMW_data/SqlScripts/V1.2/GMW_410_TEKAL/GMW_00410.sql b/GMW_data/SqlScripts/V1.2/GMW_410_TEKAL/GMW_00410.sql new file mode 100644 index 00000000..378945b2 --- /dev/null +++ b/GMW_data/SqlScripts/V1.2/GMW_410_TEKAL/GMW_00410.sql @@ -0,0 +1,5 @@ +-- se eseguiti gli script TEKAL 409 faccio pure questo che è vuoto e vers 410 = tekal updated + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(410, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V1.2/GMW_410_TEKAL/SincVocabolario_TK_409.sql b/GMW_data/SqlScripts/V1.2/GMW_410_TEKAL/SincVocabolario_TK_409.sql new file mode 100644 index 00000000..09073d0b --- /dev/null +++ b/GMW_data/SqlScripts/V1.2/GMW_410_TEKAL/SincVocabolario_TK_409.sql @@ -0,0 +1,90 @@ +/* + + SINCRONIZZAZIONE VOCABOLARIO S.POSSIDONIO -> TEKAL + +*/ + +USE TK_Vocabolario; + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'Batch', N'N.Batch') +go + +commit transaction +go + + + +/* + + DA FARE SIA SU TEKAL CHE SAN POSSIDONIO + + +*/ + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'erroreUdcConsumato', N'ERRORE!!! UDC già consumato!') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'erroreUdcSenzaBenestare', N'ERRORE!!! benestare qualità non disponibile per UDC indicato!') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'lblGeneraListe', N'Crea LDP') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'lblParticolari', N'Num Particolari') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'lblResetListe', N'Reset procedura') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'lblTotColli', N'Tot. Colli') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'PostAnime', N'Postazione Anime') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'PostAnimeExpl', N'Postazione creazione cartellini Anime') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'SmartList', N'Smart List') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'UdcArrivo', N'UDC arrivo') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'UdcPartenza', N'UDC partenza') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'erroreUdcConsumato', N'ERRORE!!! UDC già consumato!') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'erroreUdcSenzaBenestare', N'ERRORE!!! benestare qualità non disponibile per UDC indicato!') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'lblGeneraListe', N'Crea LDP') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'lblParticolari', N'Num Particolari') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'lblResetListe', N'Reset procedura') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'lblTotColli', N'Tot. Colli') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'PostAnime', N'Postazione Anime') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'PostAnimeExpl', N'Postazione creazione cartellini Anime') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'SmartList', N'Smart List') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'UdcArrivo', N'UDC arrivo') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'UdcPartenza', N'UDC partenza') +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'XPS_Appl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'XPS_LongWelcome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'XPS_ShortWelcome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'XPS_titleApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'XPS_welcomeApp' +go + +commit transaction +go diff --git a/GMW_data/SqlScripts/V1.2/GMW_410_TEKAL/Sincroniz da TK_GMWTest a TK_GMW NON USARE.txt b/GMW_data/SqlScripts/V1.2/GMW_410_TEKAL/Sincroniz da TK_GMWTest a TK_GMW NON USARE.txt new file mode 100644 index 00000000..8e6878dc --- /dev/null +++ b/GMW_data/SqlScripts/V1.2/GMW_410_TEKAL/Sincroniz da TK_GMWTest a TK_GMW NON USARE.txt @@ -0,0 +1,3559 @@ +/* +Run this script on: + + SRV-PRODTK01.TK_GMW - This database will be modified + +to synchronize it with: + + SRV-PRODTK01.TK_GMWTest + +You are recommended to back up your database before running this script + +Script created by SQL Compare version 9.0.0 from Red Gate Software Ltd at 01/03/2012 11.52.00 + +*/ +SET NUMERIC_ROUNDABORT OFF +GO +SET ANSI_PADDING, ANSI_WARNINGS, CONCAT_NULL_YIELDS_NULL, ARITHABORT, QUOTED_IDENTIFIER, ANSI_NULLS ON +GO +IF EXISTS (SELECT * FROM tempdb..sysobjects WHERE id=OBJECT_ID('tempdb..#tmpErrors')) DROP TABLE #tmpErrors +GO +CREATE TABLE #tmpErrors (Error int) +GO +SET XACT_ABORT ON +GO +SET TRANSACTION ISOLATION LEVEL SERIALIZABLE +GO +BEGIN TRANSACTION +GO +PRINT N'Dropping constraints from [dbo].[Odette]' +GO +ALTER TABLE [dbo].[Odette] DROP CONSTRAINT [PK_Odette] +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Dropping index [i_UDC] from [dbo].[Odette_storico]' +GO +DROP INDEX [i_UDC] ON [dbo].[Odette_storico] +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Altering [dbo].[ElencoCartellini]' +GO +ALTER TABLE [dbo].[ElencoCartellini] ADD +[Note] [nvarchar] (500) COLLATE Latin1_General_CI_AS NULL +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Altering [RilPro].[AnagParticolari]' +GO +ALTER TABLE [RilPro].[AnagParticolari] ADD +[ClassifArticolo] [nchar] (1) COLLATE Latin1_General_CI_AS NULL +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Refreshing [dbo].[v_selUdcByPart]' +GO +EXEC sp_refreshview N'[dbo].[v_selUdcByPart]' +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Altering [dbo].[stp_rettMovAs400]' +GO + +/*************************************** +* STORED stp_rettMovAs400 +* +* inserisce nella tabella per i trasferimenti batch verso magazzino AS una quantità di rettifica (con segno - )per UDC eventualmente già scaricati a sistema +* +* Steamware, S.E.L. +* mod: 2010.11.02 +* +****************************************/ +ALTER PROCEDURE [dbo].[stp_rettMovAs400] +( + @Particolare NVARCHAR(50), + @UDC NVARCHAR(50), + @CodMagAS NVARCHAR(50), + @Qta DECIMAL(10,2), + @CodEvento NVARCHAR(10) +) +AS + +BEGIN + + INSERT INTO AS400_BatchMovimenti(DataIns, CodEvento, Particolare, UDC, CodMagAS, Quantita) + VALUES (GETDATE(), @CodEvento, @Particolare, @UDC, @CodMagAS, -@Qta) + +END + +RETURN +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Refreshing [dbo].[V_ParticolariOverview]' +GO +EXEC sp_refreshview N'[dbo].[V_ParticolariOverview]' +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Altering [dbo].[stp_scaricaUdc]' +GO + +-- Batch submitted through debugger: GMW_00401.sql|679|0|C:\Progetti\GMW\2011-12-14 vers test 401\Vers 401\GMW_00401.sql + +/*************************************** +* STORED stp_scaricaUdc +* +* elimina dalle posizioni correnti un UDC, salvandone la posizione precedente nella tab storica (per scaricamento / spedizione) +* +* Steamware, S.E.L. +* mod: 2010.09.28 +* +****************************************/ +ALTER PROCEDURE [dbo].[stp_scaricaUdc] +( + @UDC VARCHAR(50), + @IdxPosizione INT +) +AS + +BEGIN TRAN + -- libero la posizione attuale dell'UDC (se c'è...) + DELETE + FROM PosizioneUdcCorrente + WHERE UDC = @UDC + + -- aggiorno l'UDC come posizione finale... + UPDATE ElencoCartellini + SET IdxPosizione = @IdxPosizione, ModDate = GETDATE() + WHERE UDC = @UDC + +COMMIT TRAN + +RETURN +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Altering [dbo].[stp_sbloccaUdc]' +GO + +/*************************************** +* STORED stp_sbloccaUdc +* +* sblocca un dato UDC per modifica +* +* Steamware, S.E.L. +* mod: 2010.04.28 +* +****************************************/ +ALTER PROCEDURE [dbo].[stp_sbloccaUdc] +( + @UDC VARCHAR(50), + @CodSoggetto NVARCHAR(17) +) +AS + +DECLARE @CodEvento VARCHAR(10) +DECLARE @CodTipoDichiaraz VARCHAR(1) + +SET @CodEvento = 'UDC_SBL' +SET @CodTipoDichiaraz = 'U' + +BEGIN TRAN + + -- faccio update + UPDATE ElencoCartellini + SET ModDate = GETDATE(), CodSoggetto = @CodSoggetto + WHERE UDC = @UDC + +COMMIT TRAN + +RETURN +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Altering [dbo].[stp_UDC_updateQty]' +GO + +/*************************************** +* STORED stp_UDC_updateQty +* +* aggiorna un cartellino x la sua quantità +* +* Steamware, S.E.L. +* mod: 2010.06.12 +* +****************************************/ +ALTER PROCEDURE [dbo].[stp_UDC_updateQty] +( + @UDC VARCHAR(50), + @CodSoggetto VARCHAR(17), + @CodTipoDichiaraz CHAR(1), + @CodEvento VARCHAR(10), + @Qta DECIMAL(10,2) +) +AS + + +------------------------------------------------------------------------------------------------------ +-- Ciclo principale x edit record +------------------------------------------------------------------------------------------------------ +BEGIN TRAN + + -- modifico il record + UPDATE ElencoCartellini + SET Qta = @Qta, ModDate = GETDATE() + WHERE UDC = @UDC + +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- restituisco la tab dati con l'udc appena inserito +------------------------------------------------------------------------------------------------------ +SELECT * +FROM ElencoCartellini +WHERE UDC = @UDC +------------------------------------------------------------------------------------------------------ + +RETURN +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Altering [dbo].[StoricoCartellini]' +GO +ALTER TABLE [dbo].[StoricoCartellini] ADD +[Note] [nvarchar] (500) COLLATE Latin1_General_CI_AS NULL +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Refreshing [dbo].[v_specParticolari]' +GO +EXEC sp_refreshview N'[dbo].[v_specParticolari]' +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Altering [dbo].[stp_rappQualAssociaUdc]' +GO + +/*************************************** +* STORED stp_rappQualAssociaUdc +* +* Associa l'UDC (creato) ad un rapp qualità di AS esistente SOLO SE UDC è NULL +* +* Steamware, S.E.L. +* mod: 2010.09.23 +* +****************************************/ +ALTER PROCEDURE [dbo].[stp_rappQualAssociaUdc] +( + @ProgUDC NVARCHAR(10), + @UDC NVARCHAR(50) +) +AS + UPDATE RilPro.RapQual + SET UDC = @UDC + WHERE (ProgUDC = @ProgUDC) AND (UDC IS NULL) + + -- restituisce la riga aggiornata + SELECT * + FROM RilPro.RapQual + WHERE ProgUDC = @ProgUDC + +RETURN +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Refreshing [dbo].[v_AnagDatiParticolari]' +GO +EXEC sp_refreshview N'[dbo].[v_AnagDatiParticolari]' +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Altering [dbo].[stp_annullaUDC]' +GO + +/*************************************** +* STORED stp_annullaUDC +* +* annulla un UDC +* +* Steamware, S.E.L. +* mod: 2010.04.28 +* +****************************************/ +ALTER PROCEDURE [dbo].[stp_annullaUDC] +( + @UDC VARCHAR(50), + @CodSoggetto VARCHAR(17) +) +AS + +BEGIN TRAN + + -- faccio update + UPDATE ElencoCartellini + SET IdxPosizione = 0, ModDate = GETDATE() + WHERE UDC = @UDC + + +COMMIT TRAN + +RETURN +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Refreshing [dbo].[v_trasfDataMatrix]' +GO +EXEC sp_refreshview N'[dbo].[v_trasfDataMatrix]' +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Altering [dbo].[stp_rappQualGetByUDC]' +GO + +/*************************************** +* STORED stp_rappQualGetByUDC +* +* Ottiene l'elenco dei record di rapp qualità di AS dato UDC +* +* Steamware, S.E.L. +* mod: 2011.03.30 +* +****************************************/ +ALTER PROCEDURE [dbo].[stp_rappQualGetByUDC] +( + @UDC NVARCHAR(50) +) +AS + -- restituisce le righe richieste + SELECT * + FROM RilPro.RapQual + WHERE (UDC = @UDC) + +RETURN +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Refreshing [dbo].[v_righePrelevate]' +GO +EXEC sp_refreshview N'[dbo].[v_righePrelevate]' +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Creating [dbo].[stp_prtCartAnimeByUDC]' +GO + +/*************************************** +* STORED stp_prtCartAnimeByUDC +* +* ottiene il record del Cartellino ANIME dato l'UDC richiesto x la stampa +* +* Steamware, G.A.R. +* mod: 2012.02.27 +* +****************************************/ +CREATE PROCEDURE [dbo].[stp_prtCartAnimeByUDC] +( + @UDC NVARCHAR(50) +) +AS + + -- estraggo i trattamenti nelle note ( x max 10 trattamenti ) + -- NON SERVE PER I CARTELLINI ANIME MA TENGO DATASET IDENTICO + DECLARE @tmp NVARCHAR(500) + DECLARE @NoteTratt NVARCHAR(500) + SET @NoteTratt = '' + + -- 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 +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Creating [dbo].[v_RapQualNote]' +GO + +create VIEW [dbo].[v_RapQualNote] +AS +SELECT rq.nRapQual, rq.DataRapQual, rq.ProgUDC, rq.CodFor, rq.DestTerz, rq.CodLega, rq.DataPrelFus, rq.TurnoPrelFus, rq.Qta, rq.DestLega, rq.LegaScaric, rq.BenesQual, + rq.UDC, ISNULL(ec.Note, N'') AS Note +FROM dbo.ElencoCartellini AS ec INNER JOIN + RilPro.RapQual AS rq ON ec.UDC = rq.UDC +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Creating [dbo].[stp_UDC_updateNoteByRQ]' +GO + +/***************************************** +* STORED stp_UDC_updateNoteByRQ +* +* Aggiorna note UDC dato il rapp di qualità cui sono legate +* +* Steamware, S.E.L. +* mod: 2012.02.14 +* +****************************************/ +create PROCEDURE [dbo].[stp_UDC_updateNoteByRQ] +( + @nRapQual NUMERIC(6,0), + @note NVARCHAR(500) +) +AS + +UPDATE ElencoCartellini +SET note = @note +FROM ElencoCartellini AS ec INNER JOIN v_RapQualNote AS rq ON ec.UDC = rq.UDC +WHERE (rq.nRapQual = @nRapQual) + +RETURN +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Creating [dbo].[stp_prtCartLiquidi_F18ByUDC]' +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 +* +****************************************/ +create PROCEDURE [dbo].[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 +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Creating [dbo].[stp_prtCartLiquidi_F10ByUDC]' +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 +* +****************************************/ +create PROCEDURE [dbo].[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 +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Creating [dbo].[stp_UDC_delete_byRdQ_NEW]' +GO + +/***************************************** +* STORED stp_UDC_delete_byRdQ +* +* Elimina gli UDC associati ad un rapporto di qualità dato rapporto qualità +* +* Steamware, S.E.L. +* mod: 2012.02.14 +* +****************************************/ +create PROCEDURE [dbo].[stp_UDC_delete_byRdQ_NEW] +( + @nRapQual NUMERIC(6,0), + @ExecBatchInter BIT = 0 -- 0 Eseguita in Batch , 1 in Interattivo +) +AS + +-- NON USATA **** +-- NUOVA VERSIONE X VERIFICARE NEL CASO SIA ESEGUITA IN UNA TRANSAZIONE PRECEDENTE --- NON USATA + +-- Attenzione!!! Cancella tutti i cartellini degli UDC materia prima del rapporto qualità anche se sono scaricati +-- comunque sono presenti nello StoricoCartellini ( perdo però a che RapportoQualità facevano riferimento, mettere riferimento nelle note? ) + +/*--------------------------------------- +- Query x eliminazione UDC e tab +- collegate dato un Rapp di Qualità +---------------------------------------*/ + +/* NON FUNZIONA A CAUSA DEI TRIGGER +WITH cte AS -- Tutti i cartellini su AS400 annullati che hanno un cartellino in RilPro +( + SELECT r.UDC + FROM RilPro.RapQual AS r + INNER JOIN dbo.ElencoCartellini AS e + ON r.UDC = e.UDC + WHERE r.BenesQual = 'A' +) + -- Cancello la posizione degli UDC a magazzino + DELETE dbo.PosizioneUdcCorrente + FROM dbo.PosizioneUdcCorrente AS P + INNER JOIN RilPro.RapQual AS r + ON p.UDC = r.UDC + WHERE r.nRapQual = @nRapQual + -- SELECT * FROM dbo.PosizioneUdcCorrente WHERE r.nRapQual = @nRapQual + + -- Se non sono ancora scaricati cancello il record movimento di scarico materia prima + DELETE dbo.AS400_BatchConsumoMP + FROM dbo.AS400_BatchConsumoMP AS b + INNER JOIN RilPro.RapQual AS r + ON b.UDC = r.UDC + WHERE r.nRapQual = @nRapQual AND b.DataInvioAs IS NULL + + SELECT * FROM dbo.AS400_BatchConsumoMP + + -- Cancellazione Cartellini Materia Prima di un Rapporto qualità + SELECT * FROM dbo.ElencoCartellini +*/ + +SET NOCOUNT ON; +SET ANSI_NULLS OFF; +SET XACT_ABORT ON; -- Se c'è un errore fa il rollback di tutta la transazione e non solo quella in errore +SET LOCK_TIMEOUT 600000; -- 10 min - Setto il tempo massimo di attesa del lock della tabella che è valido solo per la durata + -- della connessione e di default è settato a -1 (infinito). ATTENZIONE che se viene dato un errore + -- di lock deve essere controllato + +IF @ExecBatchInter = 1 -- Se interattiva diminuisco il tempo di lock massimo a 15 sec + SET LOCK_TIMEOUT 15000; + + DECLARE @TRAN AS INT, @State AS INT ; + SET @TRAN = @@TRANCOUNT; SET @State = XACT_STATE(); + +-- Se per il rapporto qualità esiste almeno un cartellino UDC +IF ( SELECT COUNT(UDC) FROM RilPro.RapQual WHERE nRapQual = @nRapQual ) > 0 +BEGIN + BEGIN TRY; + BEGIN TRANSACTION; + + -- ===================================================== + -- Cancella tutti gli UDC di un RQ + -- ===================================================== + SELECT ROW_NUMBER() OVER (ORDER BY UDC) AS Riga,UDC + INTO #Temp + FROM RilPro.RapQual + WHERE nRapQual = @nRapQual; -- Rapporto di qualità da cancellare + + DECLARE @Riga AS INT = 1 + ,@Fine AS INT = 0 + ,@UDC nVarchar(50); + + SELECT @Fine = MAX(Riga) FROM #Temp; + + WHILE @Riga <= @Fine + BEGIN + -- Leggo UDC da cancellare uno alla volta + SELECT @UDC = UDC FROM #Temp WHERE Riga = @Riga; + + -- ====================================================== + -- Cancella i dati del singolo UDC + -- ======================================================= + -- Attenzione che sulle cartelle ci sono dei trigger + DELETE dbo.PosizioneUdcCorrente WHERE UDC = @UDC + + DELETE dbo.RelazUDC WHERE UDC_child = @UDC + DELETE dbo.RelazUDC WHERE UDC_parent = @UDC + DELETE dbo.ElencoCartellini WHERE UDC = @UDC + + -- sgancio il cartellino AS400 da quello GMW ( cancellato ) + UPDATE RilPro.RapQual SET UDC = NULL WHERE UDC = @UDC + + --SELECT * FROM dbo.PosizioneUdcCorrente WHERE UDC = @UDC + --SELECT * FROM dbo.RelazUDC WHERE UDC_child = @UDC + --SELECT * FROM dbo.ElencoCartellini WHERE UDC = @UDC + --SELECT * FROM RilPro.RapQual WHERE UDC = @UDC + +-- IF @nRapQual = 20 Select 1/0 + -- Select 1/0 + + SET @Riga = @Riga + 1 -- Incremento contatore x UDC in tabella Temp + -- SELECT @UDC + END + + -- Se esiste la tabella #Temp la cancello + IF OBJECT_ID(N'tempdb..#Temp') IS NOT NULL + DROP TABLE #Temp; + + COMMIT TRANSACTION; + END TRY + + BEGIN CATCH; + + --IF (ERROR_NUMBER() = 1222) -- se vi è un lock per troppo tempo posso controllarlo x rieseguire + -- BEGIN; PRINT 'Tabella Bloccata'; -- Segnalo l'errore specifico di lock + -- END; + --ELSE PRINT 'Errore Generico'; -- se l'errore non è un deadlock esco dal WHILE + + IF XACT_STATE() <> 0 AND @TRAN = 0 -- solo se vi sono transazioni aperte faccio il rollback ( da verificare nel caso sia richiamato + ROLLBACK TRANSACTION -- all'interno di un'altra transazione ) + + -- Cancello La Tabella TEMP se esiste ( messo x per sicurezza ) + -- EXISTS (SELECT 1 FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE='BASE TABLE' AND TABLE_NAME='#Temp') + -- *** QUI HO IL PROBLEMA SE XACT_STATE() = -1 perchè da errore + IF OBJECT_ID(N'tempdb..#Temp') IS NOT NULL + DROP TABLE #Temp; + + -- Uso RAISERROR mandare in errore la procedura e x per tornare le info + -- sull'errore originale che ha portato l'esecuzione nel blocco CATCH + DECLARE @ErrorNumber INT; + DECLARE @ErrorMessage NVARCHAR(4000); + DECLARE @ErrorSeverity INT; + DECLARE @ErrorState INT; + SELECT @ErrorMessage = ERROR_MESSAGE(),@ErrorSeverity = ERROR_SEVERITY(),@ErrorState = ERROR_STATE(), @ErrorNumber = ERROR_NUMBER(); + + IF @ExecBatchInter = 0 -- Sollevo errore solo se richiesto dai parametri ( es. esecuzione da un Job Batch ) + RAISERROR (@ErrorMessage,@ErrorSeverity,@ErrorState); -- Se non uso RAISERROR la procedura non mi da errore es. se schedulata + + END CATCH; + +END +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Altering [dbo].[stp_prtCartByUDC]' +GO + +/*************************************** +* STORED stp_prtCartByUDC +* +* ottiene il record del Cartellino dato l'UDC richiesto x la stampa +* +* Steamware, S.E.L. +* mod: 2011.12.19 +* +****************************************/ +ALTER PROCEDURE [dbo].[stp_prtCartByUDC] +( + @UDC VARCHAR(50) +) +AS + 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 + 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 +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Creating [dbo].[ElencoPostazioni]' +GO +CREATE TABLE [dbo].[ElencoPostazioni] +( +[codPostazione] [nvarchar] (250) COLLATE Latin1_General_CI_AS NOT NULL, +[stampante] [nvarchar] (250) COLLATE Latin1_General_CI_AS NULL +) +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Creating primary key [PK_ElencoPostazioni] on [dbo].[ElencoPostazioni]' +GO +ALTER TABLE [dbo].[ElencoPostazioni] ADD CONSTRAINT [PK_ElencoPostazioni] PRIMARY KEY CLUSTERED ([codPostazione]) +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Creating [dbo].[stp_elencoPostaziont_getByCod]' +GO + +/*************************************** +* STORED stp_elencoPostaziont_getByCod +* +* ottiene il una postazione dato il codice +* +* Steamware, S.E.L. +* mod: 2010.11.17 +* +****************************************/ +create PROCEDURE [dbo].[stp_elencoPostaziont_getByCod] +( + @codPostazione NVARCHAR(250) +) +AS + +SELECT * +FROM ElencoPostazioni +WHERE codPostazione = @codPostazione + +RETURN +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Altering [dbo].[stp_UDC_updateIdxPosizione]' +GO + +/*************************************** +* STORED stp_UDC_updateIdxPosizione +* +* aggiorna un cartellino x la sua posizione logica +* +* Steamware, S.E.L. +* mod: 2010.06.12 +* +****************************************/ +ALTER PROCEDURE [dbo].[stp_UDC_updateIdxPosizione] +( + @UDC VARCHAR(50), + @IdxPosizione INT +) +AS + + +------------------------------------------------------------------------------------------------------ +-- Ciclo principale x edit record +------------------------------------------------------------------------------------------------------ +BEGIN TRAN + + -- modifico il record + UPDATE ElencoCartellini + SET IdxPosizione = @IdxPosizione, ModDate = GETDATE() + WHERE UDC = @UDC + +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- restituisco la tab dati con l'udc appena inserito +------------------------------------------------------------------------------------------------------ +SELECT * +FROM ElencoCartellini +WHERE UDC = @UDC +------------------------------------------------------------------------------------------------------ + +RETURN +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Creating [dbo].[stp_RQN_getByRQ]' +GO + +/***************************************** +* STORED stp_RQN_getByRQ +* +* Recupera dati Rapporto Qualità + note da cod rapporto qualità +* +* Steamware, S.E.L. +* mod: 2012.02.14 +* +****************************************/ +create PROCEDURE [dbo].[stp_RQN_getByRQ] +( + @nRapQual NUMERIC(6,0) +) +AS + +SELECT nRapQual, DataRapQual, ProgUDC, CodFor, DestTerz, CodLega, DataPrelFus, TurnoPrelFus, Qta, DestLega, LegaScaric, BenesQual, UDC, Note +FROM v_RapQualNote +WHERE (nRapQual = @nRapQual) + +RETURN +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Creating [dbo].[stp_UDC_associaParent]' +GO + +-- Batch submitted through debugger: GMW_00401.sql|723|0|C:\Progetti\GMW\2011-12-14 vers test 401\Vers 401\GMW_00401.sql + +/*************************************** +* STORED stp_UDC_associaParent +* +* crea un nuovo record nella di associazione UDC/parent +* +* Steamware, S.E.L. +* mod: 2011.12.06 +* +****************************************/ +create PROCEDURE [dbo].[stp_UDC_associaParent] +( + @UDC NVARCHAR(50), + @UDC_parent NVARCHAR(50) +) +AS + + -- elimino partent vuoti... + DELETE + FROM RelazUDC + WHERE ISNULL(UDC_parent,'') = '' + -- inserisco relazione parent-child tra UDC vecchio (tara) e nuovo (pesa) + INSERT INTO RelazUDC(UDC_parent, UDC_child) + VALUES (@UDC_parent, @UDC) + +RETURN +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Creating [dbo].[stp_UDC_getLast_ByParticolare]' +GO + +/*************************************** +* STORED stp_UDC_getLast_ByParticolare +* +* elenco cartellini ULTIMO creati x particolare +* +* Steamware, S.E.L. +* mod: 2011.11.14 +* +****************************************/ +create PROCEDURE [dbo].[stp_UDC_getLast_ByParticolare] +( + @CodCS VARCHAR(2), + @Particolare VARCHAR(15) +) +AS + + -- prendo ultimo UDC creato x il particolare + SELECT TOP 1 * FROM ElencoCartellini + WHERE (Particolare= @Particolare) AND CodCs = @CodCS + ORDER BY CreateDate DESC + +RETURN +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Refreshing [dbo].[v_particolariEsponenteFigura]' +GO +EXEC sp_refreshview N'[dbo].[v_particolariEsponenteFigura]' +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Refreshing [RilPro].[vDatiLineeGiornata]' +GO +EXEC sp_refreshview N'[RilPro].[vDatiLineeGiornata]' +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Altering [dbo].[v_UdcDetail]' +GO + +ALTER VIEW [dbo].[v_UdcDetail] +AS +SELECT dbo.ElencoCartellini.UDC, ISNULL(dbo.ElencoCartellini.RagSociale, N'') AS RagSociale, ISNULL(dbo.ElencoCartellini.Particolare, N'') AS Particolare, + ISNULL(dbo.ElencoCartellini.DescParticolare, N'') AS DescParticolare, ISNULL(dbo.ElencoCartellini.DisegnoGrezzo, N'') AS DisegnoGrezzo, + ISNULL(dbo.ElencoCartellini.Esponente, N'') AS Esponente, ISNULL(dbo.ElencoCartellini.DescImpianto, N'') AS DescImpianto, ISNULL(dbo.ElencoCartellini.DataFus, + N'') AS DataFus, ISNULL(dbo.ElencoCartellini.TurnoFus, 0) AS TurnoFus, dbo.ElencoCartellini.CodImballo, dbo.ElencoCartellini.Qta, + ISNULL(dbo.AnagStatiProdotto.DescStato, N'') AS DescStato, dbo.ElencoCartellini.ModDate, ISNULL(dbo.Blocchi.CodMag, N'') AS CodMag, + ISNULL(dbo.Blocchi.CodBlocco, N'') AS CodBlocco, ISNULL(dbo.Celle.CodCella, N'') AS CodCella, ISNULL(dbo.Celle.IdxCella, 0) AS IdxCella, ISNULL(dbo.Celle.X, 0) + AS X, ISNULL(dbo.Celle.Y, 0) AS Y, ISNULL(dbo.Celle.Z, 0) AS Z, dbo.ElencoCartellini.IdxPosizione, dbo.ElencoCartellini.Note +FROM dbo.AnagStatiProdotto RIGHT OUTER JOIN + dbo.ElencoCartellini ON dbo.AnagStatiProdotto.CodStato = dbo.ElencoCartellini.CodStato AND + dbo.AnagStatiProdotto.CodStato = dbo.ElencoCartellini.CodStato LEFT OUTER JOIN + dbo.Celle INNER JOIN + dbo.PosizioneUdcCorrente ON dbo.Celle.IdxCella = dbo.PosizioneUdcCorrente.IdxCella AND dbo.Celle.IdxCella = dbo.PosizioneUdcCorrente.IdxCella AND + dbo.Celle.IdxCella = dbo.PosizioneUdcCorrente.IdxCella INNER JOIN + dbo.Blocchi ON dbo.Celle.IdxBlocco = dbo.Blocchi.IdxBlocco INNER JOIN + dbo.AnagMag ON dbo.Blocchi.CodMag = dbo.AnagMag.CodMag AND dbo.Blocchi.CodCS = dbo.AnagMag.CodCS AND + dbo.Blocchi.CodMag = dbo.AnagMag.CodMag AND dbo.Blocchi.CodCS = dbo.AnagMag.CodCS AND dbo.Blocchi.CodMag = dbo.AnagMag.CodMag AND + dbo.Blocchi.CodCS = dbo.AnagMag.CodCS ON dbo.ElencoCartellini.UDC = dbo.PosizioneUdcCorrente.UDC +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Refreshing [dbo].[V_statoCelleCapienzaAssegnati]' +GO +EXEC sp_refreshview N'[dbo].[V_statoCelleCapienzaAssegnati]' +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Refreshing [dbo].[V_MagazziniOverview]' +GO +EXEC sp_refreshview N'[dbo].[V_MagazziniOverview]' +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Refreshing [dbo].[V_DettMagPart]' +GO +EXEC sp_refreshview N'[dbo].[V_DettMagPart]' +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Refreshing [dbo].[V_CelleOverview]' +GO +EXEC sp_refreshview N'[dbo].[V_CelleOverview]' +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Altering [dbo].[stp_UDC_update]' +GO + +/*************************************** +* STORED stp_UDC_update +* +* aggiorna un cartellino dato il suo codice UDC e tutti i parametri da aggiornare +* +* Steamware, S.E.L. +* mod: 2010.04.30 +* +****************************************/ +ALTER PROCEDURE [dbo].[stp_UDC_update] +( + @UDC_edit VARCHAR(50), + @CodCS VARCHAR(2), + @Flusso VARCHAR(2), + @Anno VARCHAR(2), + @CodCliente VARCHAR(6), + @Particolare VARCHAR(15), + @CodImpianto AS VARCHAR(50), + @CodStampo VARCHAR(8), + @Esponente VARCHAR(6), + @Figura VARCHAR(4), + @DataFus DATETIME, + @TurnoFus INT, + @CodImballo VARCHAR(15), + @CodSoggetto VARCHAR(17), + @Tara FLOAT, + @IdxPosizione INT, + @CodTipoDichiaraz CHAR(1), + @CodEvento VARCHAR(10), + @Qta DECIMAL(10,2), + @PesoTot FLOAT, + @PesoCad FLOAT, + @CodStato VARCHAR(50), + @UDC_parent VARCHAR(50), + @Note NVARCHAR(500) +) +AS + +-- DECLARE iniziali +DECLARE @RagSociale AS VARCHAR(35) +DECLARE @DescParticolare AS VARCHAR(30) +DECLARE @DescImpianto AS VARCHAR(50) +DECLARE @DisegnoGrezzo AS VARCHAR(30) +DECLARE @NumCont AS INT +DECLARE @numFlu AS INT +DECLARE @numUdc AS INT +DECLARE @nextUdc AS INT + +------------------------------------------------------------------------------------------------------ +-- Caricamento Dati da anagrafica +------------------------------------------------------------------------------------------------------ +-- cerco la ragione sociale... +SET @RagSociale = ( + SELECT ISNULL(RagSociale, 'ND') AS RagSociale + FROM RilPro.AnagClienti + WHERE (CodCliente = @CodCliente) +) + +-- Cerco descrizione del particolare... +SET @DescParticolare = ( + SELECT ISNULL(DescParticolare, 'ND') AS DescParticolare + FROM RilPro.AnagParticolari + WHERE (Particolare = @Particolare) +) + +-- cerco codice disegno grezzo +SET @DisegnoGrezzo = ( + SELECT ISNULL(DisegnoGrezzo, 'ND') AS DescParticolare + FROM RilPro.AnagParticolari + WHERE (Particolare = @Particolare) +) + +-- cerco descrizione Impianto +SET @DescImpianto = ( + SELECT ISNULL(DescImpianto, 'ND') AS DescImpianto + FROM AnagImpianti + WHERE (CodImpianto = @CodImpianto) +) + + + +-- Calcolo contatore intero successivo x il contenitore... +SET @NumCont = ( + SELECT NumCont + FROM ElencoCartellini + WHERE (UDC = @UDC_edit) +) + + +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- Flusso +------------------------------------------------------------------------------------------------------ +-- controllo se esiste il flusso (bilancia)... +SET @numFlu = ( + SELECT count(*) + FROM AnagBilance + WHERE CodBilancia = @Flusso +) +-- ...sennò lo creo... +IF(@numFlu = 0) + BEGIN + -- se c'è inserisco in tab + INSERT INTO AnagBilance(CodBilancia, DescrImpianto, CodCS) + VALUES (@Flusso, @Flusso, @CodCS) + END +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- Ciclo principale x edit record +------------------------------------------------------------------------------------------------------ +BEGIN TRAN + + -- elimino vecchio record parent/child + DELETE FROM RelazUDC + WHERE (UDC_child = @UDC_edit) + + -- modifico il record + UPDATE ElencoCartellini + SET CodCS = @CodCS, CodCliente = @CodCliente, RagSociale = @RagSociale, Particolare = @Particolare, DescParticolare = @DescParticolare, + DisegnoGrezzo = @DisegnoGrezzo, Esponente = @Esponente, CodImpianto = @CodImpianto, DescImpianto = @DescImpianto, CodStampo = @CodStampo, + Figura = @Figura, DataFus = @DataFus, TurnoFus = @TurnoFus, CodImballo = @CodImballo, CodSoggetto = @CodSoggetto, NumCont = @NumCont, + Tara = @Tara, Qta = @Qta, CodStato = @CodStato, IdxPosizione = @IdxPosizione, PesoTot = @PesoTot, PesoCad = @PesoCad, ModDate = GETDATE(), Note = @Note + WHERE UDC = @UDC_edit + + -- inserisco relazione parent-child tra UDC vecchio (tara) e nuovo (pesa) + INSERT INTO RelazUDC(UDC_parent, UDC_child) + VALUES (@UDC_parent, @UDC_edit) +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- restituisco la tab dati con l'udc appena inserito +------------------------------------------------------------------------------------------------------ +SELECT * +FROM ElencoCartellini +WHERE UDC = @UDC_edit +------------------------------------------------------------------------------------------------------ + +RETURN +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Altering [dbo].[stp_getUdcDetailLikeSearch]' +GO + +/*************************************** +* STORED stp_getUdcDetailFullCode +* +* ottiene l'elenco degli UDC con i dati significativi partendo da un valore da cercare come LIKE in +* - UDC +* - Particolare +* +* Steamware, S.E.L. +* mod: 2010.05.24 +* +****************************************/ +ALTER PROCEDURE [dbo].[stp_getUdcDetailLikeSearch] +( + @searchVal VARCHAR(50), + @CodCS VARCHAR(2) +) +AS + +SELECT ElencoCartellini.UDC, 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.DescImpianto, N'') AS DescImpianto, + ISNULL(ElencoCartellini.DataFus, N'') AS DataFus, ISNULL(ElencoCartellini.TurnoFus, 0) AS TurnoFus, ElencoCartellini.CodImballo, + ElencoCartellini.Qta, ISNULL(AnagStatiProdotto.DescStato, N'') AS DescStato, ElencoCartellini.ModDate, + ISNULL(Blocchi.CodMag, N'') AS CodMag, ISNULL(Blocchi.CodBlocco, N'') AS CodBlocco, ISNULL(Celle.CodCella, N'') AS CodCella, + ISNULL(dbo.Celle.IdxCella, 0) AS IdxCella, ISNULL(Celle.X, 0) AS X, ISNULL(Celle.Y, 0) AS Y, ISNULL(Celle.Z, 0) AS Z, ElencoCartellini.IdxPosizione, + ISNULL(ElencoCartellini.Note, '') AS Note +FROM AnagStatiProdotto RIGHT OUTER JOIN ElencoCartellini + ON AnagStatiProdotto.CodStato = ElencoCartellini.CodStato AND AnagStatiProdotto.CodStato = ElencoCartellini.CodStato + LEFT OUTER JOIN Celle INNER JOIN PosizioneUdcCorrente + ON Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND + Celle.IdxCella = PosizioneUdcCorrente.IdxCella INNER JOIN + Blocchi ON Celle.IdxBlocco = Blocchi.IdxBlocco INNER JOIN + AnagMag ON Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND + Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS ON + ElencoCartellini.UDC = PosizioneUdcCorrente.UDC +WHERE (ElencoCartellini.CodCS = @CodCS) AND + ((ElencoCartellini.UDC like '%'+ @searchVal+'%') OR (ElencoCartellini.Particolare like '%'+ @searchVal+'%') OR + (ElencoCartellini.RagSociale like '%'+ @searchVal+'%')) + +RETURN +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Altering [dbo].[stp_getUdcDetailFullCode]' +GO + +/*************************************** +* STORED stp_getUdcDetailFullCode +* +* ottiene l'elenco degli UDC con i dati significativi partendo da un codice UDC COMPLETO +* +* Steamware, S.E.L. +* mod: 2010.05.24 +* +****************************************/ +ALTER PROCEDURE [dbo].[stp_getUdcDetailFullCode] +( + @UDC VARCHAR(50), + @CodCS VARCHAR(2) +) +AS + +SELECT ec.UDC, ISNULL(ec.RagSociale, N'nd') AS RagSociale, ISNULL(ec.Particolare, N'nd') AS Particolare, + ISNULL(ec.DescParticolare, N'nd') AS DescParticolare, ISNULL(ec.DisegnoGrezzo, N'nd') AS DisegnoGrezzo, + ISNULL(ec.Esponente, N'nd') AS Esponente, ISNULL(ec.DescImpianto, N'nd') AS DescImpianto, + ISNULL(ec.DataFus, N'') AS DataFus, ISNULL(ec.TurnoFus, 0) AS TurnoFus, ec.CodImballo, + ec.Qta, ISNULL(AnagStatiProdotto.DescStato, N'nd') AS DescStato, ec.ModDate, + CASE WHEN(ec.IdxPosizione < 0) THEN 'Consum' ELSE ISNULL(Blocchi.CodMag, N'nd') END AS CodMag, + ISNULL(Blocchi.CodBlocco, N'nd') AS CodBlocco, ISNULL(Celle.CodCella, N'nd') AS CodCella, ISNULL(dbo.Celle.IdxCella, 0) AS IdxCella, + ISNULL(Celle.X, 0) AS X, ISNULL(Celle.Y, 0) AS Y, ISNULL(Celle.Z, 0) AS Z, ec.IdxPosizione, ISNULL(ec.Note,'') AS Note +FROM AnagStatiProdotto RIGHT OUTER JOIN + ElencoCartellini ec ON AnagStatiProdotto.CodStato = ec.CodStato AND AnagStatiProdotto.CodStato = ec.CodStato + LEFT OUTER JOIN Celle INNER JOIN PosizioneUdcCorrente ON Celle.IdxCella = PosizioneUdcCorrente.IdxCella + AND Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND Celle.IdxCella = PosizioneUdcCorrente.IdxCella + INNER JOIN Blocchi ON Celle.IdxBlocco = Blocchi.IdxBlocco INNER JOIN AnagMag ON Blocchi.CodMag = AnagMag.CodMag + AND Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag + AND Blocchi.CodCS = AnagMag.CodCS ON ec.UDC = PosizioneUdcCorrente.UDC +WHERE (ec.UDC = @UDC) AND (ec.CodCS = @CodCS) + +RETURN +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Altering [dbo].[stp_UdcDetailGetByIdxCella]' +GO + +/*************************************** +* STORED stp_UdcDetailGetByIdxCella +* +* ottiene l'elenco degli UDC con dettaglio per una data cella +* +* Steamware, S.E.L. +* mod: 2010.07.20 +* +****************************************/ +ALTER PROCEDURE [dbo].[stp_UdcDetailGetByIdxCella] +( + @IdxCella INT +) +AS + +SELECT ElencoCartellini.UDC, ElencoCartellini.RagSociale, ElencoCartellini.Particolare, ElencoCartellini.DescParticolare, + ElencoCartellini.DisegnoGrezzo, ElencoCartellini.Esponente, ElencoCartellini.DescImpianto, ElencoCartellini.DataFus, + ElencoCartellini.TurnoFus, ElencoCartellini.CodImballo, ElencoCartellini.Qta, AnagStatiProdotto.DescStato, + ElencoCartellini.ModDate, ISNULL(Blocchi.CodMag, N'') AS CodMag, ISNULL(Blocchi.CodBlocco, N'') AS CodBlocco, + ISNULL(Celle.CodCella, N'') AS CodCella, ISNULL(dbo.Celle.IdxCella, 0) AS IdxCella, + ISNULL(Celle.X, 0) AS X, ISNULL(Celle.Y, 0) AS Y, ISNULL(Celle.Z, 0) AS Z, ElencoCartellini.IdxPosizione, ISNULL(ElencoCartellini.Note,'') AS Note +FROM Celle INNER JOIN + PosizioneUdcCorrente ON Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND + Celle.IdxCella = PosizioneUdcCorrente.IdxCella INNER JOIN + Blocchi ON Celle.IdxBlocco = Blocchi.IdxBlocco INNER JOIN + AnagMag ON Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND + Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS INNER JOIN + ElencoCartellini ON PosizioneUdcCorrente.UDC = ElencoCartellini.UDC LEFT OUTER JOIN + AnagStatiProdotto ON ElencoCartellini.CodStato = AnagStatiProdotto.CodStato AND ElencoCartellini.CodStato = AnagStatiProdotto.CodStato +WHERE (Celle.IdxCella = @IdxCella) + +RETURN +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Altering [dbo].[stp_UdcDetailGetByIdxBlocco]' +GO + +/*************************************** +* STORED stp_UdcDetailGetByIdxBlocco +* +* ottiene l'elenco degli UDC con dettaglio posizioni OCCUPATE associati ad un dato blocco di magazzino +* +* Steamware, S.E.L. +* mod: 2010.07.19 +* +****************************************/ +ALTER PROCEDURE [dbo].[stp_UdcDetailGetByIdxBlocco] +( + @IdxBlocco INT +) +AS + +SELECT ElencoCartellini.UDC, ElencoCartellini.RagSociale, ElencoCartellini.Particolare, ElencoCartellini.DescParticolare, + ElencoCartellini.DisegnoGrezzo, ElencoCartellini.Esponente, ElencoCartellini.DescImpianto, ElencoCartellini.DataFus, + ElencoCartellini.TurnoFus, ElencoCartellini.CodImballo, ElencoCartellini.Qta, AnagStatiProdotto.DescStato, + ElencoCartellini.ModDate, ISNULL(Blocchi.CodMag, N'') AS CodMag, ISNULL(Blocchi.CodBlocco, N'') AS CodBlocco, + ISNULL(Celle.CodCella, N'') AS CodCella, ISNULL(dbo.Celle.IdxCella, 0) AS IdxCella, + ISNULL(Celle.X, 0) AS X, ISNULL(Celle.Y, 0) AS Y, ISNULL(Celle.Z, 0) AS Z, ElencoCartellini.IdxPosizione, ISNULL(ElencoCartellini.Note,'') AS Note +FROM Celle INNER JOIN + PosizioneUdcCorrente ON Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND + Celle.IdxCella = PosizioneUdcCorrente.IdxCella INNER JOIN + Blocchi ON Celle.IdxBlocco = Blocchi.IdxBlocco INNER JOIN + AnagMag ON Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND + Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS INNER JOIN + ElencoCartellini ON PosizioneUdcCorrente.UDC = ElencoCartellini.UDC LEFT OUTER JOIN + AnagStatiProdotto ON ElencoCartellini.CodStato = AnagStatiProdotto.CodStato AND ElencoCartellini.CodStato = AnagStatiProdotto.CodStato +WHERE (Celle.IdxBlocco = @IdxBlocco) + +RETURN +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Altering [dbo].[Odette_storico]' +GO +ALTER TABLE [dbo].[Odette_storico] ALTER COLUMN [CampoUDC] [nvarchar] (50) COLLATE Latin1_General_CI_AS NOT NULL +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Creating index [i_UDC] on [dbo].[Odette_storico]' +GO +CREATE NONCLUSTERED INDEX [i_UDC] ON [dbo].[Odette_storico] ([CampoUDC]) +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Altering [dbo].[Odette]' +GO +ALTER TABLE [dbo].[Odette] ALTER COLUMN [CampoUDC] [nvarchar] (50) COLLATE Latin1_General_CI_AS NOT NULL +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Creating primary key [PK_Odette] on [dbo].[Odette]' +GO +ALTER TABLE [dbo].[Odette] ADD CONSTRAINT [PK_Odette] PRIMARY KEY CLUSTERED ([CampoUDC]) +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Altering [dbo].[stp_getUDC_UnusedOlder]' +GO + +-- Batch submitted through debugger: GMW_00401.sql|622|0|C:\Progetti\GMW\2011-12-14 vers test 401\Vers 401\GMW_00401.sql + +ALTER PROCEDURE [dbo].[stp_getUDC_UnusedOlder] +( + @CodLista VARCHAR(12) +) +AS + + -- variabili locali che mi servono + DECLARE @Figura AS VARCHAR(4) + DECLARE @Esponente AS VARCHAR(6) + DECLARE @CodImballo AS VARCHAR(15) + DECLARE @Particolare AS VARCHAR (50) + DECLARE @CodTipoLista AS VARCHAR (10) + --DECLARE @IdxPosizione AS INT + SET @Figura = (SELECT Figura FROM ElencoListePrelievo WHERE CodLista = @CodLista) + SET @Esponente = (SELECT Esponente FROM ElencoListePrelievo WHERE CodLista = @CodLista) + SET @CodImballo = (SELECT CodImballo FROM ElencoListePrelievo WHERE CodLista = @CodLista) + SET @Particolare = (SELECT Particolare FROM ElencoListePrelievo WHERE CodLista = @CodLista) + SET @CodTipoLista = (SELECT CodTipoLista FROM ElencoListePrelievo WHERE CodLista = @CodLista) + /* + SET @IdxPosizione = (SELECT tt.IdxPosizione + FROM TipoListaPrelievo tlp INNER JOIN TabTranPosizEventi tt ON tlp.CodEvento = tt.CodEvento + WHERE (tlp.CodTipoLista = @CodTipoLista)) + */ + + -- effettuo la selezione + SELECT * + FROM ElencoCartellini + WHERE (Particolare = @Particolare) AND (IdxPosizione IN (SELECT tt.IdxPosizione + FROM TipoListaPrelievo tlp INNER JOIN TabTranPosizEventi tt ON tlp.CodEvento = tt.CodEvento + WHERE (tlp.CodTipoLista = @CodTipoLista))) AND + (Figura = CASE WHEN @Figura = '*' THEN Figura ELSE @Figura END) AND + (Esponente = CASE WHEN @Esponente = '*' THEN Esponente ELSE @Esponente END) AND + (CodImballo = CASE WHEN @CodImballo = '*' THEN CodImballo ELSE @CodImballo END) + AND UDC NOT IN ( + SELECT DISTINCT UDC + FROM RigheListePrelievo INNER JOIN ElencoListePrelievo + ON RigheListePrelievo.CodLista = ElencoListePrelievo.CodLista + WHERE (ElencoListePrelievo.CodLista = @CodLista) + OR (ElencoListePrelievo.CodLista <> @CodLista AND CodStatoLista > 1 AND Prelevato = 1) + ) + ORDER BY ElencoCartellini.DataFus + +RETURN +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Refreshing [dbo].[v_righeListePrelievoPosizione]' +GO +EXEC sp_refreshview N'[dbo].[v_righeListePrelievoPosizione]' +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Refreshing [dbo].[v_ArtInProd]' +GO +EXEC sp_refreshview N'[dbo].[v_ArtInProd]' +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Refreshing [dbo].[V_elencoListePrelievo]' +GO +EXEC sp_refreshview N'[dbo].[V_elencoListePrelievo]' +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Altering [dbo].[stp_EDM_spostaDataMtx]' +GO + +/***************************************** +* STORED stp_EDM_spostaDataMtx +* +* Sposta un datamatrix in un nuovo gitterbox +* +* Steamware, S.E.L. +* mod: 2011.05.05 +* +****************************************/ +ALTER PROCEDURE [dbo].[stp_EDM_spostaDataMtx] +( + @CodDataMatrix NUMERIC(23), + @CodGitterbox NVARCHAR(10), + @CodSoggetto VARCHAR(17) +) +AS + +-- salvo codice gitterbox di partenza +DECLARE @CodGitterboxFrom AS NVARCHAR(10) +SET @CodGitterboxFrom = ( SELECT CodGitterbox FROM ElencoDataMatrix WHERE CodDataMatrix = @CodDataMatrix ) + +UPDATE ElencoDataMatrix +SET CodGitterbox = @CodGitterbox +WHERE CodDataMatrix = @CodDataMatrix + +-- aggiorno valori QTA gitterbox di partenza... +UPDATE ElencoCartellini +SET Qta = ( SELECT COUNT(*) FROM ElencoDataMatrix WHERE CodGitterbox = @CodGitterboxFrom ) +WHERE UDC = @CodGitterboxFrom +-- aggiorno valoti QTA gitterbox destinazione e modificatore... +UPDATE ElencoCartellini +SET Qta = ( SELECT COUNT(*) FROM ElencoDataMatrix WHERE CodGitterbox = @CodGitterbox ), CodSoggetto = @CodSoggetto, ModDate = GETDATE() +WHERE UDC = @CodGitterbox + +-- aggiorno righe liste di prelievo... +UPDATE RigheListePrelievo +SET Qta = ( SELECT COUNT(*) FROM ElencoDataMatrix WHERE CodGitterbox = @CodGitterboxFrom ) +WHERE UDC = @CodGitterboxFrom +-- aggiorno valoti QTA gitterbox destinazione... +UPDATE RigheListePrelievo +SET Qta = ( SELECT COUNT(*) FROM ElencoDataMatrix WHERE CodGitterbox = @CodGitterbox ) +WHERE UDC = @CodGitterbox + +-- select finale! +SELECT * +FROM ElencoDataMatrix +WHERE CodDataMatrix = @CodDataMatrix + +RETURN +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Altering [dbo].[stp_EDM_svuotaGitterbox]' +GO + +/***************************************** +* STORED stp_EDM_svuotaGitterbox +* +* Elimina il codice gitterbox dai datamatrix associati (svuotandolo...) +* +* Steamware, S.E.L. +* mod: 2011.05.06 +* +****************************************/ +ALTER PROCEDURE [dbo].[stp_EDM_svuotaGitterbox] +( + @CodGitterbox NVARCHAR(10), + @CodSoggetto VARCHAR(17) +) +AS + +UPDATE ElencoDataMatrix +SET CodGitterbox = 'EmptyGBox' +WHERE CodGitterbox = @CodGitterbox + +-- aggiorno valoti QTA gitterbox originale... +UPDATE ElencoCartellini +SET Qta = ( SELECT COUNT(*) FROM ElencoDataMatrix WHERE CodGitterbox = @CodGitterbox ) +WHERE UDC = @CodGitterbox +-- aggiorno valoti QTA gitterbox 'EmptyGBox +UPDATE ElencoCartellini +SET Qta = ( SELECT COUNT(*) FROM ElencoDataMatrix WHERE CodGitterbox = 'EmptyGBox' ), CodSoggetto = @CodSoggetto, ModDate = GETDATE() +WHERE UDC = 'EmptyGBox' + +-- aggiorno righe liste di prelievo... +UPDATE RigheListePrelievo +SET Qta = ( SELECT COUNT(*) FROM ElencoDataMatrix WHERE CodGitterbox = @CodGitterbox ) +WHERE UDC = @CodGitterbox + + + +RETURN +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Altering [dbo].[stp_ODETTE_getByUDC]' +GO + +/***************************************** +* STORED stp_ODETTE_getByUDC +* +* Recupera etichette odette da stampare (dato un codice UDC) +* +* Steamware, S.E.L. +* mod: 2011.12.19 +* +****************************************/ +ALTER PROCEDURE [dbo].[stp_ODETTE_getByUDC] +( + @UDC NVARCHAR(50) +) +AS + +/* calcolo il codice di raggrupp bolla da passare x generazione cartellino al report partendo da CodCS */ + +SELECT Od.CampoUDC + ,Od.Campo1_1 + ,Od.Campo1_2 + ,Od.Campo1_3 + ,Od.Campo1_4 + ,Od.Campo1_5 + + ,Od.Campo2_1 + ,Od.Campo2_2 + ,Od.Campo2_3 + ,Od.Campo2_4 + ,Od.Campo2_5 + + ,Od.Campo3_1 + + -- Formatto il numero bolla in base alla tabella di decodifica + , dbo.f_padLeft( ISNULL(dec.NumRaggrMag,''), 2, '0' ) + + dbo.f_padLeft( ISNULL(Od.GrpBolla ,''), 1, '0' ) + + dbo.f_padLeft( ISNULL(Od.Campo3_2 ,''), 6, '0' ) AS Campo3_2 + + ,Od.Campo3_3 + ,Od.Campo3_4 + ,Od.Campo3_5 + + ,Od.Campo4_1 + ,Od.Campo4_2 + ,Od.Campo4_3 + ,Od.Campo4_4 + ,Od.Campo4_5 + + ,Od.Campo5_1 + ,Od.Campo5_2 + ,Od.Campo5_3 + ,Od.Campo5_4 + ,Od.Campo5_5 + + ,Od.Campo6_1 + ,Od.Campo6_2 + ,Od.Campo6_3 + ,Od.Campo6_4 + ,Od.Campo6_5 + + ,Od.Campo7_1 + ,Od.Campo7_2 + ,Od.Campo7_3 + ,Od.Campo7_4 + ,Od.Campo7_5 + + ,Od.Campo8_1 + ,Od.Campo8_2 + ,Od.Campo8_3 + ,Od.Campo8_4 + ,Od.Campo8_5 + + ,Od.Campo9_1 + ,Od.Campo9_2 + ,Od.Campo9_3 + ,Od.Campo9_4 + ,Od.Campo9_5 + + ,Od.Campo10_1 + ,Od.Campo10_2 + ,Od.Campo10_3 + ,Od.Campo10_4 + ,Od.Campo10_5 + + ,Od.Campo11_1_1 + ,Od.Campo11_1_2 + ,Od.Campo11_1_3 + ,Od.Campo11_1_4 + ,Od.Campo11_1_5 + ,Od.Campo11_2_1 + ,Od.Campo11_2_2 + ,Od.Campo11_2_3 + ,Od.Campo11_2_4 + ,Od.Campo11_2_5 + + ,Od.Campo12_1 + ,Od.Campo12_2 + ,Od.Campo12_3 + ,Od.Campo12_4 + ,Od.Campo12_5 + + ,Od.Campo13_1 + ,Od.Campo13_2 + ,Od.Campo13_3 + ,Od.Campo13_4 + ,Od.Campo13_5 + + ,Od.Campo14_1 + ,Od.Campo14_2 + ,Od.Campo14_3 + ,Od.Campo14_4 + ,Od.Campo14_5 + + ,Od.Campo15_1 + ,Od.Campo15_2 + ,Od.Campo15_3 + ,Od.Campo15_4 + ,Od.Campo15_5 + + ,Od.Campo16_1 + ,Od.Campo16_2 + ,Od.Campo16_3 + ,Od.Campo16_4 + ,Od.Campo16_5 + + ,Od.StatoOk + ,Od.CodCS + ,Od.CodMag + ,Od.GrpBolla + ,Od.DataBolla + ,Od.NumBolla + ,Od.Particolare + ,Od.CodLista + +FROM Odette AS Od +INNER JOIN RilPro.TabDecodBolla AS dec +ON Od.CodMag = dec.CodRaggrMag +WHERE ( Od.CampoUDC = @UDC ) +RETURN +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Altering [dbo].[stp_ODETTE_updateLingua]' +GO + +/***************************************** +* STORED stp_ODETTE_updateLingua +* +* Salva nell'etichetta ODETTE indicata le stringhe della lingua desiderata +* +* Steamware, S.E.L. +* mod: 2010.10.22 +* +****************************************/ +ALTER PROCEDURE [dbo].[stp_ODETTE_updateLingua] +( + @UDC NVARCHAR(50), + @Campo1_1 NVARCHAR(50), + @Campo2_1 NVARCHAR(50), + @Campo3_1 NVARCHAR(50), + @Campo4_1 NVARCHAR(50), + @Campo5_1 NVARCHAR(50), + @Campo6_1 NVARCHAR(50), + @Campo7_1 NVARCHAR(50), + @Campo8_1 NVARCHAR(50), + @Campo9_1 NVARCHAR(50), + @Campo10_1 NVARCHAR(50), + @Campo11_1_1 NVARCHAR(50), + @Campo11_2_1 NVARCHAR(50), + @Campo12_1 NVARCHAR(50), + @Campo13_1 NVARCHAR(50), + @Campo14_1 NVARCHAR(50), + @Campo15_1 NVARCHAR(50), + @Campo16_1 NVARCHAR(50) +) +AS + +UPDATE Odette +SET Campo1_1 = @Campo1_1, + Campo2_1 = @Campo2_1, + Campo3_1 = @Campo3_1, + Campo4_1 = @Campo4_1, + Campo5_1 = @Campo5_1, + Campo6_1 = @Campo6_1, + Campo7_1 = @Campo7_1, + Campo8_1 = @Campo8_1, + Campo9_1 = @Campo9_1, + Campo10_1 = @Campo10_1, + Campo11_1_1 = @Campo11_1_1, + Campo11_2_1 = @Campo11_2_1, + Campo12_1 = @Campo12_1, + Campo13_1 = @Campo13_1, + Campo14_1 = @Campo14_1, + Campo15_1 = @Campo15_1, + Campo16_1 = @Campo16_1 +WHERE CampoUDC = @UDC + +RETURN +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Altering [dbo].[stp_ODETTE_updateVal]' +GO + +/***************************************** +* STORED stp_ODETTE_updateVal +* +* effettua aggiornamento valori etichetta Odette +* +* Steamware, S.E.L. +* mod: 2011.04.28 +* +****************************************/ +ALTER PROCEDURE [dbo].[stp_ODETTE_updateVal] +( + @UDC NVARCHAR(50), + @ragSocCli NVARCHAR(50), + @indirCli NVARCHAR(50), + @capCittCli NVARCHAR(50), + @ragSocDest NVARCHAR(50), + @indirDest NVARCHAR(50), + @capCittDest NVARCHAR(50), + @pesoNetto NVARCHAR(50), + @pesoLordo NVARCHAR(50), + @numColli NVARCHAR(50), + @disPart NVARCHAR(50), + @descPart NVARCHAR(50), + @codPart NVARCHAR(50), + @codImb NVARCHAR(50), + @codMaz NVARCHAR(50), + @codNael NVARCHAR(50) +) +AS + +-- COMMIT TRAN + + +-- update valori (sovrascrivo...) +UPDATE Odette +SET Campo1_2 = @ragSocCli, + Campo1_3 = @indirCli, + Campo1_4 = @capCittCli, + Campo2_2 = @ragSocDest, + Campo2_3 = @indirDest, + Campo2_4 = @capCittDest, + Campo5_2 = @pesoNetto, + Campo6_2 = @pesoLordo, + Campo7_2 = @numColli, + Campo8_2 = @disPart, + Campo8_3 = @disPart, + Campo10_2 = @descPart, + Campo11_1_2 = @codPart, + Campo11_1_3 = @codPart, + Campo11_2_2 = @codImb, + Campo11_2_3 = @codImb, + Campo12_2 = @codMaz, + Campo12_3 = @codMaz, + Campo14_2 = @codNael + +WHERE CampoUDC = @UDC + +RETURN +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Altering [dbo].[stp_prtCartMatPrimaByUDC]' +GO + +/*************************************** +* STORED stp_prtCartMatPrimaByUDC +* +* ottiene il record del Cartellino Materia Prima dato l'UDC richiesto x la stampa +* +****************************************/ +ALTER PROCEDURE [dbo].[stp_prtCartMatPrimaByUDC] +( + @UDC VARCHAR(50) +) +AS +SELECT + RQ.nRapQual, + RQ.DataRapQual, + RQ.ProgUDC, + RQ.CodFor, + RQ.DestTerz, + RQ.CodLega, + RQ.DataPrelFus, + RQ.TurnoPrelFus, + RQ.Qta, + RQ.DestLega, + RQ.LegaScaric, + RQ.BenesQual, + RQ.UDC, + Fo.DescFornitore, + Fo.DescFornitore2, + Le.CodLega AS CodLega2, + Le.DescLega, + Le.DescLega2, + ISNULL(ec.Note,'') AS Note +FROM RilPro.RapQual AS RQ +LEFT JOIN RilPro.AnagFornitori AS Fo + ON RQ.CodFor = Fo.CodFornitore +LEFT JOIN RilPro.AnagLeghe Le + ON RQ.CodLega = 'L' + Le.CodLega +LEFT JOIN ElencoCartellini ec + ON RQ.UDC = ec.UDC +WHERE RQ.UDC = RTRIM(@UDC) -- 'UB31000000001' + +RETURN +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Altering [dbo].[stp_ODETTE_setStato]' +GO + +/***************************************** +* STORED stp_ODETTE_setStato +* +* aggiorna stato etichetta Odette +* +* Steamware, S.E.L. +* mod: 2011.04.29 +* +****************************************/ +ALTER PROCEDURE [dbo].[stp_ODETTE_setStato] +( + @UDC NVARCHAR(50), + @StatoOk BIT +) +AS + +-- update valori (sovrascrivo...) +UPDATE Odette +SET StatoOk = @StatoOk +WHERE CampoUDC = @UDC + +RETURN +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Creating [dbo].[stp_UDC_insNewFull_fixUDC]' +GO + +/*************************************** +* STORED stp_UDC_insNewFull_fixUDC +* +* crea un nuovo record nella TabStatoOdpUdc FULL (con pesi, qta...) avendo in entrata il codice UDC da utilizzare +* +* Steamware, S.E.L. +* mod: 2011.12.07 +* +****************************************/ +create PROCEDURE [dbo].[stp_UDC_insNewFull_fixUDC] +( + @UDC AS NVARCHAR(50), + @CodCS VARCHAR(2), + @Flusso VARCHAR(2), + @Anno VARCHAR(2), + @CodCliente VARCHAR(6), + @Particolare VARCHAR(15), + @CodImpianto AS VARCHAR(50), + @CodStampo VARCHAR(8), + @Esponente VARCHAR(6), + @Figura VARCHAR(4), + @DataFus DATETIME, + @TurnoFus INT, + @CodImballo VARCHAR(15), + @CodSoggetto VARCHAR(17), + @Tara FLOAT, + @IdxPosizione INT, + @CodTipoDichiaraz CHAR(1), + @CodEvento VARCHAR(10), + @Qta DECIMAL(10,2), + @PesoTot FLOAT, + @PesoCad FLOAT, + @CodStato VARCHAR(50), + @UDC_parent VARCHAR(50), + @DoDeleteUdcParent BIT, + @Note NVARCHAR(500) +) +AS + +-- DECLARE iniziali +DECLARE @RagSociale AS VARCHAR(35) +DECLARE @DescParticolare AS VARCHAR(30) +DECLARE @DescImpianto AS VARCHAR(50) +DECLARE @DisegnoGrezzo AS VARCHAR(30) +DECLARE @NumCont AS INT +DECLARE @numFlu AS INT +DECLARE @numUdc AS INT +DECLARE @nextUdc AS INT +DECLARE @IdxCella AS INT + +------------------------------------------------------------------------------------------------------ +-- Caricamento Dati da anagrafica +------------------------------------------------------------------------------------------------------ +-- cerco la ragione sociale... +SET @RagSociale = ( + SELECT ISNULL(RagSociale, 'ND') AS RagSociale + FROM RilPro.AnagClienti + WHERE (CodCliente = @CodCliente) +) + +-- Cerco descrizione del particolare... +SET @DescParticolare = ( + SELECT ISNULL(DescParticolare, 'ND') AS DescParticolare + FROM RilPro.AnagParticolari + WHERE (Particolare = @Particolare) +) + +-- cerco codice disegno grezzo +SET @DisegnoGrezzo = ( + SELECT ISNULL(DisegnoGrezzo, 'ND') AS DescParticolare + FROM RilPro.AnagParticolari + WHERE (Particolare = @Particolare) +) + +-- cerco descrizione Impianto +SET @DescImpianto = ( + SELECT ISNULL(DescImpianto, 'ND') AS DescImpianto + FROM AnagImpianti + WHERE (CodImpianto = @CodImpianto) +) + + + +-- Calcolo contatore intero successivo x il contenitore... +SET @NumCont = ( + SELECT ISNULL(MAX(NumCont), 0) + 1 AS NumCont + FROM ElencoCartellini + WHERE (Particolare = @Particolare) + AND (DataFus = @DataFus) + AND (TurnoFus = @TurnoFus) + AND (CodImpianto = @CodImpianto) + AND (CodStampo = @CodStampo) + AND (Figura = @Figura) +) + + +------------------------------------------------------------------------------------------------------ + + +------------------------------------------------------------------------------------------------------ +-- Ciclo principale x inserimento nuovo record +------------------------------------------------------------------------------------------------------ +BEGIN TRAN + + -- inserisco un nuovo record + INSERT INTO ElencoCartellini(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, Note) + VALUES (@UDC, @CodCS, @CodCliente, @RagSociale, @Particolare, @DescParticolare, @DisegnoGrezzo, @Esponente, @CodImpianto, @DescImpianto, @CodStampo, @Figura, @DataFus, @TurnoFus, @CodImballo, @CodSoggetto, @NumCont, @Tara, @Qta, @CodStato, @IdxPosizione, @PesoTot, @PesoCad, GETDATE(), GETDATE(), @Note) + + -- inserisco relazione parent-child tra UDC vecchio (tara) e nuovo (pesa) SSE UDC_Parent valido + IF((NOT @UDC_parent IS NULL) AND (NOT @UDC_parent = '')) + BEGIN + INSERT INTO RelazUDC(UDC_parent, UDC_child) + VALUES (@UDC_parent, @UDC) + END +COMMIT TRAN + +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- Ciclo secondario x eventuale cancellazione UDC tara parent e inserimento in posizione +------------------------------------------------------------------------------------------------------ + -- se richiesto elimino l'UDC parent (tara) + IF(@DoDeleteUdcParent = 1) + BEGIN + DELETE FROM ElencoCartellini WHERE UDC = @UDC_parent + END + + -- calcolo la prima cella della posizione indicata.. + SET @IdxCella = ( + SELECT TOP 1 c.IdxCella + FROM Celle c INNER JOIN Blocchi b ON c.IdxBlocco=b.IdxBlocco + WHERE b.CodMag = CAST(@IdxPosizione AS NVARCHAR(50)) + ) + -- inserisco il cartellino nella prima cella della posizione indicata.. + INSERT INTO PosizioneUdcCorrente + VALUES (@UDC, @IdxCella, @CodCS, GETDATE()) +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- restituisco la tab dati con l'udc appena inserito +------------------------------------------------------------------------------------------------------ +SELECT * +FROM ElencoCartellini +WHERE UDC = @UDC +------------------------------------------------------------------------------------------------------ + +RETURN +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Altering [dbo].[stp_UDC_insNewFull]' +GO + +/*************************************** +* STORED stp_UDC_insNewFull +* +* crea un nuovo record nella TabStatoOdpUdc FULL (con pesi, qta...) e restituisce il codice UDC appena creato +* +* Steamware, S.E.L. +* mod: 2010.04.28 +* +****************************************/ +ALTER PROCEDURE [dbo].[stp_UDC_insNewFull] +( + @CodCS VARCHAR(2), + @Flusso VARCHAR(2), + @Anno VARCHAR(2), + @CodCliente VARCHAR(6), + @Particolare VARCHAR(15), + @CodImpianto AS VARCHAR(50), + @CodStampo VARCHAR(8), + @Esponente VARCHAR(6), + @Figura VARCHAR(4), + @DataFus DATETIME, + @TurnoFus INT, + @CodImballo VARCHAR(15), + @CodSoggetto VARCHAR(17), + @Tara FLOAT, + @IdxPosizione INT, + @CodTipoDichiaraz CHAR(1), + @CodEvento VARCHAR(10), + @Qta DECIMAL(10,2), + @PesoTot FLOAT, + @PesoCad FLOAT, + @CodStato VARCHAR(50), + @UDC_parent VARCHAR(50), + @DoDeleteUdcParent BIT, + @Note NVARCHAR(500) +) +AS + +-- DECLARE iniziali +DECLARE @UDC AS VARCHAR(50) +DECLARE @RagSociale AS VARCHAR(35) +DECLARE @DescParticolare AS VARCHAR(30) +DECLARE @DescImpianto AS VARCHAR(50) +DECLARE @DisegnoGrezzo AS VARCHAR(30) +DECLARE @NumCont AS INT +DECLARE @numFlu AS INT +DECLARE @numUdc AS INT +DECLARE @nextUdc AS INT +DECLARE @IdxCella AS INT + +------------------------------------------------------------------------------------------------------ +-- Caricamento Dati da anagrafica +------------------------------------------------------------------------------------------------------ +-- cerco la ragione sociale... +SET @RagSociale = ( + SELECT ISNULL(RagSociale, 'ND') AS RagSociale + FROM RilPro.AnagClienti + WHERE (CodCliente = @CodCliente) +) + +-- Cerco descrizione del particolare... +SET @DescParticolare = ( + SELECT ISNULL(DescParticolare, 'ND') AS DescParticolare + FROM RilPro.AnagParticolari + WHERE (Particolare = @Particolare) +) + +-- cerco codice disegno grezzo +SET @DisegnoGrezzo = ( + SELECT ISNULL(DisegnoGrezzo, 'ND') AS DescParticolare + FROM RilPro.AnagParticolari + WHERE (Particolare = @Particolare) +) + +-- cerco descrizione Impianto +SET @DescImpianto = ( + SELECT ISNULL(DescImpianto, 'ND') AS DescImpianto + FROM AnagImpianti + WHERE (CodImpianto = @CodImpianto) +) + + + +-- Calcolo contatore intero successivo x il contenitore... +SET @NumCont = ( + SELECT ISNULL(MAX(NumCont), 0) + 1 AS NumCont + FROM ElencoCartellini + WHERE (Particolare = @Particolare) + AND (DataFus = @DataFus) + AND (TurnoFus = @TurnoFus) + AND (CodImpianto = @CodImpianto) + AND (CodStampo = @CodStampo) + AND (Figura = @Figura) +) + + +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- Flusso +------------------------------------------------------------------------------------------------------ +-- controllo se esiste il flusso (bilancia)... +SET @numFlu = ( + SELECT count(*) + FROM AnagBilance + WHERE CodBilancia = @Flusso +) +-- ...sennò lo creo... +IF(@numFlu = 0) + BEGIN + -- se c'è inserisco in tab + INSERT INTO AnagBilance(CodBilancia, DescrImpianto, CodCS) + VALUES (@Flusso, @Flusso, @CodCS) + END +------------------------------------------------------------------------------------------------------ + + +------------------------------------------------------------------------------------------------------ +-- UDC +------------------------------------------------------------------------------------------------------ +-- controllo se ci sia già un UDC per company / flusso anno +BEGIN TRAN + -- cerco nella tab contatori UDC l'ultimo valido + SET @numUdc = ( + SELECT count(*) + FROM ContatoriUdc + WHERE CodCS = @CodCS + AND Flusso = @Flusso + AND Anno = @Anno + ) + -- controllo se record c'è... + IF(@numUdc > 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 @numUdc = ( + SELECT LastIdx + FROM ContatoriUdc + WHERE CodCS = @CodCS + AND Flusso = @Flusso + AND Anno = @Anno + ) +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- Ciclo principale x inserimento nuovo record +------------------------------------------------------------------------------------------------------ +BEGIN TRAN + -- ottengo il nuovo codice UDC completo + --SET @UDC = 'U' + @CodCS + @Flusso + @Anno + dbo.f_padLeft(CAST(@numUdc AS VARCHAR(6)), 6, '0') + SET @UDC = dbo.componiUdc(@CodCS, @Flusso, @Anno, @numUdc) + + + -- inserisco un nuovo record + INSERT INTO ElencoCartellini(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, Note) + VALUES (@UDC, @CodCS, @CodCliente, @RagSociale, @Particolare, @DescParticolare, @DisegnoGrezzo, @Esponente, @CodImpianto, @DescImpianto, @CodStampo, @Figura, @DataFus, @TurnoFus, @CodImballo, @CodSoggetto, @NumCont, @Tara, @Qta, @CodStato, @IdxPosizione, @PesoTot, @PesoCad, GETDATE(), GETDATE(), @Note) + + -- inserisco relazione parent-child tra UDC vecchio (tara) e nuovo (pesa) SSE UDC_Parent valido + IF((NOT @UDC_parent IS NULL) AND (NOT @UDC_parent = '')) + BEGIN + INSERT INTO RelazUDC(UDC_parent, UDC_child) + VALUES (@UDC_parent, @UDC) + END +COMMIT TRAN + +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- Ciclo secondario x eventuale cancellazione UDC tara parent e inserimento in posizione +------------------------------------------------------------------------------------------------------ + -- se richiesto elimino l'UDC parent (tara) + IF(@DoDeleteUdcParent = 1) + BEGIN + DELETE FROM ElencoCartellini WHERE UDC = @UDC_parent + END + + -- calcolo la prima cella della posizione indicata.. + SET @IdxCella = ( + SELECT TOP 1 c.IdxCella + FROM Celle c INNER JOIN Blocchi b ON c.IdxBlocco=b.IdxBlocco + WHERE b.CodMag = CAST(@IdxPosizione AS NVARCHAR(50)) + ) + -- inserisco il cartellino nella prima cella della posizione indicata.. + INSERT INTO PosizioneUdcCorrente + VALUES (@UDC, @IdxCella, @CodCS, GETDATE()) +------------------------------------------------------------------------------------------------------ + +/* +------------------------------------------------------------------------------------------------------ +-- Salvataggio dati evento in tab StoricoEventi +------------------------------------------------------------------------------------------------------ +INSERT INTO StoricoEventi(DataEv, CodEvento, CodOperatore, CodTipoDichiaraz, CodCS, UDC, Qta, PesoTot, PesoCad, Particolare, CodStato, CodStampo, Figura, FiguraIncisa) +VALUES (GETDATE(), @CodEvento, @CodOperatore, @CodTipoDichiaraz, @CodCS, @UDC, @Qta, @PesoTot, @PesoCad, @Particolare, @CodStato, @CodStampo, @Figura, @FiguraIncisa) +------------------------------------------------------------------------------------------------------ +*/ + +------------------------------------------------------------------------------------------------------ +-- restituisco la tab dati con l'udc appena inserito +------------------------------------------------------------------------------------------------------ +SELECT * +FROM ElencoCartellini +WHERE UDC = @UDC +------------------------------------------------------------------------------------------------------ + +RETURN +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Refreshing [dbo].[V_MagazziniLogiciOverview]' +GO +EXEC sp_refreshview N'[dbo].[V_MagazziniLogiciOverview]' +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Altering [dbo].[stp_UDC_insNew]' +GO + +/*************************************** +* STORED stp_UDC_insNew +* +* crea un nuovo record nella TabStatoOdpUdc e restituisce il codice UDC appena creato +* +* Steamware, S.E.L. +* mod: 2010.04.28 +* +****************************************/ +ALTER PROCEDURE [dbo].[stp_UDC_insNew] +( + @CodCS VARCHAR(2), + @Flusso VARCHAR(2), + @Anno VARCHAR(2), + @Tara FLOAT, + @CodImballo AS VARCHAR(50), + @CodTipoDichiaraz CHAR(1), + @CodSoggetto VARCHAR(17) +) +AS + +-- DECLARE iniziali +DECLARE @UDC AS VARCHAR(50) +DECLARE @numFlu AS INT +DECLARE @numUdc AS INT +DECLARE @nextUdc AS INT + +------------------------------------------------------------------------------------------------------ +-- Flusso +------------------------------------------------------------------------------------------------------ +-- controllo se esiste il flusso (bilancia)... +SET @numFlu = ( + SELECT count(*) + FROM AnagBilance + WHERE CodBilancia = @Flusso +) +-- ...sennò lo creo... +IF(@numFlu = 0) + BEGIN + -- se c'è inserisco in tab + INSERT INTO AnagBilance(CodBilancia, DescrImpianto, CodCS) + VALUES (@Flusso, @Flusso, @CodCS) + END +------------------------------------------------------------------------------------------------------ + + +------------------------------------------------------------------------------------------------------ +-- UDC +------------------------------------------------------------------------------------------------------ +-- controllo se ci sia già un UDC per company / flusso anno +BEGIN TRAN + -- cerco nella tab contatori UDC l'ultimo valido + SET @numUdc = ( + SELECT count(*) + FROM ContatoriUdc + WHERE CodCS = @CodCS + AND Flusso = @Flusso + AND Anno = @Anno + ) + -- controllo se record c'è... + IF(@numUdc > 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 @numUdc = ( + SELECT LastIdx + FROM ContatoriUdc + WHERE CodCS = @CodCS + AND Flusso = @Flusso + AND Anno = @Anno + ) +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- Ciclo principale x inserimento nuovo record +------------------------------------------------------------------------------------------------------ +-- ottengo il nuovo codice UDC completo +--SET @UDC = 'U' + @CodCS + @Flusso + @Anno + dbo.f_padLeft(CAST(@numUdc AS VARCHAR(6)), 6, '0') +SET @UDC = dbo.componiUdc(@CodCS, @Flusso, @Anno, @numUdc) + +-- inserisco un nuovo record +INSERT INTO ElencoCartellini(CodCS, UDC, Tara, IdxPosizione, Qta, CodImballo, CodSoggetto, CreateDate, ModDate) +VALUES (@CodCS, @UDC, @Tara, 0, 0, @CodImballo, @CodSoggetto, GETDATE(), GETDATE()) +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- restituisco la tab dati con l'udc appena inserito +------------------------------------------------------------------------------------------------------ +SELECT * +FROM ElencoCartellini +WHERE UDC = @UDC +------------------------------------------------------------------------------------------------------ + +RETURN +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Refreshing [dbo].[v_selMagLogico]' +GO +EXEC sp_refreshview N'[dbo].[v_selMagLogico]' +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Refreshing [dbo].[v_datiPackingList]' +GO +EXEC sp_refreshview N'[dbo].[v_datiPackingList]' +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Altering [dbo].[stp_UdcDetailGetByIdxBloccoCodMagLog]' +GO + +/*************************************** +* STORED stp_UdcDetailGetByIdxBloccoCodMagLog +* +* ottiene l'elenco degli UDC con dettaglio posizioni OCCUPATE associati ad un dato blocco di magazzino ed ad un dato STATO LOGICO +* +* Steamware, S.E.L. +* mod: 2010.09.15 +* +****************************************/ +ALTER PROCEDURE [dbo].[stp_UdcDetailGetByIdxBloccoCodMagLog] +( + @IdxBlocco INT, + @CodMagLog INT +) +AS + +SELECT ElencoCartellini.UDC, ElencoCartellini.RagSociale, ElencoCartellini.Particolare, ElencoCartellini.DescParticolare, + ElencoCartellini.DisegnoGrezzo, ElencoCartellini.Esponente, ElencoCartellini.DescImpianto, ElencoCartellini.DataFus, + ElencoCartellini.TurnoFus, ElencoCartellini.CodImballo, ElencoCartellini.Qta, AnagStatiProdotto.DescStato, + ElencoCartellini.ModDate, ISNULL(Blocchi.CodMag, N'') AS CodMag, ISNULL(Blocchi.CodBlocco, N'') AS CodBlocco, + ISNULL(Celle.CodCella, N'') AS CodCella, ISNULL(dbo.Celle.IdxCella, 0) AS IdxCella, + ISNULL(Celle.X, 0) AS X, ISNULL(Celle.Y, 0) AS Y, ISNULL(Celle.Z, 0) AS Z, ElencoCartellini.IdxPosizione, ISNULL(ElencoCartellini.Note,'') AS Note +FROM Celle INNER JOIN + PosizioneUdcCorrente ON Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND + Celle.IdxCella = PosizioneUdcCorrente.IdxCella INNER JOIN + Blocchi ON Celle.IdxBlocco = Blocchi.IdxBlocco INNER JOIN + AnagMag ON Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND + Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS INNER JOIN + ElencoCartellini ON PosizioneUdcCorrente.UDC = ElencoCartellini.UDC LEFT OUTER JOIN + AnagStatiProdotto ON ElencoCartellini.CodStato = AnagStatiProdotto.CodStato AND ElencoCartellini.CodStato = AnagStatiProdotto.CodStato +WHERE (Celle.IdxBlocco = @IdxBlocco) AND ElencoCartellini.IdxPosizione = @CodMagLog + +RETURN +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Altering [dbo].[stp_spostaUdc]' +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 [dbo].[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 +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Altering [dbo].[stp_riattivaUdc]' +GO + +/*************************************** +* STORED stp_riattivaUdc +* +* riattiva un dato UDC (da mag consumato negativo a corrispettivo positivo) --> se era positivo NON FA NULLA!!! (perchè uso ABS e controllo sia < 0) +* +* Steamware, S.E.L. +* mod: 2010.11.04 +* +****************************************/ +ALTER PROCEDURE [dbo].[stp_riattivaUdc] +( + @UDC VARCHAR(50), + @CodSoggetto NVARCHAR(17) +) +AS + +DECLARE @CodEvento VARCHAR(10) +DECLARE @CodTipoDichiaraz VARCHAR(1) +DECLARE @IdxCella INT +DECLARE @CodCs NVARCHAR(2) + +SET @CodEvento = 'UDC_RIA' +SET @CodTipoDichiaraz = 'U' + +BEGIN TRAN + + -- faccio update posizione + UPDATE ElencoCartellini + SET IdxPosizione = ABS(IdxPosizione), ModDate=GETDATE(), CodSoggetto = @CodSoggetto + WHERE UDC = @UDC AND IdxPosizione IN (SELECT IdxPosizione FROM AnagPosizioni WHERE (IsRiattivaEnabled = 1) +) + + -- lo elimino da eventuali precedenti liste di prelievo sennò poi non potrei + prelevarlo + DELETE FROM RigheListePrelievo + WHERE UDC = @UDC + + -- imposto posizione CELLA corrente x l'udc nella prima libera + SET @IdxCella = (SELECT c.IdxCella FROM Celle c inner join Blocchi b ON c.IdxBlocco=b.IdxBlocco INNER JOIN ElencoCartellini e ON b.CodMag = CAST(e.IdxPosizione AS NVARCHAR(50)) WHERE e.UDC = @UDC) + SET @CodCs = (SELECT CodCs FROM ElencoCartellini WHERE UDC = @UDC) + INSERT INTO PosizioneUdcCorrente + VALUES(@Udc, @IdxCella, @CodCs, GETDATE()) + + +COMMIT TRAN + +RETURN +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Altering [dbo].[stp_ODETTE_upsertUdc]' +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 [dbo].[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 +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Creating [dbo].[f_padRight]' +GO + +/*************************************** +* FUNCTION f_padLeft +* +* fornisce una stringa della lunghezza desiderata aggiungendo a sx il carattere richiesto alla @string originale +* +* Steamware, S.E.L. +* mod: 2010.03.19 +* +****************************************/ +create FUNCTION [dbo].[f_padRight] (@string VARCHAR(255), @desired_length INTEGER, @pad_character CHAR(1)) +RETURNS VARCHAR(255) AS +BEGIN + + -- Prefix the required number of spaces to bulk up the string and then replace the spaces with the desired character + RETURN CASE + WHEN LEN(@string) < @desired_length + THEN @string + REPLACE(SPACE(@desired_length - LEN(@string)), ' ', @pad_character) + ELSE @string + END + +END +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Refreshing [dbo].[v_transcParticolari]' +GO +EXEC sp_refreshview N'[dbo].[v_transcParticolari]' +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Altering [dbo].[stp_updateByBilancia]' +GO + + + +/*************************************** +* STORED stp_updateByBilancia +* +* aggiorna i dati a partire dalla segnalazione conteggio pezzi della bilancia +* +* Steamware, S.E.L. +* mod: 2010.03.19 +* +****************************************/ +ALTER PROCEDURE [dbo].[stp_updateByBilancia] +( + @CodCompany VARCHAR(4), + @UDC VARCHAR(50), + @CodArticolo VARCHAR(50), + @qta INT +) +AS + +------------------------------------------------------------------------------------------------------ +-- Articoli +------------------------------------------------------------------------------------------------------ +DECLARE @numArt AS INT +-- controllo se esista il cod articolo o lo creo +SET @numArt = ( + SELECT count(*) + FROM AnagArticoli + WHERE CodArticolo = @CodArticolo +) +-- ...sennò lo creo... +IF(@numArt = 0) + BEGIN + INSERT INTO AnagArticoli(CodArticolo, DescrArticolo, Figura) + VALUES (@CodArticolo, @CodArticolo, 'ND') + END +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- ODP = articolo +------------------------------------------------------------------------------------------------------ +DECLARE @numOdp AS INT +-- controllo se esiste l'ODP = articolo... +SET @numOdp = ( + SELECT count(*) + FROM AnagOdp + WHERE CodCompany = @CodCompany + AND ODP = @CodArticolo +) +-- ...sennò lo creo... +IF(@numOdp = 0) + BEGIN + -- se c'è inserisco in tab + INSERT INTO AnagOdp(CodCompany, ODP, CodArticolo, Esponente, CodDisegno, Magazzino, Ubicazione, CreateDate, ModDate) + VALUES (@CodCompany, @CodArticolo, @CodArticolo, 'ND', 'ND', 'WIP', 'ND', GETDATE(), GETDATE()) + END +------------------------------------------------------------------------------------------------------ + + +------------------------------------------------------------------------------------------------------ +-- UDC +------------------------------------------------------------------------------------------------------ +-- aggiorno lo stato UDC +UPDATE TabStatoOdpUdc +SET Qta = @Qta, ODP = @CodArticolo +WHERE UDC = @UDC +------------------------------------------------------------------------------------------------------ + + +------------------------------------------------------------------------------------------------------ +-- restituisco la tab dati con l'udc appena inserit0 +------------------------------------------------------------------------------------------------------ +SELECT * +FROM TabStatoOdpUdc +WHERE UDC = @UDC +------------------------------------------------------------------------------------------------------ + +RETURN +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Altering [dbo].[stp_DtMtrx_import]' +GO + +/***************************************** +* STORED stp_DtMtrx_import +* +* Recupera dati Gitterbox/DataMatrix partendo leggendo dati successivi all'ultimo import e importanto in tab GMW +* +* Steamware, S.E.L. +* mod: 2011.04.29 +* +****************************************/ +ALTER PROCEDURE [dbo].[stp_DtMtrx_import] +( + @CodCS VARCHAR(2), + @IdxPosizione INT, + @CodSoggetto VARCHAR(17) +) +AS + +SET XACT_ABORT ON; +SET NOCOUNT ON; +/**** NON PRESENTE IN TEKAL +------------------------------------------------------------------------------------------------------ +-- leggo data ultimo import (o creo record...) +------------------------------------------------------------------------------------------------------ +DECLARE @nomeFlusso AS NVARCHAR(50) +DECLARE @lastImport AS DATETIME +DECLARE @trovati AS INT + +-- imposto valori +SET @nomeFlusso = 'DataMatrix' +SET @lastImport = DATEADD(yy,-10,GETDATE()) -- inizializzo a -10 anni ... +-- sistemo tab registrazione import... +BEGIN TRAN + -- cerco nella tab log ultima data caricamento + SET @trovati = ( + SELECT COUNT(*) + FROM logImportFlussi + WHERE NomeFlusso = @nomeFlusso + ) + -- controllo se record c'è... + IF(@trovati > 0) + BEGIN + SET @lastImport = ( SELECT LastImport FROM LogImportFlussi WHERE NomeFlusso = @nomeFlusso ) + END + ELSE + BEGIN + -- lo creo! + INSERT INTO LogImportFlussi(NomeFlusso, LastImport) + VALUES (@nomeFlusso, @lastImport) + END +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- ora gestisco il vero caricamento... +------------------------------------------------------------------------------------------------------ + -- filtro e salvo in tabella... gitterbox validi SOLO se iniziano per "U" + -- verifico già se esite già l'UDC/Gitterbox in ElencoCartellini + DECLARE @newData TABLE + ( + RowNumber int, + CodDataMatrix numeric(23, 0) , + CodGitterbox varchar(10) , + NumConchiglia int , + NumDisegno numeric(7, 0) , + EsponenteDisegno tinyint , + CodDifettoScarto varchar(5) , + InizioPreparazione smalldatetime , + FinePreparazione smalldatetime , + InizioIniezione smalldatetime , + FineIniezione smalldatetime , + MagDestinazione varchar(2) , + DataImport smalldatetime , + UDC varchar(50) + ) + INSERT INTO @newData + SELECT + ROW_NUMBER() OVER(PARTITION BY CodGitterbox ORDER BY InizioIniezione ASC), + dm.CodDataMatrix, LTRIM(RTRIM(dm.CodGitterbox)), dm.NumConchiglia, dm.NumDisegno, dm.EsponenteDisegno,dm.CodDifettoScarto, dm.InizioPreparazione, dm.FinePreparazione, dm.InizioIniezione, dm.FineIniezione, dm.MagDestinazione, dm.DataImport, + ec.UDC + FROM dbo.v_trasfDataMatrix AS dm + LEFT JOIN dbo.ElencoCartellini AS ec + ON dm.CodGitterbox = ec.UDC + WHERE DataImport > @lastImport AND LEFT(CodGitterbox, 1) = 'U' + AND CodDifettoScarto = '00' -- non importa gli scarti!!! + + /* INIZIO MODIFICA + + Note GCarlo : + + Se il Gitterbox è già stato trasferito e/o cmq già presente non viene caricato, al + limite vengono caricati i Datamatrix non ancora presenti ma con Gitterbox = EmptyGBox + + Se non trovo il Particolare in dbo.v_transcParticolari i datamatrix non vengono importati + Posso reimportarli spostando la data di import indietro in LogImportFlussi + + ATTENZIONE! Si presuppone che i DataMatrix siano coerenti ovvero stesso Particolare ecc. ecc. + */ + BEGIN TRAN; + + -- creo UDC da gitterbox nuovi ( Se UDC già presenti non li carico ) + -- GCARLO messo un RowCount prima e prendo solo il primo DataMatrix + INSERT INTO ElencoCartellini(UDC,CodCS, Particolare, DescParticolare, DisegnoGrezzo, Esponente, DataFus, Qta, + CodSoggetto, CodStato, IdxPosizione,CreateDate, ModDate, Figura, CodImballo, Tara, PesoTot, PesoCad, NumCont, TurnoFus ) + SELECT DISTINCT nd.CodGitterbox, @CodCS, tp.Particolare, an.DescParticolare, an.DisegnoGrezzo, an.EsponenteModifica + ,InizioIniezione, dbo.getNumDatamatrix(nd.CodGitterbox), @CodSoggetto As CodSoggetto, 'Fin' AS CodStato + ,@IdxPosizione, GETDATE(), GETDATE() + ,'' AS Figura, '' AS CodImballo,0 AS Tara,0 AS PesoTot,0 AS PesoCad,1 AS NumCont,0 AS TurnoFus + FROM @newData nd + INNER JOIN dbo.v_transcParticolari tp -- solo se PArticolare è presente in Trascodifica + ON nd.NumDisegno = tp.NumDisegno AND nd.EsponenteDisegno = tp.EsponenteDisegno + LEFT JOIN RilPro.AnagParticolari an -- Leggo il disegno in anagrafica + ON tp.Particolare = an.Particolare + WHERE nd.RowNumber = 1 -- Prendo solo i dati del First DataMatrix ( data iniezione ) + AND nd.UDC IS NULL -- solo Gitterbox Nuovi + + + DECLARE @udc NVARCHAR(50) + DECLARE @Particolare NVARCHAR(50) + DECLARE @NumDisegno NVARCHAR(50) + DECLARE @EsponenteDisegno NVARCHAR(50) + DECLARE @IdxCellaTo INT + DECLARE @adesso DATETIME + DECLARE @posTrovate INT + + SET @adesso = GETDATE() + SET @posTrovate = 0 + + -- indico cella UDC corrente... calcolo la prima cella della nuova posizione... + SET @IdxCellaTo = ( SELECT dbo.f_getCellaByPos(CAST(@IdxPosizione AS NVARCHAR(50))) ) + + DECLARE cursoreImport CURSOR FOR + SELECT DISTINCT CodGitterbox + FROM @newData + WHERE UDC IS NULL -- solo x Gitterbox Nuovi + + OPEN cursoreImport + FETCH NEXT FROM cursoreImport INTO @udc + + WHILE @@FETCH_STATUS = 0 + BEGIN + + -- controllo se posizione non ancora creata... + SET @posTrovate = ( SELECT COUNT(*) FROM PosizioneUdcCorrente WHERE UDC = @udc ) + IF( @posTrovate = 0) + BEGIN + INSERT INTO PosizioneUdcCorrente + VALUES (@udc, @IdxCellaTo, @CodCS, @adesso) + END + + FETCH NEXT FROM cursoreImport INTO @udc + END + + CLOSE cursoreImport + DEALLOCATE cursoreImport + + -- CARICAMENTO DATAMATRIX -- + + -- Carico i datamatrix se UDC/Gitterbox nuovi + INSERT INTO dbo.ElencoDataMatrix + SELECT nw.CodDataMatrix + ,nw.CodGitterbox + ,nw.NumConchiglia + ,nw.NumDisegno + ,nw.EsponenteDisegno + ,nw.CodDifettoScarto + ,nw.InizioPreparazione + ,nw.FinePreparazione + ,nw.InizioIniezione + ,nw.FineIniezione + ,nw.MagDestinazione + ,nw.DataImport + FROM @newData AS nw + LEFT JOIN dbo.ElencoDataMatrix AS el + ON nw.CodDataMatrix = el.CodDataMatrix + WHERE el.CodDataMatrix IS NULL -- Nuovi Datamatrix + AND nw.UDC IS NULL -- Solo per Gitterbox nuovi + + -- Se esistono Datamatrix di UDC già caricati in precedenza li inserisco ma senza + -- assegnare l'UDC ma lo metto a EmptyGBox perchè potrebbero essere UDC già spediti o + -- movimentati e dovrei anche aggiornare la giacenza in ElencoCartellini + INSERT INTO dbo.ElencoDataMatrix + SELECT nw.CodDataMatrix + ,'EmptyGBox' AS CodGitterbox + ,nw.NumConchiglia + ,nw.NumDisegno + ,nw.EsponenteDisegno + ,nw.CodDifettoScarto + ,nw.InizioPreparazione + ,nw.FinePreparazione + ,nw.InizioIniezione + ,nw.FineIniezione + ,nw.MagDestinazione + ,nw.DataImport + FROM @newData AS nw + LEFT JOIN dbo.ElencoDataMatrix AS el + ON nw.CodDataMatrix = el.CodDataMatrix + WHERE el.CodDataMatrix IS NULL + AND nw.UDC IS NOT NULL + + -- aggiorno dati ultimo caricamento + SET @lastImport = ( SELECT ISNULL(MAX(DataImport),@lastImport) FROM @newData ) + UPDATE LogImportFlussi + SET LastImport = @lastImport + WHERE NomeFlusso = @nomeFlusso + COMMIT TRAN; +*/ +RETURN +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Altering trigger [dbo].[trg_storicoUDC] on [dbo].[ElencoCartellini]' +GO + +-- ============================================= +-- Author: Samuele E. Locatelli +-- Create date: 2009-10-27 +-- Description: trigger x inserimento valori in archivio storico alla cancellazione/modifica del dato +-- ============================================= +ALTER TRIGGER [dbo].[trg_storicoUDC] + ON [dbo].[ElencoCartellini] + AFTER DELETE,UPDATE +AS +BEGIN + -- SET NOCOUNT ON added to prevent extra result sets from + -- interfering with SELECT statements. + SET NOCOUNT ON; + + -- metto in storico la posizione attuale dell'UDC (SE esiste) CANCELLATO + INSERT INTO StoricoCartellini(DataEv, UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, DisegnoGrezzo, Esponente, CodImpianto, + DescImpianto, CodStampo, Figura, DataFus, TurnoFus, CodImballo, CodSoggetto, NumCont, Tara, Qta, CodStato, IdxPosizione, PesoTot, PesoCad, Note) + ( + + SELECT GETDATE(), UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, DisegnoGrezzo, Esponente, CodImpianto, DescImpianto, + CodStampo, Figura, DataFus, TurnoFus, CodImballo, CodSoggetto, NumCont, Tara, Qta, CodStato, IdxPosizione, PesoTot, PesoCad, Note + FROM deleted + ) + +END +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Altering extended properties' +GO +EXEC sp_updateextendedproperty N'Note', N'Tabella di decodifica il CodRaggruppamento Magazzino per Stampa Odette', 'SCHEMA', N'RilPro', 'TABLE', N'TabDecodBolla', NULL, NULL +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +EXEC sp_updateextendedproperty N'MS_DiagramPane1', N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "AnagStatiProdotto" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 101 + Right = 208 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "ElencoCartellini" + Begin Extent = + Top = 6 + Left = 246 + Bottom = 309 + Right = 416 + End + DisplayFlags = 280 + TopColumn = 12 + End + Begin Table = "Celle" + Begin Extent = + Top = 27 + Left = 818 + Bottom = 156 + Right = 988 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "PosizioneUdcCorrente" + Begin Extent = + Top = 71 + Left = 548 + Bottom = 200 + Right = 718 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "Blocchi" + Begin Extent = + Top = 70 + Left = 1080 + Bottom = 199 + Right = 1250 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "AnagMag" + Begin Extent = + Top = 188 + Left = 799 + Bottom = 334 + Right = 969 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 22 + Width = 284 + Width = 15', 'SCHEMA', N'dbo', 'VIEW', N'v_UdcDetail', NULL, NULL +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +PRINT N'Creating extended properties' +GO +EXEC sp_addextendedproperty N'MS_DiagramPane1', N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "ec" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 336 + Right = 208 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "rq" + Begin Extent = + Top = 15 + Left = 364 + Bottom = 298 + Right = 534 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 40 + Width = 284 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1', 'SCHEMA', N'dbo', 'VIEW', N'v_RapQualNote', NULL, NULL +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +EXEC sp_addextendedproperty N'MS_DiagramPane2', N'170 + SortType = 1350 + SortOrder = 1410 + GroupBy = 1350 + Filter = 1350 + Or = 1350 + Or = 1350 + Or = 1350 + End + End +End +', 'SCHEMA', N'dbo', 'VIEW', N'v_RapQualNote', NULL, NULL +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +EXEC sp_addextendedproperty N'MS_DiagramPaneCount', 2, 'SCHEMA', N'dbo', 'VIEW', N'v_RapQualNote', NULL, NULL +GO +IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END +GO +IF EXISTS (SELECT * FROM #tmpErrors) ROLLBACK TRANSACTION +GO +IF @@TRANCOUNT>0 BEGIN +PRINT 'The database update succeeded' +COMMIT TRANSACTION +END +ELSE PRINT 'The database update failed' +GO +DROP TABLE #tmpErrors +GO \ No newline at end of file diff --git a/GMW_data/SqlScripts/V1.2/GMW_440_POST Installazione_SP.sql b/GMW_data/SqlScripts/V1.2/GMW_440_POST Installazione_SP.sql new file mode 100644 index 00000000..586fa310 --- /dev/null +++ b/GMW_data/SqlScripts/V1.2/GMW_440_POST Installazione_SP.sql @@ -0,0 +1,243 @@ + + +-- Aggiorno le relazioni UDC mancanti con la data creazione UDC_child +UPDATE RelazUDC +SET dataMod = el.CreateDate +FROM RelazUDC As Rl +INNER JOIN ElencoCartellini AS el ON Rl.UDC_child = el.UDC +WHERE rl.dataMod = '2012-01-01' + + +-- Inserisco Evento di ripristino dell' UDC Finito +INSERT [dbo].[TabTranPosizEventi] +VALUES('UDC_CONS',-4,4,0,1) + +-- Metto anche questo anche se non serve visto che non fa scarico AS400 +INSERT [dbo].[TabTranPosizEventi] +VALUES('UDC_CONS',-6,6,0,0) + + + +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + + +/*************************************** +* STORED stp_selDestListePrelByConditio +* +* Ottiene i destinatari delle liste di prelievo data la condizione indicata +* +* Steamware, S.E.L. +* mod: 2010.11.02 +* +****************************************/ +ALTER PROCEDURE [dbo].[stp_selDestListePrelByConditio] +( + @conditio NVARCHAR(20) +) +AS + +IF (@conditio='01-PreFus') +BEGIN + SELECT CAST('*' AS NVARCHAR(6)) AS value, CAST('*' AS NVARCHAR(50)) AS label, '01-PreFus' AS conditio +END + +ELSE IF (@conditio='01-PreAnim') +BEGIN + SELECT CAST(CodCliente AS NVARCHAR(6)) AS value, CAST(CodCliente AS NVARCHAR(6)) +'- ' +CAST(RagSociale AS NVARCHAR(50)) AS label, '01-PreAnim' AS conditio + FROM RilPro.AnagClienti + ORDER BY label +END + +ELSE IF (@conditio='02-PreCli') +BEGIN + SELECT CAST(CodCliente AS NVARCHAR(6)) AS value, CAST(CodCliente AS NVARCHAR(6)) +'- ' +CAST(RagSociale AS NVARCHAR(50)) AS label, '02-PreCli' AS conditio + FROM RilPro.AnagClienti + ORDER BY label +END + +ELSE IF (@conditio='04-OdetSP') +BEGIN + SELECT CAST(CodCliente AS NVARCHAR(6)) AS value, CAST(CodCliente AS NVARCHAR(6)) +'- ' +CAST(RagSociale AS NVARCHAR(50)) AS label, '04-OdetSP' AS conditio + FROM RilPro.AnagClienti + ORDER BY label +END + +ELSE IF (@conditio='05-TerAn') +BEGIN + SELECT CAST(CodTerzista AS NVARCHAR(6)) AS value, CAST(CodTerzista AS NVARCHAR(6))+ '- '+CAST(DescTerzista AS NVARCHAR(50)) AS label, '05-TerAn' AS conditio + FROM RilPro.AnagDepositi + ORDER BY label +END + +ELSE IF (@conditio='03-TerWip') +BEGIN + SELECT CAST(CodTerzista AS NVARCHAR(6)) AS value, CAST(CodTerzista AS NVARCHAR(6))+ '- '+CAST(DescTerzista AS NVARCHAR(50)) AS label, '03-TerWip' AS conditio + FROM RilPro.AnagDepositi + ORDER BY label +END + +ELSE -- Se non configurata prendo elenco destinatari esterni +BEGIN + SELECT CAST(CodTerzista AS NVARCHAR(6)) AS value, CAST(CodTerzista AS NVARCHAR(6))+ '- '+CAST(DescTerzista AS NVARCHAR(50)) AS label, '99-Terzis' AS conditio + FROM RilPro.AnagDepositi + ORDER BY label +END + +RETURN + +GO + + + +SET ANSI_NULLS ON +GO +SET QUOTED_IDENTIFIER ON +GO + + + +-- ============================================= +-- Author: Samuele E. Locatelli +-- Create date: 2009-09-20 mod. 2012-03-14 +-- Description: trigger x inserimento movimenti +-- nella coda di trasferimento batch +-- verso AS400 x UPDATE UDC +-- ============================================= +ALTER TRIGGER [dbo].[trg_updMovAS] + ON [dbo].[ElencoCartellini] + AFTER UPDATE +AS +BEGIN + + -- setup variabili e verbosità + SET NOCOUNT ON; + DECLARE @partOk AS BIT + DECLARE @currUdc AS NVARCHAR(50) + DECLARE @IdxPosFrom AS INT + DECLARE @IdxPosTo AS INT + DECLARE @magFrom AS NVARCHAR(50) + DECLARE @magTo AS NVARCHAR(50) + DECLARE @qta AS DECIMAL(10,2) + DECLARE @qtaOld AS DECIMAL(10,2) + DECLARE @IdxPosizioneComp INT + DECLARE @toAs400 BIT + + -- e se modificano il codice UDC ??? o + di uno ? + -- ciclo solo solo se è cambiata la posizione o la quantità + DECLARE cursore CURSOR FOR + SELECT CASE WHEN ISNULL(i.Particolare,'n.d.') = 'n.d.' THEN 0 ELSE 1 END, i.UDC + FROM inserted AS i + INNER JOIN deleted AS d ON i.UDC = d.UDC + WHERE ( (i.IdxPosizione <> d.IdxPosizione) OR (i.Qta <> d.Qta) ) + AND i.Particolare IS NOT NULL + + OPEN cursore + FETCH NEXT FROM cursore INTO @partOk, @currUdc + + WHILE @@FETCH_STATUS = 0 + BEGIN + -- controllo che CI SIA il particolare (altrimenti non eseguo) + IF(@partOk = 1) + -- Prendo la idxposizione e qta precedente + SELECT @qtaOld = Qta , @IdxPosFrom = IdxPosizione FROM deleted WHERE UDC = @currUdc + -- Prendo la idxposizione e qta nuova + SELECT @qta = Qta , @IdxPosTo = IdxPosizione FROM inserted WHERE UDC = @currUdc + + -- se c'è stata modifica di quantità inizio a rettificare quella + IF ( (UPDATE(Qta)) AND (@qta <> @qtaOld) ) + BEGIN + -- registro il VERO movimento se previsto verso AS400 + INSERT INTO AS400_BatchMovimenti(DataIns, CodEvento, Particolare, UDC, CodMagAS, Quantita) + ( + SELECT GETDATE(), 'UDC_MOD', Particolare, UDC, + CAST(IdxPosizione AS NVARCHAR(50)), @qta - Qta + FROM deleted + WHERE UDC = @currUdc AND CAST(IdxPosizione AS NVARCHAR(50)) IN + (SELECT CodMagAS FROM AS400_MagCont WHERE Attivo = 1) + ) + -- controllo: se il magazzino di destinazione richiede una compensazione registro il 2° movimento di compensazione + -- calcolo il mag di compensazione + SET @IdxPosizioneComp = ISNULL( (SELECT CAST(ISNULL(CodMagAS_compensaz,0) AS INT) FROM AS400_MagCont + WHERE (Attivo = 1) AND (CodMagAS = CAST(@IdxPosFrom AS NVARCHAR(50))) + ),0) + -- Se il Magazzino compensazione non è 0 ed esiste compenso + IF (@IdxPosizioneComp > 0) + BEGIN + INSERT INTO AS400_BatchMovimenti(DataIns, CodEvento, Particolare, UDC, CodMagAS, Quantita) + ( + SELECT GETDATE(), 'UDC_COMP', Particolare, UDC, + CAST(@IdxPosizioneComp AS NVARCHAR(50)), Qta - @qta + FROM deleted + WHERE UDC = @currUdc + -- AND CAST(IdxPosizione AS NVARCHAR(50)) IN (SELECT CodMagAS FROM AS400_MagCont WHERE Attivo = 1) + ) + END + END + + -- controllo se devo fare rettifiche quantità in base a IdxPosizioneTo ... + SET @toAs400 = ( SELECT TOP 1 toAs400 as valore + FROM TabTranPosizEventi + WHERE IdxPosizione = @IdxPosFrom AND IdxPosizioneTo = @IdxPosTo AND CodEvento = 'UDC_CONS' ) -- NON E' CORRETTO!!!! DOVEVA ESSERE MAX !!! + + -- controllo poi se sia cambiato il magazzino logico (IdxPosizione) e si richieda update verso AS400, altrimenti non lo inserisco + IF (UPDATE(IdxPosizione) AND @IdxPosFrom <> @IdxPosTo AND @toAs400 = 1) + BEGIN + -- Le trasformo nelle equivalenti stringhe del codMag SE attive + SET @magFrom = ( SELECT CodMagAS FROM AS400_MagCont + WHERE Attivo = 1 AND CodMagAs = CAST(@IdxPosFrom AS NVARCHAR(50))) + SET @magTo = ( SELECT CodMagAS FROM AS400_MagCont + WHERE Attivo = 1 AND CodMagAs = CAST(@IdxPosTo AS NVARCHAR(50))) + + -- inserisco un movimento di deposito verso mag nuovo (SE attivo) + IF @magFrom IS NOT NULL + BEGIN + INSERT INTO AS400_BatchMovimenti(DataIns, CodEvento, Particolare, UDC, CodMagAS, Quantita) + ( + SELECT GETDATE(), 'UDC_MOV', Particolare, UDC, + CAST(IdxPosizione AS NVARCHAR(50)), -@qta + FROM deleted + WHERE UDC = @currUdc AND CAST(IdxPosizione AS NVARCHAR(50)) IN + (SELECT CodMagAS FROM AS400_MagCont WHERE Attivo = 1) + ) + END + -- inserisco un movimento di prelievo verso mag vecchio (SE attivo) + IF @magTo IS NOT NULL + BEGIN + INSERT INTO AS400_BatchMovimenti(DataIns, CodEvento, Particolare, UDC, CodMagAS, Quantita) + ( + SELECT GETDATE(), 'UDC_MOV', Particolare, UDC, + CAST(IdxPosizione AS NVARCHAR(50)), @qta + FROM inserted + WHERE UDC = @currUdc AND CAST(IdxPosizione AS NVARCHAR(50)) IN + (SELECT CodMagAS FROM AS400_MagCont WHERE Attivo = 1) + ) + END + END + FETCH NEXT FROM cursore INTO @partOk, @currUdc + END + + CLOSE cursore + DEALLOCATE cursore + +END + + + + + + + + +-- Lemma mancante +Print 'Da Fare su VOCABOLARIO' + +USE SP_Vocabolario +EXEC dbo.stp_insNewLemma @lemma = N'05-TerAn', @traduzione = N'Anime Terzista' + +Print 'Da Fare su VOCABOLARIO' + + diff --git a/GMW_data/SqlScripts/V1.2/GMW_440_POST Installazione_TK.sql b/GMW_data/SqlScripts/V1.2/GMW_440_POST Installazione_TK.sql new file mode 100644 index 00000000..93c2ce75 --- /dev/null +++ b/GMW_data/SqlScripts/V1.2/GMW_440_POST Installazione_TK.sql @@ -0,0 +1,254 @@ + + +-- Aggiorno le relazioni UDC mancanti con la data creazione UDC_child +UPDATE RelazUDC +SET dataMod = el.CreateDate +FROM RelazUDC As Rl +INNER JOIN ElencoCartellini AS el ON Rl.UDC_child = el.UDC +WHERE rl.dataMod = '2012-01-01' + + +-- Sistemo CodStato x cartellini Anime vecchi con stato 'Fin' +UPDATE dbo.ElencoCartellini +SET CodStato = 'Anim' +WHERE IdxPosizione = 2 OR IdxPosizione = -2 + + +-- Disattivo Lista Prelievo Anime Terzista perchè effettua cmq scarico +UPDATE dbo.TipoListaPrelievo +SET enabled = 0 +WHERE CodTipoLista = '05-TerAn' + +-- Inserisco Evento di ripristino dell' UDC Anime +INSERT [dbo].[TabTranPosizEventi] +VALUES('UDC_CONS',-2,2,0,1) + +-- Metto anche questo anche se non serve visto che non fa scarico AS400 +INSERT [dbo].[TabTranPosizEventi] +VALUES('UDC_CONS',-6,6,0,0) + + + +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + + +/*************************************** +* STORED stp_selDestListePrelByConditio +* +* Ottiene i destinatari delle liste di prelievo data la condizione indicata +* +* Steamware, S.E.L. +* mod: 2010.11.02 +* +****************************************/ +ALTER PROCEDURE [dbo].[stp_selDestListePrelByConditio] +( + @conditio NVARCHAR(20) +) +AS + +IF (@conditio='01-PreFus') +BEGIN + SELECT CAST('*' AS NVARCHAR(6)) AS value, CAST('*' AS NVARCHAR(50)) AS label, '01-PreFus' AS conditio +END + +ELSE IF (@conditio='01-PreAnim') +BEGIN + SELECT CAST(CodCliente AS NVARCHAR(6)) AS value, CAST(CodCliente AS NVARCHAR(6)) +'- ' +CAST(RagSociale AS NVARCHAR(50)) AS label, '01-PreAnim' AS conditio + FROM RilPro.AnagClienti + ORDER BY label +END + +ELSE IF (@conditio='02-PreCli') +BEGIN + SELECT CAST(CodCliente AS NVARCHAR(6)) AS value, CAST(CodCliente AS NVARCHAR(6)) +'- ' +CAST(RagSociale AS NVARCHAR(50)) AS label, '02-PreCli' AS conditio + FROM RilPro.AnagClienti + ORDER BY label +END + +ELSE IF (@conditio='04-OdetSP') +BEGIN + SELECT CAST(CodCliente AS NVARCHAR(6)) AS value, CAST(CodCliente AS NVARCHAR(6)) +'- ' +CAST(RagSociale AS NVARCHAR(50)) AS label, '04-OdetSP' AS conditio + FROM RilPro.AnagClienti + ORDER BY label +END + +ELSE IF (@conditio='05-TerAn') +BEGIN + SELECT CAST(CodTerzista AS NVARCHAR(6)) AS value, CAST(CodTerzista AS NVARCHAR(6))+ '- '+CAST(DescTerzista AS NVARCHAR(50)) AS label, '05-TerAn' AS conditio + FROM RilPro.AnagDepositi + ORDER BY label +END + +ELSE IF (@conditio='03-TerWip') +BEGIN + SELECT CAST(CodTerzista AS NVARCHAR(6)) AS value, CAST(CodTerzista AS NVARCHAR(6))+ '- '+CAST(DescTerzista AS NVARCHAR(50)) AS label, '03-TerWip' AS conditio + FROM RilPro.AnagDepositi + ORDER BY label +END + +ELSE -- Se non configurata prendo elenco destinatari esterni +BEGIN + SELECT CAST(CodTerzista AS NVARCHAR(6)) AS value, CAST(CodTerzista AS NVARCHAR(6))+ '- '+CAST(DescTerzista AS NVARCHAR(50)) AS label, '99-Terzis' AS conditio + FROM RilPro.AnagDepositi + ORDER BY label +END + +RETURN + +GO + + + +SET ANSI_NULLS ON +GO +SET QUOTED_IDENTIFIER ON +GO + + + +-- ============================================= +-- Author: Samuele E. Locatelli +-- Create date: 2009-09-20 mod. 2012-03-14 +-- Description: trigger x inserimento movimenti +-- nella coda di trasferimento batch +-- verso AS400 x UPDATE UDC +-- ============================================= +ALTER TRIGGER [dbo].[trg_updMovAS] + ON [dbo].[ElencoCartellini] + AFTER UPDATE +AS +BEGIN + + -- setup variabili e verbosità + SET NOCOUNT ON; + DECLARE @partOk AS BIT + DECLARE @currUdc AS NVARCHAR(50) + DECLARE @IdxPosFrom AS INT + DECLARE @IdxPosTo AS INT + DECLARE @magFrom AS NVARCHAR(50) + DECLARE @magTo AS NVARCHAR(50) + DECLARE @qta AS DECIMAL(10,2) + DECLARE @qtaOld AS DECIMAL(10,2) + DECLARE @IdxPosizioneComp INT + DECLARE @toAs400 BIT + + -- e se modificano il codice UDC ??? o + di uno ? + -- ciclo solo solo se è cambiata la posizione o la quantità + DECLARE cursore CURSOR FOR + SELECT CASE WHEN ISNULL(i.Particolare,'n.d.') = 'n.d.' THEN 0 ELSE 1 END, i.UDC + FROM inserted AS i + INNER JOIN deleted AS d ON i.UDC = d.UDC + WHERE ( (i.IdxPosizione <> d.IdxPosizione) OR (i.Qta <> d.Qta) ) + AND i.Particolare IS NOT NULL + + OPEN cursore + FETCH NEXT FROM cursore INTO @partOk, @currUdc + + WHILE @@FETCH_STATUS = 0 + BEGIN + -- controllo che CI SIA il particolare (altrimenti non eseguo) + IF(@partOk = 1) + -- Prendo la idxposizione e qta precedente + SELECT @qtaOld = Qta , @IdxPosFrom = IdxPosizione FROM deleted WHERE UDC = @currUdc + -- Prendo la idxposizione e qta nuova + SELECT @qta = Qta , @IdxPosTo = IdxPosizione FROM inserted WHERE UDC = @currUdc + + -- se c'è stata modifica di quantità inizio a rettificare quella + IF ( (UPDATE(Qta)) AND (@qta <> @qtaOld) ) + BEGIN + -- registro il VERO movimento se previsto verso AS400 + INSERT INTO AS400_BatchMovimenti(DataIns, CodEvento, Particolare, UDC, CodMagAS, Quantita) + ( + SELECT GETDATE(), 'UDC_MOD', Particolare, UDC, + CAST(IdxPosizione AS NVARCHAR(50)), @qta - Qta + FROM deleted + WHERE UDC = @currUdc AND CAST(IdxPosizione AS NVARCHAR(50)) IN + (SELECT CodMagAS FROM AS400_MagCont WHERE Attivo = 1) + ) + -- controllo: se il magazzino di destinazione richiede una compensazione registro il 2° movimento di compensazione + -- calcolo il mag di compensazione + SET @IdxPosizioneComp = ISNULL( (SELECT CAST(ISNULL(CodMagAS_compensaz,0) AS INT) FROM AS400_MagCont + WHERE (Attivo = 1) AND (CodMagAS = CAST(@IdxPosFrom AS NVARCHAR(50))) + ),0) + -- Se il Magazzino compensazione non è 0 ed esiste compenso + IF (@IdxPosizioneComp > 0) + BEGIN + INSERT INTO AS400_BatchMovimenti(DataIns, CodEvento, Particolare, UDC, CodMagAS, Quantita) + ( + SELECT GETDATE(), 'UDC_COMP', Particolare, UDC, + CAST(@IdxPosizioneComp AS NVARCHAR(50)), Qta - @qta + FROM deleted + WHERE UDC = @currUdc + -- AND CAST(IdxPosizione AS NVARCHAR(50)) IN (SELECT CodMagAS FROM AS400_MagCont WHERE Attivo = 1) + ) + END + END + + -- controllo se devo fare rettifiche quantità in base a IdxPosizioneTo ... + SET @toAs400 = ( SELECT TOP 1 toAs400 as valore + FROM TabTranPosizEventi + WHERE IdxPosizione = @IdxPosFrom AND IdxPosizioneTo = @IdxPosTo AND CodEvento = 'UDC_CONS' ) -- NON E' CORRETTO!!!! DOVEVA ESSERE MAX !!! + + -- controllo poi se sia cambiato il magazzino logico (IdxPosizione) e si richieda update verso AS400, altrimenti non lo inserisco + IF (UPDATE(IdxPosizione) AND @IdxPosFrom <> @IdxPosTo AND @toAs400 = 1) + BEGIN + -- Le trasformo nelle equivalenti stringhe del codMag SE attive + SET @magFrom = ( SELECT CodMagAS FROM AS400_MagCont + WHERE Attivo = 1 AND CodMagAs = CAST(@IdxPosFrom AS NVARCHAR(50))) + SET @magTo = ( SELECT CodMagAS FROM AS400_MagCont + WHERE Attivo = 1 AND CodMagAs = CAST(@IdxPosTo AS NVARCHAR(50))) + + -- inserisco un movimento di deposito verso mag nuovo (SE attivo) + IF @magFrom IS NOT NULL + BEGIN + INSERT INTO AS400_BatchMovimenti(DataIns, CodEvento, Particolare, UDC, CodMagAS, Quantita) + ( + SELECT GETDATE(), 'UDC_MOV', Particolare, UDC, + CAST(IdxPosizione AS NVARCHAR(50)), -@qta + FROM deleted + WHERE UDC = @currUdc AND CAST(IdxPosizione AS NVARCHAR(50)) IN + (SELECT CodMagAS FROM AS400_MagCont WHERE Attivo = 1) + ) + END + -- inserisco un movimento di prelievo verso mag vecchio (SE attivo) + IF @magTo IS NOT NULL + BEGIN + INSERT INTO AS400_BatchMovimenti(DataIns, CodEvento, Particolare, UDC, CodMagAS, Quantita) + ( + SELECT GETDATE(), 'UDC_MOV', Particolare, UDC, + CAST(IdxPosizione AS NVARCHAR(50)), @qta + FROM inserted + WHERE UDC = @currUdc AND CAST(IdxPosizione AS NVARCHAR(50)) IN + (SELECT CodMagAS FROM AS400_MagCont WHERE Attivo = 1) + ) + END + END + FETCH NEXT FROM cursore INTO @partOk, @currUdc + END + + CLOSE cursore + DEALLOCATE cursore + +END + + + + + + + + +-- Lemma mancante +Print 'Da Fare su VOCABOLARIO' + +USE TK_Vocabolario +EXEC dbo.stp_insNewLemma @lemma = N'05-TerAn', @traduzione = N'Anime Terzista' + +Print 'Da Fare su VOCABOLARIO' + + diff --git a/GMW_data/SqlScripts/V2.0/GMW_00449_struttura.sql b/GMW_data/SqlScripts/V2.0/GMW_00449_struttura.sql new file mode 100644 index 00000000..78710be4 --- /dev/null +++ b/GMW_data/SqlScripts/V2.0/GMW_00449_struttura.sql @@ -0,0 +1,1427 @@ +set xact_abort on +go + +begin transaction +go + +alter table AS400_BatchMovimenti drop + constraint FK_AS400_BatchMovimenti_AS400_MagCont , + constraint FK_AS400_BatchMovimenti_AnagTipoEvento +go + +exec sp_rename 'PK_AS400_BatchMovimenti', 'tmp__PK_AS400_BatchMovimenti', 'OBJECT' +go + +exec sp_rename 'AS400_BatchMovimenti', 'tmp__AS400_BatchMovimenti_0', 'OBJECT' +go + +create table AS400_BatchMovimenti( + IdxBatch int not null identity constraint PK_AS400_BatchMovimenti primary key, + DataIns datetime not null, + numOp int, + CodEvento nvarchar(10) not null, + Particolare nvarchar(15) not null, + UDC nvarchar(50) not null, + CodMagAS nvarchar(50) not null, + Quantita decimal(10,2) not null, + DataBatch datetime, + DataVerifica datetime +) +go + +alter table AS400_BatchMovimenti add + constraint FK_AS400_BatchMovimenti_AnagTipoEvento foreign key(CodEvento) references AnagTipoEvento(CodEvento) on update cascade, + constraint FK_AS400_BatchMovimenti_AS400_MagCont foreign key(CodMagAS) references AS400_MagCont(CodMagAS) on update cascade +go + +exec sp_addextendedproperty 'MS_Description', 'dataora inserimento in coda caricamento', 'SCHEMA', 'dbo', 'TABLE', 'AS400_BatchMovimenti', 'COLUMN', 'DataIns' +go + +exec sp_addextendedproperty 'MS_Description', 'NON MODIFICARE: nel codice si usano questi campi x chiamate...', 'SCHEMA', 'dbo', 'TABLE', 'AS400_BatchMovimenti', 'COLUMN', 'CodEvento' +go + +exec sp_addextendedproperty 'MS_Description', 'dataora di caricamento batch verso AS', 'SCHEMA', 'dbo', 'TABLE', 'AS400_BatchMovimenti', 'COLUMN', 'DataBatch' +go + +exec sp_addextendedproperty 'MS_Description', N'dataora in cui è stato verificato il caricamento su AS', 'SCHEMA', 'dbo', 'TABLE', 'AS400_BatchMovimenti', 'COLUMN', 'DataVerifica' +go + +set identity_insert AS400_BatchMovimenti on +go + +insert into AS400_BatchMovimenti(IdxBatch,DataIns,CodEvento,Particolare,UDC,CodMagAS,Quantita,DataBatch,DataVerifica) select IdxBatch,DataIns,CodEvento,Particolare,UDC,CodMagAS,Quantita,DataBatch,DataVerifica from tmp__AS400_BatchMovimenti_0 +go + +set identity_insert AS400_BatchMovimenti off +go + +drop table tmp__AS400_BatchMovimenti_0 +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +create table GiornaleMagazzino( + numOp int not null identity constraint PK_GiornaleMagazzino primary key, + OP nchar(1) not null, + DataOra datetime not null, + UDC nvarchar(50) not null, + Particolare nvarchar(15) not null, + CodStatoFrom nvarchar(50) not null, + CodStatoTo nvarchar(50) not null, + IdxPosizioneFrom int not null, + IdxPosizioneTo int not null, + QtaFrom decimal(10,2) not null, + QtaTo decimal(10,2) not null, + DataOraProc datetime +) +go + +exec sp_addextendedproperty 'MS_Description', 'tipo operazione I(nsert), U(pdate), D(elete)', 'SCHEMA', 'dbo', 'TABLE', 'GiornaleMagazzino', 'COLUMN', 'OP' +go + +commit +go + + +alter table AS400_MagCont drop + column Attivo, + constraint DF_AS400_MagCont_CodMagAS_compensaz , + column CodMagAS_compensaz +go + + +set xact_abort on +go + +begin transaction +go + +create table TabSyncMovMag( + CodCS nchar(2) not null, + CodStatoFrom nvarchar(50) not null, + CodStatoTo nvarchar(50) not null, + IdxPosizioneFrom int not null, + IdxPosizioneTo int not null, + toExt bit not null constraint DF_TabSyncMovMag_toAs400 default (1), + codMagExtFrom nvarchar(50), + codMagExtTo nvarchar(50), + codMagExtComp nvarchar(50), + note nvarchar(500), + + constraint PK_TabSyncMovMag primary key(CodCS,CodStatoFrom,CodStatoTo,IdxPosizioneFrom,IdxPosizioneTo) +) +go + +exec sp_addextendedproperty 'MS_Description', 'posizione (stato) logica di partenza', 'SCHEMA', 'dbo', 'TABLE', 'TabSyncMovMag', 'COLUMN', 'IdxPosizioneFrom' +go + +exec sp_addextendedproperty 'MS_Description', 'posizione (stato) logica di arrivo', 'SCHEMA', 'dbo', 'TABLE', 'TabSyncMovMag', 'COLUMN', 'IdxPosizioneTo' +go + +exec sp_addextendedproperty 'MS_Description', 'determina se inviare l''informazione al sistema esterno', 'SCHEMA', 'dbo', 'TABLE', 'TabSyncMovMag', 'COLUMN', 'toExt' +go + +exec sp_addextendedproperty 'MS_Description', 'cod magazzino from, NULL significa non valido e non utilizzato', 'SCHEMA', 'dbo', 'TABLE', 'TabSyncMovMag', 'COLUMN', 'codMagExtFrom' +go + +exec sp_addextendedproperty 'MS_Description', 'cod magazzino from, NULL significa non valido e non utilizzato', 'SCHEMA', 'dbo', 'TABLE', 'TabSyncMovMag', 'COLUMN', 'codMagExtTo' +go + +exec sp_addextendedproperty 'MS_Description', 'cod magazzino from, 0 o null significa non valido', 'SCHEMA', 'dbo', 'TABLE', 'TabSyncMovMag', 'COLUMN', 'codMagExtComp' +go + +exec sp_addextendedproperty 'MS_Description', 'descrizione della regola', 'SCHEMA', 'dbo', 'TABLE', 'TabSyncMovMag', 'COLUMN', 'note' +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +alter table TabTranPosizEventi add + CodStatoTo nvarchar(50), + Note nvarchar(500) +go + +exec sp_addextendedproperty 'MS_Description', 'descrizione della regola', 'SCHEMA', 'dbo', 'TABLE', 'TabTranPosizEventi', 'COLUMN', 'Note' +go + +alter table TabTranPosizEventi drop + constraint DF_TabTranPosizEventi_toAs400 , + column toAs400 +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +-- ============================================= +-- Author: Samuele E. Locatelli +-- Create date: 2009-09-20 +-- Mod Date: 2012-05-25 +-- Description: trigger x movimenti di inserimento +-- nella tab GiornaleMagazzino +-- ============================================= +alter TRIGGER trg_InsMovAS + ON ElencoCartellini + AFTER INSERT +AS +BEGIN + + -- setup variabili e verbosità + SET NOCOUNT ON; + -- metto in Giornale Magazzino i record inseriti + INSERT INTO GiornaleMagazzino(OP, DataOra, UDC, Particolare, CodStatoFrom, CodStatoTo, IdxPosizioneFrom, IdxPosizioneTo, QtaFrom, QtaTo) + ( + SELECT 'I', GETDATE(), UDC, ISNULL(Particolare,''), 'NEW', CodStato, 0, IdxPosizione, 0, Qta + FROM inserted + ) + +END +go + +-- ============================================= +-- Author: Samuele E. Locatelli +-- Create date: 2009-09-20 +-- Mod Date: 2012-05-25 +-- Description: trigger x movimenti di cancellazione +-- nella tab GiornaleMagazzino +-- ============================================= +alter TRIGGER trg_DelMovAS + ON ElencoCartellini + AFTER DELETE +AS +BEGIN + + -- setup variabili e verbosità + SET NOCOUNT ON; + -- inserisco movimenti AS + INSERT INTO GiornaleMagazzino(OP, DataOra, UDC, Particolare, CodStatoFrom, CodStatoTo, IdxPosizioneFrom, IdxPosizioneTo, QtaFrom, QtaTo) + ( + SELECT 'D', GETDATE(), UDC, ISNULL(Particolare,''), CodStato, 'DEL', IdxPosizione, 0, Qta, 0 + FROM deleted + ) + +END +go + +-- ============================================= +-- Author: Samuele E. Locatelli +-- Create date: 2009-09-20 mod. 2012-03-14 +-- Description: trigger x inserimento movimenti +-- nella tab GiornaleMagazzino +-- ============================================= +alter TRIGGER trg_updMovAS + ON ElencoCartellini + AFTER UPDATE +AS +BEGIN + + + /******************************************************************************* + * Gestione UPDATE ElencoCartellini --> GiornaleMagazzino + * + * regola1: si fanno registrazioni solo se varia ALMENO UNO tra + * - quantità + * - idxPosizione + * - codStato + * + * regola 2: + * - Particolare deve essere valorizzato ALMENO a '' (blank) + * + * regola3: in caso di update SIA di quantità che di posizione/stato + * - si genera UN PRIMO RECORD di modifica quantità a posizione e stato FISSI + * - si genera UN SECONDO RECORD con variazione posizione/stato + * + *******************************************************************************/ + + -- setup variabili e verbosità + SET NOCOUNT ON; + DECLARE @dataOra AS DATETIME + SET @dataOra = GETDATE() + + -- PRIMO STEP: quantità! + IF( UPDATE(Qta) ) + BEGIN + + INSERT INTO GiornaleMagazzino(OP, DataOra, UDC, Particolare, CodStatoFrom, CodStatoTo, IdxPosizioneFrom, IdxPosizioneTo, QtaFrom, QtaTo) + ( + SELECT 'U', @dataOra, i.UDC, ISNULL(d.Particolare,''), d.CodStato, d.CodStato, d.IdxPosizione, d.IdxPosizione, d.Qta, i.Qta + FROM inserted AS i + INNER JOIN deleted AS d ON i.UDC = d.UDC + WHERE ( (i.Qta <> d.Qta) ) + ) + + END + + -- ora controllo in caso di modifica di stato o posizione + IF(UPDATE(CodStato) OR UPDATE(IdxPosizione)) + BEGIN + + INSERT INTO GiornaleMagazzino(OP, DataOra, UDC, Particolare, CodStatoFrom, CodStatoTo, IdxPosizioneFrom, IdxPosizioneTo, QtaFrom, QtaTo) + ( + SELECT 'U', @dataOra, i.UDC, ISNULL(d.Particolare,''), d.CodStato, i.CodStato, d.IdxPosizione, i.IdxPosizione, i.Qta, i.Qta + FROM inserted AS i + INNER JOIN deleted AS d ON i.UDC = d.UDC + WHERE ( ( i.IdxPosizione <> d.IdxPosizione) OR (i.CodStato <> d.CodStato) ) + ) + + END + +END +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/***************************************** +* STORED stp_processaGiornaleMagazzino +* +* processa il giornale del magazzino, in modo da controlalre tutte le righe non processate (o eventualmente solo quelle nuove) +* e spostare nella coda di trasferimento con AS400 SOLO i movimenti che soddisfano i criteri specificati nella tabella +* "TabSyncMovMag" +* +* Steamware, S.E.L. +* mod: 2012.05.25 +* +****************************************/ +create PROCEDURE BatchQueue.stp_processaGiornaleMagazzino +( + @CodCS NCHAR(2), + @lastInsDate DATETIME -- data-ora da cui cercare i record, se non viene passata è l'ultimo movimento registrato +) +AS + +BEGIN TRAN + + /********************************************************************************** + * + * PROCEDURA in 4 step: + * - STEP 1: registro rettifiche QUANTITA' in FROM + * - STEP 2: registro prelievi da mag ext "from" (cambio mag) + * - STEP 3: registro depositi a mag ext "to" (cambio mag) + * - STEP 4: registro compensazioni: se from e to corrispondono e mag comp è NON NULLO metto in comp! + **********************************************************************************/ + + -- in primis: se è nulla la data calcolo l'ultim data di processing... + IF ( @lastInsDate IS NULL ) + BEGIN + SET @lastInsDate = ( SELECT ISNULL(MAX(DataOra), '19000101') FROM GiornaleMagazzino WHERE NOT (DataOraProc IS NULL) ) + END + + -- ATTENZIONE!!! DEVE ESSERCI UN PARTICOLARE NON NULLO e != "n.d." + + -- ora prendo tutte le righe che mi interessano e cerco match sulla tab TabSyncMovMag e le inserisco in batch... + + -- STEP 1: rettifico quantità! + INSERT INTO AS400_BatchMovimenti(DataIns, numOp, CodEvento, Particolare, UDC, CodMagAS, Quantita) + SELECT DataOra, numOp, 'UDC_MOD', gm.Particolare, gm.UDC, tsmm.codMagExtFrom , gm.QtaTo - gm.QtaFrom + FROM GiornaleMagazzino gm + INNER JOIN TabSyncMovMag tsmm ON + tsmm.CodCS = @CodCS AND + gm.CodStatoFrom = tsmm.CodStatoFrom AND + gm.CodStatoTo = tsmm.CodStatoTo AND + gm.IdxPosizioneFrom = tsmm.IdxPosizioneFrom AND + gm.IdxPosizioneTo = tsmm.IdxPosizioneTo + WHERE (gm.DataOra >= @lastInsDate) + AND (gm.DataOraProc IS NULL) + AND (tsmm.toExt = 1) + AND gm.Particolare <> '' -- particolare deve essere disponibile!!!! + AND (tsmm.codMagExtFrom = codMagExtTo)-- NON VARIA MAG ESTERNO... + + -- STEP 2: genero ora casi con 2 mag ext che cambiano: tolgo da FROM + INSERT INTO AS400_BatchMovimenti(DataIns, numOp, CodEvento, Particolare, UDC, CodMagAS, Quantita) + SELECT DataOra, numOp, 'UDC_MOV', gm.Particolare, gm.UDC, tsmm.codMagExtFrom , - gm.QtaTo + FROM GiornaleMagazzino gm + INNER JOIN TabSyncMovMag tsmm ON + tsmm.CodCS = @CodCS AND + gm.CodStatoFrom = tsmm.CodStatoFrom AND + gm.CodStatoTo = tsmm.CodStatoTo AND + gm.IdxPosizioneFrom = tsmm.IdxPosizioneFrom AND + gm.IdxPosizioneTo = tsmm.IdxPosizioneTo + WHERE (gm.DataOra >= @lastInsDate) + AND (gm.DataOraProc IS NULL) + AND (tsmm.toExt = 1) + AND gm.Particolare <> '' -- particolare deve essere disponibile!!!! + AND (tsmm.codMagExtFrom <> codMagExtTo)-- VARIA MAG ESTERNO... + AND (tsmm.codMagExtFrom IS NOT NULL ) -- magazzino non nullo + AND (tsmm.codMagExtTo IS NOT NULL ) -- magazzino non nullo + + -- STEP 3: genero ora casi con 2 mag ext che cambiano: metto in TO + INSERT INTO AS400_BatchMovimenti(DataIns, numOp, CodEvento, Particolare, UDC, CodMagAS, Quantita) + SELECT DataOra, numOp, 'UDC_MOV', gm.Particolare, gm.UDC, tsmm.codMagExtTo , gm.QtaTo + FROM GiornaleMagazzino gm INNER JOIN TabSyncMovMag tsmm ON + tsmm.CodCS = @CodCS AND + gm.CodStatoFrom = tsmm.CodStatoFrom AND + gm.CodStatoTo = tsmm.CodStatoTo AND + gm.IdxPosizioneFrom = tsmm.IdxPosizioneFrom AND + gm.IdxPosizioneTo = tsmm.IdxPosizioneTo + WHERE (gm.DataOra >= @lastInsDate) + AND (gm.DataOraProc IS NULL) + AND (tsmm.toExt = 1) + AND gm.Particolare <> '' -- particolare deve essere disponibile!!!! + AND (tsmm.codMagExtFrom <> codMagExtTo)-- VARIA MAG ESTERNO... + AND (tsmm.codMagExtFrom IS NOT NULL ) -- magazzino non nullo + AND (tsmm.codMagExtTo IS NOT NULL ) -- magazzino non nullo + + + -- STEP 4: cerco prima casi con magazzini ext origine = destinazione e compensazioni + INSERT INTO AS400_BatchMovimenti(DataIns, numOp, CodEvento, Particolare, UDC, CodMagAS, Quantita) + SELECT DataOra, numOp, 'UDC_COMP', gm.Particolare, gm.UDC, tsmm.codMagExtComp, gm.QtaFrom - gm.QtaTo + FROM GiornaleMagazzino gm + INNER JOIN TabSyncMovMag tsmm ON + tsmm.CodCS = @CodCS AND + gm.CodStatoFrom = tsmm.CodStatoFrom AND + gm.CodStatoTo = tsmm.CodStatoTo AND + gm.IdxPosizioneFrom = tsmm.IdxPosizioneFrom AND + gm.IdxPosizioneTo = tsmm.IdxPosizioneTo + WHERE (gm.DataOra >= @lastInsDate) + AND (gm.DataOraProc IS NULL) + AND (tsmm.toExt = 1) + AND gm.Particolare <> '' -- particolare deve essere disponibile!!!! + AND (tsmm.codMagExtComp IS NOT NULL) -- HO compensazioni!!! + AND (tsmm.codMagExtFrom = codMagExtTo)-- E NON VARIA MAG ESTERNO... + + -- ora aggiorno le stesse righe riportate indicando la data ora di processing... + UPDATE gm + SET DataOraProc = GETDATE() + FROM GiornaleMagazzino gm INNER JOIN AS400_BatchMovimenti abm ON + CAST(gm.numOp AS NVARCHAR(10)) = abm.CodEvento + WHERE (gm.DataOra >= @lastInsDate) + AND (gm.DataOraProc IS NULL) + +COMMIT TRAN + +RETURN +go + +commit +go + + +drop procedure stp_rettMovAs400 +go + +set xact_abort on +go + +begin transaction +go + +alter table ElencoCartellini add + CodEvento nvarchar(10) +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +exec sp_rename 'PK_GiornaleMagazzino', 'tmp__PK_GiornaleMagazzino', 'OBJECT' +go + +exec sp_rename 'GiornaleMagazzino', 'tmp__GiornaleMagazzino_1', 'OBJECT' +go + +create table GiornaleMagazzino( + numOp int not null identity constraint PK_GiornaleMagazzino primary key, + OP nchar(1) not null, + DataOra datetime not null, + CodEvento nvarchar(10), + ModDate datetime, + UDC nvarchar(50) not null, + Particolare nvarchar(15) not null, + CodStatoFrom nvarchar(50) not null, + CodStatoTo nvarchar(50) not null, + IdxPosizioneFrom int not null, + IdxPosizioneTo int not null, + QtaFrom decimal(10,2) not null, + QtaTo decimal(10,2) not null, + DataOraProc datetime +) +go + +exec sp_addextendedproperty 'MS_Description', 'tipo operazione I(nsert), U(pdate), D(elete)', 'SCHEMA', 'dbo', 'TABLE', 'GiornaleMagazzino', 'COLUMN', 'OP' +go + +exec sp_addextendedproperty 'MS_Description', 'NON MODIFICARE: nel codice si usano questi campi x chiamate...', 'SCHEMA', 'dbo', 'TABLE', 'GiornaleMagazzino', 'COLUMN', 'CodEvento' +go + +set identity_insert GiornaleMagazzino on +go + +insert into GiornaleMagazzino(numOp,OP,DataOra,UDC,Particolare,CodStatoFrom,CodStatoTo,IdxPosizioneFrom,IdxPosizioneTo,QtaFrom,QtaTo,DataOraProc) select numOp,OP,DataOra,UDC,Particolare,CodStatoFrom,CodStatoTo,IdxPosizioneFrom,IdxPosizioneTo,QtaFrom,QtaTo,DataOraProc from tmp__GiornaleMagazzino_1 +go + +set identity_insert GiornaleMagazzino off +go + +drop table tmp__GiornaleMagazzino_1 +go + +commit +go + +set xact_abort on +go + +begin transaction +go + +exec sp_rename 'PK_StoricoEventi', 'tmp__PK_StoricoEventi', 'OBJECT' +go + +exec sp_rename 'StoricoCartellini', 'tmp__StoricoCartellini_2', 'OBJECT' +go + +create table StoricoCartellini( + IdxEv int not null identity constraint PK_StoricoEventi primary key, + DataEv datetime not null, + CodEvento nvarchar(10), + ModDate datetime, + UDC nvarchar(50) not null, + CodCS nchar(2), + CodCliente nvarchar(6), + RagSociale nvarchar(35), + Particolare nvarchar(15), + DescParticolare nvarchar(30), + DisegnoGrezzo nvarchar(30), + Esponente nvarchar(6), + CodImpianto nvarchar(50), + DescImpianto nvarchar(50), + CodStampo nvarchar(8), + Figura nvarchar(4), + DataFus datetime, + TurnoFus int, + CodImballo nvarchar(15), + CodSoggetto nchar(17), + NumCont int, + Tara float, + Qta decimal(10,2), + CodStato nvarchar(50), + IdxPosizione int, + PesoTot float, + PesoCad float, + Note nvarchar(500) +) +go + +exec sp_addextendedproperty 'MS_Description', 'NON MODIFICARE: nel codice si usano questi campi x chiamate...', 'SCHEMA', 'dbo', 'TABLE', 'StoricoCartellini', 'COLUMN', 'CodEvento' +go + +set identity_insert StoricoCartellini on +go + +insert into StoricoCartellini(IdxEv,DataEv,UDC,CodCS,CodCliente,RagSociale,Particolare,DescParticolare,DisegnoGrezzo,Esponente,CodImpianto,DescImpianto,CodStampo,Figura,DataFus,TurnoFus,CodImballo,CodSoggetto,NumCont,Tara,Qta,CodStato,IdxPosizione,PesoTot,PesoCad,Note) select IdxEv,DataEv,UDC,CodCS,CodCliente,RagSociale,Particolare,DescParticolare,DisegnoGrezzo,Esponente,CodImpianto,DescImpianto,CodStampo,Figura,DataFus,TurnoFus,CodImballo,CodSoggetto,NumCont,Tara,Qta,CodStato,IdxPosizione,PesoTot,PesoCad,Note from tmp__StoricoCartellini_2 +go + +set identity_insert StoricoCartellini off +go + +drop table tmp__StoricoCartellini_2 +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +exec sp_addextendedproperty 'MS_Description', 'NON MODIFICARE: nel codice si usano questi campi x chiamate...', 'SCHEMA', 'dbo', 'TABLE', 'ElencoCartellini', 'COLUMN', 'CodEvento' +go + +set ANSI_NULLS on +go + +-- ============================================= +-- Author: Samuele E. Locatelli +-- Create date: 2009-09-20 +-- Mod Date: 2012-05-25 +-- Description: trigger x movimenti di inserimento +-- nella tab GiornaleMagazzino +-- ============================================= +alter TRIGGER trg_InsMovAS + ON ElencoCartellini + AFTER INSERT +AS +BEGIN + + -- setup variabili e verbosità + SET NOCOUNT ON; + -- metto in Giornale Magazzino i record inseriti + INSERT INTO GiornaleMagazzino(OP, DataOra, CodEvento, ModDate, UDC, Particolare, CodStatoFrom, CodStatoTo, IdxPosizioneFrom, IdxPosizioneTo, QtaFrom, QtaTo) + ( + SELECT 'I', GETDATE(), CodEvento, ModDate, UDC, ISNULL(Particolare,''), 'NEW', CodStato, 0, IdxPosizione, 0, Qta + FROM inserted + ) + +END +go + +-- ============================================= +-- Author: Samuele E. Locatelli +-- Create date: 2009-09-20 +-- Mod Date: 2012-05-25 +-- Description: trigger x movimenti di cancellazione +-- nella tab GiornaleMagazzino +-- ============================================= +alter TRIGGER trg_DelMovAS + ON ElencoCartellini + AFTER DELETE +AS +BEGIN + + -- setup variabili e verbosità + SET NOCOUNT ON; + -- inserisco movimenti AS + INSERT INTO GiornaleMagazzino(OP, DataOra, CodEvento, ModDate, UDC, Particolare, CodStatoFrom, CodStatoTo, IdxPosizioneFrom, IdxPosizioneTo, QtaFrom, QtaTo) + ( + SELECT 'D', GETDATE(), CodEvento, ModDate, UDC, ISNULL(Particolare,''), CodStato, 'DEL', IdxPosizione, 0, Qta, 0 + FROM deleted + ) + +END +go + +-- ============================================= +-- Author: Samuele E. Locatelli +-- Create date: 2009-09-20 mod. 2012-03-14 +-- Description: trigger x inserimento movimenti +-- nella tab GiornaleMagazzino +-- ============================================= +alter TRIGGER trg_updMovAS + ON ElencoCartellini + AFTER UPDATE +AS +BEGIN + + + /******************************************************************************* + * Gestione UPDATE ElencoCartellini --> GiornaleMagazzino + * + * regola1: si fanno registrazioni solo se varia ALMENO UNO tra + * - quantità + * - idxPosizione + * - codStato + * + * regola 2: + * - Particolare deve essere valorizzato ALMENO a '' (blank) + * + * regola3: in caso di update SIA di quantità che di posizione/stato + * - si genera UN PRIMO RECORD di modifica quantità a posizione e stato FISSI + * - si genera UN SECONDO RECORD con variazione posizione/stato + * + *******************************************************************************/ + + -- setup variabili e verbosità + SET NOCOUNT ON; + DECLARE @dataOra AS DATETIME + SET @dataOra = GETDATE() + + -- PRIMO STEP: quantità! + IF( UPDATE(Qta) ) + BEGIN + + INSERT INTO GiornaleMagazzino(OP, DataOra, CodEvento, ModDate, UDC, Particolare, CodStatoFrom, CodStatoTo, IdxPosizioneFrom, IdxPosizioneTo, QtaFrom, QtaTo) + ( + SELECT 'U', @dataOra, d.CodEvento, d.ModDate, i.UDC, ISNULL(d.Particolare,''), d.CodStato, d.CodStato, d.IdxPosizione, d.IdxPosizione, d.Qta, i.Qta + FROM inserted AS i + INNER JOIN deleted AS d ON i.UDC = d.UDC + WHERE ( (i.Qta <> d.Qta) ) + ) + + END + + -- ora controllo in caso di modifica di stato o posizione + IF(UPDATE(CodStato) OR UPDATE(IdxPosizione)) + BEGIN + + INSERT INTO GiornaleMagazzino(OP, DataOra, CodEvento, ModDate, UDC, Particolare, CodStatoFrom, CodStatoTo, IdxPosizioneFrom, IdxPosizioneTo, QtaFrom, QtaTo) + ( + SELECT 'U', @dataOra, i.CodEvento, i.ModDate, i.UDC, ISNULL(d.Particolare,''), d.CodStato, i.CodStato, d.IdxPosizione, i.IdxPosizione, i.Qta, i.Qta + FROM inserted AS i + INNER JOIN deleted AS d ON i.UDC = d.UDC + WHERE ( ( i.IdxPosizione <> d.IdxPosizione) OR (i.CodStato <> d.CodStato) ) + ) + + END + +END +go + +-- ============================================= +-- Author: Samuele E. Locatelli +-- Create date: 2009-10-27 +-- Description: trigger x inserimento valori in archivio storico alla cancellazione/modifica del dato +-- ============================================= +alter TRIGGER trg_storicoUDC + ON ElencoCartellini + AFTER DELETE,UPDATE +AS +BEGIN + -- SET NOCOUNT ON added to prevent extra result sets from + -- interfering with SELECT statements. + SET NOCOUNT ON; + + -- metto in storico la posizione attuale dell'UDC (SE esiste) CANCELLATO + INSERT INTO StoricoCartellini(DataEv, CodEvento, ModDate, UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, DisegnoGrezzo, Esponente, CodImpianto, + DescImpianto, CodStampo, Figura, DataFus, TurnoFus, CodImballo, CodSoggetto, NumCont, Tara, Qta, CodStato, IdxPosizione, PesoTot, PesoCad, Note) + ( + + SELECT GETDATE(), CodEvento, ModDate, UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, DisegnoGrezzo, Esponente, CodImpianto, DescImpianto, + CodStampo, Figura, DataFus, TurnoFus, CodImballo, CodSoggetto, NumCont, Tara, Qta, CodStato, IdxPosizione, PesoTot, PesoCad, Note + FROM deleted + ) + +END +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +-- ================================================================================================= +-- ================================================================================================= + + +/*************************************** +* STORED stp_UDC_insNewFull +* +* crea un nuovo record nella TabStatoOdpUdc FULL (con pesi, qta...) e restituisce il codice UDC appena creato +* +* Steamware, S.E.L. +* mod: 2010.04.28 +* +****************************************/ +alter PROCEDURE stp_UDC_insNewFull +( + @CodCS VARCHAR(2), + @Flusso VARCHAR(2), + @Anno VARCHAR(2), + @CodCliente VARCHAR(6), + @Particolare VARCHAR(15), + @CodImpianto AS VARCHAR(50), + @CodStampo VARCHAR(8), + @Esponente VARCHAR(6), + @Figura VARCHAR(4), + @DataFus DATETIME, + @TurnoFus INT, + @CodImballo VARCHAR(15), + @CodSoggetto VARCHAR(17), + @Tara FLOAT, + @IdxPosizione INT, + @CodTipoDichiaraz CHAR(1), + @CodEvento VARCHAR(10), + @Qta DECIMAL(10,2), + @PesoTot FLOAT, + @PesoCad FLOAT, + @CodStato VARCHAR(50), + @UDC_parent VARCHAR(50), + @DoDeleteUdcParent BIT, + @Note NVARCHAR(500) +) +AS + +-- DECLARE iniziali +DECLARE @UDC AS VARCHAR(50) +DECLARE @RagSociale AS VARCHAR(35) +DECLARE @DescParticolare AS VARCHAR(30) +DECLARE @DescImpianto AS VARCHAR(50) +DECLARE @DisegnoGrezzo AS VARCHAR(30) +DECLARE @NumCont AS INT +DECLARE @numFlu AS INT +DECLARE @numUdc AS INT +DECLARE @nextUdc AS INT +DECLARE @IdxCella AS INT + +------------------------------------------------------------------------------------------------------ +-- Caricamento Dati da anagrafica +------------------------------------------------------------------------------------------------------ +-- cerco la ragione sociale... +SET @RagSociale = ISNULL( +( + SELECT RagSociale + FROM RilPro.AnagClienti + WHERE (CodCliente = @CodCliente) +) +, '') + +-- Cerco descrizione del particolare... +SET @DescParticolare = ISNULL( +( + SELECT DescParticolare + FROM RilPro.AnagParticolari + WHERE (Particolare = @Particolare) +) +, 'ND') + +-- se non lo trova provo anche nell'anagrafica leghe +IF(@DescParticolare = 'ND')-- OR (@DescParticolare is null) + BEGIN + SET @DescParticolare = ISNULL( + ( + SELECT DescLega + FROM RilPro.AnagLeghe + WHERE ('L'+CodLega = @Particolare) + ) + , '') + END +-- cerco codice disegno grezzo +SET @DisegnoGrezzo = ISNULL( +( + SELECT DisegnoGrezzo + FROM RilPro.AnagParticolari + WHERE (Particolare = @Particolare) +) +, '') + +-- cerco descrizione Impianto +SET @DescImpianto = ISNULL( +( + SELECT DescImpianto + FROM AnagImpianti + WHERE (CodImpianto = @CodImpianto) +) +, '') + + +-- Calcolo contatore intero successivo x il contenitore... +SET @NumCont = ( + SELECT ISNULL(MAX(NumCont), 0) + 1 AS NumCont + FROM ElencoCartellini + WHERE (Particolare = @Particolare) + AND (DataFus = @DataFus) + AND (TurnoFus = @TurnoFus) + AND (CodImpianto = @CodImpianto) + AND (CodStampo = @CodStampo) + AND (Figura = @Figura) +) + + +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- Flusso +------------------------------------------------------------------------------------------------------ +-- controllo se esiste il flusso (bilancia)... +SET @numFlu = ( + SELECT count(*) + FROM AnagBilance + WHERE CodBilancia = @Flusso +) +-- ...sennò lo creo... +IF(@numFlu = 0) + BEGIN + -- se c'è inserisco in tab + INSERT INTO AnagBilance(CodBilancia, DescrImpianto, CodCS) + VALUES (@Flusso, @Flusso, @CodCS) + END +------------------------------------------------------------------------------------------------------ + + +------------------------------------------------------------------------------------------------------ +-- UDC +------------------------------------------------------------------------------------------------------ +-- controllo se ci sia già un UDC per company / flusso anno +BEGIN TRAN + -- cerco nella tab contatori se esiste contatore x il flusso + -- controllo se record c'è... + IF EXISTS( SELECT TOP 1 Flusso FROM ContatoriUdc + WHERE CodCS = @CodCS + AND Flusso = @Flusso + AND Anno = @Anno ) + 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 @numUdc = ( + SELECT LastIdx + FROM ContatoriUdc + WHERE CodCS = @CodCS + AND Flusso = @Flusso + AND Anno = @Anno + ) +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- Ciclo principale x inserimento nuovo record +------------------------------------------------------------------------------------------------------ +BEGIN TRAN + -- ottengo il nuovo codice UDC completo + SET @UDC = dbo.componiUdc(@CodCS, @Flusso, @Anno, @numUdc) + + -- inserisco un nuovo record + INSERT INTO ElencoCartellini(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, Note, CodEvento) + VALUES (@UDC, @CodCS, @CodCliente, @RagSociale, @Particolare, @DescParticolare, @DisegnoGrezzo, @Esponente, @CodImpianto, @DescImpianto, @CodStampo, @Figura, @DataFus, @TurnoFus, @CodImballo, @CodSoggetto, @NumCont, @Tara, @Qta, @CodStato, @IdxPosizione, @PesoTot, @PesoCad, GETDATE(), GETDATE(), @Note, @CodEvento) + + -- inserisco relazione parent-child tra UDC vecchio (tara) e nuovo (pesa) SSE UDC_Parent valido + IF((NOT @UDC_parent IS NULL) AND (NOT @UDC_parent = '')) + BEGIN + INSERT INTO RelazUDC(UDC_parent, UDC_child) + VALUES (@UDC_parent, @UDC) + END +COMMIT TRAN + +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- Ciclo secondario x eventuale cancellazione UDC tara parent e inserimento in posizione +------------------------------------------------------------------------------------------------------ + -- se richiesto elimino l'UDC parent (tara) + IF(@DoDeleteUdcParent = 1) + BEGIN + DELETE FROM ElencoCartellini WHERE UDC = @UDC_parent + END + + -- calcolo la prima cella della posizione indicata.. + SET @IdxCella = ( + SELECT TOP 1 c.IdxCella + FROM Celle c INNER JOIN Blocchi b ON c.IdxBlocco=b.IdxBlocco + WHERE b.CodMag = CAST(@IdxPosizione AS NVARCHAR(50)) + ) + -- inserisco il cartellino nella prima cella della posizione indicata.. + INSERT INTO PosizioneUdcCorrente + VALUES (@UDC, @IdxCella, @CodCS, GETDATE()) +------------------------------------------------------------------------------------------------------ + + +------------------------------------------------------------------------------------------------------ +-- restituisco la tab dati con l'udc appena inserito +------------------------------------------------------------------------------------------------------ +SELECT * +FROM ElencoCartellini +WHERE UDC = @UDC +------------------------------------------------------------------------------------------------------ + +RETURN +go + +/*************************************** +* STORED stp_UDC_insNewFull_fixUDC +* +* crea un nuovo record nella TabStatoOdpUdc FULL (con pesi, qta...) avendo in entrata il codice UDC da + +utilizzare +* +* Steamware, S.E.L. +* mod: 2011.12.07 +* +****************************************/ +alter PROCEDURE stp_UDC_insNewFull_fixUDC +( + @UDC AS NVARCHAR(50), + @CodCS VARCHAR(2), + @Flusso VARCHAR(2), + @Anno VARCHAR(2), + @CodCliente VARCHAR(6), + @Particolare VARCHAR(15), + @CodImpianto AS VARCHAR(50), + @CodStampo VARCHAR(8), + @Esponente VARCHAR(6), + @Figura VARCHAR(4), + @DataFus DATETIME, + @TurnoFus INT, + @CodImballo VARCHAR(15), + @CodSoggetto VARCHAR(17), + @Tara FLOAT, + @IdxPosizione INT, + @CodTipoDichiaraz CHAR(1), + @CodEvento VARCHAR(10), + @Qta DECIMAL(10,2), + @PesoTot FLOAT, + @PesoCad FLOAT, + @CodStato VARCHAR(50), + @UDC_parent VARCHAR(50), + @DoDeleteUdcParent BIT, + @Note NVARCHAR(500) +) +AS + +-- DECLARE iniziali +DECLARE @RagSociale AS VARCHAR(35) +DECLARE @DescParticolare AS VARCHAR(30) +DECLARE @DescImpianto AS VARCHAR(50) +DECLARE @DisegnoGrezzo AS VARCHAR(30) +DECLARE @NumCont AS INT +DECLARE @numFlu AS INT +DECLARE @numUdc AS INT +DECLARE @nextUdc AS INT +DECLARE @IdxCella AS INT + +------------------------------------------------------------------------------------------------------ +-- Caricamento Dati da anagrafica +------------------------------------------------------------------------------------------------------ +-- cerco la ragione sociale... +SET @RagSociale = ISNULL( +( + SELECT RagSociale + FROM RilPro.AnagClienti + WHERE (CodCliente = @CodCliente) +) +, '') + +-- Cerco descrizione del particolare... +SET @DescParticolare = ISNULL( +( + SELECT DescParticolare + FROM RilPro.AnagParticolari + WHERE (Particolare = @Particolare) +) +, 'ND') + +-- se non lo trova provo anche nell'anagrafica leghe +IF(@DescParticolare = 'ND')-- OR (@DescParticolare is null) + BEGIN + SET @DescParticolare = ISNULL( + ( + SELECT DescLega + FROM RilPro.AnagLeghe + WHERE ('L'+CodLega = @Particolare) + ) + , '') + END +-- cerco codice disegno grezzo +SET @DisegnoGrezzo = ISNULL( +( + SELECT DisegnoGrezzo + FROM RilPro.AnagParticolari + WHERE (Particolare = @Particolare) +) +, '') + +-- cerco descrizione Impianto +SET @DescImpianto = ISNULL( +( + SELECT DescImpianto + FROM AnagImpianti + WHERE (CodImpianto = @CodImpianto) +) +, '') + + + +-- Calcolo contatore intero successivo x il contenitore... +SET @NumCont = ( + SELECT ISNULL(MAX(NumCont), 0) + 1 AS NumCont + FROM ElencoCartellini + WHERE (Particolare = @Particolare) + AND (DataFus = @DataFus) + AND (TurnoFus = @TurnoFus) + AND (CodImpianto = @CodImpianto) + AND (CodStampo = @CodStampo) + AND (Figura = @Figura) +) + + +------------------------------------------------------------------------------------------------------ + + +------------------------------------------------------------------------------------------------------ +-- Ciclo principale x inserimento nuovo record +------------------------------------------------------------------------------------------------------ +BEGIN TRAN + + -- inserisco un nuovo record + INSERT INTO ElencoCartellini(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, Note, CodEvento) + VALUES (@UDC, @CodCS, @CodCliente, @RagSociale, @Particolare, @DescParticolare, @DisegnoGrezzo, + +@Esponente, @CodImpianto, @DescImpianto, @CodStampo, @Figura, @DataFus, @TurnoFus, @CodImballo, + +@CodSoggetto, @NumCont, @Tara, @Qta, @CodStato, @IdxPosizione, @PesoTot, @PesoCad, GETDATE(), GETDATE(), + +@Note, @CodEvento) + + -- inserisco relazione parent-child tra UDC vecchio (tara) e nuovo (pesa) SSE UDC_Parent valido + IF((NOT @UDC_parent IS NULL) AND (NOT @UDC_parent = '')) + BEGIN + INSERT INTO RelazUDC(UDC_parent, UDC_child) + VALUES (@UDC_parent, @UDC) + END +COMMIT TRAN + +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- Ciclo secondario x eventuale cancellazione UDC tara parent e inserimento in posizione +------------------------------------------------------------------------------------------------------ + -- se richiesto elimino l'UDC parent (tara) + IF(@DoDeleteUdcParent = 1) + BEGIN + DELETE FROM ElencoCartellini WHERE UDC = @UDC_parent + END + + -- calcolo la prima cella della posizione indicata.. + SET @IdxCella = ( + SELECT TOP 1 c.IdxCella + FROM Celle c INNER JOIN Blocchi b ON + +c.IdxBlocco=b.IdxBlocco + WHERE b.CodMag = CAST(@IdxPosizione AS NVARCHAR(50)) + ) + -- inserisco il cartellino nella prima cella della posizione indicata.. + INSERT INTO PosizioneUdcCorrente + VALUES (@UDC, @IdxCella, @CodCS, GETDATE()) +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- restituisco la tab dati con l'udc appena inserito +------------------------------------------------------------------------------------------------------ +SELECT * +FROM ElencoCartellini +WHERE UDC = @UDC +------------------------------------------------------------------------------------------------------ + +RETURN +go + +-- ================================================================================================= + +/*************************************** +* STORED stp_UDC_update +* +* aggiorna un cartellino dato il suo codice UDC e tutti i parametri da aggiornare +* +* Steamware, S.E.L. +* mod: 2010.04.30 +* +****************************************/ +alter PROCEDURE stp_UDC_update +( + @UDC_edit VARCHAR(50), + @CodCS VARCHAR(2), + @Flusso VARCHAR(2), + @Anno VARCHAR(2), + @CodCliente VARCHAR(6), + @Particolare VARCHAR(15), + @CodImpianto AS VARCHAR(50), + @CodStampo VARCHAR(8), + @Esponente VARCHAR(6), + @Figura VARCHAR(4), + @DataFus DATETIME, + @TurnoFus INT, + @CodImballo VARCHAR(15), + @CodSoggetto VARCHAR(17), + @Tara FLOAT, + @IdxPosizione INT, + @CodTipoDichiaraz CHAR(1), + @CodEvento VARCHAR(10), + @Qta DECIMAL(10,2), + @PesoTot FLOAT, + @PesoCad FLOAT, + @CodStato VARCHAR(50), + @UDC_parent VARCHAR(50), + @Note NVARCHAR(500) +) +AS + +-- DECLARE iniziali +DECLARE @RagSociale AS VARCHAR(35) +DECLARE @DescParticolare AS VARCHAR(30) +DECLARE @DescImpianto AS VARCHAR(50) +DECLARE @DisegnoGrezzo AS VARCHAR(30) +DECLARE @NumCont AS INT +DECLARE @numFlu AS INT +DECLARE @numUdc AS INT +DECLARE @nextUdc AS INT + +------------------------------------------------------------------------------------------------------ +-- Caricamento Dati da anagrafica +------------------------------------------------------------------------------------------------------ +-- cerco la ragione sociale... +SET @RagSociale = ISNULL( +( + SELECT RagSociale + FROM RilPro.AnagClienti + WHERE (CodCliente = @CodCliente) +) +, '') + +-- Cerco descrizione del particolare... +SET @DescParticolare = ISNULL( +( + SELECT DescParticolare + FROM RilPro.AnagParticolari + WHERE (Particolare = @Particolare) +) +, 'ND') + +-- se non lo trova provo anche nell'anagrafica leghe +IF(@DescParticolare = 'ND')-- OR (@DescParticolare is null) + BEGIN + SET @DescParticolare = ISNULL( + ( + SELECT DescLega + FROM RilPro.AnagLeghe + WHERE ('L'+CodLega = @Particolare) + ) + , '') + END +-- cerco codice disegno grezzo +SET @DisegnoGrezzo = ISNULL( +( + SELECT DisegnoGrezzo + FROM RilPro.AnagParticolari + WHERE (Particolare = @Particolare) +) +, '') + +-- cerco descrizione Impianto +SET @DescImpianto = ISNULL( +( + SELECT DescImpianto + FROM AnagImpianti + WHERE (CodImpianto = @CodImpianto) +) +, '') + +-- Calcolo contatore intero successivo x il contenitore... +SET @NumCont = ( + SELECT NumCont + FROM ElencoCartellini + WHERE (UDC = @UDC_edit) +) + + +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- Flusso +------------------------------------------------------------------------------------------------------ +-- controllo se esiste il flusso (bilancia)... +SET @numFlu = ( + SELECT count(*) + FROM AnagBilance + WHERE CodBilancia = @Flusso +) +-- ...sennò lo creo... +IF(@numFlu = 0) + BEGIN + -- se c'è inserisco in tab + INSERT INTO AnagBilance(CodBilancia, DescrImpianto, CodCS) + VALUES (@Flusso, @Flusso, @CodCS) + END +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- Ciclo principale x edit record +------------------------------------------------------------------------------------------------------ +BEGIN TRAN + + -- elimino vecchio record parent/child + DELETE FROM RelazUDC + WHERE (UDC_child = @UDC_edit) + + -- modifico il record + UPDATE ElencoCartellini + SET CodCS = @CodCS, CodCliente = @CodCliente, RagSociale = @RagSociale, Particolare = @Particolare, DescParticolare = @DescParticolare, + DisegnoGrezzo = @DisegnoGrezzo, Esponente = @Esponente, CodImpianto = @CodImpianto, DescImpianto = @DescImpianto, CodStampo = @CodStampo, + Figura = @Figura, DataFus = @DataFus, TurnoFus = @TurnoFus, CodImballo = @CodImballo, CodSoggetto = @CodSoggetto, NumCont = @NumCont, + Tara = @Tara, Qta = @Qta, CodStato = @CodStato, IdxPosizione = @IdxPosizione, PesoTot = @PesoTot, PesoCad = @PesoCad, ModDate = GETDATE(), Note = @Note, CodEvento = @CodEvento + WHERE UDC = @UDC_edit + + -- inserisco relazione parent-child tra UDC vecchio (tara) e nuovo (pesa) + INSERT INTO RelazUDC(UDC_parent, UDC_child) + VALUES (@UDC_parent, @UDC_edit) +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- restituisco la tab dati con l'udc appena inserito +------------------------------------------------------------------------------------------------------ +SELECT * +FROM ElencoCartellini +WHERE UDC = @UDC_edit +------------------------------------------------------------------------------------------------------ + +RETURN +go + +/*************************************** +* STORED stp_UDC_updateIdxPosizione +* +* aggiorna un cartellino x la sua posizione logica +* +* Steamware, S.E.L. +* mod: 2010.06.12 +* +****************************************/ +alter PROCEDURE stp_UDC_updateIdxPosizione +( + @UDC VARCHAR(50), + @IdxPosizione INT +) +AS + + +------------------------------------------------------------------------------------------------------ +-- Ciclo principale x edit record +------------------------------------------------------------------------------------------------------ +BEGIN TRAN + + -- modifico il record + UPDATE ElencoCartellini + SET IdxPosizione = @IdxPosizione, ModDate = GETDATE(), CodEvento='UDC_MOV' + WHERE UDC = @UDC + +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- restituisco la tab dati con l'udc appena inserito +------------------------------------------------------------------------------------------------------ +SELECT * +FROM ElencoCartellini +WHERE UDC = @UDC +------------------------------------------------------------------------------------------------------ + +RETURN +go + +/***************************************** +* STORED stp_UDC_updateNoteByRQ +* +* Aggiorna note UDC dato il rapp di qualità cui sono legate +* +* Steamware, S.E.L. +* mod: 2012.02.14 +* +****************************************/ +alter PROCEDURE stp_UDC_updateNoteByRQ +( + @nRapQual NUMERIC(6,0), + @note NVARCHAR(500) +) +AS + +UPDATE ElencoCartellini +SET note = @note + ,ModDate=GETDATE(), + CodEvento = 'UDC_RDQ' +FROM ElencoCartellini AS ec INNER JOIN v_RapQualNote AS rq ON ec.UDC = rq.UDC +WHERE (rq.nRapQual = @nRapQual) + +RETURN +go + +/*************************************** +* STORED stp_UDC_updateQty +* +* aggiorna un cartellino x la sua quantità +* +* Steamware, S.E.L. +* mod: 2010.06.12 +* +****************************************/ +alter PROCEDURE stp_UDC_updateQty +( + @UDC VARCHAR(50), + @CodSoggetto VARCHAR(17), + @CodTipoDichiaraz CHAR(1), + @CodEvento VARCHAR(10), + @Qta DECIMAL(10,2) +) +AS + + +------------------------------------------------------------------------------------------------------ +-- Ciclo principale x edit record +------------------------------------------------------------------------------------------------------ +BEGIN TRAN + + -- modifico il record + UPDATE ElencoCartellini + SET Qta = @Qta, ModDate = GETDATE(), CodEvento = @CodEvento + WHERE UDC = @UDC + +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- restituisco la tab dati con l'udc appena inserito +------------------------------------------------------------------------------------------------------ +SELECT * +FROM ElencoCartellini +WHERE UDC = @UDC +------------------------------------------------------------------------------------------------------ + +RETURN +go + +commit +go + + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(449, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V2.0/GMW_00450_dati.sql b/GMW_data/SqlScripts/V2.0/GMW_00450_dati.sql new file mode 100644 index 00000000..763b043c --- /dev/null +++ b/GMW_data/SqlScripts/V2.0/GMW_00450_dati.sql @@ -0,0 +1,157 @@ +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.TabSyncMovMag + VALUES (N'SP', N'FinGBox', N'DEL', 4, 0, 1, N'4', NULL, NULL, N'ELIMINO e riporto a sistema ext') +INSERT INTO dbo.TabSyncMovMag + VALUES (N'SP', N'FinGBox', N'FinGBox', -4, 4, 0, NULL, NULL, NULL, N'ANNULLO consumo un UDC da DataMatrix NON riporto a sistema ext') +INSERT INTO dbo.TabSyncMovMag + VALUES (N'SP', N'FinGBox', N'FinGBox', 4, -4, 0, NULL, NULL, NULL, N'consumo un UDC da DataMatrix NON riporto a sistema ext') +INSERT INTO dbo.TabSyncMovMag + VALUES (N'SP', N'FinGBox', N'FinGBox', 4, 4, 1, N'4', N'4', NULL, N'registro modifiche quantità') +INSERT INTO dbo.TabSyncMovMag + VALUES (N'SP', N'FinGBox', N'FinGBox', 4, 200, 0, NULL, NULL, NULL, N'prelevato da LDP ODETTE ??? - scarico fatto da bolla') +INSERT INTO dbo.TabSyncMovMag + VALUES (N'SP', N'FinGBox', N'FinGBox', 200, 4, 0, NULL, NULL, NULL, N'ANNULLO prelievo da LDP ODETTE ??? - scarico fatto da bolla') +INSERT INTO dbo.TabSyncMovMag + VALUES (N'SP', N'FinLiq', N'DEL', 4, 0, 1, N'4', NULL, NULL, N'ELIMINO e riporto a sistema ext') +INSERT INTO dbo.TabSyncMovMag + VALUES (N'SP', N'FinLiq', N'FinGBox', -4, 4, 1, N'4', N'4', NULL, N'ANNULLO consumo un UDC Liquidi riporto a sistema ext') +INSERT INTO dbo.TabSyncMovMag + VALUES (N'SP', N'FinLiq', N'FinGBox', 4, -4, 1, N'4', N'4', NULL, N'consumo un UDC Liquidi riporto a sistema ext') +INSERT INTO dbo.TabSyncMovMag + VALUES (N'SP', N'FinLiq', N'FinLiq', 4, 4, 1, N'4', N'4', NULL, N'registro modifiche quantità') +INSERT INTO dbo.TabSyncMovMag + VALUES (N'SP', N'FinLiq', N'FinLiq', 4, 200, 0, NULL, NULL, NULL, N'consumo da LDP ODETTE ??? - scarico fatto da bolla') +INSERT INTO dbo.TabSyncMovMag + VALUES (N'SP', N'FinLiq', N'FinLiq', 200, 4, 0, NULL, NULL, NULL, N'consumo da LDP ODETTE ??? - scarico fatto da bolla') +INSERT INTO dbo.TabSyncMovMag + VALUES (N'SP', N'MP', N'MP', -6, 6, 0, NULL, NULL, NULL, N'ANNULLO consumo MP NON riporto a sistema ext') +INSERT INTO dbo.TabSyncMovMag + VALUES (N'SP', N'MP', N'MP', 6, -6, 0, NULL, NULL, NULL, N'consumo MP NON riporto a sistema ext') +INSERT INTO dbo.TabSyncMovMag + VALUES (N'SP', N'NEW', N'FinGBox', 0, 4, 0, NULL, N'4', NULL, N'creo un UDC da DataMatrix NON riporto a sistema ext') +INSERT INTO dbo.TabSyncMovMag + VALUES (N'SP', N'NEW', N'FinLiq', 0, 4, 1, NULL, N'4', NULL, N'creo un UDC da Liquidi riporto a sistema ext') +INSERT INTO dbo.TabSyncMovMag + VALUES (N'SP', N'NEW', N'MP', 0, 6, 0, NULL, N'6', NULL, N'carico MP NON riporto a sistema ext') +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.TabSyncMovMag + VALUES (N'AM', N'WIP', N'WIP', 88, 88, 1, N'88', N'88', N'84', N'Gestione con compensazione AMBIVERE') +INSERT INTO dbo.TabSyncMovMag + VALUES (N'TK', N'Anim', N'Anim', -2, 2, 1, N'2', N'2', NULL, N'ANNULLO consumo UDC interno un anima riporto a sistema ext') +INSERT INTO dbo.TabSyncMovMag + VALUES (N'TK', N'Anim', N'Anim', 2, -2, 1, N'2', N'2', NULL, N'consumo da LDP interno un anima riporto a sistema ext') +INSERT INTO dbo.TabSyncMovMag + VALUES (N'TK', N'Anim', N'Anim', 2, 2, 1, N'2', N'2', NULL, N'registro modifiche quantità') +INSERT INTO dbo.TabSyncMovMag + VALUES (N'TK', N'Anim', N'DEL', 2, 0, 1, N'2', NULL, NULL, N'ELIMINO e riporto a sistema ext') +INSERT INTO dbo.TabSyncMovMag + VALUES (N'TK', N'AnimExt', N'AnimExt', -2, 2, 0, N'2', N'2', NULL, N'ANNULLO consumo UDC interno un anima esterna riporto a sistema ext') +INSERT INTO dbo.TabSyncMovMag + VALUES (N'TK', N'AnimExt', N'AnimExt', 2, -2, 0, N'2', N'2', NULL, N'consumo da LDP interno un anima esterna riporto a sistema ext') +INSERT INTO dbo.TabSyncMovMag + VALUES (N'TK', N'AnimExt', N'AnimExt', 2, 2, 0, N'2', N'2', NULL, N'registro modifiche quantità: NO perchè carico da bolla') +INSERT INTO dbo.TabSyncMovMag + VALUES (N'TK', N'AnimExt', N'AnimExt', 2222, 2, 0, NULL, N'2', NULL, N'ANNULLO consumo UDC ESTERNO un anima esterna riporto a sistema ext') +INSERT INTO dbo.TabSyncMovMag + VALUES (N'TK', N'AnimExt', N'DEL', 2, 0, 0, NULL, NULL, NULL, N'ELIMINO un anima esterna NON riporto a sistema ext') +INSERT INTO dbo.TabSyncMovMag + VALUES (N'TK', N'AnimExt', N'DEL', 2222, 0, 0, NULL, NULL, NULL, N'cancello un anima ESTERNA- vecchio giro') +INSERT INTO dbo.TabSyncMovMag + VALUES (N'TK', N'MP', N'MP', -6, 6, 0, NULL, NULL, NULL, N'consumo MP NON riporto a sistema ext') +INSERT INTO dbo.TabSyncMovMag + VALUES (N'TK', N'MP', N'MP', 6, -6, 0, NULL, NULL, NULL, N'consumo MP NON riporto a sistema ext') +INSERT INTO dbo.TabSyncMovMag + VALUES (N'TK', N'NEW', N'Anim', 0, 2, 1, NULL, N'2', NULL, N'creo un anima riporto a sistema ext') +INSERT INTO dbo.TabSyncMovMag + VALUES (N'TK', N'NEW', N'AnimExt', 0, 2, 0, NULL, N'2', NULL, N'creo un anima ESTERNA NON riporto a sistema ext') +INSERT INTO dbo.TabSyncMovMag + VALUES (N'TK', N'NEW', N'AnimExt', 0, 2222, 0, NULL, NULL, NULL, N'creo un anima ESTERNA- vecchio giro') +INSERT INTO dbo.TabSyncMovMag + VALUES (N'TK', N'NEW', N'MP', 0, 6, 0, NULL, N'6', NULL, N'carico MP NON riporto a sistema ext') +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.AnagTipoEvento + VALUES (N'LDP_TerzAn', N'LDP Anime a Terzista') +INSERT INTO dbo.AnagTipoEvento + VALUES (N'UDC_RDQ', N'Update note by RDQ') +go + +commit transaction +go + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.AnagStatiProdotto + VALUES (N'DEL', N'Oggetto ELIMINATO', N'Del') +INSERT INTO dbo.AnagStatiProdotto + VALUES (N'FinGBox', N'Finito GitterBox', N'Finito') +INSERT INTO dbo.AnagStatiProdotto + VALUES (N'FinLiq', N'Finito Liquidi', N'Finito') +INSERT INTO dbo.AnagStatiProdotto + VALUES (N'NEW', N'NUOVO oggetto', N'New') +UPDATE dbo.AnagStatiProdotto SET + DescStato=N'Trattamenti WIP SP' + WHERE CodStato=N'Trattamenti' +go + +commit transaction +go + + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.AnagTipoEvento + VALUES (N'NEW_F10', N'Nuovo cartellino F10') +INSERT INTO dbo.AnagTipoEvento + VALUES (N'NEW_F18', N'Nuovo cartellino F18') +INSERT INTO dbo.AnagTipoEvento + VALUES (N'NEW_TRAT', N'Nuovo cartellino Trattamenti') +go + +commit transaction +go + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(450, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V2.0/GMW_00451_eventoGian.sql b/GMW_data/SqlScripts/V2.0/GMW_00451_eventoGian.sql new file mode 100644 index 00000000..924cb655 --- /dev/null +++ b/GMW_data/SqlScripts/V2.0/GMW_00451_eventoGian.sql @@ -0,0 +1,43 @@ +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.AnagTipoEvento + VALUES (N'UDC_MPRQ', N'Modifca UDC MP x Modifica RQ') +go + +commit transaction +go + +set xact_abort on +go + +begin transaction +go + +UPDATE dbo.TabSyncMovMag SET + codMagExtTo=N'6' + WHERE CodCS=N'SP' and CodStatoFrom=N'MP' and CodStatoTo=N'MP' and IdxPosizioneFrom=-6 and IdxPosizioneTo=6 +UPDATE dbo.TabSyncMovMag SET + codMagExtFrom=N'6' + WHERE CodCS=N'SP' and CodStatoFrom=N'MP' and CodStatoTo=N'MP' and IdxPosizioneFrom=6 and IdxPosizioneTo=-6 +INSERT INTO dbo.TabSyncMovMag + VALUES (N'SP', N'MP', N'MP-NA', 6, 6, 0, N'6', N'6', NULL, N'Cambio Stato in MP-NA non Accettata') +INSERT INTO dbo.TabSyncMovMag + VALUES (N'SP', N'MP-NA', N'MP', 6, 6, 0, N'6', N'6', NULL, N'Cambio Stato in MP - Accettata') +go + +commit transaction +go + + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(451, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V2.0/GMW_00451_storedGian.sql b/GMW_data/SqlScripts/V2.0/GMW_00451_storedGian.sql new file mode 100644 index 00000000..737c46c6 --- /dev/null +++ b/GMW_data/SqlScripts/V2.0/GMW_00451_storedGian.sql @@ -0,0 +1,224 @@ +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_batch_RapQual_S02 +* +* Esegue lo step 2 (travaso dati RAW in RilPro) per la tab dei rapporti di qualità +* +* Steamware, S.E.L. +* mod: 2011.11.25 +* +****************************************/ +alter PROCEDURE BatchQueue.stp_batch_RapQual_S02 +( + @CodMagMpNONacc NVARCHAR(50) = '6666', + @CodMagMpAcc NVARCHAR(50) = '6', + @CodStatoMpNONacc NVARCHAR(50) = 'MP-NA', + @CodStatoMpAcc NVARCHAR(50) = 'MP' +) + +AS + + SET XACT_ABORT ON; + SET NOCOUNT ON; + -- eseguo UPSERT x tutti i dati disponibili in tab Raw... + BEGIN TRAN; + + -- =============================================================================================== + -- PRIMA DI AGGIORNARE VERIFICO SE CI SONO MODIFICHE DI MP ACCETTATA / NON ACCETTATA + -- =============================================================================================== + --DECLARE @CodMagMpNONacc AS VARCHAR(50) = '6666' -- Setto il Magazzino per MP NON ACCETTATA + --DECLARE @CodMagMpAcc AS VARCHAR(50) = '6' -- Setto il Magazzino per MP ACCETTATA + + DECLARE @CellaOK AS INT + DECLARE @MagAccOK AS INT + DECLARE @MagNNAccOK AS INT + DECLARE @CodEven AS NVARCHAR(10) = 'UDC_MPRQ'; + + -- =============================================================================================== + -- SPOSTAMENTO DI MAGAZZINO DELLA MP che da ACCETTATA diventa NON ACCETTATA + -- =============================================================================================== + -- Controllo che il magazzino dest. NON ACCETTATA sia a cella singola( a terra ), attivo e non pieno + SELECT @MagAccOK = COUNT(*) FROM dbo.Celle AS c INNER JOIN Blocchi b ON c.IdxBlocco=b.IdxBlocco + WHERE b.CodMag = @CodMagMpNONacc AND c.Attiva = 1 AND c.Piena = 0 + + IF @MagAccOK = 1 -- Se mag. NON ACCETTATA è OK + BEGIN + -- Vado a leggere la cella corretta + SELECT @CellaOK = c.IdxCella FROM Celle AS c INNER JOIN Blocchi b ON c.IdxBlocco=b.IdxBlocco + WHERE b.CodMag = @CodMagMpNONacc AND c.Attiva = 1 AND c.Piena = 0 + + -- Se ci sono cartellini di materia prima che sono passati da accettati a non accettati li sposto + UPDATE dbo.PosizioneUdcCorrente + SET IdxCella = @CellaOK, + DataRif = GETDATE() + FROM dbo.PosizioneUdcCorrente AS po + INNER JOIN RilPro.RapQual rq + ON rq.UDC = po.UDC + INNER JOIN RawData.XOGIX00F u + ON u.XNRETI = rq.ProgUDC + INNER JOIN dbo.ElencoCartellini AS el + ON rq.UDC = el.UDC + INNER JOIN Celle c + ON po.IdxCella=c.IdxCella + INNER JOIN Blocchi b + ON c.IdxBlocco=b.IdxBlocco + WHERE ( rq.BenesQual = 'S' AND u.XBENQL = 'N' ) -- da Accettata a NON accettata + AND XMATSC = 'N' -- solo Lega non ancora Scaricata + AND b.CodMag <> @CodMagMpNONacc -- Che non è in Magazzino NON Accettati + + UPDATE dbo.ElencoCartellini + SET CodStato = @CodStatoMpNONacc, + CodEvento= @CodEven, + ModDate = GETDATE() + + FROM dbo.ElencoCartellini AS el + INNER JOIN RilPro.RapQual rq + ON rq.UDC = el.UDC + INNER JOIN RawData.XOGIX00F u + ON u.XNRETI = rq.ProgUDC + WHERE ( rq.BenesQual = 'S' AND u.XBENQL = 'N' ) -- da Accettata a NON accettata + AND XMATSC = 'N' -- solo Lega non ancora Scaricata + AND el.CodStato = @CodStatoMpAcc -- Modifico solo UDC in stato 'MP' (accettata) + AND el.IdxPosizione = 6 -- Modifico solo se cartellini non scaricati Mod. 2012-05 + END + + -- =============================================================================================== + -- SPOSTAMENTO DI MAGAZZINO DELLA MP che da NON ACCETTATA diventa ACCETTATA + -- =============================================================================================== + -- Controllo che il magazzino dest. ACCETTATA sia a cella singola( a terra ), attivo e non pieno + SELECT @MagNNAccOK = COUNT(*) FROM dbo.Celle AS c INNER JOIN Blocchi b ON c.IdxBlocco=b.IdxBlocco + WHERE b.CodMag = @CodMagMpAcc AND c.Attiva = 1 AND c.Piena = 0 + + IF @MagNNAccOK = 1 -- Se mag. ACCETTATA è OK + BEGIN + -- Vado a leggere la cella corretta + SELECT @CellaOK = c.IdxCella FROM Celle AS c INNER JOIN Blocchi b ON c.IdxBlocco=b.IdxBlocco + WHERE b.CodMag = @CodMagMpAcc AND c.Attiva = 1 AND c.Piena = 0 + + -- Se ci sono cartellini di materia prima che sono passati da accettati a non accettati li sposto + UPDATE dbo.PosizioneUdcCorrente + SET IdxCella = @CellaOK, + DataRif = GETDATE() + FROM dbo.PosizioneUdcCorrente AS po + INNER JOIN RilPro.RapQual rq + ON rq.UDC = po.UDC + INNER JOIN RawData.XOGIX00F u + ON u.XNRETI = rq.ProgUDC + INNER JOIN dbo.ElencoCartellini AS el + ON rq.UDC = el.UDC + INNER JOIN Celle c + ON po.IdxCella=c.IdxCella + INNER JOIN Blocchi b + ON c.IdxBlocco=b.IdxBlocco + WHERE ( rq.BenesQual = 'N' AND u.XBENQL = 'S' ) -- da NON Accettata ad Accettata + AND XMATSC = 'N' -- solo Lega non ancora Scaricata + AND b.CodMag <> @CodMagMpAcc -- Modifico solo UDC in stato MP non Accettata + + UPDATE dbo.ElencoCartellini + SET CodStato = @CodStatoMpAcc, + CodEvento= @CodEven, + ModDate = GETDATE() + FROM dbo.ElencoCartellini AS el + INNER JOIN RilPro.RapQual rq + ON rq.UDC = el.UDC + INNER JOIN RawData.XOGIX00F u + ON u.XNRETI = rq.ProgUDC + WHERE ( rq.BenesQual = 'N' AND u.XBENQL = 'S' ) -- da NON Accettata ad Accettata + AND XMATSC = 'N' -- solo Lega non ancora Scaricata + AND el.CodStato = @CodStatoMpNONacc -- Che ha è in stato MP NON accettata + AND el.IdxPosizione = 6 -- Modifico solo se cartellini non scaricati Mod. 2012-05 + END + + -- =============================================================================================== + -- ADESSO POSSO FARE UPDATE DI RilPro.RapQual + -- =============================================================================================== + -- se il dato esiste faccio UPDATE!!! + UPDATE RilPro.RapQual + SET CodFor = RTRIM(u.XCDFOR), + DestTerz = RTRIM(u.XCDTER), + CodLega = RTRIM(u.XCDPAR), +-- DataPrelFus = u.XDTPRO, +-- TurnoPrelFus = u.XTRPRO, -- non lo aggiorno perchè in AS400 è blank nel caso di consumo verso terzista e quindi lo perderei + Qta = u.XQTPRO, -- non lo aggiorno x non perdere il mio dato di scaricamento + DestLega = RTRIM(u.XDESMT), + LegaScaric = u.XMATSC, + BenesQual = u.XBENQL + FROM RilPro.RapQual rq + INNER JOIN RawData.XOGIX00F u ON u.XNRETI = rq.ProgUDC; -- AND u.XRPQLN = rq.nRapQual AND u.XRPQLD = rq.DataRapQual; -- se XNRETI è univoco ... + + -- verifico che non ci siano cartellini scaricati in AS400 e non sul mio sistema... + UPDATE RilPro.RapQual + SET CodFor = RTRIM(u.XCDFOR), + DestTerz = RTRIM(u.XCDTER), + CodLega = RTRIM(u.XCDPAR), + DataPrelFus = u.XDTPRO, + TurnoPrelFus = RTRIM(u.XTRPRO), + Qta = u.XQTPRO, + DestLega = RTRIM(u.XDESMT), + LegaScaric = u.XMATSC, + BenesQual = u.XBENQL + FROM RilPro.RapQual rq + INNER JOIN RawData.XOGIX00F u ON u.XNRETI = rq.ProgUDC + WHERE rq.DataPrelFus = 0 AND u.XDTPRO > 0; + + -- creo tab temporanea x i dati inesistenti... + WITH cteInsert AS + (SELECT x.* + FROM RawData.XOGIX00F x LEFT OUTER JOIN RilPro.RapQual rq + ON x.XNRETI = rq.ProgUDC -- AND u.XRPQLN = rq.nRapQual AND u.XRPQLD = rq.DataRapQual; -- se XNRETI è univoco ... + WHERE rq.ProgUDC IS NULL ) + + -- se il dato non c'è faccio INSERT!!! + INSERT INTO RilPro.RapQual(nRapQual, DataRapQual, ProgUDC, CodFor, DestTerz, CodLega, DataPrelFus, TurnoPrelFus, Qta, DestLega, LegaScaric, BenesQual) + SELECT XRPQLN AS nRapQual, + XRPQLD AS DataRapQual, + RTRIM(XNRETI) AS ProgUDC, + RTRIM(XCDFOR) AS CodFor, + RTRIM(XCDTER) AS DestTerz, + RTRIM(XCDPAR) AS CodLega, + XDTPRO AS DataPrelFus, + RTRIM(XTRPRO) AS TurnoPrelFus, + XQTPRO AS Qta, + RTRIM(XDESMT) AS DestLega, + XMATSC AS LegaScaric, + XBENQL AS BenesQual + FROM cteInsert + + -- =============================================================================================== + -- DOPO UPDATE aggiorno la QTA nei Cartellini GMW se diversi da quelli in RilPro.RapQual ( AS400 ) + -- =============================================================================================== + UPDATE e + SET + e.Qta = r.Qta + ,e.PesoTot = r.Qta + ,CodEvento= @CodEven + ,ModDate = GETDATE() -- memorizzo la modifica + -- OUTPUT deleted.* INTO dbo.ElencoCartellini_Copy -- deve essere già presente + FROM RilPro.RapQual AS r + INNER JOIN dbo.ElencoCartellini AS e + ON e.UDC = r.UDC + WHERE ( r.Qta <> e.Qta ) -- Solo se la quantità è diversa + + COMMIT TRAN; + +RETURN +go + +commit +go + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(451, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V2.0/GMW_00452_Sistemazione Viste TOP.sql b/GMW_data/SqlScripts/V2.0/GMW_00452_Sistemazione Viste TOP.sql new file mode 100644 index 00000000..8dbfd8c0 --- /dev/null +++ b/GMW_data/SqlScripts/V2.0/GMW_00452_Sistemazione Viste TOP.sql @@ -0,0 +1,304 @@ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +ALTER VIEW [dbo].[v_selMag] +AS +SELECT TOP ( SELECT COUNT(*) * 100 FROM dbo.AnagMag ) + CodMag AS value, DescMag AS label, CodCS AS conditio +FROM dbo.AnagMag +ORDER BY label + +GO + + +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + + +ALTER VIEW [dbo].[v_RapQualSunto] +AS +SELECT TOP ( SELECT COUNT(*) * 100 FROM RilPro.RapQual ) CAST(nRapQual AS NVARCHAR(20)) AS nRapQual, DataRapQual, CodFor, CodLega, SUM(Qta) AS Qta, BenesQual, COUNT(*) AS UdcTot, + COUNT(UDC) AS UdcAssoc, LegaScaric +FROM RilPro.RapQual +GROUP BY nRapQual, DataRapQual, CodFor, CodLega, BenesQual, LegaScaric +ORDER BY nRapQual + +GO + +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + + +ALTER VIEW [dbo].[V_elencoListePrelievo] +AS +SELECT TOP ( SELECT COUNT(*) * 100 FROM dbo.v_righePrelevate ) + dbo.ElencoListePrelievo.CodLista, dbo.ElencoListePrelievo.CodTipoLista, dbo.ElencoListePrelievo.CodCS, dbo.ElencoListePrelievo.DataCreaz, + dbo.ElencoListePrelievo.CodCliente, dbo.ElencoListePrelievo.RagSociale, dbo.ElencoListePrelievo.CodSoggetto, dbo.ElencoListePrelievo.Particolare, + dbo.ElencoListePrelievo.DescParticolare, dbo.ElencoListePrelievo.DisegnoGrezzo, dbo.ElencoListePrelievo.Esponente, dbo.ElencoListePrelievo.Figura, + dbo.ElencoListePrelievo.CodImballo, dbo.ElencoListePrelievo.QtaTot, dbo.ElencoListePrelievo.CodStatoLista, ISNULL(dbo.v_righePrelevate.TotQta, 0) AS Prelevato, + dbo.ElencoListePrelievo.Destinatario, ISNULL(dbo.ElencoListePrelievo.DestinatarioDescrizione, N'nd') AS DestinatarioDescrizione +FROM dbo.ElencoListePrelievo LEFT OUTER JOIN + dbo.v_righePrelevate ON dbo.ElencoListePrelievo.CodLista = dbo.v_righePrelevate.CodLista +ORDER BY dbo.ElencoListePrelievo.DataCreaz DESC + +GO + +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + + + +ALTER VIEW [dbo].[v_selMagLogico] +AS +SELECT DISTINCT TOP ( SELECT COUNT(*) * 100 FROM dbo.ElencoCartellini ) + CAST(ec.IdxPosizione AS NVARCHAR(20)) AS value, 'Mag. ' + CAST(ec.IdxPosizione AS NVARCHAR(20)) AS label, ec.CodCS AS conditio +FROM dbo.ElencoCartellini AS ec INNER JOIN + dbo.AnagMag AS am ON CAST(ec.IdxPosizione AS NVARCHAR(50)) = am.CodMag +WHERE (ec.IdxPosizione > 0) +ORDER BY label + +GO + +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + + +ALTER VIEW [dbo].[V_MagazziniLogiciOverview] +AS +SELECT TOP (SELECT COUNT(*) * 1000 FROM ElencoCartellini) + el.CodCS, anpo.IdxPosizione AS CodMagLogico, anpo.DescPosizione AS DescMagLogico, Blocchi.IdxBlocco, AnagMag.CodMag, + Blocchi.CodBlocco, COUNT(el.UDC) AS CelleOccupate, ISNULL(MIN(PosUdcCorr.DataRif), GETDATE()) AS Oldest, ISNULL(MAX(PosUdcCorr.DataRif), GETDATE()) AS Newest +FROM Celle + INNER JOIN Blocchi + INNER JOIN AnagMag ON Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS ON Celle.IdxBlocco = Blocchi.IdxBlocco + INNER JOIN ElencoCartellini AS el + INNER JOIN PosizioneUdcCorrente AS PosUdcCorr ON el.UDC = PosUdcCorr.UDC + INNER JOIN AnagPosizioni AS anpo ON el.IdxPosizione = anpo.IdxPosizione ON Celle.IdxCella = PosUdcCorr.IdxCella +GROUP BY el.CodCS, anpo.IdxPosizione, anpo.DescPosizione, Blocchi.IdxBlocco, Blocchi.CodBlocco, AnagMag.CodMag +ORDER BY CodMagLogico, Blocchi.CodBlocco + +GO + + +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +ALTER VIEW [dbo].[v_righeListePrelievoPosizione] +AS +SELECT TOP (SELECT COUNT(*) * 1000 FROM dbo.RigheListePrelievo ) + dbo.RigheListePrelievo.CodLista, dbo.RigheListePrelievo.UDC, dbo.RigheListePrelievo.Qta, dbo.RigheListePrelievo.Proposto, + dbo.RigheListePrelievo.Prelevato, ISNULL(dbo.Celle.CodCella, N'') AS CodCella, ISNULL(dbo.Blocchi.CodMag, N'') AS CodMag, ISNULL(dbo.Blocchi.CodBlocco, N'') + AS CodBlocco, ISNULL(dbo.Celle.X, 0) AS X, ISNULL(dbo.Celle.Y, 0) AS Y, ISNULL(dbo.Celle.Z, 0) AS Z +FROM dbo.Celle INNER JOIN + dbo.PosizioneUdcCorrente ON dbo.Celle.IdxCella = dbo.PosizioneUdcCorrente.IdxCella INNER JOIN + dbo.Blocchi ON dbo.Celle.IdxBlocco = dbo.Blocchi.IdxBlocco RIGHT OUTER JOIN + dbo.RigheListePrelievo ON dbo.PosizioneUdcCorrente.UDC = dbo.RigheListePrelievo.UDC +ORDER BY dbo.RigheListePrelievo.CodLista DESC + +GO + + +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +ALTER VIEW [RilPro].[vDatiLineeGiornata] +AS + -- Non tiene conto del Turno ma prende tutti gli stampi della giornata + WITH cteUltStampo + AS ( + SELECT CodStampo + ,InizioValidita + ,ProgFigure + ,FineValidita + ,NumCommessa + ,NumFigure + ,CodCliente + ,CodArticolo + ,Particolare + FROM RilPro.StampoArticolo AS A + WHERE ( GETDATE() BETWEEN InizioValidita AND FineValidita ) + ), + cteEspAttivi + AS ( + SELECT s.CodStampo + ,s.Esponente + ,s.EspAttivo + ,s.DataInserim + ,s.DataValidita + FROM RilPro.StampoEsponente AS s + INNER JOIN ( + SELECT CodStampo + ,MAX(DataValidita) AS DataValidita + FROM RilPro.StampoEsponente + WHERE ( DataValidita <= GETDATE() ) + AND ( EspAttivo = 'S' ) + GROUP BY CodStampo + ) AS s2 + ON s.CodStampo = s2.CodStampo + AND s.DataValidita = s2.DataValidita + ), + cteLineeAttive + AS ( + SELECT CodImpianto + ,CodStampo + ,NumStampate + ,CONVERT(DATETIME, DataInizio) AS DataInizio + ,DataFine + ,TurnoInizio + ,TurnoFine + FROM RilPro.LineaStampi + WHERE ( DataFine = '99991231' ) + ) + SELECT TOP ( SELECT COUNT(*) * 1000 FROM cteLineeAttive ) -- TOP 100 PERCENT non va bene + l.CodImpianto + ,l.CodStampo + ,l.NumStampate + ,l.DataInizio + ,l.TurnoInizio + ,g.InizioValidita + ,g.FineValidita + ,g.NumFigure + ,CAST(g.CodCliente AS varchar(50)) AS CodCliente + ,cl.RagSociale + ,CAST(g.CodArticolo AS varchar(50)) AS CodArticolo + ,g.Particolare + ,pa.DescParticolare + ,pa.DisegnoGrezzo + ,pa.CodFamiglia + ,fa.DescFamiglia + ,fi.Figura + ,es.Esponente + FROM cteLineeAttive AS l + INNER JOIN cteUltStampo AS g + ON l.CodStampo = g.CodStampo + LEFT OUTER JOIN RilPro.StampoFigure AS fi + ON l.CodStampo = fi.CodStampo + LEFT OUTER JOIN cteEspAttivi AS es + ON g.CodStampo = es.CodStampo + LEFT OUTER JOIN RilPro.AnagParticolari AS pa + ON g.Particolare = pa.Particolare + LEFT OUTER JOIN RilPro.AnagFamiglie AS fa + ON pa.CodFamiglia = fa.CodFamiglia + LEFT OUTER JOIN RilPro.AnagClienti AS cl + ON g.CodCliente = cl.CodCliente + ORDER BY l.CodImpianto + +GO + +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +ALTER VIEW [dbo].[v_selPeriodiTrad] +AS +SELECT TOP ( SELECT COUNT(*) * 1000 FROM dbo.AnagPeriodi ) + dbo.AnagPeriodi.codPeriodo AS value, dbo.v_vocabolario.Traduzione AS label, dbo.v_vocabolario.Lingua AS conditio +FROM dbo.AnagPeriodi INNER JOIN + dbo.v_vocabolario ON dbo.AnagPeriodi.lemmaPeriodo = dbo.v_vocabolario.Lemma collate Latin1_General_CI_AS +ORDER BY label + +GO + +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + + +ALTER VIEW [dbo].[V_MagazziniOverview] +AS +SELECT TOP ( SELECT COUNT(*) * 1000 FROM dbo.Blocchi ) + dbo.AnagMag.CodCS, dbo.AnagMag.CodMag, dbo.AnagMag.DescMag, dbo.Blocchi.IdxBlocco, dbo.Blocchi.CodBlocco, dbo.Blocchi.DescBlocco, + dbo.TipoCella.Capienza * dbo.Blocchi.NumX * dbo.Blocchi.NumY * dbo.Blocchi.NumZ AS TotCelle, dbo.TipoCella.Capienza * COUNT(DISTINCT dbo.Celle.IdxCella) + AS CelleAttive, COUNT(dbo.PosizioneUdcCorrente.UDC) AS CelleOccupate, dbo.TipoCella.Capienza * COUNT(DISTINCT dbo.Celle.IdxCella) + - COUNT(dbo.PosizioneUdcCorrente.UDC) AS CelleLibere, ISNULL(MIN(dbo.PosizioneUdcCorrente.DataRif), GETDATE()) AS Oldest, + ISNULL(MAX(dbo.PosizioneUdcCorrente.DataRif), GETDATE()) AS Newest +FROM dbo.TipoCella INNER JOIN + dbo.AnagMag INNER JOIN + dbo.Blocchi ON dbo.AnagMag.CodMag = dbo.Blocchi.CodMag AND dbo.AnagMag.CodCS = dbo.Blocchi.CodCS ON dbo.TipoCella.CodMag = dbo.AnagMag.CodMag AND + dbo.TipoCella.CodCS = dbo.AnagMag.CodCS LEFT OUTER JOIN + dbo.Celle ON dbo.TipoCella.IdxTipoCella = dbo.Celle.IdxTipoCella AND dbo.Blocchi.IdxBlocco = dbo.Celle.IdxBlocco LEFT OUTER JOIN + dbo.PosizioneUdcCorrente ON dbo.Celle.IdxCella = dbo.PosizioneUdcCorrente.IdxCella +WHERE (dbo.Celle.Attiva = 1) +GROUP BY dbo.AnagMag.CodCS, dbo.AnagMag.CodMag, dbo.AnagMag.DescMag, dbo.Blocchi.IdxBlocco, dbo.Blocchi.CodBlocco, dbo.Blocchi.NumX, dbo.Blocchi.NumY, + dbo.Blocchi.NumZ, dbo.TipoCella.Capienza, dbo.Blocchi.DescBlocco +ORDER BY dbo.AnagMag.CodMag, dbo.Blocchi.CodBlocco + +GO + + +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + + + +ALTER VIEW [dbo].[v_specParticolari] +AS +SELECT DISTINCT TOP ( SELECT COUNT(*) FROM dbo.ElencoCartellini ) CodCliente, RagSociale, Particolare, DescParticolare, DisegnoGrezzo, Esponente, CodStampo, Figura +FROM dbo.ElencoCartellini +WHERE (NOT (Particolare IS NULL)) AND (NOT (DisegnoGrezzo IS NULL)) + +GO + + +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +ALTER VIEW [dbo].[V_DettMagPart] +AS +SELECT TOP ( SELECT COUNT(*) * 1000 FROM dbo.ElencoCartellini ) + dbo.AnagMag.CodCS, dbo.AnagMag.CodMag, dbo.AnagMag.DescMag, dbo.Blocchi.IdxBlocco, dbo.Blocchi.CodBlocco, + dbo.ElencoCartellini.Particolare, dbo.ElencoCartellini.Esponente, COUNT(dbo.PosizioneUdcCorrente.UDC) AS NumUDC, + ISNULL(MIN(dbo.PosizioneUdcCorrente.DataRif), GETDATE()) AS Oldest, ISNULL(MAX(dbo.PosizioneUdcCorrente.DataRif), GETDATE()) AS Newest, + SUM(dbo.ElencoCartellini.Qta) AS QtaTotPz, dbo.AnagStatiProdotto.DescStato +FROM dbo.AnagMag INNER JOIN + dbo.Blocchi ON dbo.AnagMag.CodMag = dbo.Blocchi.CodMag AND dbo.AnagMag.CodCS = dbo.Blocchi.CodCS INNER JOIN + dbo.Celle INNER JOIN + dbo.ElencoCartellini INNER JOIN + dbo.PosizioneUdcCorrente ON dbo.ElencoCartellini.UDC = dbo.PosizioneUdcCorrente.UDC ON dbo.Celle.IdxCella = dbo.PosizioneUdcCorrente.IdxCella ON + dbo.Blocchi.IdxBlocco = dbo.Celle.IdxBlocco INNER JOIN + dbo.AnagStatiProdotto ON dbo.ElencoCartellini.CodStato = dbo.AnagStatiProdotto.CodStato +WHERE (dbo.Celle.Attiva = 1) +GROUP BY dbo.AnagMag.CodCS, dbo.AnagMag.CodMag, dbo.AnagMag.DescMag, dbo.Blocchi.IdxBlocco, dbo.Blocchi.CodBlocco, dbo.Blocchi.NumX, dbo.Blocchi.NumY, + dbo.Blocchi.NumZ, dbo.ElencoCartellini.Particolare, dbo.AnagStatiProdotto.DescStato, dbo.ElencoCartellini.Esponente +ORDER BY QtaTotPz DESC + +GO + + + + + + + + diff --git a/GMW_data/SqlScripts/V2.0/GMW_00452_Stored_BIS.sql b/GMW_data/SqlScripts/V2.0/GMW_00452_Stored_BIS.sql new file mode 100644 index 00000000..def5b130 --- /dev/null +++ b/GMW_data/SqlScripts/V2.0/GMW_00452_Stored_BIS.sql @@ -0,0 +1,490 @@ +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) + SET @IdxCellaFrom = ISNULL(@IdxCellaFrom,0) -- controllo x cella null... + -- controllo se cella di destinazione e di partenza coincidono NON FACCIO NULLA... altrimenti procedo + IF (@IdxCellaTo <> @IdxCellaFrom) + BEGIN + + -- controllo se la cella di partenza vada indicata come piena o meno + 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 cella di partenza NON raggiunta aggiorno NON Piena + 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 + + END -- cellaFrom e cellaTo non coincidono... + +COMMIT TRAN + +RETURN +go + +commit; +go + + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/***************************************** +* STORED stp_UDC_delete_byRdQ +* +* Elimina gli UDC associati ad un rapporto di qualità dato rapporto qualità +* +* Steamware, S.E.L. +* mod: 2012.02.14 +* +****************************************/ +alter PROCEDURE stp_UDC_delete_byRdQ +( + @nRapQual NUMERIC(6,0), + @ExecBatchInter BIT = 0 -- 0 Eseguita in Batch , 1 in Interattivo +) +AS + +-- Attenzione!!! Cancella tutti i cartellini degli UDC materia prima del rapporto qualità anche se sono scaricati +-- comunque sono presenti nello StoricoCartellini + + +SET NOCOUNT ON; +SET ANSI_NULLS OFF; +SET XACT_ABORT ON; -- Se c'è un errore fa il rollback di tutta la transazione e non solo quella in errore +SET LOCK_TIMEOUT 600000; -- 10 min - Setto il tempo massimo di attesa del lock della tabella che è valido solo per la durata + -- della connessione e di default è settato a -1 (infinito). ATTENZIONE che se viene dato un errore + -- di lock deve essere controllato + +IF @ExecBatchInter = 1 -- Se interattiva diminuisco il tempo di lock massimo a 15 sec + SET LOCK_TIMEOUT 15000; + +-- Se per il rapporto qualità esiste almeno un cartellino UDC ( se nullo non lo conta ) +IF ( SELECT COUNT(UDC) FROM RilPro.RapQual WHERE nRapQual = @nRapQual ) > 0 +BEGIN + BEGIN TRY; + BEGIN TRANSACTION; + + -- ========================================================= + -- Cancella tutti gli UDC Materia Prima di un Rapp. Qualità + -- ========================================================= + SELECT ROW_NUMBER() OVER (ORDER BY UDC) AS Riga,UDC + INTO #Temp + FROM RilPro.RapQual + WHERE nRapQual = @nRapQual AND UDC IS NOT NULL; -- Rapporto di qualità da cancellare + + DECLARE @Riga AS INT = 1 + ,@Fine AS INT = 0 + ,@UDC nVarchar(50); + + SELECT @Fine = MAX(Riga) FROM #Temp; + + WHILE @Riga <= @Fine + BEGIN + -- Leggo UDC da cancellare uno alla volta + SELECT @UDC = UDC FROM #Temp WHERE Riga = @Riga; + + -- ====================================================== + -- Cancella i dati del singolo UDC + -- ======================================================= + -- Attenzione che sulle tabelle ci sono dei trigger + DELETE dbo.PosizioneUdcCorrente WHERE UDC = @UDC + + -- DELETE dbo.RelazUDC WHERE UDC_child = @UDC -- mod. 2012-03-02 per mantenere la storia UDC AS400-GMW + -- DELETE dbo.RelazUDC WHERE UDC_parent = @UDC + DELETE dbo.ElencoCartellini WHERE UDC = @UDC + + -- sgancio il cartellino AS400 da quello GMW ( cancellato ) + UPDATE RilPro.RapQual SET UDC = NULL WHERE UDC = @UDC + + --SELECT * FROM dbo.PosizioneUdcCorrente WHERE UDC = @UDC + --SELECT * FROM dbo.RelazUDC WHERE UDC_child = @UDC + --SELECT * FROM dbo.ElencoCartellini WHERE UDC = @UDC + --SELECT * FROM RilPro.RapQual WHERE UDC = @UDC + + SET @Riga = @Riga + 1 -- Incremento contatore x UDC in tabella Temp + + END + + -- Se esiste la tabella #Temp la cancello + IF OBJECT_ID(N'tempdb..#Temp') IS NOT NULL + DROP TABLE #Temp; + + COMMIT TRANSACTION; + END TRY + + BEGIN CATCH; + + --IF (ERROR_NUMBER() = 1222) -- se vi è un lock per troppo tempo posso controllarlo x rieseguire + -- BEGIN; PRINT 'Tabella Bloccata'; -- Segnalo l'errore specifico di lock + -- END; + --ELSE PRINT 'Errore Generico'; -- se l'errore non è un deadlock esco dal WHILE + + IF XACT_STATE() <> 0 -- solo se vi sono transazioni aperte faccio il rollback ( da verificare nel caso sia richiamato + ROLLBACK TRANSACTION -- all'interno di un'altra transazione ) + + -- Cancello La Tabella TEMP se esiste ( messo x per sicurezza ) + IF OBJECT_ID(N'tempdb..#Temp') IS NOT NULL + DROP TABLE #Temp; + + -- Uso RAISERROR mandare in errore la procedura e x per tornare le info + -- sull'errore originale che ha portato l'esecuzione nel blocco CATCH + DECLARE @ErrorNumber INT; + DECLARE @ErrorMessage NVARCHAR(4000); + DECLARE @ErrorSeverity INT; + DECLARE @ErrorState INT; + SELECT @ErrorMessage = ERROR_MESSAGE(),@ErrorSeverity = ERROR_SEVERITY(),@ErrorState = ERROR_STATE(), @ErrorNumber = ERROR_NUMBER(); + + IF @ExecBatchInter = 0 -- Sollevo errore solo se richiesto dai parametri ( es. esecuzione da un Job Batch ) + RAISERROR (@ErrorMessage,@ErrorSeverity,@ErrorState); -- Se non uso RAISERROR la procedura non mi da errore es. se schedulata + + END CATCH; + +END + +/*--------------------------------------- +- Query x eliminazione UDC e tab +- collegate dato un Rapp di Qualità +---------------------------------------*/ + +/* NON FUNZIONA A CAUSA DEI TRIGGER +WITH cte AS -- Tutti i cartellini su AS400 annullati che hanno un cartellino in RilPro +( + SELECT r.UDC + FROM RilPro.RapQual AS r + INNER JOIN dbo.ElencoCartellini AS e + ON r.UDC = e.UDC + WHERE r.BenesQual = 'A' +) + -- Cancello la posizione degli UDC a magazzino + DELETE dbo.PosizioneUdcCorrente + FROM dbo.PosizioneUdcCorrente AS P + INNER JOIN RilPro.RapQual AS r + ON p.UDC = r.UDC + WHERE r.nRapQual = @nRapQual + -- SELECT * FROM dbo.PosizioneUdcCorrente WHERE r.nRapQual = @nRapQual + + -- Se non sono ancora scaricati cancello il record movimento di scarico materia prima + DELETE dbo.AS400_BatchConsumoMP + FROM dbo.AS400_BatchConsumoMP AS b + INNER JOIN RilPro.RapQual AS r + ON b.UDC = r.UDC + WHERE r.nRapQual = @nRapQual AND b.DataInvioAs IS NULL + + SELECT * FROM dbo.AS400_BatchConsumoMP + + -- Cancellazione Cartellini Materia Prima di un Rapporto qualità + SELECT * FROM dbo.ElencoCartellini +*/ +go + +commit; +go + + + + +/****** Object: StoredProcedure [BatchQueue].[stp_processaGiornaleMagazzino] Script Date: 06/05/2012 19:24:45 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + + + + + +/***************************************** +* STORED stp_processaGiornaleMagazzino +* +* processa il giornale del magazzino, in modo da controlalre tutte le righe non processate (o eventualmente solo quelle nuove) +* e spostare nella coda di trasferimento con AS400 SOLO i movimenti che soddisfano i criteri specificati nella tabella +* "TabSyncMovMag" +* +* Steamware, S.E.L. +* mod: 2012.05.25 +* +****************************************/ +ALTER PROCEDURE [BatchQueue].[stp_processaGiornaleMagazzino] +( + @CodCS NCHAR(2), + @lastInsDate DATETIME = NULL -- data-ora da cui cercare i record, se non viene passata è l'ultimo movimento registrato +) +AS + +BEGIN TRAN + + /********************************************************************************** + * + * PROCEDURA in 4 step: + * - STEP 1: registro rettifiche QUANTITA' in FROM + * - STEP 2: registro prelievi da mag ext "from" (cambio mag) + * - STEP 3: registro depositi a mag ext "to" (cambio mag) + * - STEP 4: registro compensazioni: se from e to corrispondono e mag comp è NON NULLO metto in comp! + **********************************************************************************/ + + -- in primis: se è nulla la data calcolo l'ultim data di processing... + IF ( @lastInsDate IS NULL ) + BEGIN + SET @lastInsDate = ( SELECT ISNULL(MAX(DataOra), '19000101') FROM GiornaleMagazzino WHERE NOT (DataOraProc IS NULL) ) + END + + -- ATTENZIONE!!! DEVE ESSERCI UN PARTICOLARE NON NULLO e != "n.d." + + -- ora prendo tutte le righe che mi interessano e cerco match sulla tab TabSyncMovMag e le inserisco in batch... + + -- STEP 1: rettifico quantità! + INSERT INTO AS400_BatchMovimenti(DataIns, numOp, CodEvento, Particolare, UDC, CodMagAS, Quantita) + SELECT DataOra, numOp, 'UDC_MOD', gm.Particolare, gm.UDC, tsmm.codMagExtFrom , gm.QtaTo - gm.QtaFrom + FROM GiornaleMagazzino gm + INNER JOIN TabSyncMovMag tsmm ON + tsmm.CodCS = @CodCS AND + gm.CodStatoFrom = tsmm.CodStatoFrom AND + gm.CodStatoTo = tsmm.CodStatoTo AND + gm.IdxPosizioneFrom = tsmm.IdxPosizioneFrom AND + gm.IdxPosizioneTo = tsmm.IdxPosizioneTo + WHERE (gm.DataOra >= @lastInsDate) + AND (gm.DataOraProc IS NULL) + AND (tsmm.toExt = 1) -- Se devo fare movimento su Sistema EXT + AND gm.Particolare <> '' -- particolare deve essere disponibile!!!! + AND (tsmm.codMagExtTo IS NOT NULL AND tsmm.codMagExtFrom IS NOT NULL ) -- le righe con magazzini ext NULLI non sono permessi + AND (tsmm.codMagExtFrom = tsmm.codMagExtTo) -- Solo se NON VARIA MAG ESTERNO... + AND (tsmm.codMagExtTo > 0 AND codMagExtFrom > 0 ) -- e magazzini non 0 ( usato quando non esiste Mag ) + + + + -- STEP 2: genero ora casi con 2 mag ext che cambiano: tolgo da FROM + INSERT INTO AS400_BatchMovimenti(DataIns, numOp, CodEvento, Particolare, UDC, CodMagAS, Quantita) + SELECT DataOra, numOp, 'UDC_MOV', gm.Particolare, gm.UDC, tsmm.codMagExtFrom , - gm.QtaFrom + FROM GiornaleMagazzino gm + INNER JOIN TabSyncMovMag tsmm ON + tsmm.CodCS = @CodCS AND + gm.CodStatoFrom = tsmm.CodStatoFrom AND + gm.CodStatoTo = tsmm.CodStatoTo AND + gm.IdxPosizioneFrom = tsmm.IdxPosizioneFrom AND + gm.IdxPosizioneTo = tsmm.IdxPosizioneTo + WHERE (gm.DataOra >= @lastInsDate) + AND (gm.DataOraProc IS NULL) + AND (tsmm.toExt = 1) + AND gm.Particolare <> '' -- particolare deve essere disponibile!!!! + AND (tsmm.codMagExtTo IS NOT NULL AND tsmm.codMagExtFrom IS NOT NULL ) -- le righe con magazzini ext NULLI non sono permessi + AND (tsmm.codMagExtFrom <> tsmm.codMagExtTo) -- se VARIA MAG ESTERNO... + AND (tsmm.codMagExtFrom > 0) -- e mag. partenza non 0 ( usato se non esiste Mag di partenza es. NEW UDC ) + -- e non Negativo ( consumo ) non carica nessun magazzino + + -- STEP 3: genero ora casi con 2 mag ext che cambiano: metto in TO + INSERT INTO AS400_BatchMovimenti(DataIns, numOp, CodEvento, Particolare, UDC, CodMagAS, Quantita) + SELECT DataOra, numOp, 'UDC_MOV', gm.Particolare, gm.UDC, tsmm.codMagExtTo , gm.QtaTo + FROM GiornaleMagazzino gm INNER JOIN TabSyncMovMag tsmm ON + tsmm.CodCS = @CodCS AND + gm.CodStatoFrom = tsmm.CodStatoFrom AND + gm.CodStatoTo = tsmm.CodStatoTo AND + gm.IdxPosizioneFrom = tsmm.IdxPosizioneFrom AND + gm.IdxPosizioneTo = tsmm.IdxPosizioneTo + WHERE (gm.DataOra >= @lastInsDate) + AND (gm.DataOraProc IS NULL) + AND (tsmm.toExt = 1) + AND (tsmm.codMagExtTo IS NOT NULL AND tsmm.codMagExtFrom IS NOT NULL ) -- le righe con magazzini ext NULLI non sono permessi + AND gm.Particolare <> '' -- particolare deve essere disponibile!!!! + AND (tsmm.codMagExtFrom <> tsmm.codMagExtTo) -- se VARIA MAG ESTERNO... + AND (tsmm.codMagExtTo > 0) -- e mag. destinazione non 0 ( usato se non esiste Mag di arrivo es. DEL UDC ) + -- e non Negativo ( consumo ) non carica nessun magazzino + + -- STEP 4: cerco prima casi con magazzini ext origine = destinazione e compensazioni + INSERT INTO AS400_BatchMovimenti(DataIns, numOp, CodEvento, Particolare, UDC, CodMagAS, Quantita) + SELECT DataOra, numOp, 'UDC_COMP', gm.Particolare, gm.UDC, tsmm.codMagExtComp, gm.QtaFrom - gm.QtaTo + FROM GiornaleMagazzino gm + INNER JOIN TabSyncMovMag tsmm ON + tsmm.CodCS = @CodCS AND + gm.CodStatoFrom = tsmm.CodStatoFrom AND + gm.CodStatoTo = tsmm.CodStatoTo AND + gm.IdxPosizioneFrom = tsmm.IdxPosizioneFrom AND + gm.IdxPosizioneTo = tsmm.IdxPosizioneTo + WHERE (gm.DataOra >= @lastInsDate) + AND (gm.DataOraProc IS NULL) + AND (tsmm.toExt = 1) + AND gm.Particolare <> '' -- particolare deve essere disponibile!!!! + AND (tsmm.codMagExtTo IS NOT NULL AND tsmm.codMagExtFrom IS NOT NULL ) -- le righe con magazzini ext NULLI non sono permessi + AND (tsmm.codMagExtTo > 0 AND codMagExtFrom > 0 ) -- e magazzini > 0 ( usato quando non esiste Mag ) + AND (tsmm.codMagExtComp IS NOT NULL AND tsmm.codMagExtComp <> 0 ) -- HO compensazioni!!! + AND (tsmm.codMagExtFrom = tsmm.codMagExtTo) -- E NON VARIA MAG ESTERNO... + + -- ora aggiorno le stesse righe riportate indicando la data ora di processing... + UPDATE gm + SET DataOraProc = GETDATE() + FROM GiornaleMagazzino gm + INNER JOIN AS400_BatchMovimenti abm + ON gm.numOp = abm.numOp + WHERE (gm.DataOra >= @lastInsDate) + AND (gm.DataOraProc IS NULL) + +COMMIT TRAN + +RETURN + + + + +GO + + +/****** Object: Trigger [dbo].[trg_updMovAS] Script Date: 06/05/2012 19:26:32 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + + + +-- ============================================= +-- Author: Samuele E. Locatelli +-- Create date: 2009-09-20 mod. 2012-03-14 +-- Description: trigger x inserimento movimenti +-- nella tab GiornaleMagazzino +-- ============================================= +ALTER TRIGGER [dbo].[trg_updMovAS] + ON [dbo].[ElencoCartellini] + AFTER UPDATE +AS +BEGIN + + + /******************************************************************************* + * Gestione UPDATE ElencoCartellini --> GiornaleMagazzino + * + * regola1: si fanno registrazioni solo se varia ALMENO UNO tra + * - quantità + * - idxPosizione + * - codStato + * + * regola 2: + * - Particolare deve essere valorizzato ALMENO a '' (blank) + * + * regola3: in caso di update SIA di quantità che di posizione/stato + * - si genera UN PRIMO RECORD di modifica quantità a posizione e stato FISSI sulla vecchia posizione/Stato + * - si genera UN SECONDO RECORD con variazione posizione/stato + * + *******************************************************************************/ + + -- setup variabili e verbosità + SET NOCOUNT ON; + DECLARE @dataOra AS DATETIME + SET @dataOra = GETDATE() + + -- PRIMO STEP: quantità! ( vedi Note ) + IF( UPDATE(Qta) ) + BEGIN + + INSERT INTO GiornaleMagazzino(OP, DataOra, CodEvento, ModDate, UDC, Particolare, CodStatoFrom, CodStatoTo, IdxPosizioneFrom, IdxPosizioneTo, QtaFrom, QtaTo) + ( + SELECT 'U', @dataOra, i.CodEvento, i.ModDate, d.UDC, ISNULL(d.Particolare,''), d.CodStato, d.CodStato, d.IdxPosizione, d.IdxPosizione, d.Qta, i.Qta + FROM inserted AS i + INNER JOIN deleted AS d ON i.UDC = d.UDC + WHERE ( (i.Qta <> d.Qta) ) + ) + + END + + -- ora controllo in caso di modifica di stato o posizione + IF(UPDATE(CodStato) OR UPDATE(IdxPosizione)) + BEGIN + + INSERT INTO GiornaleMagazzino(OP, DataOra, CodEvento, ModDate, UDC, Particolare, CodStatoFrom, CodStatoTo, IdxPosizioneFrom, IdxPosizioneTo, QtaFrom, QtaTo) + ( + SELECT 'U', @dataOra, i.CodEvento, i.ModDate, i.UDC, ISNULL(d.Particolare,''), d.CodStato, i.CodStato, d.IdxPosizione, i.IdxPosizione, i.Qta, i.Qta + FROM inserted AS i + INNER JOIN deleted AS d ON i.UDC = d.UDC + WHERE ( ( i.IdxPosizione <> d.IdxPosizione) OR (i.CodStato <> d.CodStato) ) + ) + + END + +END + + +GO + + + + + diff --git a/GMW_data/SqlScripts/V2.0/GMW_00452_dati.sql b/GMW_data/SqlScripts/V2.0/GMW_00452_dati.sql new file mode 100644 index 00000000..e94619b1 --- /dev/null +++ b/GMW_data/SqlScripts/V2.0/GMW_00452_dati.sql @@ -0,0 +1,17 @@ +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.AnagTipoEvento + VALUES (N'SvuotaGbox', N'Svuota Gitterbox') +go +INSERT INTO dbo.AnagTipoEvento + VALUES (N'SpostaDMtx', N'Sposta DataMatrix') +go + +commit transaction +go + + diff --git a/GMW_data/SqlScripts/V2.0/GMW_00452_dati_2.sql b/GMW_data/SqlScripts/V2.0/GMW_00452_dati_2.sql new file mode 100644 index 00000000..720a0e35 --- /dev/null +++ b/GMW_data/SqlScripts/V2.0/GMW_00452_dati_2.sql @@ -0,0 +1,84 @@ +/* +Run this script on: + +SRV-PRODTK01.TK_GMWTestSW - This database will be modified + +to synchronize it with: + +T110-WIN2008R2\SQL2008R2.TK_GMWTest + +You are recommended to back up your database before running this script + +Script created by SQL Data Compare version 8.1.0 from Red Gate Software Ltd at 06/06/2012 13.44.03 + +*/ + +SET NUMERIC_ROUNDABORT OFF +GO +SET ANSI_PADDING, ANSI_WARNINGS, CONCAT_NULL_YIELDS_NULL, ARITHABORT, QUOTED_IDENTIFIER, ANSI_NULLS, NOCOUNT ON +GO +SET DATEFORMAT YMD +GO +SET XACT_ABORT ON +GO +SET TRANSACTION ISOLATION LEVEL SERIALIZABLE +GO +BEGIN TRANSACTION +-- Pointer used for text / image updates. This might not be needed, but is declared here just in case +DECLARE @pv binary(16) + +-- Drop constraints from [dbo].[Soggetti2Utente] +ALTER TABLE [dbo].[Soggetti2Utente] DROP CONSTRAINT [FK_Soggetti2Utente_AnagOperatori] + +-- Update 31 rows in [dbo].[TabSyncMovMag] +UPDATE [dbo].[TabSyncMovMag] SET [codMagExtTo]=N'0' WHERE [CodCS]=N'SP' AND [CodStatoFrom]=N'FinGBox' AND [CodStatoTo]=N'DEL' AND [IdxPosizioneFrom]=4 AND [IdxPosizioneTo]=0 +UPDATE [dbo].[TabSyncMovMag] SET [codMagExtFrom]=N'4', [codMagExtTo]=N'4' WHERE [CodCS]=N'SP' AND [CodStatoFrom]=N'FinGBox' AND [CodStatoTo]=N'FinGBox' AND [IdxPosizioneFrom]=-4 AND [IdxPosizioneTo]=4 +UPDATE [dbo].[TabSyncMovMag] SET [codMagExtFrom]=N'4', [codMagExtTo]=N'4' WHERE [CodCS]=N'SP' AND [CodStatoFrom]=N'FinGBox' AND [CodStatoTo]=N'FinGBox' AND [IdxPosizioneFrom]=4 AND [IdxPosizioneTo]=-4 +UPDATE [dbo].[TabSyncMovMag] SET [note]=N'MODIFICHE quantità' WHERE [CodCS]=N'SP' AND [CodStatoFrom]=N'FinGBox' AND [CodStatoTo]=N'FinGBox' AND [IdxPosizioneFrom]=4 AND [IdxPosizioneTo]=4 +UPDATE [dbo].[TabSyncMovMag] SET [codMagExtFrom]=N'4', [codMagExtTo]=N'0' WHERE [CodCS]=N'SP' AND [CodStatoFrom]=N'FinGBox' AND [CodStatoTo]=N'FinGBox' AND [IdxPosizioneFrom]=4 AND [IdxPosizioneTo]=200 +UPDATE [dbo].[TabSyncMovMag] SET [codMagExtFrom]=N'0', [codMagExtTo]=N'4' WHERE [CodCS]=N'SP' AND [CodStatoFrom]=N'FinGBox' AND [CodStatoTo]=N'FinGBox' AND [IdxPosizioneFrom]=200 AND [IdxPosizioneTo]=4 +UPDATE [dbo].[TabSyncMovMag] SET [codMagExtTo]=N'0' WHERE [CodCS]=N'SP' AND [CodStatoFrom]=N'FinLiq' AND [CodStatoTo]=N'DEL' AND [IdxPosizioneFrom]=4 AND [IdxPosizioneTo]=0 +UPDATE [dbo].[TabSyncMovMag] SET [note]=N'MODIFICHE quantità' WHERE [CodCS]=N'SP' AND [CodStatoFrom]=N'FinLiq' AND [CodStatoTo]=N'FinLiq' AND [IdxPosizioneFrom]=4 AND [IdxPosizioneTo]=4 +UPDATE [dbo].[TabSyncMovMag] SET [codMagExtFrom]=N'4', [codMagExtTo]=N'0' WHERE [CodCS]=N'SP' AND [CodStatoFrom]=N'FinLiq' AND [CodStatoTo]=N'FinLiq' AND [IdxPosizioneFrom]=4 AND [IdxPosizioneTo]=200 +UPDATE [dbo].[TabSyncMovMag] SET [codMagExtFrom]=N'0', [codMagExtTo]=N'4' WHERE [CodCS]=N'SP' AND [CodStatoFrom]=N'FinLiq' AND [CodStatoTo]=N'FinLiq' AND [IdxPosizioneFrom]=200 AND [IdxPosizioneTo]=4 +UPDATE [dbo].[TabSyncMovMag] SET [codMagExtFrom]=N'0' WHERE [CodCS]=N'SP' AND [CodStatoFrom]=N'MP' AND [CodStatoTo]=N'MP' AND [IdxPosizioneFrom]=-6 AND [IdxPosizioneTo]=6 +UPDATE [dbo].[TabSyncMovMag] SET [codMagExtTo]=N'0' WHERE [CodCS]=N'SP' AND [CodStatoFrom]=N'MP' AND [CodStatoTo]=N'MP' AND [IdxPosizioneFrom]=6 AND [IdxPosizioneTo]=-6 +UPDATE [dbo].[TabSyncMovMag] SET [codMagExtFrom]=N'0' WHERE [CodCS]=N'SP' AND [CodStatoFrom]=N'NEW' AND [CodStatoTo]=N'FinGBox' AND [IdxPosizioneFrom]=0 AND [IdxPosizioneTo]=4 +UPDATE [dbo].[TabSyncMovMag] SET [codMagExtFrom]=N'0' WHERE [CodCS]=N'SP' AND [CodStatoFrom]=N'NEW' AND [CodStatoTo]=N'FinLiq' AND [IdxPosizioneFrom]=0 AND [IdxPosizioneTo]=4 +UPDATE [dbo].[TabSyncMovMag] SET [codMagExtFrom]=N'0' WHERE [CodCS]=N'SP' AND [CodStatoFrom]=N'NEW' AND [CodStatoTo]=N'MP' AND [IdxPosizioneFrom]=0 AND [IdxPosizioneTo]=6 +UPDATE [dbo].[TabSyncMovMag] SET [codMagExtFrom]=N'-2' WHERE [CodCS]=N'TK' AND [CodStatoFrom]=N'Anim' AND [CodStatoTo]=N'Anim' AND [IdxPosizioneFrom]=-2 AND [IdxPosizioneTo]=2 +UPDATE [dbo].[TabSyncMovMag] SET [codMagExtTo]=N'-2' WHERE [CodCS]=N'TK' AND [CodStatoFrom]=N'Anim' AND [CodStatoTo]=N'Anim' AND [IdxPosizioneFrom]=2 AND [IdxPosizioneTo]=-2 +UPDATE [dbo].[TabSyncMovMag] SET [note]=N'MODIFICHE quantità' WHERE [CodCS]=N'TK' AND [CodStatoFrom]=N'Anim' AND [CodStatoTo]=N'Anim' AND [IdxPosizioneFrom]=2 AND [IdxPosizioneTo]=2 +UPDATE [dbo].[TabSyncMovMag] SET [codMagExtTo]=N'0' WHERE [CodCS]=N'TK' AND [CodStatoFrom]=N'Anim' AND [CodStatoTo]=N'DEL' AND [IdxPosizioneFrom]=2 AND [IdxPosizioneTo]=0 +UPDATE [dbo].[TabSyncMovMag] SET [toExt]=1, [codMagExtFrom]=N'-2' WHERE [CodCS]=N'TK' AND [CodStatoFrom]=N'AnimExt' AND [CodStatoTo]=N'AnimExt' AND [IdxPosizioneFrom]=-2 AND [IdxPosizioneTo]=2 +UPDATE [dbo].[TabSyncMovMag] SET [toExt]=1, [codMagExtTo]=N'-2' WHERE [CodCS]=N'TK' AND [CodStatoFrom]=N'AnimExt' AND [CodStatoTo]=N'AnimExt' AND [IdxPosizioneFrom]=2 AND [IdxPosizioneTo]=-2 +UPDATE [dbo].[TabSyncMovMag] SET [note]=N'MODIFICHE quantità: NO perchè carico da bolla' WHERE [CodCS]=N'TK' AND [CodStatoFrom]=N'AnimExt' AND [CodStatoTo]=N'AnimExt' AND [IdxPosizioneFrom]=2 AND [IdxPosizioneTo]=2 +UPDATE [dbo].[TabSyncMovMag] SET [codMagExtFrom]=N'0', [note]=N'MODIFICO da 2222 a 2 - vecchio giro' WHERE [CodCS]=N'TK' AND [CodStatoFrom]=N'AnimExt' AND [CodStatoTo]=N'AnimExt' AND [IdxPosizioneFrom]=2222 AND [IdxPosizioneTo]=2 +UPDATE [dbo].[TabSyncMovMag] SET [codMagExtFrom]=N'2', [codMagExtTo]=N'0' WHERE [CodCS]=N'TK' AND [CodStatoFrom]=N'AnimExt' AND [CodStatoTo]=N'DEL' AND [IdxPosizioneFrom]=2 AND [IdxPosizioneTo]=0 +UPDATE [dbo].[TabSyncMovMag] SET [codMagExtFrom]=N'0', [codMagExtTo]=N'0' WHERE [CodCS]=N'TK' AND [CodStatoFrom]=N'AnimExt' AND [CodStatoTo]=N'DEL' AND [IdxPosizioneFrom]=2222 AND [IdxPosizioneTo]=0 +UPDATE [dbo].[TabSyncMovMag] SET [codMagExtFrom]=N'0', [codMagExtTo]=N'6', [note]=N'ANNULLO CONSUMO MP NON riporto a sistema ext' WHERE [CodCS]=N'TK' AND [CodStatoFrom]=N'MP' AND [CodStatoTo]=N'MP' AND [IdxPosizioneFrom]=-6 AND [IdxPosizioneTo]=6 +UPDATE [dbo].[TabSyncMovMag] SET [codMagExtFrom]=N'6', [codMagExtTo]=N'6' WHERE [CodCS]=N'TK' AND [CodStatoFrom]=N'MP' AND [CodStatoTo]=N'MP' AND [IdxPosizioneFrom]=6 AND [IdxPosizioneTo]=-6 +UPDATE [dbo].[TabSyncMovMag] SET [codMagExtFrom]=N'0' WHERE [CodCS]=N'TK' AND [CodStatoFrom]=N'NEW' AND [CodStatoTo]=N'Anim' AND [IdxPosizioneFrom]=0 AND [IdxPosizioneTo]=2 +UPDATE [dbo].[TabSyncMovMag] SET [codMagExtFrom]=N'0' WHERE [CodCS]=N'TK' AND [CodStatoFrom]=N'NEW' AND [CodStatoTo]=N'AnimExt' AND [IdxPosizioneFrom]=0 AND [IdxPosizioneTo]=2 +UPDATE [dbo].[TabSyncMovMag] SET [codMagExtFrom]=N'0', [codMagExtTo]=N'0' WHERE [CodCS]=N'TK' AND [CodStatoFrom]=N'NEW' AND [CodStatoTo]=N'AnimExt' AND [IdxPosizioneFrom]=0 AND [IdxPosizioneTo]=2222 +UPDATE [dbo].[TabSyncMovMag] SET [codMagExtFrom]=N'0' WHERE [CodCS]=N'TK' AND [CodStatoFrom]=N'NEW' AND [CodStatoTo]=N'MP' AND [IdxPosizioneFrom]=0 AND [IdxPosizioneTo]=6 + +-- Update 1 row in [dbo].[Soggetti2Utente] +UPDATE [dbo].[Soggetti2Utente] SET [DOMINIO]='VOSTRO410' WHERE [CodSoggetto]=N'O9900000000000005' AND [USER_NAME]=N'Administrator' + +-- Add 1 row to [dbo].[ElencoPostazioni] +INSERT INTO [dbo].[ElencoPostazioni] ([codPostazione], [stampante]) VALUES (N'WIN7-VM1', N'\\vostro410\PDFCreator') + +-- Add 7 rows to [dbo].[TabSyncMovMag] +INSERT INTO [dbo].[TabSyncMovMag] ([CodCS], [CodStatoFrom], [CodStatoTo], [IdxPosizioneFrom], [IdxPosizioneTo], [toExt], [codMagExtFrom], [codMagExtTo], [codMagExtComp], [note]) VALUES (N'TK', N'Anim', N'Anim', 2, 300, 0, N'0', N'0', N'0', N'') +INSERT INTO [dbo].[TabSyncMovMag] ([CodCS], [CodStatoFrom], [CodStatoTo], [IdxPosizioneFrom], [IdxPosizioneTo], [toExt], [codMagExtFrom], [codMagExtTo], [codMagExtComp], [note]) VALUES (N'TK', N'AnimExt', N'AnimExt', 2, 300, 0, N'0', N'0', N'0', N'') +INSERT INTO [dbo].[TabSyncMovMag] ([CodCS], [CodStatoFrom], [CodStatoTo], [IdxPosizioneFrom], [IdxPosizioneTo], [toExt], [codMagExtFrom], [codMagExtTo], [codMagExtComp], [note]) VALUES (N'TK', N'AnimExt', N'AnimExt', 300, 2, 0, N'0', N'0', N'0', N'') +INSERT INTO [dbo].[TabSyncMovMag] ([CodCS], [CodStatoFrom], [CodStatoTo], [IdxPosizioneFrom], [IdxPosizioneTo], [toExt], [codMagExtFrom], [codMagExtTo], [codMagExtComp], [note]) VALUES (N'TK', N'MP', N'DEL', 6, 0, 0, N'6', N'0', NULL, N'CANCELLO UDC MP') +INSERT INTO [dbo].[TabSyncMovMag] ([CodCS], [CodStatoFrom], [CodStatoTo], [IdxPosizioneFrom], [IdxPosizioneTo], [toExt], [codMagExtFrom], [codMagExtTo], [codMagExtComp], [note]) VALUES (N'TK', N'MP', N'MP-NA', 6, 6, 0, N'6', N'6', NULL, N'CAMBIO Stato MP a MP non Accettata') +INSERT INTO [dbo].[TabSyncMovMag] ([CodCS], [CodStatoFrom], [CodStatoTo], [IdxPosizioneFrom], [IdxPosizioneTo], [toExt], [codMagExtFrom], [codMagExtTo], [codMagExtComp], [note]) VALUES (N'TK', N'MP-NA', N'MP', 6, 6, 0, N'6', N'6', NULL, N'CAMBIO Stato MP non Accettata a MP accettata') +INSERT INTO [dbo].[TabSyncMovMag] ([CodCS], [CodStatoFrom], [CodStatoTo], [IdxPosizioneFrom], [IdxPosizioneTo], [toExt], [codMagExtFrom], [codMagExtTo], [codMagExtComp], [note]) VALUES (N'TK', N'MP-NA', N'MP-NA', 6, 6, 0, N'6', N'6', NULL, N'MODIFICA Quantità') + +-- Add constraints to [dbo].[Soggetti2Utente] +ALTER TABLE [dbo].[Soggetti2Utente] WITH NOCHECK ADD CONSTRAINT [FK_Soggetti2Utente_AnagOperatori] FOREIGN KEY ([CodSoggetto]) REFERENCES [RilPro].[AnagOperatori] ([CodSoggetto]) ON UPDATE CASCADE +COMMIT TRANSACTION +GO diff --git a/GMW_data/SqlScripts/V2.0/GMW_00452_dati_3.sql b/GMW_data/SqlScripts/V2.0/GMW_00452_dati_3.sql new file mode 100644 index 00000000..454fe99e --- /dev/null +++ b/GMW_data/SqlScripts/V2.0/GMW_00452_dati_3.sql @@ -0,0 +1,10 @@ +INSERT dbo.AnagTipoEvento +SELECT 'OLD_EVEN' , 'Cartellini Vecchi con Eventi non ancora gestiti' + +UPDATE dbo.ElencoCartellini +SET CodEvento = 'OLD_EVEN' +WHERE UDC <> 'EmptyGBox' AND CodEvento IS NULL + +UPDATE dbo.StoricoCartellini +SET CodEvento = 'OLD_EVEN' +WHERE CodEvento IS NULL diff --git a/GMW_data/SqlScripts/V2.0/GMW_00452_stored.sql b/GMW_data/SqlScripts/V2.0/GMW_00452_stored.sql new file mode 100644 index 00000000..b1f9802e --- /dev/null +++ b/GMW_data/SqlScripts/V2.0/GMW_00452_stored.sql @@ -0,0 +1,685 @@ +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/***************************************** +* STORED stp_UDC_updateNoteByRQ +* +* Aggiorna note UDC dato il rapp di qualità cui sono legate +* +* Steamware, S.E.L. +* mod: 2012.02.14 +* +****************************************/ +alter PROCEDURE stp_UDC_updateNoteByRQ +( + @nRapQual NUMERIC(6,0), + @note NVARCHAR(500) +) +AS + +UPDATE ElencoCartellini +SET note = @note + ,ModDate=GETDATE(), + CodEvento = 'UDC_RDQ' +FROM ElencoCartellini AS ec INNER JOIN v_RapQualNote AS rq ON ec.UDC = rq.UDC +WHERE (rq.nRapQual = @nRapQual) AND ec.note <> @note + +RETURN +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_scaricaUdc +* +* elimina dalle posizioni correnti un UDC, salvandone la posizione precedente nella tab storica (per scaricamento / spedizione) +* +* Steamware, S.E.L. +* mod: 2010.09.28 +* +****************************************/ +alter PROCEDURE stp_scaricaUdc +( + @UDC VARCHAR(50), + @IdxPosizione INT, + @CodEvento VARCHAR(10) +) +AS + +BEGIN TRAN + -- libero la posizione attuale dell'UDC (se c'è...) + DELETE + FROM PosizioneUdcCorrente + WHERE UDC = @UDC + + -- aggiorno l'UDC come posizione finale... + UPDATE ElencoCartellini + SET IdxPosizione = @IdxPosizione, ModDate = GETDATE(), CodEvento = @CodEvento + WHERE UDC = @UDC + +COMMIT TRAN + +RETURN +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/***************************************** +* STORED stp_EDM_spostaDataMtx +* +* Sposta un datamatrix in un nuovo gitterbox +* +* Steamware, S.E.L. +* mod: 2011.05.05 +* +****************************************/ +alter PROCEDURE stp_EDM_spostaDataMtx +( + @CodDataMatrix NUMERIC(23), + @CodGitterbox NVARCHAR(10), + @CodSoggetto VARCHAR(17) +) +AS + +DECLARE @CodEvento VARCHAR(10) +SET @CodEvento = 'SpostaDMtx' + +-- salvo codice gitterbox di partenza +DECLARE @CodGitterboxFrom AS NVARCHAR(10) +SET @CodGitterboxFrom = ( SELECT CodGitterbox FROM ElencoDataMatrix WHERE CodDataMatrix = @CodDataMatrix ) + +UPDATE ElencoDataMatrix +SET CodGitterbox = @CodGitterbox +WHERE CodDataMatrix = @CodDataMatrix + +-- aggiorno valori QTA gitterbox di partenza... +UPDATE ElencoCartellini +SET Qta = ( SELECT COUNT(*) FROM ElencoDataMatrix WHERE CodGitterbox = @CodGitterboxFrom ) + ,ModDate=GETDATE() + ,CodEvento = @CodEvento + ,CodSoggetto = @CodSoggetto +WHERE UDC = @CodGitterboxFrom +-- aggiorno valoti QTA gitterbox destinazione e modificatore... +UPDATE ElencoCartellini +SET Qta = ( SELECT COUNT(*) FROM ElencoDataMatrix WHERE CodGitterbox = @CodGitterbox ) + ,ModDate=GETDATE() + ,CodEvento = @CodEvento + ,CodSoggetto = @CodSoggetto +WHERE UDC = @CodGitterbox + +-- aggiorno righe liste di prelievo... +UPDATE RigheListePrelievo +SET Qta = ( SELECT COUNT(*) FROM ElencoDataMatrix WHERE CodGitterbox = @CodGitterboxFrom ) +WHERE UDC = @CodGitterboxFrom +-- aggiorno valoti QTA gitterbox destinazione... +UPDATE RigheListePrelievo +SET Qta = ( SELECT COUNT(*) FROM ElencoDataMatrix WHERE CodGitterbox = @CodGitterbox ) +WHERE UDC = @CodGitterbox + +-- select finale! +SELECT * +FROM ElencoDataMatrix +WHERE CodDataMatrix = @CodDataMatrix + +RETURN +go + +/***************************************** +* STORED stp_EDM_svuotaGitterbox +* +* Elimina il codice gitterbox dai datamatrix associati (svuotandolo...) +* +* Steamware, S.E.L. +* mod: 2011.05.06 +* +****************************************/ +alter PROCEDURE stp_EDM_svuotaGitterbox +( + @CodGitterbox NVARCHAR(10), + @CodSoggetto VARCHAR(17) +) +AS + +DECLARE @CodEvento VARCHAR(10) +SET @CodEvento = 'SvuotaGbox' + +UPDATE ElencoDataMatrix +SET CodGitterbox = 'EmptyGBox' +WHERE CodGitterbox = @CodGitterbox + +-- aggiorno valoti QTA gitterbox originale... +UPDATE ElencoCartellini +SET Qta = ( SELECT COUNT(*) FROM ElencoDataMatrix WHERE CodGitterbox = @CodGitterbox ) + ,ModDate=GETDATE() + ,CodEvento = @CodEvento + ,CodSoggetto = @CodSoggetto +WHERE UDC = @CodGitterbox +-- aggiorno valoti QTA gitterbox 'EmptyGBox +UPDATE ElencoCartellini +SET Qta = ( SELECT COUNT(*) FROM ElencoDataMatrix WHERE CodGitterbox = 'EmptyGBox' ) + ,ModDate = GETDATE() + ,CodEvento = @CodEvento + ,CodSoggetto = @CodSoggetto +WHERE UDC = 'EmptyGBox' + +-- aggiorno righe liste di prelievo... +UPDATE RigheListePrelievo +SET Qta = ( SELECT COUNT(*) FROM ElencoDataMatrix WHERE CodGitterbox = @CodGitterbox ) +WHERE UDC = @CodGitterbox + + + +RETURN +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_processaSpedizTerz +* +* effettua la spedizione verso i terzisti, se deliberati è ok così, se non deliberati restano in posizione 305 da deliberare +* +* Steamware, S.E.L. +* mod: 2012.05.30 +* +****************************************/ +alter PROCEDURE stp_processaSpedizTerz +( + @CodSoggetto NVARCHAR(17) +) +AS + +-- UDC x cursore +DECLARE @UDC NVARCHAR(50) -- UDC SQL +-- evento da usare +DECLARE @CodEvento AS NVARCHAR(10) +SET @CodEvento = 'SpeWipTerz' + + + -- Dichiaro e carico il cursore + DECLARE Udc4Ter CURSOR LOCAL FOR + SELECT UDC FROM ElencoCartellini WHERE IdxPosizione IN (SELECT IdxPosizione FROM TabTranPosizEventi WHERE CodEvento = @CodEvento) + + OPEN Udc4Ter + FETCH NEXT FROM Udc4Ter + INTO @UDC + + WHILE @@FETCH_STATUS = 0 + BEGIN + -- processo gli UDC... + UPDATE ElencoCartellini + SET IdxPosizione = ttpe.IdxPosizioneTo + ,ModDate=GETDATE() + ,CodEvento = @CodEvento + ,CodSoggetto = @CodSoggetto + FROM ElencoCartellini ec INNER JOIN TabTranPosizEventi ttpe ON ec.IdxPosizione=ttpe.IdxPosizione + WHERE ec.UDC = @UDC AND ttpe.CodEvento = @CodEvento + + FETCH NEXT FROM Udc4Ter INTO @UDC + END + CLOSE Udc4Ter + DEALLOCATE Udc4Ter + +RETURN +go + +/*************************************** +* STORED stp_riattivaUdc +* +* riattiva un dato UDC (da mag consumato negativo a corrispettivo positivo) --> se era positivo NON FA NULLA!!! (perchè uso ABS e controllo sia < 0) +* +* Steamware, S.E.L. +* mod: 2012.05.30 +* +****************************************/ +alter PROCEDURE stp_riattivaUdc +( + @UDC VARCHAR(50), + @CodSoggetto NVARCHAR(17) +) +AS + +DECLARE @CodEvento VARCHAR(10) +DECLARE @CodTipoDichiaraz VARCHAR(1) +DECLARE @IdxCella INT +DECLARE @CodCs NVARCHAR(2) + +SET @CodEvento = 'UDC_RIA' +SET @CodTipoDichiaraz = 'U' + +BEGIN TRAN + + -- faccio update posizione + UPDATE ElencoCartellini + SET IdxPosizione = ABS(IdxPosizione) + ,ModDate=GETDATE() + ,CodEvento = @CodEvento + ,CodSoggetto = @CodSoggetto + WHERE UDC = @UDC AND IdxPosizione IN (SELECT IdxPosizione FROM AnagPosizioni WHERE (IsRiattivaEnabled = 1) +) + + -- lo elimino da eventuali precedenti liste di prelievo sennò poi non potrei + prelevarlo + DELETE FROM RigheListePrelievo + WHERE UDC = @UDC + + -- imposto posizione CELLA corrente x l'udc nella prima libera + SET @IdxCella = (SELECT c.IdxCella FROM Celle c inner join Blocchi b ON c.IdxBlocco=b.IdxBlocco INNER JOIN ElencoCartellini e ON b.CodMag = CAST(e.IdxPosizione AS NVARCHAR(50)) WHERE e.UDC = @UDC) + SET @CodCs = (SELECT CodCs FROM ElencoCartellini WHERE UDC = @UDC) + INSERT INTO PosizioneUdcCorrente + VALUES(@Udc, @IdxCella, @CodCs, GETDATE()) + + +COMMIT TRAN + +RETURN +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_sbloccaUdc +* +* sblocca un dato UDC per modifica +* +* Steamware, S.E.L. +* mod: 2012.05.30 +* +****************************************/ +alter PROCEDURE stp_sbloccaUdc +( + @UDC VARCHAR(50), + @CodSoggetto NVARCHAR(17) +) +AS + +DECLARE @CodEvento VARCHAR(10) +DECLARE @CodTipoDichiaraz VARCHAR(1) + +SET @CodEvento = 'UDC_SBL' +SET @CodTipoDichiaraz = 'U' + +BEGIN TRAN + + -- faccio update + UPDATE ElencoCartellini + SET ModDate = GETDATE() + ,CodEvento = @CodEvento + ,CodSoggetto = @CodSoggetto + WHERE UDC = @UDC + +COMMIT TRAN + +RETURN +go + +/*************************************** +* STORED stp_scaricaUdc +* +* elimina dalle posizioni correnti un UDC, salvandone la posizione precedente nella tab storica (per scaricamento / spedizione) +* +* Steamware, S.E.L. +* mod: 2012.05.30 +* +****************************************/ +alter PROCEDURE stp_scaricaUdc +( + @UDC VARCHAR(50), + @IdxPosizione INT, + @CodEvento VARCHAR(10), + @CodSoggetto NVARCHAR(17) +) +AS + +BEGIN TRAN + -- libero la posizione attuale dell'UDC (se c'è...) + DELETE + FROM PosizioneUdcCorrente + WHERE UDC = @UDC + + -- aggiorno l'UDC come posizione finale... + UPDATE ElencoCartellini + SET IdxPosizione = @IdxPosizione + ,ModDate = GETDATE() + ,CodEvento = @CodEvento + ,CodSoggetto = @CodSoggetto + WHERE UDC = @UDC + +COMMIT TRAN + +RETURN +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_UDC_delibera +* +* fa la delibera dell'UDC andando a processare la state machien e quindi eventualmente cambiando la sua posizione +* +* Steamware, S.E.L. +* mod: 2012.05.30 +* +************************************/ +alter PROCEDURE stp_UDC_delibera +( + @CodTipoDelibera NVARCHAR(50), + @UDC NVARCHAR(50), + @CodEvento VARCHAR(10), + @CodSoggetto NVARCHAR(17), + @CodCS VARCHAR(2) +) + +AS + +BEGIN TRAN + DECLARE @IdxPosizioneTo AS INT + DECLARE @IdxPosizioneFrom AS INT + DECLARE @IdxPosizionePre AS NVARCHAR(50) + DECLARE @IdxCellaPre AS INT + DECLARE @IdxCellaTo AS INT + + -- ricavo cella ATTUALE + SET @IdxCellaPre = (SELECT IdxCella FROM PosizioneUdcCorrente WHERE UDC = @UDC) + + -- ricavo posizione ATTUALE + SET @IdxPosizionePre = (SELECT TOP 1 b.CodMag FROM Celle c INNER JOIN Blocchi b ON c.IdxBlocco=b.IdxBlocco WHERE c.IdxCella = @IdxCellaPre) + + + -- registro delibera + INSERT INTO DELIBERE + VALUES (@CodTipoDelibera, @UDC, GETDATE(), @CodSoggetto) + + -- ricavo nuova posizione + SET @IdxPosizioneTo = (SELECT tt.IdxPosizioneTo + FROM TabTranPosizEventi tt INNER JOIN AnagTipoDelibere atd ON tt.CodEvento = atd.CodEvento + WHERE (atd.CodTipoDelibera = @CodTipoDelibera)) + + -- ricavo posizione TEORICA VECCHIA + SET @IdxPosizioneFrom = (SELECT tt.IdxPosizione + FROM TabTranPosizEventi tt INNER JOIN AnagTipoDelibere atd ON tt.CodEvento = atd.CodEvento + WHERE (atd.CodTipoDelibera = @CodTipoDelibera)) + + -- calcolo la prima cella della nuova posizione... + SET @IdxCellaTo = ( + SELECT TOP 1 IdxCella FROM Celle + WHERE IdxBlocco = ( + SELECT IdxBlocco FROM Blocchi + WHERE CodMag=CAST(@IdxPosizioneTo AS NVARCHAR(50))) + ) + + -- faccio update posizione + UPDATE ElencoCartellini + SET IdxPosizione = @IdxPosizioneTo + ,ModDate = GETDATE() + ,CodEvento = @CodEvento + ,CodSoggetto = @CodSoggetto + WHERE UDC = @UDC + + -- controllo posizioni actual e from teorica: SE e SOLO SE corrispondono faccio spostamento... + IF(CAST(@IdxPosizioneFrom AS NVARCHAR(50)) = @IdxPosizionePre) + BEGIN + -- ora cambio anche la posizione corrente dell'UDC (e tramite trigger storicizza...) + EXEC stp_spostaUdc @CodCS, @UDC, @IdxCellaTo, 0 + END + +COMMIT TRAN + + +RETURN +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_UDC_updateIdxPosizione +* +* aggiorna un cartellino x la sua posizione logica +* +* Steamware, S.E.L. +* mod: 2012.05.30 +* +****************************************/ +alter PROCEDURE stp_UDC_updateIdxPosizione +( + @UDC VARCHAR(50), + @IdxPosizione INT, + @CodSoggetto NVARCHAR(17) +) +AS + + +------------------------------------------------------------------------------------------------------ +-- Ciclo principale x edit record +------------------------------------------------------------------------------------------------------ +BEGIN TRAN + + -- modifico il record + UPDATE ElencoCartellini + SET IdxPosizione = @IdxPosizione + ,ModDate = GETDATE() + ,CodEvento='UDC_MOV' + ,CodSoggetto = @CodSoggetto + WHERE UDC = @UDC + +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- restituisco la tab dati con l'udc appena inserito +------------------------------------------------------------------------------------------------------ +SELECT * +FROM ElencoCartellini +WHERE UDC = @UDC +------------------------------------------------------------------------------------------------------ + +RETURN +go + +commit +go + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/***************************************** +* STORED stp_UDC_updateNoteByRQ +* +* Aggiorna note UDC dato il rapp di qualità cui sono legate +* +* Steamware, S.E.L. +* mod: 2012.02.14 +* +****************************************/ +alter PROCEDURE stp_UDC_updateNoteByRQ +( + @nRapQual NUMERIC(6,0), + @note NVARCHAR(500), + @CodSoggetto NVARCHAR(17) +) +AS + +UPDATE ElencoCartellini +SET note = @note + ,ModDate = GETDATE() + ,CodEvento = 'UDC_RDQ' + ,CodSoggetto = @CodSoggetto +FROM ElencoCartellini AS ec INNER JOIN v_RapQualNote AS rq ON ec.UDC = rq.UDC +WHERE (rq.nRapQual = @nRapQual) AND ec.note <> @note + +RETURN +go + +/*************************************** +* STORED stp_UDC_updateQty +* +* update qta UDC +* +* Steamware, S.E.L. +* mod: 2012.05.30 +* +****************************************/ +alter PROCEDURE stp_UDC_updateQty +( + @UDC VARCHAR(50), + @CodSoggetto VARCHAR(17), + @CodTipoDichiaraz CHAR(1), + @CodEvento VARCHAR(10), + @Qta DECIMAL(10,2) +) +AS + + +------------------------------------------------------------------------------------------------------ +-- Ciclo principale x edit record +------------------------------------------------------------------------------------------------------ +BEGIN TRAN + + -- modifico il record + UPDATE ElencoCartellini + SET Qta = @Qta + ,ModDate = GETDATE() + ,CodEvento = @CodEvento + ,CodSoggetto = @CodSoggetto + WHERE UDC = @UDC + +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- restituisco la tab dati con l'udc appena inserito +------------------------------------------------------------------------------------------------------ +SELECT * +FROM ElencoCartellini +WHERE UDC = @UDC +------------------------------------------------------------------------------------------------------ + +RETURN +go + +commit +go + + + +set xact_abort on +go + +begin transaction +go + +set ANSI_NULLS on +go + +/*************************************** +* STORED stp_ATD_getByKey +* +* recupera Tipo Delibera da chiave +* +* Steamware, S.E.L. +* mod: 2012.05.30 +* +************************************/ +create PROCEDURE stp_ATD_getByKey +( + @CodTipoDelibera NVARCHAR(50) +) +AS + +SELECT * +FROM AnagTipoDelibere +WHERE CodTipoDelibera = @CodTipoDelibera + +RETURN +go + +commit +go + + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(452, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V2.0/GMW_00460.sql b/GMW_data/SqlScripts/V2.0/GMW_00460.sql new file mode 100644 index 00000000..d348b917 --- /dev/null +++ b/GMW_data/SqlScripts/V2.0/GMW_00460.sql @@ -0,0 +1,281 @@ +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) + SET @IdxCellaFrom = ISNULL(@IdxCellaFrom,0) -- controllo x cella null... + -- controllo se cella di destinazione e di partenza coincidono NON FACCIO NULLA... altrimenti procedo + IF (@IdxCellaTo <> @IdxCellaFrom) + BEGIN + + -- controllo se la cella di partenza vada indicata come piena o meno + 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 cella di partenza NON raggiunta aggiorno NON Piena + 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()) + + SET @numUdc = (SELECT COUNT(*) FROM PosizioneUdcCorrente WHERE IdxCella = @IdxCellaTo) + + -- controllo se la cella di dest vada indicata come piena, altrimenti NON la indicherò (mai) come piena... + SET @capienza = ( + SELECT CASE CheckPiena WHEN 1 THEN tc.Capienza ELSE @numUdc + 1 END + FROM TipoCella TC INNER JOIN Celle c ON TC.IdxTipoCella=c.IdxTipoCella + WHERE c.IdxCella = @IdxCellaTo + ) + + + -- se capienza raggiunta aggiorno... + IF(@numUdc >= @capienza) + BEGIN + EXEC stp_celle_updPiena @IdxCellaTo, 1 + END + + END -- cellaFrom e cellaTo non coincidono... + +COMMIT TRAN + +RETURN +go + +commit; +go + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +alter VIEW v_righeListePrelievoPosizione +AS +SELECT dbo.RigheListePrelievo.CodLista, dbo.RigheListePrelievo.UDC, dbo.RigheListePrelievo.Qta, dbo.RigheListePrelievo.Proposto, dbo.RigheListePrelievo.Prelevato, + ISNULL(dbo.Celle.CodCella, N'') AS CodCella, ISNULL(dbo.Blocchi.CodMag, N'') AS CodMag, ISNULL(dbo.Blocchi.CodBlocco, N'') AS CodBlocco, ISNULL(dbo.Celle.X, + 0) AS X, ISNULL(dbo.Celle.Y, 0) AS Y, ISNULL(dbo.Celle.Z, 0) AS Z +FROM dbo.Celle INNER JOIN + dbo.PosizioneUdcCorrente ON dbo.Celle.IdxCella = dbo.PosizioneUdcCorrente.IdxCella INNER JOIN + dbo.Blocchi ON dbo.Celle.IdxBlocco = dbo.Blocchi.IdxBlocco RIGHT OUTER JOIN + dbo.RigheListePrelievo ON dbo.PosizioneUdcCorrente.UDC = dbo.RigheListePrelievo.UDC +go + +exec sp_updateextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] +Begin DesignProperties = + Begin PaneConfigurations = + Begin PaneConfiguration = 0 + NumPanes = 4 + Configuration = "(H (1[40] 4[20] 2[20] 3) )" + End + Begin PaneConfiguration = 1 + NumPanes = 3 + Configuration = "(H (1 [50] 4 [25] 3))" + End + Begin PaneConfiguration = 2 + NumPanes = 3 + Configuration = "(H (1 [50] 2 [25] 3))" + End + Begin PaneConfiguration = 3 + NumPanes = 3 + Configuration = "(H (4 [30] 2 [40] 3))" + End + Begin PaneConfiguration = 4 + NumPanes = 2 + Configuration = "(H (1 [56] 3))" + End + Begin PaneConfiguration = 5 + NumPanes = 2 + Configuration = "(H (2 [66] 3))" + End + Begin PaneConfiguration = 6 + NumPanes = 2 + Configuration = "(H (4 [50] 3))" + End + Begin PaneConfiguration = 7 + NumPanes = 1 + Configuration = "(V (3))" + End + Begin PaneConfiguration = 8 + NumPanes = 3 + Configuration = "(H (1[56] 4[18] 2) )" + End + Begin PaneConfiguration = 9 + NumPanes = 2 + Configuration = "(H (1 [75] 4))" + End + Begin PaneConfiguration = 10 + NumPanes = 2 + Configuration = "(H (1[66] 2) )" + End + Begin PaneConfiguration = 11 + NumPanes = 2 + Configuration = "(H (4 [60] 2))" + End + Begin PaneConfiguration = 12 + NumPanes = 1 + Configuration = "(H (1) )" + End + Begin PaneConfiguration = 13 + NumPanes = 1 + Configuration = "(V (4))" + End + Begin PaneConfiguration = 14 + NumPanes = 1 + Configuration = "(V (2))" + End + ActivePaneConfig = 0 + End + Begin DiagramPane = + Begin Origin = + Top = 0 + Left = 0 + End + Begin Tables = + Begin Table = "Celle" + Begin Extent = + Top = 6 + Left = 621 + Bottom = 235 + Right = 791 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "PosizioneUdcCorrente" + Begin Extent = + Top = 18 + Left = 377 + Bottom = 183 + Right = 547 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "Blocchi" + Begin Extent = + Top = 5 + Left = 870 + Bottom = 134 + Right = 1040 + End + DisplayFlags = 280 + TopColumn = 0 + End + Begin Table = "RigheListePrelievo" + Begin Extent = + Top = 6 + Left = 38 + Bottom = 188 + Right = 208 + End + DisplayFlags = 280 + TopColumn = 0 + End + End + End + Begin SQLPane = + End + Begin DataPane = + Begin ParameterDefaults = "" + End + Begin ColumnWidths = 13 + Width = 284 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + Width = 1500 + End + End + Begin CriteriaPane = + Begin ColumnWidths = 11 + Column = 1440 + Alias = 900 + Table = 1170 + Output = 720 + Append = 1400 + NewValue = 1170 + SortType = 1350 + SortOrder = 1410 + ', 'SCHEMA', 'dbo', 'VIEW', 'v_righeListePrelievoPosizione'; +go + +commit; +go + + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(460, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V2.0/GMW_00461.sql b/GMW_data/SqlScripts/V2.0/GMW_00461.sql new file mode 100644 index 00000000..3b2fd99a --- /dev/null +++ b/GMW_data/SqlScripts/V2.0/GMW_00461.sql @@ -0,0 +1,149 @@ +/* Modificate 2 viste (tolto order by e top) ed una stored (x controllare ed IMPEDIRE spostamenti UDC che facciano aprte di LDP in stato 4 = scaricate */ +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +alter VIEW V_elencoListePrelievo +AS +SELECT dbo.ElencoListePrelievo.CodLista, dbo.ElencoListePrelievo.CodTipoLista, dbo.ElencoListePrelievo.CodCS, dbo.ElencoListePrelievo.DataCreaz, + dbo.ElencoListePrelievo.CodCliente, dbo.ElencoListePrelievo.RagSociale, dbo.ElencoListePrelievo.CodSoggetto, dbo.ElencoListePrelievo.Particolare, + dbo.ElencoListePrelievo.DescParticolare, dbo.ElencoListePrelievo.DisegnoGrezzo, dbo.ElencoListePrelievo.Esponente, dbo.ElencoListePrelievo.Figura, + dbo.ElencoListePrelievo.CodImballo, dbo.ElencoListePrelievo.QtaTot, dbo.ElencoListePrelievo.CodStatoLista, ISNULL(dbo.v_righePrelevate.TotQta, 0) AS Prelevato, + dbo.ElencoListePrelievo.Destinatario, ISNULL(dbo.ElencoListePrelievo.DestinatarioDescrizione, N'nd') AS DestinatarioDescrizione +FROM dbo.ElencoListePrelievo LEFT OUTER JOIN + dbo.v_righePrelevate ON dbo.ElencoListePrelievo.CodLista = dbo.v_righePrelevate.CodLista +go + +commit; +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 + DECLARE @udcInLdpPrel BIT + + -- controllo cella di partenza + SET @IdxCellaFrom = (SELECT IdxCella FROM PosizioneUdcCorrente WHERE UDC = @UDC) + SET @IdxCellaFrom = ISNULL(@IdxCellaFrom,0) -- controllo x cella null... + + -- controllo UDC, se faccia aprte di LDP già prelevata... + SET @udcInLdpPrel = ( SELECT ISNULL(COUNT(rldp.UDC),0) + FROM RigheListePrelievo rldp INNER JOIN ElencoListePrelievo ldp + ON ldp.CodLista=rldp.CodLista + WHERE ldp.CodStatoLista = 4 + AND rldp.UDC=@UDC ) + -- controllo se cella di destinazione e di partenza coincidono NON FACCIO NULLA... altrimenti procedo + IF (@IdxCellaTo <> @IdxCellaFrom) + BEGIN + -- controllo UDC "libero" da LDP (ovvero non faccia aprte di LDP già scaricata, nel qual caso NON sposto) + IF (@udcInLdpPrel = 0) + -- tutto ok PROCEDO! + BEGIN + + -- controllo se la cella di partenza vada indicata come piena o meno + 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 cella di partenza NON raggiunta aggiorno NON Piena + 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()) + + SET @numUdc = (SELECT COUNT(*) FROM PosizioneUdcCorrente WHERE IdxCella = @IdxCellaTo) + + -- controllo se la cella di dest vada indicata come piena, altrimenti NON la indicherò (mai) come piena... + SET @capienza = ( + SELECT CASE CheckPiena WHEN 1 THEN tc.Capienza ELSE @numUdc + 1 END + FROM TipoCella TC INNER JOIN Celle c ON TC.IdxTipoCella=c.IdxTipoCella + WHERE c.IdxCella = @IdxCellaTo + ) + + + -- se capienza raggiunta aggiorno... + IF(@numUdc >= @capienza) + BEGIN + EXEC stp_celle_updPiena @IdxCellaTo, 1 + END + + END -- cellaFrom e cellaTo non coincidono... + END -- UDC NON appartiene a LDP già prelevate... + +COMMIT TRAN + +RETURN +go + +commit; +go + + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(461, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V2.0/GMW_00462.sql b/GMW_data/SqlScripts/V2.0/GMW_00462.sql new file mode 100644 index 00000000..f00a4687 --- /dev/null +++ b/GMW_data/SqlScripts/V2.0/GMW_00462.sql @@ -0,0 +1,233 @@ +/* +Modifica di tab conf x definire se si possano spostare o modificare qta degli UDC in liste di prelievo secondo lo stato di queste LDP +*/ + +alter table AnagStatiListe add + canMovUDC bit, + canQtaUDC bit; +go + +set xact_abort on +go + +begin transaction +go + +UPDATE dbo.AnagStatiListe SET + canMovUDC=1, canQtaUDC=1 + WHERE CodStatoLista=0 +UPDATE dbo.AnagStatiListe SET + canMovUDC=1, canQtaUDC=1 + WHERE CodStatoLista=1 +UPDATE dbo.AnagStatiListe SET + canMovUDC=1, canQtaUDC=1 + WHERE CodStatoLista=2 +UPDATE dbo.AnagStatiListe SET + canMovUDC=1, canQtaUDC=1 + WHERE CodStatoLista=3 +UPDATE dbo.AnagStatiListe SET + canMovUDC=0, canQtaUDC=0 + WHERE CodStatoLista=4 +go + +commit transaction +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 + DECLARE @udcInLdpPrel BIT + + -- controllo cella di partenza + SET @IdxCellaFrom = (SELECT IdxCella FROM PosizioneUdcCorrente WHERE UDC = @UDC) + SET @IdxCellaFrom = ISNULL(@IdxCellaFrom,0) -- controllo x cella null... + + -- controllo UDC, se faccia parte di LDP che NON permette MOV... + SET @udcInLdpPrel = ( SELECT ISNULL(COUNT(rldp.UDC),0) + FROM RigheListePrelievo rldp INNER JOIN ElencoListePrelievo ldp + ON ldp.CodLista=rldp.CodLista INNER JOIN AnagStatiListe asl + ON ldp.CodStatoLista = asl.CodStatoLista + WHERE asl.canMovUDC = 0 + AND rldp.UDC=@UDC ) + -- controllo se cella di destinazione e di partenza coincidono NON FACCIO NULLA... altrimenti procedo + IF (@IdxCellaTo <> @IdxCellaFrom) + BEGIN + -- controllo UDC "libero" da LDP (ovvero non faccia parte di LDP in uno stato che NON permette MOV, nel qual caso NON sposto) + IF (@udcInLdpPrel = 0) + -- tutto ok PROCEDO! + BEGIN + + -- controllo se la cella di partenza vada indicata come piena o meno + 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 cella di partenza NON raggiunta aggiorno NON Piena + 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()) + + SET @numUdc = (SELECT COUNT(*) FROM PosizioneUdcCorrente WHERE IdxCella = @IdxCellaTo) + + -- controllo se la cella di dest vada indicata come piena, altrimenti NON la indicherò (mai) come piena... + SET @capienza = ( + SELECT CASE CheckPiena WHEN 1 THEN tc.Capienza ELSE @numUdc + 1 END + FROM TipoCella TC INNER JOIN Celle c ON TC.IdxTipoCella=c.IdxTipoCella + WHERE c.IdxCella = @IdxCellaTo + ) + + + -- se capienza raggiunta aggiorno... + IF(@numUdc >= @capienza) + BEGIN + EXEC stp_celle_updPiena @IdxCellaTo, 1 + END + + END -- cellaFrom e cellaTo non coincidono... + END -- UDC NON appartiene a LDP già prelevate... + +COMMIT TRAN + +RETURN +go + +commit; +go + + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/*************************************** +* STORED stp_UDC_updateQty +* +* update qta UDC +* +* Steamware, S.E.L. +* mod: 2012.05.30 +* +****************************************/ +alter PROCEDURE stp_UDC_updateQty +( + @UDC VARCHAR(50), + @CodSoggetto VARCHAR(17), + @CodTipoDichiaraz CHAR(1), + @CodEvento VARCHAR(10), + @Qta DECIMAL(10,2) +) +AS + + +DECLARE @udcInLdpPrel BIT +------------------------------------------------------------------------------------------------------ +-- Ciclo principale x edit record +------------------------------------------------------------------------------------------------------ +BEGIN TRAN + + -- controllo UDC, se faccia parte di LDP che NON permette modifica QTA... + SET @udcInLdpPrel = ( SELECT ISNULL(COUNT(rldp.UDC),0) + FROM RigheListePrelievo rldp INNER JOIN ElencoListePrelievo ldp + ON ldp.CodLista=rldp.CodLista INNER JOIN AnagStatiListe asl + ON ldp.CodStatoLista = asl.CodStatoLista + WHERE asl.canQtaUDC = 0 + AND rldp.UDC=@UDC ) + + -- controllo UDC "libero" da LDP (ovvero non faccia parte di LDP in uno stato che NON permette Modifica QTA, nel qual caso NON sposto) + IF (@udcInLdpPrel = 0) + -- tutto ok PROCEDO! + BEGIN + -- modifico il record + UPDATE ElencoCartellini + SET Qta = @Qta + ,ModDate = GETDATE() + ,CodEvento = @CodEvento + ,CodSoggetto = @CodSoggetto + WHERE UDC = @UDC + END +COMMIT TRAN +------------------------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------------------------ +-- restituisco la tab dati con l'udc appena inserito +------------------------------------------------------------------------------------------------------ +SELECT * +FROM ElencoCartellini +WHERE UDC = @UDC +------------------------------------------------------------------------------------------------------ + +RETURN +go + +commit; +go + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(462, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V2.0/GMW_00463.sql b/GMW_data/SqlScripts/V2.0/GMW_00463.sql new file mode 100644 index 00000000..0da1f7cb --- /dev/null +++ b/GMW_data/SqlScripts/V2.0/GMW_00463.sql @@ -0,0 +1,70 @@ +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/*************************************** +* STORED stp_RLP_getBloccateMovByUdc +* +* ottiene ELENCO RLP bloccati x movimentazione dato UDC +* +* Steamware, S.E.L. +* mod: 2012.07.11 +* +****************************************/ +create PROCEDURE stp_RLP_getBloccateMovByUdc +( + @UDC VARCHAR(50) +) +AS + + SELECT rldp.* + FROM RigheListePrelievo rldp INNER JOIN ElencoListePrelievo ldp + ON ldp.CodLista=rldp.CodLista INNER JOIN AnagStatiListe asl + ON ldp.CodStatoLista = asl.CodStatoLista + WHERE asl.canMovUDC = 0 + AND rldp.UDC=@UDC + +RETURN +go + +/*************************************** +* STORED stp_RLP_getBloccateQtaByUdc +* +* ottiene ELENCO RLP bloccati x rettifica qta dato UDC +* +* Steamware, S.E.L. +* mod: 2012.07.11 +* +****************************************/ +create PROCEDURE stp_RLP_getBloccateQtaByUdc +( + @UDC VARCHAR(50) +) +AS + + SELECT rldp.* + FROM RigheListePrelievo rldp INNER JOIN ElencoListePrelievo ldp + ON ldp.CodLista=rldp.CodLista INNER JOIN AnagStatiListe asl + ON ldp.CodStatoLista = asl.CodStatoLista + WHERE asl.canQtaUDC = 0 + AND rldp.UDC=@UDC + +RETURN +go + +commit; +go + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(463, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V2.0/GMW_00463_SP_test.sql b/GMW_data/SqlScripts/V2.0/GMW_00463_SP_test.sql new file mode 100644 index 00000000..ac942011 --- /dev/null +++ b/GMW_data/SqlScripts/V2.0/GMW_00463_SP_test.sql @@ -0,0 +1,66 @@ +/* riallineamento di SP_test versus TK */ + +-- INDICI!!!! + +set xact_abort on; +go + +begin transaction; +go + +drop index i_dataRap on RilPro.RapQual; +go + +create index i_dataRap on RilPro.RapQual(DataRapQual) + include(BenesQual,CodFor,CodLega,nRapQual,Qta,UDC); +go + +commit; +go + + +set xact_abort on; +go + +begin transaction; +go + +drop index i_idxPosizione on ElencoCartellini; +go + +create index i_idxPosizione on ElencoCartellini(IdxPosizione,CodCS) + include(Particolare); +go + +create index i_CodStato_IdxPosizione on ElencoCartellini(CodStato,IdxPosizione); +go + +commit; +go + + +-- DA VERIFICARE: c'è differenza, ma verificqre se sia giusta conf attuale (toExt=0) o la modifica di eguito commentata (toExt=1), credo sia giusta versione attuale (=0) +/* +set xact_abort on +go + +begin transaction +go + +UPDATE dbo.TabSyncMovMag SET + toExt=1 + WHERE CodCS=N'SP' and CodStatoFrom=N'FinGBox' and CodStatoTo=N'FinGBox' and IdxPosizioneFrom=4 and IdxPosizioneTo=4 +go + +commit transaction +go +*/ + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(463, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/V2.0/GMW_0452_Sistemazione Viste TOP.txt b/GMW_data/SqlScripts/V2.0/GMW_0452_Sistemazione Viste TOP.txt new file mode 100644 index 00000000..8dbfd8c0 --- /dev/null +++ b/GMW_data/SqlScripts/V2.0/GMW_0452_Sistemazione Viste TOP.txt @@ -0,0 +1,304 @@ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +ALTER VIEW [dbo].[v_selMag] +AS +SELECT TOP ( SELECT COUNT(*) * 100 FROM dbo.AnagMag ) + CodMag AS value, DescMag AS label, CodCS AS conditio +FROM dbo.AnagMag +ORDER BY label + +GO + + +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + + +ALTER VIEW [dbo].[v_RapQualSunto] +AS +SELECT TOP ( SELECT COUNT(*) * 100 FROM RilPro.RapQual ) CAST(nRapQual AS NVARCHAR(20)) AS nRapQual, DataRapQual, CodFor, CodLega, SUM(Qta) AS Qta, BenesQual, COUNT(*) AS UdcTot, + COUNT(UDC) AS UdcAssoc, LegaScaric +FROM RilPro.RapQual +GROUP BY nRapQual, DataRapQual, CodFor, CodLega, BenesQual, LegaScaric +ORDER BY nRapQual + +GO + +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + + +ALTER VIEW [dbo].[V_elencoListePrelievo] +AS +SELECT TOP ( SELECT COUNT(*) * 100 FROM dbo.v_righePrelevate ) + dbo.ElencoListePrelievo.CodLista, dbo.ElencoListePrelievo.CodTipoLista, dbo.ElencoListePrelievo.CodCS, dbo.ElencoListePrelievo.DataCreaz, + dbo.ElencoListePrelievo.CodCliente, dbo.ElencoListePrelievo.RagSociale, dbo.ElencoListePrelievo.CodSoggetto, dbo.ElencoListePrelievo.Particolare, + dbo.ElencoListePrelievo.DescParticolare, dbo.ElencoListePrelievo.DisegnoGrezzo, dbo.ElencoListePrelievo.Esponente, dbo.ElencoListePrelievo.Figura, + dbo.ElencoListePrelievo.CodImballo, dbo.ElencoListePrelievo.QtaTot, dbo.ElencoListePrelievo.CodStatoLista, ISNULL(dbo.v_righePrelevate.TotQta, 0) AS Prelevato, + dbo.ElencoListePrelievo.Destinatario, ISNULL(dbo.ElencoListePrelievo.DestinatarioDescrizione, N'nd') AS DestinatarioDescrizione +FROM dbo.ElencoListePrelievo LEFT OUTER JOIN + dbo.v_righePrelevate ON dbo.ElencoListePrelievo.CodLista = dbo.v_righePrelevate.CodLista +ORDER BY dbo.ElencoListePrelievo.DataCreaz DESC + +GO + +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + + + +ALTER VIEW [dbo].[v_selMagLogico] +AS +SELECT DISTINCT TOP ( SELECT COUNT(*) * 100 FROM dbo.ElencoCartellini ) + CAST(ec.IdxPosizione AS NVARCHAR(20)) AS value, 'Mag. ' + CAST(ec.IdxPosizione AS NVARCHAR(20)) AS label, ec.CodCS AS conditio +FROM dbo.ElencoCartellini AS ec INNER JOIN + dbo.AnagMag AS am ON CAST(ec.IdxPosizione AS NVARCHAR(50)) = am.CodMag +WHERE (ec.IdxPosizione > 0) +ORDER BY label + +GO + +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + + +ALTER VIEW [dbo].[V_MagazziniLogiciOverview] +AS +SELECT TOP (SELECT COUNT(*) * 1000 FROM ElencoCartellini) + el.CodCS, anpo.IdxPosizione AS CodMagLogico, anpo.DescPosizione AS DescMagLogico, Blocchi.IdxBlocco, AnagMag.CodMag, + Blocchi.CodBlocco, COUNT(el.UDC) AS CelleOccupate, ISNULL(MIN(PosUdcCorr.DataRif), GETDATE()) AS Oldest, ISNULL(MAX(PosUdcCorr.DataRif), GETDATE()) AS Newest +FROM Celle + INNER JOIN Blocchi + INNER JOIN AnagMag ON Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS ON Celle.IdxBlocco = Blocchi.IdxBlocco + INNER JOIN ElencoCartellini AS el + INNER JOIN PosizioneUdcCorrente AS PosUdcCorr ON el.UDC = PosUdcCorr.UDC + INNER JOIN AnagPosizioni AS anpo ON el.IdxPosizione = anpo.IdxPosizione ON Celle.IdxCella = PosUdcCorr.IdxCella +GROUP BY el.CodCS, anpo.IdxPosizione, anpo.DescPosizione, Blocchi.IdxBlocco, Blocchi.CodBlocco, AnagMag.CodMag +ORDER BY CodMagLogico, Blocchi.CodBlocco + +GO + + +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +ALTER VIEW [dbo].[v_righeListePrelievoPosizione] +AS +SELECT TOP (SELECT COUNT(*) * 1000 FROM dbo.RigheListePrelievo ) + dbo.RigheListePrelievo.CodLista, dbo.RigheListePrelievo.UDC, dbo.RigheListePrelievo.Qta, dbo.RigheListePrelievo.Proposto, + dbo.RigheListePrelievo.Prelevato, ISNULL(dbo.Celle.CodCella, N'') AS CodCella, ISNULL(dbo.Blocchi.CodMag, N'') AS CodMag, ISNULL(dbo.Blocchi.CodBlocco, N'') + AS CodBlocco, ISNULL(dbo.Celle.X, 0) AS X, ISNULL(dbo.Celle.Y, 0) AS Y, ISNULL(dbo.Celle.Z, 0) AS Z +FROM dbo.Celle INNER JOIN + dbo.PosizioneUdcCorrente ON dbo.Celle.IdxCella = dbo.PosizioneUdcCorrente.IdxCella INNER JOIN + dbo.Blocchi ON dbo.Celle.IdxBlocco = dbo.Blocchi.IdxBlocco RIGHT OUTER JOIN + dbo.RigheListePrelievo ON dbo.PosizioneUdcCorrente.UDC = dbo.RigheListePrelievo.UDC +ORDER BY dbo.RigheListePrelievo.CodLista DESC + +GO + + +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +ALTER VIEW [RilPro].[vDatiLineeGiornata] +AS + -- Non tiene conto del Turno ma prende tutti gli stampi della giornata + WITH cteUltStampo + AS ( + SELECT CodStampo + ,InizioValidita + ,ProgFigure + ,FineValidita + ,NumCommessa + ,NumFigure + ,CodCliente + ,CodArticolo + ,Particolare + FROM RilPro.StampoArticolo AS A + WHERE ( GETDATE() BETWEEN InizioValidita AND FineValidita ) + ), + cteEspAttivi + AS ( + SELECT s.CodStampo + ,s.Esponente + ,s.EspAttivo + ,s.DataInserim + ,s.DataValidita + FROM RilPro.StampoEsponente AS s + INNER JOIN ( + SELECT CodStampo + ,MAX(DataValidita) AS DataValidita + FROM RilPro.StampoEsponente + WHERE ( DataValidita <= GETDATE() ) + AND ( EspAttivo = 'S' ) + GROUP BY CodStampo + ) AS s2 + ON s.CodStampo = s2.CodStampo + AND s.DataValidita = s2.DataValidita + ), + cteLineeAttive + AS ( + SELECT CodImpianto + ,CodStampo + ,NumStampate + ,CONVERT(DATETIME, DataInizio) AS DataInizio + ,DataFine + ,TurnoInizio + ,TurnoFine + FROM RilPro.LineaStampi + WHERE ( DataFine = '99991231' ) + ) + SELECT TOP ( SELECT COUNT(*) * 1000 FROM cteLineeAttive ) -- TOP 100 PERCENT non va bene + l.CodImpianto + ,l.CodStampo + ,l.NumStampate + ,l.DataInizio + ,l.TurnoInizio + ,g.InizioValidita + ,g.FineValidita + ,g.NumFigure + ,CAST(g.CodCliente AS varchar(50)) AS CodCliente + ,cl.RagSociale + ,CAST(g.CodArticolo AS varchar(50)) AS CodArticolo + ,g.Particolare + ,pa.DescParticolare + ,pa.DisegnoGrezzo + ,pa.CodFamiglia + ,fa.DescFamiglia + ,fi.Figura + ,es.Esponente + FROM cteLineeAttive AS l + INNER JOIN cteUltStampo AS g + ON l.CodStampo = g.CodStampo + LEFT OUTER JOIN RilPro.StampoFigure AS fi + ON l.CodStampo = fi.CodStampo + LEFT OUTER JOIN cteEspAttivi AS es + ON g.CodStampo = es.CodStampo + LEFT OUTER JOIN RilPro.AnagParticolari AS pa + ON g.Particolare = pa.Particolare + LEFT OUTER JOIN RilPro.AnagFamiglie AS fa + ON pa.CodFamiglia = fa.CodFamiglia + LEFT OUTER JOIN RilPro.AnagClienti AS cl + ON g.CodCliente = cl.CodCliente + ORDER BY l.CodImpianto + +GO + +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +ALTER VIEW [dbo].[v_selPeriodiTrad] +AS +SELECT TOP ( SELECT COUNT(*) * 1000 FROM dbo.AnagPeriodi ) + dbo.AnagPeriodi.codPeriodo AS value, dbo.v_vocabolario.Traduzione AS label, dbo.v_vocabolario.Lingua AS conditio +FROM dbo.AnagPeriodi INNER JOIN + dbo.v_vocabolario ON dbo.AnagPeriodi.lemmaPeriodo = dbo.v_vocabolario.Lemma collate Latin1_General_CI_AS +ORDER BY label + +GO + +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + + +ALTER VIEW [dbo].[V_MagazziniOverview] +AS +SELECT TOP ( SELECT COUNT(*) * 1000 FROM dbo.Blocchi ) + dbo.AnagMag.CodCS, dbo.AnagMag.CodMag, dbo.AnagMag.DescMag, dbo.Blocchi.IdxBlocco, dbo.Blocchi.CodBlocco, dbo.Blocchi.DescBlocco, + dbo.TipoCella.Capienza * dbo.Blocchi.NumX * dbo.Blocchi.NumY * dbo.Blocchi.NumZ AS TotCelle, dbo.TipoCella.Capienza * COUNT(DISTINCT dbo.Celle.IdxCella) + AS CelleAttive, COUNT(dbo.PosizioneUdcCorrente.UDC) AS CelleOccupate, dbo.TipoCella.Capienza * COUNT(DISTINCT dbo.Celle.IdxCella) + - COUNT(dbo.PosizioneUdcCorrente.UDC) AS CelleLibere, ISNULL(MIN(dbo.PosizioneUdcCorrente.DataRif), GETDATE()) AS Oldest, + ISNULL(MAX(dbo.PosizioneUdcCorrente.DataRif), GETDATE()) AS Newest +FROM dbo.TipoCella INNER JOIN + dbo.AnagMag INNER JOIN + dbo.Blocchi ON dbo.AnagMag.CodMag = dbo.Blocchi.CodMag AND dbo.AnagMag.CodCS = dbo.Blocchi.CodCS ON dbo.TipoCella.CodMag = dbo.AnagMag.CodMag AND + dbo.TipoCella.CodCS = dbo.AnagMag.CodCS LEFT OUTER JOIN + dbo.Celle ON dbo.TipoCella.IdxTipoCella = dbo.Celle.IdxTipoCella AND dbo.Blocchi.IdxBlocco = dbo.Celle.IdxBlocco LEFT OUTER JOIN + dbo.PosizioneUdcCorrente ON dbo.Celle.IdxCella = dbo.PosizioneUdcCorrente.IdxCella +WHERE (dbo.Celle.Attiva = 1) +GROUP BY dbo.AnagMag.CodCS, dbo.AnagMag.CodMag, dbo.AnagMag.DescMag, dbo.Blocchi.IdxBlocco, dbo.Blocchi.CodBlocco, dbo.Blocchi.NumX, dbo.Blocchi.NumY, + dbo.Blocchi.NumZ, dbo.TipoCella.Capienza, dbo.Blocchi.DescBlocco +ORDER BY dbo.AnagMag.CodMag, dbo.Blocchi.CodBlocco + +GO + + +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + + + +ALTER VIEW [dbo].[v_specParticolari] +AS +SELECT DISTINCT TOP ( SELECT COUNT(*) FROM dbo.ElencoCartellini ) CodCliente, RagSociale, Particolare, DescParticolare, DisegnoGrezzo, Esponente, CodStampo, Figura +FROM dbo.ElencoCartellini +WHERE (NOT (Particolare IS NULL)) AND (NOT (DisegnoGrezzo IS NULL)) + +GO + + +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +ALTER VIEW [dbo].[V_DettMagPart] +AS +SELECT TOP ( SELECT COUNT(*) * 1000 FROM dbo.ElencoCartellini ) + dbo.AnagMag.CodCS, dbo.AnagMag.CodMag, dbo.AnagMag.DescMag, dbo.Blocchi.IdxBlocco, dbo.Blocchi.CodBlocco, + dbo.ElencoCartellini.Particolare, dbo.ElencoCartellini.Esponente, COUNT(dbo.PosizioneUdcCorrente.UDC) AS NumUDC, + ISNULL(MIN(dbo.PosizioneUdcCorrente.DataRif), GETDATE()) AS Oldest, ISNULL(MAX(dbo.PosizioneUdcCorrente.DataRif), GETDATE()) AS Newest, + SUM(dbo.ElencoCartellini.Qta) AS QtaTotPz, dbo.AnagStatiProdotto.DescStato +FROM dbo.AnagMag INNER JOIN + dbo.Blocchi ON dbo.AnagMag.CodMag = dbo.Blocchi.CodMag AND dbo.AnagMag.CodCS = dbo.Blocchi.CodCS INNER JOIN + dbo.Celle INNER JOIN + dbo.ElencoCartellini INNER JOIN + dbo.PosizioneUdcCorrente ON dbo.ElencoCartellini.UDC = dbo.PosizioneUdcCorrente.UDC ON dbo.Celle.IdxCella = dbo.PosizioneUdcCorrente.IdxCella ON + dbo.Blocchi.IdxBlocco = dbo.Celle.IdxBlocco INNER JOIN + dbo.AnagStatiProdotto ON dbo.ElencoCartellini.CodStato = dbo.AnagStatiProdotto.CodStato +WHERE (dbo.Celle.Attiva = 1) +GROUP BY dbo.AnagMag.CodCS, dbo.AnagMag.CodMag, dbo.AnagMag.DescMag, dbo.Blocchi.IdxBlocco, dbo.Blocchi.CodBlocco, dbo.Blocchi.NumX, dbo.Blocchi.NumY, + dbo.Blocchi.NumZ, dbo.ElencoCartellini.Particolare, dbo.AnagStatiProdotto.DescStato, dbo.ElencoCartellini.Esponente +ORDER BY QtaTotPz DESC + +GO + + + + + + + + diff --git a/GMW_data/SqlScripts/V2.0/GMW_0452_dati_2.sql b/GMW_data/SqlScripts/V2.0/GMW_0452_dati_2.sql new file mode 100644 index 00000000..720a0e35 --- /dev/null +++ b/GMW_data/SqlScripts/V2.0/GMW_0452_dati_2.sql @@ -0,0 +1,84 @@ +/* +Run this script on: + +SRV-PRODTK01.TK_GMWTestSW - This database will be modified + +to synchronize it with: + +T110-WIN2008R2\SQL2008R2.TK_GMWTest + +You are recommended to back up your database before running this script + +Script created by SQL Data Compare version 8.1.0 from Red Gate Software Ltd at 06/06/2012 13.44.03 + +*/ + +SET NUMERIC_ROUNDABORT OFF +GO +SET ANSI_PADDING, ANSI_WARNINGS, CONCAT_NULL_YIELDS_NULL, ARITHABORT, QUOTED_IDENTIFIER, ANSI_NULLS, NOCOUNT ON +GO +SET DATEFORMAT YMD +GO +SET XACT_ABORT ON +GO +SET TRANSACTION ISOLATION LEVEL SERIALIZABLE +GO +BEGIN TRANSACTION +-- Pointer used for text / image updates. This might not be needed, but is declared here just in case +DECLARE @pv binary(16) + +-- Drop constraints from [dbo].[Soggetti2Utente] +ALTER TABLE [dbo].[Soggetti2Utente] DROP CONSTRAINT [FK_Soggetti2Utente_AnagOperatori] + +-- Update 31 rows in [dbo].[TabSyncMovMag] +UPDATE [dbo].[TabSyncMovMag] SET [codMagExtTo]=N'0' WHERE [CodCS]=N'SP' AND [CodStatoFrom]=N'FinGBox' AND [CodStatoTo]=N'DEL' AND [IdxPosizioneFrom]=4 AND [IdxPosizioneTo]=0 +UPDATE [dbo].[TabSyncMovMag] SET [codMagExtFrom]=N'4', [codMagExtTo]=N'4' WHERE [CodCS]=N'SP' AND [CodStatoFrom]=N'FinGBox' AND [CodStatoTo]=N'FinGBox' AND [IdxPosizioneFrom]=-4 AND [IdxPosizioneTo]=4 +UPDATE [dbo].[TabSyncMovMag] SET [codMagExtFrom]=N'4', [codMagExtTo]=N'4' WHERE [CodCS]=N'SP' AND [CodStatoFrom]=N'FinGBox' AND [CodStatoTo]=N'FinGBox' AND [IdxPosizioneFrom]=4 AND [IdxPosizioneTo]=-4 +UPDATE [dbo].[TabSyncMovMag] SET [note]=N'MODIFICHE quantità' WHERE [CodCS]=N'SP' AND [CodStatoFrom]=N'FinGBox' AND [CodStatoTo]=N'FinGBox' AND [IdxPosizioneFrom]=4 AND [IdxPosizioneTo]=4 +UPDATE [dbo].[TabSyncMovMag] SET [codMagExtFrom]=N'4', [codMagExtTo]=N'0' WHERE [CodCS]=N'SP' AND [CodStatoFrom]=N'FinGBox' AND [CodStatoTo]=N'FinGBox' AND [IdxPosizioneFrom]=4 AND [IdxPosizioneTo]=200 +UPDATE [dbo].[TabSyncMovMag] SET [codMagExtFrom]=N'0', [codMagExtTo]=N'4' WHERE [CodCS]=N'SP' AND [CodStatoFrom]=N'FinGBox' AND [CodStatoTo]=N'FinGBox' AND [IdxPosizioneFrom]=200 AND [IdxPosizioneTo]=4 +UPDATE [dbo].[TabSyncMovMag] SET [codMagExtTo]=N'0' WHERE [CodCS]=N'SP' AND [CodStatoFrom]=N'FinLiq' AND [CodStatoTo]=N'DEL' AND [IdxPosizioneFrom]=4 AND [IdxPosizioneTo]=0 +UPDATE [dbo].[TabSyncMovMag] SET [note]=N'MODIFICHE quantità' WHERE [CodCS]=N'SP' AND [CodStatoFrom]=N'FinLiq' AND [CodStatoTo]=N'FinLiq' AND [IdxPosizioneFrom]=4 AND [IdxPosizioneTo]=4 +UPDATE [dbo].[TabSyncMovMag] SET [codMagExtFrom]=N'4', [codMagExtTo]=N'0' WHERE [CodCS]=N'SP' AND [CodStatoFrom]=N'FinLiq' AND [CodStatoTo]=N'FinLiq' AND [IdxPosizioneFrom]=4 AND [IdxPosizioneTo]=200 +UPDATE [dbo].[TabSyncMovMag] SET [codMagExtFrom]=N'0', [codMagExtTo]=N'4' WHERE [CodCS]=N'SP' AND [CodStatoFrom]=N'FinLiq' AND [CodStatoTo]=N'FinLiq' AND [IdxPosizioneFrom]=200 AND [IdxPosizioneTo]=4 +UPDATE [dbo].[TabSyncMovMag] SET [codMagExtFrom]=N'0' WHERE [CodCS]=N'SP' AND [CodStatoFrom]=N'MP' AND [CodStatoTo]=N'MP' AND [IdxPosizioneFrom]=-6 AND [IdxPosizioneTo]=6 +UPDATE [dbo].[TabSyncMovMag] SET [codMagExtTo]=N'0' WHERE [CodCS]=N'SP' AND [CodStatoFrom]=N'MP' AND [CodStatoTo]=N'MP' AND [IdxPosizioneFrom]=6 AND [IdxPosizioneTo]=-6 +UPDATE [dbo].[TabSyncMovMag] SET [codMagExtFrom]=N'0' WHERE [CodCS]=N'SP' AND [CodStatoFrom]=N'NEW' AND [CodStatoTo]=N'FinGBox' AND [IdxPosizioneFrom]=0 AND [IdxPosizioneTo]=4 +UPDATE [dbo].[TabSyncMovMag] SET [codMagExtFrom]=N'0' WHERE [CodCS]=N'SP' AND [CodStatoFrom]=N'NEW' AND [CodStatoTo]=N'FinLiq' AND [IdxPosizioneFrom]=0 AND [IdxPosizioneTo]=4 +UPDATE [dbo].[TabSyncMovMag] SET [codMagExtFrom]=N'0' WHERE [CodCS]=N'SP' AND [CodStatoFrom]=N'NEW' AND [CodStatoTo]=N'MP' AND [IdxPosizioneFrom]=0 AND [IdxPosizioneTo]=6 +UPDATE [dbo].[TabSyncMovMag] SET [codMagExtFrom]=N'-2' WHERE [CodCS]=N'TK' AND [CodStatoFrom]=N'Anim' AND [CodStatoTo]=N'Anim' AND [IdxPosizioneFrom]=-2 AND [IdxPosizioneTo]=2 +UPDATE [dbo].[TabSyncMovMag] SET [codMagExtTo]=N'-2' WHERE [CodCS]=N'TK' AND [CodStatoFrom]=N'Anim' AND [CodStatoTo]=N'Anim' AND [IdxPosizioneFrom]=2 AND [IdxPosizioneTo]=-2 +UPDATE [dbo].[TabSyncMovMag] SET [note]=N'MODIFICHE quantità' WHERE [CodCS]=N'TK' AND [CodStatoFrom]=N'Anim' AND [CodStatoTo]=N'Anim' AND [IdxPosizioneFrom]=2 AND [IdxPosizioneTo]=2 +UPDATE [dbo].[TabSyncMovMag] SET [codMagExtTo]=N'0' WHERE [CodCS]=N'TK' AND [CodStatoFrom]=N'Anim' AND [CodStatoTo]=N'DEL' AND [IdxPosizioneFrom]=2 AND [IdxPosizioneTo]=0 +UPDATE [dbo].[TabSyncMovMag] SET [toExt]=1, [codMagExtFrom]=N'-2' WHERE [CodCS]=N'TK' AND [CodStatoFrom]=N'AnimExt' AND [CodStatoTo]=N'AnimExt' AND [IdxPosizioneFrom]=-2 AND [IdxPosizioneTo]=2 +UPDATE [dbo].[TabSyncMovMag] SET [toExt]=1, [codMagExtTo]=N'-2' WHERE [CodCS]=N'TK' AND [CodStatoFrom]=N'AnimExt' AND [CodStatoTo]=N'AnimExt' AND [IdxPosizioneFrom]=2 AND [IdxPosizioneTo]=-2 +UPDATE [dbo].[TabSyncMovMag] SET [note]=N'MODIFICHE quantità: NO perchè carico da bolla' WHERE [CodCS]=N'TK' AND [CodStatoFrom]=N'AnimExt' AND [CodStatoTo]=N'AnimExt' AND [IdxPosizioneFrom]=2 AND [IdxPosizioneTo]=2 +UPDATE [dbo].[TabSyncMovMag] SET [codMagExtFrom]=N'0', [note]=N'MODIFICO da 2222 a 2 - vecchio giro' WHERE [CodCS]=N'TK' AND [CodStatoFrom]=N'AnimExt' AND [CodStatoTo]=N'AnimExt' AND [IdxPosizioneFrom]=2222 AND [IdxPosizioneTo]=2 +UPDATE [dbo].[TabSyncMovMag] SET [codMagExtFrom]=N'2', [codMagExtTo]=N'0' WHERE [CodCS]=N'TK' AND [CodStatoFrom]=N'AnimExt' AND [CodStatoTo]=N'DEL' AND [IdxPosizioneFrom]=2 AND [IdxPosizioneTo]=0 +UPDATE [dbo].[TabSyncMovMag] SET [codMagExtFrom]=N'0', [codMagExtTo]=N'0' WHERE [CodCS]=N'TK' AND [CodStatoFrom]=N'AnimExt' AND [CodStatoTo]=N'DEL' AND [IdxPosizioneFrom]=2222 AND [IdxPosizioneTo]=0 +UPDATE [dbo].[TabSyncMovMag] SET [codMagExtFrom]=N'0', [codMagExtTo]=N'6', [note]=N'ANNULLO CONSUMO MP NON riporto a sistema ext' WHERE [CodCS]=N'TK' AND [CodStatoFrom]=N'MP' AND [CodStatoTo]=N'MP' AND [IdxPosizioneFrom]=-6 AND [IdxPosizioneTo]=6 +UPDATE [dbo].[TabSyncMovMag] SET [codMagExtFrom]=N'6', [codMagExtTo]=N'6' WHERE [CodCS]=N'TK' AND [CodStatoFrom]=N'MP' AND [CodStatoTo]=N'MP' AND [IdxPosizioneFrom]=6 AND [IdxPosizioneTo]=-6 +UPDATE [dbo].[TabSyncMovMag] SET [codMagExtFrom]=N'0' WHERE [CodCS]=N'TK' AND [CodStatoFrom]=N'NEW' AND [CodStatoTo]=N'Anim' AND [IdxPosizioneFrom]=0 AND [IdxPosizioneTo]=2 +UPDATE [dbo].[TabSyncMovMag] SET [codMagExtFrom]=N'0' WHERE [CodCS]=N'TK' AND [CodStatoFrom]=N'NEW' AND [CodStatoTo]=N'AnimExt' AND [IdxPosizioneFrom]=0 AND [IdxPosizioneTo]=2 +UPDATE [dbo].[TabSyncMovMag] SET [codMagExtFrom]=N'0', [codMagExtTo]=N'0' WHERE [CodCS]=N'TK' AND [CodStatoFrom]=N'NEW' AND [CodStatoTo]=N'AnimExt' AND [IdxPosizioneFrom]=0 AND [IdxPosizioneTo]=2222 +UPDATE [dbo].[TabSyncMovMag] SET [codMagExtFrom]=N'0' WHERE [CodCS]=N'TK' AND [CodStatoFrom]=N'NEW' AND [CodStatoTo]=N'MP' AND [IdxPosizioneFrom]=0 AND [IdxPosizioneTo]=6 + +-- Update 1 row in [dbo].[Soggetti2Utente] +UPDATE [dbo].[Soggetti2Utente] SET [DOMINIO]='VOSTRO410' WHERE [CodSoggetto]=N'O9900000000000005' AND [USER_NAME]=N'Administrator' + +-- Add 1 row to [dbo].[ElencoPostazioni] +INSERT INTO [dbo].[ElencoPostazioni] ([codPostazione], [stampante]) VALUES (N'WIN7-VM1', N'\\vostro410\PDFCreator') + +-- Add 7 rows to [dbo].[TabSyncMovMag] +INSERT INTO [dbo].[TabSyncMovMag] ([CodCS], [CodStatoFrom], [CodStatoTo], [IdxPosizioneFrom], [IdxPosizioneTo], [toExt], [codMagExtFrom], [codMagExtTo], [codMagExtComp], [note]) VALUES (N'TK', N'Anim', N'Anim', 2, 300, 0, N'0', N'0', N'0', N'') +INSERT INTO [dbo].[TabSyncMovMag] ([CodCS], [CodStatoFrom], [CodStatoTo], [IdxPosizioneFrom], [IdxPosizioneTo], [toExt], [codMagExtFrom], [codMagExtTo], [codMagExtComp], [note]) VALUES (N'TK', N'AnimExt', N'AnimExt', 2, 300, 0, N'0', N'0', N'0', N'') +INSERT INTO [dbo].[TabSyncMovMag] ([CodCS], [CodStatoFrom], [CodStatoTo], [IdxPosizioneFrom], [IdxPosizioneTo], [toExt], [codMagExtFrom], [codMagExtTo], [codMagExtComp], [note]) VALUES (N'TK', N'AnimExt', N'AnimExt', 300, 2, 0, N'0', N'0', N'0', N'') +INSERT INTO [dbo].[TabSyncMovMag] ([CodCS], [CodStatoFrom], [CodStatoTo], [IdxPosizioneFrom], [IdxPosizioneTo], [toExt], [codMagExtFrom], [codMagExtTo], [codMagExtComp], [note]) VALUES (N'TK', N'MP', N'DEL', 6, 0, 0, N'6', N'0', NULL, N'CANCELLO UDC MP') +INSERT INTO [dbo].[TabSyncMovMag] ([CodCS], [CodStatoFrom], [CodStatoTo], [IdxPosizioneFrom], [IdxPosizioneTo], [toExt], [codMagExtFrom], [codMagExtTo], [codMagExtComp], [note]) VALUES (N'TK', N'MP', N'MP-NA', 6, 6, 0, N'6', N'6', NULL, N'CAMBIO Stato MP a MP non Accettata') +INSERT INTO [dbo].[TabSyncMovMag] ([CodCS], [CodStatoFrom], [CodStatoTo], [IdxPosizioneFrom], [IdxPosizioneTo], [toExt], [codMagExtFrom], [codMagExtTo], [codMagExtComp], [note]) VALUES (N'TK', N'MP-NA', N'MP', 6, 6, 0, N'6', N'6', NULL, N'CAMBIO Stato MP non Accettata a MP accettata') +INSERT INTO [dbo].[TabSyncMovMag] ([CodCS], [CodStatoFrom], [CodStatoTo], [IdxPosizioneFrom], [IdxPosizioneTo], [toExt], [codMagExtFrom], [codMagExtTo], [codMagExtComp], [note]) VALUES (N'TK', N'MP-NA', N'MP-NA', 6, 6, 0, N'6', N'6', NULL, N'MODIFICA Quantità') + +-- Add constraints to [dbo].[Soggetti2Utente] +ALTER TABLE [dbo].[Soggetti2Utente] WITH NOCHECK ADD CONSTRAINT [FK_Soggetti2Utente_AnagOperatori] FOREIGN KEY ([CodSoggetto]) REFERENCES [RilPro].[AnagOperatori] ([CodSoggetto]) ON UPDATE CASCADE +COMMIT TRANSACTION +GO diff --git a/GMW_data/SqlScripts/V2.0/GMW_0452_dati_3.sql b/GMW_data/SqlScripts/V2.0/GMW_0452_dati_3.sql new file mode 100644 index 00000000..454fe99e --- /dev/null +++ b/GMW_data/SqlScripts/V2.0/GMW_0452_dati_3.sql @@ -0,0 +1,10 @@ +INSERT dbo.AnagTipoEvento +SELECT 'OLD_EVEN' , 'Cartellini Vecchi con Eventi non ancora gestiti' + +UPDATE dbo.ElencoCartellini +SET CodEvento = 'OLD_EVEN' +WHERE UDC <> 'EmptyGBox' AND CodEvento IS NULL + +UPDATE dbo.StoricoCartellini +SET CodEvento = 'OLD_EVEN' +WHERE CodEvento IS NULL diff --git a/GMW_data/SqlScripts/Vocabolario/vocab_000.sql b/GMW_data/SqlScripts/Vocabolario/vocab_000.sql new file mode 100644 index 00000000..cfbdbd17 --- /dev/null +++ b/GMW_data/SqlScripts/Vocabolario/vocab_000.sql @@ -0,0 +1,778 @@ +drop table Vocabolario +go + + +set xact_abort on +go + +begin transaction +go + +create table Vocabolario( + Lingua nvarchar(3) not null, + Lemma nvarchar(50) not null, + Traduzione nvarchar(500) not null, + + constraint PK_Vocabolario primary key(Lingua,Lemma) +) +go + +alter table Vocabolario add + constraint FK_Vocabolario_Lingue foreign key(Lingua) references Lingue(Lingua) on update cascade +go + +create index I_lemma on Vocabolario(Lemma) +go + +commit +go + + + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'#', N'#') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'01-PreFus', N'Lista prelievo pezzi Fusione') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'02-PreCli', N'Lista Prelievo Clienti') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'03-TerWip', N'Lista Prelievo Terzisti - WIP') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'AbilitaRicercaLike', N'Abilita Ricerca "Like"') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'AbilitaRicercaLikeExpl', N'Selezionare per abilitare la ricerca estesa di tipo "Like" anche su parte dei campi') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'AcqPrntUdc', N'Stampa UDC') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'AcqPrntUdcExpl', N'Gestione acquisizione dati da AS400 e stampa UDC') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'Admin', N'Admin Area') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'AnagCelle', N'Anagrafica Celle') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'AnagCelleExpl', N'Gestione Anagrafica Celle ed assegnazioni a magazzini/blocchi') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'AnagMagazzini', N'Anagrafica Magazzini') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'AnagMagazziniExpl', N'Gestione dell''anagrafica dei magazzini') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'AnagraficheBase', N'Base Lists') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'ApriManualeHelp', N'Apri manuale utente') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'attiva', N'attiva') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'AttivaListaPrelievo', N'Attivazione lista selezionata') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'BarcodeInput', N'Input via Barcode') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'BenesQual', N'BenesQual') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'btnBloccaCella', N'Blocca cella') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'btnClose', N'Chiudi') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'btnCompletaCella', N'Cella completa') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'btnConsumaMP', N'Consumo UDC MP') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'btnCreaListaPrelievo', N'Crea Lista di Prelievo') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'btnDelibera', N'Delibera selezionati') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'btnDisponibileCella', N'Cella disponibile') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'btnGo2Mag', N'Vai a magazzino') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'btnListePrelievo', N'Liste di prelievo') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'btnNewLemma', N'Insert new term to translate') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'btnQta', N'Nuova quantità') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'btnReloadDataRQL', N'Ricarica da AS400') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'btnSbloccaCella', N'Sblocca cella') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'btnSearch', N'Cerca') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'btnSelAll', N'Select all visible row') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'btnSposta', N'Sposta') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'btnStatoMag', N'Stato Mag.Fisico') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'Cancel', N'Cancel') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'Capienza', N'capienza') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'cbeBtnDelibera', N'Sei sicuro di voler procedere con al delibera degli UDC selezionati?') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'CelleAttive', N'Num celle attive') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'CelleLibere', N'Num celle Libere') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'CelleLibereOccupate', N'Occupate/Libere') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'CelleOccupate', N'Num celle Occupate') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'CelleTotAtt', N'Tot. / Att.') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'CheckPiena', N'Ver. Piena') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'CodBlocco', N'Cod. blocco') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'CodCella', N'Cod.Cella') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'CodFor', N'CodFornitore') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'CodImballo', N'Cod.Imballo') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'CodLega', N'CodLega') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'CodLista', N'Cod.') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'CodMag', N'Cod.Mag.') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'CodStato', N'CodStato') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'CompletaListaPrelievo', N'Completa Lista di Prelievo') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'confermaAttivaLista', N'Questo renderà attiva la lista selezionata, vuoi procedere?') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'confermaCompletaLista', N'Sei sicuro di voler indicare come completata la Lista di Prelievo corrente?') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'ConfermaConsumoMP', N'Confermi consumo MP per gli UDC indicati?') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'ConfermaCreaCelleMancantiBlocco', N'Sei sicuro di voler procedere a creare le celle mancanti per il blocco?') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'confermaDel', N'Sei sicuro di voler continuare con l''eliminazione del record?') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'confermaIniziaLista', N'Richiesta di presa in carico di lista di prelievo: sicuro di voler procedere?') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'confermaRettificaQta', N'Sei sicuro di voler rettificare la quantità associata?') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'confermaScaricaLista', N'Sicuro di voler procedere e scaricare la lista (anche in AS 400?)') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'confermaSpostamentoUDC', N'Sei sicuro di voler spostare questo UDC nella cella indicata?') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'ConsUDC', N'Scarico MP') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'ConsUDCExpl', N'Gestione dello scarico e del consumo UDC') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'creaCelleMancanti', N'Crea le celle mancanti') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'CreaNuovaListaPrelievo', N'Crea Nuova Lista') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'DataFus', N'Data fusione') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'DataRapQual', N'Data RQ') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'DateRange', N'Intervallo date') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'Delete', N'Delete') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'DescBlocco', N'Descrizione') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'DescImpianto', N'Impianto') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'DescMag', N'Descrizione magazzino') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'DescParticolare', N'Desc. Part.') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'descrizione', N'description') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'DescStato', N'Stato') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'Destinatario', N'Destinatario') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'DettaglioBlocco', N'Dettaglio Blocco') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'DettaglioBloccoExpl', N'Dettaglio stato Blocco Magazzino') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'DisegnoGrezzo', N'Dis.Grezzo') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'Edit', N'Edit') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'ElencoBlocchi', N'Blocchi di celle') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'ElencoListePrelievo', N'Liste di Prelievo') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'ElencoListePrelievoExpl', N'Elenco delle Liste di Prelievo') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'ElencoTipoCelle', N'Tipologie e quantità celle') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'ErroreCellaDestOccupata', N'Errore! cella di destinazione bloccata') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'Esponente', N'Esponente') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'filtraTipoListe', N'Filtra per tipologia') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'finePeriodo', N'fine periodo di riferimento per i dati mostrati') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'GestDelibere', N'Gestione Delibere') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'GestDelibereExpl', N'Gestione Delibere (fusi e spedizione terzisti)') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'GestioneMagazzino', N'Gestione Magazzino') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'GestLaboratorioMP', N'Laboratorio MP') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'GestLaboratorioMPExpl', N'Metodi per gestione UDC Laboratorio MP') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'GMW_Appl', N'GMW') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'GMW_LongWelcome', N'Clicca sulle voci del menù alla sinistra per accedere alle funzionalità abilitate') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'GMW_ShortWelcome', N'Benvenuto in GMW') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'GMW_titleApp', N'GMW') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'GMW_welcomeApp', N'Gestione Magazzino web - GruppoMM') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'IdxBlocco', N'Blocco') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'IdxTipoCella', N'Tipo') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'IniziaListaPrelievo', N'Richiesta di presa in carico di Lista di Prelievo') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'inizioPeriodo', N'inizio periodo di riferimento per i dati mostrati') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'insert', N'insert') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'insertCod4search', N'inserire codice da ricercare') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'insertNewLemma', N'--insertNewLemma--') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'lblAss', N'Assegnate') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'lblAttive', N'Attive') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'lblCerca', N'cerca') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'lblDettImpieghiBlocchi', N'Dettaglio impiego Celle in Blocchi') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'lblInattive', N'Inattive') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'lblNewPos', N'Nuova posizione') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'lblNonAss', N'Non Assegnate') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'lblQta', N'Rettifica quantità') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'lblTotaleImpieghi', N'Impieghi totali celle/blocchi') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'lblTotCapacita', N'Capacità totale') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'lblTotCelleCreate', N'Tot Celle create nei blocchi') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'lblTotCelleDaBlocchi', N'Tot celle nei blocchi') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'lblTotCelleDaTipo', N'Tot celle (da Tipologia)') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'Lemma', N'Term') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'Lingua', N'Language') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'lnkShowHide', N'Show/Hide Menu') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'LogOut', N'LogOut') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'MagLog', N'Mag.Logico') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'MagSearch', N'Ricerca avanzata') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'MagSearchExpl', N'Ricerca avanzata in magazzino (UDC, celle, ...)') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'Max_Kg', N'Portata(Kg)') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'Max_X', N'Largh Max') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'Max_Y', N'Alt Max') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'Max_Z', N'Prof Max') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'ModDate', N'Data mod.') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'ModLang', N'Cambia Lingua Utente') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'MostraCelleBlocco', N'Mostra le celle assegnate al blocco') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'mostraSoloSelez', N'Set filter') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'mostraTutti', N'Remove filter') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'Nascosto', N'Nasc.') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'New', N'New') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'noRecord', N'No records found') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'nRapQual', N'Num RQ') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'NumInMag', N'# Mag') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'NumUDC', N'# UDC') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'NumX', N'# colonne (X)') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'NumY', N'# livelli (Y)') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'NumZ', N'profondità (Z)') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'NuovaListaPrelievo', N'Nuova Lista Prelievo') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'Particolare', N'Particolare') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'Particolari', N'Particolari') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'periodoRif', N'Periodo di riferimento:') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'Piena', N'Piena') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'ProgUDC', N'UDC AS400') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'Qta', N'Qty') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'QtaTotPz', N'Tot pz.') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'Quantita', N'num celle') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'RagSociale', N'Cliente') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'Reset', N'Reset') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'ScaricaListaPrelievo', N'Effettua scaricamento degli UDC della lista in AS 400') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'scegliLingua', N'Selezionare Lingua') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'Select', N'Select') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'SetFiltroMagLog', N'Filtro per Magazzino Logico') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'SetMag', N'Set.Mag.') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'Stato', N'Status') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'StatoLista_4', N'Approvata') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'StatoMagazzino', N'Magazzino Fisico') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'StatoMagazzinoExpl', N'Dettaglio Stato Magazzino Fisico') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'StatoMagLogico', N'Magazzino Logico') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'StatoMagLogicoExpl', N'Dettaglio Stato Magazzino Logico') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'TornaStatoMag', N'Torna a Stato Magazzino Fisico') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'TornaStatoMagLogico', N'Torna a Stato Magazzino Logico') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'TotCelle', N'Num celle totali') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'TotQta', N'# pz') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'Traduzione', N'Translation') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'TurnoFus', N'Turno fusione') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'TurnoShort', N'T.') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'UDC', N'UDC') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'UdcAssoc', N'UdcAssoc') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'UdcTot', N'UdcTot') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'Update', N'Update') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'User', N'User') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'UserFunc', N'Funzioni Utente') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'Vocabolario', N'Dictionary') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'X', N'Colonna (X)') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'Y', N'Livello (Y)') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'Z', N'Prof. (z)') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'#', N'#') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'01-PreFus', N'Lista prelievo pezzi Fusione') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'02-PreCli', N'Lista Prelievo Clienti') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'03-TerWip', N'Lista Prelievo Terzisti - WIP') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'AbilitaRicercaLike', N'Abilita Ricerca "Like"') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'AbilitaRicercaLikeExpl', N'Selezionare per abilitare la ricerca estesa di tipo "Like" anche su parte dei campi') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'AcqPrntUdc', N'Stampa UDC') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'AcqPrntUdcExpl', N'Gestione acquisizione dati da AS400 e stampa UDC') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'Admin', N'Area amministrazione') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'AnagCelle', N'Anagrafica Celle') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'AnagCelleExpl', N'Gestione Anagrafica Celle ed assegnazioni a magazzini/blocchi') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'AnagMagazzini', N'Anagrafica Magazzini') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'AnagMagazziniExpl', N'Gestione dell''anagrafica dei magazzini') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'AnagraficheBase', N'Anagrafiche Base') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'ApriManualeHelp', N'Apri manuale utente') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'attiva', N'attiva') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'AttivaListaPrelievo', N'Attivazione lista selezionata') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'BarcodeInput', N'Input via Barcode') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'BenesQual', N'BenesQual') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'btnBloccaCella', N'Blocca cella') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'btnClose', N'Chiudi') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'btnCompletaCella', N'Cella completa') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'btnConsumaMP', N'Consumo UDC MP') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'btnCreaListaPrelievo', N'Crea Lista di Prelievo') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'btnDelibera', N'Delibera selezionati') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'btnDisponibileCella', N'Cella disponibile') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'btnGo2Mag', N'Vai a magazzino') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'btnListePrelievo', N'Liste di prelievo') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'btnNewLemma', N'Inserire nuovo termine da tradurre') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'btnQta', N'Nuova quantità') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'btnReloadDataRQL', N'Ricarica da AS400') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'btnSbloccaCella', N'Sblocca cella') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'btnSearch', N'Cerca') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'btnSelAll', N'Seleziona tutte le righe visibili') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'btnSposta', N'Sposta') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'btnStatoMag', N'Stato Mag.Fisico') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'Cancel', N'Annulla') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'Capienza', N'capienza') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'cbeBtnDelibera', N'Sei sicuro di voler procedere con al delibera degli UDC selezionati?') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'CelleAttive', N'Num celle attive') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'CelleLibere', N'Num celle Libere') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'CelleLibereOccupate', N'Occupate/Libere') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'CelleOccupate', N'Num celle Occupate') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'CelleTotAtt', N'Tot. / Att.') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'CheckPiena', N'Ver. Piena') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'CodBlocco', N'Cod. blocco') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'CodCella', N'Cod.Cella') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'CodFor', N'CodFornitore') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'CodImballo', N'Cod.Imballo') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'CodLega', N'CodLega') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'CodLista', N'Cod.') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'CodMag', N'Cod.Mag.') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'CodStato', N'CodStato') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'CompletaListaPrelievo', N'Completa Lista di Prelievo') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'confermaAttivaLista', N'Questo renderà attiva la lista selezionata, vuoi procedere?') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'confermaCompletaLista', N'Sei sicuro di voler indicare come completata la Lista di Prelievo corrente?') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'ConfermaConsumoMP', N'Confermi consumo MP per gli UDC indicati?') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'ConfermaCreaCelleMancantiBlocco', N'Sei sicuro di voler procedere a creare le celle mancanti per il blocco?') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'confermaDel', N'Sei sicuro di voler continuare con l''eliminazione del record?') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'confermaIniziaLista', N'Richiesta di presa in carico di lista di prelievo: sicuro di voler procedere?') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'confermaRettificaQta', N'Sei sicuro di voler rettificare la quantità associata?') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'confermaScaricaLista', N'Sicuro di voler procedere e scaricare la lista (anche in AS 400?)') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'confermaSpostamentoUDC', N'Sei sicuro di voler spostare questo UDC nella cella indicata?') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'ConsUDC', N'Scarico MP') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'ConsUDCExpl', N'Gestione dello scarico e del consumo UDC') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'creaCelleMancanti', N'Crea le celle mancanti') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'CreaNuovaListaPrelievo', N'Crea Nuova Lista') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'DataFus', N'Data fusione') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'DataRapQual', N'Data RQ') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'DateRange', N'Intervallo date') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'Delete', N'Elimina') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'DescBlocco', N'Descrizione') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'DescImpianto', N'Impianto') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'DescMag', N'Descrizione magazzino') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'DescParticolare', N'Desc. Part.') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'descrizione', N'descrizione') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'DescStato', N'Stato') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'Destinatario', N'Destinatario') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'DettaglioBlocco', N'Dettaglio Blocco') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'DettaglioBloccoExpl', N'Dettaglio stato Blocco Magazzino') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'DisegnoGrezzo', N'Dis.Grezzo') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'Edit', N'Modifica') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'ElencoBlocchi', N'Blocchi di celle') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'ElencoListePrelievo', N'Liste di Prelievo') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'ElencoListePrelievoExpl', N'Elenco delle Liste di Prelievo') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'ElencoTipoCelle', N'Tipologie e quantità celle') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'ErroreCellaDestOccupata', N'Errore! cella di destinazione bloccata') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'Esponente', N'Esponente') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'filtraTipoListe', N'Filtra per tipologia') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'finePeriodo', N'fine periodo di riferimento per i dati mostrati') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'GestDelibere', N'Gestione Delibere') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'GestDelibereExpl', N'Gestione Delibere (fusi e spedizione terzisti)') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'GestioneMagazzino', N'Gestione Magazzino') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'GestLaboratorioMP', N'Laboratorio MP') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'GestLaboratorioMPExpl', N'Metodi per gestione UDC Laboratorio MP') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'GMW_Appl', N'GMW') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'GMW_LongWelcome', N'Clicca sulle voci del menù alla sinistra per accedere alle funzionalità abilitate') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'GMW_ShortWelcome', N'Benvenuto in GMW') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'GMW_titleApp', N'GMW') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'GMW_welcomeApp', N'Gestione Magazzino web - Gruppo Mazzucconi') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'IdxBlocco', N'Blocco') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'IdxTipoCella', N'Tipo') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'IniziaListaPrelievo', N'Richiesta di presa in carico di Lista di Prelievo') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'inizioPeriodo', N'inizio periodo di riferimento per i dati mostrati') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'insert', N'inserisci') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'insertCod4search', N'inserire codice da ricercare') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'insertNewLemma', N'Inserire nuovo lemma') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'lblAss', N'Assegnate') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'lblAttive', N'Attive') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'lblCerca', N'cerca') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'lblDettImpieghiBlocchi', N'Dettaglio impiego Celle in Blocchi') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'lblInattive', N'Inattive') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'lblNewPos', N'Nuova posizione') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'lblNonAss', N'Non Assegnate') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'lblQta', N'Rettifica quantità') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'lblTotaleImpieghi', N'Impieghi totali celle/blocchi') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'lblTotCapacita', N'Capacità totale') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'lblTotCelleCreate', N'Tot Celle create nei blocchi') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'lblTotCelleDaBlocchi', N'Tot celle nei blocchi') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'lblTotCelleDaTipo', N'Tot celle (da Tipologia)') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'Lemma', N'Lemma') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'Lingua', N'Lingua') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'lnkShowHide', N'Scopri/Nascondi Menu') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'LogOut', N'LogOut') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'MagLog', N'Mag.Logico') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'MagSearch', N'Ricerca avanzata') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'MagSearchExpl', N'Ricerca avanzata in magazzino (UDC, celle, ...)') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'Max_Kg', N'Portata(Kg)') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'Max_X', N'Largh Max') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'Max_Y', N'Alt Max') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'Max_Z', N'Prof Max') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'ModDate', N'Data mod.') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'ModLang', N'Cambia Lingua Utente') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'MostraCelleBlocco', N'Mostra le celle assegnate al blocco') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'mostraSoloSelez', N'Imposta Filtro') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'mostraTutti', N'Elimina filtro') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'Nascosto', N'Nasc.') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'New', N'Nuovo') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'noRecord', N'Nessun record presente') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'nRapQual', N'Num RQ') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'NumInMag', N'# Mag') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'NumUDC', N'# UDC') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'NumX', N'# colonne (X)') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'NumY', N'# livelli (Y)') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'NumZ', N'profondità (Z)') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'NuovaListaPrelievo', N'Nuova Lista Prelievo') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'Particolare', N'Particolare') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'Particolari', N'Particolari') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'periodoRif', N'Periodo di riferimento:') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'Piena', N'Piena') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'ProgUDC', N'UDC AS400') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'Qta', N'Qta') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'QtaTotPz', N'Tot pz.') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'Quantita', N'num celle') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'RagSociale', N'Cliente') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'Reset', N'Reset') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'ScaricaListaPrelievo', N'Effettua scaricamento degli UDC della lista in AS 400') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'scegliLingua', N'Selezionare Lingua') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'Select', N'Seleziona') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'SetFiltroMagLog', N'Filtro per Magazzino Logico') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'SetMag', N'Set.Mag.') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'Stato', N'Stato') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'StatoLista_4', N'Approvata') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'StatoMagazzino', N'Magazzino Fisico') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'StatoMagazzinoExpl', N'Dettaglio Stato Magazzino Fisico') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'StatoMagLogico', N'Magazzino Logico') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'StatoMagLogicoExpl', N'Dettaglio Stato Magazzino Logico') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'TornaStatoMag', N'Torna a Stato Magazzino Fisico') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'TornaStatoMagLogico', N'Torna a Stato Magazzino Logico') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'TotCelle', N'Num celle totali') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'TotQta', N'# pz') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'Traduzione', N'Traduzione') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'TurnoFus', N'Turno fusione') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'TurnoShort', N'T.') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'UDC', N'UDC') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'UdcAssoc', N'UdcAssoc') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'UdcTot', N'UdcTot') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'Update', N'Update') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'User', N'Utenti') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'UserFunc', N'Funzioni Utente') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'Vocabolario', N'Vocabolario') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'X', N'Colonna (X)') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'Y', N'Livello (Y)') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'Z', N'Prof. (z)') +go + +commit transaction +go diff --git a/GMW_data/SqlScripts/Vocabolario/vocab_401.sql b/GMW_data/SqlScripts/Vocabolario/vocab_401.sql new file mode 100644 index 00000000..b2a47e04 --- /dev/null +++ b/GMW_data/SqlScripts/Vocabolario/vocab_401.sql @@ -0,0 +1,306 @@ + +drop table Vocabolario_Copy; +go + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'Associaz_F10_F18', N'Associaz. UDC F10 - F18') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'Associaz_F10_F18Expl', N'Associazione imballi UDC F10 - F18') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'btnAdd', N'Add record') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'btnAssocia', N'Associa') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'btnCommit', N'Commit') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'btnConsumaUdcF10', N'Consuma UDC F10') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'btnStampa', N'Print') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'btnSvuota', N'Do Empty') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'ConsumoF10', N'Consumo F10') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'ConsumoF10Expl', N'Gestione Consumo cartellini F10') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'CreazF18', N'Creaz F18') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'CreazF18Expl', N'Creazione imballi F18 per travaso') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'effettuataAssociazione', N'OK! effettuata associazione UDC:') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'effettuatoConsumoUDC', N'Effettuato Consumo UDC') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'ForzaUtente', N'Forza Utente') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'lblAnno', N'Year') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'lblAnnoTratt', N'Year (trattam.)') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'lblDominio', N'Dominio') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'lblNote', N'Note') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'lblNumTratt', N'Trattamento (num)') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'lblPwd', N'Password') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'lblQuantita', N'Quantity') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'lblUser', N'User') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'postazione', N'postazione') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'Postazioni', N'Postazioni') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'PostazioniExpl', N'Funzioni gestione Postazioni Specifiche') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'PostLiquidi', N'Postazione Liquidi') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'PostLiquidiExpl', N'Gestione Postazione Liquidi') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'stampante', N'printer') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'Associaz_F10_F18', N'Associaz. UDC F10 - F18') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'Associaz_F10_F18Expl', N'Associazione imballi UDC F10 - F18') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'btnAdd', N'Aggiunta valore') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'btnAssocia', N'Associa') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'btnCommit', N'Commit') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'btnConsumaUdcF10', N'Consuma UDC F10') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'btnStampa', N'Stampa') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'btnSvuota', N'Svuota') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'ConsumoF10', N'Consumo F10') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'ConsumoF10Expl', N'Gestione Consumo cartellini F10') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'CreazF18', N'Creaz F18') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'CreazF18Expl', N'Creazione imballi F18 per travaso') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'effettuataAssociazione', N'OK! effettuata associazione UDC:') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'effettuatoConsumoUDC', N'Effettuato Consumo UDC') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'ForzaUtente', N'Forza Utente') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'lblAnno', N'Anno') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'lblAnnoTratt', N'Anno (trattam.)') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'lblDominio', N'Dominio') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'lblNote', N'Note') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'lblNumTratt', N'Trattamento (num)') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'lblPwd', N'Password') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'lblQuantita', N'Quantità') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'lblUser', N'User') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'postazione', N'postazione') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'Postazioni', N'Postazioni') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'PostazioniExpl', N'Funzioni gestione Postazioni Specifiche') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'PostLiquidi', N'Postazione Liquidi') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'PostLiquidiExpl', N'Gestione Postazione Liquidi') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'stampante', N'stampante') +go + +commit transaction +go + + +-- pulizie varie lemmi inutili +set xact_abort on +go +begin transaction +go + +delete from Vocabolario where Lemma like '%xps%' +delete from Vocabolario where Lemma like '%mtz%' +delete from Vocabolario where Lemma like '%urm%' +delete from Vocabolario where Lemma like '%campo%' +GO + +commit transaction +go + +set xact_abort on +go +begin transaction +go +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'campoRichiesto', N'richiesto') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'campoRichiesto', N'richiesto') +go +commit transaction +go + + +set xact_abort on +go +begin transaction +go + +delete from Vocabolario where Lemma like '%guasto%' +delete from Vocabolario where traduzione like '%comme%' +delete from Vocabolario where traduzione like '%gcal%' +delete from Vocabolario where traduzione like '%macchina%' +delete from Vocabolario where traduzione like '%costi%' +delete from Vocabolario where traduzione like '%richieste%' +delete from Vocabolario where traduzione like '%intervento%' +delete from Vocabolario where traduzione like '%cod_f%' +delete from Vocabolario where traduzione like '%abc%' +delete from Vocabolario where traduzione like '%macchin%' +delete from Vocabolario where traduzione like '%appli%' +delete from Vocabolario where traduzione like '%cognome%' +delete from Vocabolario where traduzione like '%cdc%' +delete from Vocabolario where traduzione like '%gim%' +delete from Vocabolario where traduzione like '%labor%' +delete from Vocabolario where lemma like '%gim%' +delete from Vocabolario where lemma like '%swap%' +delete from Vocabolario where traduzione like '%equa%' +delete from Vocabolario where traduzione like '%gen%' +delete from Vocabolario where traduzione like '%ciclo%' +delete from Vocabolario where traduzione like '%cost%' +delete from Vocabolario where traduzione like '%telef%' +delete from Vocabolario where traduzione like '%analitic%' +delete from Vocabolario where traduzione like '%overview%' +delete from Vocabolario where traduzione like '%scheda%' +delete from Vocabolario where traduzione like '%interv%' +delete from Vocabolario where traduzione like '%mtbf%' +delete from Vocabolario where traduzione like '%report%' +delete from Vocabolario where traduzione like '%mappa%' +delete from Vocabolario where traduzione like '%periodo%' +delete from Vocabolario where traduzione like '%nome%' +delete from Vocabolario where traduzione like '%famiglia%' +delete from Vocabolario where traduzione like '%causali%' +delete from Vocabolario where lemma like '%flamma%' +delete from Vocabolario where traduzione like '%utente non%' +delete from Vocabolario where traduzione like '%%ulteriori%' +delete from Vocabolario where traduzione like '%stampabile%' +delete from Vocabolario where traduzione like '%aggiorna%' +delete from Vocabolario where lemma like '%impianto%' +delete from Vocabolario where lemma like '%markup%'delete from Vocabolario where traduzione like '%proge%' +delete from Vocabolario where traduzione like '%purcha%' +delete from Vocabolario where traduzione like '%€%' +delete from Vocabolario where traduzione like '%telephone%' +delete from Vocabolario where lemma like '%link%' +delete from Vocabolario where traduzione like '%proje%' +delete from Vocabolario where traduzione like '%pric%' +delete from Vocabolario where traduzione like '%guasto%' +delete from Vocabolario where traduzione like '%tags%' +delete from Vocabolario where lemma like '%work%' +delete from Vocabolario where traduzione like '%peso%' +delete from Vocabolario where traduzione like '%mol%' +delete from Vocabolario where traduzione like '%oggetti%' +delete from Vocabolario where traduzione like '%causa%' +delete from Vocabolario where traduzione like '%promuovi%' +delete from Vocabolario where traduzione like 'rim%' +delete from Vocabolario where traduzione like 'rep%' +delete from Vocabolario where traduzione like 'rea%' +delete from Vocabolario where traduzione like 'schede sin%' +delete from Vocabolario where lemma like 'statoSC%' +delete from Vocabolario where lemma like 'unlock%' +delete from Vocabolario where lemma like 'store%' +delete from Vocabolario where lemma like 'societa%' +delete from Vocabolario where lemma like 'sigla%' +delete from Vocabolario where lemma like 'btnshowclona%' +delete from Vocabolario where lemma like 'btnallsched%' +delete from Vocabolario where lemma like 'turnoShort%' +delete from Vocabolario where lemma like 'titolo%' +GO + +commit transaction +go + +set xact_abort on +go +begin transaction +go + +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'GestLaboratorioMP', N'Laboratorio MP') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'GestLaboratorioMPExpl', N'Metodi per gestione UDC Laboratorio MP') +go + +commit transaction +go + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'UserFuncExpl', N'Ulteriori funzioni utente') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'UserFuncExpl', N'Ulteriori funzioni utente') +go + +commit transaction +go + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'UserNotAuth', N'Utente non autenticato...') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'DateRange', N'Periodo') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'DateRange', N'Periodo') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'04-OdetSP', N'Lista prelievo Odette') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'04-OdetSP', N'Lista prelievo Odette') +go + +commit transaction +go + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'NonAuth', N'L''utente non è autorizzato alla visione del sito o pagina non è disponibile, verificare l''indirizzo della pagina inserito o contattare l''amministratore.') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'NonAuth', N'L''utente non è autorizzato alla visione del sito o pagina non è disponibile, verificare l''indirizzo della pagina inserito o contattare l''amministratore.') +go + +commit transaction +go + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(401, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/Vocabolario/vocab_409.sql b/GMW_data/SqlScripts/Vocabolario/vocab_409.sql new file mode 100644 index 00000000..dfbca2ed --- /dev/null +++ b/GMW_data/SqlScripts/Vocabolario/vocab_409.sql @@ -0,0 +1,657 @@ +set xact_abort on +go + +begin transaction +go + +UPDATE dbo.Vocabolario SET + Traduzione=N'Codice non riconosciuto' + WHERE Lingua=N'EN' and Lemma=N'BarcodeNonValidoLDP' +UPDATE dbo.Vocabolario SET + Traduzione=N'Batch' + WHERE Lingua=N'EN' and Lemma=N'Batch' +UPDATE dbo.Vocabolario SET + Traduzione=N'Creaz F18' + WHERE Lingua=N'EN' and Lemma=N'CreazF18' +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'erroreUdcConsumato', N'ERRORE!!! UDC già consumato!') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'erroreUdcSenzaBenestare', N'ERRORE!!! benestare qualità non disponibile per UDC indicato!') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'lblGeneraListe', N'Crea LDP') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'lblResetListe', N'Reset procedura') +UPDATE dbo.Vocabolario SET + Traduzione=N'Postazione Liquidi' + WHERE Lingua=N'EN' and Lemma=N'PostLiquidi' +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'SmartList', N'Smart List') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'UdcArrivo', N'UDC arrivo') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'UdcPartenza', N'UDC partenza') +UPDATE dbo.Vocabolario SET + Traduzione=N'Codice non riconosciuto' + WHERE Lingua=N'IT' and Lemma=N'BarcodeNonValidoLDP' +UPDATE dbo.Vocabolario SET + Traduzione=N'Batch' + WHERE Lingua=N'IT' and Lemma=N'Batch' +UPDATE dbo.Vocabolario SET + Traduzione=N'Creaz F18' + WHERE Lingua=N'IT' and Lemma=N'CreazF18' +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'erroreUdcConsumato', N'ERRORE!!! UDC già consumato!') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'erroreUdcSenzaBenestare', N'ERRORE!!! benestare qualità non disponibile per UDC indicato!') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'lblGeneraListe', N'Crea LDP') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'lblResetListe', N'Reset procedura') +UPDATE dbo.Vocabolario SET + Traduzione=N'Postazione Liquidi' + WHERE Lingua=N'IT' and Lemma=N'PostLiquidi' +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'SmartList', N'Smart List') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'UdcArrivo', N'UDC arrivo') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'UdcPartenza', N'UDC partenza') +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'abc' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'AccettaObjXps' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'AddMacchine2Fam' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'AnagAmbitiGuasto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'AnagAmbitiGuastoLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'AnagTipo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'AnagTipoLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ApprovaScheda' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'AreaMtz' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'AreaMtzLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'AreaSC' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'AreaSC_tooltip' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'AssegnMaccImp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'AssegnMaccImpLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'AttivaScheda' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'btnAllSched' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'btnCompilaMtz' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'btnCreaMtzPro' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'btnElencoRichiesteMtz' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'btnGestDatiMacchina' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'btnHideInsPeriodo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'btnInsPeriodo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'btnNewComm' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'btnSaveOnly' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'btnSaveRev' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'btnShowClona' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'btnShowClonaFull' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'btnShowClonaModulo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'btnShowInsPeriodo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'cadenzaMtzPro' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'cadIntReq' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'CalcolaCostiStd' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Campo1_1' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Campo10_1' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Campo11_1_1' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Campo11_2_1' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Campo12_1' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Campo13_1' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Campo14_1' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Campo15_1' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Campo16_1' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Campo2_1' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Campo3_1' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Campo4_1' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Campo5_1' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Campo6_1' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Campo7_1' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Campo8_1' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Campo9_1' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'cdc' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'chkImpFermo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'chkMostraIntChiusi' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'chkMostraIntChiusi_mostra' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'chkMostraIntChiusi_nascondi' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'chkShowMtzPrev' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'chkShowOnlyMacchFerma' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'clonaSchedaAn' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'COD_FUNZIONE' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'codImpianto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'codMacchina' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'CodMappa' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Cognome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'CognomeProd' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'commNonProntaSpedire' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'commParzProntaSpedire' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'commProntaSpedire' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'conf_getNewABC' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'confermaAccettaObjXps' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'confermaDelWithChildObj' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'confermaFatturaObjXps' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Confronto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Confronto_tooltip' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'CostiDrivers' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'CostiDrivers_tooltip' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'costo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'costo_std_mp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'costo_std_MP_bis' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'costoAlKg' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'costoImpianto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'CreaComm' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'CreaCommLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'dataReq' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'DescImpianto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'DescMappa' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'descrAmbitoGuasto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'descrCausale' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'descrIntReq' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'DescrMappa' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'descrProgetto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'dettComm' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'EditRicMan' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ElencoComm' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ElencoCommDir' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ElencoCommDirLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ElencoCommMag' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ElencoCommMagLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ElencoCommProd' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ElencoCommProdLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ElencoCommSegr' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ElencoCommSegrLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ElencoRichieste' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ElencoRichiesteLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ElencoSchede_tooltip' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ErroreNoMaccSel' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'FamMacchine' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'FamMacchineLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'FatturaObjXps' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'finePeriodo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'FlammaSC_Appl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'FlammaSC_LongWelcome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'FlammaSC_ShortWelcome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'FlammaSC_titleApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'FlammaSC_welcomeApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'frequenzaMtzPro' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'GcalTags' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'GcalTagsExpl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'gerarchiaCdC' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'GestComm' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'GestCommLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'GestDatiMacch' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'GestDatiMacchExpl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'GestImpiantiLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Gestione MacchineLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'gestioneApplicativi' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'GestioneCausali' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'GestioneCausaliLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'GestioneRimbKil' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'GestLaboratorioMP' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'GestLaboratorioMPExpl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'GestMacchine' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'GestOperMtz' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'GestOperMtzLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ggUomoRicerca' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'GIM_Appl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'GIM_LongWelcome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'GIM_ShortWelcome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'GIM_titleApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'GIM_welcomeApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'go2commesse' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'go2progetti' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'go2schede' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'hideAddMacchine' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'hlElencoInterventi_Pdf' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'hlMTBF_MTTR_Pdf' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'idxImpianto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'idxMacchina' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'idxProgetto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'idxtipoCosto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'impianto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'inizioMtzPro' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'inizioPeriodo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'InsRicManLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'isReagente' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblAmbito' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblAndamentoCosti' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblCadenza' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblCercaCdC' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblCicloEqua' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblCommScadute' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblCostiDrivers' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblCostiMP' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblDataOraGuasto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblDescrCausale' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblDescrGuasto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblDescrMtzPro' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblDescrTipo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblDettagliGuasto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblDettaglio' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblEsitoInserimento' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblFiltImpianto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblFiltMacchina' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblFineIntervento' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblImpianto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblInizioIntervento' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblInizioMtzPro' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblInsNewIntPro' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblInsRichiestaMtz' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblIntestazioneReportImpianti' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblMacchina' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblMacchineInteressate' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblMacchineSel' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblMappe' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblPrintReportImpianti' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblReportInterventi' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblReportMacchine' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblReportMTBFMTTR' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblSchedeAnalisi' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblSchedeSintesi' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblTipoCosti' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblTipoGuasto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblTipoGuastoShort' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'LinkType' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lnkGoToReqList' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lnkGuidaPerReport' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'LocationTags' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'LocationTagsExpl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'macchina' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'macrocausa' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'MappaStato' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'markUpPerc' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'moli' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'mostraSC_sel' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'MtzProg' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'MtzProgLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'noInsert_mancanoSchedeCosto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Nome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'nomeFamMacch' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'nomeImpianto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'nomeMacchina' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'NomeProd' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'numIntMtz' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ObjSet' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ObjSetLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'periodoRif' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'pesoMolare' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'pregoSelMacchFamMacch' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'pregoSelProgetto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'print_MTBF_MTTR' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Progetti' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Progetti_tooltip' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'promuoviUtente' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Purchasing' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'reparto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'reportImpianti' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'reportImpiantiLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'reportInterventi' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'reportInterventiLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'resaMolare' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'RicercaGenerica' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'RicManArea' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'RicManAreaLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'RimbKil' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'RimbKilExpl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ScadenziarioComm' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ScadenziarioCommLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Scheda' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Scheda_tooltip' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'schedaAnalitica' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'SchedaAnaliticaExp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'SchedaAnaliticaExp_tooltip' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'SchedaCompleta' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'SchedaCompleta_tooltip' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'schedaSintetica' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'SchedulaObjXps' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'SchedulaObjXpsSingle' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'SetupApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'SetupAppLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'showAddMacchine' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'showOverView' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'sigla' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'societa' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'speseGenFull' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'speseGenPerc' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'stampaSchedaIdentificazione' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'StampaSimPricing' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'statoSC' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Store' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'SWAP_Appl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'SWAP_LongWelcome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'SWAP_ShortWelcome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'SWAP_titleApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'SWAP_welcomeApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'TabProgrammaMtz' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'TabScadenzeMtz' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'TCAssegnato' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'TELEFONO_INT_TRIM' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'TELEFONO_PARTE_FISSA' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'tipoCosto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'tipoImpianto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'titolo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'tornaSimul' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'TurnoShort' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Unlock' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'UpdateAnagrafiche' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'UpdateAnagraficheLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'updateObjDueDate' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'URM' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'URM_Appl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'URM_LongWelcome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'URM_ShortWelcome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'URM_titleApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'URM_welcomeApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'utenteNonSelezionato' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'versStampa' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Weight' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'WorkDone' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'WorkStart' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'XPS_Appl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'XPS_LongWelcome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'XPS_ShortWelcome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'XPS_titleApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'XPS_welcomeApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'abc' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'AccettaObjXps' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'AddMacchine2Fam' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'AnagAmbitiGuasto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'AnagAmbitiGuastoLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'AnagPrioritaLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'AnagTipo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'AnagTipoLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ApprovaScheda' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'AreaMtz' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'AreaMtzLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'AreaSC' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'AreaSC_tooltip' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'AssegnMaccImp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'AssegnMaccImpLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'AttivaScheda' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'btnAllSched' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'btnCompilaMtz' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'btnCreaMtzPro' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'btnElencoRichiesteMtz' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'btnGestDatiMacchina' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'btnHideInsPeriodo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'btnInsPeriodo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'btnNewComm' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'btnSaveOnly' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'btnSaveRev' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'btnShowClona' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'btnShowClonaFull' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'btnShowClonaModulo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'btnShowInsPeriodo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'cadenzaMtzPro' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'cadIntReq' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'CalcolaCostiStd' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Campo1_1' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Campo10_1' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Campo11_1_1' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Campo11_2_1' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Campo12_1' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Campo13_1' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Campo14_1' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Campo15_1' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Campo16_1' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Campo2_1' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Campo3_1' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Campo4_1' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Campo5_1' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Campo6_1' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Campo7_1' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Campo8_1' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Campo9_1' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'cdc' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'chkImpFermo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'chkMostraIntChiusi' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'chkMostraIntChiusi_mostra' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'chkMostraIntChiusi_nascondi' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'chkShowMtzPrev' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'chkShowOnlyMacchFerma' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Ciclo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'clonaSchedaAn' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'COD_FUNZIONE' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'codImpianto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'codMacchina' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'CodMappa' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'codProgetto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Cognome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'CognomeProd' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'commNonProntaSpedire' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'commParzProntaSpedire' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'commProntaSpedire' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'conf_getNewABC' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'confermaAccettaObjXps' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'confermaDelWithChildObj' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'confermaFatturaObjXps' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Confronto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Confronto_tooltip' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'CostiDrivers' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'CostiDrivers_tooltip' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'costo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'costo_std_mp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'costo_std_MP_bis' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'costoAlKg' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'costoImpianto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'CreaComm' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'CreaCommLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'dataReq' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'DescImpianto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'DescMappa' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'descrAmbitoGuasto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'descrCausale' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'descrIntReq' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'DescrMappa' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'descrProgetto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'dettComm' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'EditRicMan' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ElencoComm' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ElencoCommDir' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ElencoCommDirLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ElencoCommMag' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ElencoCommMagLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ElencoCommProd' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ElencoCommProdLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ElencoCommSegr' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ElencoCommSegrLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ElencoRichieste' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ElencoRichiesteLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ElencoSchede_tooltip' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ErroreNoMaccSel' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'FamMacchine' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'FamMacchineLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'FatturaObjXps' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'finePeriodo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'FlammaSC_Appl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'FlammaSC_LongWelcome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'FlammaSC_ShortWelcome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'FlammaSC_titleApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'FlammaSC_welcomeApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'frequenzaMtzPro' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'GcalTags' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'GcalTagsExpl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'gerarchiaCdC' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'GestComm' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'GestCommLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'GestDatiMacch' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'GestDatiMacchExpl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'GestImpiantiLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Gestione MacchineLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'gestioneApplicativi' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'GestioneCausali' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'GestioneCausaliLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'GestioneRimbKil' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'GestMacchine' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'GestOperMtz' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'GestOperMtzLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ggUomoRicerca' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'GIM_Appl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'GIM_LongWelcome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'GIM_ShortWelcome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'GIM_titleApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'GIM_welcomeApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'go2commesse' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'go2progetti' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'go2schede' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'hideAddMacchine' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'hlElencoInterventi_Pdf' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'hlMTBF_MTTR_Pdf' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'idxImpianto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'idxMacchina' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'idxProgetto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'idxtipoCosto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'impianto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'inizioMtzPro' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'inizioPeriodo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'InsRicManLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'isReagente' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblAmbito' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblAndamentoCosti' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblCadenza' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblCercaCdC' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblCicloEqua' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblCommScadute' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblCostiDrivers' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblCostiMP' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblDataOraGuasto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblDescrCausale' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblDescrGuasto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblDescrMtzPro' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblDescrTipo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblDettagliGuasto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblDettaglio' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblEsitoInserimento' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblFiltImpianto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblFiltMacchina' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblFineIntervento' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblImpianto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblInizioIntervento' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblInizioMtzPro' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblInsNewIntPro' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblInsRichiestaMtz' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblIntestazioneReportImpianti' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblMacchina' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblMacchineInteressate' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblMacchineSel' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblMappe' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblPrintReportImpianti' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblReportInterventi' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblReportMacchine' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblReportMTBFMTTR' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblSchedeAnalisi' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblSchedeSintesi' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblTipoCosti' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblTipoGuasto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblTipoGuastoShort' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Legend' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'LinkType' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lnkGoToReqList' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lnkGuidaPerReport' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'LocationTags' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'LocationTagsExpl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'macchina' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'macrocausa' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'MappaStato' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'markUpPerc' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'moli' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'mostraSC_sel' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'MtzProg' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'MtzProgLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'noInsert_mancanoSchedeCosto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Nome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'nomeFamMacch' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'nomeImpianto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'nomeMacchina' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'NomeProd' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'numIntMtz' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ObjSet' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ObjSetLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'periodoRif' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Peso' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'pesoMolare' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'pregoSelMacchFamMacch' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'pregoSelProgetto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'print_MTBF_MTTR' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Progetti' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Progetti_tooltip' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'promuoviUtente' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Purchasing' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'reparto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'reportImpianti' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'reportImpiantiLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'reportInterventi' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'reportInterventiLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'resaMolare' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'RicercaGenerica' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'RicManArea' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'RicManAreaLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'RimbKil' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'RimbKilExpl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ScadenziarioComm' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ScadenziarioCommLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Scheda' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Scheda_tooltip' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'schedaAnalitica' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'SchedaAnaliticaExp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'SchedaAnaliticaExp_tooltip' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'SchedaCompleta' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'SchedaCompleta_tooltip' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'schedaSintetica' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'SchedulaObjXps' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'SchedulaObjXpsSingle' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'SetupApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'SetupAppLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'showAddMacchine' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'showOverView' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'sigla' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'societa' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'speseGenFull' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'speseGenPerc' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'stampaSchedaIdentificazione' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'StampaSimPricing' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'statoSC' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Store' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'SWAP_Appl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'SWAP_LongWelcome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'SWAP_ShortWelcome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'SWAP_titleApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'SWAP_welcomeApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'TabProgrammaMtz' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'TabScadenzeMtz' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'TCAssegnato' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'TELEFONO_INT_TRIM' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'TELEFONO_PARTE_FISSA' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'tipoCosto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'tipoImpianto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'titolo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'tornaSimul' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'TurnoShort' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Unlock' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'UpdateAnagrafiche' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'UpdateAnagraficheLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'updateObjDueDate' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'URM' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'URM_Appl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'URM_LongWelcome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'URM_ShortWelcome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'URM_titleApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'URM_welcomeApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'utenteNonSelezionato' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'versStampa' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Weight' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'WorkDone' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'WorkStart' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'XPS_Appl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'XPS_LongWelcome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'XPS_ShortWelcome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'XPS_titleApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'XPS_welcomeApp' +go + +commit transaction +go + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(401, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/Vocabolario/vocab_425.sql b/GMW_data/SqlScripts/Vocabolario/vocab_425.sql new file mode 100644 index 00000000..bdb1621e --- /dev/null +++ b/GMW_data/SqlScripts/Vocabolario/vocab_425.sql @@ -0,0 +1,60 @@ +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'btnResetCtrl', N'Reset') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'btnTermHome', N'Home') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'btnTermInterrMov', N'Interrogazioni') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'btnTermMakeMov', N'Spostamenti') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'btnTermMenuLDP', N'Menu Liste Prelievo') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'btnTermMenuMov', N'Menu Movimenti') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'btnTermSmartList', N'Smart List') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'btnTermTakeList', N'Elenco Liste') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'btnTermTakeListBarcode', N'Lista prelievo') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'btnTermTakeListHome', N'Home') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'ResetSmartNotEnabled', N'Attenzione! impossibile resettare LDP Smart') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'btnResetCtrl', N'Reset') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'btnTermHome', N'Home') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'btnTermInterrMov', N'Interrogazioni') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'btnTermMakeMov', N'Spostamenti') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'btnTermMenuLDP', N'Menu Liste Prelievo') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'btnTermMenuMov', N'Menu Movimenti') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'btnTermSmartList', N'Smart List') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'btnTermTakeList', N'Elenco Liste') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'btnTermTakeListBarcode', N'Lista prelievo') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'btnTermTakeListHome', N'Home') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'ResetSmartNotEnabled', N'Attenzione! impossibile resettare LDP Smart') +go + +commit transaction +go + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(425, GETDATE()) +GO + diff --git a/GMW_data/SqlScripts/Vocabolario/vocab_426.sql b/GMW_data/SqlScripts/Vocabolario/vocab_426.sql new file mode 100644 index 00000000..8fc5fa79 --- /dev/null +++ b/GMW_data/SqlScripts/Vocabolario/vocab_426.sql @@ -0,0 +1,51 @@ +set xact_abort on +go + +begin transaction +go + +UPDATE dbo.Vocabolario SET + Traduzione=N'Codice non riconosciuto' + WHERE Lingua=N'EN' and Lemma=N'BarcodeNonValidoLDP' +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'btnConferma', N'Conferma') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'ConfermaSpostatoUDC', N'Conferma: spostato UDC') +UPDATE dbo.Vocabolario SET + Traduzione=N'Creaz F18' + WHERE Lingua=N'EN' and Lemma=N'CreazF18' +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'lblCella', N'CodCella') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'lblUDC', N'UDC') +UPDATE dbo.Vocabolario SET + Traduzione=N'Postazione Liquidi' + WHERE Lingua=N'EN' and Lemma=N'PostLiquidi' +UPDATE dbo.Vocabolario SET + Traduzione=N'Codice non riconosciuto' + WHERE Lingua=N'IT' and Lemma=N'BarcodeNonValidoLDP' +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'btnConferma', N'Conferma') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'ConfermaSpostatoUDC', N'Conferma: spostato UDC') +UPDATE dbo.Vocabolario SET + Traduzione=N'Creaz F18' + WHERE Lingua=N'IT' and Lemma=N'CreazF18' +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'lblCella', N'CodCella') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'lblUDC', N'UDC') +UPDATE dbo.Vocabolario SET + Traduzione=N'Postazione Liquidi' + WHERE Lingua=N'IT' and Lemma=N'PostLiquidi' +go + +commit transaction +go + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(426, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/Vocabolario/vocab_431_SP.sql b/GMW_data/SqlScripts/Vocabolario/vocab_431_SP.sql new file mode 100644 index 00000000..3211033a --- /dev/null +++ b/GMW_data/SqlScripts/Vocabolario/vocab_431_SP.sql @@ -0,0 +1,561 @@ +-- pulizia vocabolario +set xact_abort on +go + +begin transaction +go + +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'abc' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'AccettaObjXps' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'AddMacchine2Fam' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'AnagAmbitiGuasto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'AnagAmbitiGuastoLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'AnagTipo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'AnagTipoLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ApprovaScheda' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'AreaMtz' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'AreaMtzLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'AreaSC' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'AreaSC_tooltip' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'AssegnMaccImp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'AssegnMaccImpLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'AttivaScheda' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Batch' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'btnAllSched' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'btnCompilaMtz' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'btnCreaMtzPro' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'btnElencoRichiesteMtz' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'btnGestDatiMacchina' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'btnHideInsPeriodo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'btnInsPeriodo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'btnNewComm' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'btnSaveOnly' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'btnSaveRev' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'btnShowClona' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'btnShowClonaFull' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'btnShowClonaModulo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'btnShowInsPeriodo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'cadenzaMtzPro' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'cadIntReq' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'CalcolaCostiStd' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'cdc' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'chkImpFermo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'chkMostraIntChiusi' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'chkMostraIntChiusi_mostra' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'chkMostraIntChiusi_nascondi' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'chkShowMtzPrev' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'chkShowOnlyMacchFerma' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'clonaSchedaAn' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'COD_FUNZIONE' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'codImpianto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'codMacchina' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'CodMappa' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Cognome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'CognomeProd' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'commNonProntaSpedire' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'commParzProntaSpedire' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'commProntaSpedire' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'conf_getNewABC' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'confermaAccettaObjXps' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'confermaDelWithChildObj' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'confermaFatturaObjXps' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Confronto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Confronto_tooltip' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'CostiDrivers' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'CostiDrivers_tooltip' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'costo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'costo_std_mp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'costo_std_MP_bis' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'costoAlKg' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'costoImpianto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'CreaComm' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'CreaCommLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'dataReq' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'DescMappa' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'descrAmbitoGuasto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'descrCausale' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'descrIntReq' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'DescrMappa' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'descrProgetto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'dettComm' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'EditRicMan' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ElencoComm' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ElencoCommDir' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ElencoCommDirLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ElencoCommMag' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ElencoCommMagLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ElencoCommProd' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ElencoCommProdLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ElencoCommSegr' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ElencoCommSegrLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ElencoRichieste' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ElencoRichiesteLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ElencoSchede_tooltip' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ErroreNoMaccSel' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'FamMacchine' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'FamMacchineLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'FatturaObjXps' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'finePeriodo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'FlammaSC_Appl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'FlammaSC_LongWelcome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'FlammaSC_ShortWelcome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'FlammaSC_titleApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'FlammaSC_welcomeApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'frequenzaMtzPro' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'GcalTags' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'GcalTagsExpl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'gerarchiaCdC' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'GestComm' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'GestCommLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'GestDatiMacch' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'GestDatiMacchExpl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'GestImpiantiLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Gestione MacchineLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'gestioneApplicativi' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'GestioneCausali' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'GestioneCausaliLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'GestioneRimbKil' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'GestLaboratorioMP' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'GestLaboratorioMPExpl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'GestMacchine' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'GestOperMtz' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'GestOperMtzLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ggUomoRicerca' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'go2commesse' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'go2progetti' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'go2schede' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'hideAddMacchine' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'hlElencoInterventi_Pdf' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'hlMTBF_MTTR_Pdf' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'idxImpianto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'idxMacchina' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'idxProgetto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'idxtipoCosto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'impianto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'inizioMtzPro' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'inizioPeriodo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'InsRicManLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'isReagente' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblAmbito' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblAndamentoCosti' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblCadenza' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblCercaCdC' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblCicloEqua' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblCommScadute' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblCostiDrivers' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblCostiMP' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblDataOraGuasto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblDescrCausale' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblDescrGuasto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblDescrMtzPro' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblDescrTipo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblDettagliGuasto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblDettaglio' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblEsitoInserimento' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblFiltImpianto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblFiltMacchina' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblFineIntervento' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblImpianto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblInizioIntervento' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblInizioMtzPro' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblInsNewIntPro' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblInsRichiestaMtz' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblIntestazioneReportImpianti' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblMacchina' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblMacchineInteressate' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblMacchineSel' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblMappe' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblPrintReportImpianti' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblReportInterventi' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblReportMacchine' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblReportMTBFMTTR' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblSchedeAnalisi' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblSchedeSintesi' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblTipoCosti' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblTipoGuasto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblTipoGuastoShort' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'LinkType' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lnkGoToReqList' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lnkGuidaPerReport' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'LocationTags' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'LocationTagsExpl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'macchina' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'macrocausa' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'MappaStato' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'markUpPerc' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'moli' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'mostraSC_sel' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'MtzProg' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'MtzProgLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'noInsert_mancanoSchedeCosto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Nome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'nomeFamMacch' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'nomeImpianto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'nomeMacchina' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'NomeProd' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'numIntMtz' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ObjSet' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ObjSetLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'periodoRif' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'pesoMolare' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'pregoSelMacchFamMacch' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'pregoSelProgetto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'print_MTBF_MTTR' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Progetti' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Progetti_tooltip' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'promuoviUtente' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Purchasing' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'reparto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'reportImpianti' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'reportImpiantiLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'reportInterventi' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'reportInterventiLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'resaMolare' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'RicercaGenerica' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'RicManArea' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'RicManAreaLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'RimbKil' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'RimbKilExpl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ScadenziarioComm' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ScadenziarioCommLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Scheda' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Scheda_tooltip' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'schedaAnalitica' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'SchedaAnaliticaExp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'SchedaAnaliticaExp_tooltip' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'SchedaCompleta' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'SchedaCompleta_tooltip' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'schedaSintetica' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'SchedulaObjXps' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'SchedulaObjXpsSingle' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'SetupApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'SetupAppLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'showAddMacchine' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'showOverView' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'sigla' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'societa' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'speseGenFull' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'speseGenPerc' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'stampaSchedaIdentificazione' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'StampaSimPricing' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'statoSC' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Store' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'SWAP_Appl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'SWAP_LongWelcome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'SWAP_ShortWelcome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'SWAP_titleApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'SWAP_welcomeApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'TabProgrammaMtz' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'TabScadenzeMtz' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'TCAssegnato' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'TELEFONO_INT_TRIM' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'TELEFONO_PARTE_FISSA' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'tipoCosto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'tipoImpianto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'titolo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'tornaSimul' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'TurnoShort' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Unlock' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'UpdateAnagrafiche' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'UpdateAnagraficheLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'updateObjDueDate' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'URM' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'URM_Appl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'URM_LongWelcome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'URM_ShortWelcome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'URM_titleApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'URM_welcomeApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'utenteNonSelezionato' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'versStampa' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Weight' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'WorkDone' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'WorkStart' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'XPS_Appl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'XPS_LongWelcome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'XPS_ShortWelcome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'XPS_titleApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'XPS_welcomeApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'00-Smart' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'01-PreAnim' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'abc' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'AccettaObjXps' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'AddMacchine2Fam' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'AnagAmbitiGuasto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'AnagAmbitiGuastoLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'AnagPrioritaLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'AnagTipo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'AnagTipoLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ApprovaScheda' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'AreaMtz' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'AreaMtzLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'AreaSC' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'AreaSC_tooltip' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'AssegnMaccImp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'AssegnMaccImpLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'AttivaScheda' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Batch' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'btnAllSched' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'btnCompilaMtz' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'btnCreaMtzPro' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'btnElencoRichiesteMtz' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'btnGestDatiMacchina' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'btnHideInsPeriodo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'btnInsPeriodo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'btnNewComm' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'btnSaveOnly' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'btnSaveRev' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'btnShowClona' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'btnShowClonaFull' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'btnShowClonaModulo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'btnShowInsPeriodo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'cadenzaMtzPro' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'cadIntReq' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'CalcolaCostiStd' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'cdc' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'chkImpFermo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'chkMostraIntChiusi' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'chkMostraIntChiusi_mostra' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'chkMostraIntChiusi_nascondi' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'chkShowMtzPrev' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'chkShowOnlyMacchFerma' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Ciclo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'clonaSchedaAn' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'COD_FUNZIONE' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'codImpianto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'codMacchina' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'CodMappa' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'codProgetto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Cognome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'CognomeProd' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'commNonProntaSpedire' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'commParzProntaSpedire' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'commProntaSpedire' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'conf_getNewABC' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'confermaAccettaObjXps' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'confermaDelWithChildObj' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'confermaFatturaObjXps' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Confronto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Confronto_tooltip' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'CostiDrivers' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'CostiDrivers_tooltip' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'costo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'costo_std_mp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'costo_std_MP_bis' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'costoAlKg' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'costoImpianto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'CreaComm' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'CreaCommLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'dataReq' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'DescMappa' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'descrAmbitoGuasto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'descrCausale' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'descrIntReq' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'DescrMappa' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'descrProgetto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'dettComm' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'EditRicMan' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ElencoComm' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ElencoCommDir' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ElencoCommDirLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ElencoCommMag' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ElencoCommMagLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ElencoCommProd' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ElencoCommProdLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ElencoCommSegr' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ElencoCommSegrLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ElencoRichieste' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ElencoRichiesteLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ElencoSchede_tooltip' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ErroreNoMaccSel' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'FamMacchine' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'FamMacchineLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'FatturaObjXps' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'finePeriodo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'FlammaSC_Appl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'FlammaSC_LongWelcome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'FlammaSC_ShortWelcome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'FlammaSC_titleApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'FlammaSC_welcomeApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'frequenzaMtzPro' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'GcalTags' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'GcalTagsExpl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'gerarchiaCdC' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'GestComm' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'GestCommLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'GestDatiMacch' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'GestDatiMacchExpl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'GestImpiantiLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Gestione MacchineLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'gestioneApplicativi' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'GestioneCausali' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'GestioneCausaliLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'GestioneRimbKil' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'GestMacchine' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'GestOperMtz' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'GestOperMtzLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ggUomoRicerca' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'go2commesse' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'go2progetti' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'go2schede' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'hideAddMacchine' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'hlElencoInterventi_Pdf' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'hlMTBF_MTTR_Pdf' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'idxImpianto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'idxMacchina' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'idxProgetto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'idxtipoCosto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'impianto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'inizioMtzPro' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'inizioPeriodo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'InsRicManLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'isReagente' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblAmbito' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblAndamentoCosti' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblCadenza' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblCercaCdC' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblCicloEqua' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblCommScadute' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblCostiDrivers' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblCostiMP' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblDataOraGuasto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblDescrCausale' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblDescrGuasto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblDescrMtzPro' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblDescrTipo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblDettagliGuasto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblDettaglio' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblEsitoInserimento' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblFiltImpianto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblFiltMacchina' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblFineIntervento' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblImpianto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblInizioIntervento' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblInizioMtzPro' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblInsNewIntPro' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblInsRichiestaMtz' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblIntestazioneReportImpianti' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblMacchina' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblMacchineInteressate' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblMacchineSel' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblMappe' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblPrintReportImpianti' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblReportInterventi' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblReportMacchine' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblReportMTBFMTTR' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblSchedeAnalisi' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblSchedeSintesi' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblTipoCosti' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblTipoGuasto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblTipoGuastoShort' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Legend' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'LinkType' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lnkGoToReqList' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lnkGuidaPerReport' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'LocationTags' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'LocationTagsExpl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'macchina' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'macrocausa' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'MappaStato' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'markUpPerc' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'moli' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'mostraSC_sel' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'MtzProg' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'MtzProgLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'noInsert_mancanoSchedeCosto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Nome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'nomeFamMacch' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'nomeImpianto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'nomeMacchina' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'NomeProd' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'numIntMtz' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ObjSet' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ObjSetLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'periodoRif' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Peso' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'pesoMolare' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'pregoSelMacchFamMacch' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'pregoSelProgetto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'print_MTBF_MTTR' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Progetti' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Progetti_tooltip' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'promuoviUtente' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Purchasing' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'reparto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'reportImpianti' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'reportImpiantiLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'reportInterventi' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'reportInterventiLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'resaMolare' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'RicercaGenerica' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'RicManArea' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'RicManAreaLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'RimbKil' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'RimbKilExpl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ScadenziarioComm' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ScadenziarioCommLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Scheda' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Scheda_tooltip' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'schedaAnalitica' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'SchedaAnaliticaExp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'SchedaAnaliticaExp_tooltip' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'SchedaCompleta' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'SchedaCompleta_tooltip' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'schedaSintetica' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'SchedulaObjXps' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'SchedulaObjXpsSingle' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'SetupApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'SetupAppLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'showAddMacchine' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'showOverView' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'sigla' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'societa' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'speseGenFull' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'speseGenPerc' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'stampaSchedaIdentificazione' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'StampaSimPricing' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'statoSC' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Store' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'SWAP_Appl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'SWAP_LongWelcome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'SWAP_ShortWelcome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'SWAP_titleApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'SWAP_welcomeApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'TabProgrammaMtz' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'TabScadenzeMtz' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'TCAssegnato' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'TELEFONO_INT_TRIM' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'TELEFONO_PARTE_FISSA' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'tipoCosto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'tipoImpianto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'titolo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'tornaSimul' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'TurnoShort' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Unlock' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'UpdateAnagrafiche' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'UpdateAnagraficheLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'updateObjDueDate' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'URM' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'URM_Appl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'URM_LongWelcome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'URM_ShortWelcome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'URM_titleApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'URM_welcomeApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'utenteNonSelezionato' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'versStampa' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Weight' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'WorkDone' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'WorkStart' +go + +commit transaction +go + + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(431, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/Vocabolario/vocab_431_TK.sql b/GMW_data/SqlScripts/Vocabolario/vocab_431_TK.sql new file mode 100644 index 00000000..38c76376 --- /dev/null +++ b/GMW_data/SqlScripts/Vocabolario/vocab_431_TK.sql @@ -0,0 +1,561 @@ +set xact_abort on +go + +begin transaction +go + +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'abc' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'AccettaObjXps' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'AddMacchine2Fam' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'AnagAmbitiGuasto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'AnagAmbitiGuastoLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'AnagTipo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'AnagTipoLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ApprovaScheda' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'AreaMtz' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'AreaMtzLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'AreaSC' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'AreaSC_tooltip' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'AssegnMaccImp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'AssegnMaccImpLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'AttivaScheda' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Batch' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'btnAllSched' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'btnCompilaMtz' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'btnCreaMtzPro' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'btnElencoRichiesteMtz' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'btnGestDatiMacchina' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'btnHideInsPeriodo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'btnInsPeriodo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'btnNewComm' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'btnSaveOnly' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'btnSaveRev' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'btnShowClona' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'btnShowClonaFull' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'btnShowClonaModulo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'btnShowInsPeriodo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'cadenzaMtzPro' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'cadIntReq' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'CalcolaCostiStd' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'cdc' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'chkImpFermo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'chkMostraIntChiusi' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'chkMostraIntChiusi_mostra' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'chkMostraIntChiusi_nascondi' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'chkShowMtzPrev' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'chkShowOnlyMacchFerma' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'clonaSchedaAn' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'COD_FUNZIONE' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'codImpianto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'codMacchina' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'CodMappa' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Cognome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'CognomeProd' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'commNonProntaSpedire' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'commParzProntaSpedire' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'commProntaSpedire' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'conf_getNewABC' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'confermaAccettaObjXps' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'confermaDelWithChildObj' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'confermaFatturaObjXps' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Confronto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Confronto_tooltip' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'CostiDrivers' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'CostiDrivers_tooltip' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'costo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'costo_std_mp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'costo_std_MP_bis' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'costoAlKg' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'costoImpianto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'CreaComm' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'CreaCommLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'dataReq' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'DescMappa' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'descrAmbitoGuasto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'descrCausale' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'descrIntReq' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'DescrMappa' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'descrProgetto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'dettComm' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'EditRicMan' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ElencoComm' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ElencoCommDir' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ElencoCommDirLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ElencoCommMag' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ElencoCommMagLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ElencoCommProd' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ElencoCommProdLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ElencoCommSegr' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ElencoCommSegrLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ElencoRichieste' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ElencoRichiesteLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ElencoSchede_tooltip' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ErroreNoMaccSel' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'FamMacchine' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'FamMacchineLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'FatturaObjXps' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'finePeriodo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'FlammaSC_Appl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'FlammaSC_LongWelcome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'FlammaSC_ShortWelcome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'FlammaSC_titleApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'FlammaSC_welcomeApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'frequenzaMtzPro' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'GcalTags' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'GcalTagsExpl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'gerarchiaCdC' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'GestComm' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'GestCommLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'GestDatiMacch' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'GestDatiMacchExpl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'GestImpiantiLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Gestione MacchineLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'gestioneApplicativi' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'GestioneCausali' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'GestioneCausaliLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'GestioneRimbKil' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'GestLaboratorioMP' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'GestLaboratorioMPExpl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'GestMacchine' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'GestOperMtz' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'GestOperMtzLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ggUomoRicerca' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'go2commesse' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'go2progetti' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'go2schede' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'hideAddMacchine' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'hlElencoInterventi_Pdf' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'hlMTBF_MTTR_Pdf' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'idxImpianto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'idxMacchina' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'idxProgetto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'idxtipoCosto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'impianto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'inizioMtzPro' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'inizioPeriodo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'InsRicManLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'isReagente' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblAmbito' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblAndamentoCosti' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblCadenza' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblCercaCdC' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblCicloEqua' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblCommScadute' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblCostiDrivers' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblCostiMP' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblDataOraGuasto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblDescrCausale' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblDescrGuasto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblDescrMtzPro' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblDescrTipo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblDettagliGuasto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblDettaglio' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblEsitoInserimento' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblFiltImpianto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblFiltMacchina' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblFineIntervento' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblImpianto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblInizioIntervento' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblInizioMtzPro' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblInsNewIntPro' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblInsRichiestaMtz' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblIntestazioneReportImpianti' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblMacchina' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblMacchineInteressate' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblMacchineSel' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblMappe' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblPrintReportImpianti' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblReportInterventi' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblReportMacchine' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblReportMTBFMTTR' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblSchedeAnalisi' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblSchedeSintesi' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblTipoCosti' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblTipoGuasto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lblTipoGuastoShort' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'LinkType' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lnkGoToReqList' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'lnkGuidaPerReport' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'LocationTags' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'LocationTagsExpl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'macchina' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'macrocausa' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'MappaStato' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'markUpPerc' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'moli' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'mostraSC_sel' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'MtzProg' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'MtzProgLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'noInsert_mancanoSchedeCosto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Nome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'nomeFamMacch' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'nomeImpianto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'nomeMacchina' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'NomeProd' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'numIntMtz' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ObjSet' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ObjSetLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'periodoRif' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'pesoMolare' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'pregoSelMacchFamMacch' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'pregoSelProgetto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'print_MTBF_MTTR' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Progetti' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Progetti_tooltip' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'promuoviUtente' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Purchasing' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'reparto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'reportImpianti' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'reportImpiantiLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'reportInterventi' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'reportInterventiLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'resaMolare' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'RicercaGenerica' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'RicManArea' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'RicManAreaLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'RimbKil' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'RimbKilExpl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ScadenziarioComm' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'ScadenziarioCommLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Scheda' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Scheda_tooltip' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'schedaAnalitica' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'SchedaAnaliticaExp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'SchedaAnaliticaExp_tooltip' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'SchedaCompleta' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'SchedaCompleta_tooltip' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'schedaSintetica' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'SchedulaObjXps' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'SchedulaObjXpsSingle' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'SetupApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'SetupAppLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'showAddMacchine' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'showOverView' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'sigla' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'societa' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'speseGenFull' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'speseGenPerc' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'stampaSchedaIdentificazione' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'StampaSimPricing' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'statoSC' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Store' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'SWAP_Appl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'SWAP_LongWelcome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'SWAP_ShortWelcome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'SWAP_titleApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'SWAP_welcomeApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'TabProgrammaMtz' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'TabScadenzeMtz' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'TCAssegnato' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'TELEFONO_INT_TRIM' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'TELEFONO_PARTE_FISSA' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'tipoCosto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'tipoImpianto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'titolo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'tornaSimul' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'TurnoShort' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Unlock' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'UpdateAnagrafiche' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'UpdateAnagraficheLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'updateObjDueDate' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'URM' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'URM_Appl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'URM_LongWelcome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'URM_ShortWelcome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'URM_titleApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'URM_welcomeApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'utenteNonSelezionato' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'versStampa' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'Weight' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'WorkDone' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'WorkStart' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'XPS_Appl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'XPS_LongWelcome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'XPS_ShortWelcome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'XPS_titleApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'EN' and Lemma=N'XPS_welcomeApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'00-Smart' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'01-PreAnim' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'abc' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'AccettaObjXps' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'AddMacchine2Fam' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'AnagAmbitiGuasto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'AnagAmbitiGuastoLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'AnagPrioritaLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'AnagTipo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'AnagTipoLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ApprovaScheda' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'AreaMtz' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'AreaMtzLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'AreaSC' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'AreaSC_tooltip' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'AssegnMaccImp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'AssegnMaccImpLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'AttivaScheda' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Batch' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'btnAllSched' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'btnCompilaMtz' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'btnCreaMtzPro' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'btnElencoRichiesteMtz' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'btnGestDatiMacchina' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'btnHideInsPeriodo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'btnInsPeriodo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'btnNewComm' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'btnSaveOnly' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'btnSaveRev' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'btnShowClona' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'btnShowClonaFull' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'btnShowClonaModulo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'btnShowInsPeriodo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'cadenzaMtzPro' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'cadIntReq' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'CalcolaCostiStd' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'cdc' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'chkImpFermo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'chkMostraIntChiusi' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'chkMostraIntChiusi_mostra' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'chkMostraIntChiusi_nascondi' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'chkShowMtzPrev' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'chkShowOnlyMacchFerma' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Ciclo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'clonaSchedaAn' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'COD_FUNZIONE' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'codImpianto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'codMacchina' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'CodMappa' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'codProgetto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Cognome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'CognomeProd' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'commNonProntaSpedire' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'commParzProntaSpedire' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'commProntaSpedire' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'conf_getNewABC' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'confermaAccettaObjXps' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'confermaDelWithChildObj' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'confermaFatturaObjXps' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Confronto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Confronto_tooltip' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'CostiDrivers' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'CostiDrivers_tooltip' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'costo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'costo_std_mp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'costo_std_MP_bis' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'costoAlKg' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'costoImpianto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'CreaComm' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'CreaCommLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'dataReq' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'DescMappa' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'descrAmbitoGuasto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'descrCausale' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'descrIntReq' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'DescrMappa' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'descrProgetto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'dettComm' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'EditRicMan' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ElencoComm' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ElencoCommDir' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ElencoCommDirLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ElencoCommMag' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ElencoCommMagLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ElencoCommProd' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ElencoCommProdLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ElencoCommSegr' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ElencoCommSegrLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ElencoRichieste' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ElencoRichiesteLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ElencoSchede_tooltip' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ErroreNoMaccSel' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'FamMacchine' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'FamMacchineLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'FatturaObjXps' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'finePeriodo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'FlammaSC_Appl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'FlammaSC_LongWelcome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'FlammaSC_ShortWelcome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'FlammaSC_titleApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'FlammaSC_welcomeApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'frequenzaMtzPro' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'GcalTags' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'GcalTagsExpl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'gerarchiaCdC' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'GestComm' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'GestCommLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'GestDatiMacch' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'GestDatiMacchExpl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'GestImpiantiLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Gestione MacchineLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'gestioneApplicativi' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'GestioneCausali' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'GestioneCausaliLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'GestioneRimbKil' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'GestMacchine' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'GestOperMtz' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'GestOperMtzLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ggUomoRicerca' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'go2commesse' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'go2progetti' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'go2schede' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'hideAddMacchine' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'hlElencoInterventi_Pdf' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'hlMTBF_MTTR_Pdf' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'idxImpianto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'idxMacchina' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'idxProgetto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'idxtipoCosto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'impianto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'inizioMtzPro' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'inizioPeriodo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'InsRicManLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'isReagente' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblAmbito' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblAndamentoCosti' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblCadenza' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblCercaCdC' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblCicloEqua' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblCommScadute' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblCostiDrivers' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblCostiMP' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblDataOraGuasto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblDescrCausale' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblDescrGuasto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblDescrMtzPro' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblDescrTipo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblDettagliGuasto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblDettaglio' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblEsitoInserimento' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblFiltImpianto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblFiltMacchina' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblFineIntervento' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblImpianto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblInizioIntervento' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblInizioMtzPro' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblInsNewIntPro' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblInsRichiestaMtz' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblIntestazioneReportImpianti' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblMacchina' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblMacchineInteressate' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblMacchineSel' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblMappe' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblPrintReportImpianti' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblReportInterventi' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblReportMacchine' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblReportMTBFMTTR' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblSchedeAnalisi' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblSchedeSintesi' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblTipoCosti' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblTipoGuasto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lblTipoGuastoShort' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Legend' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'LinkType' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lnkGoToReqList' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'lnkGuidaPerReport' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'LocationTags' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'LocationTagsExpl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'macchina' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'macrocausa' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'MappaStato' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'markUpPerc' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'moli' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'mostraSC_sel' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'MtzProg' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'MtzProgLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'noInsert_mancanoSchedeCosto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Nome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'nomeFamMacch' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'nomeImpianto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'nomeMacchina' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'NomeProd' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'numIntMtz' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ObjSet' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ObjSetLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'periodoRif' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Peso' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'pesoMolare' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'pregoSelMacchFamMacch' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'pregoSelProgetto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'print_MTBF_MTTR' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Progetti' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Progetti_tooltip' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'promuoviUtente' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Purchasing' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'reparto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'reportImpianti' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'reportImpiantiLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'reportInterventi' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'reportInterventiLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'resaMolare' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'RicercaGenerica' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'RicManArea' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'RicManAreaLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'RimbKil' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'RimbKilExpl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ScadenziarioComm' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'ScadenziarioCommLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Scheda' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Scheda_tooltip' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'schedaAnalitica' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'SchedaAnaliticaExp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'SchedaAnaliticaExp_tooltip' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'SchedaCompleta' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'SchedaCompleta_tooltip' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'schedaSintetica' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'SchedulaObjXps' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'SchedulaObjXpsSingle' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'SetupApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'SetupAppLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'showAddMacchine' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'showOverView' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'sigla' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'societa' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'speseGenFull' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'speseGenPerc' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'stampaSchedaIdentificazione' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'StampaSimPricing' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'statoSC' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Store' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'SWAP_Appl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'SWAP_LongWelcome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'SWAP_ShortWelcome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'SWAP_titleApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'SWAP_welcomeApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'TabProgrammaMtz' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'TabScadenzeMtz' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'TCAssegnato' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'TELEFONO_INT_TRIM' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'TELEFONO_PARTE_FISSA' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'tipoCosto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'tipoImpianto' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'titolo' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'tornaSimul' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'TurnoShort' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Unlock' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'UpdateAnagrafiche' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'UpdateAnagraficheLong' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'updateObjDueDate' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'URM' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'URM_Appl' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'URM_LongWelcome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'URM_ShortWelcome' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'URM_titleApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'URM_welcomeApp' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'utenteNonSelezionato' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'versStampa' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'Weight' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'WorkDone' +DELETE FROM dbo.Vocabolario WHERE Lingua=N'IT' and Lemma=N'WorkStart' +go + +commit transaction +go + + + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(431, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/Vocabolario/vocab_432.sql b/GMW_data/SqlScripts/Vocabolario/vocab_432.sql new file mode 100644 index 00000000..aedb1a44 --- /dev/null +++ b/GMW_data/SqlScripts/Vocabolario/vocab_432.sql @@ -0,0 +1,31 @@ +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'btnEmptyNote', N'svuota note') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'UdcImballoErrato', N'Errore UDC: imballo errato!') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'UdcNonTrovato', N'UDC non trovato!') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'btnEmptyNote', N'svuota note') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'UdcImballoErrato', N'Errore UDC: imballo errato!') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'UdcNonTrovato', N'UDC non trovato!') +go + +commit transaction +go + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(432, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/Vocabolario/vocab_435.sql b/GMW_data/SqlScripts/Vocabolario/vocab_435.sql new file mode 100644 index 00000000..90b3c67f --- /dev/null +++ b/GMW_data/SqlScripts/Vocabolario/vocab_435.sql @@ -0,0 +1,86 @@ +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/************************************* +* STORED PROCEDURE stp_insNewLemma +* +* elimina record anagrafica classe prodotto +* +* mod : 14/05/2012 +* aut : S.E. Locatelli +**************************************/ +create PROCEDURE stp_insNewLemma +( + @lemma NVARCHAR(50), + @traduzione NVARCHAR(500) +) +AS + +-- elimino se c'era già... +DELETE +FROM Vocabolario +WHERE lemma = @lemma + +-- inserisco x tutte le lingue attive... +INSERT INTO Vocabolario +SELECT lingua, @lemma, @traduzione +FROM Lingue + +SELECT * +FROM Vocabolario +WHERE lemma = @lemma + +RETURN +go + +commit; +go + + +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'lblNumUDC', N'Numero UDC') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'lblQtaUDC', N'Pezzi x UDC') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'lblQuantitaTotale', N'Quantità totale') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'PostAnimeMult', N'Cart. anime ext.') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'PostAnimeMultExpl', N'Gestione Stampa Cartellini per anime esterne') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'lblNumUDC', N'Numero UDC') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'lblQtaUDC', N'Pezzi x UDC') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'lblQuantitaTotale', N'Quantità totale') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'PostAnimeMult', N'Cart. anime ext.') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'PostAnimeMultExpl', N'Gestione Stampa Cartellini per anime esterne') +go + +commit transaction +go + + + + + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(435, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/Vocabolario/vocab_453.sql b/GMW_data/SqlScripts/Vocabolario/vocab_453.sql new file mode 100644 index 00000000..8772228f --- /dev/null +++ b/GMW_data/SqlScripts/Vocabolario/vocab_453.sql @@ -0,0 +1,41 @@ +set xact_abort on +go + +begin transaction +go + +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'btnScaricaSelLDP', N'Scarica le Liste di Prelievo selezionate') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'btnSetModeScaricaListeSel', N'Modalità scarico multiplo LDP') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'btnUnSetModeScaricaListeSel', N'Esci da Modalità scarico multiplo LDP') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'NascondiImpostaDestTipo', N'Nascondi impostazioni destinatario e tipo Lista') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'NascondiNuovaListaPrelievo', N'Nascondi Nuova Lista Prelievo') +INSERT INTO dbo.Vocabolario + VALUES (N'EN', N'Note', N'Note') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'btnScaricaSelLDP', N'Scarica le Liste di Prelievo selezionate') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'btnSetModeScaricaListeSel', N'Modalità scarico multiplo LDP') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'btnUnSetModeScaricaListeSel', N'Esci da Modalità scarico multiplo LDP') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'NascondiImpostaDestTipo', N'Nascondi impostazioni destinatario e tipo Lista') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'NascondiNuovaListaPrelievo', N'Nascondi Nuova Lista Prelievo') +INSERT INTO dbo.Vocabolario + VALUES (N'IT', N'Note', N'Note') +go + +commit transaction +go + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(453, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/Vocabolario/vocab_460.sql b/GMW_data/SqlScripts/Vocabolario/vocab_460.sql new file mode 100644 index 00000000..c5498b54 --- /dev/null +++ b/GMW_data/SqlScripts/Vocabolario/vocab_460.sql @@ -0,0 +1,12 @@ +exec stp_insNewLemma 'erroreLDP', 'Operazione non consentita!' +exec stp_insNewLemma 'errore_mismatch', 'Errore! mancanza corrispondenza tra dati (particolare-esponente-figura di lista ed UDC, ad esempio)' +exec stp_insNewLemma 'errore_readOnly', 'Errore! il dato è read only o bloccato (es lista di prelievo già completata, NON consentito riprenderla in carico)' +exec stp_insNewLemma 'errore_posUDC', 'Errore! UDC è in una posizione che non consente la funzione richiesta' +exec stp_insNewLemma 'errore_noUdc', 'Errore! non ci sono UDC' +exec stp_insNewLemma 'errore_nonScaricabile', 'Errore! destinatario mancante o UDC con posizione non gestita' + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(460, GETDATE()) +GO diff --git a/GMW_data/SqlScripts/Vocabolario/vocab_463.sql b/GMW_data/SqlScripts/Vocabolario/vocab_463.sql new file mode 100644 index 00000000..10ca5b22 --- /dev/null +++ b/GMW_data/SqlScripts/Vocabolario/vocab_463.sql @@ -0,0 +1,6 @@ +exec stp_insNewLemma 'UdcNonSpostabile', 'UDC non spostabile' + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(463, GETDATE()) +GO diff --git a/GMW_data/StateMachine.cs b/GMW_data/StateMachine.cs new file mode 100644 index 00000000..3dde5b86 --- /dev/null +++ b/GMW_data/StateMachine.cs @@ -0,0 +1,117 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using SteamWare; + +namespace GMW_data +{ + /// + /// classe gestioen amcchina a stati + /// + public class StateMachine + { + #region area table adapters + + public DS_SMTableAdapters.TabTranPosizEventiTableAdapter taTTPE; + public DS_SMTableAdapters.AnagTipoDelibereTableAdapter taATD; + + /// + /// init dei table adapters + /// + protected void initTA() + { + taTTPE = new GMW_data.DS_SMTableAdapters.TabTranPosizEventiTableAdapter(); + taATD = new GMW_data.DS_SMTableAdapters.AnagTipoDelibereTableAdapter(); + } + /// + /// effettua setup dei connection strings da web.config delal singola applicazione + /// + protected virtual void setupConnectionStringBase() + { + // connections del db + taTTPE.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString"); + taATD.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString"); + } + + #endregion + + protected StateMachine() + { + initTA(); + setupConnectionStringBase(); + } + + /// + /// effettua la delibera dell'UDC andando a processare tramite macchina a stati l'eventuale spostamento di IdxPosizione + /// + /// + /// + /// + /// IP del client + /// + public void deliberaUdc(string UDC, string CodTipoDelibera, string CodEvento, string clientIp) + { + bool fatto = false; + try + { + // calcolo la prima cella possibile data + utils.obj.taSTP.stp_UDC_delibera(CodTipoDelibera, UDC, CodEvento, MagClass.magazzino.CodSoggCurrUser, memLayer.ML.confReadString("CodCS")); + // dopo la delibera passo direttamente al consumo se richiesto! + if (memLayer.ML.confReadBool("Cosumo84PostDelibera")) + { + // prendo i dati PRIMA che scarichi l'UDC... e con qta negativa xché qui devo "rimetterlo a posto"... + DS_magazzino.ElencoCartelliniRow riga = MagClass.magazzino.taCartellini.getDetailsUdcByUdc(UDC)[0]; + string Particolare = riga.Particolare; + int IdxPosizione = riga.IdxPosizione; + decimal Quantita = -riga.Qta; + // da db determino che non faccio scaricamento automatico da altre posizioni terzisti/clienti (solo 84) xché non c'è in TabTranEventi + fatto = MagClass.magazzino.scaricaUdcMpWip(UDC, clientIp); + } + logger.lg.scriviLog(string.Format(" | {0} | deliberato UDC {1} | evento {2} | tipo delibera {2}", clientIp, UDC, CodEvento, CodTipoDelibera), tipoLog.INFO); + } + catch (Exception e) + { + logger.lg.scriviLog(string.Format(" | {5} | Non sono riuscito a fare la delibera di tipo {0} per l'UDC {1} da parte dell'user {2}, messaggio d'errore {3}{4}", CodTipoDelibera, UDC, user_std.UtSn.userNameAD, Environment.NewLine, e, clientIp), SteamWare.tipoLog.ERROR); + } + } + /// + /// calcola dalla tabella di transizioni la nuova posizione associata all'evento ed alla posizione attuale + /// + /// + /// + /// + public int getIdxPostizioneTo(string CodEvento, int idxPosizione) + { + int answ = 0; + try + { + answ = taTTPE.getByEventoPosizione(CodEvento, idxPosizione)[0].IdxPosizioneTo; + } + catch + { } + return answ; + } + /// + /// calcola dalla tabella di transizioni il blocco di destinazione associato all'evento ed alla posizione attuale + /// + /// + /// + /// + public int getIdxBloccoTo(string CodEvento, int idxPosizione) + { + int answ = 0; + try + { + answ = taTTPE.getByEventoPosizione(CodEvento, idxPosizione)[0].IdxBloccoTo; + } + catch + { } + return answ; + } + /// + /// Singleton accesos a state machine + /// + public static StateMachine SM = new StateMachine(); + } +} diff --git a/GMW_data/TermClass.cs b/GMW_data/TermClass.cs new file mode 100644 index 00000000..33e4e054 --- /dev/null +++ b/GMW_data/TermClass.cs @@ -0,0 +1,337 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using SteamWare; + +namespace GMW_data +{ + /// + /// classe gestione operazioni con terminalino + /// + public class TermClass + { + #region area table adapters + + // variabile di tipo table adapter +#if false + public DS_magazzinoTableAdapters.AnagMagTableAdapter taAnagMag; + public DS_magazzinoTableAdapters.BlocchiTableAdapter taBlocchi; + public DS_magazzinoTableAdapters.CelleTableAdapter taCelle; + public DS_magazzinoTableAdapters.TipoCellaTableAdapter taTipoCella; + public DS_magazzinoTableAdapters.ElencoCartelliniTableAdapter taCartellini; + public DS_magazzinoTableAdapters.PosizioneUdcCorrenteTableAdapter taPosUdcCorr; + public DS_magazzinoTableAdapters.PosizioneUdcStoricoTableAdapter taPosUdcStorico; + public DS_magazzinoTableAdapters.V_MagazziniOverviewTableAdapter taMagOverw; + public DS_magazzinoTableAdapters.V_DettMagPartTableAdapter taDettMagPart; + public DS_magazzinoTableAdapters.v_UdcDetailTableAdapter taDettUDC; + public DS_magazzinoTableAdapters.ElencoListePrelievoTableAdapter taElencoListePrelievo; + public DS_magazzinoTableAdapters.ElencoCartelliniTableAdapter taElencoCartellini; + public DS_magazzinoTableAdapters.RigheListePrelievoTableAdapter taRigheListePrelievo; + public DS_magazzinoTableAdapters.TipoListaPrelievoTableAdapter taTipoListaPrelievo; + public DS_magazzinoTableAdapters.V_ParticolariOverviewTableAdapter taVParticolariOverwiew; + public DS_magazzinoTableAdapters.v_particolariEsponenteFiguraTableAdapter taPartExpFig; +#endif + + + /// + /// init dei table adapters + /// + protected void initTA() + { + // istanzio oggetto +#if false + taAnagMag = new GMW_data.DS_magazzinoTableAdapters.AnagMagTableAdapter(); + taBlocchi = new GMW_data.DS_magazzinoTableAdapters.BlocchiTableAdapter(); + taCelle = new GMW_data.DS_magazzinoTableAdapters.CelleTableAdapter(); + taTipoCella = new GMW_data.DS_magazzinoTableAdapters.TipoCellaTableAdapter(); + taCartellini = new GMW_data.DS_magazzinoTableAdapters.ElencoCartelliniTableAdapter(); + taPosUdcCorr = new GMW_data.DS_magazzinoTableAdapters.PosizioneUdcCorrenteTableAdapter(); + taPosUdcStorico = new GMW_data.DS_magazzinoTableAdapters.PosizioneUdcStoricoTableAdapter(); + taMagOverw = new GMW_data.DS_magazzinoTableAdapters.V_MagazziniOverviewTableAdapter(); + taDettMagPart = new GMW_data.DS_magazzinoTableAdapters.V_DettMagPartTableAdapter(); + taDettUDC = new GMW_data.DS_magazzinoTableAdapters.v_UdcDetailTableAdapter(); + taElencoListePrelievo = new GMW_data.DS_magazzinoTableAdapters.ElencoListePrelievoTableAdapter(); + taElencoCartellini = new GMW_data.DS_magazzinoTableAdapters.ElencoCartelliniTableAdapter(); + taRigheListePrelievo = new GMW_data.DS_magazzinoTableAdapters.RigheListePrelievoTableAdapter(); + taTipoListaPrelievo = new GMW_data.DS_magazzinoTableAdapters.TipoListaPrelievoTableAdapter(); + taVParticolariOverwiew = new GMW_data.DS_magazzinoTableAdapters.V_ParticolariOverviewTableAdapter(); + taPartExpFig = new GMW_data.DS_magazzinoTableAdapters.v_particolariEsponenteFiguraTableAdapter(); +#endif + } + /// + /// effettua setup dei connection strings da web.config delal singola applicazione + /// + protected virtual void setupConnectionStringBase() + { + // connections del db +#if false + taAnagMag.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString"); + taBlocchi.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString"); + taCelle.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString"); + taTipoCella.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString"); + taCartellini.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString"); + taPosUdcCorr.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString"); + taPosUdcStorico.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString"); + taMagOverw.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString"); + taDettMagPart.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString"); + taDettUDC.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString"); + taElencoListePrelievo.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString"); + taElencoCartellini.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString"); + taRigheListePrelievo.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString"); + taTipoListaPrelievo.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString"); + taVParticolariOverwiew.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString"); + taPartExpFig.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString"); +#endif + } + + #endregion + + #region Inizializzazione + + protected TermClass() + { + initTA(); + setupConnectionStringBase(); + } + + /// + /// oggetto static per fare chiamate sul magazzino + /// + public static TermClass Ter = new TermClass(); + + #endregion + + #region metodi protected + +#if false + /// + /// aggiunge le righe liste di prelievo necessarie a soddisfare la richiesta in logica FIFO dato un elenco di cartellini, la qta totale da allocare e la lista attuale + /// + /// + /// + /// + private void allocaRigheListaPrelievo(decimal QtaTot, string codListaAttuale, DS_magazzino.ElencoCartelliniDataTable tabellaElencoCartellini) + { + //ricavo il valore UDC della riga del più vecchio + string udcAttuale; + bool qtaOk = false; + bool dataFinished = false; + int progrUdc = 0; + int numUdcDisponibili = tabellaElencoCartellini.Rows.Count; + // contiene la quantità della riga attuale + decimal qtaRiga; + // somma progressiva della qta allocata - calcolo da db! + decimal qtaAllocata = taElencoListePrelievo.getByCodLista(codListaAttuale)[0].Prelevato; + //ciclo WHILE per lo riempimento FIFO con UDC secondo richiesta a partire da elenco fornito + while (!qtaOk && !dataFinished) + { + /* + * crea una riga in righelistaprelievo passando come valori + * il codlista attuale ricavato da sopr + * l'UDC dal primo della tabella getOlderUDC + * + * + * recupero quantità dalla riga corrente; + * + * imposto proposto a 1; + * imposto prelevato 0; + * taRighelistePreliveo.Insert; + * + * qtaAllocata = qtaAllocata + Qta di questa riga (riuso il valore della colonna QTA + * tabella[contatore]; contatore++; + * qtaOk = (qtaAllocata >= qtaRichiesta) + * dataFinished = (contatore >= numRighe); + * + * */ + // ricavo la riga più vecchia + qtaRiga = tabellaElencoCartellini[progrUdc].Qta; + udcAttuale = tabellaElencoCartellini[progrUdc].UDC; + // eseguo query di insert + taRigheListePrelievo.Insert(codListaAttuale, udcAttuale, qtaRiga, true, false); + + //incremento qta allocata + qtaAllocata = (qtaAllocata + qtaRiga); + //incremento contatore + progrUdc++; + + // verifico le condizioni, false se non cambia nulla true se cambia e si esce dal while + qtaOk = (qtaAllocata >= QtaTot); + dataFinished = (progrUdc >= numUdcDisponibili); + } + } +#endif + + #endregion + + #region Metodi esposti + + /// + /// Verifica il login utente andando a controllare il CodSoggetto da RilPro e salvando in sessione un oggetto user_std x l'utente corrispondente al cod soggetto secondo la tab soggetti2utente + /// + /// + /// tipo di errore codificato + public esitoLoginTerm doUserLogin(string CodSoggetto) + { + esitoLoginTerm answ = esitoLoginTerm.errore; + try + { + // verifico che il cod operatore passato sia valido per Rilpro.Anagoperatori e Soggetti2Utente + int trovatiAnagOp = DataProxy.obj.taAnagOperatore.getByCodSoggetto(CodSoggetto).Rows.Count; + int trovatiS2U = DataProxy.obj.taSogg2Oper.getByCodSoggetto(CodSoggetto).Rows.Count; + if (trovatiAnagOp == 1) + { + if (trovatiS2U == 1) + { + // è ok, proseguo facendo avvio user + DS_Applicazione.Soggetti2UtenteRow rigaOp = DataProxy.obj.taSogg2Oper.getByCodSoggetto(CodSoggetto)[0]; + // inizializzo utente con dati operatore + user_std _utente = new user_std(); + user_std.UtSn.isForcedUser = true; + bool fatto = _utente.startUpUtente(rigaOp.DOMINIO, rigaOp.USER_NAME); + if (fatto) + { + answ = esitoLoginTerm.ok; + logger.lg.scriviLog(String.Format("Forced user identity ok: logged as \t {0}\\{1}", user_std.UtSn.dominio, user_std.UtSn.utente), tipoLog.STARTUP); + } + } + else + { + logger.lg.scriviLog(string.Format("Attenzione: trovati {0} utenti in RilPro AnagOperatori e {1} utenti in Soggetti2Utente per il CodSoggetto {2}: login impossibile!", trovatiAnagOp, trovatiS2U, CodSoggetto), tipoLog.ERROR); + answ = esitoLoginTerm.errore_noUser; + } + } + else + { + logger.lg.scriviLog(string.Format("Attenzione: trovati {0} utenti in RilPro AnagOperatori e {1} utenti in Soggetti2Utente per il CodSoggetto {2}: login impossibile!", trovatiAnagOp, trovatiS2U, CodSoggetto), tipoLog.ERROR); + answ = esitoLoginTerm.errore_noCodSogg; + } + } + catch (Exception e) + { + logger.lg.scriviLog(string.Format("Errore login per il CodSoggetto {0}: eccezione {1}", CodSoggetto, e), tipoLog.FATAL); + } + return answ; + } + /// + /// verifica il codice barcode letto e restituisce il tipo di valore corrisponente + /// + /// + /// + public tipoCodiceBarcode riconosciBarcode(string barcodeIN) + { + tipoCodiceBarcode answ = tipoCodiceBarcode.ND; + switch (barcodeIN.Substring(0, 1)) + { + case "O": + answ = tipoCodiceBarcode.Operatore; + break; + case "K": + answ = tipoCodiceBarcode.ListaPrelievo; + break; + case "P": + answ = tipoCodiceBarcode.Particolare; + break; + case "U": + answ = tipoCodiceBarcode.UDC; + break; + default: + // cerco se la stringa intera abbia un match con le celle... + if (MagClass.magazzino.taCelle.getByCodCella(barcodeIN).Rows.Count == 1) + { + answ = tipoCodiceBarcode.Cella; + } + break; + } + return answ; + } + /// + /// effettua il reset di tutti i valori in sesisone salvati a valle della scansione di un barcode + /// + /// true/false se resettare UDC selezionato + /// true/false se resettare Cella selezionata + /// true/false se resettare Particolare selezionato + public void resetScanBarcode(bool resetUdc, bool resetCella, bool resetParticolare) + { + if (resetCella) + { + memLayer.ML.emptySessionVal("IdxCella_sel"); + memLayer.ML.emptySessionVal("codCella_sel"); + } + if (resetParticolare) + { + memLayer.ML.emptySessionVal("Particolare_sel"); + } + if (resetUdc) + { + memLayer.ML.emptySessionVal("UDC_sel"); + } + } + + #endregion + } +} +/// +/// definisce i tipi di codice che il barcode può leggere +/// +public enum tipoCodiceBarcode +{ + /// + /// Tipo non riconosciuto + /// + ND, + /// + /// [O] - il barcode rappresenta un codice operatore + /// + Operatore, + /// + /// [K] - il barcode rappresenta una lista di prelievo + /// + ListaPrelievo, + /// + /// [U] - il barcode rappresenta un UDC + /// + UDC, + /// + /// [P] - il barcode rappresenta un particolare + /// + Particolare, + /// + /// Cella + /// + Cella, + /// + /// codice gitterbox + /// + Gitterbox, + /// + /// Codice datamatrix + /// + DataMatrix, + /// + /// codice che indica un comando (prefisso da web.config) + /// + Comando +} +/// +/// elenco degli esiti per una sessione di login da terminalino +/// +public enum esitoLoginTerm +{ + /// + /// tutto ok, come true + /// + ok, + /// + /// non è andata, errore generico + /// + errore, + /// + /// errore x mancanza record in tab operatori di RilPro x CodSoggetto + /// + errore_noCodSogg, + /// + /// errore mancanza username corrisponende all'operatore il cui cod soggetto è stato passato + /// + errore_noUser +} \ No newline at end of file diff --git a/GMW_data/Type/ArtInProd.cs b/GMW_data/Type/ArtInProd.cs new file mode 100644 index 00000000..723ff1ec --- /dev/null +++ b/GMW_data/Type/ArtInProd.cs @@ -0,0 +1,133 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; + +namespace GMW_data.Type +{ + public class ArtInProd + { + public ArtInProd() + { + } + public ArtInProd(DS_Applicazione.v_ArtInProdRow riga) + { + CodImpianto = riga.CodImpianto; + CodStampo = riga.CodStampo; + NumStampate = riga.NumStampate; + DataInizio = riga.DataInizio; + TurnoInizio = riga.TurnoInizio; + InizioValid = riga.InizioValidita; + FineValid = riga.FineValidita; + NumFigure = riga.NumFigure; + CodCliente = riga.CodCliente; + RagSociale = riga.RagSociale; + CodArticolo = riga.CodArticolo; + Particolare = riga.Particolare; + DescParticolare = riga.DescParticolare; + DisegnoGrezzo = riga.DisegnoGrezzo; + CodFamiglia = riga.CodFamiglia; + DescFamiglia = riga.DescFamiglia; + Figura = riga.Figura; + Esponente = riga.Esponente; + } + + /// + /// Codice impianto + /// + public string CodImpianto { get; set; } + /// + /// Data Inizio produzione + /// + public DateTime DataInizio { get; set; } + /// + /// Turno Inizio produzione + /// + public string TurnoInizio { get; set; } + /// + /// Codice Stampo + /// + public string CodStampo { get; set; } + /// + /// Inizio validità stampo + /// + public DateTime InizioValid { get; set; } + /// + /// Fine validità stampo + /// + public DateTime? FineValid { get; set; } + /// + /// Numero di stampate + /// + public decimal NumStampate { get; set; } + /// + /// Numero di figure + /// + public decimal NumFigure { get; set; } + /// + /// Codice Cliente + /// + public string CodCliente { get; set; } + /// + /// Ragione Sociale Cliente + /// + public string RagSociale { get; set; } + /// + /// Codice Articolo + /// + public string CodArticolo { get; set; } + /// + /// Codice Articolo + cliente (=particolare) + /// + public string Particolare { get; set; } + /// + /// Descrizione particolare + /// + public string DescParticolare { get; set; } + /// + /// Codice Disegno + /// + public string DisegnoGrezzo { get; set; } + /// + /// Codice Famiglia + /// + public string CodFamiglia { get; set; } + /// + /// Ddescr Famiglia + /// + public string DescFamiglia { get; set; } + /// + /// Figura + /// + public string Figura { get; set; } + /// + /// Codice Esponente + /// + public string Esponente { get; set; } + /// + /// inizializza a partire da una riga impianti2articoli + /// + /// + public void setFromTabRow(DS_Applicazione.v_ArtInProdRow riga) + { + CodImpianto = riga.CodImpianto; + CodStampo = riga.CodStampo; + NumStampate = riga.NumStampate; + DataInizio = riga.DataInizio; + TurnoInizio = riga.TurnoInizio; + InizioValid = riga.InizioValidita; + FineValid = riga.FineValidita; + NumFigure = riga.NumFigure; + CodCliente = riga.CodCliente; + RagSociale = riga.RagSociale; + CodArticolo = riga.CodArticolo; + Particolare = riga.Particolare; + DescParticolare = riga.DescParticolare; + DisegnoGrezzo = riga.DisegnoGrezzo; + CodFamiglia = riga.CodFamiglia; + DescFamiglia = riga.DescFamiglia; + Figura = riga.Figura; + Esponente = riga.Esponente; + } + } +} diff --git a/GMW_data/Type/Bilancia.cs b/GMW_data/Type/Bilancia.cs new file mode 100644 index 00000000..d54b5f1b --- /dev/null +++ b/GMW_data/Type/Bilancia.cs @@ -0,0 +1,43 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; + +namespace GMW_data.Type +{ + public class Bilancia + { + public Bilancia() + { + } + public Bilancia(DS_Applicazione.AnagBilanceRow riga) + { + CodBilancia = riga.CodBilancia; + DescrBilancia = riga.DescrImpianto; + CodCS = riga.CodCS; + } + + /// + /// Codice Bilancia + /// + public string CodBilancia { get; set; } + /// + /// Descrizione Bilancia + /// + public string DescrBilancia { get; set; } + /// + /// Codice Company/Sito + /// + public string CodCS { get; set; } + /// + /// inizializza a partire da una riga bilancia tipizzata + /// + /// + public void setFromTabRow(DS_Applicazione.AnagBilanceRow riga) + { + CodBilancia = riga.CodBilancia; + DescrBilancia = riga.DescrImpianto; + CodCS = riga.CodCS; + } + } +} diff --git a/GMW_data/Type/BlockMap.cs b/GMW_data/Type/BlockMap.cs new file mode 100644 index 00000000..41eef26d --- /dev/null +++ b/GMW_data/Type/BlockMap.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; + +namespace GMW_data.Type +{ + public class BlockMap + { + /// + /// Inizializza l'oggetto con i valori dichiarati + /// + /// label da mostrare + /// tooltip da mostrare + /// css da applicare + /// chiave associata al blocco (idx INT) + /// cella associata al blocco + /// capacità blocco + /// num UDC del blocco + /// determina se sia indicata come piena + /// determina se sia attivo + public BlockMap(string label, string tooltip, string css, int key, string cell, int capa, int numUdc, bool piena, bool attiva) + { + Label = label; + ToolTip = tooltip; + Css = css; + KeyVal = key; + CellCode = cell; + Capacita = capa; + NumUdc = numUdc; + Piena = piena; + Attiva = attiva; + } + public string Label { get; set; } + public string ToolTip { get; set; } + public string Css { get; set; } + public int KeyVal { get; set; } + public string CellCode { get; set; } + public int Capacita { get; set; } + public int NumUdc { get; set; } + public bool Piena { get; set; } + public bool Attiva { get; set; } + + } +} diff --git a/GMW_data/Type/Cartellino.cs b/GMW_data/Type/Cartellino.cs new file mode 100644 index 00000000..3cc7ad8f --- /dev/null +++ b/GMW_data/Type/Cartellino.cs @@ -0,0 +1,236 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; + +namespace GMW_data.Type +{ + /// + /// classe che rappresenta l'intero UDC + /// + public class Cartellino + { + public Cartellino() + { + } + public Cartellino(DS_Applicazione.ElencoCartelliniRow riga) + { + setFromTabRow(riga); + } + + /// + /// Codice UDC + /// + public string UDC { get; set; } + /// + /// Codice company + /// + public string CodCS { get; set; } + /// + /// Codice Cliente + /// + public string CodCliente { get; set; } + /// + /// Ragione sociale cliente + /// + public string RagSociale { get; set; } + /// + /// Codice della Famiglia del particolare (se presente) + /// + public string CodFamiglia { get; set; } + /// + /// Famiglia del particolare (se presente) + /// + public string DescFamiglia { get; set; } + /// + /// Particolare + /// + public string Particolare { get; set; } + /// + /// Descrizione particolare + /// + public string DescParticolare { get; set; } + /// + /// Disegno Grezzo + /// + public string DisegnoGrezzo { get; set; } + /// + /// Esponente + /// + public string Esponente { get; set; } + /// + /// Codice impianto + /// + public string CodImpianto { get; set; } + /// + /// Descrizione impianto + /// + public string DescImpianto { get; set; } + /// + /// Codice Stampo + /// + public string CodStampo { get; set; } + /// + /// Figura + /// + public string Figura { get; set; } + /// + /// Data fusione + /// + public DateTime DataFus { get; set; } + /// + /// Turno Fusione + /// + public int TurnoFus { get; set; } + /// + /// Codice Imballo associato all'UDC + /// + public string CodImballo { get; set; } + /// + /// Descrizione Imballo associato all'UDC + /// + public string DescImballo { get; set; } + /// + /// Codice operatore della dichiarazione + /// + public string CodSoggetto { get; set; } + /// + /// Cognome operatore della dichiarazione + /// + public string Cognome { get; set; } + /// + /// Nome operatore della dichiarazione + /// + public string Nome { get; set; } + /// + /// Numero contenitore (PROGRESSIVO) + /// + public int NumCont { get; set; } + /// + /// Tara dell'UDC + /// + public double Tara { get; set; } + /// + /// Quantità associata all'UDC + /// + public decimal Quantita { get; set; } + /// + /// Codice Stato pezzo (sabbiato, smaterozzato, ...) + /// + public string CodStato { get; set; } + /// + /// Descrizione Stato pezzo (sabbiato, smaterozzato, ...) + /// + public string DescStato { get; set; } + /// + /// Codice Posizione associato all'UDC + /// + public int IdxPosizione { get; set; } + /// + /// Peso totale rilevato + /// + public double PesoTot { get; set; } + /// + /// Peso totale rilevato + /// + public double PesoCad { get; set; } + /// + /// Data di creazione dell'UDC + /// + public DateTime CreateDate { get; set; } + /// + /// Data ultima modifica UDC + /// + public DateTime ModDate { get; set; } + /// + /// inizializza a partire da una riga statoOdpUdc + /// + /// + public void setFromTabRow(DS_Applicazione.ElencoCartelliniRow riga) + { + UDC = riga.UDC.Trim(); + CodCS = riga.CodCS.Trim(); + CodCliente = riga.CodCliente.Trim(); + RagSociale = riga.RagSociale.Trim(); + Particolare = riga.Particolare.Trim(); + DescParticolare = riga.DescParticolare.Trim(); + DisegnoGrezzo = riga.DisegnoGrezzo.Trim(); + Esponente = riga.Esponente.Trim(); + CodImpianto = riga.CodImpianto.Trim(); + DescImpianto = riga.DescImpianto.Trim(); + CodCliente = riga.CodCliente.Trim(); + CodStampo = riga.CodStampo.Trim(); + Figura = riga.Figura.Trim(); + DataFus = riga.DataFus; + TurnoFus = riga.TurnoFus; + CodImballo = riga.CodImballo.Trim(); + CodSoggetto = riga.CodSoggetto.Trim(); + NumCont = riga.NumCont; + Tara = riga.Tara; + Quantita = riga.Qta; + CodStato = riga.CodStato.Trim(); + IdxPosizione = riga.IdxPosizione; + PesoTot = riga.PesoTot; + PesoCad = riga.PesoCad; + CreateDate = riga.CreateDate; + ModDate = riga.ModDate; + // campi calcolati + DS_Applicazione.AnagOperatoriRow rigaOper = GMW_data.DataProxy.obj.taAnagOperatore.getByCodSoggetto(riga.CodSoggetto)[0]; + try + { + Cognome = rigaOper.Cognome; + } + catch + { + Cognome = "n.d."; + } + try + { + Nome = rigaOper.Nome; + } + catch + { + Nome = "n.d."; + } + try + { + DescImballo = DataProxy.obj.taAnagImballi.stp_getImballoByCod(riga.CodImballo)[0].DescImballo; + } + catch + { + DescImballo = "n.d."; + } + try + { + DescStato = DataProxy.obj.taStatiProd.getByCodStato(riga.CodStato)[0].DescStato; + } + catch + { + DescStato = "n.d."; + } + try + { + CodFamiglia = DataProxy.obj.taAnagParticolari.getByParticolare(riga.Particolare)[0].CodFamiglia; + } + catch + { + CodFamiglia = "n.d."; + } + try + { + if (CodFamiglia != "n.d.") + { + DescFamiglia = DataProxy.obj.taAnagFamiglie.getByCodFamiglia(CodFamiglia)[0].DescFamiglia; + } + else + { + DescFamiglia = "n.d."; + } + } + catch + { + DescFamiglia = "n.d."; + } + } + } +} diff --git a/GMW_data/Type/Cliente.cs b/GMW_data/Type/Cliente.cs new file mode 100644 index 00000000..5bbb7c07 --- /dev/null +++ b/GMW_data/Type/Cliente.cs @@ -0,0 +1,36 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; + +namespace GMW_data.Type +{ + public class Cliente + { + public Cliente() + { + } + public Cliente(DS_Applicazione.AnagClientiRow riga) + { + CodCliente = riga.CodCliente; + RagSociale= riga.RagSociale; + } + /// + /// Codice Cliente + /// + public string CodCliente { get; set; } + /// + /// Ragione sociale del cliente + /// + public string RagSociale { get; set; } + /// + /// inizializza a partire da una riga cliente tipizzata + /// + /// + public void setFromTabRow(DS_Applicazione.AnagClientiRow riga) + { + CodCliente = riga.CodCliente; + RagSociale = riga.RagSociale; + } + } +} diff --git a/GMW_data/Type/CompanySito.cs b/GMW_data/Type/CompanySito.cs new file mode 100644 index 00000000..2f4801f5 --- /dev/null +++ b/GMW_data/Type/CompanySito.cs @@ -0,0 +1,57 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; + +namespace GMW_data.Type +{ + public class CompanySito + { + public CompanySito() + { + } + + public CompanySito(DS_Applicazione.AnagCompanySitoRow riga) + { + CodCS = riga.CodCS; + CodCompany = riga.CodCompany; + DescCompany = riga.DescCompany; + CodSito = riga.CodSito; + DescSito = riga.DescSito; + } + + /// + /// Codice Company-Sito + /// + public string CodCS { get; set; } + /// + /// Codice Company + /// + public string CodCompany { get; set; } + /// + /// Descrizione Company + /// + public string DescCompany { get; set; } + /// + /// Codice Sito + /// + public string CodSito { get; set; } + /// + /// Descrizione Sito + /// + public string DescSito { get; set; } + + /// + /// inizializza a partire da una riga COmpanySito + /// + /// + public void setFromTabRow(DS_Applicazione.AnagCompanySitoRow riga) + { + CodCS = riga.CodCS; + CodCompany = riga.CodCompany; + DescCompany = riga.DescCompany; + CodSito = riga.CodSito; + DescSito = riga.DescSito; + } + } +} diff --git a/GMW_data/Type/DatoBarPlot.cs b/GMW_data/Type/DatoBarPlot.cs new file mode 100644 index 00000000..0c682e26 --- /dev/null +++ b/GMW_data/Type/DatoBarPlot.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; + +namespace GMW_data.Type +{ + public class DatoBarPlot + { + public DatoBarPlot(string _label, int _valore, string _css, string _tooltip) + { + label = _label; + valore = _valore; + css = _css; + tooltip = _tooltip; + } + public string label { get; set; } + public int valore { get; set; } + public string css { get; set; } + public string tooltip{ get; set; } + } +} diff --git a/GMW_data/Type/Imballo.cs b/GMW_data/Type/Imballo.cs new file mode 100644 index 00000000..1ddc5c45 --- /dev/null +++ b/GMW_data/Type/Imballo.cs @@ -0,0 +1,43 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; + +namespace GMW_data.Type +{ + public class Imballo + { + public Imballo() + { + } + public Imballo(DS_Applicazione.AnagImballiRow riga) + { + setFromTabRow(riga); + } + + /// + /// Codice Imballo + /// + public string CodImballo { get; set; } + /// + /// Descrizione imballo + /// + public string DescImballo { get; set; } + /// + /// Classe Articolo + /// + public string ClasseArticolo { get; set; } + + /// + /// inizializza a partire da una riga impianto tipizzata + /// + /// + public void setFromTabRow(DS_Applicazione.AnagImballiRow riga) + { + CodImballo = riga.CodImballo; + DescImballo = riga.DescImballo; + ClasseArticolo = riga.ClasseArticolo; + } + + } +} diff --git a/GMW_data/Type/Impianto.cs b/GMW_data/Type/Impianto.cs new file mode 100644 index 00000000..9f79ad34 --- /dev/null +++ b/GMW_data/Type/Impianto.cs @@ -0,0 +1,56 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; + +namespace GMW_data.Type +{ + public class Impianto + { + public Impianto() + { + } + public Impianto(DS_Applicazione.AnagImpiantiRow riga) + { + CodImpianto = riga.CodImpianto; + DescImpianto = riga.DescImpianto; + CodCS = riga.CodCS; + Campionatura = riga.Campionatura; + TipoLinea = riga.TipoLinea; + } + + /// + /// Codice impianto + /// + public string CodImpianto { get; set; } + /// + /// Descrizione impianto + /// + public string DescImpianto { get; set; } + /// + /// Codice CompanySito + /// + public string CodCS { get; set; } + /// + /// Campionatura + /// + public string Campionatura { get; set; } + /// + /// Tipo di linea + /// + public string TipoLinea { get; set; } + /// + /// inizializza a partire da una riga impianto tipizzata + /// + /// + public void setFromTabRow(DS_Applicazione.AnagImpiantiRow riga) + { + CodImpianto = riga.CodImpianto; + DescImpianto = riga.DescImpianto; + CodCS = riga.CodCS; + Campionatura = riga.Campionatura; + TipoLinea = riga.TipoLinea; + } + + } +} diff --git a/GMW_data/Type/Operatore.cs b/GMW_data/Type/Operatore.cs new file mode 100644 index 00000000..6bd9e022 --- /dev/null +++ b/GMW_data/Type/Operatore.cs @@ -0,0 +1,81 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; + +namespace GMW_data.Type +{ + public class Operatore + { + public Operatore() + { + } + + public Operatore(DS_Applicazione.AnagOperatoriRow riga) + { + CodCS = riga.CodCS; + CodSoggetto = riga.CodSoggetto; + CodDipendente = riga.CodDipendente; + CodAziendaOp = riga.CodAziendaOp; + DescAziendaOp = riga.DescAziendaOp; + CodFilialeOp = riga.CodFilialeOp; + DescFilialeOp = riga.DescFilialeOp; + Cognome = riga.Cognome; + Nome = riga.Nome; + } + + /// + /// Codice Company/Sito + /// + public string CodCS { get; set; } + /// + /// Codice soggetto + /// + public string CodSoggetto { get; set; } + /// + /// Codice Dipendente + /// + public string CodDipendente { get; set; } + /// + /// Codice azienda operatore + /// + public string CodAziendaOp { get; set; } + /// + /// descrizione azienda operatore + /// + public string DescAziendaOp { get; set; } + /// + /// Codice filiale operatore + /// + public string CodFilialeOp { get; set; } + /// + /// descrizione filiale operatore + /// + public string DescFilialeOp { get; set; } + /// + /// Cognome operatore + /// + public string Cognome { get; set; } + /// + /// Nome operatore + /// + public string Nome { get; set; } + + /// + /// inizializza a partire da una riga operatore tipizzata + /// + /// + public void setFromTabRow(DS_Applicazione.AnagOperatoriRow riga) + { + CodCS = riga.CodCS; + CodSoggetto = riga.CodSoggetto; + CodDipendente = riga.CodDipendente; + CodAziendaOp = riga.CodAziendaOp; + DescAziendaOp = riga.DescAziendaOp; + CodFilialeOp = riga.CodFilialeOp; + DescFilialeOp = riga.DescFilialeOp; + Cognome = riga.Cognome; + Nome = riga.Nome; + } + } +} diff --git a/GMW_data/Type/SpecParticolare.cs b/GMW_data/Type/SpecParticolare.cs new file mode 100644 index 00000000..350ff0af --- /dev/null +++ b/GMW_data/Type/SpecParticolare.cs @@ -0,0 +1,66 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace GMW_data.Type +{ + public class SpecParticolare + { + public SpecParticolare() + { + } + public SpecParticolare(DS_Applicazione.v_specParticolariRow riga) + { + setFromTabRow(riga); + } + /// + /// Codice cliente + /// + public string CodCliente { get; set; } + /// + /// Ragione Sociale + /// + public string RagSociale { get; set; } + /// + /// Codice Particolare + /// + public string Particolare { get; set; } + /// + /// Descrizione Particolare + /// + public string DescParticolare { get; set; } + /// + /// Disegno Grezzo + /// + public string DisegnoGrezzo { get; set; } + /// + /// Esponente + /// + public string Esponente { get; set; } + /// + /// CodStampo + /// + public string CodStampo { get; set; } + /// + /// Figura + /// + public string Figura { get; set; } + + /// + /// inizializza a partire da una riga impianto tipizzata + /// + /// + public void setFromTabRow(DS_Applicazione.v_specParticolariRow riga) + { + CodCliente = riga.CodCliente; + RagSociale = riga.RagSociale; + Particolare = riga.Particolare; + DescParticolare = riga.DescParticolare; + DisegnoGrezzo = riga.DisegnoGrezzo; + Esponente = riga.Esponente; + CodStampo = riga.CodStampo; + Figura = riga.Figura; + } + } +} diff --git a/GMW_data/Type/StatiProdotto.cs b/GMW_data/Type/StatiProdotto.cs new file mode 100644 index 00000000..9f47bce9 --- /dev/null +++ b/GMW_data/Type/StatiProdotto.cs @@ -0,0 +1,38 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; + +namespace GMW_data.Type +{ + public class StatiProdotto + { + public StatiProdotto() + { + } + public StatiProdotto(DS_Applicazione.AnagStatiProdottoRow riga) + { + CodStato= riga.CodStato; + DescrStato= riga.DescStato; + } + + /// + /// codice dello stato del prodotto + /// + public string CodStato { get; set; } + /// + /// descrizione dello stato del prodotto + /// + public string DescrStato { get; set; } + + /// + /// inizializza a partire da una riga tipoDichiaraz tipizzata + /// + /// + public void setFromTabRow(DS_Applicazione.AnagStatiProdottoRow riga) + { + CodStato= riga.CodStato; + DescrStato= riga.DescStato; + } + } +} diff --git a/GMW_data/Type/TipoDichiarazione.cs b/GMW_data/Type/TipoDichiarazione.cs new file mode 100644 index 00000000..9e554b09 --- /dev/null +++ b/GMW_data/Type/TipoDichiarazione.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; + +namespace GMW_data.Type +{ + public class TipoDichiarazione + { + public TipoDichiarazione() + { + } + public TipoDichiarazione(DS_Applicazione.AnagTipoDichiarazRow riga) + { + CodTipoDichiaraz = riga.CodTipoDichiaraz; + DescrTipoDichiaraz = riga.DescrTipoDichiaraz; + } + + /// + /// codice del tipo di dichiarazione + /// + public string CodTipoDichiaraz { get; set; } + + /// + /// descrizione del tipo di dichiarazione + /// + public string DescrTipoDichiaraz { get; set; } + + /// + /// inizializza a partire da una riga tipoDichiaraz tipizzata + /// + /// + public void setFromTabRow(DS_Applicazione.AnagTipoDichiarazRow riga) + { + CodTipoDichiaraz= riga.CodTipoDichiaraz; + DescrTipoDichiaraz = riga.DescrTipoDichiaraz; + } + } +} diff --git a/GMW_data/Type/elenchi.cs b/GMW_data/Type/elenchi.cs new file mode 100644 index 00000000..fc401165 --- /dev/null +++ b/GMW_data/Type/elenchi.cs @@ -0,0 +1,391 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; + +namespace GMW_data.Type +{ + public class elenchi + { + public elenchi() + { + } + + #region area tipo dichiarazione + + protected TipoDichiarazione[] _elencoTipoDichiaraz; + + /// + /// legge una tab di tipo AnagTipoDichiaraz e la converte ad un array di tipo TipoDichiarazione[] + /// + /// + public void caricaTipoDichiarazioni(DS_Applicazione.AnagTipoDichiarazDataTable tabTipoDichiaraz) + { + // conto quanti elementi ha la tab x inizializzare l'array... + int numRighe = tabTipoDichiaraz.Rows.Count; + _elencoTipoDichiaraz = new TipoDichiarazione[numRighe]; + // prendo un obj impianto da valorizzare di volta in volta... + TipoDichiarazione obj; + for (int i = 0; i < numRighe; i++) + { + obj = new TipoDichiarazione(tabTipoDichiaraz[i]); + _elencoTipoDichiaraz[i] = obj; + } + } + /// + /// Elenco tipo di dichiarazioni ammesse + /// + public TipoDichiarazione[] elencoTipoDichiaraz + { + get + { + return _elencoTipoDichiaraz; + } + } + + #endregion + + #region area stato prodotti + + protected StatiProdotto[] _elencoStatiProdotto; + + /// + /// legge una tab di tipo AnagStatiProdotto e la converte ad un array di tipo StatiProdotto[] + /// + /// + public void caricaStatiProdotto(DS_Applicazione.AnagStatiProdottoDataTable tabStatiProd) + { + // conto quanti elementi ha la tab x inizializzare l'array... + int numRighe = tabStatiProd.Rows.Count; + _elencoStatiProdotto = new StatiProdotto[numRighe]; + // prendo un obj impianto da valorizzare di volta in volta... + StatiProdotto obj; + for (int i = 0; i < numRighe; i++) + { + obj = new StatiProdotto(tabStatiProd[i]); + _elencoStatiProdotto[i] = obj; + } + } + /// + /// Elenco degli stati del prodotto ammessi + /// + public StatiProdotto[] elencoStatiProdotto + { + get + { + return _elencoStatiProdotto; + } + } + + #endregion + + #region area Company Sito + + + protected CompanySito[] _elencoCompanySito; + + /// + /// legge una tab di tipo AnagArticoli e la converte ad un array di tipo Articolo[] + /// + /// + public void caricaCompanySito(DS_Applicazione.AnagCompanySitoDataTable tabCS) + { + // conto quanti elementi ha la tab x inizializzare l'array... + int numRighe = tabCS.Rows.Count; + _elencoCompanySito = new CompanySito[numRighe]; + // prendo un obj impianto da valorizzare di volta in volta... + CompanySito obj; + for (int i = 0; i < numRighe; i++) + { + obj = new CompanySito(tabCS[i]); + _elencoCompanySito[i] = obj; + } + } + /// + /// Elenco Company/Sito + /// + public CompanySito[] elencoCompanySito + { + get + { + return _elencoCompanySito; + } + } + + #endregion + + #region area impianti + + protected Impianto[] _elencoImpianti; + + /// + /// legge una tab di tipo AnagImpianti e la converte ad un array di tipo Impianto[] + /// + /// + public void caricaImpianti(DS_Applicazione.AnagImpiantiDataTable tabImpianti) + { + // conto quanti elementi ha la tab x inizializzare l'array... + int numRighe = tabImpianti.Rows.Count; + _elencoImpianti = new Impianto[numRighe]; + // prendo un obj impianto da valorizzare di volta in volta... + Impianto obj; + for (int i = 0; i < numRighe; i++) + { + obj = new Impianto(tabImpianti[i]); + _elencoImpianti[i] = obj; + } + } + /// + /// Elenco Impianti + /// + public Impianto[] elencoImpianti + { + get + { + return _elencoImpianti; + } + } + + #endregion + + #region area imballi + + protected Imballo[] _elencoImballi; + + /// + /// legge una tab di tipo AnagImballi e la converte ad un array di tipo Imballo[] + /// + /// + public void caricaImballi(DS_Applicazione.AnagImballiDataTable tabImballi) + { + // conto quanti elementi ha la tab x inizializzare l'array... + int numRighe = tabImballi.Rows.Count; + _elencoImballi = new Imballo[numRighe]; + // prendo un obj impianto da valorizzare di volta in volta... + Imballo obj; + for (int i = 0; i < numRighe; i++) + { + obj = new Imballo(tabImballi[i]); + _elencoImballi[i] = obj; + } + } + /// + /// Elenco Imballi + /// + public Imballo[] elencoImballi + { + get + { + return _elencoImballi; + } + } + + #endregion + + #region area bilance + + protected Bilancia[] _elencoBilance; + + /// + /// legge una tab di tipo AnagBilance e la converte ad un array di tipo Bilancia[] + /// + /// + public void caricaBilance(DS_Applicazione.AnagBilanceDataTable tabBilance) + { + // conto quanti elementi ha la tab x inizializzare l'array... + int numRighe = tabBilance.Rows.Count; + _elencoBilance = new Bilancia[numRighe]; + // prendo un obj impianto da valorizzare di volta in volta... + Bilancia obj; + for (int i = 0; i < numRighe; i++) + { + obj = new Bilancia(tabBilance[i]); + _elencoBilance[i] = obj; + } + } + /// + /// Elenco Bilance + /// + public Bilancia[] elencoBilance + { + get + { + return _elencoBilance; + } + } + + #endregion + + #region area articoli in prod + + protected ArtInProd[] _elencoArtInProd; + + /// + /// legge una tab di tipo Impianti2Articoli e la converte ad un array di tipo ArtInProd[] + /// + /// + public void caricaArtInProd(DS_Applicazione.v_ArtInProdDataTable tabArtInProd) + { + // conto quanti elementi ha la tab x inizializzare l'array... + int numRighe = tabArtInProd.Rows.Count; + _elencoArtInProd = new ArtInProd[numRighe]; + // prendo un obj impianto da valorizzare di volta in volta... + ArtInProd obj; + for (int i = 0; i < numRighe; i++) + { + obj = new ArtInProd(tabArtInProd[i]); + _elencoArtInProd[i] = obj; + } + } + /// + /// Elenco Articoli in produzione + /// + public ArtInProd[] elencoArtInProd + { + get + { + return _elencoArtInProd; + } + } + + #endregion + + #region area Cartellino + + protected Cartellino[] _elencoCartellini; + + /// + /// legge una tab di tipo elencoCartellini e la converte ad un array di tipo cartellini[] + /// + /// + public void caricaCartellini(DS_Applicazione.ElencoCartelliniDataTable tabArt2Imp) + { + // conto quanti elementi ha la tab x inizializzare l'array... + int numRighe = tabArt2Imp.Rows.Count; + _elencoCartellini = new Cartellino[numRighe]; + // prendo un obj impianto da valorizzare di volta in volta... + Cartellino obj; + for (int i = 0; i < numRighe; i++) + { + obj = new Cartellino(tabArt2Imp[i]); + _elencoCartellini[i] = obj; + } + } + /// + /// Elenco cartellini + /// + public Cartellino[] elencoCartellini + { + get + { + return _elencoCartellini; + } + } + + #endregion + + #region area Clienti + + protected Cliente[] _elencoClienti; + + /// + /// legge una tab di tipo anagClienti e la converte ad un array di tipo clienti[] + /// + /// + public void caricaClienti(DS_Applicazione.AnagClientiDataTable tabArt2Imp) + { + // conto quanti elementi ha la tab x inizializzare l'array... + int numRighe = tabArt2Imp.Rows.Count; + _elencoClienti = new Cliente[numRighe]; + // prendo un obj impianto da valorizzare di volta in volta... + Cliente obj; + for (int i = 0; i < numRighe; i++) + { + obj = new Cliente(tabArt2Imp[i]); + _elencoClienti[i] = obj; + } + } + /// + /// Elenco clienti + /// + public Cliente[] elencoClienti + { + get + { + return _elencoClienti; + } + } + + #endregion + + #region area Operatori + + protected Operatore[] _elencoOperatori; + + /// + /// legge una tab di tipo anagOperatori e la converte ad un array di tipo operatori[] + /// + /// + public void caricaOperatori(DS_Applicazione.AnagOperatoriDataTable tabArt2Imp) + { + // conto quanti elementi ha la tab x inizializzare l'array... + int numRighe = tabArt2Imp.Rows.Count; + _elencoOperatori = new Operatore[numRighe]; + // prendo un obj impianto da valorizzare di volta in volta... + Operatore obj; + for (int i = 0; i < numRighe; i++) + { + obj = new Operatore(tabArt2Imp[i]); + _elencoOperatori[i] = obj; + } + } + /// + /// Elenco Operatori + /// + public Operatore[] elencoOperatori + { + get + { + return _elencoOperatori; + } + } + + #endregion + + + #region area specifiche particolari + + protected SpecParticolare[] _elencoSpecPart; + + /// + /// legge una tab di tipo SpecPart e la converte ad un array di tipo SpecParticolare[] + /// + /// + public void caricaSpecPart(DS_Applicazione.v_specParticolariDataTable tab2imp) + { + // conto quanti elementi ha la tab x inizializzare l'array... + int numRighe = tab2imp.Rows.Count; + _elencoSpecPart = new SpecParticolare[numRighe]; + // prendo un obj impianto da valorizzare di volta in volta... + SpecParticolare obj; + for (int i = 0; i < numRighe; i++) + { + obj = new SpecParticolare(tab2imp[i]); + _elencoSpecPart[i] = obj; + } + } + /// + /// Elenco specifiche particolari + /// + public SpecParticolare[] elencoSpecPart + { + get + { + return _elencoSpecPart; + } + } + + #endregion + + } +} diff --git a/GMW_data/app.config b/GMW_data/app.config new file mode 100644 index 00000000..66515964 --- /dev/null +++ b/GMW_data/app.config @@ -0,0 +1,13 @@ + + + + + + + + + \ No newline at end of file diff --git a/GMW_data/reportExporter.cs b/GMW_data/reportExporter.cs new file mode 100644 index 00000000..ade07409 --- /dev/null +++ b/GMW_data/reportExporter.cs @@ -0,0 +1,116 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.IO; +using System.Data; +using System.Drawing.Imaging; +using System.Drawing.Printing; +using System.Windows.Forms; +using Microsoft.Reporting.WinForms; +using System.Configuration; +using SteamWare; +using GMW_data; + +/// +/// Classe che restituisce uno stream ed i dati accessori per reinviare un report in pdf +/// +public class reportExporter +{ + /// + /// mimeType del report + /// + public string mimeType; + /// + /// encoding dei dati + /// + public string encoding; + /// + /// nome estensione + /// + public string fileNameExtension; + /// + /// steam di bytes del report + /// + public byte[] renderedBytes; + /// + /// metodo protected + /// + public reportExporter() + { + } + /// + /// carica i dati richiesti dal report dalla StoredProcedure (filtrando quindi...) + /// + /// tipo di report richiesto + /// cod UDC + /// tabella dati + private DataTable caricaDati(reportRichiesto tipoReport, string UDC) + { + DataTable tab = new DataTable(); + switch (tipoReport) + { + //case reportRichiesto.CartellinoFusi: + // tab = (DataTable)GMW_data.DataProxy.obj.taCartellini.getByUdc(UDC); + // break; + case reportRichiesto.CartellinoTara: + tab = (DataTable)GMW_data.DataProxy.obj.taCartellini.stp_getByUdc(UDC); + break; + default: + break; + } + return tab; + } + /// + /// renderizza il report in pdf + /// + /// report ammessi: RichiestaIntervento + /// cod UDC + /// parametri "device input" + /// + public void popolaPdfStream(reportRichiesto tipoReport, string UDC, devInfoParam deviceInfoParam) + { + LocalReport report = new LocalReport(); + string deviceInfo = ""; + ReportParameter[] _UDC = { new ReportParameter("UDC", UDC) }; + switch (tipoReport) + { + case reportRichiesto.CartellinoFusi: + report.ReportPath = @".\Reports\CartellinoCompleto.rdlc"; + report.DataSources.Add(new ReportDataSource(memLayer.ML.confReadString("ReportDatasource"), caricaDati(tipoReport, UDC))); + deviceInfo = deviceInfoParam.xmlParam; + break; + case reportRichiesto.CartellinoTara: + report.ReportPath = @".\Reports\CartellinoTara.rdlc"; + report.DataSources.Add(new ReportDataSource(memLayer.ML.confReadString("ReportDatasource"), caricaDati(tipoReport, UDC))); + deviceInfo = deviceInfoParam.xmlParam; + break; + default: + break; + } + createPdfStream(report, deviceInfo); + } + + /// + /// crea il vero e proprio stream pdf + /// + /// + /// + private void createPdfStream(LocalReport report, string deviceInfo) + { + // export in PDF + string reportType = "PDF"; + Warning[] warnings; + string[] streams; + renderedBytes = report.Render( + reportType, + deviceInfo, + out mimeType, + out encoding, + out fileNameExtension, + out streams, + out warnings); + } + +} + diff --git a/GMW_data/reportPrinter.cs b/GMW_data/reportPrinter.cs new file mode 100644 index 00000000..f37258ba --- /dev/null +++ b/GMW_data/reportPrinter.cs @@ -0,0 +1,392 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.IO; +using System.Data; +using System.Drawing.Imaging; +using System.Drawing.Printing; +using System.Windows.Forms; +using Microsoft.Reporting.WinForms; +using System.Configuration; +using SteamWare; +using GMW_data; + +/// +/// Classe che si occupa di stampare report da reportViewer via printer remota +/// +public class reportPrinter +{ + #region area codice da non modificare + + private int m_currentPageIndex; + protected int logLevel = 0; + protected bool doPdfCopy = false; + /// + /// stream del report... + /// + private IList m_streams; + /// + /// ciclo da fornire al renderizzatore dei report, per salvare 1 immagine da ogni pagina del report + /// + /// + /// + /// + /// + /// + /// + private Stream CreateStream(string name, string fileNameExtension, Encoding encoding, string mimeType, bool willSeek) + { + Stream stream = new FileStream(SteamWare.SteamwareStrings.getFilePath(@"~\temp\" + name + "." + fileNameExtension), FileMode.Create); + m_streams.Add(stream); + return stream; + } + /// + /// ciclo da fornire al renderizzatore dei report, per salvare 1 pdf da ogni pagina del report + /// + /// + /// + /// + /// + /// + /// + private Stream CreateStreamPdf(string name, string fileNameExtension, Encoding encoding, string mimeType, bool willSeek) + { + // creo Directory se non c'è + SteamWare.fileMover fm = new fileMover(string.Format(@"{0}\{1:yyyy}\{1:MM}\{1:dd}\", memLayer.ML.confReadString("PdfFolder"), DateTime.Now), ""); + fm.checkDir(); + string pdfPathName = string.Format(@"{0}\{1:yyyy}\{1:MM}\{1:dd}\{2}_{1:HHmmss}_{1:ffff}.{3}", memLayer.ML.confReadString("PdfFolder"), DateTime.Now, name, fileNameExtension); + //Stream stream = new FileStream(SteamWare.SteamwareStrings.getFilePath(@"~\temp\" + name + "." + fileNameExtension), FileMode.Create); + Stream stream = new FileStream(SteamWare.SteamwareStrings.getFilePath(pdfPathName), FileMode.Create); + m_streams.Add(stream); + return stream; + } + /// + /// Handler per PrintPageEvents + /// + /// + /// + private void PrintPage(object sender, PrintPageEventArgs ev) + { + Metafile pageImage = new Metafile(m_streams[m_currentPageIndex]); + ev.Graphics.DrawImage(pageImage, ev.PageBounds); + m_currentPageIndex++; + ev.HasMorePages = (m_currentPageIndex < m_streams.Count); + } + /// + /// funzione di stampa... + /// + private void Print(string printerName) + { + //const string printerName = "Microsoft Office Document Image Writer"; + //const string printerName = "Brother HL-2170W series"; + if (m_streams == null || m_streams.Count == 0) + return; + PrintDocument printDoc = new PrintDocument(); + printDoc.PrinterSettings.PrinterName = printerName; + if (!printDoc.PrinterSettings.IsValid) + { + logger.lg.scriviLog(String.Format("Can't find printer \"{0}\".", printerName), tipoLog.ERROR); + return; + } + printDoc.PrintPage += new PrintPageEventHandler(PrintPage); + printDoc.Print(); + } + /// + /// Export del report come EMF (Enhanced Metafile) file. + /// + /// + private void Export(LocalReport report, string deviceInfo) + { + Warning[] warnings; + m_streams = new List(); + report.Render("Image", deviceInfo, CreateStream, out warnings); + foreach (Stream stream in m_streams) stream.Position = 0; + } + /// + /// Export del report come PDF file. + /// + /// + private void ExportPDF(LocalReport report, string deviceInfo) + { + Warning[] warnings; + m_streams = new List(); + report.Render("PDF", deviceInfo, CreateStreamPdf, out warnings); + foreach (Stream stream in m_streams) stream.Position = 0; + } + /// + /// dispone l'applicazione e rilascia le risorse + /// + public void Dispose() + { + if (m_streams != null) + { + foreach (Stream stream in m_streams) + stream.Close(); + m_streams = null; + } + } + + #endregion + + #region area codice da modificare + + /// + /// carica i dati richiesti dal report dalla StoredProcedure (filtrando quindi...) + /// + /// + /// cod UDC + /// tabella dati + private DataTable caricaDati(reportRichiesto tipoReport, string UDC) + { + DataTable tab = new DataTable(); + switch (tipoReport) + { + case reportRichiesto.CartellinoAnime: + tab = (DataTable)GMW_data.DataProxy.obj.taPrtCartAnime.GetData(UDC); + break; + case reportRichiesto.CartellinoFin: + tab = (DataTable)GMW_data.DataProxy.obj.taPrtCart.GetData(UDC); + break; + case reportRichiesto.CartellinoFusi: + tab = (DataTable)GMW_data.DataProxy.obj.taPrtCart.GetData(UDC); + break; + case reportRichiesto.CartellinoLiquidiF10: + tab = (DataTable)GMW_data.DataProxy.obj.taPrtCartLiqF10.GetData(UDC); + break; + case reportRichiesto.CartellinoLiquidiF18: + tab = (DataTable)GMW_data.DataProxy.obj.taPrtCartLiqF18.GetData(UDC); + break; + case reportRichiesto.CartellinoMP: + tab = (DataTable)GMW_data.DataProxy.obj.taPrtCartMP.GetData(UDC); + break; + case reportRichiesto.CartellinoOdette: + tab = (DataTable)GMW_data.Odette.mgr.taOdette.getByUdc(UDC); + break; + case reportRichiesto.CartellinoTara: + tab = (DataTable)GMW_data.DataProxy.obj.taPrtCart.GetData(UDC); + break; + case reportRichiesto.CartellinoWIP: + tab = (DataTable)GMW_data.DataProxy.obj.taPrtCart.GetData(UDC); + break; + default: + break; + } + return tab; + } + /// + /// Crea un report locale da file rdlc, carica i dati, esporta report come EMF file e quindi lo invia alla stampante + /// + /// report ammessi: ElencoMacchine / RichiestaIntervento + /// nome completo stampante (rispetto al server) + /// cod UDC + /// parametri "device input" + public void printReport(reportRichiesto tipoReport, string printerName, string UDC, devInfoParam deviceInfoParam) + { + LocalReport report = new LocalReport(); + string deviceInfo = ""; + switch (tipoReport) + { + case reportRichiesto.CartellinoAnime: + report.ReportPath = @".\Reports\CartellinoAnime.rdlc"; + report.DataSources.Add(new ReportDataSource(memLayer.ML.confReadString("ReportDatasourceAnime"), caricaDati(tipoReport, UDC))); + break; + case reportRichiesto.CartellinoFin: + report.ReportPath = @".\Reports\CartellinoFinito.rdlc"; + report.DataSources.Add(new ReportDataSource(memLayer.ML.confReadString("ReportDatasource"), caricaDati(tipoReport, UDC))); + break; + case reportRichiesto.CartellinoFusi: + report.ReportPath = @".\Reports\CartellinoFus.rdlc"; + report.DataSources.Add(new ReportDataSource(memLayer.ML.confReadString("ReportDatasource"), caricaDati(tipoReport, UDC))); + break; + case reportRichiesto.CartellinoMP: + report.ReportPath = @".\Reports\CartellinoMP.rdlc"; + report.DataSources.Add(new ReportDataSource(memLayer.ML.confReadString("ReportDatasource"), caricaDati(tipoReport, UDC))); + break; + case reportRichiesto.CartellinoLiquidiF10: + report.ReportPath = @".\Reports\CartellinoLiquidiF10.rdlc"; + report.DataSources.Add(new ReportDataSource(memLayer.ML.confReadString("ReportDatasourceLiquidiF10"), caricaDati(tipoReport, UDC))); + break; + case reportRichiesto.CartellinoLiquidiF18: + report.ReportPath = @".\Reports\CartellinoLiquidiF18.rdlc"; + report.DataSources.Add(new ReportDataSource(memLayer.ML.confReadString("ReportDatasourceLiquidiF18"), caricaDati(tipoReport, UDC))); + break; + case reportRichiesto.CartellinoOdette: + report.ReportPath = @".\Reports\CartellinoOdette.rdlc"; + report.DataSources.Add(new ReportDataSource(memLayer.ML.confReadString("ReportDatasourceOdette"), caricaDati(tipoReport, UDC))); + break; + case reportRichiesto.CartellinoTara: + report.ReportPath = @".\Reports\CartellinoTara.rdlc"; + report.DataSources.Add(new ReportDataSource(memLayer.ML.confReadString("ReportDatasource"), caricaDati(tipoReport, UDC))); + break; + case reportRichiesto.CartellinoWIP: + report.ReportPath = @".\Reports\CartellinoWip.rdlc"; + report.DataSources.Add(new ReportDataSource(memLayer.ML.confReadString("ReportDatasource"), caricaDati(tipoReport, UDC))); + break; + } + deviceInfo = deviceInfoParam.xmlParam; + doEmfPrint(printerName, report, deviceInfo); + // controllo se devo fare copia PDF... stampiamo ANCHE su pdf su una folder locale + if (doPdfCopy) + { + deviceInfoParam.OutputFormat = "PDF"; + deviceInfo = deviceInfoParam.xmlParam; + doLocalPdfPrint(report, deviceInfo); + } + } + /// + /// esegue print vero e proprio + /// + /// + /// + /// + private void doEmfPrint(string printerName, LocalReport report, string deviceInfo) + { + // export in EMF + Export(report, deviceInfo); + m_currentPageIndex = 0; + // stampo + Print(printerName); + // do dispose? + Dispose(); + } + /// + /// effettua stampa in PDF dei vari report in una cartella Anno/Mese/Giorno + /// + /// + /// + private void doLocalPdfPrint(LocalReport report, string deviceInfo) + { + // export in PDF + ExportPDF(report, deviceInfo); + m_currentPageIndex = 0; + // do dispose? + Dispose(); + } + /// + /// effettua la stampa del cartellino indicato + /// + /// + /// + /// indirizzo di rete completo stampante del tipo \\nomePc\nomeStampante, oppure "" x default + /// + public bool stampaCartellino(tipoCartellino cartellino, string UDC, string printerName) + { + bool answ = false; + string outForm = ""; + string pagWidth = ""; + string pagHeigth = ""; + string margin = ""; + reportRichiesto report = reportRichiesto.CartellinoFusi; + string tipo = ""; + switch (cartellino) + { + case tipoCartellino.cartAnime: + tipo = "CartAnime"; + report = reportRichiesto.CartellinoAnime; + break; + case tipoCartellino.cartFin: + tipo = "CartFin"; + report = reportRichiesto.CartellinoFin; + break; + case tipoCartellino.cartFusi: + tipo = "CartFusi"; + report = reportRichiesto.CartellinoFusi; + break; + case tipoCartellino.cartLiquidiF10: + tipo = "CartLiquidiF10"; + report = reportRichiesto.CartellinoLiquidiF10; + break; + case tipoCartellino.cartLiquidiF18: + tipo = "CartLiquidiF18"; + report = reportRichiesto.CartellinoLiquidiF18; + break; + case tipoCartellino.cartMP: + tipo = "CartMP"; + report = reportRichiesto.CartellinoMP; + break; + case tipoCartellino.cartOdette: + tipo = "CartOdette"; + report = reportRichiesto.CartellinoOdette; + break; + case tipoCartellino.cartTara: + tipo = "CartTara"; + report = reportRichiesto.CartellinoTara; + break; + case tipoCartellino.cartWip: + tipo = "CartWip"; + report = reportRichiesto.CartellinoWIP; + break; + default: + break; + } + // carico di dati con lettura da web.config parametrica + if (printerName == "") + { + printerName = memLayer.ML.confReadString(string.Format("printer{0}", tipo)); + } + outForm = "EMF"; + pagWidth = memLayer.ML.confReadString(string.Format("PageWidth{0}", tipo)); + pagHeigth = memLayer.ML.confReadString(string.Format("PageHeight{0}", tipo)); + margin = memLayer.ML.confReadString(string.Format("Margin{0}", tipo)); + // compongo parametri stampa + devInfoParam deviceInfo = new devInfoParam(outForm, pagHeigth, pagWidth, margin, margin, margin, margin); + answ = printAndLog(UDC, printerName, answ, report, deviceInfo); + return answ; + } + /// + /// effettua la vera e propria fase di stampa + /// + /// + /// + /// + /// + /// + /// + private bool printAndLog(string UDC, string printerName, bool answ, reportRichiesto report, devInfoParam deviceInfo) + { + try + { + if (logLevel > 5) logger.lg.scriviLog(String.Format("Sto per inviare un report alla stampante {0}", printerName), tipoLog.INFO); + reportPrinter.obj.printReport(report, printerName, UDC, deviceInfo); + if (logLevel > 5) logger.lg.scriviLog(String.Format("inviato comando print alla stampante {0}", printerName), tipoLog.INFO); + answ = true; + } + catch (Exception e) + { + logger.lg.scriviLog(String.Format("Errore in fase di creazione e stampa report: stampante {0}, errore riscontrato {1}", printerName, e), tipoLog.EXCEPTION); + } + return answ; + } + + /// + /// oggetto protected + /// + /// + protected reportPrinter() + { + logLevel = memLayer.ML.confReadInt("_logLevel"); + doPdfCopy = memLayer.ML.confReadBool("doPdfCopy"); + } + /// + /// singleton pubblico + /// + public static reportPrinter obj = new reportPrinter(); + + #endregion +} +/// +/// tipologia di report ammessi alla stampa... +/// +public enum reportRichiesto +{ + CartellinoAnime, + CartellinoFin, + CartellinoFusi, + CartellinoLiquidiF10, + CartellinoLiquidiF18, + CartellinoMP, + CartellinoOdette, + CartellinoTara, + CartellinoWIP +} diff --git a/GMW_data/selData.cs b/GMW_data/selData.cs new file mode 100644 index 00000000..bd68685b --- /dev/null +++ b/GMW_data/selData.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using SteamWare; + + +namespace GMW_data +{ + public class selData + { + /// + /// classe accesso tabelle selettori + /// + public selData() + { + } + + /// + /// tabella elenco UDC papabili x lista prelievo (da conditio = codice particolare...) + /// + /// + /// + public GMW_data.DS_Utility.v_selUdcByPartDataTable getSelUdcByPart() + { + string Particolare = ""; + string CodLista = ""; + // cerco da rete se c'è la condizione di filtraggio... + try + { + Particolare = SteamWare.memLayer.ML.StringSessionObj("UdcByPart_Particolare"); + } + catch + { } + try + { + CodLista = SteamWare.memLayer.ML.StringSessionObj("UdcByPart_CodLista"); + } + catch + { } + return GMW_data.utils.obj.taUdcByPart.getByConditio(Particolare, memLayer.ML.confReadString("CodCS"), CodLista); + } + + } +} diff --git a/GMW_data/selDataVoc.cs b/GMW_data/selDataVoc.cs new file mode 100644 index 00000000..0c8667a2 --- /dev/null +++ b/GMW_data/selDataVoc.cs @@ -0,0 +1,60 @@ +using System; +using System.Data; +using System.Configuration; +using System.Web; +using SteamWare; + +namespace GMW_data +{ + /// + /// Classe gestione metodi di accesso ai dati embeddati + /// + public class selDataVoc + { + /// + /// classe accesso tabelle selettori + /// + public selDataVoc() + { + } + + /// + /// tabella vocabolario + /// + /// + public SteamWare.DataLayer_generic.VocabolarioDataTable getVocabolario() + { + return SteamWare.DataWrap.DW.taVocabolario.GetData(); + } + /// + /// tabella lingue + /// + /// + public SteamWare.DataLayer_generic.LingueDataTable getLingue() + { + return SteamWare.DataWrap.DW.taLingue.GetData(); + } + + + /// + /// faccio update del lemma indicato... + /// + /// + /// + /// + public void updateLemmaVoc(string Traduzione, string Original_Lingua, string Original_Lemma) + { + SteamWare.DataWrap.DW.taVocabolario.UpdateQuery(Traduzione, Original_Lingua, Original_Lemma); + } + /// + /// cancella il lemma indicato + /// + /// + /// + public void deleteLemmaVoc(string Original_Lingua, string Original_Lemma) + { + SteamWare.DataWrap.DW.taVocabolario.DeleteQuery(Original_Lingua, Original_Lemma); + } + + } +} \ No newline at end of file diff --git a/GMW_data/utils.cs b/GMW_data/utils.cs new file mode 100644 index 00000000..9ff4c1f6 --- /dev/null +++ b/GMW_data/utils.cs @@ -0,0 +1,89 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using SteamWare; + + +namespace GMW_data +{ + public class utils + { + #region area table adapters + + public DS_UtilityTableAdapters.STPTableAdapter taSTP; + public DS_UtilityTableAdapters.v_selTipoCellaTableAdapter taSelTipoCella; + public DS_UtilityTableAdapters.v_selUdcByPartTableAdapter taUdcByPart; + public DS_UtilityTableAdapters.v_selDestinatariListePrelievoTableAdapter taDestListePre; + public DS_UtilityTableAdapters.AS400_ComandiTableAdapter taAs400; + public DS_UtilityTableAdapters.v_selParticolariTableAdapter taSelPart; + public DS_UtilityTableAdapters.v_selTipoListaTableAdapter taSelTipoLista; + + + /// + /// init dei table adapters + /// + protected void initTA() + { + taSTP = new GMW_data.DS_UtilityTableAdapters.STPTableAdapter(); + taSelTipoCella = new GMW_data.DS_UtilityTableAdapters.v_selTipoCellaTableAdapter(); + taUdcByPart = new GMW_data.DS_UtilityTableAdapters.v_selUdcByPartTableAdapter(); + taDestListePre = new GMW_data.DS_UtilityTableAdapters.v_selDestinatariListePrelievoTableAdapter(); + taAs400 = new GMW_data.DS_UtilityTableAdapters.AS400_ComandiTableAdapter(); + taSelPart = new GMW_data.DS_UtilityTableAdapters.v_selParticolariTableAdapter(); + taSelTipoLista = new GMW_data.DS_UtilityTableAdapters.v_selTipoListaTableAdapter(); + } + /// + /// effettua setup dei connection strings da web.config delal singola applicazione + /// + protected virtual void setupConnectionStringBase() + { + string connString = memLayer.ML.confReadString("GMWConnectionString"); + // connections del db + taSTP.Connection.ConnectionString = connString; + taSelTipoCella.Connection.ConnectionString = connString; + taUdcByPart.Connection.ConnectionString = connString; + taDestListePre.Connection.ConnectionString = connString; + taAs400.Connection.ConnectionString = connString; + taSelPart.Connection.ConnectionString = connString; + taSelTipoLista.Connection.ConnectionString = connString; + } + + #endregion + + #region Inizializzazione + + protected utils() + { + initTA(); + setupConnectionStringBase(); + } + + /// + /// oggetto static per fare chiamate sul magazzino + /// + public static utils obj = new utils(); + + #endregion + + } +} +public enum tipoCartellino +{ + cartAnime, + cartFin, + cartFusi, + cartLiquidiF10, + cartLiquidiF18, + cartOdette, + cartMP, + cartTara, + cartWip +} +public enum tipoSelettore +{ + cdc, + cellaMagazzino, + magazzino, + UDC_byPart +} diff --git a/packages/AjaxControlToolkit.4.1.60623/AjaxControlToolkit.4.1.60623.nupkg b/packages/AjaxControlToolkit.4.1.60623/AjaxControlToolkit.4.1.60623.nupkg new file mode 100644 index 00000000..30edbea9 Binary files /dev/null and b/packages/AjaxControlToolkit.4.1.60623/AjaxControlToolkit.4.1.60623.nupkg differ diff --git a/packages/AjaxControlToolkit.4.1.60623/content/web.config.transform b/packages/AjaxControlToolkit.4.1.60623/content/web.config.transform new file mode 100644 index 00000000..5c3cbea0 --- /dev/null +++ b/packages/AjaxControlToolkit.4.1.60623/content/web.config.transform @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/packages/AjaxControlToolkit.4.1.60623/lib/35/AjaxControlToolkit.dll b/packages/AjaxControlToolkit.4.1.60623/lib/35/AjaxControlToolkit.dll new file mode 100644 index 00000000..23c20d62 Binary files /dev/null and b/packages/AjaxControlToolkit.4.1.60623/lib/35/AjaxControlToolkit.dll differ diff --git a/packages/AjaxControlToolkit.4.1.60623/lib/35/AjaxControlToolkit.pdb b/packages/AjaxControlToolkit.4.1.60623/lib/35/AjaxControlToolkit.pdb new file mode 100644 index 00000000..c5c76b9a Binary files /dev/null and b/packages/AjaxControlToolkit.4.1.60623/lib/35/AjaxControlToolkit.pdb differ diff --git a/packages/AjaxControlToolkit.4.1.60623/lib/35/SanitizerProviders/SanitizerProviders.dll b/packages/AjaxControlToolkit.4.1.60623/lib/35/SanitizerProviders/SanitizerProviders.dll new file mode 100644 index 00000000..004e4ec4 Binary files /dev/null and b/packages/AjaxControlToolkit.4.1.60623/lib/35/SanitizerProviders/SanitizerProviders.dll differ diff --git a/packages/AjaxControlToolkit.4.1.60623/lib/35/ar/AjaxControlToolkit.resources.dll b/packages/AjaxControlToolkit.4.1.60623/lib/35/ar/AjaxControlToolkit.resources.dll new file mode 100644 index 00000000..57cc1b53 Binary files /dev/null and b/packages/AjaxControlToolkit.4.1.60623/lib/35/ar/AjaxControlToolkit.resources.dll differ diff --git a/packages/AjaxControlToolkit.4.1.60623/lib/35/cs/AjaxControlToolkit.resources.dll b/packages/AjaxControlToolkit.4.1.60623/lib/35/cs/AjaxControlToolkit.resources.dll new file mode 100644 index 00000000..167bcf32 Binary files /dev/null and b/packages/AjaxControlToolkit.4.1.60623/lib/35/cs/AjaxControlToolkit.resources.dll differ diff --git a/packages/AjaxControlToolkit.4.1.60623/lib/35/de/AjaxControlToolkit.resources.dll b/packages/AjaxControlToolkit.4.1.60623/lib/35/de/AjaxControlToolkit.resources.dll new file mode 100644 index 00000000..e92774b4 Binary files /dev/null and b/packages/AjaxControlToolkit.4.1.60623/lib/35/de/AjaxControlToolkit.resources.dll differ diff --git a/packages/AjaxControlToolkit.4.1.60623/lib/35/es/AjaxControlToolkit.resources.dll b/packages/AjaxControlToolkit.4.1.60623/lib/35/es/AjaxControlToolkit.resources.dll new file mode 100644 index 00000000..387675e3 Binary files /dev/null and b/packages/AjaxControlToolkit.4.1.60623/lib/35/es/AjaxControlToolkit.resources.dll differ diff --git a/packages/AjaxControlToolkit.4.1.60623/lib/35/fr/AjaxControlToolkit.resources.dll b/packages/AjaxControlToolkit.4.1.60623/lib/35/fr/AjaxControlToolkit.resources.dll new file mode 100644 index 00000000..10fcbed3 Binary files /dev/null and b/packages/AjaxControlToolkit.4.1.60623/lib/35/fr/AjaxControlToolkit.resources.dll differ diff --git a/packages/AjaxControlToolkit.4.1.60623/lib/35/he/AjaxControlToolkit.resources.dll b/packages/AjaxControlToolkit.4.1.60623/lib/35/he/AjaxControlToolkit.resources.dll new file mode 100644 index 00000000..f9a1b6ab Binary files /dev/null and b/packages/AjaxControlToolkit.4.1.60623/lib/35/he/AjaxControlToolkit.resources.dll differ diff --git a/packages/AjaxControlToolkit.4.1.60623/lib/35/hi/AjaxControlToolkit.resources.dll b/packages/AjaxControlToolkit.4.1.60623/lib/35/hi/AjaxControlToolkit.resources.dll new file mode 100644 index 00000000..7325b17e Binary files /dev/null and b/packages/AjaxControlToolkit.4.1.60623/lib/35/hi/AjaxControlToolkit.resources.dll differ diff --git a/packages/AjaxControlToolkit.4.1.60623/lib/35/it/AjaxControlToolkit.resources.dll b/packages/AjaxControlToolkit.4.1.60623/lib/35/it/AjaxControlToolkit.resources.dll new file mode 100644 index 00000000..5c1b9d70 Binary files /dev/null and b/packages/AjaxControlToolkit.4.1.60623/lib/35/it/AjaxControlToolkit.resources.dll differ diff --git a/packages/AjaxControlToolkit.4.1.60623/lib/35/ja/AjaxControlToolkit.resources.dll b/packages/AjaxControlToolkit.4.1.60623/lib/35/ja/AjaxControlToolkit.resources.dll new file mode 100644 index 00000000..d4f0676c Binary files /dev/null and b/packages/AjaxControlToolkit.4.1.60623/lib/35/ja/AjaxControlToolkit.resources.dll differ diff --git a/packages/AjaxControlToolkit.4.1.60623/lib/35/ko/AjaxControlToolkit.resources.dll b/packages/AjaxControlToolkit.4.1.60623/lib/35/ko/AjaxControlToolkit.resources.dll new file mode 100644 index 00000000..a223cc94 Binary files /dev/null and b/packages/AjaxControlToolkit.4.1.60623/lib/35/ko/AjaxControlToolkit.resources.dll differ diff --git a/packages/AjaxControlToolkit.4.1.60623/lib/35/nl/AjaxControlToolkit.resources.dll b/packages/AjaxControlToolkit.4.1.60623/lib/35/nl/AjaxControlToolkit.resources.dll new file mode 100644 index 00000000..eea36197 Binary files /dev/null and b/packages/AjaxControlToolkit.4.1.60623/lib/35/nl/AjaxControlToolkit.resources.dll differ diff --git a/packages/AjaxControlToolkit.4.1.60623/lib/35/pt/AjaxControlToolkit.resources.dll b/packages/AjaxControlToolkit.4.1.60623/lib/35/pt/AjaxControlToolkit.resources.dll new file mode 100644 index 00000000..332a2009 Binary files /dev/null and b/packages/AjaxControlToolkit.4.1.60623/lib/35/pt/AjaxControlToolkit.resources.dll differ diff --git a/packages/AjaxControlToolkit.4.1.60623/lib/35/ru/AjaxControlToolkit.resources.dll b/packages/AjaxControlToolkit.4.1.60623/lib/35/ru/AjaxControlToolkit.resources.dll new file mode 100644 index 00000000..c2affc0c Binary files /dev/null and b/packages/AjaxControlToolkit.4.1.60623/lib/35/ru/AjaxControlToolkit.resources.dll differ diff --git a/packages/AjaxControlToolkit.4.1.60623/lib/35/tr-TR/AjaxControlToolkit.resources.dll b/packages/AjaxControlToolkit.4.1.60623/lib/35/tr-TR/AjaxControlToolkit.resources.dll new file mode 100644 index 00000000..3ff44ce4 Binary files /dev/null and b/packages/AjaxControlToolkit.4.1.60623/lib/35/tr-TR/AjaxControlToolkit.resources.dll differ diff --git a/packages/AjaxControlToolkit.4.1.60623/lib/35/zh-CHS/AjaxControlToolkit.resources.dll b/packages/AjaxControlToolkit.4.1.60623/lib/35/zh-CHS/AjaxControlToolkit.resources.dll new file mode 100644 index 00000000..c13a2302 Binary files /dev/null and b/packages/AjaxControlToolkit.4.1.60623/lib/35/zh-CHS/AjaxControlToolkit.resources.dll differ diff --git a/packages/AjaxControlToolkit.4.1.60623/lib/35/zh-CHT/AjaxControlToolkit.resources.dll b/packages/AjaxControlToolkit.4.1.60623/lib/35/zh-CHT/AjaxControlToolkit.resources.dll new file mode 100644 index 00000000..fc3061da Binary files /dev/null and b/packages/AjaxControlToolkit.4.1.60623/lib/35/zh-CHT/AjaxControlToolkit.resources.dll differ diff --git a/packages/AjaxControlToolkit.4.1.60623/lib/40/AjaxControlToolkit.dll b/packages/AjaxControlToolkit.4.1.60623/lib/40/AjaxControlToolkit.dll new file mode 100644 index 00000000..367a2985 Binary files /dev/null and b/packages/AjaxControlToolkit.4.1.60623/lib/40/AjaxControlToolkit.dll differ diff --git a/packages/AjaxControlToolkit.4.1.60623/lib/40/AjaxControlToolkit.pdb b/packages/AjaxControlToolkit.4.1.60623/lib/40/AjaxControlToolkit.pdb new file mode 100644 index 00000000..980890ef Binary files /dev/null and b/packages/AjaxControlToolkit.4.1.60623/lib/40/AjaxControlToolkit.pdb differ diff --git a/packages/AjaxControlToolkit.4.1.60623/lib/40/SanitizerProviders/HtmlAgilityPack.dll b/packages/AjaxControlToolkit.4.1.60623/lib/40/SanitizerProviders/HtmlAgilityPack.dll new file mode 100644 index 00000000..b0692c1d Binary files /dev/null and b/packages/AjaxControlToolkit.4.1.60623/lib/40/SanitizerProviders/HtmlAgilityPack.dll differ diff --git a/packages/AjaxControlToolkit.4.1.60623/lib/40/SanitizerProviders/SanitizerProviders.dll b/packages/AjaxControlToolkit.4.1.60623/lib/40/SanitizerProviders/SanitizerProviders.dll new file mode 100644 index 00000000..9fa2fb50 Binary files /dev/null and b/packages/AjaxControlToolkit.4.1.60623/lib/40/SanitizerProviders/SanitizerProviders.dll differ diff --git a/packages/AjaxControlToolkit.4.1.60623/lib/40/ar/AjaxControlToolkit.resources.dll b/packages/AjaxControlToolkit.4.1.60623/lib/40/ar/AjaxControlToolkit.resources.dll new file mode 100644 index 00000000..17b19bf6 Binary files /dev/null and b/packages/AjaxControlToolkit.4.1.60623/lib/40/ar/AjaxControlToolkit.resources.dll differ diff --git a/packages/AjaxControlToolkit.4.1.60623/lib/40/cs/AjaxControlToolkit.resources.dll b/packages/AjaxControlToolkit.4.1.60623/lib/40/cs/AjaxControlToolkit.resources.dll new file mode 100644 index 00000000..13089065 Binary files /dev/null and b/packages/AjaxControlToolkit.4.1.60623/lib/40/cs/AjaxControlToolkit.resources.dll differ diff --git a/packages/AjaxControlToolkit.4.1.60623/lib/40/de/AjaxControlToolkit.resources.dll b/packages/AjaxControlToolkit.4.1.60623/lib/40/de/AjaxControlToolkit.resources.dll new file mode 100644 index 00000000..a2eea131 Binary files /dev/null and b/packages/AjaxControlToolkit.4.1.60623/lib/40/de/AjaxControlToolkit.resources.dll differ diff --git a/packages/AjaxControlToolkit.4.1.60623/lib/40/es/AjaxControlToolkit.resources.dll b/packages/AjaxControlToolkit.4.1.60623/lib/40/es/AjaxControlToolkit.resources.dll new file mode 100644 index 00000000..c122fbf2 Binary files /dev/null and b/packages/AjaxControlToolkit.4.1.60623/lib/40/es/AjaxControlToolkit.resources.dll differ diff --git a/packages/AjaxControlToolkit.4.1.60623/lib/40/fr/AjaxControlToolkit.resources.dll b/packages/AjaxControlToolkit.4.1.60623/lib/40/fr/AjaxControlToolkit.resources.dll new file mode 100644 index 00000000..42afefc7 Binary files /dev/null and b/packages/AjaxControlToolkit.4.1.60623/lib/40/fr/AjaxControlToolkit.resources.dll differ diff --git a/packages/AjaxControlToolkit.4.1.60623/lib/40/he/AjaxControlToolkit.resources.dll b/packages/AjaxControlToolkit.4.1.60623/lib/40/he/AjaxControlToolkit.resources.dll new file mode 100644 index 00000000..99011f21 Binary files /dev/null and b/packages/AjaxControlToolkit.4.1.60623/lib/40/he/AjaxControlToolkit.resources.dll differ diff --git a/packages/AjaxControlToolkit.4.1.60623/lib/40/hi/AjaxControlToolkit.resources.dll b/packages/AjaxControlToolkit.4.1.60623/lib/40/hi/AjaxControlToolkit.resources.dll new file mode 100644 index 00000000..3292c491 Binary files /dev/null and b/packages/AjaxControlToolkit.4.1.60623/lib/40/hi/AjaxControlToolkit.resources.dll differ diff --git a/packages/AjaxControlToolkit.4.1.60623/lib/40/it/AjaxControlToolkit.resources.dll b/packages/AjaxControlToolkit.4.1.60623/lib/40/it/AjaxControlToolkit.resources.dll new file mode 100644 index 00000000..b67c1546 Binary files /dev/null and b/packages/AjaxControlToolkit.4.1.60623/lib/40/it/AjaxControlToolkit.resources.dll differ diff --git a/packages/AjaxControlToolkit.4.1.60623/lib/40/ja/AjaxControlToolkit.resources.dll b/packages/AjaxControlToolkit.4.1.60623/lib/40/ja/AjaxControlToolkit.resources.dll new file mode 100644 index 00000000..2de08da6 Binary files /dev/null and b/packages/AjaxControlToolkit.4.1.60623/lib/40/ja/AjaxControlToolkit.resources.dll differ diff --git a/packages/AjaxControlToolkit.4.1.60623/lib/40/ko/AjaxControlToolkit.resources.dll b/packages/AjaxControlToolkit.4.1.60623/lib/40/ko/AjaxControlToolkit.resources.dll new file mode 100644 index 00000000..e23bf662 Binary files /dev/null and b/packages/AjaxControlToolkit.4.1.60623/lib/40/ko/AjaxControlToolkit.resources.dll differ diff --git a/packages/AjaxControlToolkit.4.1.60623/lib/40/nl/AjaxControlToolkit.resources.dll b/packages/AjaxControlToolkit.4.1.60623/lib/40/nl/AjaxControlToolkit.resources.dll new file mode 100644 index 00000000..09efaa47 Binary files /dev/null and b/packages/AjaxControlToolkit.4.1.60623/lib/40/nl/AjaxControlToolkit.resources.dll differ diff --git a/packages/AjaxControlToolkit.4.1.60623/lib/40/pt/AjaxControlToolkit.resources.dll b/packages/AjaxControlToolkit.4.1.60623/lib/40/pt/AjaxControlToolkit.resources.dll new file mode 100644 index 00000000..d1dcdf3e Binary files /dev/null and b/packages/AjaxControlToolkit.4.1.60623/lib/40/pt/AjaxControlToolkit.resources.dll differ diff --git a/packages/AjaxControlToolkit.4.1.60623/lib/40/ru/AjaxControlToolkit.resources.dll b/packages/AjaxControlToolkit.4.1.60623/lib/40/ru/AjaxControlToolkit.resources.dll new file mode 100644 index 00000000..d4a1715c Binary files /dev/null and b/packages/AjaxControlToolkit.4.1.60623/lib/40/ru/AjaxControlToolkit.resources.dll differ diff --git a/packages/AjaxControlToolkit.4.1.60623/lib/40/tr-TR/AjaxControlToolkit.resources.dll b/packages/AjaxControlToolkit.4.1.60623/lib/40/tr-TR/AjaxControlToolkit.resources.dll new file mode 100644 index 00000000..52128f7d Binary files /dev/null and b/packages/AjaxControlToolkit.4.1.60623/lib/40/tr-TR/AjaxControlToolkit.resources.dll differ diff --git a/packages/AjaxControlToolkit.4.1.60623/lib/40/zh-CHS/AjaxControlToolkit.resources.dll b/packages/AjaxControlToolkit.4.1.60623/lib/40/zh-CHS/AjaxControlToolkit.resources.dll new file mode 100644 index 00000000..6e0ac87e Binary files /dev/null and b/packages/AjaxControlToolkit.4.1.60623/lib/40/zh-CHS/AjaxControlToolkit.resources.dll differ diff --git a/packages/AjaxControlToolkit.4.1.60623/lib/40/zh-CHT/AjaxControlToolkit.resources.dll b/packages/AjaxControlToolkit.4.1.60623/lib/40/zh-CHT/AjaxControlToolkit.resources.dll new file mode 100644 index 00000000..4c565834 Binary files /dev/null and b/packages/AjaxControlToolkit.4.1.60623/lib/40/zh-CHT/AjaxControlToolkit.resources.dll differ diff --git a/packages/SharpZipLib.0.86.0/SharpZipLib.0.86.0.nupkg b/packages/SharpZipLib.0.86.0/SharpZipLib.0.86.0.nupkg new file mode 100644 index 00000000..27717487 Binary files /dev/null and b/packages/SharpZipLib.0.86.0/SharpZipLib.0.86.0.nupkg differ diff --git a/packages/SharpZipLib.0.86.0/lib/11/ICSharpCode.SharpZipLib.dll b/packages/SharpZipLib.0.86.0/lib/11/ICSharpCode.SharpZipLib.dll new file mode 100644 index 00000000..60ef0c99 Binary files /dev/null and b/packages/SharpZipLib.0.86.0/lib/11/ICSharpCode.SharpZipLib.dll differ diff --git a/packages/SharpZipLib.0.86.0/lib/20/ICSharpCode.SharpZipLib.dll b/packages/SharpZipLib.0.86.0/lib/20/ICSharpCode.SharpZipLib.dll new file mode 100644 index 00000000..fe643ebc Binary files /dev/null and b/packages/SharpZipLib.0.86.0/lib/20/ICSharpCode.SharpZipLib.dll differ diff --git a/packages/SharpZipLib.0.86.0/lib/SL3/SharpZipLib.Silverlight3.dll b/packages/SharpZipLib.0.86.0/lib/SL3/SharpZipLib.Silverlight3.dll new file mode 100644 index 00000000..e3fd9620 Binary files /dev/null and b/packages/SharpZipLib.0.86.0/lib/SL3/SharpZipLib.Silverlight3.dll differ diff --git a/packages/SharpZipLib.0.86.0/lib/SL4/SharpZipLib.Silverlight4.dll b/packages/SharpZipLib.0.86.0/lib/SL4/SharpZipLib.Silverlight4.dll new file mode 100644 index 00000000..f915af4c Binary files /dev/null and b/packages/SharpZipLib.0.86.0/lib/SL4/SharpZipLib.Silverlight4.dll differ diff --git a/packages/repositories.config b/packages/repositories.config new file mode 100644 index 00000000..c1a64154 --- /dev/null +++ b/packages/repositories.config @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file